[PATCH] cmd: mbr: Allow 4 MBR partitions without need for extended

2023-10-06 Thread Alexander Gendin
Current code allows up to 3 MBR partitions without extended one. If more than 3 partitions are required, then extended partition(s) must be used. This commit allows up to 4 primary MBR partitions without the need for extended partition. Add mbr test unit. In order to use the test, mmc1.img file

[PATCH 1/1] [u-boot][master][PATCH v5] pico-imx7d: add baseboard SD card boot detect

2023-10-06 Thread egyszeregy
From: Benjamin Szőke Take over codes from Techenxion to support mmc autodetect boot for pico-imx7d. Signed-off-by: Benjamin Szőke --- board/technexion/pico-imx7d/pico-imx7d.c | 57 +++ board/technexion/pico-imx7d/spl.c| 91 ++--

[RESEND PATCH] bootstd: sata: bootdev scanning for ahci sata with no drive attached

2023-10-06 Thread Tony Dinh
It's normal to have no SATA drive attached to the controller, so return a successful status when there is no block device found after probing. Note: this patch depends on the previous patch https://patchwork.ozlabs.org/project/uboot/patch/20230917230649.30357-1-mibo...@gmail.com/ Resend the

Re: [PATCH 2/2] configs: rockchip: rk3308: enable CONFIG_OF_LIBFDT_OVERLAY

2023-10-06 Thread Kever Yang
On 2023/9/11 18:01, FUKAUMI Naoki wrote: enable CONFIG_OF_LIBFDT_OVERLAY and use it on Radxa ROCK Pi S. Signed-off-by: FUKAUMI Naoki Reviewed-by: Kever Yang Thanks, - Kever --- configs/rock-pi-s-rk3308_defconfig | 1 + include/configs/rk3308_common.h| 1 + 2 files changed, 2

Re: [PATCH 1/2] configs: rockchip: rk3308: use CONFIG_DEFAULT_FDT_FILE

2023-10-06 Thread Kever Yang
On 2023/9/11 18:01, FUKAUMI Naoki wrote: all rk3308 boards should use their own dtb file. also, change fdt_addr_r to avoid following error: "ERROR: Did not find a cmdline Flattened Device Tree" it happens on Radxa ROCK Pi S (256MB/512MB) with kernel built from Radxa BSP. Signed-off-by:

Re: [PATCH v2 2/2] arm: dts: rockchip: rock-5b: add support for PCIe3 and NVMe

2023-10-06 Thread Kever Yang
On 2023/9/5 19:47, FUKAUMI Naoki wrote: this patch adds support for PCIe3 (M.2 M key) and enables NVMe. => pci BusDevFun VendorId DeviceId Device Class Sub-Class _ 00.00.00 0x1d87 0x3588 Bridge device

Re: [PATCH v2 1/2] arm: dts: rockchip: sync DT for RK3588 series with Linux

2023-10-06 Thread Kever Yang
On 2023/9/5 19:47, FUKAUMI Naoki wrote: Sync the device tree for RK3588 series with Linux 6.6-rc1. Signed-off-by: FUKAUMI Naoki Reviewed-by: Kever Yang Thanks, - Kever --- .../dts/rk3588-edgeble-neu6a-io-u-boot.dtsi | 1 - arch/arm/dts/rk3588-edgeble-neu6a.dtsi| 1 -

Re: [PATCH] board: rockchip: add Pine64 QuartzPro64 RK3588 board

2023-10-06 Thread Kever Yang
Hi Tom,     Please add the info about where is the dts from in you v2, eg. a tag in mainline kernel. Thanks, - Kever On 2023/10/3 23:34, Tom Fitzhenry wrote: Tom Fitzhenry writes: QuartzPro64 is a Rockchip RK3588 based SBC by Pine64. UART and booting over SD card are tested to work.

Re: [PATCH] bootstd: sata: bootdev scanning for ahci sata with no drive attached

2023-10-06 Thread Tony Dinh
On Fri, Oct 6, 2023 at 5:49 PM Tony Dinh wrote: > > It's normal to have no SATA drive attached to the controller, so return a > successful status when there is no block device found after probing. > > Note: this patch depends on the previous patch >

Re: [PATCH] configs: rockchip: rock-pi-s: use default bootdelay (2s)

2023-10-06 Thread Kever Yang
On 2023/9/11 18:05, FUKAUMI Naoki wrote: align with other boards. Signed-off-by: FUKAUMI Naoki Reviewed-by: Kever Yang Thanks, - Kever --- configs/rock-pi-s-rk3308_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/rock-pi-s-rk3308_defconfig

Re: [PATCH v2] configs: rockchip: add DOS_PARTITION to RK3308 boards defconfig

2023-10-06 Thread Kever Yang
On 2023/10/1 22:15, Massimo Pegorer wrote: Without DOS_PARTITION support U-Boot is not able to boot an OS stored into an SD card with MBR partitions table. This is still a quite common case so add DOS_PARTITION (only for U-Boot proper build) to Rockchip RK3308 EVB, Radxa ROCK Pi S and Firefly

Re: [PATCH 05/25] treewide: Correct use of long help

2023-10-06 Thread Tom Rini
On Fri, Oct 06, 2023 at 04:42:44PM -0600, Simon Glass wrote: > Hi Tom, > > On Fri, 6 Oct 2023 at 10:55, Tom Rini wrote: > > > > On Fri, Oct 06, 2023 at 07:03:17AM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Thu, 5 Oct 2023 at 20:16, Tom Rini wrote: > > > > > > > > On Thu, Oct 05,

[PATCH] bootstd: sata: bootdev scanning for ahci sata with no drive attached

2023-10-06 Thread Tony Dinh
It's normal to have no SATA drive attached to the controller, so return a successful status when there is no block device found after probing. Note: this patch depends on the previous patch https://patchwork.ozlabs.org/project/uboot/patch/20230917230649.30357-1-mibo...@gmail.com/ Signed-off-by:

Re: [PATCH v7 2/2] schemas: Add some common reserved-memory usages

2023-10-06 Thread Simon Glass
Hi Ard, On Fri, 6 Oct 2023 at 17:00, Ard Biesheuvel wrote: > > On Fri, 6 Oct 2023 at 20:17, Simon Glass wrote: > > > > Hi Ard, > > > > On Fri, 6 Oct 2023 at 11:33, Ard Biesheuvel wrote: > > > > > > On Mon, 2 Oct 2023 at 19:54, Simon Glass wrote: > > > > > > > > Hi Rob, > > > > > > > > On Tue,

Re: [PATCH v7 2/2] schemas: Add some common reserved-memory usages

2023-10-06 Thread Ard Biesheuvel
On Fri, 6 Oct 2023 at 20:17, Simon Glass wrote: > > Hi Ard, > > On Fri, 6 Oct 2023 at 11:33, Ard Biesheuvel wrote: > > > > On Mon, 2 Oct 2023 at 19:54, Simon Glass wrote: > > > > > > Hi Rob, > > > > > > On Tue, 26 Sept 2023 at 13:42, Simon Glass wrote: > > > > > > > > It is common to split

Re: [PATCH 05/25] treewide: Correct use of long help

2023-10-06 Thread Simon Glass
Hi Tom, On Fri, 6 Oct 2023 at 10:55, Tom Rini wrote: > > On Fri, Oct 06, 2023 at 07:03:17AM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 5 Oct 2023 at 20:16, Tom Rini wrote: > > > > > > On Thu, Oct 05, 2023 at 07:41:49PM -0600, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Thu,

Re: [RESEND PATCH v3 0/3] rpi: Convert to standard boot

2023-10-06 Thread Simon Glass
Hi Peter, On Fri, 6 Oct 2023 at 03:22, Peter Robinson wrote: > > Hi Simon, > > So with more testing of 2023.10 in Fedora we found a regression where > the display dies when the vc4 module loads in the kernel. With further > debug it was found that it was due to the new U-Boot and with >

[PATCH] cli: Consume invalid escape sequences early

2023-10-06 Thread Yurii Monakov
This commit fixes some issues with extra 'Esc' keys entered by user: 1. Sequence right after autoboot stop gives: => nknown command 'ry 'help' => 2. Sequence gives: => ri Unknown command 'ri' - try 'help' => 3. Extra 'Esc' key presses break backspace functionality. Signed-off-by: Yurii Monakov

Re: [PATCH 5/7] net: dwc_eth_qos_rockchip: Add support for RK3588

2023-10-06 Thread Tom Fitzhenry
Tested to work (DHCP, ping) on RK3588 QuartzPro64 (DTS coming soon!), thanks! Tested-by: Tom Fitzhenry

[PATCH] net: phy: TI DP83869 fix invalid clock delay configuration

2023-10-06 Thread Frank de Brabander
Setting the clock delay from the device tree settings rx-internal-delay-ps and tx-internal-delay-ps was broken: - The expected value in the device tree is suppose to be a delay in picoseconds, but the driver only allowed an array index. - Driver converted this array index to the actual delay

Re: [PATCH] sphinx: Bump urllib3 version

2023-10-06 Thread Tom Rini
On Fri, Oct 06, 2023 at 09:50:20PM +0200, Heinrich Schuchardt wrote: > On 10/6/23 03:41, Simon Glass wrote: > > On Thu, 5 Oct 2023 at 10:27, Tom Rini wrote: > > > > > > While not a direct issue for us, urllib3 before 1.26.17 is vulnerable to > > > CVE-2023-43804 to bump our version up. > > The

Re: [PATCH 18/25] net: Depend on CONFIG_CMDLINE

2023-10-06 Thread Ramon Fried
On Sun, Sep 24, 2023 at 11:40 PM Simon Glass wrote: > > At present it isn't possible to use networking without the command line > enabled. Add this as a condition. > > Signed-off-by: Simon Glass > --- > > cmd/Kconfig | 1 + > net/Kconfig | 1 + > 2 files changed, 2 insertions(+) > > diff --git

Re: [PATCH v5 2/7] net: wget: add wget with dns utility function

2023-10-06 Thread Ramon Fried
On Wed, Sep 27, 2023 at 12:37 PM Masahisa Kojima wrote: > > Current wget takes the target uri in this format: > ":" e.g.) 192.168.1.1:/bar > The http server ip address must be resolved before > calling wget. > > This commit adds the utility function runs wget with dhs. > User can call wget with

Re: [PATCH v5 1/7] net: wget: prevent overwriting reserved memory

2023-10-06 Thread Ramon Fried
On Wed, Sep 27, 2023 at 12:37 PM Masahisa Kojima wrote: > > This introduces the valid range check to store the received > blocks using lmb. The same logic is implemented in tftp. > > Signed-off-by: Masahisa Kojima > Acked-by: Ilias Apalodimas > Reviewed-by: Simon Glass > --- > net/wget.c | 80

Re: [PATCH v2 5/7] net: dwc_eth_qos_rockchip: Add support for RK3588

