Re: [U-Boot] [PATCH v2 2/5] nand: mxs_nand: add API for switching different BCH layouts

2019-10-23 Thread Oleksandr Suvorov
On Mon, Oct 21, 2019 at 4:41 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > On i.MX7 in a sake of reducing the disturbances caused by a neighboring > cells in the FCB page in the NAND chip, a randomizer is enabled when > reading the FCB page by ROM bootloader. > > Add API for setting BCH to

Re: [U-Boot] [PATCH v2 1/5] imx: gpmi: add defines for hw randominizer

2019-10-23 Thread Oleksandr Suvorov
On Mon, Oct 21, 2019 at 4:41 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Extend GPMI Integrated ECC Control Register Description, include > additional defines for enabling randomizer function and providing > proper randomizer type. > > For additional details check i.MX7 APR, section >

Re: [U-Boot] [PATCH v2 4/9] mpc85xx, socrates: add DM support

2019-10-23 Thread Priyanka Jain
>-Original Message- >From: U-Boot On Behalf Of Heiko Schocher >Sent: Wednesday, October 16, 2019 9:26 AM >To: U-Boot Mailing List >Subject: [U-Boot] [PATCH v2 4/9] mpc85xx, socrates: add DM support > >enable CONFIG_DM for the socrates board. > >Signed-off-by: Heiko Schocher >--- >

[U-Boot] Confusion about "u-boot/doc/uImage.FIT/signature.txt"

2019-10-23 Thread Lang Yu
Hi, sjg, I'm YuLang, a software engineer in Hesai Tech. I really appreciate your contribution to secure boot. But I'm confused with your explanation about signature with FIT image in "u-boot/doc/uImage.FIT/signature.txt". As following, / { images { kernel@1 { data = hash@1 { algo =

[U-Boot] [v2 3/6] powerpc: p5040: dts: Add Sata DT nodes

2019-10-23 Thread Peng Ma
This patch is to add sata node for P5040 platform Signed-off-by: Peng Ma --- Changed for v2: - Change "Added" to "Add" arch/powerpc/dts/p5040.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/dts/p5040.dtsi b/arch/powerpc/dts/p5040.dtsi index

[U-Boot] [v2 6/6] powerpc: t4240: dts: Add Sata DT nodes

2019-10-23 Thread Peng Ma
This patch is to add sata node for T4240 platform Signed-off-by: Peng Ma --- Changed for v2: - Change "Added" to "Add" arch/powerpc/dts/t4240.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/dts/t4240.dtsi b/arch/powerpc/dts/t4240.dtsi index

Re: [U-Boot] [PATCH 1/3] cmd: fru: Add support for FRU commands

2019-10-23 Thread Michal Simek
On 22. 10. 19 16:43, Michael Walle wrote: > Am 2019-10-22 15:45, schrieb Michal Simek: >> On 22. 10. 19 15:09, Michael Walle wrote: >>> Am 2019-10-14 15:29, schrieb Michal Simek: From: Siva Durga Prasad Paladugu This patch adds support for fru commands "fru capture" and "fru

[U-Boot] [v2 4/6] powerpc: t102x: dts: Add Sata DT nodes

2019-10-23 Thread Peng Ma
This patch is to add sata node for T102x platform Signed-off-by: Peng Ma --- Changed for v2: - Change "Added" to "Add" arch/powerpc/dts/t102x.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/dts/t102x.dtsi b/arch/powerpc/dts/t102x.dtsi index

[U-Boot] [v2 2/6] powerpc: p3041: dts: Add Sata DT nodes

2019-10-23 Thread Peng Ma
This patch is to add sata node for P3041 platform Signed-off-by: Peng Ma --- Changed for v2: - Change "Added" to "Add" arch/powerpc/dts/p3041.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/dts/p3041.dtsi b/arch/powerpc/dts/p3041.dtsi index

[U-Boot] [v2 5/6] powerpc: t104x: dts: Add Sata DT nodes

2019-10-23 Thread Peng Ma
This patch is to add sata node for T104x platform Signed-off-by: Peng Ma --- Changed for v2: - Change "Added" to "Add" arch/powerpc/dts/t104x.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/dts/t104x.dtsi b/arch/powerpc/dts/t104x.dtsi index

[U-Boot] [v2 1/6] powerpc: p2041: dts: Add Sata DT nodes

2019-10-23 Thread Peng Ma
This patch is to add sata node for P2041 platform Signed-off-by: Peng Ma --- Changed for v2: - Change "Added" to "Add" arch/powerpc/dts/p2041.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/powerpc/dts/p2041.dtsi b/arch/powerpc/dts/p2041.dtsi index

[U-Boot] [v2 2/2] ata: sata_sil: Add DM support for Silicon sata driver

2019-10-23 Thread Peng Ma
Add DM support for Silicon(SIL3131 / SIL3132 / SIL3124) sata driver as few of the PowerPC platforms such as P series based boards need to use SATA_SIL with DM, Also fix below warning while PowerPC P series boards compilation, = WARNING ==" This board does

[U-Boot] [v2 1/2] ata: fsl_sata: Add DM support for Freescale PowerPC SATA driver

2019-10-23 Thread Peng Ma
Add DM support for Freescale PowerPC sata driver used for PowerPC T series SoCs, CONFIG_BLK needs to be enabled on these platforms. It adds the SATA controller as AHCI device, which is strictly speaking not correct, as the controller is not AHCI compatible, But the U-Boot AHCI uclass interface

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-10-23 Thread Stefan Roese
On 23.10.19 12:34, Schrempf Frieder wrote: BTW: Using the "spi-mem" driver version from Ashish with the fix suggested by Frieder to clear the DDR bit in TDH (reset to 00) still works without any problems. There is some cleanup work that needs to be done (e.g. [1]). After that I will send an

[U-Boot] [PATCH] net: phy: micrel: make sure the factory test bit is cleared

2019-10-23 Thread Eugen.Hristev
From: Nicolas Ferre The KSZ8081 PHY has a factory test mode which is set at the de-assertion of the reset line based on the RXER (KSZ8081RNA/RND) or TXC (KSZ8081MNX/RNB) pin. If a pull-down is missing, or if the pin has a pull-up, the factory test mode should be cleared by manually writing a 0

Re: [U-Boot] [EXT] Re: [PATCH 1/6] spi: fsl_qspi: Fix DDR mode setting for latest iMX platforms

2019-10-23 Thread Schrempf Frieder
Hi Ashish, On 22.10.19 18:11, Ashish Kumar wrote: > > >> -Original Message- >> From: Stefan Roese >> Sent: Tuesday, October 22, 2019 9:12 PM >> To: Schrempf Frieder ; Ashish Kumar >> ; Ye Li ; >> ja...@amarulasolutions.com >> Cc: Fabio Estevam ; u-boot@lists.denx.de; dl- >> uboot-imx

Re: [U-Boot] [PATCH] ARM: mvebu: don't dereference null bd pointer

2019-10-23 Thread Stefan Roese
On 23.10.19 09:48, Chris Packham wrote: On Wed, Oct 23, 2019 at 1:15 AM Stefan Roese wrote: Hi Chris, On 22.10.19 09:05, Chris Packham wrote: As mentioned in doc/README.arm-relocation gd->bd is not available in dram_init() so we shouldn't attempt to access it. Signed-off-by: Chris Packham

Re: [U-Boot] [BUG] efi_driver: crash while reading from iSCSI drive

2019-10-23 Thread AKASHI Takahiro
On Tue, Oct 22, 2019 at 10:29:09PM +0200, Heinrich Schuchardt wrote: > The patch > > commit 867400677cda0fac4a411f1549fe3a61bb5ed172 > efi_loader: disk: install FILE_SYSTEM_PROTOCOL only if available > > breaks booting my Pine A64 LTS board via iPXE and GRUB. But I assume > this is not at the

Re: [U-Boot] [PATCH] spl: spl_mmc: fix getting raw_sect when boot from emmc boot partition

2019-10-23 Thread Peng Fan
> Subject: Re: [PATCH] spl: spl_mmc: fix getting raw_sect when boot from > emmc boot partition > > Hi Peng, > > > On i.MX8, when booting from eMMC boot partition, the whole flash.bin > > is stored in boot partition, however SPL switches to user partition > > during the init of mmc driver: > >

Re: [U-Boot] [PATCH 2/2] spi: cadence-qspi: Add direct mode support

2019-10-23 Thread Simon Goldschmidt
On Wed, Oct 23, 2019 at 12:00 PM Vignesh Raghavendra wrote: > > > > On 18/10/19 6:12 PM, Simon Goldschmidt wrote: > > On Fri, Oct 18, 2019 at 2:40 PM Vignesh Raghavendra wrote: > >> > >> Hi, > >> > >> On 18/10/19 2:34 PM, Simon Goldschmidt wrote: > >>> On Thu, Oct 17, 2019 at 2:55 PM Simon

Re: [U-Boot] [PATCH 2/2] spi: cadence-qspi: Add direct mode support

2019-10-23 Thread Vignesh Raghavendra
On 18/10/19 6:12 PM, Simon Goldschmidt wrote: > On Fri, Oct 18, 2019 at 2:40 PM Vignesh Raghavendra wrote: >> >> Hi, >> >> On 18/10/19 2:34 PM, Simon Goldschmidt wrote: >>> On Thu, Oct 17, 2019 at 2:55 PM Simon Goldschmidt >>> wrote: On Thu, Oct 17, 2019 at 2:44 PM Vignesh

Re: [U-Boot] [PATCH] board: stm32mp1: fixup the usb product id for USB download gadget

2019-10-23 Thread Patrick DELAUNAY
> > Select the correct USB product id used by the download gadget for ST stm32mp1 > boards. > > The board stm32mp1 select the correct product id, as defined in > http://www.linux- > usb.org/usb.ids for the STMicroelectronics vendor id = 0x0483 > (CONFIG_USB_GADGET_VENDOR_NUM): > - dfu = 0xdf11

Re: [U-Boot] [PATCH] configs: stm32f746-disco: Fix ramdisk_addr_r

2019-10-23 Thread Patrick DELAUNAY
> > Set ramdisk_addr_r to 0xC060. > > Reported-by: Christophe Priouzeau > Signed-off-by: Patrice Chotard > --- Applied to u-boot-stm32/master, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH 1/7] image: android: Add functions for handling dtb field

2019-10-23 Thread Sam Protsenko
Hi Simon, On Fri, Sep 20, 2019 at 8:45 PM Simon Glass wrote: > > Hi Sam, > > On Thu, 19 Sep 2019 at 12:28, Sam Protsenko > wrote: > > > > Android Boot Image v2 adds "DTB" payload (and corresponding field in the > > image header). Provide functions for its handling: > > > > -

Re: [U-Boot] [PATCH 5/5] configs: stm32h743-eval: Disable CONFIG_NET flag

2019-10-23 Thread Patrick DELAUNAY
> > Network support was never added on this board, disable CONFIG_NET flag to > avoid following warning: > > = WARNING == This board > does not use CONFIG_DM_ETH (Driver Model for Ethernet drivers). Please update > the board to use CONFIG_DM_ETH before the

Re: [U-Boot] [PATCH 4/5] configs: stm32h743-disco: Disable CONFIG_NET flag

2019-10-23 Thread Patrick DELAUNAY
> > Network support was never added on this board, disable CONFIG_NET flag to > avoid following warning: > > = WARNING == This board > does not use CONFIG_DM_ETH (Driver Model for Ethernet drivers). Please update > the board to use CONFIG_DM_ETH before the

Re: [U-Boot] [PATCH 3/5] configs: stm32f469-discovery: Disable CONFIG_NET flag

2019-10-23 Thread Patrick DELAUNAY
> > Network support was never added on this board, disable CONFIG_NET flag to > avoid following warning: > > = WARNING == This board > does not use CONFIG_DM_ETH (Driver Model for Ethernet drivers). Please update > the board to use CONFIG_DM_ETH before the

Re: [U-Boot] [PATCH 1/5] configs: stm32f429-discovery: Disable CONFIG_NET flag

2019-10-23 Thread Patrick DELAUNAY
Hi, > > Network support was never added on this board, disable CONFIG_NET flag to > avoid following warning: > > = WARNING == This board > does not use CONFIG_DM_ETH (Driver Model for Ethernet drivers). Please update > the board to use CONFIG_DM_ETH

Re: [U-Boot] [PATCH 2/5] configs: stm32f429-evaluation: Disable CONFIG_NET flag

2019-10-23 Thread Patrick DELAUNAY
> > Network support was never added on this board, disable CONFIG_NET flag to > avoid following warning: > > = WARNING == This board > does not use CONFIG_DM_ETH (Driver Model for Ethernet drivers). Please update > the board to use CONFIG_DM_ETH before the

[U-Boot] [PULL] Pull request: u-boot-stm32 u-boot-stm32-2019-10-23

2019-10-23 Thread Patrick DELAUNAY
Hi Tom Please pull the STM32 related patches for u-boot-stm32-2019-10-23 With the following changes: - Disable CONFIG_NET flag for MCU STM32 - Fix ramdisk_addr_r for stm32f746-disco - Fix USB product id for stm32mp1 Travis CI status:

Re: [U-Boot] [Uboot-stm32] [PATCH v3 14/15] stm32mp1: board: add spi nand support

2019-10-23 Thread Patrice CHOTARD
Hi Patrick On 10/14/19 9:28 AM, Patrick Delaunay wrote: > This patch adds the support of the spi nand device in mtdparts command > and in dfu_alt_info. > > Signed-off-by: Patrick Delaunay > --- > > Changes in v3: None > Changes in v2: None > > board/st/stm32mp1/stm32mp1.c | 32

Re: [U-Boot] [Uboot-stm32] [PATCH v3 12/15] stm32mp1: activate SET_DFU_ALT_INFO

2019-10-23 Thread Patrice CHOTARD
Hi Patrick On 10/14/19 9:28 AM, Patrick Delaunay wrote: > Generate automatically dfu_alt_info for the supported device. > The simple command "dfu 0" allows to start the dfu stack on usb 0 > for the supported devices: > - dfu mtd for nand0 > - dfu mtd for nor0 > - dfu mmc for SDCard > - dfu mmc

Re: [U-Boot] [Uboot-stm32] [PATCH v3 11/15] stm32mp1: activate DFU support and command MTD

2019-10-23 Thread Patrice CHOTARD
Hi Patrick On 10/14/19 9:28 AM, Patrick Delaunay wrote: > Add support of DFU for MMC, MTD, RAM and MTD command. > > Signed-off-by: Patrick Delaunay > --- > > Changes in v3: None > Changes in v2: None > > configs/stm32mp15_basic_defconfig | 4 > configs/stm32mp15_optee_defconfig | 4

Re: [U-Boot] [PATCH 4/9] ram: rk3328: use common sdram driver【请注意,邮件由u-boot-boun...@lists.denx.de代发】

2019-10-23 Thread Matwey V. Kornilov
23.10.2019 11:49, Kever Yang пишет: > Matway, > > On 2019/10/23 上午1:37, Matwey V. Kornilov wrote: >> Hi, >> >> Thank you. Currently, I see the following at Rock64 SBC: >> >> U-Boot TPL 2019.10-00024-g8b580d5b93 (Oct 22 2019 - 20:29:01) >> data training error >> LPDDR3, 800MHz >> BW=32 Col=10 Bk=8

Re: [U-Boot] [PATCH 4/9] ram: rk3328: use common sdram driver【请注意,邮件由u-boot-boun...@lists.denx.de代发】

2019-10-23 Thread Kever Yang
Matway, On 2019/10/23 上午1:37, Matwey V. Kornilov wrote: Hi, Thank you. Currently, I see the following at Rock64 SBC: U-Boot TPL 2019.10-00024-g8b580d5b93 (Oct 22 2019 - 20:29:01) data training error LPDDR3, 800MHz BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB Trying to

Re: [U-Boot] [PATCH v2 3/4] image: fdt: copy possible optee nodes to a loaded devicetree

2019-10-23 Thread Heiko Stübner
Hi Patrick, Am Mittwoch, 23. Oktober 2019, 09:10:52 CEST schrieb Patrick DELAUNAY: > Hi Jens and Heiko, > > > From: U-Boot On Behalf Of Jens Wiklander > > Sent: mercredi 23 octobre 2019 08:46 > > > > On Tue, Oct 22, 2019 at 09:04:27PM +0200, Heiko Stuebner wrote: > > > From: Heiko Stuebner >

Re: [U-Boot] [PATCH v2 3/6] arm: dts: k3-j721e-mcu-wakeup: Add HyperBus Controller node

2019-10-23 Thread Vignesh Raghavendra
Hi Stefan, On 23/10/19 8:06 AM, Stefan Roese wrote: > Hi Vignesh, > > On 10.10.19 07:52, Vignesh Raghavendra wrote: [...] >> + >> +    hbmc: hyperbus@47034000 { >> +    compatible = "ti,j721e-hbmc", "ti,am654-hbmc"; >> +    reg = <0x0 0x47034000 0x0 0x100>, >> +   

[U-Boot] [PATCH v3 6/6] configs: j721e_evm_a72_defconfig: Add HBMC related configs

2019-10-23 Thread Vignesh Raghavendra
Enable HBMC and HyperFlash in A72 SPL and A72 U-Boot Signed-off-by: Vignesh Raghavendra --- v3: No change configs/j721e_evm_a72_defconfig | 12 1 file changed, 12 insertions(+) diff --git a/configs/j721e_evm_a72_defconfig b/configs/j721e_evm_a72_defconfig index

[U-Boot] [PATCH v3 4/6] arm: dts: k3-j721e-som-p0: Add HyperFlash node

2019-10-23 Thread Vignesh Raghavendra
J721e SoM as a 64MB HyperFlash on board. Add pinmux and DT node for the same. Signed-off-by: Vignesh Raghavendra --- v3: No change arch/arm/dts/k3-j721e-som-p0.dtsi | 34 +++ 1 file changed, 34 insertions(+) diff --git a/arch/arm/dts/k3-j721e-som-p0.dtsi

[U-Boot] [PATCH v3 1/6] mtd: cfi_flash: Use CONFIG_SYS_MONITOR_BASE only when defined

2019-10-23 Thread Vignesh Raghavendra
Make use of CONFIG_SYS_MONITOR_BASE only when available to avoid build error when CONFIG_SYS_MONITOR_BASE is not defined. Signed-off-by: Vignesh Raghavendra --- v3: No change v2: Make macro check consistent as pointed out by Stefan drivers/mtd/cfi_flash.c | 6 -- 1 file changed, 4

[U-Boot] [PATCH v3 5/6] configs: j721e_evm.h: Define CONFIG_SYS_MAX_FLASH_BANKS_DETECT

2019-10-23 Thread Vignesh Raghavendra
Define CONFIG_SYS_MAX_FLASH_BANKS_DETECT so that number of flash banks are automatically detected by CFI flash driver Signed-off-by: Vignesh Raghavendra --- v3: No change include/configs/j721e_evm.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/j721e_evm.h

[U-Boot] [PATCH v3 2/6] mtd: Add TI HyperBus Memory Controller driver

2019-10-23 Thread Vignesh Raghavendra
AM654/J721e has HyperBus Memory Controller that supports HyperFlash and HyperRAM devices. It provides a memory mapped interface to interact with these devices. Add a driver to support the same. Driver calibrates the controller, setups up for MMIO access and probes HyperFlash child node.

[U-Boot] [PATCH v3 0/6] J721e: Add HyperBus support

2019-10-23 Thread Vignesh Raghavendra
This series adds support for HyperBus Memory Controller of TI's J721e and AM654 SoCs. v3: Rebase onto latest master branch Vignesh Raghavendra (6): mtd: cfi_flash: Use CONFIG_SYS_MONITOR_BASE only when defined mtd: Add TI HyperBus Memory Controller driver arm: dts: k3-j721e-mcu-wakeup: Add

[U-Boot] [PATCH v3 3/6] arm: dts: k3-j721e-mcu-wakeup: Add HyperBus Controller node

2019-10-23 Thread Vignesh Raghavendra
Add DT node for HyperBus Memory Controller in the FSS. On J721e, its not possible to use OSPI0 and HBMC simultaneously as they are muxed within the Flash Subsystem hence disable HBMC by default as keep OSPI enabled. Bootloader will fixup DT when it detects HyperFlash instead of OSPI.

Re: [U-Boot] [PATCH 5/9] fastboot: rockchip: Select FASTBOOT_FLASH[_MMC_DEV]

2019-10-23 Thread Jagan Teki
On Wed, Oct 23, 2019 at 1:17 PM Kever Yang wrote: > > Jagan, > > On 2019/10/23 上午1:54, Jagan Teki wrote: > > Select CONFIG_FASTBOOT_FLASH, CONFIG_FASTBOOT_FLASH_MMC_DEV > > for rockchip SoC plaforms in fastboot Kconfig file instead > > of defined it in board defconfig. > > > > This eventually

Re: [U-Boot] [PATCH] ARM: mvebu: don't dereference null bd pointer

2019-10-23 Thread Chris Packham
On Wed, Oct 23, 2019 at 1:15 AM Stefan Roese wrote: > > Hi Chris, > > On 22.10.19 09:05, Chris Packham wrote: > > As mentioned in doc/README.arm-relocation gd->bd is not available in > > dram_init() so we shouldn't attempt to access it. > > > > Signed-off-by: Chris Packham > > --- > > > >

Re: [U-Boot] [PATCH 5/9] fastboot: rockchip: Select FASTBOOT_FLASH[_MMC_DEV]

2019-10-23 Thread Kever Yang
Jagan, On 2019/10/23 上午1:54, Jagan Teki wrote: Select CONFIG_FASTBOOT_FLASH, CONFIG_FASTBOOT_FLASH_MMC_DEV for rockchip SoC plaforms in fastboot Kconfig file instead of defined it in board defconfig. This eventually drop the explicit configs defined in supporting board defconfig files.

[U-Boot] [PATCH v3] mtd: spi: Clean up usage of CONFIG_SPI_FLASH_MTD

2019-10-23 Thread Schrempf Frieder
From: Frieder Schrempf Most boards currently use SPI_FLASH_MTD only in U-Boot proper, not in SPL. They often rely on hacks in the board header files to include this option conditionally. To be able to fix this, we previously introduced a separate option SPL_SPI_FLASH_MTD. Therefore we can now

[U-Boot] [PATCH v3 4/5] rockchip: rk3399: update SPL_STACK_R_ADDR

2019-10-23 Thread Kever Yang
Use the same SPL_STACK_R_ADDR in Kconfig instead of each board config; default to 0x400(64MB) instead of 0x8(512KB) for this address can support all the SoCs including those may have only 64MB memory, and also reserve enough space for atf, kernel(in falcon mode) loading. After the ATF

[U-Boot] [PATCH v3 5/5] rockchip: config: update CONFIG_SPL_MAX_SIZE for 64bit CPUs

2019-10-23 Thread Kever Yang
Since we move the ATF bl31 entry for 64bit CPUs to 0x4, we need to limit the SPL size in 0x4(start from 0) so that we don't need to do the relocate for ATF loading. Note that there will be separate BSS, STACK and MALLOC heap, so the size 0x4(256KB) should be enough for SPL text.

[U-Boot] [PATCH v3 3/5] rockchip: evb-px5: defconfig: no need to reserve IRAM for SPL

2019-10-23 Thread Kever Yang
We use to reserve IRAM to avoid the SPL text overlap with ATF M0 code, and when we introduce the TPL, the SPL space is in DRAM, we reserve space to avoid SPL text overlap with ATF bl31. Now we decide to move ATF entry point to 0x4 instead of 0x1000, so that the SPL can have 0x4000 as code

[U-Boot] [PATCH v3 1/5] rockchip: rk3399: defconfig: no need to reserve IRAM for SPL

2019-10-23 Thread Kever Yang
We use to reserve IRAM to avoid the SPL text overlap with ATF M0 code, and when we introduce the TPL, the SPL space is in DRAM, we reserve space to avoid SPL text overlap with ATF bl31. Now we decide to move ATF entry point to 0x4 instead of 0x1000, so that the SPL can have 0x4000 as code

[U-Boot] [PATCH v3 2/5] rockchip: rk3328: defconfig: no need to reserve IRAM for SPL

2019-10-23 Thread Kever Yang
We use to reserve IRAM to avoid the SPL text overlap with ATF M0 code, and when we introduce the TPL, the SPL space is in DRAM, we reserve space to avoid SPL text overlap with ATF bl31. Now we decide to move ATF entry point to 0x4 instead of 0x1000, so that the SPL can have 0x4000 as code

[U-Boot] [PATCH v3 0/5] rockchip: adapt SPL in first 0x40000 of DRAM to load ATF

2019-10-23 Thread Kever Yang
We use to reserve IRAM to avoid the SPL text overlap with ATF M0 code, and when we introduce the TPL, the SPL space is in DRAM, we reserve space to avoid SPL text overlap with ATF bl31. Now we decide to move ATF entry point to 0x4 instead of 0x1000, so that the SPL can have 0x4 as code

[U-Boot] [PATCH v2] mtd: spi: Clean up usage of CONFIG_SPI_FLASH_MTD

2019-10-23 Thread Schrempf Frieder
From: Frieder Schrempf Most boards currently use SPI_FLASH_MTD only in U-Boot proper, not in SPL. They often rely on hacks in the board header files to include this option conditionally. To be able to fix this, we previously introduced a separate option SPL_SPI_FLASH_MTD. Therefore we can now

Re: [U-Boot] [PATCH 3/3] mtd: spi: Clean up usage of CONFIG_SPI_FLASH_MTD

2019-10-23 Thread Stefan Roese
On 23.10.19 09:09, Jagan Teki wrote: On Wed, Oct 23, 2019 at 12:35 PM Schrempf Frieder wrote: Hi Jagan, On 22.10.19 20:16, Jagan Teki wrote: On Sat, Sep 14, 2019 at 4:14 AM Schrempf Frieder wrote: From: Frieder Schrempf Most boards currently use SPI_FLASH_MTD only in U-Boot proper, not

Re: [U-Boot] [PATCH 3/3] mtd: spi: Clean up usage of CONFIG_SPI_FLASH_MTD

2019-10-23 Thread Schrempf Frieder
On 23.10.19 09:09, Jagan Teki wrote: > On Wed, Oct 23, 2019 at 12:35 PM Schrempf Frieder > wrote: >> >> Hi Jagan, >> >> On 22.10.19 20:16, Jagan Teki wrote: >>> On Sat, Sep 14, 2019 at 4:14 AM Schrempf Frieder >>> wrote: From: Frieder Schrempf Most boards currently use

Re: [U-Boot] [PATCH 3/3] mtd: spi: Clean up usage of CONFIG_SPI_FLASH_MTD

2019-10-23 Thread Lukasz Majewski
Hi Jagan, > On Wed, Oct 23, 2019 at 12:35 PM Schrempf Frieder > wrote: > > > > Hi Jagan, > > > > On 22.10.19 20:16, Jagan Teki wrote: > > > On Sat, Sep 14, 2019 at 4:14 AM Schrempf Frieder > > > wrote: > > >> > > >> From: Frieder Schrempf > > >> > > >> Most boards currently use

Re: [U-Boot] [PATCH] spl: spl_mmc: fix getting raw_sect when boot from emmc boot partition

2019-10-23 Thread Lukasz Majewski
Hi Peng, > On i.MX8, when booting from eMMC boot partition, the whole flash.bin > is stored in boot partition, however SPL switches to user partition > during the init of mmc driver: > spl_mmc_load() -> mmc_init() > > Then it tries to load the container image in >

Re: [U-Boot] [PATCH v2 3/4] image: fdt: copy possible optee nodes to a loaded devicetree

2019-10-23 Thread Patrick DELAUNAY
Hi Jens and Heiko, > From: U-Boot On Behalf Of Jens Wiklander > Sent: mercredi 23 octobre 2019 08:46 > > On Tue, Oct 22, 2019 at 09:04:27PM +0200, Heiko Stuebner wrote: > > From: Heiko Stuebner > > > > The loading convention for optee or any other tee on arm64 is as bl32 > > parameter to the

Re: [U-Boot] [PATCH 3/3] mtd: spi: Clean up usage of CONFIG_SPI_FLASH_MTD

2019-10-23 Thread Schrempf Frieder
Hi Jagan, On 22.10.19 20:16, Jagan Teki wrote: > On Sat, Sep 14, 2019 at 4:14 AM Schrempf Frieder > wrote: >> >> From: Frieder Schrempf >> >> Most boards currently use SPI_FLASH_MTD only in U-Boot proper, not in >> SPL. They often rely on hacks in the board header files to include >> this

Re: [U-Boot] [PATCH 3/3] mtd: spi: Clean up usage of CONFIG_SPI_FLASH_MTD

2019-10-23 Thread Jagan Teki
On Wed, Oct 23, 2019 at 12:35 PM Schrempf Frieder wrote: > > Hi Jagan, > > On 22.10.19 20:16, Jagan Teki wrote: > > On Sat, Sep 14, 2019 at 4:14 AM Schrempf Frieder > > wrote: > >> > >> From: Frieder Schrempf > >> > >> Most boards currently use SPI_FLASH_MTD only in U-Boot proper, not in > >>

Re: [U-Boot] [PATCH v5 00/19] efi_loader: non-volatile variables support

2019-10-23 Thread AKASHI Takahiro
Wolfgang, This is my second ping. Could you please take time to review this patch? -Takahiro Akashi On Tue, Oct 01, 2019 at 03:28:31PM +0900, AKASHI Takahiro wrote: > Wolfgang, > > I haven't seen any comments from you in the last one month. > Could you please take time to review this patch?

Re: [U-Boot] [PATCH 2/3] stm32mp1: configs: Add CONFIG_SPL_SPI_FLASH_MTD

2019-10-23 Thread Schrempf Frieder
Hi Jagan, On 22.10.19 20:10, Jagan Teki wrote: > On Tue, Oct 22, 2019 at 6:23 PM Schrempf Frieder > wrote: >> >> Hi Jagan, >> >> On 17.10.19 08:42, Frieder Schrempf wrote: >>> Hi Jagan, >>> >>> On 16.10.19 18:34, Jagan Teki wrote: On Sat, Sep 14, 2019 at 4:18 AM Schrempf Frieder

Re: [U-Boot] [PATCH v2 3/4] image: fdt: copy possible optee nodes to a loaded devicetree

2019-10-23 Thread Jens Wiklander
On Tue, Oct 22, 2019 at 09:04:27PM +0200, Heiko Stuebner wrote: > From: Heiko Stuebner > > The loading convention for optee or any other tee on arm64 is as bl32 > parameter to the trusted-firmware. So TF-A gets invoked with the TEE as > bl32 and main u-boot as bl33. Once it has done its startup

Re: [U-Boot] [PATCH v1 00/11] import x509/pkcs7 parsers from linux

2019-10-23 Thread AKASHI Takahiro
Tom, On Fri, Oct 18, 2019 at 08:35:23AM -0400, Tom Rini wrote: > On Fri, Oct 18, 2019 at 05:36:28PM +0900, AKASHI Takahiro wrote: > > Hi Tom, > > > > On Thu, Oct 17, 2019 at 11:23:21AM -0400, Tom Rini wrote: > > > On Tue, Oct 15, 2019 at 06:25:19PM +0900, AKASHI Takahiro wrote: > > > > On Tue,

Re: [U-Boot] [PATCH v3 01/20] arch: powerpc: add eSDHC node to p1020 dts

2019-10-23 Thread Yinbo Zhu
-Original Message- From: Priyanka Jain Sent: 2019年10月23日 12:29 To: Yinbo Zhu ; Wolfgang Denk ; Shengzhou Liu ; u-boot@lists.denx.de Cc: Yinbo Zhu ; Xiaobo Xie ; Jiafei Pan ; Prabhakar X ; Bin Meng ; Simon Goldschmidt ; Adam Ford ; Patrick Delaunay ; Jeremy Gebben ; Joe Hershberger

<    1   2   3