Re: [U-Boot] [PATCH] mtd: zynq: nand: Move board_nand_init() function to board.c

2017-11-07 Thread Michal Simek
On 8.11.2017 03:44, Wilson Lee wrote: > Putting board_nand_init() function inside NAND driver was not appropriate > due to it doesn't allow board vendor to customise their NAND > initialization code such as adding NAND lock/unlock code. > > This commit was to move the board_nand_init() function

Re: [U-Boot] [PATCH 2/2] configs: dragonboard410c: Save environment data on eMMC

2017-11-07 Thread Jorge Ramirez
On 11/07/2017 11:50 PM, Tom Rini wrote: On Mon, Nov 06, 2017 at 02:16:38PM +0100, Jorge Ramirez-Ortiz wrote: Save the environment data at the end of the boot partition on emmc Signed-off-by: Jorge Ramirez-Ortiz --- arch/arm/dts/dragonboard410c-uboot.dtsi | 7

Re: [U-Boot] [PATCH] ni: Add NIZYNQ platform

2017-11-07 Thread Michal Simek
On 8.11.2017 03:54, Wilson Lee wrote: > Initial platform creation for NIZYNQ. > > Signed-off-by: Joe Hershberger > Signed-off-by: Keng Soon Cheah > Signed-off-by: Wilson Lee > Cc: Chen Yee Chew > Cc:

[U-Boot] [PATCH 2/2] sunxi: restore PHYLIB for CONFIG_SUN4I_EMAC users

2017-11-07 Thread Artturi Alm
due misnaming of CONFIG_SUN4I_EMAC in include/configs/sunxi-common.h, likely missed in: commit 3146f0c017df ("Move PHYLIB to Kconfig") Signed-off-by: Artturi Alm --- drivers/net/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/Kconfig

[U-Boot] [PATCH 1/2] sunxi: fix CONFIG_SUNXI_EMAC references

2017-11-07 Thread Artturi Alm
fixes CONFIG_SUNXI_EMAC references from drivers/net/Makefile and include/configs/sunxi-common.h likely forgotten in: commit abc3e4df59f5 ("sunxi: Convert SUNXI_EMAC to Kconfig") Signed-off-by: Artturi Alm --- drivers/net/Makefile | 2 +-

[U-Boot] [PATCH] ni: Add NIZYNQ platform

2017-11-07 Thread Wilson Lee
Initial platform creation for NIZYNQ. Signed-off-by: Joe Hershberger Signed-off-by: Keng Soon Cheah Signed-off-by: Wilson Lee Cc: Chen Yee Chew Cc: Albert Aribaud ---

[U-Boot] [PATCH] mtd: zynq: nand: Move board_nand_init() function to board.c

2017-11-07 Thread Wilson Lee
Putting board_nand_init() function inside NAND driver was not appropriate due to it doesn't allow board vendor to customise their NAND initialization code such as adding NAND lock/unlock code. This commit was to move the board_nand_init() function from NAND driver to board.c file. This allow

[U-Boot] [PATCH] lib: sha1: Change uint8_t to unsigned char for sha1_der_prefix array.

2017-11-07 Thread Wilson Lee
uint8_t used in sha1_der_prefix array was not able to recognize by compiler when try to build the tools using 'HOSTCC'. That is because, uint8_t is undefined when 'HOSTCC' is defined because asm/type.h is not included in that case. Use unsigned char for sha1_der_prefix[] array instead. This

[U-Boot] [PATCH] net: dhcp: Allow "MAY_FAIL" to still try each adapter

2017-11-07 Thread Wilson Lee
From: Joe Hershberger This change allows the "MAY_FAIL" DHCP option to still attempt to contact a DHCP server on each adapter and only give up once each adapter has failed once. To get the existing behavior, set the already-existing ethrotate=no variable. Signed-off-by:

[U-Boot] [PATCH] gpt: add part-uuid and part-num subcommands

