Re: [U-Boot] [PATCH 1/1] kconfig/symbol.c: use correct pointer type argument for sizeof

2017-11-08 Thread Heinrich Schuchardt
On 11/09/2017 03:01 AM, Tom Rini wrote: On Wed, Nov 08, 2017 at 10:13:54PM +0100, Heinrich Schuchardt wrote: sym_arr is of type struct symbol **. So in malloc we need sizeof(struct symbol *). The problem was indicated by coccinelle. Signed-off-by: Heinrich Schuchardt --- scripts/kconfig/sym

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

2017-11-08 Thread Chee, Tien Fong
On Kha, 2017-11-09 at 08:05 +0100, Marek Vasut wrote: > On 11/09/2017 07:04 AM, Chee, Tien Fong wrote: > > > > On Sel, 2017-11-07 at 10:34 +0100, Marek Vasut wrote: > > > > > > On 11/07/2017 10:03 AM, Chee, Tien Fong wrote: > > > > > > > > > > > > On Isn, 2017-11-06 at 11:56 +0100, Marek Vasut

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

2017-11-08 Thread Marek Vasut
On 11/09/2017 07:04 AM, Chee, Tien Fong wrote: > On Sel, 2017-11-07 at 10:34 +0100, Marek Vasut wrote: >> 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, 2

Re: [U-Boot] [PATCH 3/3] Powerpc: pcie: Make pcie link state judgement more specific

2017-11-08 Thread Xiaowei Bao
> -Original Message- > From: York Sun > Sent: Thursday, November 09, 2017 5:46 AM > To: Joakim Tjernlund ; Xiaowei Bao > > Cc: w...@denx.de; Mingkai Hu ; > tony.obr...@alliedtelesis.co.nz; u-boot@lists.denx.de; Z.q. Hou > ; hamish.mar...@alliedtelesis.co.nz; M.h. Lian > > Subject: Re: [

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

2017-11-08 Thread Chee, Tien Fong
On Sel, 2017-11-07 at 10:34 +0100, Marek Vasut wrote: > 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

[U-Boot] [PATCH] armv8: ls1088: Add fsl_fdt_fixup_flash

2017-11-08 Thread Ashish Kumar
IFC-NOR and QSPI-NOR signals are muxed on SoC to save pins Add fsl_fdt_fixup_flash() to disable IFC-NOR node in dts if QSPI is enabled and vice-versa Signed-off-by: Ashish Kumar --- board/freescale/ls1088a/ls1088a.c | 29 + 1 file changed, 29 insertions(+) diff --gi

Re: [U-Boot] [PATCH] driver: net: ldpaa_eth: Add PHY-less SGMII support

2017-11-08 Thread Ashish Kumar
-Original Message- From: York Sun Sent: Thursday, November 09, 2017 2:07 AM To: Ashish Kumar ; u-boot@lists.denx.de Cc: joe.hershber...@ni.com; Prabhakar Kushwaha Subject: Re: [PATCH] driver: net: ldpaa_eth: Add PHY-less SGMII support On 11/06/2017 01:09 AM, Ashish Kumar wrote: > In case

Re: [U-Boot] [PATCH v6 1/2] armv8: ls1088ardb: Add SD boot support for ls1088

2017-11-08 Thread Ashish Kumar
-Original Message- From: York Sun Sent: Thursday, November 09, 2017 12:30 AM To: Ashish Kumar ; u-boot@lists.denx.de Cc: Prabhakar Kushwaha ; Raghav Dogra Subject: Re: [PATCH v6 1/2] armv8: ls1088ardb: Add SD boot support for ls1088 On 11/05/2017 11:48 PM, Ashish Kumar wrote: > Signed

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

2017-11-08 Thread Andrey Yurovsky
On Wed, Nov 8, 2017 at 2:47 AM Otavio Salvador < otavio.salva...@ossystems.com.br> wrote: > On Tue, Nov 7, 2017 at 10:43 PM, your name wrote: > > From: Andrey Yurovsky > > > > It is useful to be able to retrieve a partition UUID or number given > > the partition label, for instance some systems

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

2017-11-08 Thread Andrey Yurovsky
Hi Otavio, On Wed, Nov 8, 2017 at 2:47 AM, Otavio Salvador wrote: > On Tue, Nov 7, 2017 at 10:43 PM, your name wrote: >> 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 >>

[U-Boot] [PATCH] armv8: fsl-layerscape: Add support of disabling core prefetch

2017-11-08 Thread Prabhakar Kushwaha
Instruction prefetch feature is by default enabled during core release. This patch add support of disabling instruction prefetch by setting core mask in PPA. Here each core mask bit represents a core and prefetch is disabled at the time of core release. Signed-off-by: Prabhakar Kushwaha --- arc

Re: [U-Boot] [PATCH 1/1] kconfig/symbol.c: use correct pointer type argument for sizeof

2017-11-08 Thread Tom Rini
On Wed, Nov 08, 2017 at 10:13:54PM +0100, Heinrich Schuchardt wrote: > sym_arr is of type struct symbol **. > So in malloc we need sizeof(struct symbol *). > > The problem was indicated by coccinelle. > > Signed-off-by: Heinrich Schuchardt > --- > scripts/kconfig/symbol.c | 2 +- > 1 file chang

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

2017-11-08 Thread Tom Rini
On Wed, Nov 08, 2017 at 08:49:09AM +0100, Jorge Ramirez wrote: > 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 >

Re: [U-Boot] Support of latest qemux86-64

2017-11-08 Thread Bin Meng
On Wed, Nov 8, 2017 at 9:05 PM, Anton Gerasimov wrote: > Adding Igor Mammedov to the loop. > Really add Igor Mammedov. Igor, can you help look at this? > On 11/08/2017 01:59 PM, Anton Gerasimov wrote: >> To whoever might be interested: I've bisected qemu and the breaking >> commit is 208fa0e436

Re: [U-Boot] [PATCH] mx6: Fix imx6_is_bmode_from_gpr9 always returns 0

2017-11-08 Thread Fabio Estevam
Hi Jeroen, On Wed, Nov 8, 2017 at 3:01 PM, Jeroen Vollenbrock wrote: > Due to the cast to u8, this function always returned 0. > > CC: Stefano Babic > > --- > arch/arm/include/asm/mach-imx/sys_proto.h |3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/include

[U-Boot] [PATCH] TCP and wget implementation.

2017-11-08 Thread Duncan Hare
his is the interface and Kconfig files for introducing TCP and wget into u-boot. Interfaces are in net.c and net.h, ping is modified to the new ip send interface, and UDP and TCP have shim procedures call map the protocol interface to the ip interface. The UDP interface is unchanged, and the exis

Re: [U-Boot] [PATCH 1/1] efi_loader: helloworld.c: remove superfluous include

2017-11-08 Thread Heinrich Schuchardt
On 09/05/2017 09:41 AM, Alexander Graf wrote: On 04.09.17 09:25, Heinrich Schuchardt wrote: Remove a superfluous include from helloworld.c Signed-off-by: Heinrich Schuchardt This patch breaks compilation:   https://travis-ci.org/agraf/u-boot/jobs/271837141 I'll remove it from my queue a

[U-Boot] [PATCH v2 1/1] yaffs2: rework yaffs_new_obj_id

2017-11-08 Thread Heinrich Schuchardt
The iterator variable of list_for_each is never NULL. if (1 || A) is always true. Use break if entry found. Signed-off-by: Heinrich Schuchardt --- v2 Avoid changing logic. --- fs/yaffs2/yaffs_guts.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/fs/yaff

[U-Boot] [PATCH] dra7x: fastboot: Increase recovery partition size

2017-11-08 Thread Praneeth Bajjuri
As per current android recommendation https://source.android.com/devices/architecture/kernel/modular-kernels 1. Android recovery mode should contain both SOC and ODM kernel modules in the recovery partition. 2. If a kernel module is required both in recovery and normal boot mode, the module has

[U-Boot] [PATCH v2 1/1] scripts/ld-version.sh: regular expression compile fails

2017-11-08 Thread Heinrich Schuchardt
ld --version | scripts/ld-version.sh fails with awk: scripts/ld-version.sh: line 4: regular expression compile failed (missing '(') .*) So let's refresh the script from Linux kernel v4.14-rc8. Signed-off-by: Heinrich Schuchardt --- v2 Add license identifier. Update commit message

