Re: [PATCH 0/6] x86: efi: Add a 64-bit coreboot payload

2020-04-24 Thread Andy Shevchenko
On Fri, Apr 24, 2020 at 08:01:32AM +0200, Heinrich Schuchardt wrote: > On 4/23/20 10:05 AM, Bin Meng wrote: > > Hi Simon, > > > > On Mon, Apr 6, 2020 at 7:22 AM Simon Glass wrote: > >> > >> This series creates a new 64-bit 'coreboot64' build which can be launched > >> from coreboot. It uses SPL

Re: [PATCH v2] usb: dwc3-meson-g12a: add power-on/off of the PHYs

2020-04-24 Thread Neil Armstrong
On 21/04/2020 10:17, Neil Armstrong via groups.io wrote: > Power on/off the PHYs to enable power to the USB ports, fixing USB support > on Khadas VIM3/VIM3L boards. > > The G12A USB complex has at least 2 USB2 PHYs, but one is muxed between the > DWC2 and DWC3 controller and the other one

Re: [PATCH] usb: dwc3-meson-g12a: add power-on/off of the PHYs

2020-04-24 Thread Neil Armstrong
On 20/04/2020 15:46, Neil Armstrong via groups.io wrote: > Power on/off the PHYs to enable power to the USB ports, fixing USB support > on Khadas VIM3/VIM3L boards. > > Signed-off-by: Neil Armstrong > --- > drivers/usb/dwc3/dwc3-meson-g12a.c | 16 > 1 file changed, 16

Re: [PATCH 0/5] arm: khadas-vim: enable support for SPI NOR Flash

2020-04-24 Thread Neil Armstrong
On 20/04/2020 15:44, Neil Armstrong via groups.io wrote: > This serie enables support of the on-board SPI NOR Flash found on the > Khadas VIM2, VIM3 and VIM3L board. > > Neil Armstrong (5): > arm64: dts: meson: sync dt and bindings from v5.7-rc1 > arm: dts: meson-gxm-khadas-vim2-u-boot:

Re: [PATCH v2] usb: dwc3-meson-g12a: add power-on/off of the PHYs

2020-04-24 Thread Marek Vasut
On 4/24/20 9:18 AM, Neil Armstrong wrote: > On 21/04/2020 10:17, Neil Armstrong via groups.io wrote: >> Power on/off the PHYs to enable power to the USB ports, fixing USB support >> on Khadas VIM3/VIM3L boards. >> >> The G12A USB complex has at least 2 USB2 PHYs, but one is muxed between the >>

RE: [PATCH 1/6] arm: dts: lx2160a: add any missing dpmac nodes

2020-04-24 Thread Ioana Ciornei
> Subject: RE: [PATCH 1/6] arm: dts: lx2160a: add any missing dpmac nodes > > > -Original Message- > > From: Priyanka Jain (OSS) > > Sent: Friday, April 24, 2020 11:18 AM > > To: Ioana Ciornei ; u-boot@lists.denx.de > > Cc: Alexandru Marginean ; Madalin Bucur > > ; Florin Laurentiu

Re: support of rockchip nanopiM4 2GB board

2020-04-24 Thread Kever Yang
Hi Deepak, Jagan, On 2020/4/23 下午7:29, Jagan Teki wrote: On Thu, Apr 23, 2020 at 4:37 PM Deepak Das wrote: Hi Jagan, upstream uboot has the support for nanopi M4 board with 4GB LPDDR3 RAM. I have a nanopi M4 board with 2GB DDR3 RAM and able to boot this board by using ddr3 configuration.

RE: [PATCH 1/6] arm: dts: lx2160a: add any missing dpmac nodes

2020-04-24 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Ioana Ciornei >Sent: Wednesday, April 22, 2020 10:39 PM >To: Priyanka Jain ; u-boot@lists.denx.de >Cc: Alexandru Marginean ; Madalin Bucur >; Florin Laurentiu Chiculita >; Razvan Ionut Cirjan >; Ioana Ciornei >Subject: [PATCH 1/6] arm: dts:

Re: [PATCH 1/2] phy: meson: add GXBB PHY driver

2020-04-24 Thread Neil Armstrong
On 18/08/2019 15:42, Beniamino Galvani wrote: > This adds support for the USB PHY found on Amlogic GXBB SoCs. > > Signed-off-by: Beniamino Galvani > --- > drivers/phy/Kconfig | 8 ++ > drivers/phy/Makefile | 1 + > drivers/phy/meson-gxbb-usb2.c | 235

[RFC][PATCH] mkimage: fit: Do not tail-pad fitImage with external data

2020-04-24 Thread Marek Vasut
There is no reason to tail-pad fitImage with external data to 4-bytes, while fitImage without external data does not have any such padding and is often unaligned. DT spec also does not mandate any such padding. Moreover, the tail-pad fills the last few bytes with uninitialized data, which could

Re: [PATCH v8 00/21] riscv: Add Sipeed Maix support

2020-04-24 Thread Rick Chen
Hi Sean > On Wed, Apr 22, 2020 at 10:03:41PM -0400, Sean Anderson wrote: > > On 4/22/20 9:51 PM, Rick Chen wrote: > > > Hi Sean > > > > > >> Hi Sean > > >> > > >>> This patch series adds support for Sipeed Maix boards and the Kendryte > > >>> K210 CPU. Currently, only the Maix Bit V2.0 is

RE: [PATCH 2/6] arm: dts: lx2160aqds: add MDIO slots

2020-04-24 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Ioana Ciornei >Sent: Wednesday, April 22, 2020 10:39 PM >To: Priyanka Jain ; u-boot@lists.denx.de >Cc: Alexandru Marginean ; Madalin Bucur >; Florin Laurentiu Chiculita >; Razvan Ionut Cirjan >; Ioana Ciornei >Subject: [PATCH 2/6] arm: dts:

RE: [PATCH 3/6] arm: dts: lx2160aqds: add nodes describing possible mezzanine cards

2020-04-24 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Ioana Ciornei >Sent: Wednesday, April 22, 2020 10:39 PM >To: Priyanka Jain ; u-boot@lists.denx.de >Cc: Alexandru Marginean ; Madalin Bucur >; Florin Laurentiu Chiculita >; Razvan Ionut Cirjan >; Ioana Ciornei >Subject: [PATCH 3/6] arm: dts:

Re: [PATCH v2] usb: dwc3-meson-g12a: add power-on/off of the PHYs

2020-04-24 Thread Neil Armstrong
On 24/04/2020 09:41, Marek Vasut wrote: > On 4/24/20 9:18 AM, Neil Armstrong wrote: >> On 21/04/2020 10:17, Neil Armstrong via groups.io wrote: >>> Power on/off the PHYs to enable power to the USB ports, fixing USB support >>> on Khadas VIM3/VIM3L boards. >>> >>> The G12A USB complex has at least

Re: [PATCH v2 0/6] rockchip: rk3328: sync dts and add ROC-RK3328-CC board

2020-04-24 Thread Chen-Yu Tsai
On Fri, Apr 24, 2020 at 5:20 AM Peter Geis wrote: > > On Thu, Apr 23, 2020 at 5:24 AM Chen-Yu Tsai wrote: > > > > Hi, > > > > On Tue, Apr 21, 2020 at 1:35 AM Peter Geis wrote: > > > > > > On Thu, Apr 16, 2020 at 5:53 AM Loic Devulder wrote: > > > > > > > > Hi Chen, > > > > > > > > I tested

RE: [PATCH v6 09/17] clk: sifive: fu540-prci: Add clock initialization for SPL

2020-04-24 Thread Pragnesh Patel
Hi Bin, Jagan >-Original Message- >From: Bin Meng >Sent: 20 April 2020 14:30 >To: Jagan Teki >Cc: Pragnesh Patel ; U-Boot-Denx b...@lists.denx.de>; Atish Patra ; Palmer Dabbelt >; Paul Walmsley ; >Troy Benjegerdes ; Anup Patel >; Sagar Kadam ; Rick Chen >; Lukasz Majewski ; Simon Glass

[PATCH] ARM: zynq: Fix invalid check on NAND_CMD_NONE.

2020-04-24 Thread Michal Simek
From: Patrick van Gelder The end_cmd field in the variables cmd_phase_addr and data_phase_addr contains the value 0xFF when the end_cmd equals NAND_CMD_NONE. This should be 0x00. This is caused by comparing NAND_CMD_NONE (int) with end_cmd (u8). end_cmd will be promoted by the int value -1 and

Re: [U-Boot] Can't boot my FIT image: 'Could not find configuration node'

2020-04-24 Thread Turner, Ben
Hi all, I know this thread was started 18 months ago, but is there any update on this? I am attempting to do exactly the same thing (seL4 ELF image in a FIT image with verified boot) and am encountering exactly the same issue. My image works on its own using bootelf, and as with Grant I am

[PATCH v2] arm: dts: uDPU: switch default PHY speed to 3.125Gbit

2020-04-24 Thread Jakov Petrina
This resolves issues with certain SFP modules. Signed-off-by: Jakov Petrina Signed-off-by: Vladimir Vid --- v2: - changed PHY mode as well arch/arm/dts/armada-3720-uDPU.dts | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git

RE: [PATCH 1/6] arm: dts: lx2160a: add any missing dpmac nodes

2020-04-24 Thread Madalin Bucur
> -Original Message- > From: Priyanka Jain (OSS) > Sent: Friday, April 24, 2020 11:18 AM > To: Ioana Ciornei ; u-boot@lists.denx.de > Cc: Alexandru Marginean ; Madalin Bucur > ; Florin Laurentiu Chiculita > ; Razvan Ionut Cirjan > > Subject: RE: [PATCH 1/6] arm: dts: lx2160a: add any

RE: [PATCH v2] configs: ls1021a: Append CMA configuration to bootargs

2020-04-24 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Alison Wang >Sent: Thursday, April 23, 2020 8:08 PM >To: u-boot@lists.denx.de; Priyanka Jain ; Jagdish >Gediya >Cc: Shengzhou Liu >Subject: [PATCH v2] configs: ls1021a: Append CMA configuration to bootargs > >The default reserved memory for

RE: [PATCH 06/16] arm: stm32mp: spl: display error in board_init_f

2020-04-24 Thread Patrick DELAUNAY
Dear Wolfgang, > From: Wolfgang Denk > Sent: jeudi 23 avril 2020 22:40 > > Dear Patrick, > > In message <8970fb86c1374d1999ff656c2a327...@sfhdag6node3.st.com> > you wrote: > > [...] > > > > /* enable console uart printing */ > > > > preloader_console_init(); > > > > > > > > +

RE: [PATCH v2 10/14] arm: dts: ls2088ardb: add DPMAC and PHY nodes

2020-04-24 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Ioana Ciornei >Sent: Wednesday, April 22, 2020 6:43 PM >To: Priyanka Jain ; joe.hershber...@ni.com; u- >b...@lists.denx.de >Cc: Florin Laurentiu Chiculita >Subject: RE: [PATCH v2 10/14] arm: dts: ls2088ardb: add DPMAC and PHY >nodes > >>

Re: [PATCH v4 8/8] mkimage: fit_image: Add option to make fit header align

2020-04-24 Thread Kever Yang
Hi Tom,     Who is suppose to pick up this series patches? Any thing I need to update? Thanks, - Kever On 2020/3/31 上午7:30, Tom Rini wrote: On Mon, Mar 30, 2020 at 11:56:24AM +0800, Kever Yang wrote: The image is usually stored in block device like emmc, SD card, make the offset of

Re: [PATCH 0/6] x86: efi: Add a 64-bit coreboot payload

2020-04-24 Thread Heinrich Schuchardt
On 4/23/20 10:05 AM, Bin Meng wrote: > Hi Simon, > > On Mon, Apr 6, 2020 at 7:22 AM Simon Glass wrote: >> >> This series creates a new 64-bit 'coreboot64' build which can be launched >> from coreboot. It uses SPL to effect the jump to 64-bit mode. > > Adding 64-bit U-Boot as a coreboot payload is

Old regression possibly affecting many devices with build options in Kconfig files

2020-04-24 Thread Dario
Hello, On 2017/02/07 commit af2cbfd6b982f7a52414ea50b2ece0290d4b748f broke gigabit ethernet for Olimex A20-OLinuXino-LIME2. This commit likely prevents the activation of the option CONFIG_RTL8211X_PHY_FORCE_MASTER needed for proper gigabit networking on this device. Since the only modification

Re: [PATCH v6 09/17] clk: sifive: fu540-prci: Add clock initialization for SPL

2020-04-24 Thread Bin Meng
Hi Pragnesh, On Fri, Apr 24, 2020 at 6:08 PM Pragnesh Patel wrote: > > Hi Bin, Jagan > > >-Original Message- > >From: Bin Meng > >Sent: 20 April 2020 14:30 > >To: Jagan Teki > >Cc: Pragnesh Patel ; U-Boot-Denx >b...@lists.denx.de>; Atish Patra ; Palmer Dabbelt > >; Paul Walmsley ; >

[PATCH] sunxi: A20-OLinuXino-Lime2: enable PHY config to fix broken ethernet

2020-04-24 Thread Anatolij Gustschin
Realtek PHY is disabled in defconfig and Gigabit Ethernet support doesn't work. Re-enable PHY options to fix this. Signed-off-by: Anatolij Gustschin Reported-by: Dario Fixes: af2cbfd6b982 ("drivers: net: Provide Kconfig menu for PHYLIB") Fixes: 8728c97eff5b ("configs: Re-sync") --- Cc'ing board

Re: [PATCH v6 09/17] clk: sifive: fu540-prci: Add clock initialization for SPL

2020-04-24 Thread Bin Meng
Hi Pragnesh, On Fri, Apr 24, 2020 at 9:34 PM Pragnesh Patel wrote: > > > > Hi Bin, > > >-Original Message- > >From: Bin Meng > >Sent: 24 April 2020 18:31 > >To: Pragnesh Patel > >Cc: Jagan Teki ; U-Boot-Denx >b...@lists.denx.de>; Atish Patra ; Palmer Dabbelt > >; Paul Walmsley ; >

RE: [PATCH 2/2] spl: mmc: Rename spl_boot_partition() to spl_mmc_boot_partition()

2020-04-24 Thread Patrick DELAUNAY
Dear Harald, > From: Harald Seiler > Sent: mercredi 15 avril 2020 11:34 > > This function is only relevant to the MMC driver so calling it > spl_boot_partition() might be confusing. Rename it to > spl_mmc_boot_partition() to make its purpose more clear (and bring it in line > with >

RE: [PATCH v2] env: add prototypes for weak function

2020-04-24 Thread Patrick DELAUNAY
Hi, > From: Patrick DELAUNAY > Sent: mardi 28 janvier 2020 09:19 > > This patch adds prototypes for several weak functions: > - env_ext4_get_intf > - env_ext4_get_dev_part > - env_get_location > > It solves the following warnings when compiling with W=1 on stm32mp1 board: > >

RE: [PATCH v6 0/5] usb: host: dwc2: use driver model for PHY and CLOCK

2020-04-24 Thread Patrick DELAUNAY
Dear Marek, > From: Patrick DELAUNAY > Sent: mardi 10 mars 2020 11:09 > > > In this serie I update the DWC2 host driver to use the device tree > information and > the associated PHY and CLOCK drivers when they are availables. > > V6 is minor update of the first patch of the serie; I update

Re: [PATCH 0/6] x86: efi: Add a 64-bit coreboot payload

2020-04-24 Thread Simon Glass
Hi Bin, On Thu, 23 Apr 2020 at 02:05, Bin Meng wrote: > > Hi Simon, > > On Mon, Apr 6, 2020 at 7:22 AM Simon Glass wrote: > > > > This series creates a new 64-bit 'coreboot64' build which can be launched > > from coreboot. It uses SPL to effect the jump to 64-bit mode. > > Adding 64-bit U-Boot

RE: [PATCH V3 14/14] ARM: dts: stm32: Split AV96 into DHCOR SoM and AV96 board

2020-04-24 Thread Patrick DELAUNAY
Dear Marek, > From: Marek Vasut > Sent: mardi 31 mars 2020 19:52 > > The AV96 is in fact an assembly of DH Electronics DHCOR SoM on top of an > AV96 reference board. Split the DTs to reflect that and make sure to DHCOR SoM > can be reused on other boards easily. > > It is also highly

RE: [PATCH V3 13/14] ARM: dts: stm32: Adjust PLL4 settings on AV96

2020-04-24 Thread Patrick DELAUNAY
Hi, > From: Marek Vasut > Sent: jeudi 2 avril 2020 15:05 > > On 4/2/20 9:44 AM, Gerald BAEZA wrote: > > Hi Marek > > > >> From: Marek Vasut > >> Sent: mercredi 1 avril 2020 20:49 > >> > >> On 4/1/20 6:49 PM, Gerald BAEZA wrote: > >>> Hi Marek and Patrick > >> > >> Hi, > >> > From: Marek

Re: [PATCH] rpi_4_defconfig: add missing CONFIG_ARCH_FIXUP_FDT_MEMORY

2020-04-24 Thread LABBE Corentin
On Tue, Mar 31, 2020 at 12:26:35PM +, Corentin Labbe wrote: > As discussed at > https://lore.kernel.org/linux-arm-kernel/b726290c-1038-3771-5187-6ac370bc9...@arm.com/T/ > the defconfig for rpi4 miss CONFIG_ARCH_FIXUP_FDT_MEMORY. > Without it, booting with an initrd fail. > > Signed-off-by:

RE: [PATCH v6 09/17] clk: sifive: fu540-prci: Add clock initialization for SPL

2020-04-24 Thread Pragnesh Patel
Hi Bin, >-Original Message- >From: Bin Meng >Sent: 24 April 2020 18:31 >To: Pragnesh Patel >Cc: Jagan Teki ; U-Boot-Denx b...@lists.denx.de>; Atish Patra ; Palmer Dabbelt >; Paul Walmsley ; >Troy Benjegerdes ; Anup Patel >; Sagar Kadam ; Rick Chen >; Lukasz Majewski ; Simon Glass >

RE: [PATCH v6 12/17] riscv: sifive: fu540: add SPL configuration

2020-04-24 Thread Pragnesh Patel
Hi Bin, >-Original Message- >From: Bin Meng >Sent: 20 April 2020 15:05 >To: Pragnesh Patel >Cc: U-Boot Mailing List ; Atish Patra >; Palmer Dabbelt ; Paul >Walmsley ; Jagan Teki >; Troy Benjegerdes >; Anup Patel ; Sagar >Kadam ; Rick Chen ; Palmer >Dabbelt >Subject: Re: [PATCH v6

Re: Old regression possibly affecting many devices with build options in Kconfig files

2020-04-24 Thread Anatolij Gustschin
Hi Dario, On Thu, 23 Apr 2020 19:27:23 +0200 (CEST) Dario dari...@tutamail.com wrote: > Hello, > > On 2017/02/07 commit af2cbfd6b982f7a52414ea50b2ece0290d4b748f broke gigabit > ethernet for Olimex A20-OLinuXino-LIME2. This commit likely prevents the > activation of the option

RE: [PATCH v6 13/17] configs: fu540: Add config options for U-Boot SPL

2020-04-24 Thread Pragnesh Patel
Hi Bin, >-Original Message- >From: Bin Meng >Sent: 20 April 2020 15:05 >To: Pragnesh Patel >Cc: U-Boot Mailing List ; Atish Patra >; Palmer Dabbelt ; Paul >Walmsley ; Jagan Teki >; Troy Benjegerdes >; Anup Patel ; Sagar >Kadam ; Rick Chen ; Palmer >Dabbelt >Subject: Re: [PATCH v6

Re: [PATCH v4] dm: uclass: don't assign aliased seq numbers

2020-04-24 Thread Michael Walle
Hi Simon, Am 2020-04-20 01:38, schrieb Simon Glass: [..snip..] > uclass 31: eth > 0 * smsc95xx_eth @ 3db69ac0, seq 0, (req -1) Shouldn't this be "req 0" if the ethernet alias is actually matched. Does u-boot actually supports matching usb nodes to devices? If not, shouldn't the alias be

Re: ZynqMP boot: no messages from SPL other than "Debug uart enabled"

2020-04-24 Thread Michal Simek
Hi, On 23. 04. 20 11:02, Major A wrote: > Hi Michal, > > I've had to take a break because, as it turned out, my ZCU102 was > defective.  Now that I have a working one, I can go on with my > frustrating quest for a bootable image. > > So now that the patches to u-boot for the ZCU102 Rev. 1.1 are

Re: pull request of u-boot-fsl-qoriq for v2020.07

2020-04-24 Thread Tom Rini
On Tue, Apr 21, 2020 at 10:03:45AM +, Priyanka Jain wrote: > Dear Tom, > Please find my pull-request for u-boot-fsl-qoriq/master > https://travis-ci.org/github/p-priyanka-jain/u-boot/builds/677131891 > > summary > fsl-qoriq: Backplane support and bug fixes > priyankajain Applied (on

RE: [PATCH v6 15/17] riscv: sifive: fu540: enable all cache ways from u-boot proper

2020-04-24 Thread Pragnesh Patel
Hi Bin, >-Original Message- >From: Bin Meng >Sent: 20 April 2020 15:05 >To: Pragnesh Patel >Cc: U-Boot Mailing List ; Atish Patra >; Palmer Dabbelt ; Paul >Walmsley ; Jagan Teki >; Troy Benjegerdes >; Anup Patel ; Sagar >Kadam ; Rick Chen ; Palmer >Dabbelt >Subject: Re: [PATCH v6

RE: [PATCH 03/10] arm: stm32mp: bsec: remove unneeded test

2020-04-24 Thread Patrick DELAUNAY
Hi > From: Patrice CHOTARD > Sent: mercredi 18 mars 2020 11:05 > > > On 2/12/20 7:37 PM, Patrick Delaunay wrote: > > Remove the test offs < 0 , as offs is unsigned. > > > > This patch solves the warnings when compiling with W=1 on stm32mp1 > > board: > > > > In function ‘stm32mp_bsec_read’: >

Re: [Uboot-stm32] [PATCH] ARM: dts: stm32mp1: remove file stm32mp157-pinctrl.dtsi

2020-04-24 Thread Patrice CHOTARD
Hi On 4/21/20 12:27 PM, Patrick Delaunay wrote: > Remove the unnecessary file stm32mp157-pinctrl.dtsi and > solve all issues introduced by the commit 891483186052b2598 ("Merge branch > 'next'") after a conflict on the patch applied in the next branch in > commit 1a4f57c895cc ("ARM: dts:

[PATCH] clk: stm32mp1: fix CK_MPU calculation

2020-04-24 Thread Patrick Delaunay
From: Lionel Debieve When the CK_MPU used PLL1_MPUDIV, the current rate is wrong. The clock must use stm32mp1_mpu_div as a shift value. Fix the check value used to enter PLL_MPUDIV. Signed-off-by: Lionel Debieve Signed-off-by: Patrick Delaunay --- drivers/clk/clk_stm32mp1.c | 7 --- 1

RE: [PATCH v6 17/17] doc: update FU540 RISC-V documentation

2020-04-24 Thread Pragnesh Patel
Hi Bin, >-Original Message- >From: Bin Meng >Sent: 20 April 2020 15:16 >To: Pragnesh Patel >Cc: U-Boot Mailing List ; Atish Patra >; Palmer Dabbelt ; Paul >Walmsley ; Jagan Teki >; Troy Benjegerdes >; Anup Patel ; Sagar >Kadam ; Rick Chen ; Joe >Hershberger >Subject: Re: [PATCH v6

Re: Question regarding sending new platform code

2020-04-24 Thread Tom Rini
On Mon, Apr 20, 2020 at 10:43:28PM +0530, Rayagonda Kokatanur wrote: > Hi all, > > I am planning to push patches for new platform which includes board files, > configuration files, defconfigs, dt files etc everything specific to new > platform. > > I managed to break the new platform code into

Re: Old regression possibly affecting many devices with build options in Kconfig files

2020-04-24 Thread Dario
Your patch works. Thank you! This is the first time I post a bug report on a mailing list. I hope I have included the right recipients. The network adapter of this board is affected by another bug for which I have found a partial solution. I will send a separate message to discuss the issue.

RE: [PATCH] ARM: stm32: Enable bootd, iminfo, imxtract on DHCOM

2020-04-24 Thread Patrick DELAUNAY
Dear Marek, > From: Marek Vasut > Sent: mercredi 1 avril 2020 17:13 > > Enable these standard U-Boot commands for image manipulation and for starting > the default boot command using 'boot' command in U-Boot shell. > > Signed-off-by: Marek Vasut > Cc: Patrick Delaunay > Cc: Patrice Chotard

RE: [PATCH v6 09/17] clk: sifive: fu540-prci: Add clock initialization for SPL

2020-04-24 Thread Pragnesh Patel
Hi Bin, >-Original Message- >From: Bin Meng >Sent: 24 April 2020 19:25 >To: Pragnesh Patel >Cc: Jagan Teki ; U-Boot-Denx b...@lists.denx.de>; Atish Patra ; Palmer Dabbelt >; Paul Walmsley ; >Troy Benjegerdes ; Anup Patel >; Sagar Kadam ; Rick Chen >; Lukasz Majewski ; Simon Glass >

Re: Old regression possibly affecting many devices with build options in Kconfig files

2020-04-24 Thread Tom Rini
On Fri, Apr 24, 2020 at 02:04:57PM +0200, Anatolij Gustschin wrote: > Hi Dario, > > On Thu, 23 Apr 2020 19:27:23 +0200 (CEST) > Dario dari...@tutamail.com wrote: > > > Hello, > > > > On 2017/02/07 commit af2cbfd6b982f7a52414ea50b2ece0290d4b748f broke gigabit > > ethernet for Olimex

Re: Question regarding sending new platform code

2020-04-24 Thread Rayagonda Kokatanur
On Fri, Apr 24, 2020 at 8:53 PM Tom Rini wrote: > On Mon, Apr 20, 2020 at 10:43:28PM +0530, Rayagonda Kokatanur wrote: > > Hi all, > > > > I am planning to push patches for new platform which includes board > files, > > configuration files, defconfigs, dt files etc everything specific to new >

[PATCH v1 00/10] USB host support for Raspberry Pi 4 board

2020-04-24 Thread Sylwester Nawrocki
Hi all, This patch series adds USB host support for Raspberry Pi 4 board. It includes the Broadcom STB PCIe driver ported from Linux kernel, a memory mapping update for the xHCI controller behind a PCIe bridge for 32-bit and 64-bit system builds and some related fixes and updates in the usb/xhci

[PATCH v1 03/10] pci: Move some PCIe register offset definitions to a common header

2020-04-24 Thread Sylwester Nawrocki
Some PCI Express register offsets are currently defined in multiple drivers, move them to a common header to avoid re-definitions and as a pre-requisite for adding new PCIe driver. While at it replace some spaces with tabs. Reviewed-by: Bin Meng Signed-off-by: Sylwester Nawrocki --- Changes

[PATCH v1 01/10] usb: xhci: Add missing cache flush in the scratchpad array initialization

2020-04-24 Thread Sylwester Nawrocki
In current code there is no cache flush after initializing the scratchpad buffer array with the scratchpad buffer pointers. This leads to a failure of the "slot enable" command on the rpi4 board (Broadcom STB PCIe controller + VL805 USB hub) - the very first TRB transfer on the command ring fails

[PATCH v1 04/10] rpi4: shorten a mapping for the DRAM

2020-04-24 Thread Sylwester Nawrocki
From: Marek Szyprowski Remove the overlap between DRAM and device's IO area. Signed-off-by: Marek Szyprowski --- Changes since RFC: - none. --- arch/arm/mach-bcm283x/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-bcm283x/init.c

[PATCH v1 02/10] usb: xhci: Use only 32-bit accesses in xhci_writeq/xhci_readq

2020-04-24 Thread Sylwester Nawrocki
There might be hardware configurations where 64-bit data accesses to XHCI registers are not supported properly. This patch removes the readq/writeq so always two 32-bit accesses are used to read/write 64-bit XHCI registers, similarly as it is done in Linux kernel. This patch fixes operation of

Partial fix for RTL8211CL connectivity issue

2020-04-24 Thread Dario
Hello, My A20-OLinuXino-LIME2 has a RTL8211CL network adapter and is affected by the same issue described for RTL8211F_PHY_FORCE_EEE_RXC_ON. In u-boot/drivers/net/phy/realtek.c I copied «phydev->flags |= PHY_RTL8211F_FORCE_EEE_RXC_ON;» inside rtl8211b_probe() and the following portion of code

Re: [PATCH] Add support for SHA384 and SHA512

2020-04-24 Thread Tom Rini
On Fri, Apr 17, 2020 at 08:19:04AM +1200, Reuben Dowle wrote: > The current recommendation for best security practice from the US government > is to use SHA384 for TOP SECRET [1]. > > This patch adds support for SHA384 and SHA512 in the hash command, and also > allows FIT images to be hashed

Re: [RFC][PATCH] mkimage: fit: Do not tail-pad fitImage with external data

2020-04-24 Thread Simon Glass
On Fri, 24 Apr 2020 at 04:19, Marek Vasut wrote: > > There is no reason to tail-pad fitImage with external data to 4-bytes, > while fitImage without external data does not have any such padding and > is often unaligned. DT spec also does not mandate any such padding. > > Moreover, the tail-pad

Re: [PATCH 2/4] lib/hashtable.c: create helper for calling env_entry::callback

2020-04-24 Thread Tom Rini
On Thu, Feb 27, 2020 at 01:56:11PM +, Rasmus Villemoes wrote: > This is preparation for compiling out the "call the callback" code and > associated error handling for SPL, where ->callback is always NULL. > > Signed-off-by: Rasmus Villemoes > Reviewed-by: Simon Glass Applied to

Re: [PATCH 1/4] env: remove callback.o for an SPL build

2020-04-24 Thread Tom Rini
On Thu, Feb 27, 2020 at 01:56:10PM +, Rasmus Villemoes wrote: > env.h says this about about callback declarations (U_BOOT_ENV_CALLBACK): > > * For SPL these are silently dropped to reduce code size, since environment > * callbacks are not supported with SPL. > > So env_callback_init()

Re: [PATCH v4 2/8] tool: aisimage: use ALIGN instead of self defiend macro

2020-04-24 Thread Tom Rini
On Mon, Mar 30, 2020 at 11:56:18AM +0800, Kever Yang wrote: > The ALIGN() is available at imagetool.h, no need to self define one. > > Signed-off-by: Kever Yang > Reviewed-by: Punit Agrawal > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [PATCH 5/5] env/sf.c: drop private CMD_SAVEENV logic

2020-04-24 Thread Tom Rini
On Wed, Feb 19, 2020 at 09:47:43AM +, Rasmus Villemoes wrote: > Deciding whether to compile the env_sf_save() function based solely on > CONFIG_SPL_BUILD is wrong: For U-Boot proper, it leads to a build > warning in case CONFIG_CMD_SAVEENV=n (because the env_save_ptr() macro > causes the

Re: [PATCH 2/5] env_internal.h: add alternative ENV_SAVE_PTR macro

2020-04-24 Thread Tom Rini
On Wed, Feb 19, 2020 at 09:47:40AM +, Rasmus Villemoes wrote: > The current definition of the env_save_ptr does not take SPL_SAVEENV > into account. Moreover, the way it is implemented means that drivers > need to guard the definitions of their _save methods with ifdefs to > avoid "defined

Re: [PATCH 3/5] env/fat.c: remove private CMD_SAVEENV logic

2020-04-24 Thread Tom Rini
On Wed, Feb 19, 2020 at 09:47:41AM +, Rasmus Villemoes wrote: > Always compile the env_fat_save() function, and let > CONFIG_IS_ENABLED(SAVEENV) (via the ENV_SAVE_PTR macro) decide whether > it actually ends up being compiled in. > > Signed-off-by: Rasmus Villemoes Applied to

Re: [PATCH 3/4] lib/hashtable.c: don't test ->callback in SPL

2020-04-24 Thread Tom Rini
On Thu, Feb 27, 2020 at 01:56:11PM +, Rasmus Villemoes wrote: > In SPL, environment callbacks are not supported, so e->callback is > always NULL. Removing this makes the SPL a little smaller (about 400 > bytes in my ppc build) with no functional change. > > Signed-off-by: Rasmus Villemoes >

Re: [PATCH] watchdog: mpc8xx_wdt: Allow selection of watchdog mode through environment

2020-04-24 Thread Tom Rini
On Wed, Feb 19, 2020 at 04:50:15PM +, Christophe Leroy wrote: > From: Charles Frey > > The mpc8xx watchdog can work either in 'reset mode' or 'NMI mode'. > The selection can be done at startup only. > It is desirable to select the mode without rebuilding U-boot. > It is also desirable to

Re: [PATCH] docs: Fix conf.py for Sphinx 2.0

2020-04-24 Thread Tom Rini
On Fri, Mar 20, 2020 at 02:18:30AM -0400, Sean Anderson wrote: > From: Jonathan Corbet > > commit 3bc8088464712fdcb078eefb68837ccfcc413c88 upstream. > > Our version check in Documentation/conf.py never envisioned a world where > Sphinx moved beyond 1.x. Now that the unthinkable has happened,

Re: [PATCH 4/4] make env_entry::callback conditional on !CONFIG_SPL_BUILD

2020-04-24 Thread Tom Rini
On Thu, Feb 27, 2020 at 01:56:12PM +, Rasmus Villemoes wrote: > The callback member of struct env_entry is always NULL for an SPL > build. Removing it thus saves a bit of run-time memory in the > SPL (when CONFIG_SPL_ENV_SUPPORT=y) since struct env_entry is embedded > in struct env_entry_node

Re: [PATCH v4 1/8] tool: Move ALIGN_MASK to header as common MACRO

2020-04-24 Thread Tom Rini
On Mon, Mar 30, 2020 at 11:56:17AM +0800, Kever Yang wrote: > The ALIGN code is need by many files who need handle structure or image > align, so move the macro to imagetool.h file. > > Signed-off-by: Kever Yang > Reviewed-by: Punit Agrawal > Reviewed-by: Tom Rini Applied to u-boot/master,

Re: [PATCH v2] bootcount_ext: Add flag to enable/disable bootcount

2020-04-24 Thread Tom Rini
On Tue, Mar 17, 2020 at 05:59:09PM +0100, Frédéric Danis wrote: > After a successful upgrade, multiple problem during boot sequence may > trigger the altbootcmd process. > This patch adds a version and an upgrade_available entries to the > bootcount file to enable/disable the bootcount check. >

Re: [PATCH] sunxi: Fix PHY regression on A20-OLinuXino-Lime2 and A20-Olimex-SOM-EVB

2020-04-24 Thread Tom Rini
On Fri, Apr 24, 2020 at 07:09:56PM +0200, Anatolij Gustschin wrote: > On Fri, 24 Apr 2020 12:34:05 -0400 > Tom Rini tr...@konsulko.com wrote: > > > When moving the PHYLIB PHY drivers around in Kconfig we did not at the > > same time perform a careful migration of the related drivers and > >

Re: [PATCH v2] travis: Correct error checking when building boards

2020-04-24 Thread Tom Rini
On Sun, Apr 19, 2020 at 05:02:32PM -0600, Simon Glass wrote: > At present if buildman reports an error, the travis build still succeeds. > > This is because the travis script does not stop when it sees errors; nor > does it automatically return the exit code. Also the current error > checking

Re: [PATCH] spl: Kconfig: de-dup SPL_DM_GPIO definition

2020-04-24 Thread Tom Rini
On Fri, Apr 17, 2020 at 09:42:29AM -0600, Joel Johnson wrote: > Two nearly concurrent commits (d4d65e112 and bcee8d676) added a > SPL_DM_GPIO symbol. Resolve the duplication in favor of the version > in drivers/gpio/Kconfig. > > Signed-off-by: Joel Johnson > Reviewed-by: Frieder Schrempf

Re: [PATCH 3/3] mkimage: fit: Free buf directly in fit_extract_data()

2020-04-24 Thread Tom Rini
On Sat, Apr 18, 2020 at 01:59:11AM -0700, Bin Meng wrote: > From: Bin Meng > > If given ptr to free() is NULL, no operation is performed. > Hence we can just free buf directly in fit_extract_data(). > > Signed-off-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [PATCH] dlmalloc: Add an option to default malloc to init

2020-04-24 Thread Tom Rini
On Tue, Apr 21, 2020 at 01:00:41PM +0200, Marek wrote: > > > > Can you please showcase using this feature somewhere? Thanks! > > > > -- > > Tom > > Yes. First of all, sincere apology for such a massive delay in it. > I got snowed with the corporation work of mine. > > So here is my go at

Re: [PATCH] cmd: part: Add 'block' sub-command

2020-04-24 Thread Tom Rini
On Wed, Apr 22, 2020 at 01:13:06AM +0300, razvan becheriu wrote: > From 4376dc705acefb5b5281d32dcc1cb5084c61f99c Mon Sep 17 00:00:00 2001 > From: Razvan Becheriu > Date: Wed, 22 Apr 2020 00:17:33 +0300 > Subject: [PATCH] cmd: part: Add 'block' sub-command > > Add part block sub-command

Re: [PATCH 2/2] distro_bootcmd: add sf SPI flash boot support

2020-04-24 Thread Tom Rini
On Tue, Apr 21, 2020 at 09:26:35PM +0200, Tobias Schramm wrote: > This commit adds generic boot support for SPI flash. > Adding SPI flash support to a device can be achieved by adding > following declaration to the BOOT_TARGET_DEVICES > > func(SF, sf, [:], ) > > Signed-off-by: Tobias

Re: [PATCH] i2c: mxc: fix copyright

2020-04-24 Thread Tom Rini
On Wed, Apr 22, 2020 at 06:25:20PM +0800, Biwen Li wrote: > From: Biwen Li > > Fix copyright for i2c > > Signed-off-by: Biwen Li > --- > drivers/i2c/mxc_i2c.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c > index

[PATCH v1 09/10] pci: Add driver for Broadcom STB PCIe controller

2020-04-24 Thread Sylwester Nawrocki
This patch adds basic driver for the Broadcom STB PCIe host controller. The code is based on Linux upstream driver (pcie-brcmstb.c) with MSI handling removed. The inbound access memory region is not currently parsed from dma-ranges DT property and a fixed 4GB region is used. The patch has been

[PATCH v1 10/10] config: Enable support for the XHCI controller on RPI4 board

2020-04-24 Thread Sylwester Nawrocki
From: Marek Szyprowski This requires enabling BRCMSTB PCIe and XHCI_PCI drivers as well as PCI and USB commands. To get it working one has to call the following commands: "pci enum; usb start;", thus such commands have been added to the default "preboot" environment variable. One has to update

[PATCH v1 07/10] linux/bitfield.h: Add primitives for manipulating bitfields both in host- and fixed-endian.

2020-04-24 Thread Sylwester Nawrocki
From: Nicolas Saenz Julienne Imports Al Viro's original Linux commit 00b0c9b82663a, which contains an in depth explanation and two fixes from Johannes Berg: e7d4a95da86e0 "bitfield: fix *_encode_bits()", 37a3862e12382 "bitfield: add u8 helpers". Signed-off-by: Nicolas Saenz Julienne

[PATCH v1 05/10] rpi4: add a mapping for the PCIe XHCI controller MMIO registers (ARM 64bit)

2020-04-24 Thread Sylwester Nawrocki
From: Marek Szyprowski Create a non-cacheable mapping for the 0x6 physical memory region, where MMIO registers for the PCIe XHCI controller are instantiated by the PCIe bridge. Signed-off-by: Marek Szyprowski --- Changes since RFC: - none. --- arch/arm/mach-bcm283x/init.c | 18

[PATCH v1 06/10] rpi4: add a mapping for the PCIe XHCI controller MMIO registers (ARM 32bit)

2020-04-24 Thread Sylwester Nawrocki
From: Marek Szyprowski Create a non-cacheable mapping for the 0x6 physical memory region, where MMIO registers for the PCIe XHCI controller are instantiated by the PCIe bridge. Due to 32bit limit in the CPU virtual address space in ARM 32bit mode, this region is mapped at 0xff80 CPU

Re: [PATCH 0/7] Add support for CONFIG_API on RISC-V

2020-04-24 Thread Tom Rini
On Mon, Apr 20, 2020 at 06:34:11PM -0400, mho...@freebsd.org wrote: > From: Mitchell Horne > > FreeBSD makes use of u-boot's CONFIG_API to provide a version of its > standard bootloader for embedded architectures. This series adds the > necessary support for the RISC-V architecture, along with

[PATCH v1 08/10] pci: Add some PCI Express capability register offset definitions

2020-04-24 Thread Sylwester Nawrocki
Add PCI Express capability definitions required by the Broadcom STB PCIe controller driver. Reviewed-by: Bin Meng Signed-off-by: Sylwester Nawrocki --- Changes since RFC: - ensure the entries are added in order, sorted by ascending address values. --- include/pci.h | 6 ++ 1 file

Re: [PATCH v4 3/8] tools: mkimage: use common ALIGN to do the size align

2020-04-24 Thread Tom Rini
On Mon, Mar 30, 2020 at 11:56:19AM +0800, Kever Yang wrote: > The ALIGN() is now available at imagetool.h, migrate to use it. > > Signed-off-by: Kever Yang > Reviewed-by: Punit Agrawal > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [PATCH v4 4/8] tools: kwbimage: use common ALIGN to do the size align

2020-04-24 Thread Tom Rini
On Mon, Mar 30, 2020 at 11:56:20AM +0800, Kever Yang wrote: > The ALIGN() is now available at imagetool.h, migrate to use it. > > Signed-off-by: Kever Yang > Reviewed-by: Punit Agrawal > Reviewed-by: Tom Rini > Reviewed-by: Stefan Roese Applied to u-boot/master, thanks! -- Tom

Re: [PATCH v4 5/8] tools: imx8mimage: remove redundant code

2020-04-24 Thread Tom Rini
On Mon, Mar 30, 2020 at 11:56:21AM +0800, Kever Yang wrote: > The align for fit_size has been done twice, remove the first one for it > does not make any sense. > > Signed-off-by: Kever Yang > Reviewed-by: Punit Agrawal > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom

Re: [PATCH v4 7/8] libfdt: Make fdtdec_get_child_count() available for HOST

2020-04-24 Thread Tom Rini
On Mon, Mar 30, 2020 at 11:56:23AM +0800, Kever Yang wrote: > The tool need to use fdtdec_get_child_count(), make it available for > HOST_CC. > > Signed-off-by: Kever Yang > Reviewed-by: Punit Agrawal > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [PATCH] sunxi: Fix PHY regression on A20-OLinuXino-Lime2 and A20-Olimex-SOM-EVB

2020-04-24 Thread Anatolij Gustschin
On Fri, 24 Apr 2020 12:34:05 -0400 Tom Rini tr...@konsulko.com wrote: > When moving the PHYLIB PHY drivers around in Kconfig we did not at the > same time perform a careful migration of the related drivers and > sub-options. This lead to the case where previously Kconfig-enabled > driver choices

Re: [PATCH v4 6/8] tool: use ALIGN() to align the size

2020-04-24 Thread Tom Rini
On Mon, Mar 30, 2020 at 11:56:22AM +0800, Kever Yang wrote: > Use the ALIGN() for size align so that the code is more readable. > > Signed-off-by: Kever Yang > Reviewed-by: Punit Agrawal > Reviewed-by: Tom Rini > Reviewed-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom

Re: [PATCH 4/5] lib: do not provide hexdump in SPL

2020-04-24 Thread Tom Rini
On Wed, Apr 15, 2020 at 06:46:22PM +0200, Heinrich Schuchardt wrote: > SPL should not be enlarged by building with CONFIG_HEXDUMP=y. > > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 1/1] .mailmap: map Ruchika Gupta's mail address

2020-04-24 Thread Tom Rini
On Wed, Apr 15, 2020 at 06:47:38PM +, Heinrich Schuchardt wrote: > Freescale mail addresses are not valid anymore. > > Reported-by: Fabio Estevam > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 2/2] fixdep: Re-sync with Linux 5.7-rc1

2020-04-24 Thread Tom Rini
On Thu, Apr 16, 2020 at 02:01:45PM +0900, Masahiro Yamada wrote: > fixdep is a standalone host program, so we can just re-sync it with > the latest Linux in one commit. > > I kept the U-Boot own code block surrounded by > /* hack for U-Boot */ ... /* U-boot hack end */. > > Signed-off-by:

Re: [PATCH 5/5] dlmalloc: remove unit test support in SPL

2020-04-24 Thread Tom Rini
On Wed, Apr 15, 2020 at 06:46:23PM +0200, Heinrich Schuchardt wrote: > We cannot run unit tests in SPL. So remove the unit test support. > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 1/3] tools: Remove the out-of-date MinGW support codes

2020-04-24 Thread Tom Rini
On Sat, Apr 18, 2020 at 01:59:09AM -0700, Bin Meng wrote: > From: Bin Meng > > MinGW build for U-Boot tools has been broken for years. The official > support of Windows build is now MSYS2. Remove the MinGW support codes. > > Signed-off-by: Bin Meng Applied to u-boot/master, thanks! -- Tom

  1   2   >