2017-11-07 Thread your name
From: Andrey Yurovsky It is useful to be able to retrieve a partition UUID or number given the partition label, for instance some systems use the partition label to indicate the purpose of the partition (such as "rootfs0" being the 0th root file system in an A/B image

Re: [U-Boot] Include FSP in u-boot.rom

2017-11-07 Thread Bin Meng
Hi, On Wed, Nov 8, 2017 at 7:13 AM, Bin Meng wrote: > Hi, > > On Tue, Nov 7, 2017 at 10:13 PM, vnktux wrote: >> Hi guys, >> >> I need to generate a u-boot.rom image of exactly 8Mb that include only >> fsp.bin and vga.bin. The reason is because in my

Re: [U-Boot] Include FSP in u-boot.rom

2017-11-07 Thread Bin Meng
Hi, On Tue, Nov 7, 2017 at 10:13 PM, vnktux wrote: > Hi guys, > > I need to generate a u-boot.rom image of exactly 8Mb that include only > fsp.bin and vga.bin. The reason is because in my company we will use an Intel > tool that already contain descriptor and intel ME

Re: [U-Boot] [PATCH 2/2] configs: dragonboard410c: Save environment data on eMMC

2017-11-07 Thread Tom Rini
On Mon, Nov 06, 2017 at 02:16:38PM +0100, Jorge Ramirez-Ortiz wrote: > Save the environment data at the end of the boot partition on emmc > > Signed-off-by: Jorge Ramirez-Ortiz > --- > arch/arm/dts/dragonboard410c-uboot.dtsi | 7 +++ >

Re: [U-Boot] [ANN] U-Boot v2017.11-rc4 released

2017-11-07 Thread Tom Rini
On Tue, Nov 07, 2017 at 08:13:02AM +0100, Jorge Ramirez wrote: > On 11/07/2017 12:28 AM, Tom Rini wrote: > >Hey all, > > > >It's release day and v2017.11-rc4 is out. It's a week until release > >day. Please let me know if you know of any regressions, thanks! > > Hi Tom, > > emmc accesses are

Re: [U-Boot] [PULL] Please pull u-boot-rockchip

2017-11-07 Thread Tom Rini
On Tue, Nov 07, 2017 at 09:20:20AM +0100, Dr. Philipp Tomsich wrote: > Tom, > > Here’s another pull-request for u-boot-rockchip for some last-minute > DTS-updates and > config-changes for the upcoming release. > > Regards, > Philipp. > > > The following changes since commit

Re: [U-Boot] [PATCH 0/5] libfdt: Reduce duplicated copies of libfdt

2017-11-07 Thread Tom Rini
On Tue, Nov 07, 2017 at 12:12:03PM +0900, Masahiro Yamada wrote: > 2017-10-17 22:30 GMT+09:00 Masahiro Yamada : > > Recently, U-Boot switched to the bundled DTC approach. > > This means we have two copies, lib/libfdt and scripts/dtc/libfdt. > > > > Ideally, we should

[U-Boot] [PATCH] sunxi: a64: Add verified-boot support

2017-11-07 Thread Jagan Teki
Enable verified-boot support for sunxi a64, tested the same in orangepi boards. Signed-off-by: Jagan Teki --- arch/arm/mach-sunxi/Kconfig| 2 ++ include/configs/sunxi-common.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/arm/mach-sunxi/Kconfig

Re: [U-Boot] [PATCH v2 2/8] sf: spansion: Add support for S25FL128S_64K

2017-11-07 Thread Baudouin, Charles
I think the correct thing to do here is to set the flash up for uniform sector size of 64Kbytes. CR3V[3] = 1 If I can get the code to work I will send up the updates for uboot. Charles Baudouin Research and Development Manager Domo Tactical Communications E: charles.baudo...@domotactical.com

Re: [U-Boot] [PATCH v4 1/2] armv8: lsch3: Add imply SCSI for ls1088

2017-11-07 Thread York Sun
On 11/01/2017 09:20 PM, Ashish Kumar wrote: > Signed-off-by: Ashish Kumar > --- > > v3: Change SCSI command to imply SCSI > v4: No change > > arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: [U-Boot] [PATCH v2] armv8: ls1088ardb: Add distro boot support

2017-11-07 Thread York Sun
On 11/06/2017 10:37 PM, Ashish Kumar wrote: > Hello York, > > Please see inline. Please avoid using this "inline" style and follow the list style when you reply to any email. > > -Original Message- > From: York Sun > Sent: Tuesday, November 07, 2017 2:11 AM > To: Ashish Kumar

[U-Boot] [PATCH RFC] Makefile: Extend PYTHONPATH rather than overriding it

2017-11-07 Thread Tuomas Tynkkynen
Currently, if the user has compiled the libfdt Python module from dtc upstream to a non-default location, it cannot be used because the 'PYTHONPATH=tools' assignment wipes out the user's PYTHONPATH. Instead, extend PYTHONPATH in the main Makefile instead of overriding it. Signed-off-by: Tuomas

Re: [U-Boot] [PATCH v2 0/5] mmc: omap_hsmmc: Add support for ADMA

2017-11-07 Thread Jean-Jacques Hiblot
Hi Jaehoon On 25/09/2017 07:26, Jaehoon Chung wrote: Hi, On 09/25/2017 11:15 AM, Simon Glass wrote: Hi, On 22 September 2017 at 08:20, Jaehoon Chung wrote: On 09/21/2017 11:51 PM, Jean-Jacques Hiblot wrote: This series enables the ADMA present in some OMAP SOCs.

[U-Boot] Parallel make issue with helloworld.efi

2017-11-07 Thread Tuomas Tynkkynen
Hi, Every now and then I see parallel builds failing, e.g. with Linksprite_pcDuino3_Nano_defconfig: CC lib/efi_loader/efi_bootmgr.o CC lib/efi_loader/efi_disk.o CC lib/efi_loader/efi_net.o make[2]: *** No rule to make target 'lib/efi_loader/helloworld.efi', needed by

Re: [U-Boot] [U-Boot, 5/8] rockchip: dts: rk3328: enable the drivers need by tpl/spl

2017-11-07 Thread Philipp Tomsich
On Thu, 26 Oct 2017, Kever Yang wrote: Enable the drivers need by TPL/SPL with 'u-boot,dm-pre-reloc'. Signed-off-by: Kever Yang --- arch/arm/dts/rk3328-evb.dts | 2 ++ arch/arm/dts/rk3328.dtsi| 1 + 2 files changed, 3 insertions(+) diff --git

Re: [U-Boot] [U-Boot, 4/8] rockchip: rk3328-evb: add script for atf fit

2017-11-07 Thread Philipp Tomsich
On Thu, 26 Oct 2017, Kever Yang wrote: Add a script to generate binaries from bl31.elf, and generate u-boot.its file for FIT image including u-boot, dtb and atf binaries. Signed-off-by: Kever Yang --- board/rockchip/evb_rk3328/mk_fit_atf.sh | 108

Re: [U-Boot] [U-Boot, 3/8] rockchip: rk3328: add a link file for tpl

2017-11-07 Thread Philipp Tomsich
On Thu, 26 Oct 2017, Kever Yang wrote: Rockchip TPL is not going to use both sram and dram, so we will use a separate link file. Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/rk3328/u-boot-tpl.lds | 91 1 file changed, 91

Re: [U-Boot] [U-Boot, 2/8] rockchip: rk3328: add spl board file support

2017-11-07 Thread Philipp Tomsich
On Thu, 26 Oct 2017, Kever Yang wrote: rk3328 spl is locate at dram, so do not have strict size limit, suppose to enable storage media controller driver, load ATF and U-Boot, then boot into ATF. Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/Makefile

Re: [U-Boot] [U-Boot, 8/8] rockchip: rk3328: add config option for TPL/SPL

2017-11-07 Thread Philipp Tomsich
> Enable SPL_FRAMEWORK and TPL/SPL related base addr and size. > > Signed-off-by: Kever Yang > --- > > include/configs/rk3328_common.h | 10 +- > 1 file changed, 9 insertions(+), 1 deletion(-) > Reviewed-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, 7/8] rockchip: evb-rk3328: enable defconfig options for TPL/SPL