[U-Boot] [PATCH 1/1] yaffs2: iterator variable cannot be NULL

2017-11-08 Thread Heinrich Schuchardt
The iterator variable of list_for_each is never NULL. Signed-off-by: Heinrich Schuchardt --- fs/yaffs2/yaffsfs.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/fs/yaffs2/yaffsfs.c b/fs/yaffs2/yaffsfs.c index ba76a5ccdb..47abc6beda 100644 --- a/fs/yaffs2/yaffsfs.c ++

[U-Boot] [PATCH 1/1] yaffs2: rework yaffs_new_obj_id

2017-11-08 Thread Heinrich Schuchardt
The iterator variable of list_for_each is never NULL. if (1 || A) is always true. Remove superfluous while. Signed-off-by: Heinrich Schuchardt --- fs/yaffs2/yaffs_guts.c | 17 - 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/fs/yaffs2/yaffs_guts.c b/fs/yaffs2/yaff

Re: [U-Boot] SUNXI: A64: Increase SPL size

2017-11-08 Thread André Przywara
On 08/11/17 19:59, Jagan Teki wrote: > Hi, > > I'm trying to increase SPL size to 64K(with SRAM A2), so-that SPL can > able to fit new features like falcon. I knew the limit about 32K but > page[1] stating that we can use approximately 192 KiB of contiguous > SRAM. We are not really sure about th

Re: [U-Boot] [PATCH 3/3] Powerpc: pcie: Make pcie link state judgement more specific

2017-11-08 Thread York Sun
On 11/08/2017 01:30 PM, Joakim Tjernlund wrote: > On Wed, 2017-11-08 at 21:05 +, York Sun wrote: >> CAUTION: This email originated from outside of the organization. Do not >> click links or open attachments unless you recognize the sender and know the >> content is safe. >> >> >> On 10/22/201

[U-Boot] [PATCH 1/1] ubi: no NULL check needed before kmem_cache_destroy

2017-11-08 Thread Heinrich Schuchardt
kmem_cache_destroy calls free which checks for NULL. Problem was indicated by coccinelle. Signed-off-by: Heinrich Schuchardt --- drivers/mtd/ubi/attach.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mtd/ubi/attach.c b/drivers/mtd/ubi/attach.c index 90fb74a5c9..3

Re: [U-Boot] [PATCH 3/3] Powerpc: pcie: Make pcie link state judgement more specific

2017-11-08 Thread Joakim Tjernlund
On Wed, 2017-11-08 at 21:05 +, York Sun wrote: > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you recognize the sender and know the > content is safe. > > > On 10/22/2017 07:39 PM, Xiaowei Bao wrote: > > > > -Original

[U-Boot] [PATCH 1/1] ubifs: no NULL check needed before free

2017-11-08 Thread Heinrich Schuchardt
kfree() calls free. free() checks if the parameter is NULL. Signed-off-by: Heinrich Schuchardt --- fs/ubifs/ubifs.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/fs/ubifs/ubifs.c b/fs/ubifs/ubifs.c index 8f1c9d167d..4465523d5f 100644 --- a/fs/ubifs/ubifs.c +++

[U-Boot] [PATCH 1/1] kconfig/symbol.c: use correct pointer type argument for sizeof

2017-11-08 Thread Heinrich Schuchardt
sym_arr is of type struct symbol **. So in malloc we need sizeof(struct symbol *). The problem was indicated by coccinelle. Signed-off-by: Heinrich Schuchardt --- scripts/kconfig/symbol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/kconfig/symbol.c b/scripts/kcon

Re: [U-Boot] [PATCH 3/3] Powerpc: pcie: Make pcie link state judgement more specific

2017-11-08 Thread York Sun
On 10/22/2017 07:39 PM, Xiaowei Bao wrote: > > -Original Message- > From: Joakim Tjernlund [mailto:joakim.tjernl...@infinera.com] > Sent: Friday, October 20, 2017 9:13 PM > To: w...@denx.de; Mingkai Hu ; > tony.obr...@alliedtelesis.co.nz; u-boot@lists.denx.de; Z.q. Hou > ; York Sun ; Xi

Re: [U-Boot] [PATCH] driver: net: ldpaa_eth: Add PHY-less SGMII support

2017-11-08 Thread York Sun
On 11/06/2017 01:09 AM, Ashish Kumar wrote: > In case of PHY-less mode, there is no interaction with PHY > so auto-neg etc is not required and link will have fixed > attributes > > Signed-off-by: Ashish Kumar > Signed-off-by: Prabhakar Kushwaha > --- > drivers/net/ldpaa_eth/ldpaa_eth.c | 9

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

2017-11-08 Thread York Sun
On 11/07/2017 02:37 AM, Rajesh Bhagat wrote: > 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:

Re: [U-Boot] [PATCH 1/1] scripts/ld-version.sh: regular expression compile fails

2017-11-08 Thread Tom Rini
On Wed, Nov 08, 2017 at 09:01:12PM +0100, Heinrich Schuchardt wrote: > ls --version | scripts/ld-version.sh ... ld? :) > fails with > awk: scripts/ld-version.sh: > line 4: regular expression compile failed (missing '(') > .*) > > So let's refresh the script with the current Linux kernel > versi

[U-Boot] [PATCH 1/1] scripts/ld-version.sh: regular expression compile fails

2017-11-08 Thread Heinrich Schuchardt
ls --version | scripts/ld-version.sh fails with awk: scripts/ld-version.sh: line 4: regular expression compile failed (missing '(') .*) So let's refresh the script with the current Linux kernel version. Signed-off-by: Heinrich Schuchardt --- scripts/ld-version.sh | 6 -- 1 file changed, 4 i

[U-Boot] SUNXI: A64: Increase SPL size

2017-11-08 Thread Jagan Teki
Hi, I'm trying to increase SPL size to 64K(with SRAM A2), so-that SPL can able to fit new features like falcon. I knew the limit about 32K but page[1] stating that we can use approximately 192 KiB of contiguous SRAM. eGON.BT0 has limit of reading 32KB, Can't we use > 32KB SPL here? because I've t

Re: [U-Boot] [PATCH 17/18] efi_loader: refactor efi_setup_loaded_image

2017-11-08 Thread Heinrich Schuchardt
On 11/08/2017 04:18 PM, Alexander Graf wrote: On 10/26/2017 07:25 PM, Heinrich Schuchardt wrote: Use helper functions to add protocols. Signed-off-by: Heinrich Schuchardt ---   lib/efi_loader/efi_boottime.c | 39 +--   1 file changed, 25 insertions(+), 14 d

Re: [U-Boot] [PATCH v4 12/18] efi_selftest: correctly cleanup after selftest

2017-11-08 Thread Heinrich Schuchardt
On 11/08/2017 03:40 PM, Alexander Graf wrote: On 10/18/2017 06:13 PM, Heinrich Schuchardt wrote: After executing bootefi selftest * restore GD * unlink the load image handle * return 0 or 1 and not a truncated efi_status_t. Signed-off-by: Heinrich Schuchardt --- v4 no change v3 new pat

Re: [U-Boot] [PATCH v6 1/2] armv8: ls1088ardb: Add SD boot support for ls1088

2017-11-08 Thread York Sun
On 11/05/2017 11:48 PM, Ashish Kumar wrote: > Signed-off-by: Prabhakar Kushwaha > Signed-off-by: Ashish Kumar > Signed-off-by: Raghav Dogra > --- > v6: > Incorporation of review comments in README wrt to line wrap. > Sorting defconfig with help make savedefconfig > > arch/arm/Kconfig

Re: [U-Boot] [PATCH 12/13] efi_loader: manage protocols in a linked list

2017-11-08 Thread Heinrich Schuchardt
On 11/08/2017 04:43 PM, Alexander Graf wrote: On 11/01/2017 09:31 AM, Heinrich Schuchardt wrote: Signed-off-by: Heinrich Schuchardt ---   include/efi_loader.h  |   6 ++-   lib/efi_loader/efi_boottime.c | 107 --   lib/efi_loader/efi_disk.c | 

Re: [U-Boot] [PATCH 1/1] efi_loader: manage protocols in a linked list

2017-11-08 Thread Heinrich Schuchardt
On 11/08/2017 04:29 PM, Alexander Graf wrote: On 11/01/2017 09:31 AM, Heinrich Schuchardt wrote: Signed-off-by: Heinrich Schuchardt I guess you did not mean to send this email? :) Alex Yes this is duplicate to [PATCH 12/13] efi_loader: manage protocols in a linked list Regards Heinrich

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

2017-11-08 Thread Otavio Salvador
On Wed, Nov 8, 2017 at 3:16 PM, Andrey Yurovsky wrote: > On Wed, Nov 8, 2017 at 2:47 AM Otavio Salvador > wrote: >> >> On Tue, Nov 7, 2017 at 10:43 PM, your name wrote: >> > From: Andrey Yurovsky >> > >> > It is useful to be able to retrieve a partition UUID or number given >> > the partition l

Re: [U-Boot] [PATCH 01/13] efi_loader: efi_bootmgr: do not make hidden assignments

2017-11-08 Thread Heinrich Schuchardt
On 11/08/2017 04:27 PM, Alexander Graf wrote: On 11/01/2017 09:31 AM, Heinrich Schuchardt wrote: Assignments should not be made in the middle of nowhere. Signed-off-by: Heinrich Schuchardt ---   lib/efi_loader/efi_bootmgr.c | 4 ++--   1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH] mx6: Fix imx6_is_bmode_from_gpr9 always returns 0

2017-11-08 Thread Jeroen Vollenbrock
Due to the cast to u8, this function always returned 0.  CC: Stefano Babic ---  arch/arm/include/asm/mach-imx/sys_proto.h |    3 ++-  1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/include/asm/mach-imx/sys_proto.h b/arch/arm/include/asm/mach-imx/sys_proto.h index 970c4ca.

[U-Boot] [PATCH 03/16] net: e1000: split e1000_read_mac_addr

2017-11-08 Thread Martyn Welch
From: Hannu Lounento Split the implementation of e1000_read_mac_addr into eeprom and register versions called by e1000_read_mac_addr. This allows for calling e1000_read_mac_addr when MAC address is needed with no constraints where it is read from, and for calling the register and, especially, th

[U-Boot] [PATCH 05/16] rtc: adding RX8010SJ rtc driver

2017-11-08 Thread Martyn Welch
From: Nandor Han Add a new driver for RX8010SJ rtc chip. The driver implements both formats of U-Boot driver model. Signed-off-by: Nandor Han Signed-off-by: Martyn Welch --- drivers/rtc/Kconfig| 6 + drivers/rtc/Makefile | 1 + drivers/rtc/rx8010sj.c | 378 ++

[U-Boot] [PATCH 16/16] board,ge,bx50v3 - rtc time validation

2017-11-08 Thread Martyn Welch
From: Nandor Han Validate the time at startup: - in case rtc error add to kernel command line RTC_ERROR - clamp date to 1-Jan-2036 Signed-off-by: Nandor Han Signed-off-by: Martyn Welch --- board/ge/bx50v3/bx50v3.c| 3 +++ configs/ge_b850v3_defconfig | 1 + include/configs/ge_bx50v3.h |

[U-Boot] [PATCH 12/16] config: ge_bx50v3: read boot script

2017-11-08 Thread Martyn Welch
From: Ian Ray Read boot script from shared partition, if available. Signed-off-by: Ian Ray Signed-off-by: Martyn Welch --- include/configs/ge_bx50v3.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/configs/ge_bx50v3.h b/include/configs/ge_bx50v3.h ind

[U-Boot] [PATCH 15/16] configs: ge_bx50v3: automatic partition selection and video output failure message

2017-11-08 Thread Martyn Welch
From: Ian Ray The exact definition of a successful boot is defined by user-space. Determine the boot partition automatically. A partition is selected if file `/boot/bootcause/firstboot' exists (meaning that the partition has freshly installed software) OR if file `/boot/fitImage' exists. When u

[U-Boot] [PATCH 02/16] net: e1000: add support for writing to EEPROM

2017-11-08 Thread Martyn Welch
From: Hannu Lounento Port functions for writing to EEPROM, updating the checksum and committing data to flash from the Linux kernel igb driver. Functions were ported from Linux 4.8-rc2 (694d0d0bb20). Signed-off-by: Hannu Lounento CC: Joe Hershberger Signed-off-by: Martyn Welch --- drivers/n

[U-Boot] [PATCH 13/16] configs: ge_bx50v3: enable bootcount

2017-11-08 Thread Martyn Welch
From: Ian Ray Enable bootcount using an EXT file. Signed-off-by: Ian Ray Signed-off-by: Martyn Welch --- include/configs/ge_bx50v3.h | 8 1 file changed, 8 insertions(+) diff --git a/include/configs/ge_bx50v3.h b/include/configs/ge_bx50v3.h index ac69e85..ee5f6ab 100644 --- a/includ

[U-Boot] [PATCH 14/16] board: ge: bx50v3: mount rootfs read-only

2017-11-08 Thread Martyn Welch
From: Hannu Lounento Change the kernel command line to mount the root filesystem read-only in order to be able to run filesystem check on it on boot. Signed-off-by: Hannu Lounento Signed-off-by: Martyn Welch --- include/configs/ge_bx50v3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[U-Boot] [PATCH 04/16] net: e1000: implement eth_write_hwaddr

2017-11-08 Thread Martyn Welch
From: Hannu Lounento Implement programming MAC address to the hardware, i.e. external flash seen as EEPROM. MAC address is only written if it differs from what is already stored in flash or if reading the current MAC address fails. Signed-off-by: Hannu Lounento CC: Joe Hershberger Signed-off-

[U-Boot] [PATCH 10/16] board: ge: bx50v3: Enable hardware watchdog

2017-11-08 Thread Martyn Welch
Enable the hardware watchdog on bx50v3 to cause it to reset in the event the board hangs. Configure GPIO_9 pin as WDOG1_B so that a watchdog timeout results in a full system reset. The watchdog is used and reconfigured by systemd approximately 1.7 seconds into boot. Adding a few seconds for U-Boo

[U-Boot] [PATCH 08/16] board: ge: bx50v3: move FEC MAC address programming to driver

