u-boot/arch/arm
Josua Mayer a5539f976b arm: mvebu: allow additional 4096 offset for bootable mmc image
Disarm the error message forcing u-boot/spl image to be located at
sector 0 on eMMC data-partition and microSD.
Offset 0 makes sense on eMMC boot partitions only, data partition must
use 4096 to avoid conflicting with MBR.

Valid offsets when booting from microSD, reported by boot-rom v1.73:

BootROM: Bad header at offset 00000200
BootROM: Bad header at offset 00004400
BootROM: Bad header at offset 00200000
BootROM: Bad header at offset 00400000
BootROM: Bad header at offset 00600000
BootROM: Bad header at offset 00800000
BootROM: Bad header at offset 00A00000
BootROM: Bad header at offset 00C00000
BootROM: Bad header at offset 00E00000
BootROM: Bad header at offset 01000000
BootROM: Bad header at offset 01200000
BootROM: Bad header at offset 01400000
BootROM: Bad header at offset 01600000
BootROM: Bad header at offset 01800000
BootROM: Bad header at offset 01A00000
BootROM: Bad header at offset 01C00000
BootROM: Bad header at offset 01E00000
BootROM: Bad header at offset 02000000
BootROM: Bad header at offset 02200000
BootROM: Bad header at offset 02400000
BootROM: Bad header at offset 02600000
BootROM: Bad header at offset 02800000
BootROM: Bad header at offset 02A00000
BootROM: Bad header at offset 02C00000
BootROM: Bad header at offset 02E00000

Valid offsets when booting from eMMC:

BootROM: Bad header at offset 00000000
BootROM: Bad header at offset 00200000
Switching BootPartitions.
BootROM: Bad header at offset 00000000
BootROM: Bad header at offset 00200000

Fixes: 2226ca1734 ("arm: mvebu: Load U-Boot proper binary in SPL code based on kwbimage header")

Signed-off-by: Josua Mayer <josua@solid-run.com>
Reviewed-by: Stefan Roese <sr@denx.de>
2023-10-26 14:49:36 +02:00
..
cpu sunxi: psci: implement PSCI on R528 2023-10-22 23:41:52 +01:00
dts arm: mvebu: turris_mox: Extend to support RIPE Atlas Probe 2023-10-26 14:49:36 +02:00
include sunxi: psci: stop modeling register layout with C structs 2023-10-22 23:41:52 +01:00
lib spl: Use SYS_MALLOC_F instead of SYS_MALLOC_F_LEN 2023-10-06 14:38:12 -04:00
mach-apple arm: apple: Add initial Apple M2 Ultra support 2023-10-11 13:22:32 -04:00
mach-aspeed
mach-at91 board: Add support for Conclusive KSTR-SAMA5D27 2023-10-23 17:07:06 +03:00
mach-bcm283x arm: bcm283x undefined reference to "print_cpuinfo" 2023-08-17 16:39:20 -04:00
mach-bcmbca
mach-bcmstb
mach-cortina
mach-davinci
mach-exynos exynos: Cleanup exynos_init 2023-10-09 15:24:31 -04:00
mach-highbank
mach-histb
mach-hpe
mach-imx u-boot-imx-20231024 2023-10-24 09:39:02 -04:00
mach-integrator
mach-ipq40xx
mach-k3 treewide: use dev_read_addr_*_ptr() where appropriate 2023-10-13 14:01:42 -06:00
mach-keystone
mach-kirkwood arm: kirkwood: Add support for ZyXEL NSA325 board 2023-10-16 11:10:42 +02:00
mach-lpc32xx
mach-mediatek arm: mediatek: add support for MediaTek MT7988 SoC 2023-08-03 09:40:50 -04:00
mach-meson arch: meson: use secure monitor driver 2023-10-15 12:23:48 +02:00
mach-mvebu arm: mvebu: allow additional 4096 offset for bootable mmc image 2023-10-26 14:49:36 +02:00
mach-nexell
mach-npcm arch: arm: npcm8xx: add cpu version and 4G ram support 2023-07-14 12:52:18 -04:00
mach-octeontx
mach-octeontx2
mach-omap2 Merge branch 'next' 2023-10-02 10:55:44 -04:00
mach-orion5x
mach-owl
mach-qemu
mach-rmobile serial: sh: Add RZ/G2L SCIF support 2023-10-19 17:03:20 +02:00
mach-rockchip board: rockchip: add FriendlyElec NanoPC-T6 rk3588 board 2023-10-23 18:21:55 +08:00
mach-s5pc1xx
mach-snapdragon spl: Enable CONFIG_SPL_SYS_MALLOC_F where needed 2023-10-06 14:38:12 -04:00
mach-socfpga spl: Enable CONFIG_SPL_SYS_MALLOC_F where needed 2023-10-06 14:38:12 -04:00
mach-sti
mach-stm32
mach-stm32mp common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
mach-sunxi u-boot-imx-20231024 2023-10-24 09:39:02 -04:00
mach-tegra common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
mach-u8500
mach-uniphier common: Drop linux/printk.h from common header 2023-09-24 09:54:57 -04:00
mach-versal arm64: versal: Add SelectMAP boot mode identification 2023-10-09 13:03:23 +02:00
mach-versal-net arm64: versal: Add SelectMAP boot mode identification 2023-10-09 13:03:23 +02:00
mach-versatile
mach-zynq
mach-zynqmp zynqmp: config: Add proper dependencies for USB 2023-09-21 13:20:12 +02:00
mach-zynqmp-r5
thumb1/include/asm/proc-armv
config.mk
Kconfig pinctrl: sunxi: remove GPIO_EXTRA_HEADER 2023-10-22 23:40:57 +01:00
Kconfig.debug
Makefile