commit 3a8abf72dbed513666fd19f79461990abb83a3cc
Author: Dennis Gilmore <dennis(a)ausil.us>
Date: Tue Jun 19 11:04:45 2012 -0500
fix up pandaboards uEnv.txt creation
fedora-arm-panda-minimal.ks | 12 ++++++------
fedora-arm-panda-xfce.ks | 12 ++++++------
2 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/fedora-arm-panda-minimal.ks b/fedora-arm-panda-minimal.ks
index cbcdf74..a5c61e4 100644
--- a/fedora-arm-panda-minimal.ks
+++ b/fedora-arm-panda-minimal.ks
@@ -22,8 +22,8 @@ cp /usr/share/uboot-panda/MLO /boot/uboot/MLO
sync
cp /usr/share/uboot-panda/u-boot.img /boot/uboot/u-boot.img
-# setup uEnv.txt on efi to load kernel and initrd from ext3 /boot
-echo >> /boot/uboot/uEnv.txt << EOF
+# setup uEnv.txt on vfat partition to load kernel and initrd from ext3 /boot
+cat >> /boot/uboot/uEnv.txt << EOF
bootfile=/uImage
bootinitrd=/uInitrd
boot=bootm
@@ -31,10 +31,10 @@ console=ttyO2,115200n8
address_image=0x80300000
address_initrd=0x81600000
mmcroot=%ROOTFSID% ro
-mmcargs=setenv bootargs console=${console} root=${mmcroot} quiet rootwait rhgb
-loaduimage=run xyz_mmcboot; run mmcargs; ${boot} ${address_image} ${address_initrd}
-xyz_load_image=ext2load mmc 0:2 ${address_image} ${bootfile}
-xyz_load_initrd=ext2load mmc 0:2 ${address_initrd} ${bootinitrd}
+mmcargs=setenv bootargs console=\${console} root=\${mmcroot} quiet rootwait rhgb
+loaduimage=run xyz_mmcboot; run mmcargs; \${boot} \${address_image} \${address_initrd}
+xyz_load_image=ext2load mmc 0:2 \${address_image} \${bootfile}
+xyz_load_initrd=ext2load mmc 0:2 \${address_initrd} \${bootinitrd}
xyz_mmcboot=run xyz_load_image; run xyz_load_initrd; echo Booting from mmc ...
EOF
diff --git a/fedora-arm-panda-xfce.ks b/fedora-arm-panda-xfce.ks
index ed5a23b..03eeee5 100644
--- a/fedora-arm-panda-xfce.ks
+++ b/fedora-arm-panda-xfce.ks
@@ -23,8 +23,8 @@ cp /usr/share/uboot-panda/MLO /boot/efi/MLO
sync
cp /usr/share/uboot-panda/u-boot.img /boot/efi/u-boot.img
-# setup uEnv.txt on efi to load kernel and initrd from ext3 /boot
-echo >> /boot/uboot/uEnv.txt << EOF
+# setup uEnv.txt on vfat partition to load kernel and initrd from ext3 /boot
+cat >> /boot/uboot/uEnv.txt << EOF
bootfile=/uImage
bootinitrd=/uInitrd
boot=bootm
@@ -32,10 +32,10 @@ console=ttyO2,115200n8
address_image=0x80300000
address_initrd=0x81600000
mmcroot=%ROOTFSID% ro
-mmcargs=setenv bootargs console=${console} root=${mmcroot} quiet rootwait rhgb
-loaduimage=run xyz_mmcboot; run mmcargs; ${boot} ${address_image} ${address_initrd}
-xyz_load_image=ext2load mmc 0:2 ${address_image} ${bootfile}
-xyz_load_initrd=ext2load mmc 0:2 ${address_initrd} ${bootinitrd}
+mmcargs=setenv bootargs console=\${console} root=\${mmcroot} quiet rootwait rhgb
+loaduimage=run xyz_mmcboot; run mmcargs; \${boot} \${address_image} \${address_initrd}
+xyz_load_image=ext2load mmc 0:2 \${address_image} \${bootfile}
+xyz_load_initrd=ext2load mmc 0:2 \${address_initrd} \${bootinitrd}
xyz_mmcboot=run xyz_load_image; run xyz_load_initrd; echo Booting from mmc ...
EOF
Show replies by date