From: Vagrant Cascadian <vagrant@debian.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] Set ramdisk_addr_r to a higher address location on meson-gxbb.
Date: Sun, 16 Apr 2017 14:27:50 -0700 [thread overview]
Message-ID: <87bmrwrqjt.fsf@aikidev.net> (raw)
In-Reply-To: <87a87lmb2g.fsf@aikidev.net>
On 2017-04-12, Vagrant Cascadian wrote:
> On 2017-04-12, Andreas Färber wrote:
>> Am 12.04.2017 um 23:28 schrieb Vagrant Cascadian:
>>> Set ramdisk_addr_r to 0x20000000, otherwise it may conflict with
>>> kernel_addr_r location (0x01080000) with a moderately large kernel.
> ...
>>> diff --git a/include/configs/meson-gxbb-common.h b/include/configs/meson-gxbb-common.h
>>> index cc2b5b61d4..32602cb7c2 100644
>>> --- a/include/configs/meson-gxbb-common.h
>>> +++ b/include/configs/meson-gxbb-common.h
>>> @@ -48,7 +48,7 @@
>>> "scriptaddr=0x1f000000\0" \
>>> "kernel_addr_r=0x01080000\0" \
>>> "pxefile_addr_r=0x01080000\0" \
>>> - "ramdisk_addr_r=0x10000000\0" \
>>> + "ramdisk_addr_r=0x20000000\0" \
>>
>> So that's at 512 MiB. Have you checked for any S905 devices (e.g., TV
>> boxes) with little RAM?
>
> I didn't. I just picked a value out of the air and tried it. :)
The other option is to lower the kernel_addr_r and fdt_addr_r locations,
but I'm not sure how much lower they can get, if at all.
> I just now tested with 0x12000000 and it worked, where 0x10000000
> consistantly failed.
After some more experimenting, with ramdisk_addr_r=0x10100000 it still
fails to load, with ramdisk_addr_r=0x10200000 it works, at least with
the current kernel I'm testing with:
=> setenv ramdisk_addr_r 0x10100000
=> boot
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
2177 bytes read in 16 ms (132.8 KiB/s)
## Executing script at 1f000000
14819840 bytes read in 737 ms (19.2 MiB/s)
16119 bytes read in 38 ms (414.1 KiB/s)
17551127 bytes read in 873 ms (19.2 MiB/s)
Booting Debian 4.11.0-rc6+ from mmc 0:1...
## Flattened Device Tree blob at 01000000
Booting using the fdt blob at 0x1000000
Loading Ramdisk to 7ce9c000, end 7df58f17 ... OK
Loading Device Tree to 000000007ce95000, end 000000007ce9bef6 ... OK
Starting kernel ...
And then it just hangs.
The kernel image I'm booting is almost 15MB, uncompressed. I'm guessing
if "booti" would support compressed kernels, this would allieviate the
problem, but it will take some time before that's common (on Debian, at
least).
live well,
vagrant
-------------- 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/20170416/4bc7e866/attachment.sig>
prev parent reply other threads:[~2017-04-16 21:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-12 21:28 [U-Boot] [PATCH] Set ramdisk_addr_r to a higher address location on meson-gxbb Vagrant Cascadian
2017-04-12 21:35 ` Tom Rini
2017-04-14 20:49 ` Vagrant Cascadian
2017-04-12 21:35 ` Andreas Färber
2017-04-12 23:59 ` Vagrant Cascadian
2017-04-16 21:27 ` Vagrant Cascadian [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bmrwrqjt.fsf@aikidev.net \
--to=vagrant@debian.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox