[U-Boot] [PATCH 07/36] rockchip: rk3328: add BOOT_MODE_REG for rk3328

2018-03-27 Thread Kever Yang
Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig index 98bf935..892d51e 100644 --- a/arch/arm/mach-rockchip/Kconfig +++

[U-Boot] [PATCH 04/36] rockchip: defconfig: remove CONFIG_SYS_NS16550

2018-03-27 Thread Kever Yang
We have enable NS16550 in Kconfig, do not need enable at defconfig Signed-off-by: Kever Yang --- configs/evb-rk3128_defconfig | 1 - configs/evb-rk3229_defconfig | 1 - configs/evb-rk3288_defconfig | 1 - configs/evb-rk3328_defconfig | 1 -

[U-Boot] [PATCH 32/36] rockchip: remove rk_timer

2018-03-27 Thread Kever Yang
We do not use rk_timer.c now, remove it. Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/rk_timer.c | 48 --- 1 file changed, 48 deletions(-) delete mode 100644 arch/arm/mach-rockchip/rk_timer.c diff --git

[U-Boot] [PATCH 20/36] rockchip: rk3128: remove rockchip timer as systimer

2018-03-27 Thread Kever Yang
We use ARM arch timer instead. Signed-off-by: Kever Yang --- include/configs/rk3128_common.h | 4 1 file changed, 4 deletions(-) diff --git a/include/configs/rk3128_common.h b/include/configs/rk3128_common.h index c593f18..313a1e2 100644 ---

[U-Boot] [PATCH 22/36] rockchip: dts: rk3288: update spl-boot-order

2018-03-27 Thread Kever Yang
Use "uboot,spl-boot-orde" instead of "uboot,boot0". Signed-off-by: Kever Yang --- arch/arm/dts/rk3288-phycore-rdk.dts | 6 +- arch/arm/dts/rk3288-veyron.dtsi | 6 +- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git

[U-Boot] [PATCH 24/36] armv8: add timer_get_boot_us() for generic timer

2018-03-27 Thread Kever Yang
We need timer_get_boot_us() for boot stage if we use generic timer only. Signed-off-by: Kever Yang --- arch/arm/cpu/armv8/generic_timer.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/cpu/armv8/generic_timer.c

[U-Boot] [PATCH 01/36] rockchip: rk3288: move configure_l2ctlr back to rk3288

2018-03-27 Thread Kever Yang
The configure_l2ctlr() is used only by rk3288, do not need to locate in sys_proto.h Signed-off-by: Kever Yang --- arch/arm/include/asm/arch-rockchip/sys_proto.h | 22 -- arch/arm/mach-rockchip/rk3288/rk3288.c | 26

[U-Boot] [PATCH 21/36] rockchip: rk3128: prepare use common board file

2018-03-27 Thread Kever Yang
remoe rk3128 board file and move SoC spec setting into rk3128.c Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/rk3128-board.c | 127 -- 1 file changed, 127 deletions(-) delete mode 100644 arch/arm/mach-rockchip/rk3128-board.c

[U-Boot] [PATCH 30/36] rockchip: lion-rk3368: remove rockchip timer

2018-03-27 Thread Kever Yang
We use ARM generic timer. Signed-off-by: Kever Yang --- configs/lion-rk3368_defconfig | 4 1 file changed, 4 deletions(-) diff --git a/configs/lion-rk3368_defconfig b/configs/lion-rk3368_defconfig index 8a95ce3..89c4d76 100644 ---

[U-Boot] [PATCH 28/36] rockchip: rk3328: prepare to use common board file

2018-03-27 Thread Kever Yang
Use common board file and move SoC spec setting into rk3328.c Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/rk3328/rk3328.c | 59 +- board/rockchip/evb_rk3328/evb-rk3328.c | 66 -- 2 files changed, 51

[U-Boot] [PATCH 36/36] rockchip: add common board file for rockchip platform

2018-03-27 Thread Kever Yang
We use common board/spl/tpl file for all rockchip SoCs, - all the SoC spec setting should move into SoC file like rk3288.c; - tpl is option and only purpose to init DRAM, clock, uart(option); - spl do secure relate one time init, boot device select, boot into U-Boot or trust or OS in falcon

[U-Boot] [PATCH 34/36] rockchip: spl-boot-order: do not enable with OF_PLATDATA

2018-03-27 Thread Kever Yang
The "fdt_*" functions may not enable even if the OF_CONTROL is enabled. Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/spl-boot-order.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-rockchip/spl-boot-order.c

[U-Boot] [PATCH 33/36] rockchip: dts: rk3399-firefly: enable uart2 in spl

2018-03-27 Thread Kever Yang
pre-loader console in SPL needs UART. Signed-off-by: Kever Yang --- arch/arm/dts/rk3399-firefly.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/rk3399-firefly.dts b/arch/arm/dts/rk3399-firefly.dts index f134c00..a007fa1 100644 ---

Re: [U-Boot] [PATCH] rockchip: clk: rk3188: update dpll settings to make EMAC work