2023-10-06 Thread Ramon Fried
On Sun, Oct 1, 2023 at 10:17 PM Jonas Karlman wrote: > > Add rk_gmac_ops and other special handling that is needed for GMAC to > work on RK3588. > > rk_gmac_ops was ported from linux commits: > 2f2b60a0ec28 ("net: ethernet: stmmac: dwmac-rk: Add gmac support for rk3588") > 88619e77b33d ("net:

Re: [PATCH v2 4/7] net: dwc_eth_qos: Add glue driver for GMAC on Rockchip RK3568

2023-10-06 Thread Ramon Fried
On Sun, Oct 1, 2023 at 10:17 PM Jonas Karlman wrote: > > Add a new glue driver for Rockchip SoCs, i.e RK3568, with a GMAC based > on Synopsys DWC Ethernet QoS IP. > > rk_gmac_ops was ported from linux commit: > 3bb3d6b1c195 ("net: stmmac: Add RK3566/RK3568 SoC support") > > Signed-off-by: Jonas

Re: [PATCH v2 3/7] net: dwc_eth_qos: Stop spam of RX packet not available message

2023-10-06 Thread Ramon Fried
On Sun, Oct 1, 2023 at 10:17 PM Jonas Karlman wrote: > > Remove spam of RX packet not available debug messages when waiting to > receive a packet. > > Signed-off-by: Jonas Karlman > Reviewed-by: Kever Yang > --- > v2: > - Collect r-b tag > > drivers/net/dwc_eth_qos.c | 8 +++- > 1 file

Re: [PATCH v2 2/7] net: dwc_eth_qos: Return error code when start fails

2023-10-06 Thread Ramon Fried
On Sun, Oct 1, 2023 at 10:17 PM Jonas Karlman wrote: > > Return error code when phy_connect fails or no link can be established. > > Signed-off-by: Jonas Karlman > Reviewed-by: Kever Yang > --- > v2: > - Collect r-b tag > > drivers/net/dwc_eth_qos.c | 2 ++ > 1 file changed, 2 insertions(+) >

Re: [PATCH v2 1/7] net: dwc_eth_qos: Drop unused rx_pkt from eqos_priv

2023-10-06 Thread Ramon Fried
On Sun, Oct 1, 2023 at 10:17 PM Jonas Karlman wrote: > > rx_pkt is allocated and not used for anything, remove it. > > Signed-off-by: Jonas Karlman > Reviewed-by: Kever Yang > --- > v2: > - Collect r-b tag > > drivers/net/dwc_eth_qos.c | 11 --- > drivers/net/dwc_eth_qos.h | 1 - > 2

Re: [PATCH] net: ftgmac100: Add reset control

2023-10-06 Thread Ramon Fried
On Thu, Jul 27, 2023 at 4:58 AM Dylan Hung wrote: > > Add optional reset control, especially for the Aspeed SOC. For the > hardware without a reset line, the reset assertion/deassertion will be > skipped. > > Signed-off-by: Dylan Hung > --- > drivers/net/ftgmac100.c | 12 > 1 file

Re: [PATCH] net: phy: TI DP83869 fix invalid clock delay configuration

2023-10-06 Thread Ramon Fried
On Fri, Oct 6, 2023 at 3:24 PM Frank de Brabander wrote: > > Setting the clock delay from the device tree settings > rx-internal-delay-ps and tx-internal-delay-ps was broken: > > - The expected value in the device tree is suppose to be a >delay in picoseconds, but the driver only allowed an

Re: [PATCH] test/py: net: Add a test for 'pxe get' command

2023-10-06 Thread Ramon Fried
On Tue, Oct 3, 2023 at 4:12 PM Love Kumar wrote: > > Execute the 'pxe get' command to download a pxe configuration file from > the TFTP server and validate its interpretation. > > Signed-off-by: Love Kumar > --- > test/py/tests/test_net.py | 66 +++ > 1 file

Re: [PATCH] test/py: net: Add dhcp abort test

2023-10-06 Thread Ramon Fried
On Tue, Oct 3, 2023 at 3:46 PM Love Kumar wrote: > > Abort the dhcp request in the middle by pressing ctrl + c on u-boot > prompt and validate the abort status. > > Signed-off-by: Love Kumar > --- > test/py/tests/test_net.py | 44 +++ > 1 file changed, 44

Re: [PATCH] test/py: net: Add a TFTP put test

2023-10-06 Thread Ramon Fried
On Tue, Oct 3, 2023 at 12:02 PM Love Kumar wrote: > > Execute tftpput command for uploading files to a server and validate its > size & CRC32. > > Signed-off-by: Love Kumar > --- > test/py/tests/test_net.py | 69 +++ > 1 file changed, 69 insertions(+) > >

Re: [PATCH] sphinx: Bump urllib3 version

2023-10-06 Thread Heinrich Schuchardt
On 10/6/23 03:41, Simon Glass wrote: On Thu, 5 Oct 2023 at 10:27, Tom Rini wrote: While not a direct issue for us, urllib3 before 1.26.17 is vulnerable to CVE-2023-43804 to bump our version up. The same bug is also fixed in 2.0.6. Why should we stick with the old series? I could not see any

Re: [PATCH v7 2/2] schemas: Add some common reserved-memory usages

2023-10-06 Thread Simon Glass
Hi Ard, On Fri, 6 Oct 2023 at 11:33, Ard Biesheuvel wrote: > > On Mon, 2 Oct 2023 at 19:54, Simon Glass wrote: > > > > Hi Rob, > > > > On Tue, 26 Sept 2023 at 13:42, Simon Glass wrote: > > > > > > It is common to split firmware into 'Platform Init', which does the > > > initial hardware setup

Re: [PATCH v7 2/2] schemas: Add some common reserved-memory usages

2023-10-06 Thread Ard Biesheuvel
On Mon, 2 Oct 2023 at 19:54, Simon Glass wrote: > > Hi Rob, > > On Tue, 26 Sept 2023 at 13:42, Simon Glass wrote: > > > > It is common to split firmware into 'Platform Init', which does the > > initial hardware setup and a "Payload" which selects the OS to be booted. > > Thus an handover

Re: [PATCH 05/25] treewide: Correct use of long help

2023-10-06 Thread Tom Rini
On Fri, Oct 06, 2023 at 07:03:17AM -0600, Simon Glass wrote: > Hi Tom, > > On Thu, 5 Oct 2023 at 20:16, Tom Rini wrote: > > > > On Thu, Oct 05, 2023 at 07:41:49PM -0600, Simon Glass wrote: > > > Hi Tom, > > > > > > On Thu, 5 Oct 2023 at 08:53, Tom Rini wrote: > > > > > > > > On Wed, Oct 04,

Re: [RFC PATCH 2/2] board: ti: am65x: Move to using Extension framework

2023-10-06 Thread Simon Glass
Hi Köry, On Fri, 6 Oct 2023 at 07:26, Köry Maincent wrote: > > On Wed, 4 Oct 2023 15:39:23 +0300 > Roger Quadros wrote: > > Hello, > Thanks for adding me in cc. Also it seems I forgot to add myself to > MAINTAINERS > for the extension_board.c file. > > > >>> Before this goes too far I think

Re: [PATCH v2 1/3] dt-bindings: mtd: fixed-partitions: Add binman compatible

2023-10-06 Thread Rob Herring
On Fri, Oct 06, 2023 at 10:37:41AM +0200, Michael Walle wrote: > Hi, > > > > I'm still not sure why that compatible is needed. Also I'd need to > > > change > > > the label which might break user space apps looking for that specific > > > name. > > > > > > Also, our board might have u-boot/spl

Re: [RFC PATCH 2/2] board: ti: am65x: Move to using Extension framework

2023-10-06 Thread Roger Quadros
On 06/10/2023 16:26, Köry Maincent wrote: > On Wed, 4 Oct 2023 15:39:23 +0300 > Roger Quadros wrote: > > Hello, > Thanks for adding me in cc. Also it seems I forgot to add myself to > MAINTAINERS > for the extension_board.c file. > > Before this goes too far I think this should move to

Re: [RFC PATCH 2/2] board: ti: am65x: Move to using Extension framework

2023-10-06 Thread Köry Maincent
On Wed, 4 Oct 2023 15:39:23 +0300 Roger Quadros wrote: Hello, Thanks for adding me in cc. Also it seems I forgot to add myself to MAINTAINERS for the extension_board.c file. > >>> Before this goes too far I think this should move to using a linker > >>> list to declare the driver (or a

Re: [PATCH 05/25] treewide: Correct use of long help

2023-10-06 Thread Simon Glass
Hi Tom, On Thu, 5 Oct 2023 at 20:16, Tom Rini wrote: > > On Thu, Oct 05, 2023 at 07:41:49PM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Thu, 5 Oct 2023 at 08:53, Tom Rini wrote: > > > > > > On Wed, Oct 04, 2023 at 07:23:47PM -0600, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Sun,

RE: [PATCH 16/16] board: rzg2l: Add RZ/G2L SMARC EVK board

2023-10-06 Thread Biju Das
Hi Paul, > Subject: Re: [PATCH 16/16] board: rzg2l: Add RZ/G2L SMARC EVK board > > On 03/10/2023 14:36, Marek Vasut wrote: > > On 9/20/23 14:42, Paul Barker wrote: > >> The Renesas RZ/G2L SMARC Evaluation Board Kit consists of the RZ/G2L > >> System-on-Module (SOM) based on the R9A07G044L2 SoC,

Re: [PATCH v2 1/3] dt-bindings: mtd: fixed-partitions: Add binman compatible

2023-10-06 Thread Simon Glass
Hi Michael, On Fri, 6 Oct 2023 at 02:37, Michael Walle wrote: > > Hi, > > >> I'm still not sure why that compatible is needed. Also I'd need to > >> change > >> the label which might break user space apps looking for that specific > >> name. > >> > >> Also, our board might have u-boot/spl or

[PATCH] xilinx: Enable DNS/WGET and BLKMAP for http boot

2023-10-06 Thread Michal Simek
Enable DNS/WGET and BLKMAP to be able to download images over HTTP and map them. Signed-off-by: Michal Simek --- Can be applied on v5 version of this when this is fixed https://lore.kernel.org/all/cc0cff36-359a-4c3b-9ba6-bce083435...@amd.com/ --- configs/xilinx_versal_net_virt_defconfig | 3

Re: [PATCH 1/1] riscv: remove dram_init_banksize()

2023-10-06 Thread Anup Patel
On Tue, Sep 26, 2023 at 12:47 PM Heinrich Schuchardt wrote: > > Remove dram_init_banksize() on the architecture level. > > Limiting used RAM to under 4 GiB is only necessary for CPUs which have a > DMA issue. SoC specific code already exists for FU540, FU740, JH7110. > > Not all RISC-V boards

[PATCH RESEND 7/7] riscv: spl: andes: Move the DTB in front of kernel

2023-10-06 Thread Randolph
Originally, u-boot SPL will place the DTB directly after the kernel, but the size of the kernel does not include the BSS section, This means that u-boot SPL places the DTB in the kernel BSS section causing the DTB to be cleared by the kernel BSS initialisation. Moving the DTB in front of the

[PATCH RESEND 6/7] andes: config: add riscv falcon mode for ae350 platform

2023-10-06 Thread Randolph
Fork from ae350_rv[32/64]_spl_[xip]_defconfig and append CONFIG_SPL_LOAD_FIT_OPENSBI_OS_BOOT=y Signed-off-by: Randolph --- configs/ae350_rv32_falcon_defconfig | 60 configs/ae350_rv32_falcon_xip_defconfig | 61 +

[PATCH RESEND 5/7] spl: riscv: add os type for next booting stage

2023-10-06 Thread Randolph
If SPL_LOAD_FIT_OPENSBI_OS_BOOT is enabled, the function spl_invoke_opensbi should change the target OS type to IH_OS_LINUX. OpenSBI will load the Linux image as the next boot stage. The os_takes_devicetree function returns a value of true or false depending on whether or not

[PATCH RESEND 4/7] riscv: dts: introduce SPL_LOAD_FIT_OPENSBI_OS_BOOT symbol

2023-10-06 Thread Randolph
Introduce common Kconfig symbol for riscv architecture. This symbol SPL_LOAD_FIT_OPENSBI_OS_BOOT is like falcon mode on ARM, the Falcon boot is a shortcut boot method for SD/eMMC targets. It skips the loading the RAM version U-Boot. Instead, it will loads the FIT image and boots directly to Linux.

[PATCH RESEND 3/7] spl: riscv: opensbi: change the default os_type as varible

2023-10-06 Thread Randolph
In order to introduce the Opensbi OS boot mode, the next stage boot image of OpenSBI should be configurable. Signed-off-by: Randolph --- common/spl/spl_opensbi.c | 26 -- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/common/spl/spl_opensbi.c

[PATCH RESEND 2/7] riscv: dts: add binman_linux.dtsi for opensbi os boot mode

2023-10-06 Thread Randolph
The binman_linux.dtsi is a fork of binman.dtsi, just change the first section image from the "u-boot" to "linux". Note that the filename is also changed. In binman.dtsi, the filename of u-boot section filename is called "u-boot-nodtb.bin". In binman_linux.dtsi, the filename should be called

[PATCH RESEND 1/7] riscv: dts: Introduce SPL_LOAD_FIT_CONFIG symbol

2023-10-06 Thread Randolph
Introduce common Kconfig symbol for riscv architecture This symbol SPL_LOAD_FIT_CONFIG for binman itb layout selection Default is using binman.dtsi Signed-off-by: Randolph --- arch/riscv/Kconfig | 7 +++ arch/riscv/dts/ae350-u-boot.dtsi | 1 + arch/riscv/dts/ae350_32.dts

[PATCH RESEND 0/7] riscv: spl: OpenSBI OS boot mode

2023-10-06 Thread Randolph
Introduce a shortcut boot mode for RISC-V. As we know, in ARM architecture has the Falcon mode to do the shortcut boot to the Linux kernel. (by enabling CONFIG_SPL_OS_BOOT) ARM Falcon mode boot flow would be as follows: u-boot SPL -> Linux kernel But for RISC-V, OpenSBI is required to allows

Re: [PATCH v5 3/7] blk: blkmap: add ramdisk creation utility function

2023-10-06 Thread Michal Simek
On 9/27/23 11:36, Masahisa Kojima wrote: User needs to call several functions to create the ramdisk with blkmap. This adds the utility function to create blkmap device and mount the ramdisk. Signed-off-by: Masahisa Kojima Reviewed-by: Simon Glass Reviewed-by: Ilias Apalodimas ---

Re: [PATCH v7 2/7] Revert "arm: dts: k3-j7*: ddr: Update to 0.10 version of DDR config tool"

2023-10-06 Thread Nishanth Menon
On 10:15-20231006, Manorit Chawdhry wrote: > The update causes instability in am68-sk boards so revert the patch in > the meantime till fix is available. > > This reverts commit f1edf4bb6aa19732574ac23ca90cb9a0ba395ec1. > > Signed-off-by: Manorit Chawdhry > --- > arch/

Re: [PATCH v4 02/16] arm: mach-k3: Add basic support for J784S4 SoC definition

2023-10-06 Thread Nishanth Menon
On 09:46-20231006, Manorit Chawdhry wrote: > Hi Nishanth, > > On 06:26-20231005, Nishanth Menon wrote: > > On 10:29-20231005, Manorit Chawdhry wrote: > > > Hi Nishanth, > > > > > > On 07:24-20231004, Nishanth Menon wrote: > &g

[PATCH v3 2/2] DONOTMERGE: arm: dts: k3-j7200-binman: Enable split mode for MCU R5

2023-10-06 Thread Neha Malcom Francis
Set boot core-opts to enable split mode for MCU R5 cluster by default. This patch serves to demonstrate how this can be done. Signed-off-by: Neha Malcom Francis --- No change since v2 arch/arm/dts/k3-j7200-binman.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH v3 1/2] binman: openssl: x509: ti_secure_rom: Add support for bootcore_opts

2023-10-06 Thread Neha Malcom Francis
According to the TRMs of K3 platform of devices, the ROM boot image format specifies a "Core Options Field" that provides the capability to set the boot core in lockstep when set to 0 or to split mode when set to 2. Add support for providing the same from the binman DTS. Also modify existing test

[PATCH v3 0/2] Enable split mode in binman

2023-10-06 Thread Neha Malcom Francis
This series extends the functionality of ti-secure-rom entry type in binman to support enabling of split mode vs. the default lockstep mode via changing the field in the x509 certificate. A DONOTMERGE patch is added to give an example of how this can be done via the binman.dtsi Changes in v3:

Re: [PATCH 1/2] board: ti: am62x: am62x.env: Fix boot_targets

2023-10-06 Thread Roger Quadros
Hi Simon, On 05/10/2023 20:22, Simon Glass wrote: > Hi Nishanth, > > On Thu, 5 Oct 2023 at 11:16, Nishanth Menon wrote: >> >> On 12:10-20231005, Nishanth Menon wrote: >>> On 12:36-20231005, Tom Rini wrote: On Thu, Oct 05, 2023 at 09:19:48AM -0500, Andrew Davis wrote: > On 10/4/23 8:54

Re: [PATCH v2 2/2] board: ti: am64x: Switch to standard boot flow

2023-10-06 Thread Roger Quadros
Hi Simon, On 05/10/2023 20:22, Simon Glass wrote: > Hi Tom, > > On Thu, 5 Oct 2023 at 10:31, Tom Rini wrote: >> >> On Thu, Oct 05, 2023 at 09:01:42AM -0600, Simon Glass wrote: >>> Hi Roger, >>> >>> On Thu, 5 Oct 2023 at 07:07, Roger Quadros wrote: Switch to using bootstd. Note with

Re: [RESEND PATCH v3 0/3] rpi: Convert to standard boot

2023-10-06 Thread Peter Robinson
Hi Simon, So with more testing of 2023.10 in Fedora we found a regression where the display dies when the vc4 module loads in the kernel. With further debug it was found that it was due to the new U-Boot and with bisecting it myself I have found this series is the cause of the regression. The

Re: [PATCH] arm: dts: k3-j721e-sk/common-proc-board: Fix boot

2023-10-06 Thread Roger Quadros
On 05/10/2023 21:15, Nishanth Menon wrote: > Since commit 9e644284ab81 ("dm: core: Report bootph-pre-ram/sram node > as pre-reloc after relocation") A53 u-boot proper is broken. This is > because nodes marked as 'bootph-pre-ram' are not available at u-boot > proper before relocation. > > To

Re: [PATCH v2 1/2] binman: openssl: x509: ti_secure_rom: Add support for bootcore_opts

2023-10-06 Thread Neha Malcom Francis
Hi Simon On 02/10/23 06:46, Simon Glass wrote: Hi Neha, On Tue, 26 Sept 2023 at 22:08, Neha Malcom Francis wrote: According to the TRMs of K3 platform of devices, the ROM boot image format specifies a "Core Options Field" that provides the capability to set the boot core in lockstep when

Re: [PATCH v2 1/3] dt-bindings: mtd: fixed-partitions: Add binman compatible

2023-10-06 Thread Michael Walle
Hi, I'm still not sure why that compatible is needed. Also I'd need to change the label which might break user space apps looking for that specific name. Also, our board might have u-boot/spl or u-boot/spl/bl31/bl32, right now that's something which depends on an u-boot configuration

Re: [PATCH] arm: mach-k3: Remove secure device makefile

2023-10-06 Thread Neha Malcom Francis
Hi Andrew On 05/10/23 19:51, Andrew Davis wrote: This is now done using binman but this file was leftover and is now unused, remove it. Signed-off-by: Andrew Davis Reviewed-by: Neha Malcom Francis --- MAINTAINERS | 1 - arch/arm/mach-k3/config_secure.mk | 44