Re: [U-Boot] [PATCH v6 12/13] x86: Use binman all x86 boards

2016-12-17 Thread Bin Meng
On Sat, Nov 26, 2016 at 11:16 AM, Simon Glass wrote: > Change x86 boards to use binman to produce the ROM. This involves adding the > image definition to the device tree and using it in the Makefile. The > existing ifdtool features are no-longer needed. > > Note that the u-boot.dtsi file is common

Re: [U-Boot] [PATCH v6 13/13] binman: Drop microcode features from ifdtool

2016-12-17 Thread Bin Meng
On Sat, Nov 26, 2016 at 11:16 AM, Simon Glass wrote: > Now that binman supports creating images with microcode, drop the code from > ifdtool. > > Signed-off-by: Simon Glass > --- > > Changes in v6: None > Changes in v5: > - Add a new patch to drop microcode features from ifdtool > > Changes in v4

Re: [U-Boot] [PATCH v6 09/13] binman: Automatically include a U-Boot .dtsi file

2016-12-17 Thread Bin Meng
On Sat, Nov 26, 2016 at 11:15 AM, Simon Glass wrote: > For boards that need U-Boot-specific additions to the device tree, it is > a minor annoyance to have to add these each time the tree is synced with > upstream. > > Add a means to include a file (e.g. u-boot.dtsi) automatically into the .dts >

Re: [U-Boot] [PATCH v6 08/13] binman: Allow configuration options to be used in .dts files

2016-12-17 Thread Bin Meng
On Sat, Nov 26, 2016 at 11:15 AM, Simon Glass wrote: > It is sometimes useful to be able to reference configuration options in a > device tree source file. Add the necessary includes so that this works. > > Signed-off-by: Simon Glass > --- > > Changes in v6: None > Changes in v5: None > Changes i

Re: [U-Boot] [PATCH v6 05/13] binman: Add support for building x86 ROMs with SPL

2016-12-17 Thread Bin Meng
On Sat, Nov 26, 2016 at 11:15 AM, Simon Glass wrote: > When building for 64-bit x86 we need an SPL binary in the ROM. Add support > for this. Also increase entry test code coverage to 100%. > > Signed-off-by: Simon Glass > --- > > Changes in v6: > - Deal with optional microcode in SPL > > Changes

Re: [U-Boot] [PATCH v6 07/13] binman: Add a build rule for binman

2016-12-17 Thread Bin Meng
On Sat, Nov 26, 2016 at 11:15 AM, Simon Glass wrote: > Add a standard command definition for binman so that it can be used in > makefiles. > > Signed-off-by: Simon Glass > --- > > Changes in v6: None > Changes in v5: None > Changes in v4: None > Changes in v3: None > Changes in v2: None > > Make

Re: [U-Boot] [PATCH v6 06/13] binman: Add support for building x86 images with FSP/CMC

2016-12-17 Thread Bin Meng
On Sat, Nov 26, 2016 at 11:15 AM, Simon Glass wrote: > Add support for two more from the inexhaustible supply of x86 binary blob > types. > > Signed-off-by: Simon Glass > --- > > Changes in v6: None > Changes in v5: None > Changes in v4: > - Add new patch to support building x86 images with FSP/C

Re: [U-Boot] [PATCH v6 04/13] binman: Add support for u-boot.img as an input binary

2016-12-17 Thread Bin Meng
On Sat, Nov 26, 2016 at 11:15 AM, Simon Glass wrote: > Add an entry type for u-boot.img (a legacy U-Boot image) and a simple test. > > Signed-off-by: Simon Glass > --- > > Changes in v6: None > Changes in v5: None > Changes in v4: None > Changes in v3: None > Changes in v2: None > > tools/binman

Re: [U-Boot] [PATCH v6 02/13] binman: Add basic entry types for U-Boot

2016-12-17 Thread Bin Meng
On Sat, Nov 26, 2016 at 11:15 AM, Simon Glass wrote: > Add entries to support some standard U-Boot binaries, such as u-boot.bin, > u-boot.dtb, etc. Also add some tests for these. > > Signed-off-by: Simon Glass > --- > > Changes in v6: None > Changes in v5: None > Changes in v4: None > Changes in

Re: [U-Boot] [PATCH v6 01/13] binman: Introduce binman, a tool for building binary images

2016-12-17 Thread Bin Meng
On Sat, Nov 26, 2016 at 11:15 AM, Simon Glass wrote: > This adds the basic code for binman, including command parsing, processing > of entries and generation of images. > > So far no entry types are supported. These will be added in future commits > as examples of how to add new types. > > See the

Re: [U-Boot] [PATCH v6 03/13] binman: Add support for building x86 ROMs

2016-12-17 Thread Bin Meng
On Sat, Nov 26, 2016 at 11:15 AM, Simon Glass wrote: > The structure of x86 ROMs is pretty complex. There are various binary blobs > to place in the image. Microcode requires special handling so that it is > available to very early code and can be used without any memory whatsoever. > > Add suppor

Re: [U-Boot] [PATCH 1/2] libfdt: overlay: Fix missing symbols condition

2016-12-17 Thread Stefan Agner
On 2016-12-16 01:32, Maxime Ripard wrote: > On Thu, Dec 15, 2016 at 03:03:26PM -0800, Stefan Agner wrote: >> From: Stefan Agner >> >> When there is no symbols section in the device tree, >> overlay_fixup_phandles should return FDT_ERR_NOTFOUND instead of >> FDT_ERR_BADOFFSET. >> >> Signed-off-by:

Re: [U-Boot] [PATCH v2 18/23] sunxi: A64: enable SPL

2016-12-17 Thread Simon Glass
On 16 December 2016 at 10:40, Andre Przywara wrote: > Hi, > > On 05/12/16 06:26, Simon Glass wrote: >> On 4 December 2016 at 18:52, Andre Przywara wrote: >>> Now that the SPL is ready to be compiled in AArch64 and the DRAM >>> init code is ready, enable SPL support for the A64 SoC and in the >>>

Re: [U-Boot] [PATCH 2/7] ARM64: zynqmp: clk: Add the clock for watchdog

2016-12-17 Thread Simon Glass
On 16 December 2016 at 05:39, Michal Simek wrote: > From: Shubhrajyoti Datta > > The watchdog clock node is missing. > Add the same. This solves the below error. > > cdns-wdt fd4d.watchdog: input clock not found > cdns-wdt: probe of fd4d.watchdog failed with error -2 > > Signed-off-by: Sh

Re: [U-Boot] [PATCH v2 15/23] sunxi: A64: use H3 DRAM initialization code for A64

2016-12-17 Thread Simon Glass
Hi Andre, On 16 December 2016 at 10:30, Andre Przywara wrote: > Hi Simon, > > On 05/12/16 06:26, Simon Glass wrote: >> Hi Andre, >> >> On 4 December 2016 at 18:52, Andre Przywara wrote: >>> From: Jens Kuske >>> >>> The A64 DRAM controller is very similar to the H3 one, >>> so the code can be re

Re: [U-Boot] [PATCHv2] power: change from meaningless value to error number

2016-12-17 Thread Simon Glass
On 15 December 2016 at 04:49, Jaehoon Chung wrote: > '-1' is absolutely meaningless value. > This patch changed from meaningless value to error number. > > Signed-off-by: Jaehoon Chung > --- > Changelog on V2 > - Fixes the missing error number in exynos-tmu.c > > drivers/power/axp152.c

Re: [U-Boot] [PATCH 1/2] clk: zynqmp: Add clock driver support for zynqmp

2016-12-17 Thread Simon Glass
On 16 December 2016 at 05:31, Michal Simek wrote: > From: Siva Durga Prasad Paladugu > > Add basic clock driver support for zynqmp which > sets the required clock for GEM controller > > Signed-off-by: Siva Durga Prasad Paladugu > Signed-off-by: Michal Simek > --- > > drivers/clk/Kconfig |

Re: [U-Boot] [PATCH v2] common: Fix logic in fpga programming

2016-12-17 Thread Simon Glass
On 16 December 2016 at 03:02, Michal Simek wrote: > Stop boot process if fpga programming fails. > Without this patch boot process continues even if fpga programming > failed. > > Signed-off-by: Michal Simek > --- > > Changes in v2: > - Return err instead of magic 1 - Reported-by: Mike > - Extend

Re: [U-Boot] [PATCH 2/2] cmd: fdt: Print error message when fdt application fails

2016-12-17 Thread Simon Glass
On 16 December 2016 at 02:33, Maxime Ripard wrote: > On Thu, Dec 15, 2016 at 03:03:27PM -0800, Stefan Agner wrote: >> From: Stefan Agner >> >> There are lots of reason why a FDT application might fail, the >> error code might give an indication. Let the error code translate >> in a error string s

Re: [U-Boot] [PATCH 3/3] configs: enable the DM_PMIC and DM_I2C_GPIO for max8998 pmic

2016-12-17 Thread Simon Glass
On 17 December 2016 at 06:38, Minkyu Kang wrote: > Hi, > > On 15 December 2016 at 18:21, Jaehoon Chung wrote: > >> Enable the DM_PMIC and DM_I2C_GPIO for using max8998 pmic. >> >> Signed-off-by: Jaehoon Chung >> --- >> configs/s5p_goni_defconfig | 3 +++ >> 1 file changed, 3 insertions(+) >> >>

Re: [U-Boot] [PATCH 1/3] power: pmic: add the max8998 controller for DM

2016-12-17 Thread Simon Glass
On 15 December 2016 at 02:21, Jaehoon Chung wrote: > Add the max8998 controller for Driver model. > Samsung S5P series are using max8998 pmic controller. > In future, it should be supported the regulator framework. > > Signed-off-by: Jaehoon Chung > --- > drivers/power/pmic/Kconfig | 7 +

Re: [U-Boot] [PATCH 2/3] arm: dts: s5pc1xx-goni: add the pmic node for using DM

2016-12-17 Thread Simon Glass
On 15 December 2016 at 02:21, Jaehoon Chung wrote: > To use driver-model adds the pmic node for max8998. > This is used as kerel device-tree in Linux. > > Signed-off-by: Jaehoon Chung > --- > arch/arm/dts/s5pc1xx-goni.dts | 165 > ++ > 1 file changed, 165

Re: [U-Boot] [RFC PATCH 0/3] sunxi: video: Add support for HDMI output on H3

2016-12-17 Thread Simon Glass
Hi, On 14 December 2016 at 01:37, Hans de Goede wrote: > Hi, > > On 13-12-16 21:28, Simon Glass wrote: >> >> Hi, >> >> On 12 December 2016 at 19:36, Jernej Skrabec >> wrote: >>> >>> This patch series add support for HDMI output. Support for other, >>> newer, SoCs, which also uses DE2 and same or

Re: [U-Boot] [PATCH v2 3/3] drivers: usb: gadget: ether/rndis: convert driver to adopt device driver model

2016-12-17 Thread Simon Glass
On 14 December 2016 at 06:32, Mugunthan V N wrote: > Adopt usb ether gadget and rndis driver to adopt driver model > > Signed-off-by: Mugunthan V N > --- > drivers/usb/gadget/ether.c | 152 > ++--- > drivers/usb/gadget/rndis.c | 13 +++- > drivers/usb/ga

Re: [U-Boot] [PATCH v2 1/3] drivers: usb: gadget: ether: do not register usb when DM_USB and DM_ETH defined

2016-12-17 Thread Simon Glass
On 14 December 2016 at 06:32, Mugunthan V N wrote: > when both DM_USB and DM_ETH are defined which denoted that > usb_ether has been registered from a usb device. So registering a > USB device doesn't do any thing and de-register leads to crash as > it try to remove its own parent. Sample dm-tree

Re: [U-Boot] [PATCH v2] miniarm-rk3288: set isp/vop qos priority level

2016-12-17 Thread Simon Glass
Hi, On 15 December 2016 at 00:18, Nickey.Yang wrote: > Hi Kever & Simon, > > > > 在 2016年12月14日 15:07, Kever Yang 写道: >> >> Hi Simon, >> >> On 12/12/2016 04:27 AM, Simon Glass wrote: >>> >>> Hi Nickey, >>> >>> On 8 December 2016 at 21:39, Nickey Yang >>> wrote: isp-camera image will be

Re: [U-Boot] [PATCH v2 2/3] drivers: usb: gadget: ether: remove unused variable tmp

2016-12-17 Thread Simon Glass
On 14 December 2016 at 06:32, Mugunthan V N wrote: > tmp variable in eth_bind() is never used any where, so remove it. anywhere > > Signed-off-by: Mugunthan V N > --- > drivers/usb/gadget/ether.c | 4 > 1 file changed, 4 deletions(-) Reviewed-by: Simon Glass

Re: [U-Boot] [RFC PATCH] mmc: mmc-uclass: use the fixed devnum with aliase node

2016-12-17 Thread Simon Glass
Hi Jaehoon, On 13 December 2016 at 01:31, Jaehoon Chung wrote: > If there are aliase nodes as "mmc", use the devnum as aliase index s/aliase/alias/g > number. > This patch is for fixing a problem of Exynos4 series. > Problem is the below thing. > > Current legacy mode: > EXYNOS DWMMC: 0, SAMSUN

Re: [U-Boot] [PATCH v3] rockchip: rk3288: set isp/vop qos priority level

2016-12-17 Thread Simon Glass
Hi Nickey, On 13 December 2016 at 00:24, Nickey Yang wrote: > Isp-camera preview image will be broken when dual screen display mode. > This patch set isp/vop qos level higher to solve this problem. > We have verified this patch on rk3288-miniarm board. > > Signed-off-by: Nickey Yang > --- > arc

Re: [U-Boot] [PATCHv5 17/17] kconfig: move FSL_PCIE_COMPAT to platform Kconfig

2016-12-17 Thread Simon Glass
On 12 December 2016 at 23:54, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > Signed-off-by: Hou Zhiqiang > --- > V5: > - No change > > arch/arm/cpu/armv7/ls102xa/Kconfig| 8 > arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 11 +++ > drivers/pci/pcie_layerscape_fixup.c

Re: [U-Boot] [PATCHv5 01/17] configs: ls1021a: enable DT and DM support

2016-12-17 Thread Simon Glass
On 12 December 2016 at 23:54, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > Enable DT to support Driver Model. > > Signed-off-by: Hou Zhiqiang > --- > V5: > - No change > > configs/ls1021aqds_nand_defconfig | 3 +++ > configs/ls1021aqds_nor_SECURE_BOOT_defconfig| 2 ++

Re: [U-Boot] [PATCHv5 09/17] pci: layerscape: move kernel DT fixup to a separate file

2016-12-17 Thread Simon Glass
On 12 December 2016 at 23:54, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > To make the layerscape pcie driver clear, move the kernel DT fixup > code from pcie_layerscape.c to pcie_layerscape_fixup.c. > > Signed-off-by: Hou Zhiqiang > --- > V5: > - New patch > > drivers/pci/Makefile

Re: [U-Boot] Problem: the build does not recurse into subdirectory

2016-12-17 Thread Simon Glass
Hi Maxim, On 16 December 2016 at 17:18, Maxim Sloyko wrote: > Greetings, > > I'm working on adding new platform to U-Boot and right now I'm trying > to clean up the directory structure, but running into a problem of > Make not recursing into a subdirectory that I've created. > > in my arch/arm/ma

Re: [U-Boot] Rockchip RK3288 regulator device table problem

2016-12-17 Thread Simon Glass
Hi Rick, On 12 December 2016 at 09:57, Rick Bronson wrote: > Hi Simon, > >> >> On 9 December 2016 at 18:12, Rick Bronson wrote: >> > Hi All, >> > >> > How do I enable a particular regulator upon boot? I have two >> > identically set LDO entries: >> > >> > vccio_en: LDO

Re: [U-Boot] [PATCH v2 03/23] armv8: add lowlevel_init.S

2016-12-17 Thread Simon Glass
Hi Andre, On 16 December 2016 at 19:55, André Przywara wrote: > > On 05/12/16 06:26, Simon Glass wrote: > > Hi Andre, > > > > On 4 December 2016 at 18:52, Andre Przywara wrote: > >> For boards that call s_init() when the SPL runs, we are expected to > >> setup an early stack before calling this

Re: [U-Boot] [PATCH] cmd/Kconfig: Fix typo in CMD_MEMORY help text

2016-12-17 Thread Tom Rini
On Thu, Dec 15, 2016 at 08:02:19PM -0200, Fabio Estevam wrote: > From: Fabio Estevam > > Fix "Memory" and "initialize" typos in the CMD_MEMORY help text. > > Signed-off-by: Fabio Estevam Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH v2 4/4] cmd: mem: Use memcpy for 'cp' command

2016-12-17 Thread Tom Rini
On Thu, Dec 15, 2016 at 04:00:13PM -0200, Fabio Estevam wrote: > Simplify the 'cp' command implementation by using the memcpy() function, > which brings the additional benefit of performance gain for those who have > CONFIG_USE_ARCH_MEMCPY selected. > > Tested on a mx6qsabreauto board where a 5x

Re: [U-Boot] [PATCH v2 23/23] sunxi: A64: add 32-bit SPL support

2016-12-17 Thread André Przywara
On 05/12/16 06:26, Simon Glass wrote: > Hi Andre, > > On 4 December 2016 at 18:52, Andre Przywara wrote: >> When compiling the SPL for the Allwinner A64 in AArch64 mode, we can't >> use the more compact Thumb2 encoding, which only exists for AArch32 >> code. This makes the SPL rather big, up to a

Re: [U-Boot] [PATCH 3/3] configs: enable the DM_PMIC and DM_I2C_GPIO for max8998 pmic

2016-12-17 Thread Minkyu Kang
Hi, On 15 December 2016 at 18:21, Jaehoon Chung wrote: > Enable the DM_PMIC and DM_I2C_GPIO for using max8998 pmic. > > Signed-off-by: Jaehoon Chung > --- > configs/s5p_goni_defconfig | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/configs/s5p_goni_defconfig b/configs/s5p_goni_defc

Re: [U-Boot] [PATCH 2/3] arm: dts: s5pc1xx-goni: add the pmic node for using DM

2016-12-17 Thread Minkyu Kang
Hi, On 15 December 2016 at 18:21, Jaehoon Chung wrote: > To use driver-model adds the pmic node for max8998. > This is used as kerel device-tree in Linux. > > Signed-off-by: Jaehoon Chung > --- > arch/arm/dts/s5pc1xx-goni.dts | 165 ++ > > 1 file change

Re: [U-Boot] [PATCH 1/3] power: pmic: add the max8998 controller for DM

2016-12-17 Thread Minkyu Kang
Hi, On 15 December 2016 at 18:21, Jaehoon Chung wrote: > Add the max8998 controller for Driver model. > Samsung S5P series are using max8998 pmic controller. > In future, it should be supported the regulator framework. > > Signed-off-by: Jaehoon Chung > --- > drivers/power/pmic/Kconfig | 7

Re: [U-Boot] [PATCH v3] Kconfig: Move USE_ARCH_MEMCPY/MEMSET to Kconfig

2016-12-17 Thread Fabio Estevam
On Sat, Dec 17, 2016 at 1:18 AM, Tom Rini wrote: > On Thu, Dec 15, 2016 at 07:30:40PM -0200, Fabio Estevam wrote: > >> From: Fabio Estevam >> >> Move USE_ARCH_MEMCPY/MEMSET options to Kconfig. >> >> Make it "default y" for the ARMv7 architecture and make it >> depend on !ARM64 && !SPL. >> >> Sign