2018-03-27 Thread Kever Yang
Hi Philipp,     Sorry for reply so late. On 02/26/2018 07:28 PM, Dr. Philipp Tomsich wrote: > Kever, > > please review. > > Thanks, > Philipp. > >> On 26 Feb 2018, at 12:27, Alexander Kochetkov wrote: >> >> The patch set dpll settings for 300MHz to values used by binary >>

[U-Boot] [PATCH 06/36] rockchip: add IRAM_START_ADDR for all SoCs

2018-03-27 Thread Kever Yang
We add this for get the location for boot device of bootrom. Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/Kconfig | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig index

[U-Boot] [PATCH 12/36] rockchip: rk3036: sdram: use udelay instead of rockchip_udelay

2018-03-27 Thread Kever Yang
We are going to remove rockchip_udelay after enable arch timer. Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/rk3036/sdram_rk3036.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git

[U-Boot] [PATCH 13/36] rockchip: rk3036: remove sys timer

2018-03-27 Thread Kever Yang
Use ARM arch timer instead. Signed-off-by: Kever Yang --- include/configs/rk3036_common.h | 4 1 file changed, 4 deletions(-) diff --git a/include/configs/rk3036_common.h b/include/configs/rk3036_common.h index c5ec864..8230373 100644 ---

[U-Boot] [PATCH 31/36] rockchip: rk3399: prepare to use common board file

2018-03-27 Thread Kever Yang
Use common board file and move SoC spec setting into rk3399.c Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/rk3399-board-spl.c | 179 -- arch/arm/mach-rockchip/rk3399-board.c | 14 --

[U-Boot] [PATCH 14/36] rockchip: rk3036: prepare to use commong board file

2018-03-27 Thread Kever Yang
Move some soc spec setting into rk3036.c Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/rk3036-board.c | 104 - arch/arm/mach-rockchip/rk3036/Makefile | 2 +- .../{rk3036-board-spl.c => rk3036/rk3036.c}|

[U-Boot] [PATCH 19/36] rockchip: rk3188: prepare to use common board file

2018-03-27 Thread Kever Yang
Move SoC spec setting into rk3188.c Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/rk3188-board-spl.c | 226 -- arch/arm/mach-rockchip/rk3188-board.c | 82 --- arch/arm/mach-rockchip/rk3188/Makefile| 1 +

[U-Boot] [PATCH 10/36] rockchip: rk322x: prepare to use common board file

2018-03-27 Thread Kever Yang
Move soc spec setting into rk322x.c and remove rk322x-board/board-spl.c Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/rk322x-board.c | 155 - arch/arm/mach-rockchip/rk322x/Makefile | 2 +- .../{rk322x-board-spl.c

[U-Boot] [PATCH 2/2] dm: pci: Avoid setting a PCI region that has 0 size

2018-03-27 Thread Bin Meng
It makes no sense to set a PCI region that has 0 size. Signed-off-by: Bin Meng --- drivers/pci/pci-uclass.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/pci/pci-uclass.c b/drivers/pci/pci-uclass.c index 9d51236..a2e8296 100644 ---

[U-Boot] [PATCH 1/2] dm: pci: Check board information pointer in decode_regions()

2018-03-27 Thread Bin Meng
PCI enumeration may happen very early on an x86 board. The board information pointer should have been checked in decode_regions() as its space may not be allocated yet. With this commit, Intel Galileo board boots again. Fixes: 664758c ("pci: Fix decode regions for memory banks") Signed-off-by:

[U-Boot] [PATCH 11/36] rockchip: defconfig enable sysreset for rk3229 spl

2018-03-27 Thread Kever Yang
We need CONFIG_SPL_DRIVERS_MISC_SUPPORT to enable sysreset driver, which will fix missing do_reset() error in SPL build. Signed-off-by: Kever Yang --- configs/evb-rk3229_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/evb-rk3229_defconfig

[U-Boot] [PATCH 16/36] rockchip: sdram-common: add api to pass dram info to trust os

2018-03-27 Thread Kever Yang
Trust OS decode this info like this: https://github.com/ARM-software/arm-trusted-firmware/blob/master/plat/rockchip/common/drivers/parameter/ddr_parameter.c#L19 We have to set a available value, or else we get error info from Trust OS like this: "ERROR: over or zero region, nr=3145987, max=10"

[U-Boot] [PATCH 27/36] rockchip: rv1108: prepare to use common board file

2018-03-27 Thread Kever Yang
Remove functions will present at common board file. Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/rv1108/rv1108.c | 8 board/rockchip/evb_rv1108/evb_rv1108.c | 6 -- 2 files changed, 14 deletions(-) diff --git

[U-Boot] [PATCH 18/36] rockchip: rk3188: remove rockchip timer as sys timer

2018-03-27 Thread Kever Yang
We use ARM arch timer instead. Signed-off-by: Kever Yang --- include/configs/rk3188_common.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/configs/rk3188_common.h b/include/configs/rk3188_common.h index 30c150e..7dddf11 100644 ---

[U-Boot] [PATCH 09/36] rockchip: rk322x: sdram: use common udelay instead of rockchip_udelay

2018-03-27 Thread Kever Yang
Do not need to use rockchip_udelay after we can use systimer. Signed-off-by: Kever Yang --- drivers/ram/rockchip/sdram_rk322x.c | 29 ++--- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/drivers/ram/rockchip/sdram_rk322x.c

[U-Boot] [PATCH 05/36] rockchip: add STIMER_BASE for all SoCs

2018-03-27 Thread Kever Yang
STIMER is can only access in secure mode if the SoCs supports trust, and it locate in alive power domain, as the source of ARM arch/generic timer, we add a base addr for all SoCs so that we can init with a common function. Signed-off-by: Kever Yang ---

[U-Boot] [PATCH 23/36] rockchip: rk3288: remove rockchip timer for sys timer

2018-03-27 Thread Kever Yang
Use ARM arch timer instead Signed-off-by: Kever Yang --- include/configs/rk3288_common.h | 4 1 file changed, 4 deletions(-) diff --git a/include/configs/rk3288_common.h b/include/configs/rk3288_common.h index 44d5c2a..8d0a0f9 100644 ---

[U-Boot] [PATCH 17/36] rockchip: sdram_common: add common dram_init_banksize

2018-03-27 Thread Kever Yang
dram_init_banksize() can be common used by all SoCs, move it into sdram_common.c Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/sdram_common.c | 63 ++- 1 file changed, 62 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 15/36] rockchip: declare sdram_init() in common header

2018-03-27 Thread Kever Yang
We need a dedicate sdram_init() function for those SoCS not using SPL_FRAMEWORK. Signed-off-by: Kever Yang --- arch/arm/include/asm/arch-rockchip/sys_proto.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/include/asm/arch-rockchip/sys_proto.h

Re: [U-Boot] [PATCH] pci: Fix decode regions for memory banks

2018-03-27 Thread Bin Meng
Hi Bernhard, On Fri, Mar 23, 2018 at 12:27 AM, Bernhard Messerklinger wrote: > Hi, > > Thanks for the report. > I am answering from my private email. At the moment I can't find any issue > regarding my patch. It should make no difference since dram_init_banksize in >

[U-Boot] [PATCH] cmd: nvedit: Add filtering during env import

2018-03-27 Thread Alex Kiernan
When importing variables allow size to be elided using '-' and then support a list of variables which restricts what will be picked during the import. Signed-off-by: Alex Kiernan --- cmd/nvedit.c | 26 +++--- 1 file changed, 19 insertions(+), 7

[U-Boot] [PATCH 02/36] rockchip: add common MACRO to enable sys arch timer

2018-03-27 Thread Kever Yang
All rockchip SoCs can use ARM arch timer, let's enable it in common header file Signed-off-by: Kever Yang --- include/configs/rk3368_common.h | 2 -- include/configs/rk3399_common.h | 2 -- include/configs/rockchip-common.h | 4 3 files changed, 4

[U-Boot] [PATCH 08/36] rockchip: rk322x: remove use rockchip timer as sys timer

2018-03-27 Thread Kever Yang
We can use arch timer instead of rockchip timer. Signed-off-by: Kever Yang --- include/configs/rk322x_common.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/configs/rk322x_common.h b/include/configs/rk322x_common.h index 832f037..29e222a 100644 ---

[U-Boot] [PATCH 03/36] rockchip: enable SYS_NS16550 for all SoCs by default

2018-03-27 Thread Kever Yang
All rockchip SoCs can use ns16550 driver, enable it for all and set SYS_NS16550_MEM32 for all SoCs. Signed-off-by: Kever Yang --- arch/arm/Kconfig | 1 + arch/arm/mach-rockchip/Kconfig| 1 - include/configs/rk3036_common.h | 3 ---

[U-Boot] [PATCH 25/36] rockchip: rk3288: prepare to use common board file

2018-03-27 Thread Kever Yang
Use common board file and move SoC spec setting into rk3288.c Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/rk3288-board-spl.c | 304 -- arch/arm/mach-rockchip/rk3288-board-tpl.c | 84 -

[U-Boot] [PATCH 29/36] rockchip: rk3368: prepare to use common board file

2018-03-27 Thread Kever Yang
Use common board file and move SoC spec setting into rk3368.c Signed-off-by: Kever Yang --- arch/arm/mach-rockchip/rk3368-board-spl.c | 73 -- arch/arm/mach-rockchip/rk3368-board-tpl.c | 157 --

[U-Boot] [PATCH 26/36] rockchip: rk1108: remove rockchip timer for sys timer

2018-03-27 Thread Kever Yang
We use ARM arch timer instead. Signed-off-by: Kever Yang --- include/configs/rv1108_common.h | 5 - 1 file changed, 5 deletions(-) diff --git a/include/configs/rv1108_common.h b/include/configs/rv1108_common.h index cd204e9..7a9ec7b 100644 ---

[U-Boot] [PATCH 35/36] rockchip: declear boot_devices in bootrom.h

2018-03-27 Thread Kever Yang
boot_devices may defined in soc file, and used in board file, we need to delear it in header file. Signed-off-by: Kever Yang --- arch/arm/include/asm/arch-rockchip/bootrom.h | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [U-Boot] [PATCH v3 2/5] ARM: dts: i.MX6QDL: U-Boot specific dts for u-boot, dm-spl

2018-03-27 Thread Lothar Waßmann
Hi, On Mon, 26 Mar 2018 17:46:52 +0530 Jagan Teki wrote: > u-boot,dm-spl property is specific to U-Boot, so move it into > *u-boot.dtsi files for relevant i.MX6QDL files. > > This make syncing Linux dts files straight forward. > > Also update the MAINTAINERS file for dts files. > >

Re: [U-Boot] [PATCH 22/36] rockchip: dts: rk3288: update spl-boot-order

2018-03-27 Thread Peter Robinson
On Tue, Mar 27, 2018 at 10:29 AM, Kever Yang wrote: > Use "uboot,spl-boot-orde" instead of "uboot,boot0". I think these should be in *-u-boot.dtsi files, that enables easy sync between the linux kernel dts files and u-boot like done on a number of other configs, a

[U-Boot] [PATCH v2] power: pwm regulator: support live tree

2018-03-27 Thread Andy Yan
Use live tree compatible api for pwm regulator. Signed-off-by: Andy Yan --- Changes in v2: - remove unused head files drivers/power/regulator/pwm_regulator.c | 15 --- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git

[U-Boot] [PATCH 2/2] efi_loader: set the dhcp ack received flag

2018-03-27 Thread Patrick Wildt
The PXE object contains a flag that specifies whether or not a DHCP ACK has been received. This can be used by EFI Applications to find out whether or not it is worth to read the DHCP information from our object. Signed-off-by: Patrick Wildt --- lib/efi_loader/efi_net.c | 4

[U-Boot] [PATCH 1/2] efi_loader: complete efi_pxe_mode struct definition

2018-03-27 Thread Patrick Wildt
The efi_pxe_mode struct which represents the PXE_BASE_CODE_PROTOCOL Replace the placeholder paddings in the efi_pxe_mode struct with the actual fields as defined in UEFI's PXE Base Code Protocol. Since our efi_ip_address is a simple char array set a specific alignment to the efi_ip_address

Re: [U-Boot] [PATCH] cmd: nvedit: Add filtering during env import

2018-03-27 Thread Alex Kiernan
On Tue, Mar 27, 2018 at 10:28 AM, Quentin Schulz wrote: > Hi Alex, > > On Tue, Mar 27, 2018 at 08:43:26AM +, Alex Kiernan wrote: >> When importing variables allow size to be elided using '-' and then >> support a list of variables which restricts what will be

Re: [U-Boot] [PATCH 26/36] rockchip: rk1108: remove rockchip timer for sys timer

2018-03-27 Thread Andy Yan
hi Kever:     s/rk1108/rv1108 On 2018年03月27日 17:29, Kever Yang wrote: We use ARM arch timer instead. Signed-off-by: Kever Yang --- include/configs/rv1108_common.h | 5 - 1 file changed, 5 deletions(-) diff --git a/include/configs/rv1108_common.h

Re: [U-Boot] [PATCH 33/36] rockchip: dts: rk3399-firefly: enable uart2 in spl

2018-03-27 Thread Peter Robinson
On Tue, Mar 27, 2018 at 10:29 AM, Kever Yang wrote: > pre-loader console in SPL needs UART. > > Signed-off-by: Kever Yang > --- > > arch/arm/dts/rk3399-firefly.dts | 1 + > 1 file changed, 1 insertion(+) > > diff --git

[U-Boot] FEC and EFI Simple Network

2018-03-27 Thread Patrick Wildt
Hi, I have been debugging network issues when running an EFI Application that uses the EFI Simple Network protocol on an i.MX6 machine (FEC). The symptom is that u-boot's (FEC) internal RX ring index is reset to 0, while the controller is still at idx 3 (or something else). This is caused by

Re: [U-Boot] [PATCH v2 3/3] imx: hab: Provide hab_auth_img_or_fail command

2018-03-27 Thread Breno Matheus Lima
Hi All, 2018-03-27 19:44 GMT-03:00 Breno Matheus Lima : > Hi Bryan, > > 2018-03-26 11:11 GMT-03:00 Bryan O'Donoghue : >> This patch adds hab_auth_img_or_fail() a command line function that >> encapsulates a common usage of authenticate and

Re: [U-Boot] [PATCH v3 1/2] imximage: Encase majority of header in __ASSEMBLY__ declaration

2018-03-27 Thread Breno Matheus Lima
Hi All, -Original Message- From: Bryan O'Donoghue [mailto:bryan.odonog...@linaro.org] Sent: segunda-feira, 26 de março de 2018 11:37 To: u-boot@lists.denx.de; Fabio Estevam Cc: rui.si...@linaro.org; sba...@denx.de; Bryan O'Donoghue ;

