immortalwrt/target/linux
Justin Klaassen f4da20840e
rockchip: fix boot from non-MMC devices
Booting from non-MMC devices on Rockchip targets without this
change results in a boot failure:

Model: FriendlyElec NanoPi R5S
Net:   eth0: ethernet@fe2a0000
Hit any key to stop autoboot:  0
** Booting bootflow 'nvme#0.blk#1.bootdev.part_1' with script
** No partition table - mmc 0 **
** No partition table - mmc 0 **
Couldn't find partition mmc 0:1
Can't set block device
Wrong Image Type for bootm command
ERROR -91: Protocol wrong type for socket: can't get kernel image!
Boot failed (err=1)

This change fixes the default boot script for Rockchip targets to
support booting from non-MMC devices such as NVMe or USB drives.

Some targets with only a boot rom (e.g. NanoPi R5S) may require u-boot
to be installed on the eMMC or a MicroSD card in order to boot from
non-MMC devices.

Fixes: #14420
Reviewed-by: Tianling Shen <cnsztl@immortalwrt.org>
Signed-off-by: Justin Klaassen <justin@tidylabs.app>
(cherry picked from commit 4d49ce1bde)
2024-01-26 13:02:36 +08:00
..
airoha kernel: bump 5.15 to 5.15.125 2023-08-10 21:07:50 +02:00
apm821xx Merge Official sOURCE 2023-10-23 20:17:09 +08:00
archs38
armsr Merge Official sOURCE 2023-10-23 20:17:09 +08:00
at91
ath25 Merge Official Source 2023-09-27 10:14:47 +08:00
ath79 Merge Official Source 2024-01-13 20:51:50 +08:00
bcm27xx Merge Official Source 2024-01-24 11:18:46 +08:00
bcm47xx Merge Official Source 2024-01-09 20:24:33 +08:00
bcm53xx Merge Official Source 2023-11-04 12:58:38 +08:00
bcm63xx Merge Official Source 2023-08-13 10:38:44 +08:00
bcm4908 kernel: bump 5.15 to 5.15.137 2023-10-29 13:00:28 +01:00
bmips Merge Official Source 2023-08-13 10:38:44 +08:00
gemini kernel: bump 5.15 to 5.15.146 2024-01-08 23:15:35 +01:00
generic Merge Official Source 2024-01-24 11:18:46 +08:00
imx kernel: backport NVMEM patches queued for the v6.5 2023-07-10 12:54:53 +02:00
ipq40xx Merge Official Source 2024-01-09 20:24:33 +08:00
ipq806x Merge Official Source 2024-01-09 20:24:33 +08:00
ipq807x Merge Official Source 2024-01-09 20:24:33 +08:00
kirkwood Merge Official Source 2023-12-17 10:41:53 +08:00
lantiq Merge Official Source 2024-01-17 12:25:12 +08:00
layerscape treewide: fix shell errors during dump stage 2023-11-13 14:02:38 +01:00
malta
mediatek mediatek: add layout note for xiaomi ax3000t 2024-01-25 00:24:51 +08:00
mpc85xx Merge Official Source 2023-12-08 03:14:32 +08:00
mvebu Merge Official Source 2024-01-09 20:24:33 +08:00
mxs
octeon kernel: bump 5.15 to 5.15.145 2024-01-07 12:57:30 +00:00
octeontx kernel: bump 5.15 to 5.15.145 2024-01-07 12:57:30 +00:00
omap
oxnas Merge Official Source 2024-01-09 20:24:33 +08:00
pistachio kernel: fix mtd/NVMEM regression affecting U-Boot env NVMEM driver 2023-11-02 09:45:08 +01:00
qoriq
ramips Merge Official Source 2024-01-09 20:24:33 +08:00
realtek kernel: bump 5.15 to 5.15.145 2024-01-07 12:57:30 +00:00
rockchip rockchip: fix boot from non-MMC devices 2024-01-26 13:02:36 +08:00
sifiveu
sunxi sunxi: remove rtl8189es driver for nanopi r1s h5 2024-01-21 15:05:00 +08:00
tegra
uml Merge Official Source 2023-09-27 10:14:47 +08:00
x86 Merge Official Source 2023-11-27 22:45:01 +08:00
zynq
Makefile