2017-11-08 Thread Martyn Welch
Instead of programming the hardware directly in the board implementation, follow the flow documented in doc/README.enetaddr: set the enet[0-9]*addr environment variable and let the driver program the hardware. This avoids duplicating the implementation as it already exists in the driver (drivers/n

[U-Boot] [PATCH 09/16] board: ge: bx50v3: program MAC address to I210

2017-11-08 Thread Martyn Welch
From: Hannu Lounento There are two I210s on the b850v3 and one on the b450v3 and b650v3. One is connected to Marvell 88e6240 which is already programmed. Follow the flow documented in doc/README.enetaddr: set the enet[0-9]*addr environment variable and let the driver program the hardware. The m

[U-Boot] [PATCH 11/16] board: ge: bx50v3: Support FIT and select configuration based on VPD

2017-11-08 Thread Martyn Welch
From: Ian Ray Modify configuration to support FIT. Set variable `confidx' from VPD, in order to load the correct device tree. Modify/simplify U-Boot environment to support loading FIT image. Signed-off-by: Ian Ray Signed-off-by: Martyn Welch --- board/ge/bx50v3/bx50v3.c| 12 +++ confi

[U-Boot] [PATCH 06/16] board: ge: Enable access to i2c bus 1 and 2

2017-11-08 Thread Martyn Welch
The change in i2c configuration added to support access to the VPD has inadvertantly caused access to i2c buses 1 & 2 to be lost. This has resulted in the configuration for the PMIC to be attempted on the wrong bus and thus isn't taking effect. Add the required configuration to return access to bu

[U-Boot] [PATCH 07/16] configs: Add network device support for bx50v3 products

2017-11-08 Thread Martyn Welch
From: Ian Ray Modify b450v3, b650v3 and b850v3 defconfigs to enable the network devices found in these products. Signed-off-by: Ian Ray Signed-off-by: Martyn Welch --- configs/ge_b450v3_defconfig | 6 +- configs/ge_b650v3_defconfig | 6 +- configs/ge_b850v3_defconfig | 6 +- inclu

[U-Boot] [PATCH 01/16] board: ge: mx53ppd: Move check_time() to common location

2017-11-08 Thread Martyn Welch
We are going to be using check_time() on more than the mx53ppd, move this function to a common location. Signed-off-by: Martyn Welch --- board/ge/common/Makefile| 2 +- board/ge/common/ge_common.c | 55 + board/ge/common/ge_common.h | 7 ++ b

[U-Boot] [PATCH 00/16] Updates / improvements to bx50v3 support

2017-11-08 Thread Martyn Welch
This series improves the support on the bx50v3 devices (b540v3, b650v3 and b850v3) and utilising features recently added as part of the PPD implementation. NOTE: This series requires the PPD series: https://lists.denx.de/pipermail/u-boot/2017-November/310865.html Changes outside of the bx50v

Re: [U-Boot] [PATCH 12/13] efi_loader: manage protocols in a linked list

2017-11-08 Thread Alexander Graf
On 11/01/2017 09:31 AM, Heinrich Schuchardt wrote: Signed-off-by: Heinrich Schuchardt --- include/efi_loader.h | 6 ++- lib/efi_loader/efi_boottime.c | 107 -- lib/efi_loader/efi_disk.c | 1 + lib/efi_loader/efi_gop.c | 1 + l

[U-Boot] [PATCH v5 6/8] rtc: add support for s35392a

2017-11-08 Thread Martyn Welch
From: Nandor Han Add support for S35392A RTC. The driver supports both U-Boot driver models. Signed-off-by: Nandor Han Signed-off-by: Martyn Welch Cc: Heiko Schocher --- Changes for v5: - Fixed checkpatch issues. drivers/rtc/Kconfig | 6 + drivers/rtc/Makefile | 1 + drivers/rtc/

[U-Boot] [PATCH v5 7/8] board: ge: make VPD code common

2017-11-08 Thread Martyn Welch
The VPD data is used on a number of GE products. Move the parsing code to a common location so that we can share this code. Signed-off-by: Martyn Welch --- Changes in v4: - New patch. Changes in v5: - Fixed checkpatch issues. board/ge/bx50v3/Makefile | 2 +- board/ge/bx50v3/bx50v3.c

[U-Boot] [PATCH v5 2/8] ext4: recover from filesystem corruption when reading

2017-11-08 Thread Martyn Welch
From: Ian Ray Some fixes when reading EXT files and directory entries were identified after using e2fuzz to corrupt an EXT3 filesystem: - Stop reading directory entries if the offset becomes badly aligned. - Avoid overwriting memory by clamping the length used to zero the buffer in ext4fs_

[U-Boot] [PATCH v5 4/8] arm: mx5: Add more register definitions

2017-11-08 Thread Martyn Welch
Add register definitions require for video configuration. Signed-off-by: Nandor Han Signed-off-by: Martyn Welch Reviewed-by: Stefano Babic Cc: Stefano Babic --- Changes in v5: - Reduced checkpatch warnings. arch/arm/include/asm/arch-mx5/crm_regs.h | 8 arch/arm/include/asm/arch-m

[U-Boot] [PATCH v5 5/8] bootcount: add support for bootcounter on EXT filesystem

2017-11-08 Thread Martyn Welch
From: Ian Ray Add support for bootcounter on an EXT filesystem. Sync configuration whitelist. Signed-off-by: Ian Ray Signed-off-by: Martyn Welch --- Changes for v2: - Adding Kconfig for EXT bootcount. Changes for v3: - Add over-arching BOOTCOUNT Kconfig entry. Changes for v5: - Impro

[U-Boot] [PATCH v5 1/8] imx: mxc_i2c: tweak the i2c transfer method

2017-11-08 Thread Martyn Welch
From: Nandor Han Tweak the i2c transfer to work for devices that want to read data without addressing a register. Signed-off-by: Nandor Han Signed-off-by: Martyn Welch Acked-by: Heiko Schocher Cc: Heiko Schocher Cc: Stefano Babic --- Changes for v2: - Replacing '!= -1' with '>= 0'. dri

[U-Boot] [PATCH v5 3/8] pwm: imx: Enable PWM support on i.MX53

2017-11-08 Thread Martyn Welch
Add missing parts for i.MX53 PWM support Acked-by: Nandor Han Signed-off-by: Martyn Welch Cc: Stefano Babic --- Changes for v4: - Removed ifdef. arch/arm/include/asm/arch-mx5/imx-regs.h | 17 + drivers/pwm/pwm-imx-util.c | 2 ++ 2 files changed, 19 insertions

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

2017-11-08 Thread Martyn Welch
*** Resend due to previous use of unsubscribed email address *** 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 the series adds t

Re: [U-Boot] [PATCH 1/1] efi_loader: manage protocols in a linked list

2017-11-08 Thread Alexander Graf
On 11/01/2017 09:31 AM, Heinrich Schuchardt wrote: Signed-off-by: Heinrich Schuchardt I guess you did not mean to send this email? :) Alex ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH 01/13] efi_loader: efi_bootmgr: do not make hidden assignments

2017-11-08 Thread Alexander Graf
On 11/01/2017 09:31 AM, Heinrich Schuchardt wrote: Assignments should not be made in the middle of nowhere. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_bootmgr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/efi_loader/efi_bootmgr.c b/lib/efi_loade

Re: [U-Boot] [PATCH 17/18] efi_loader: refactor efi_setup_loaded_image

2017-11-08 Thread Alexander Graf
On 10/26/2017 07:25 PM, Heinrich Schuchardt wrote: Use helper functions to add protocols. Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_boottime.c | 39 +-- 1 file changed, 25 insertions(+), 14 deletions(-) diff --git a/lib/efi_loader/efi_boot

[U-Boot] [PATCH] arm64: zynqmp: Add revision to identification string

2017-11-08 Thread Michal Simek
It is good to see revision in boot log. Signed-off-by: Michal Simek --- configs/xilinx_zynqmp_zcu102_revA_defconfig | 2 +- configs/xilinx_zynqmp_zcu102_revB_defconfig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/xilinx_zynqmp_zcu102_revA_defconfig b/configs/x

Re: [U-Boot] [PATCH v4 12/18] efi_selftest: correctly cleanup after selftest

2017-11-08 Thread Alexander Graf
On 10/18/2017 06:13 PM, Heinrich Schuchardt wrote: After executing bootefi selftest * restore GD * unlink the load image handle * return 0 or 1 and not a truncated efi_status_t. Signed-off-by: Heinrich Schuchardt --- v4 no change v3 new patch split off --- cmd/bootefi.c | 4 ++

[U-Boot] password for u-boot

2017-11-08 Thread necib yassine
Hi everyone, I have a technical question about u-boot. Is there any way to set up a security (for instance password...) either any users cannot handle u-boot environments variables ? When the user plug his serial sâble, I do not want to allow him to see any the contents variable envrionments. I fou

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

2017-11-08 Thread Alexander Graf
On 11/07/2017 02:36 AM, 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 missing in the support of video modes. U-Boot configuration knows the follo

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

2017-11-08 Thread vnktux
Hi, Super it works, thanks!! One more question, I am still trying to port Broadwell-DE in U-boot as bare metal boot-loader. Could you please tell me what are the files that I have to port from Coreboot/src/soc/intel/fsp_broadwell_de? And are there any files I can re-use from U-Boot/arch/x86/br

Re: [U-Boot] Support of latest qemux86-64

2017-11-08 Thread Anton Gerasimov
Adding Igor Mammedov to the loop. On 11/08/2017 01:59 PM, Anton Gerasimov wrote: > To whoever might be interested: I've bisected qemu and the breaking > commit is 208fa0e43645edd0b0d8f838857dfc79daff40a8 (pc: make 'pc.rom' > readonly when machine has PCI enabled). It's just three lines added, > I'

Re: [U-Boot] Support of latest qemux86-64

2017-11-08 Thread Anton Gerasimov
To whoever might be interested: I've bisected qemu and the breaking commit is 208fa0e43645edd0b0d8f838857dfc79daff40a8 (pc: make 'pc.rom' readonly when machine has PCI enabled). It's just three lines added, I'll paste the whole patch here. Not quite sure what can we do here though.   diff --git a

Re: [U-Boot] [U-Boot, 7/9] ARM: dts: rockchip: Add usb host for rk3288-vyasa

2017-11-08 Thread Philipp Tomsich
> Add usb host support for rk3288-vyasa, board support hub power > through phy_pwr_en and usb2 host power through usb2_pwr_en and > naming conversion followed as per schematic. > > Signed-off-by: Jagan Teki > Acked-by: Philipp Tomsich > --- > arch/arm/dts/rk3288-vyasa.dts | 48 > +

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

2017-11-08 Thread Peter Robinson
On Wed, Nov 8, 2017 at 11:32 AM, Jagan Teki wrote: > On Tue, Nov 7, 2017 at 5:43 PM, Jagan Teki wrote: >> 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 do

[U-Boot] ethernet: ROM MAC address vs env variable MAC address

2017-11-08 Thread Prabhakar Kushwaha
Hi All, I am seeing following type of code for MAC address write for a network device. net/eth-uclass.c eth_post_probe() or net/eth_legacy.c eth_write_hwaddr() eth_env_get_enetaddr_by_index("eth", dev->seq, env_enetaddr); if (!is_zero_ethaddr(env_enetaddr)) {

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

2017-11-08 Thread Jagan Teki
On Wed, Nov 8, 2017 at 8:38 AM, Artturi Alm wrote: > 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 Reviewed-by: Jagan Tek

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

2017-11-08 Thread Jagan Teki
On Wed, Nov 8, 2017 at 8:38 AM, Artturi Alm wrote: > 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 Reviewed-by: Jagan Teki thanks! -- Jagan Teki Free Software En

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

2017-11-08 Thread Jagan Teki
On Tue, Nov 7, 2017 at 5:43 PM, Jagan Teki wrote: > 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. >> >> http://git.denx.de/?p=u-boot.git;a=

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

2017-11-08 Thread Jagan Teki
On Wed, Nov 8, 2017 at 4:25 PM, Maxime Ripard wrote: > Hi, > > On Wed, Nov 08, 2017 at 12:40:05AM +0530, Jagan Teki wrote: >> Enable verified-boot support for sunxi a64, tested the >> same in orangepi boards. >> >> Signed-off-by: Jagan Teki > > How was it tested? Can you write some documentation

Re: [U-Boot] [U-Boot, 7/9] ARM: dts: rockchip: Add usb host for rk3288-vyasa

2017-11-08 Thread Jagan Teki
On Wed, Nov 8, 2017 at 4:24 PM, Philipp Tomsich wrote: > > > On Sat, 4 Nov 2017, Jagan Teki wrote: > >> Add usb host support for rk3288-vyasa, board support hub power >> through phy_pwr_en and usb2 host power through usb2_pwr_en and >> naming conversion followed as per schematic. >> >> Signed-off-

[U-Boot] [PATCH] power: pmic/regulator: Add basic support for TPS65910

2017-11-08 Thread Felix Brack
Texas Instrument's TPS65910 PMIC contains 3 buck DC-DC converts, one boost DC-DC converter and 8 LDOs. This patch implements driver model support for the TPS65910 PMIC and its regulators making the get/set API for regulator value/enable available. This patch depends on the patch "am33xx: Add a func

Re: [U-Boot] [U-Boot, 7/9] ARM: dts: rockchip: Add usb host for rk3288-vyasa

2017-11-08 Thread Philipp Tomsich
On Sat, 4 Nov 2017, Jagan Teki wrote: Add usb host support for rk3288-vyasa, board support hub power through phy_pwr_en and usb2 host power through usb2_pwr_en and naming conversion followed as per schematic. Signed-off-by: Jagan Teki --- arch/arm/dts/rk3288-vyasa.dts | 48 +

Re: [U-Boot] [U-Boot, 5/9] ARM: dts: rockchip: Add gmac support for rk3288-vyasa board

2017-11-08 Thread Philipp Tomsich
On Sat, 4 Nov 2017, Jagan Teki wrote: Signed-off-by: Jagan Teki Commit message? --- arch/arm/dts/rk3288-vyasa.dts | 41 + 1 file changed, 41 insertions(+) diff --git a/arch/arm/dts/rk3288-vyasa.dts b/arch/arm/dts/rk3288-vyasa.dts index f56e10c..47fd

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

2017-11-08 Thread Maxime Ripard
Hi, On Wed, Nov 08, 2017 at 12:40:05AM +0530, Jagan Teki wrote: > Enable verified-boot support for sunxi a64, tested the > same in orangepi boards. > > Signed-off-by: Jagan Teki How was it tested? Can you write some documentation for it? > --- > arch/arm/mach-sunxi/Kconfig| 2 ++ > includ

Re: [U-Boot] [U-Boot, 4/9] ARM: dts: rockchip: Add regulators for rk3288-vyasa

2017-11-08 Thread Philipp Tomsich
> Add supporting regulators for rk3288-vyasa board, dc12_vbat is > parent regulatorand followed regulators as are child regulators. > regulator naming conversion followed as per schematic for better > readability and easy for identification. > > Signed-off-by: Jagan Teki > --- > arch/arm/dts/rk3

Re: [U-Boot] [U-Boot, 9/9] rockchip: rk3288-vyasa: defconfig: Enable USB host and otg

2017-11-08 Thread Philipp Tomsich
> Enable USB host and otg for rk3288-vyasa board. > > Signed-off-by: Jagan Teki > --- > configs/vyasa-rk3288_defconfig | 13 + > 1 file changed, 13 insertions(+) > Reviewed-by: Philipp Tomsich ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [U-Boot, 8/9] ARM: dts: rockchip: Add usb otg for rk3288-vyasa

2017-11-08 Thread Philipp Tomsich
> Add usb otg support for rk3288-vyasa, board support usb1 otg > power through otg_vbus_drv and naming conversion followed > as per schematic. > > Signed-off-by: Jagan Teki > --- > arch/arm/dts/rk3288-vyasa.dts | 25 + > 1 file changed, 25 insertions(+) > Acked-by: Phil

Re: [U-Boot] [U-Boot, 6/9] rockchip: rk3288-vyasa: defconfig: Enable gmac support

2017-11-08 Thread Philipp Tomsich
> Enable gmac support for rk3288-vyasa board. > > Signed-off-by: Jagan Teki > --- > configs/vyasa-rk3288_defconfig | 3 +++ > 1 file changed, 3 insertions(+) > Reviewed-by: Philipp Tomsich ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.d

Re: [U-Boot] [U-Boot, 2/9] ARM: dts: rockchip: rk3288-vyasa: Remove vdd_log from rk808, DCDC_REG1

2017-11-08 Thread Philipp Tomsich
> vdd_log, never used on DCDC_REG1 of rk808 from latest schematic so > remove the same and update the regulator-name as 'vdd_arm' to sync > with existing rk3288 board dts files. > > Signed-off-by: Jagan Teki > --- > arch/arm/dts/rk3288-vyasa.dts | 4 ++-- > 1 file changed, 2 insertions(+), 2 del

Re: [U-Boot] [U-Boot, 1/9] ARM: dts: rockchip: Sync rk3288-vyasa dts from Linux

2017-11-08 Thread Philipp Tomsich
> Sync rk3288-vyasa board dts from Linux for proper updates and maintenance > - rk3288-vyasa.dts: Similar to Linux dts > - rk3288-vyasa-u-boot.dtsi: u-boot dts changes > > Also updated MAINTAINERS for these dts files. > > Signed-off-by: Jagan Teki > --- > arch/arm/dts/rk3288-vyasa-u-boot.dtsi

Re: [U-Boot] [U-Boot, 8/9] ARM: dts: rockchip: Add usb otg for rk3288-vyasa

2017-11-08 Thread Philipp Tomsich
> Add usb otg support for rk3288-vyasa, board support usb1 otg > power through otg_vbus_drv and naming conversion followed > as per schematic. > > Signed-off-by: Jagan Teki > --- > arch/arm/dts/rk3288-vyasa.dts | 25 + > 1 file changed, 25 insertions(+) > Reviewed-by: P

Re: [U-Boot] [U-Boot, 5/9] ARM: dts: rockchip: Add gmac support for rk3288-vyasa board

2017-11-08 Thread Philipp Tomsich
> Signed-off-by: Jagan Teki > --- > arch/arm/dts/rk3288-vyasa.dts | 41 + > 1 file changed, 41 insertions(+) > Acked-by: Philipp Tomsich ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listin

Re: [U-Boot] [U-Boot, 3/9] ARM: dts: rockchip: rk3288-vyasa: Use vmmc-supply from PMIC

2017-11-08 Thread Philipp Tomsich
> rk808, SWITCH_REG1 has configured for sdmmc regulator as vcc_sd, > so use the same by renaming vcc33_sd to vcc_sd(as per schematic) > and drop explicit regulator definition from root. > > Signed-off-by: Jagan Teki > --- > arch/arm/dts/rk3288-vyasa.dts | 22 ++ > 1 file chan

Re: [U-Boot] [U-Boot, 6/9] rockchip: rk3288-vyasa: defconfig: Enable gmac support

2017-11-08 Thread Philipp Tomsich
> Enable gmac support for rk3288-vyasa board. > > Signed-off-by: Jagan Teki > --- > configs/vyasa-rk3288_defconfig | 3 +++ > 1 file changed, 3 insertions(+) > Acked-by: Philipp Tomsich ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx

  1   2   >