pandora-uboot-scripts: Update u-boot boot scripts and recipe.
authorDavid-John Willis <John.Willis@Distant-earth.com>
Mon, 14 Dec 2009 11:42:24 +0000 (11:42 +0000)
committerDavid-John Willis <John.Willis@Distant-earth.com>
Mon, 14 Dec 2009 11:42:24 +0000 (11:42 +0000)
recipes/pandora-system/pandora-uboot-scripts.bb
recipes/pandora-system/pandora-uboot-scripts/boot-mmcblk0p2 [new file with mode: 0644]
recipes/pandora-system/pandora-uboot-scripts/boot-mmcblk0p2-ext3.cmd [deleted file]
recipes/pandora-system/pandora-uboot-scripts/boot-mmcblk1p1 [new file with mode: 0644]
recipes/pandora-system/pandora-uboot-scripts/boot-mmcblk1p1-ext3.cmd [deleted file]
recipes/pandora-system/pandora-uboot-scripts/boot-ramdisk [moved from recipes/pandora-system/pandora-uboot-scripts/boot-ramdisk.cmd with 52% similarity]

index 17467fd..59b1cce 100644 (file)
@@ -2,14 +2,16 @@ DESCRIPTION = "Helper uboot boot scripts for the OpenPandora"
 
 DEPENDS = "u-boot-mkimage-native"
 
-SRC_URI = "file://*.cmd"
+SRC_URI = "file://boot*"
+
+PR = "r1"
 
 do_configure() {
-       cp ${WORKDIR}/*.cmd ${S}
+       cp ${WORKDIR}/boot* ${S}
 }
 
 do_compile() {
-       for i in *.cmd ; do
+       for i in boot* ; do
                uboot-mkimage -A ${TARGET_ARCH} -O linux -T script -C none -a 0 -e 0 -n "OpenPandora $i" -d $i $i.scr
        done
 }
diff --git a/recipes/pandora-system/pandora-uboot-scripts/boot-mmcblk0p2 b/recipes/pandora-system/pandora-uboot-scripts/boot-mmcblk0p2
new file mode 100644 (file)
index 0000000..cde3cc1
--- /dev/null
@@ -0,0 +1,2 @@
+setenv bootargs debug root=/dev/mmcblk0p2 rw rootdelay=2 console=ttyS0,115200n8 vram=6272K omapfb.vram=0:3000K
+fatload mmc 0 0x80300000 uImage; bootm 0x80300000
diff --git a/recipes/pandora-system/pandora-uboot-scripts/boot-mmcblk0p2-ext3.cmd b/recipes/pandora-system/pandora-uboot-scripts/boot-mmcblk0p2-ext3.cmd
deleted file mode 100644 (file)
index 9717c09..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-setenv bootargs debug root=/dev/mmcblk0p2 console=ttyS0,115200n8 rootdelay=2 rootfstype=ext3 ro vram=6272K omapfb.vram=0:1500K
-fatload mmc 0 0x80300000 uImage; bootm 0x80300000
diff --git a/recipes/pandora-system/pandora-uboot-scripts/boot-mmcblk1p1 b/recipes/pandora-system/pandora-uboot-scripts/boot-mmcblk1p1
new file mode 100644 (file)
index 0000000..72d22df
--- /dev/null
@@ -0,0 +1,2 @@
+setenv bootargs debug root=/dev/mmcblk1p1 rw rootdelay=2 console=ttyS0,115200n8 vram=6272K omapfb.vram=0:3000K
+fatload mmc 0 0x80300000 uImage; bootm 0x80300000
diff --git a/recipes/pandora-system/pandora-uboot-scripts/boot-mmcblk1p1-ext3.cmd b/recipes/pandora-system/pandora-uboot-scripts/boot-mmcblk1p1-ext3.cmd
deleted file mode 100644 (file)
index 8118c90..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-setenv bootargs debug root=/dev/mmcblk1p1 console=ttyS0,115200n8 rootdelay=2 rootfstype=ext3 ro vram=6272K omapfb.vram=0:1500K
-fatload mmc 0 0x80300000 uImage; bootm 0x80300000
@@ -1,5 +1,2 @@
 setenv bootargs debug console=ttyS2,115200n8 ramdisk_size=8192 root=/dev/ram0 rw rootfstype=ext2 initrd=0x81600000,8M vram=6272K omapfb.vram=0:1500K
 fatload mmc 0 0x80300000 uImage; fatload mmc 0 0x81600000 rd-ext2.bin; bootm 0x80300000
-# setenv bootargs debug root=/dev/mmcblk0p2 console=ttyS0,115200n8 rootdelay=2 rootfstype=ext3 ro vram=6272K omapfb.vram=0:1500K
-# fatload mmc 0 0x80300000 uImage; bootm 0x80300000
-# omapfb.debug=y omapdss.debug=y