2017-11-07 Thread Philipp Tomsich
> Enable driver options for TPL/SPL in evb-rk3328_defconfig. > > Signed-off-by: Kever Yang > --- > > configs/evb-rk3328_defconfig | 47 > +--- > 1 file changed, 44 insertions(+), 3 deletions(-) > Reviewed-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, 1/8] rockchip: rk3328: add tpl board file support

2017-11-07 Thread Philipp Tomsich
On Thu, 26 Oct 2017, Kever Yang wrote: rk3328 tpl suppose to init ddr sdram and then back to bootrom. Signed-off-by: Kever Yang Acked-by: Philipp Tomsich --- arch/arm/mach-rockchip/Makefile | 1 +

Re: [U-Boot] [U-Boot, 6/8] rockchip: Kconfig: enable TPL/SPL support for rk3328

2017-11-07 Thread Philipp Tomsich
> Enable TPL/SPL support and some related option in Kconfig. > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/Kconfig | 14 +- > 1 file changed, 13 insertions(+), 1 deletion(-) > Reviewed-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, 8/8] rockchip: rk3328: add config option for TPL/SPL

2017-11-07 Thread Philipp Tomsich
> Enable SPL_FRAMEWORK and TPL/SPL related base addr and size. > > Signed-off-by: Kever Yang > --- > > include/configs/rk3328_common.h | 10 +- > 1 file changed, 9 insertions(+), 1 deletion(-) > Acked-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, 6/8] rockchip: Kconfig: enable TPL/SPL support for rk3328

2017-11-07 Thread Philipp Tomsich
> Enable TPL/SPL support and some related option in Kconfig. > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/Kconfig | 14 +- > 1 file changed, 13 insertions(+), 1 deletion(-) > Acked-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, 3/8] rockchip: rk3328: add a link file for tpl

2017-11-07 Thread Philipp Tomsich
> Rockchip TPL is not going to use both sram and dram, so > we will use a separate link file. > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/rk3328/u-boot-tpl.lds | 91 > > 1 file changed, 91 insertions(+) > create mode

Re: [U-Boot] [U-Boot, 7/8] rockchip: evb-rk3328: enable defconfig options for TPL/SPL

2017-11-07 Thread Philipp Tomsich
> Enable driver options for TPL/SPL in evb-rk3328_defconfig. > > Signed-off-by: Kever Yang > --- > > configs/evb-rk3328_defconfig | 47 > +--- > 1 file changed, 44 insertions(+), 3 deletions(-) > Acked-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, 5/8] rockchip: dts: rk3328: enable the drivers need by tpl/spl

2017-11-07 Thread Philipp Tomsich
> Enable the drivers need by TPL/SPL with 'u-boot,dm-pre-reloc'. > > Signed-off-by: Kever Yang > --- > > arch/arm/dts/rk3328-evb.dts | 2 ++ > arch/arm/dts/rk3328.dtsi| 1 + > 2 files changed, 3 insertions(+) > Acked-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, 2/8] rockchip: rk3328: add spl board file support

2017-11-07 Thread Philipp Tomsich
> rk3328 spl is locate at dram, so do not have strict size limit, > suppose to enable storage media controller driver, load ATF and > U-Boot, then boot into ATF. > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/Makefile | 1 + >

Re: [U-Boot] [U-Boot, 4/8] rockchip: rk3328-evb: add script for atf fit

2017-11-07 Thread Philipp Tomsich
> Add a script to generate binaries from bl31.elf, and generate > u-boot.its file for FIT image including u-boot, dtb and atf > binaries. > > Signed-off-by: Kever Yang > --- > > board/rockchip/evb_rk3328/mk_fit_atf.sh | 108 > > 1

Re: [U-Boot] [U-Boot, 1/8] rockchip: rk3328: add tpl board file support

2017-11-07 Thread Philipp Tomsich
> rk3328 tpl suppose to init ddr sdram and then back to bootrom. > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/Makefile | 1 + > arch/arm/mach-rockchip/rk3328-board-tpl.c | 114 > ++ > 2 files changed, 115

Re: [U-Boot] [U-Boot, v3, 2/2] rockchip: clock: update sysreset driver bingding

2017-11-07 Thread Philipp Tomsich
> Using priv for new sysreset driver binding. > > Signed-off-by: Kever Yang > Acked-by: Philipp Tomsich > Acked-by: Philipp Tomsich > Reviewed-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, v3, 1/2] rockchip: sysreset: merge into one common driver

2017-11-07 Thread Philipp Tomsich
> Use a common driver for all Rockchip SOC instead of one for each SoC. > Use driver_data for reg offset. > > Signed-off-by: Kever Yang > Acked-by: Philipp Tomsich > Acked-by: Philipp Tomsich

Re: [U-Boot] [U-boot][SDP] Trigger watchdog before calling usb_gadget_handle_interrupts

2017-11-07 Thread Fabio Estevam
Hi Vincent, On Tue, Nov 7, 2017 at 11:26 AM, Vincent Prince wrote: > Hi all, > > It's my first patch contribution, do I need to do anything more ? Your patch looks good. Maybe Stefano can apply it for 2017.11. Thanks ___

Re: [U-Boot] [U-Boot, v5, 17/18] rockchip: rk3188: move CONFIG_SPL_* entries from rk3188_common.h to Kconfig

2017-11-07 Thread Philipp Tomsich
> There still are a few CONFIG_SPL_* options selected using defines from > rk3188_common.h instead of via Kconfig. This migrates those over to > Kconfig. > > Signed-off-by: Philipp Tomsich > --- > > Changes in v5: None > Changes in v4: None > Changes in

Re: [U-Boot] [U-Boot, v5, 15/18] rockchip: rk3188: use boot0 hook to load up SPL in 2 steps

2017-11-07 Thread Philipp Tomsich
> For the RK3188, the BROM will attempt to load up the first stage > image (SPL for the RK3188) in two steps: first 1KB to offset 0x800 > in the SRAM and then the remainder to offset 0xc00 in the SRAM. > It always enters at 0x804, though. > > With this changeset, the RK3188 boot removes the TPL

Re: [U-Boot] [U-Boot, v5, 13/18] arm: provide a PCS-compliant setjmp implementation

2017-11-07 Thread Philipp Tomsich
> The previous setjmp-implementation (as a static inline function that > contained an 'asm volatile' sequence) was extremely fragile: (some > versions of) GCC optimised the set of registers. One critical example > was the removal of 'r9' from the clobber list, if -ffixed-reg9 was > supplied. > >

Re: [U-Boot] [U-Boot, v5, 11/18] arm: make save_boot_params_ret prototype visible for AArch64

2017-11-07 Thread Philipp Tomsich
> The save_boot_params_ret() prototype (for those of us, that have a > valid SP on entry and can implement save_boot_params() in C), was > previously only defined for !defined(CONFIG_ARM64). > > This moves the declaration to a common block to ensure the prototype > is available to everyone that

Re: [U-Boot] [U-Boot, v5, 16/18] rockchip: back-to-bootrom: allow passing a cmd to the bootrom

2017-11-07 Thread Philipp Tomsich
> The BROM supports forcing it to enter download-mode, if an appropriate > result/cmd-word is returned to it. There already is a series to > support this in review, so this prepares the (newly C-version) of the > back-to-bootrom code to accept a cmd to passed on to the BROM. > > All the existing

Re: [U-Boot] [U-Boot, v5, 12/18] arm: mark save_boot_params_ret as a function

2017-11-07 Thread Philipp Tomsich
> As no '.type' was set for save_boot_params_ret in start.S, binutils > did not track whether it was emitted as A32 or T32. By properly > marking save_boot_params_ret as a potential function entry, we can > make sure that the compiler will insert the appropriate instructions > for branching to

Re: [U-Boot] [U-Boot, v5, 14/18] rockchip: back-to-bootrom: replace assembly-implementation with C-code

2017-11-07 Thread Philipp Tomsich
> The back-to-bootrom implementation for Rockchip has always relied on > the stack-pointer being valid on entry, so there was little reason to > have this as an assembly implementation. > > This provides a new C-only implementation of save_boot_params and > back_to_bootrom (relying on

Re: [U-Boot] [U-Boot, v5, 10/18] rockchip: boot0 hook: support early return for RK3188/RK3066-style BROM

2017-11-07 Thread Philipp Tomsich
> Some Rockchip BROM versions (e.g. the RK3188 and RK3066) first read 1KB data > from NAND into SRAM and executes it. Then, following a return to bootrom, the > BROM loads additional code to SRAM (not overwriting the first block read) and > reenters at the same address as the first time. > > To

Re: [U-Boot] [U-Boot, v3, 2/2] rockchip: clock: update sysreset driver bingding

2017-11-07 Thread Philipp Tomsich
> Using priv for new sysreset driver binding. > > Signed-off-by: Kever Yang > Acked-by: Philipp Tomsich > Acked-by: Philipp Tomsich > --- > > Changes in v3: > - do not init priv if driver

Re: [U-Boot] [U-Boot, v3, 1/2] rockchip: sysreset: merge into one common driver

2017-11-07 Thread Philipp Tomsich
> Use a common driver for all Rockchip SOC instead of one for each SoC. > Use driver_data for reg offset. > > Signed-off-by: Kever Yang > Acked-by: Philipp Tomsich > Acked-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, v5, 18/18] rockchip: mkimage: remove unused code-paths (spl_boot0 is now implied)

2017-11-07 Thread Philipp Tomsich
> With all targets converted to generate prepadded images, this removes > the spl_boot0 field from our config structure and removes the unused > code-path (for images that are not prepadded): i.e. spl_boot0 is now > implied as 'true' and the code is specialised by removing the other > case. > >

Re: [U-Boot] [U-Boot, v5, 09/18] bcm281xx: boot0 hook: adjust to unified boot0 semantics

2017-11-07 Thread Philipp Tomsich
> This updates the BCM281xx boot0-hook to the updated boot0 semantics > by emitting _start and the vector table before the boot0 hook (as > was the case before). > > Signed-off-by: Philipp Tomsich > --- > > Changes in v5: None > Changes in v4: None >

Re: [U-Boot] [U-Boot, v5, 07/18] socfpga: boot0 hook: adjust to unified boot0 semantics

2017-11-07 Thread Philipp Tomsich
> With the updated boot0 semantics (i.e. giving the boot0-hook control > over when and where the vector table is emitted), the boot0-hook for > the socfpga needs to be adjusted. > > Signed-off-by: Philipp Tomsich > --- > > Changes in v5: None > Changes in

Re: [U-Boot] [U-Boot, v5, 05/18] rockchip: rk3288: use aligned address for SPL_TEXT_BASE

2017-11-07 Thread Philipp Tomsich
> From: Kever Yang > > After we use boot0 hook, we can use offset '000' instead of '004' as > SPL_TEXT_BASE. > > Signed-off-by: Kever Yang > [Updated tag in commit summary:] > Signed-off-by: Philipp Tomsich

Re: [U-Boot] [U-Boot, v5, 06/18] rockchip: rk3036: use aligned address for SPL_TEXT_BASE

2017-11-07 Thread Philipp Tomsich
> With the boot0-hook inserting the additional padding to receive our > SPL magic, the SPL_TEXT_BASE can be aligned again. > > Signed-off-by: Philipp Tomsich > --- > > Changes in v5: None > Changes in v4: None > Changes in v3: None > Changes in v2: None >

Re: [U-Boot] [U-Boot, v5, 04/18] rockchip: mkimage: use spl_boot0 for all Rockchip SoCs

2017-11-07 Thread Philipp Tomsich
> From: Kever Yang > > Enable the spl_boot0 in SPL and use the pre-padding TAG memory, > the mkimage do not need to pad it but only need to replace the value > with correct TAG value. > > Signed-off-by: Kever Yang > [Updated:] >

Re: [U-Boot] [U-Boot, v5, 02/18] rockchip: boot0: align to 0x20 for armv7 '_start'

2017-11-07 Thread Philipp Tomsich
> From: Kever Yang > > The '_start' is using as vector table base address, and will write > to VBAR register, so it needs to be aligned to 0x20 for armv7. > > Signed-off-by: Kever Yang > [Updated to current code base:] > Signed-off-by:

Re: [U-Boot] [U-Boot, v5, 08/18] bcm235xx: boot0 hook: adjust to unified boot0 semantics

2017-11-07 Thread Philipp Tomsich
> This updates the BCM235xx boot0-hook to the updated boot0 semantics > by emitting _start and the vector table before the boot0 hook (as > was the case before). > > Signed-off-by: Philipp Tomsich > > Version-changes: 5 > - ran 'whitespace-cleanup' > --- >

Re: [U-Boot] [U-Boot, v5, 03/18] rockchip: enable boot0-hook for all Rockchip SoCs

2017-11-07 Thread Philipp Tomsich
> Rockchip SoCs bootrom design is like this: > - First 2KB or 4KB internal memory is for bootrom stack and heap; > - Then the first 4-byte suppose to be a TAG like 'RK33'; > - The the following memory address end with '0004' is the first > instruction load and running by bootrom; > > Let's use

Re: [U-Boot] [U-Boot, v5, 01/18] arm: boot0 hook: move boot0 hook before '_start'

2017-11-07 Thread Philipp Tomsich
> The boot0 hook on ARM does not insert its payload before the vector > table. This is both a mismatch with thec comment above it and > contradict usage of the boot0 hook on ARM64. > > To fix this (and unify the semantics for ARM and ARM64), we change the > boot0-hook semantics on ARM to match

[U-Boot] Include FSP in u-boot.rom

2017-11-07 Thread vnktux
Hi guys, I need to generate a u-boot.rom image of exactly 8Mb that include only fsp.bin and vga.bin. The reason is because in my company we will use an Intel tool that already contain descriptor and intel ME for our platform. Has been already 1 week that I am struggling to do this, if I specify

Re: [U-Boot] [U-Boot, RESEND, 2/2] rockchip: clk: add device_bind_driver_to_node for reset driver

2017-11-07 Thread Philipp Tomsich
> From: Elaine Zhang > > all rockchip socs add device_bind_driver_to_node, > to bound device rockchip reset to clock-controller. > > Signed-off-by: Elaine Zhang > Signed-off-by: Kever Yang > --- > >

Re: [U-Boot] [U-Boot, v3, 2/2] rockchip: clock: update sysreset driver bingding

2017-11-07 Thread Philipp Tomsich
> Using priv for new sysreset driver binding. > > Signed-off-by: Kever Yang > Acked-by: Philipp Tomsich > --- > > Changes in v3: > - do not init priv if driver bind fail > > Changes in v2: > - use udev priv member instead of

Re: [U-Boot] [U-Boot, v3, 1/2] rockchip: sysreset: merge into one common driver

2017-11-07 Thread Philipp Tomsich
> Use a common driver for all Rockchip SOC instead of one for each SoC. > Use driver_data for reg offset. > > Signed-off-by: Kever Yang > Acked-by: Philipp Tomsich > --- > > Changes in v3: None > Changes in v2: > - use udev priv

Re: [U-Boot] [U-Boot, RESEND, 1/2] drivers/reset: support rockchip reset drivers

2017-11-07 Thread Philipp Tomsich
> From: Elaine Zhang > > Create driver to support all Rockchip SoCs soft reset. > Example of usage: > i2c driver: > ret = reset_get_by_name(dev, "i2c", _ctl); > if (ret) { > error("reset_get_by_name() failed: %d\n", ret); > } > >

Re: [U-Boot] [RFC] efi_loader: frame buffers in EFI GOP and DM_VIDEO

2017-11-07 Thread Simon Glass
Hi Heinrich, On 6 November 2017 at 18:36, Rob Clark wrote: > On Wed, Oct 25, 2017 at 3:45 PM, Heinrich Schuchardt > wrote: >> Hello Alex, hello Simon, >> >> I have just been reading through efi_gop and video_uclass.c and there seems >> to be something

Re: [U-Boot] [U-boot][SDP] Trigger watchdog before calling usb_gadget_handle_interrupts

2017-11-07 Thread Vincent Prince
Hi all, It's my first patch contribution, do I need to do anything more ? Best regards, Vincent 2017-10-26 13:52 GMT+02:00 Stefan Agner : > > > On 26.10.2017 13:25, Lukasz Majewski wrote: > > Hi Vincent, > > > >> This prevents board resets when calling sdp command on

Re: [U-Boot] sunxi: SATA link timeout fix

2017-11-07 Thread Jagan Teki
On Sun, Nov 5, 2017 at 7:11 PM, Werner Böllmann wrote: > After updating u-boot from v2016.01 to 2017.09 i got a "SATA link 0 timeout." > on my Cubietruck board. > I tracked this down to this patch. > >

[U-Boot] [PATCH v4 7/7] ls1088a: Add VID support for QDS and RDB platforms

2017-11-07 Thread Rajesh Bhagat
This patch adds the support for VID on LS1088AQDS and LS1088ARDB systems. It reads the fusesr register and changes the VDD accordingly by adjusting the voltage via LTC3882 regulator. This patch also takes care of the special case of 0.9V VDD is present in fusesr register. In that case,it also

[U-Boot] [PATCH v4 4/7] board: common: vid: Move IR chip specific code in flag

2017-11-07 Thread Rajesh Bhagat
Moves IR chip (IR36021) specific code in flag to resolve compilation issue where it is not present. For example, LS1088A is having a new LTC3882 voltage chip. Signed-off-by: Ashish Kumar Signed-off-by: Rajesh Bhagat --- Changes in v4:

[U-Boot] [PATCH v4 6/7] board: common: vid: Add support for LTC3882 voltage regulator chip

2017-11-07 Thread Rajesh Bhagat
Restructures common driver to support LTC3882 voltage regulator chip. Signed-off-by: Ashish Kumar Signed-off-by: Rajesh Bhagat --- Changes in v4: None Changes in v3: Restructured LS1088A VID support to use common VID driver Added the coding for

[U-Boot] [PATCH v4 3/7] board: common: vid: Add board specific vdd adjust API

2017-11-07 Thread Rajesh Bhagat
Adds a board specific API namely board_adjust_vdd which is required to define the board VDD adjust settings. Signed-off-by: Ashish Kumar Signed-off-by: Rajesh Bhagat --- Changes in v4:

[U-Boot] [PATCH v4 5/7] Kconfig: Add LTC3882 voltage regulator config

2017-11-07 Thread Rajesh Bhagat
Adds below LTC3882 voltage regulator config: CONFIG_VOL_MONITOR_LTC3882_READ CONFIG_VOL_MONITOR_LTC3882_SET Signed-off-by: Ashish Kumar Signed-off-by: Rajesh Bhagat --- Changes in v4:

[U-Boot] [PATCH v4 2/7] board: common:vid: Add LS1088A VID Supported voltage values

2017-11-07 Thread Rajesh Bhagat
Adds below voltage values supported by LS1088A Soc: 1.025 V(default), 0.9875V, 0.9750 V, 0.9V, 1.0 V, 1.0125 V, 1.0250 V Signed-off-by: Ashish Kumar Signed-off-by: Rajesh Bhagat --- Changes in v4:

[U-Boot] [PATCH v4 1/7] armv8: lsch3: Add serdes and DDR voltage setup

2017-11-07 Thread Rajesh Bhagat
Adds SERDES voltage and reset SERDES lanes API and makes enable/disable DDR controller support 0.9V API common. Signed-off-by: Ashish Kumar Signed-off-by: Rajesh Bhagat --- Changes in v4:

[U-Boot] [PATCH v4 0/7] Add VID support for QDS and RDB platforms

2017-11-07 Thread Rajesh Bhagat
Adds LTC3882 voltage regulator chip support in common VID driver. And adds VID support for LS1088A QDS and RDB platforms. Rajesh Bhagat (7): armv8: lsch3: Add serdes and DDR voltage setup board: common:vid: Add LS1088A VID Supported voltage values board: common: vid: Add board specific vdd

[U-Boot] [PATCH 3/3] imx7: Add include guards for include/asm/arch-mx7/sys_proto.h file

2017-11-07 Thread Lukasz Majewski
Signed-off-by: Lukasz Majewski --- arch/arm/include/asm/arch-mx7/sys_proto.h | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/include/asm/arch-mx7/sys_proto.h b/arch/arm/include/asm/arch-mx7/sys_proto.h index fa624248b2..cd83662a78 100644 ---

[U-Boot] [PATCH 2/3] imx5: Add include guards for include/asm/arch-mx5/sys_proto.h file

2017-11-07 Thread Lukasz Majewski
Signed-off-by: Lukasz Majewski --- arch/arm/include/asm/arch-mx5/sys_proto.h | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/include/asm/arch-mx5/sys_proto.h b/arch/arm/include/asm/arch-mx5/sys_proto.h index 14f5d948c9..de19c45e09 100644 ---

[U-Boot] [PATCH 1/3] imx6: Add include guards for include/asm/arch-mx6/sys_proto.h file

2017-11-07 Thread Lukasz Majewski
Signed-off-by: Lukasz Majewski --- arch/arm/include/asm/arch-mx6/sys_proto.h | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/include/asm/arch-mx6/sys_proto.h b/arch/arm/include/asm/arch-mx6/sys_proto.h index 72ab7d814f..33458cd000 100644 ---

Re: [U-Boot] [PATCH] imx6: iomux: Add generic function to set RGMII IO voltage on IMX6 SoCs

2017-11-07 Thread Lukasz Majewski
Hi Stefano, > On 07/11/2017 10:23, Stefano Babic wrote: > > On 31/10/2017 13:26, Lukasz Majewski wrote: > >> This commit provides generic function to set the RGMII/HSIC IO > >> voltage level on iMX6 devices. > >> > >> Signed-off-by: Lukasz Majewski > >> --- > >> > >>

[U-Boot] [PATCH] board: imx6: marsboard: Remove doubled #include

2017-11-07 Thread Lukasz Majewski
The sys_proto.h file has been included earlier in this file. Signed-off-by: Lukasz Majewski --- board/embest/mx6boards/mx6boards.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/embest/mx6boards/mx6boards.c b/board/embest/mx6boards/mx6boards.c index

Re: [U-Boot] [PATCH v5 0/8] Add support for GE PPD

2017-11-07 Thread Peter Robinson
On Mon, Nov 6, 2017 at 7:14 PM, Martyn Welch wrote: > This series adds support for the GE PPD. The initial patches in this > series resolve issues found during development and testing, extend > existing support and add new support for devices in the PPD. The final > patch in

Re: [U-Boot] [PATCH 10/15] rockchip: dts: rk3399-puma: add /config/arm-trusted-firmware, reset-gpio property

2017-11-07 Thread Dr. Philipp Tomsich
> On 17 Sep 2017, at 19:54, Simon Glass wrote: > > On 13 September 2017 at 13:29, Philipp Tomsich > wrote: >> With the ATF capable of accessing the FDT passed to the next stage, >> we can specify configuration items for the ATF in the

Re: [U-Boot] [PATCH 1/2] common: Generic file system firmware loader

2017-11-07 Thread Marek Vasut
On 11/07/2017 10:03 AM, Chee, Tien Fong wrote: > On Isn, 2017-11-06 at 11:56 +0100, Marek Vasut wrote: >> On 11/06/2017 05:15 AM, Chee, Tien Fong wrote: >>> >>> On Ahd, 2017-11-05 at 17:43 +0100, Marek Vasut wrote: On 11/02/2017 09:20 AM, Chee, Tien Fong wrote: > > > On Rab,

Re: [U-Boot] [PATCH v4] imx:display5: Add support for LWN's DISPLAY5 board (for v2017.11-rc2+)

2017-11-07 Thread Lukasz Majewski
Hi Stefano, > Hi Lukasz, > > On 31/10/2017 17:58, Lukasz Majewski wrote: > > This commit provides support for LWN's IMX6Q based DISPLAY5 board. > > > > I would merge it, but why the commit message is still "(for > v2017.11-rc2+)" ? This goes into git history if I merge it. > > Can I drop it

Re: [U-Boot] [PATCH] imx6: iomux: Add generic function to set RGMII IO voltage on IMX6 SoCs

2017-11-07 Thread Stefano Babic
On 07/11/2017 10:23, Stefano Babic wrote: > On 31/10/2017 13:26, Lukasz Majewski wrote: >> This commit provides generic function to set the RGMII/HSIC IO voltage >> level on iMX6 devices. >> >> Signed-off-by: Lukasz Majewski >> --- >> >> arch/arm/include/asm/arch-mx6/iomux.h |

Re: [U-Boot] [PATCH 07/15] spl: atf: introduce spl_invoke_atf and make bl31_entry private

2017-11-07 Thread Dr. Philipp Tomsich
> On 17 Sep 2017, at 19:53, Simon Glass wrote: > > Hi Philipp, > > On 13 September 2017 at 13:29, Philipp Tomsich > > wrote: >> This adds a new interface spl_invoke_atf() that takes a

Re: [U-Boot] [PATCH v4] imx:display5: Add support for LWN's DISPLAY5 board (for v2017.11-rc2+)

2017-11-07 Thread Stefano Babic
Hi Lukasz, On 31/10/2017 17:58, Lukasz Majewski wrote: > This commit provides support for LWN's IMX6Q based DISPLAY5 board. > I would merge it, but why the commit message is still "(for v2017.11-rc2+)" ? This goes into git history if I merge it. Can I drop it by merging ? Best regards,

Re: [U-Boot] [PATCH] imx6: iomux: Add generic function to set RGMII IO voltage on IMX6 SoCs

2017-11-07 Thread Stefano Babic
On 31/10/2017 13:26, Lukasz Majewski wrote: > This commit provides generic function to set the RGMII/HSIC IO voltage > level on iMX6 devices. > > Signed-off-by: Lukasz Majewski > --- > > arch/arm/include/asm/arch-mx6/iomux.h | 13 + >

Re: [U-Boot] [PATCH v3 1/2] i.MX6: engicam: Fix MAINTAINERS/README

2017-11-07 Thread Stefano Babic
Hi Jagan, On 30/10/2017 10:57, Jagan Teki wrote: > - Update newly added include/configs file in MAINTAINERS > - Update newly added defconfig file in README > > Signed-off-by: Jagan Teki > --- Applied to u-boot-imx, -master - thanks ! Patch 2/2 dropped as discussed

Re: [U-Boot] [PATCH v3 1/3] mx25: Move MX25 selection to Kconfig

2017-11-07 Thread Stefano Babic
Hi Tom, On 07/11/2017 02:22, Tom Rini wrote: > On Mon, Nov 06, 2017 at 09:44:40PM -0200, Fabio Estevam wrote: >> Hi Stefano and Tom, >> >> On Fri, Nov 3, 2017 at 1:40 PM, Fabio Estevam wrote: >>> From: Fabio Estevam >>> >>> The motivation for moving

Re: [U-Boot] [PATCH 1/2] common: Generic file system firmware loader

2017-11-07 Thread Chee, Tien Fong
On Isn, 2017-11-06 at 11:56 +0100, Marek Vasut wrote: > On 11/06/2017 05:15 AM, Chee, Tien Fong wrote: > > > > On Ahd, 2017-11-05 at 17:43 +0100, Marek Vasut wrote: > > > > > > On 11/02/2017 09:20 AM, Chee, Tien Fong wrote: > > > > > > > > > > > > On Rab, 2017-11-01 at 10:26 +0100, Marek Vasut

[U-Boot] [PULL] Please pull u-boot-rockchip

2017-11-07 Thread Dr. Philipp Tomsich
Tom, Here’s another pull-request for u-boot-rockchip for some last-minute DTS-updates and config-changes for the upcoming release. Regards, Philipp. The following changes since commit 7a69604bce9a9a9476753af64e5a1870880c1333: Prepare v2017.11-rc4 (2017-11-06 18:25:37 -0500) are available