aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/angstrom
diff options
context:
space:
mode:
authorJason Kridner <jkridner@beagleboard.org>2010-06-05 21:59:09 -0500
committerKoen Kooi <koen@openembedded.org>2010-06-06 09:52:45 +0200
commit3c888c3c6b765b643eccdddd73cdf1be40ba3835 (patch)
treec28fec2d9a00d7f10bee67ab3597ee6686303363 /recipes/angstrom
parentebbe982540c9b8dfeefe0263e3402e9832f7dc89 (diff)
downloadopenembedded-3c888c3c6b765b643eccdddd73cdf1be40ba3835.tar.gz
openembedded-3c888c3c6b765b643eccdddd73cdf1be40ba3835.tar.bz2
openembedded-3c888c3c6b765b643eccdddd73cdf1be40ba3835.zip
angstrom-uboot-scripts: Used beaglerev variable
Added use of 'beaglerev' into the linuxtagdemo boot scripts.
Diffstat (limited to 'recipes/angstrom')
-rw-r--r--recipes/angstrom/angstrom-uboot-scripts.bb2
-rw-r--r--recipes/angstrom/angstrom-uboot-scripts/linuxtagdemo-pico.cmd8
-rw-r--r--recipes/angstrom/angstrom-uboot-scripts/linuxtagdemo.cmd8
3 files changed, 15 insertions, 3 deletions
diff --git a/recipes/angstrom/angstrom-uboot-scripts.bb b/recipes/angstrom/angstrom-uboot-scripts.bb
index 033a26013f..70e6e35ff5 100644
--- a/recipes/angstrom/angstrom-uboot-scripts.bb
+++ b/recipes/angstrom/angstrom-uboot-scripts.bb
@@ -1,6 +1,6 @@
DESCRIPTION = "Various uboot scripts"
-PR = "r3"
+PR = "r4"
DEPENDS = "u-boot-mkimage-native"
diff --git a/recipes/angstrom/angstrom-uboot-scripts/linuxtagdemo-pico.cmd b/recipes/angstrom/angstrom-uboot-scripts/linuxtagdemo-pico.cmd
index 32307ff226..7ae7ed8e8a 100644
--- a/recipes/angstrom/angstrom-uboot-scripts/linuxtagdemo-pico.cmd
+++ b/recipes/angstrom/angstrom-uboot-scripts/linuxtagdemo-pico.cmd
@@ -25,7 +25,13 @@ setenv musbfifomode '5'
# mpurate is read from omap registers on omap3530 (which x-load has set to 600mhz?), on xm, uboot sets this to 1GHz
#setenv mpurate '720'
-setenv memmap 'mem=80M mem=128M@0x88000000'
+setenv memmap 'mem=80M mem=384M@0x88000000'
+if "${beaglerev}" = "AxBx"; then
+ setenv memmap 'mem=80M'
+fi
+if "${beaglerev}" = "Cx"; then
+ setenv memmap 'mem=80M mem=128M@0x88000000'
+fi
setenv vram '16M omapfb.vram=0:8M,1:4M,2:4M'
setenv defaultdisplay 'dvi'
diff --git a/recipes/angstrom/angstrom-uboot-scripts/linuxtagdemo.cmd b/recipes/angstrom/angstrom-uboot-scripts/linuxtagdemo.cmd
index b232f79141..0c002524bf 100644
--- a/recipes/angstrom/angstrom-uboot-scripts/linuxtagdemo.cmd
+++ b/recipes/angstrom/angstrom-uboot-scripts/linuxtagdemo.cmd
@@ -25,7 +25,13 @@ setenv musbfifomode '5'
# mpurate is read from omap registers on omap3530 (which x-load has set to 600mhz?), on xm, uboot sets this to 1GHz
#setenv mpurate '720'
-setenv memmap 'mem=80M mem=128M@0x88000000'
+setenv memmap 'mem=80M mem=384M@0x88000000'
+if "${beaglerev}" = "AxBx"; then
+ setenv memmap 'mem=80M'
+fi
+if "${beaglerev}" = "Cx"; then
+ setenv memmap 'mem=80M mem=128M@0x88000000'
+fi
setenv vram '16M omapfb.vram=0:8M,1:4M,2:4M'
setenv defaultdisplay 'dvi'
setenv dvimode 'hd720'