Message ID | 1492191255-23355-1-git-send-email-xypron.glpk@gmx.de |
---|---|
State | Superseded |
Headers | show |
Am 14.04.2017 um 19:34 schrieb Heinrich Schuchardt: > 0x10000000 is the start of a 2 MiB area used by > ARM Trusted Firmware (BL31). > > So we should not load the ramdisk here. > > The legacy Ubuntu image comes with the following line in boot.ini: > setenv initrd_loadaddr "0x13000000" > > See > http://odroid.in/ubuntu_16.04lts/ubuntu64-16.04-minimal-odroid-c2-20160815.img.xz > http://deb.odroid.in/c2/pool/main/u/u-boot/u-boot_20170226-752a100-8_arm64.deb > > So let's use the same address. > > With the patch booting Linux with booti succeeds, > without the patch Linux hangs. > > Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> > --- > include/configs/meson-gxbb-common.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Again, this is not an Odroid-C2 change. It does look generally okay though. Regards, Andreas > > diff --git a/include/configs/meson-gxbb-common.h b/include/configs/meson-gxbb-common.h > index 3fbfcef..66b37a6 100644 > --- a/include/configs/meson-gxbb-common.h > +++ b/include/configs/meson-gxbb-common.h > @@ -50,7 +50,7 @@ > "scriptaddr=0x1f000000\0" \ > "kernel_addr_r=0x01080000\0" \ > "pxefile_addr_r=0x01080000\0" \ > - "ramdisk_addr_r=0x10000000\0" \ > + "ramdisk_addr_r=0x13000000\0" \ > MESON_FDTFILE_SETTING \ > BOOTENV > >
diff --git a/include/configs/meson-gxbb-common.h b/include/configs/meson-gxbb-common.h index 3fbfcef..66b37a6 100644 --- a/include/configs/meson-gxbb-common.h +++ b/include/configs/meson-gxbb-common.h @@ -50,7 +50,7 @@ "scriptaddr=0x1f000000\0" \ "kernel_addr_r=0x01080000\0" \ "pxefile_addr_r=0x01080000\0" \ - "ramdisk_addr_r=0x10000000\0" \ + "ramdisk_addr_r=0x13000000\0" \ MESON_FDTFILE_SETTING \ BOOTENV
0x10000000 is the start of a 2 MiB area used by ARM Trusted Firmware (BL31). So we should not load the ramdisk here. The legacy Ubuntu image comes with the following line in boot.ini: setenv initrd_loadaddr "0x13000000" See http://odroid.in/ubuntu_16.04lts/ubuntu64-16.04-minimal-odroid-c2-20160815.img.xz http://deb.odroid.in/c2/pool/main/u/u-boot/u-boot_20170226-752a100-8_arm64.deb So let's use the same address. With the patch booting Linux with booti succeeds, without the patch Linux hangs. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> --- include/configs/meson-gxbb-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)