SHA256
1
0
forked from pool/u-boot
u-boot/loadaddr-defaults.patch
Stephan Kulow ae43375422 Accepting request 163711 from Base:System
- add omap3_beagle to targets 

- remove u8500href subpackage, kernel got dropped

- update to 2013.04rc2
- enable bootz support on all boards

- add omap3_beagle to targets 

- remove u8500href subpackage, kernel got dropped

- update to 2013.04rc2
- enable bootz support on all boards

- add omap3_beagle to targets 

- remove u8500href subpackage, kernel got dropped

- update to 2013.04rc2
- enable bootz support on all boards

- add omap3_beagle to targets 

- remove u8500href subpackage, kernel got dropped

- update to 2013.04rc2
- enable bootz support on all boards

- add omap3_beagle to targets

OBS-URL: https://build.opensuse.org/request/show/163711
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=12
2013-04-17 07:25:52 +00:00

40 lines
1.4 KiB
Diff

From a8fab5078beb88a3f1ae46450d08d0db1460fccc Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf@suse.de>
Date: Thu, 12 Jul 2012 09:55:58 +0200
Subject: [PATCH] OMAP: Provide reasonable kernel and initrd load addresses
To make our generic boot.scr approach work, we need to make sure we
have variables that tell us where to load the kernel and initrd to.
Add them back into upstream u-boot again. They used to be there in the
linaro version.
Signed-off-by: Alexander Graf <agraf@suse.de>
Index: u-boot-2013.04rc2/include/configs/omap3_beagle.h
===================================================================
--- u-boot-2013.04rc2.orig/include/configs/omap3_beagle.h
+++ u-boot-2013.04rc2/include/configs/omap3_beagle.h
@@ -218,6 +218,8 @@
#define CONFIG_EXTRA_ENV_SETTINGS \
"loadaddr=0x80200000\0" \
"rdaddr=0x81000000\0" \
+ "kerneladdr=0x80200000\0" \
+ "ramdiskaddr=0x81000000\0" \
"usbtty=cdc_acm\0" \
"bootfile=uImage.beagle\0" \
"console=ttyO2,115200n8\0" \
Index: u-boot-2013.04rc2/include/configs/omap4_common.h
===================================================================
--- u-boot-2013.04rc2.orig/include/configs/omap4_common.h
+++ u-boot-2013.04rc2/include/configs/omap4_common.h
@@ -144,6 +144,8 @@
#define CONFIG_EXTRA_ENV_SETTINGS \
"loadaddr=0x82000000\0" \
+ "kerneladdr=0x80000000\0" \
+ "ramdiskaddr=0x82000000\0" \
"console=ttyO2,115200n8\0" \
"fdt_high=0xffffffff\0" \
"usbtty=cdc_acm\0" \