[PATCH v2] rockchip: load env from boot MMC device

2024-03-07 Thread Ben Wolsieffer
simply moves it to the common Rockchip board file, with some refactoring. I also removed another implementation of mmc_get_env_dev() from tinker_rk3288 that performed MMC boot device detection by reading a bootrom register. This has been tested on a Rock64v2. Signed-off-by: Ben Wolsieffer --- v2

Re: [PATCH] rockchip: load env from boot MMC device

2024-03-07 Thread Ben Wolsieffer
Hi Quentin, On Mon, Feb 26, 2024 at 12:26:59PM +0100, Quentin Schulz wrote: > Hi Ben, > > On 2/26/24 02:14, Ben Wolsieffer wrote: > > [Some people who received this message don't often get email from > > benwolsief...@gmail.com. Learn why this is import

[PATCH] rockchip: load env from boot MMC device

2024-02-25 Thread Ben Wolsieffer
simply moves it to the common Rockchip board file, with some refactoring. I also removed another implementation of mmc_get_env_dev() from tinker_rk3288 that performed MMC boot device detection by reading a bootrom register. This has been tested on a Rock64v2. Signed-off-by: Ben Wolsieffer --- arch

Re: [PATCH] rockchip: rock64: store env in SPI flash

2024-02-25 Thread Ben Wolsieffer
() as is done for the tinker-rk3288 board. > > вс, 25 февр. 2024 г. в 02:52, Ben Wolsieffer : > > > > Currently, U-Boot attempts to store the environment in MMC 0, which > > doesn't work when an eMMC is used without an SD card. There is an SPI > > flash chip on

[PATCH] rockchip: rock64: store env in SPI flash

2024-02-24 Thread Ben Wolsieffer
ff-by: Ben Wolsieffer --- configs/rock64-rk3328_defconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configs/rock64-rk3328_defconfig b/configs/rock64-rk3328_defconfig index 0297d09876..589e5184ca 100644 --- a/configs/rock64-rk3328_defconfig +++ b/configs/rock64-rk3328_defc

Re: [PATCH] arm: rpi: explicitly enumerate mmc boot targets

2023-10-08 Thread Ben Wolsieffer
Hi Peter, On Sun, Oct 08, 2023 at 07:21:57PM +0100, Peter Robinson wrote: > On Sat, Oct 7, 2023 at 4:55 PM Ben Wolsieffer wrote: > > > > Using the unqualified "mmc" boot target causes the Raspberry Pi 4 to > > fail to boot. c771e5b explains this approach as foll

Re: [PATCH] arm: rpi: explicitly enumerate mmc boot targets

2023-10-08 Thread Ben Wolsieffer
Hi Simon, On Sat, Oct 07, 2023 at 02:18:48PM -0600, Simon Glass wrote: > Hi Ben, > > On Sat, 7 Oct 2023 at 09:55, Ben Wolsieffer wrote: > > > > Using the unqualified "mmc" boot target causes the Raspberry Pi 4 to > > fail to boot. c771e5b explains this ap

[PATCH] arm: rpi: explicitly enumerate mmc boot targets

2023-10-07 Thread Ben Wolsieffer
er boards, and allows the system to boot successfully. Fixes: c771e5b8c2 ("arm: rpi: Switch to standard boot") Signed-off-by: Ben Wolsieffer --- board/raspberrypi/rpi/rpi.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/raspberrypi/rpi/rpi.env b/boar

Re: [PATCH] odroid_xu3: Fix board environment variable

2023-08-08 Thread Ben Wolsieffer
On Wed, Jun 08, 2022 at 02:30:14PM -0400, Tom Rini wrote: > When migrating CONFIG_CONS_INDEX to Kconfig, on this platform we changed > what "board" evaluated to in the environment. This in turn meant that > we would no longer try and find the correct fdtfile via the normal > distro boot logic. Fi

[PATCH] arm: disable FDPIC ABI

2022-08-01 Thread Ben Wolsieffer
When building with an arm-*-uclinuxfdpiceabi toolchain, the FDPIC ABI is enabled by default but should not be used to build U-Boot. Therefore, pass -mno-fdpic if supported by the compiler. Signed-off-by: Ben Wolsieffer --- arch/arm/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a

[U-Boot] [PATCH] rockchip: rk3328: rock64: enable CONFIG_MISC_INIT_R

2019-12-03 Thread Ben Wolsieffer
This enables reading of the cpuid and a static MAC address. Signed-off-by: Ben Wolsieffer --- configs/rock64-rk3328_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/rock64-rk3328_defconfig b/configs/rock64-rk3328_defconfig index 14c77b0a4e..720b5e0424 100644 --- a/configs

[U-Boot] [PATCH] cmd: pxe: Increase maximum path length

2019-12-03 Thread Ben Wolsieffer
On NixOS, cross compiled kernels have long suffixes that cause them to exceed the current maximum path length. The PXE/TFTP max path length is used for extlinux.conf support as well, which is where this problem usually manifest's itself. Signed-off-by: Ben Wolsieffer --- cmd/pxe.c | 2

[U-Boot] [PATCH] rockchip: allow loading larger kernels

2019-12-03 Thread Ben Wolsieffer
ramdisk_addr_r up by 32 MiB on the RK3328 and RK3399, allowing for much larger kernels. Signed-off-by: Ben Wolsieffer --- include/configs/rk3328_common.h | 2 +- include/configs/rk3399_common.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/rk3328_common.h b

[U-Boot] [PATCH] cmd: pxe: Increase maximum path length

2019-11-28 Thread Ben Wolsieffer
On NixOS, cross compiled kernels have long suffixes that cause them to exceed the current maximum path length. The PXE/TFTP max path length is used for extlinux.conf support as well, which is where this problem usually manifest's itself. Signed-off-by: Ben Wolsieffer --- cmd/pxe.c | 2