[1/2] rockchip: Also load the initrd below 512M

Message ID 1442612952-21498-2-git-send-email-sjoerd.simons@collabora.co.uk
State Accepted
Commit 9550e799e5c982c7cc3ec8bbfb24cdfde8dc747d
Headers show

Commit Message

Sjoerd Simons Sept. 18, 2015, 9:49 p.m.
Similar to load an fdt, when loading an initrd about the 512Mb mark
things seem to break. For now force loading below 512Mb until the reason
why this fails has been determined/solved.

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
---

 include/configs/rk3288_common.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Simon Glass Oct. 3, 2015, 2:27 p.m. | #1
On 18 September 2015 at 22:49, Sjoerd Simons
<sjoerd.simons@collabora.co.uk> wrote:
> Similar to load an fdt, when loading an initrd about the 512Mb mark
> things seem to break. For now force loading below 512Mb until the reason
> why this fails has been determined/solved.
>
> Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
> ---
>
>  include/configs/rk3288_common.h | 1 +
>  1 file changed, 1 insertion(+)

Acked-by: Simon Glass <sjg@chromium.org>
Simon Glass Oct. 19, 2015, 3:03 a.m. | #2
On 3 October 2015 at 08:27, Simon Glass <sjg@chromium.org> wrote:
> On 18 September 2015 at 22:49, Sjoerd Simons
> <sjoerd.simons@collabora.co.uk> wrote:
>> Similar to load an fdt, when loading an initrd about the 512Mb mark
>> things seem to break. For now force loading below 512Mb until the reason
>> why this fails has been determined/solved.
>>
>> Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
>> ---
>>
>>  include/configs/rk3288_common.h | 1 +
>>  1 file changed, 1 insertion(+)
>
> Acked-by: Simon Glass <sjg@chromium.org>

Applied to u-boot-rockchip, thanks!

Patch

diff --git a/include/configs/rk3288_common.h b/include/configs/rk3288_common.h
index e8aec28..400e72c 100644
--- a/include/configs/rk3288_common.h
+++ b/include/configs/rk3288_common.h
@@ -111,6 +111,7 @@ 
  * limit the fdt reallocation to that */
 #define CONFIG_EXTRA_ENV_SETTINGS \
 	"fdt_high=0x1fffffff\0" \
+	"initrd_high=0x1fffffff\0" \
 	ENV_MEM_LAYOUT_SETTINGS \
 	BOOTENV
 #endif