Justin Klaassen 4d49ce1bde 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>
2024-01-19 21:31:39 +01:00
..
2023-08-09 22:06:24 +02:00
2024-01-19 21:24:44 +01:00
2023-08-09 22:06:24 +02:00
2024-01-19 21:24:44 +01:00
2024-01-19 21:24:44 +01:00
2024-01-06 10:53:39 +01:00
2023-08-09 22:06:24 +02:00
2023-10-27 19:43:06 +01:00
2024-01-06 12:52:49 +01:00
2024-01-19 21:24:44 +01:00
2023-12-12 19:35:03 +01:00
2024-01-19 21:24:44 +01:00
2023-12-19 14:18:55 +01:00
2024-01-19 21:24:44 +01:00
2023-07-01 12:54:30 +02:00
2023-12-19 14:12:25 +01:00
2023-11-29 23:41:33 +01:00
2024-01-01 02:34:48 +01:00
2023-12-02 14:06:56 +02:00
2023-09-23 13:10:28 +02:00