diff options
author | xypron.glpk@gmx.de <xypron.glpk@gmx.de> | 2017-04-14 20:04:46 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-05-01 12:38:17 -0400 |
commit | d03857485e7f0e61fa778d2f64a6d0cf92bb54f7 (patch) | |
tree | c18650ada964eec043722cf0d13273b32359cdbd /include/configs | |
parent | 1f677e4266b1265fca9c8cc93f755900b3ce7503 (diff) |
meson: gxbb: change ramdisk_addr_r
0x10000000 is the start of a 2 MiB area used by the
ARM Trusted Firmware (BL31).
See
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/arch/arm64/boot/dts/amlogic/meson-gx.dtsi?id=refs/tags/v4.10.10
So we should not load the ramdisk here.
The legacy Ubuntu image for the Odroid C2 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 on an Odroid C2,
without the patch Linux hangs.
Cc: Andreas Färber <afaerber@suse.de>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Vagrant Cascadian <vagrant@debian.org>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/meson-gxbb-common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/meson-gxbb-common.h b/include/configs/meson-gxbb-common.h index 997ce2df19..fab2e67117 100644 --- a/include/configs/meson-gxbb-common.h +++ b/include/configs/meson-gxbb-common.h @@ -51,7 +51,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 |