Re: [U-Boot] [PATCH v3 2/2] imx: hab: Provide hab_auth_img_or_fail command

2018-03-27 Thread Breno Matheus Lima
Hi All, -Original Message- From: Bryan O'Donoghue [mailto:bryan.odonog...@linaro.org] Sent: segunda-feira, 26 de março de 2018 11:37 To: u-boot@lists.denx.de; Fabio Estevam Cc: rui.si...@linaro.org; sba...@denx.de; Bryan O'Donoghue ;

Re: [U-Boot] [PATCH] vxworks: fixed cpu enable using PSCI on armv8

2018-03-27 Thread Bin Meng
Hi Vasyl, On Wed, Mar 28, 2018 at 3:29 AM, Vasyl Vavrychuk wrote: > Without armv8_setup_psci register VBAR_EL3 is not set up property which > makes SMC calls jump to invalid location. > > smp_kick_all_cpus is required to make slave cpus leave gic_wait_for_interrupt. >

Re: [U-Boot] [PATCH v4 13/19] sunxi: DT: A64: update board .dts files from Linux

2018-03-27 Thread André Przywara
On 27/03/18 18:58, Jagan Teki wrote: > On Sat, Mar 24, 2018 at 6:37 AM, André Przywara > wrote: >> On 23/03/18 18:14, Jagan Teki wrote: >>> On Wed, Mar 14, 2018 at 7:27 AM, Andre Przywara >>> wrote: Update the .dts files for the various

Re: [U-Boot] [PATCH 33/36] rockchip: dts: rk3399-firefly: enable uart2 in spl

2018-03-27 Thread Kever Yang
Hi Peter, On 03/27/2018 07:49 PM, Peter Robinson wrote: > On Tue, Mar 27, 2018 at 10:29 AM, Kever Yang > wrote: >> pre-loader console in SPL needs UART. >> >> Signed-off-by: Kever Yang >> --- >> >> arch/arm/dts/rk3399-firefly.dts | 1 + >>

Re: [U-Boot] [PATCH 26/36] rockchip: rk1108: remove rockchip timer for sys timer

2018-03-27 Thread Kever Yang
Hi Alexander, On 03/28/2018 12:21 AM, Alexander Kochetkov wrote: > The question is: does rk3066 and rk3188 have arch timer? If no, than removing > rk_timer > will break u-boot for these chips. Thanks for your comment, I will double check about if this two chips have arch timer, I think it

Re: [U-Boot] [PATCH v2 3/3] imx: hab: Provide hab_auth_img_or_fail command

2018-03-27 Thread Breno Matheus Lima
Hi Bryan, 2018-03-26 11:11 GMT-03:00 Bryan O'Donoghue : > This patch adds hab_auth_img_or_fail() a command line function that > encapsulates a common usage of authenticate and failover, namely if > authenticate image fails, then drop to BootROM USB recovery mode. > >

[U-Boot] [PATCH] warp7: configs: enable CONFIG_CMD_FS_GENERIC

2018-03-27 Thread Pierre-Jean TEXIER
This enable generic file system commands (load, ls). Signed-off-by: Pierre-Jean TEXIER --- configs/warp7_defconfig| 1 + configs/warp7_secure_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/warp7_defconfig b/configs/warp7_defconfig index

Re: [U-Boot] [PATCH] warp7: configs: enable CONFIG_CMD_FS_GENERIC

2018-03-27 Thread Fabio Estevam
Hi Pierre-Jean, On Tue, Mar 27, 2018 at 4:50 PM, Pierre-Jean TEXIER wrote: > This enable generic file system commands (load, ls). > > Signed-off-by: Pierre-Jean TEXIER > --- > configs/warp7_defconfig| 1 + > configs/warp7_secure_defconfig | 1

Re: [U-Boot] [PATCH v2] Kconfig: cmd: Make networking command dependent on NET

2018-03-27 Thread Joe Hershberger
Hi Heinrich, On Wed, Feb 28, 2018 at 5:05 PM, Heinrich Schuchardt wrote: > On 02/28/2018 02:09 AM, Tom Rini wrote: >> >> On Mon, Feb 26, 2018 at 04:01:02PM +0100, Michal Simek wrote: >> >>> Enable networking command only when NET is enabled. >>> And remove selecting NET for

Re: [U-Boot] [PATCH 22/36] rockchip: dts: rk3288: update spl-boot-order

2018-03-27 Thread Kever Yang
Hi Peter, On 03/27/2018 07:55 PM, Peter Robinson wrote: > On Tue, Mar 27, 2018 at 10:29 AM, Kever Yang > wrote: >> Use "uboot,spl-boot-orde" instead of "uboot,boot0". > I think these should be in *-u-boot.dtsi files, Yes, you are right about this, and move all this

[U-Boot] [PATCH] vxworks: fixed cpu enable using PSCI on armv8

2018-03-27 Thread Vasyl Vavrychuk
Without armv8_setup_psci register VBAR_EL3 is not set up properly which makes SMC calls jump to invalid location. smp_kick_all_cpus is required to make slave cpus leave gic_wait_for_interrupt. Without this they will never pursue booting process. This implementation is very similiar to what is

Re: [U-Boot] [PATCH v4 13/19] sunxi: DT: A64: update board .dts files from Linux

2018-03-27 Thread Maxime Ripard
Hi, On Sat, Mar 24, 2018 at 01:07:27AM +, André Przywara wrote: > On 23/03/18 18:14, Jagan Teki wrote: > > On Wed, Mar 14, 2018 at 7:27 AM, Andre Przywara > > wrote: > >> Update the .dts files for the various boards with an Allwinner A64 SoC. > >> This is as of

[U-Boot] [PATCH 16/16] arm64: zynqmp: Remove double spaces from dts file

2018-03-27 Thread Michal Simek
There is no reason to have double spaces for indentation. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu102-rev1.0.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/zynqmp-zcu102-rev1.0.dts

[U-Boot] [PATCH 13/16] arm64: zynqmp: Remove u-boot commands from dts files

2018-03-27 Thread Michal Simek
U-Boot commands shouldn't be the part of kernel DTS files. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu102-revA.dts | 26 ++ 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/arch/arm/dts/zynqmp-zcu102-revA.dts

Re: [U-Boot] [PATCH 3/3] configs: am43xx_evm_qspiboot_defconfig: Move to DM

2018-03-27 Thread Lokesh Vutla
On Monday 26 March 2018 01:27 PM, Vignesh R wrote: > Move am43xx_evm_qspiboot_defconfig to DM. This is required as SPI core > and TI QSPI driver no longer supports non DM interfaces. > > Signed-off-by: Vignesh R Reviewed-by: Lokesh Vutla Thanks and

Re: [U-Boot] [PATCH] cmd: nvedit: Add filtering during env import

2018-03-27 Thread Quentin Schulz
On Tue, Mar 27, 2018 at 01:39:25PM +0100, Alex Kiernan wrote: > On Tue, Mar 27, 2018 at 10:28 AM, Quentin Schulz > wrote: > > Hi Alex, > > > > On Tue, Mar 27, 2018 at 08:43:26AM +, Alex Kiernan wrote: > >> When importing variables allow size to be elided using '-'

[U-Boot] [PATCH 1/1] sunxi: mmc: Fix phase delays

2018-03-27 Thread Stefan Mavrodiev
U-boot driver for sunxi-mmc uses PLL6, unlike linux kernel where PLL5 is used, with clock rates respectively 600MHz and 768MHz. Thus there are different phase degree steps - 24 for the kernel and 30 for u-boot. In the kernel driver the phase is set 90 deg for output and 120 for sample. Dividing

Re: [U-Boot] [PATCH] cmd: nvedit: Add filtering during env import

2018-03-27 Thread Quentin Schulz
On Tue, Mar 27, 2018 at 03:14:59PM +0200, Quentin Schulz wrote: > On Tue, Mar 27, 2018 at 01:39:25PM +0100, Alex Kiernan wrote: > > On Tue, Mar 27, 2018 at 10:28 AM, Quentin Schulz > > wrote: > > > Hi Alex, > > > > > > On Tue, Mar 27, 2018 at 08:43:26AM +, Alex

[U-Boot] [PATCH 07/16] arm64: zynqmp: Use s/_/-/g in node name for zcu102 rev1.0

2018-03-27 Thread Michal Simek
Follow spec for node names. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu102-rev1.0.dts | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts/zynqmp-zcu102-rev1.0.dts b/arch/arm/dts/zynqmp-zcu102-rev1.0.dts index

[U-Boot] [PATCH v2 1/2] dm: i2c: dts: Add gpios and pinctrl device tree properties

2018-03-27 Thread Alexander Kochetkov
The commit describe usage of gpios and pinctrl device tree properties in order to enable gpio-based software deblocking. Signed-off-by: Alexander Kochetkov --- doc/device-tree-bindings/i2c/i2c.txt | 13 + 1 file changed, 13 insertions(+) diff --git

[U-Boot] [PATCH 03/16] arm64: zynqmp: Use i2c-mux instead of i2cswitch instead

2018-03-27 Thread Michal Simek
Based on review from mainline i2c-mux is standard name for i2c switches. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu102-revA.dts | 6 +++--- arch/arm/dts/zynqmp-zcu102-revB.dts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git

[U-Boot] [PATCH 14/16] arm64: zynqmp: Remove number from clock-generator node name

2018-03-27 Thread Michal Simek
There shouldn't be a number appended based on spec. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu102-revA.dts | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/dts/zynqmp-zcu102-revA.dts

[U-Boot] [PATCH 10/16] arm64: zynqmp: Add eeprom reference to eeprom nodes

2018-03-27 Thread Michal Simek
eeprom can contain information which can be used by nvmem drivers. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zc1751-xm015-dc1.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/zynqmp-zc1751-xm015-dc1.dts

Re: [U-Boot] [PATCH 2/3] ARM: dts: Add new "generic" am4372 device tree file.

2018-03-27 Thread Lokesh Vutla
On Monday 26 March 2018 01:27 PM, Vignesh R wrote: > With U-boot runtime board detect for DTB selection a "default" dtb needs > to be created. This will be used temporarily until the "proper" dtb is > selected. > > Also, add -u-boot.dtsi for AM437x SK and IDK to enable I2C for > board detection

Re: [U-Boot] [PATCH 1/3] board: ti: am43xx: Define embedded_dtb_select for runtime DTB selection in U-boot

2018-03-27 Thread Lokesh Vutla
On Monday 26 March 2018 01:27 PM, Vignesh R wrote: > AM437x QSPI boot is a single stage boot and hence needs runtime DTB > selection to support AM437x-SK and AM437x-IDK with DM enabled. This is > required to move am43xx_evm_qspiboot_defconfig to use DM/DT. > > Signed-off-by: Vignesh R

[U-Boot] How to access non Ethernet PHY from U-boot

2018-03-27 Thread Greg
Hi, I have a CFP module which is interfaced on the MDIO bus of NXP MPC8308 controller. I want to access the CFP module registers from u-boot using 'mii' command, as of now the 'mii info' is not listing this device which has address '6' in the MDIO bus. In the case of Ethernet PHY I would go to

[U-Boot] [PATCH 00/16] Syncup DTS files with mainline Linux kernel

2018-03-27 Thread Michal Simek
Upstreaming and reviewing of more zynqmp boards pointed to some issues which should be fixed also in u-boot. This patchset is synchronizing things which were reviewed. Thanks, Michal Michal Simek (15): arm64: zynqmp: Sync alignment with mainline arm64: zynqmp: Use maxim prefix for all maxim

[U-Boot] [PATCH 11/16] arm64: zynqmp: Enable ttcs for zc1751 dc5

2018-03-27 Thread Michal Simek
Enable TTCs for this target as is done in Linux kernel. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zc1751-xm019-dc5.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/dts/zynqmp-zc1751-xm019-dc5.dts

[U-Boot] [PATCH 02/16] arm64: zynqmp: Use maxim prefix for all maxim chips

2018-03-27 Thread Michal Simek
Use vendor prefix for Maxim chips. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu102-revA.dts | 28 ++-- arch/arm/dts/zynqmp-zcu102-revB.dts | 2 +- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git

Re: [U-Boot] [PATCH v4 13/19] sunxi: DT: A64: update board .dts files from Linux

2018-03-27 Thread Andre Przywara
Hi Maxime, thanks for the answer. On 27/03/18 15:30, Maxime Ripard wrote: > Hi, > > On Sat, Mar 24, 2018 at 01:07:27AM +, André Przywara wrote: >> On 23/03/18 18:14, Jagan Teki wrote: >>> On Wed, Mar 14, 2018 at 7:27 AM, Andre Przywara >>> wrote: Update the

[U-Boot] [PATCH 12/16] arm64: zynqmp: Update sd properties for dc5

2018-03-27 Thread Michal Simek
From: Srinivas Goud This patch adds no-1-8-v below properties to sd node for dc5 board dts. Signed-off-by: Srinivas Goud Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zc1751-xm019-dc5.dts | 1 + 1 file

[U-Boot] [PATCH 08/16] arm64: zynqmp: Fix spi flash partition definition for zc1751 dc2

2018-03-27 Thread Michal Simek
Using different node name and label partitions as data. Also use latest compatible strings based on mainline review. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff

[U-Boot] How to access non Ethernet PHY from U-boot

2018-03-27 Thread Greg
Hi, I have a CFP module which is interfaced on the MDIO bus of NXP MPC8308 controller. I want to access the CFP module registers from u-boot using 'mii' command, as of now the 'mii info' is not listing this device which has address '6' in the MDIO bus. In the case of Ethernet PHY I would go to

Re: [U-Boot] [PATCH] cmd: nvedit: Add filtering during env import

2018-03-27 Thread Quentin Schulz
Hi Alex, On Tue, Mar 27, 2018 at 08:43:26AM +, Alex Kiernan wrote: > When importing variables allow size to be elided using '-' and then > support a list of variables which restricts what will be picked during > the import. > > Signed-off-by: Alex Kiernan I'm pretty

[U-Boot] [PATCH 00/36] rockchip: clean up board file for rockchip SoCs

2018-03-27 Thread Kever Yang
This patch set is to clean code for board related file, after this patch set, all the Rockchip SoCs will share the same tpl/spl/board file and very similar boot flow. tpl.c: target for init DDR sdram, only internal sram available, prefer tpl to be as simple as possible and then back to

Re: [U-Boot] [PATCH] watchdog: Add Cadence watchdog driver

2018-03-27 Thread Michal Simek
Hi, On 26.3.2018 21:48, Heinrich Schuchardt wrote: > Hello Shreenidhi, > > with the patch you added the CONFIG_WATCHDOG to drivers/watchdog/Kconfig. > > Could you, please, add a description of CONFIG_WATCHDOG to > doc/README.watchdog. If you look at the history then last reasonable change was

[U-Boot] [PATCH 05/16] arm64: zynqmp: Remove additional comments from dts files

2018-03-27 Thread Michal Simek
Remove additional comments which were removed as the part of upstreaming. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zc1751-xm015-dc1.dts | 1 - arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts | 1 - arch/arm/dts/zynqmp-zc1751-xm018-dc4.dts | 1 -

[U-Boot] [PATCH 06/16] arm64: zynqmp: Use keycode from input/input.h

2018-03-27 Thread Michal Simek
Instead of hardcoding numbers. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu102-revA.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/zynqmp-zcu102-revA.dts b/arch/arm/dts/zynqmp-zcu102-revA.dts index

[U-Boot] [PATCH] ext4fs: Add ext4 extent tree cache

2018-03-27 Thread evan . g . thompson
From: Evan Thompson In ext4, the file inode can store up to 4 extents. If a file requires more (due to size or fragmentation), an extent index tree is used. Currently, u-boot reads a node from each level of the extent tree for every block read, which is very

[U-Boot] [PATCH v3 00/10] Add support for DM_USB for TI's DRA7 EVMs and AM57 EVMs platforms

2018-03-27 Thread Jean-Jacques Hiblot
Supporting DM USB is required to support DM_ETH and USB network adapters with the same binary. This series adds support for DM_USB for the DRA7/AM57 families. It leverages the work done for the STi family. This series applies on top of "xhci-dwc3: Couple of fixes for USB3 support" limitation: -

[U-Boot] [PATCH 01/16] arm64: zynqmp: Sync alignment with mainline

2018-03-27 Thread Michal Simek
Sync pcie and lpd_dma nodes with mainline version. Incorrect locations are causing diff in statistics that's why synchronizations are needed. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 19 ++- 1 file changed, 10 insertions(+), 9

[U-Boot] [PATCH 04/16] arm64: zynqmp: Sync up license with mainline kernel

2018-03-27 Thread Michal Simek
Mainline Linux kernel has adopted SPDX header license in a different format then was used before. This patch is syncing it up. Also update years in License text and remove Nathalie's email because it is no longer valid. Signed-off-by: Michal Simek ---

[U-Boot] [PATCH 09/16] arm64: zynqmp: Use atmel prefix instead of at

2018-03-27 Thread Michal Simek
This changes was done in mainline and this patch is just following it. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zc1751-xm015-dc1.dts | 2 +- arch/arm/dts/zynqmp-zcu102-revA.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 15/16] arm64: zynqmp: Add silabs prefix to u69 for zcu102

2018-03-27 Thread Michal Simek
Add vendor prefix to si5341. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu102-revA.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/zynqmp-zcu102-revA.dts b/arch/arm/dts/zynqmp-zcu102-revA.dts index

[U-Boot] [PATCH v2 0/2] dm: i2c: implement gpio-based I2C deblock

2018-03-27 Thread Alexander Kochetkov
Hello, Heiko! Here is try2 of my previous patch[1]. Done in v2: - fix checkpatch warnings - ENOSYS warning still present, but it was in original code also and for me it looks like -ENOSYS must be returned in case of missed i2c_deblock_gpio() implementation. WARNING: ENOSYS means

[U-Boot] [PATCH v2 2/2] dm: i2c: implement gpio-based I2C deblock

2018-03-27 Thread Alexander Kochetkov
The commit implement a gpio-based software deblocking. The code extract I2C pins description from device tree, switch pins to GPIO mode, toggle SCL until slave release SDA, send I2C stop and switch I2C pins back to I2C mode. Signed-off-by: Alexander Kochetkov ---

Re: [U-Boot] [PATCH] vxworks: fixed cpu enable using PSCI on armv8

2018-03-27 Thread Bin Meng
Hi Vasyl, On Mon, Mar 26, 2018 at 3:58 PM, Vasyl Vavrychuk wrote: > Without armv8_setup_psci register VBAR_EL3 is not set up properly which > makes SMC calls jump to invalid location. > > smp_kick_all_cpus is required to make slave cpus leave gic_wait_for_interrupt. >

Re: [U-Boot] [PATCH 1/2] efi_loader: complete efi_pxe_mode struct definition

2018-03-27 Thread Heinrich Schuchardt
On 03/27/2018 02:23 PM, Patrick Wildt wrote: > The efi_pxe_mode struct which represents the PXE_BASE_CODE_PROTOCOL > Replace the placeholder paddings in the efi_pxe_mode struct with the > actual fields as defined in UEFI's PXE Base Code Protocol. Since > our efi_ip_address is a simple char array

  1   2   >