]> git.ipfire.org Git - people/arne_f/ipfire-2.x.git/commitdiff
u-boot: remove rpi ramdisk quirk for aarch64
authorArne Fitzenreiter <arne_f@ipfire.org>
Thu, 10 Jun 2021 13:06:46 +0000 (13:06 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 5 Jul 2021 05:42:38 +0000 (07:42 +0200)
the u-boot bug that destroy the ramdisk on aarch64 is fixed now

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
config/u-boot/boot.cmd
config/u-boot/boot.scr

index 3517fe946f11d7950ed16854e71447914d0c6f63..9d456265c94b0ef93a20b36bf4c1f5ae681c5fa2 100644 (file)
@@ -34,14 +34,6 @@ if test "${board}" = "sunxi"; then
        setenv fdtfile ${DTBSUNXI};
 fi;
 
-# Quirk for RPi on aarch64 becuase u-boot cannot use the
-# initrd on aarch64 and without ramdisk no UUID
-if test ${cpu} = "armv8"; then
-       if test ${board} = "rpi"; then
-               setenv root_dev /dev/mmcblk0p3;
-       fi;
-fi;
-
 # Check if serial console is enabled
 if test "${SERIAL-CONSOLE}" = "ON"; then
        if test ${console} = ""; then
@@ -97,14 +89,6 @@ else
        setenv ramdisk_addr -;
 fi;
 
-# Quirk for RPi on aarch64 becuase u-boot cannot use the
-# initrd on aarch64
-if test ${cpu} = "armv8"; then
-       if test ${board} = "rpi"; then
-               setenv ramdisk_addr -;
-       fi;
-fi;
-
 bootz ${kernel_addr_r} ${ramdisk_addr} ${fdt_addr_r};
 booti ${kernel_addr_r} ${ramdisk_addr} ${fdt_addr_r};
 
index 7fde534e3760e6aefccae5bdb834a706675d75e7..2ff734f4c5a811b3908dc27bee13572bb6a2895d 100644 (file)
Binary files a/config/u-boot/boot.scr and b/config/u-boot/boot.scr differ