SHA256
1
0
forked from pool/u-boot
u-boot/loadaddr-defaults.patch
Ismail Dönmez f41db49412 Accepting request 146560 from Base:System
- add sdhc-1.patch, sdhc-2.patch, sdhc-3.patch:
  * backport upstream sdhc fixes

- update to 2012.10:
  - refresh patches 0006-ARMV7-hardfp-build-fix.patch, mlo-ext2.patch,
    loadaddr-defaults.patch, mx53loco-bootscr.patch

- add sdhc-1.patch, sdhc-2.patch, sdhc-3.patch:
  * backport upstream sdhc fixes

- update to 2012.10:
  - refresh patches 0006-ARMV7-hardfp-build-fix.patch, mlo-ext2.patch,
    loadaddr-defaults.patch, mx53loco-bootscr.patch

- add sdhc-1.patch, sdhc-2.patch, sdhc-3.patch:
  * backport upstream sdhc fixes

- update to 2012.10:
  - refresh patches 0006-ARMV7-hardfp-build-fix.patch, mlo-ext2.patch,
    loadaddr-defaults.patch, mx53loco-bootscr.patch

- add sdhc-1.patch, sdhc-2.patch, sdhc-3.patch:
  * backport upstream sdhc fixes

- update to 2012.10:
  - refresh patches 0006-ARMV7-hardfp-build-fix.patch, mlo-ext2.patch,
    loadaddr-defaults.patch, mx53loco-bootscr.patch

- add sdhc-1.patch, sdhc-2.patch, sdhc-3.patch:
  * backport upstream sdhc fixes

OBS-URL: https://build.opensuse.org/request/show/146560
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/u-boot?expand=0&rev=8
2012-12-28 21:50:19 +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-2012.10/include/configs/omap3_beagle.h
===================================================================
--- u-boot-2012.10.orig/include/configs/omap3_beagle.h
+++ u-boot-2012.10/include/configs/omap3_beagle.h
@@ -220,6 +220,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-2012.10/include/configs/omap4_common.h
===================================================================
--- u-boot-2012.10.orig/include/configs/omap4_common.h
+++ u-boot-2012.10/include/configs/omap4_common.h
@@ -145,6 +145,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" \