From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vagrant Cascadian Date: Mon, 17 Apr 2017 13:41:03 -0700 Subject: [U-Boot] [U-Boot,v2,1/1] meson: gxbb: change ramdisk_addr_r In-Reply-To: <1492193086-23563-1-git-send-email-xypron.glpk@gmx.de> References: <1492193086-23563-1-git-send-email-xypron.glpk@gmx.de> Message-ID: <874lxmsr6o.fsf@aikidev.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: u-boot@lists.denx.de On 2017-04-14, xypron.glpk at gmx.de wrote: > 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/t= ree/arch/arm64/boot/dts/amlogic/meson-gx.dtsi?id=3Drefs/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-2016081= 5.img.xz > http://deb.odroid.in/c2/pool/main/u/u-boot/u-boot_20170226-752a100-8_arm6= 4.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=C3=A4rber > Signed-off-by: Heinrich Schuchardt > Reviewed-by: Simon Glass Tested booting kernel+devicetree+ramdisk on an odroid-c2. Tested-by: Vagrant Cascadian live well, vagrant > --- > v2: > Title and commit message changed to reflect that this patch > applies to all Meson GXBB systems. > v1: > Initial patch > [PATCH 1/1] odroid-c2: change ramdisk_addr_r > https://lists.denx.de/pipermail/u-boot/2017-April/287373.html > --- > include/configs/meson-gxbb-common.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 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=3D0x1f000000\0" \ > "kernel_addr_r=3D0x01080000\0" \ > "pxefile_addr_r=3D0x01080000\0" \ > - "ramdisk_addr_r=3D0x10000000\0" \ > + "ramdisk_addr_r=3D0x13000000\0" \ > MESON_FDTFILE_SETTING \ > BOOTENV > =20 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 832 bytes Desc: not available URL: