* [U-Boot] [PATCH 1/1] odroid-c2: change ramdisk_addr_r
@ 2017-04-14 17:34 Heinrich Schuchardt
2017-04-14 17:39 ` Andreas Färber
0 siblings, 1 reply; 7+ messages in thread
From: Heinrich Schuchardt @ 2017-04-14 17:34 UTC (permalink / raw)
To: u-boot
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(-)
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
--
2.1.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [U-Boot] [PATCH 1/1] odroid-c2: change ramdisk_addr_r
2017-04-14 17:34 [U-Boot] [PATCH 1/1] odroid-c2: change ramdisk_addr_r Heinrich Schuchardt
@ 2017-04-14 17:39 ` Andreas Färber
2017-04-14 18:04 ` [U-Boot] [PATCH v2 1/1] meson: gxbb: " Heinrich Schuchardt
0 siblings, 1 reply; 7+ messages in thread
From: Andreas Färber @ 2017-04-14 17:39 UTC (permalink / raw)
To: u-boot
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
>
>
--
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] [PATCH v2 1/1] meson: gxbb: change ramdisk_addr_r
2017-04-14 17:39 ` Andreas Färber
@ 2017-04-14 18:04 ` Heinrich Schuchardt
2017-04-16 19:33 ` Simon Glass
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Heinrich Schuchardt @ 2017-04-14 18:04 UTC (permalink / raw)
To: u-boot
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>
---
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=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
--
2.1.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [U-Boot] [PATCH v2 1/1] meson: gxbb: change ramdisk_addr_r
2017-04-14 18:04 ` [U-Boot] [PATCH v2 1/1] meson: gxbb: " Heinrich Schuchardt
@ 2017-04-16 19:33 ` Simon Glass
2017-04-17 20:41 ` [U-Boot] [U-Boot,v2,1/1] " Vagrant Cascadian
2017-05-01 16:38 ` Tom Rini
2 siblings, 0 replies; 7+ messages in thread
From: Simon Glass @ 2017-04-16 19:33 UTC (permalink / raw)
To: u-boot
On 14 April 2017 at 12:04, Heinrich Schuchardt <xypron.glpk@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/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>
> ---
> 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(-)
Reviewed-by: Simon Glass <sjg@chromium.org>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] [U-Boot,v2,1/1] meson: gxbb: change ramdisk_addr_r
2017-04-14 18:04 ` [U-Boot] [PATCH v2 1/1] meson: gxbb: " Heinrich Schuchardt
2017-04-16 19:33 ` Simon Glass
@ 2017-04-17 20:41 ` Vagrant Cascadian
2017-05-01 16:20 ` Heinrich Schuchardt
2017-05-01 16:38 ` Tom Rini
2 siblings, 1 reply; 7+ messages in thread
From: Vagrant Cascadian @ 2017-04-17 20:41 UTC (permalink / raw)
To: u-boot
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/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 booting kernel+devicetree+ramdisk on an odroid-c2.
Tested-by: Vagrant Cascadian <vagrant@debian.org>
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=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
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170417/cb92c437/attachment.sig>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] [U-Boot,v2,1/1] meson: gxbb: change ramdisk_addr_r
2017-04-17 20:41 ` [U-Boot] [U-Boot,v2,1/1] " Vagrant Cascadian
@ 2017-05-01 16:20 ` Heinrich Schuchardt
0 siblings, 0 replies; 7+ messages in thread
From: Heinrich Schuchardt @ 2017-05-01 16:20 UTC (permalink / raw)
To: u-boot
On 04/17/2017 10:41 PM, Vagrant Cascadian wrote:
> 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/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 booting kernel+devicetree+ramdisk on an odroid-c2.
>
> Tested-by: Vagrant Cascadian <vagrant@debian.org>
>
> 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=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
>>
Hello Tom,
could you, please, merge this patch. It is needed to boot the Odroid C2.
Best regards
Heinrich Schuchardt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170501/38dc3a35/attachment.sig>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot] [U-Boot,v2,1/1] meson: gxbb: change ramdisk_addr_r
2017-04-14 18:04 ` [U-Boot] [PATCH v2 1/1] meson: gxbb: " Heinrich Schuchardt
2017-04-16 19:33 ` Simon Glass
2017-04-17 20:41 ` [U-Boot] [U-Boot,v2,1/1] " Vagrant Cascadian
@ 2017-05-01 16:38 ` Tom Rini
2 siblings, 0 replies; 7+ messages in thread
From: Tom Rini @ 2017-05-01 16:38 UTC (permalink / raw)
To: u-boot
On Fri, Apr 14, 2017 at 08:04:46PM +0200, 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/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>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170501/995db440/attachment.sig>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2017-05-01 16:38 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-14 17:34 [U-Boot] [PATCH 1/1] odroid-c2: change ramdisk_addr_r Heinrich Schuchardt
2017-04-14 17:39 ` Andreas Färber
2017-04-14 18:04 ` [U-Boot] [PATCH v2 1/1] meson: gxbb: " Heinrich Schuchardt
2017-04-16 19:33 ` Simon Glass
2017-04-17 20:41 ` [U-Boot] [U-Boot,v2,1/1] " Vagrant Cascadian
2017-05-01 16:20 ` Heinrich Schuchardt
2017-05-01 16:38 ` Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox