no more mounting mmc card, trying to fix the random corrupt on 2nd boot

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/8/head
Robert Nelson 14 years ago
parent 934c8fcb26
commit 37d9183e94

@ -28,13 +28,13 @@ index 61bc6ae..fea0a1b 100644
+
+
+ if [ -e /etc/rcn.conf ]; then
+ mkdir -p /tmp/mmc
+ mount /dev/mmcblk0p1 /tmp/mmc
+ #mkdir -p /tmp/mmc
+ #mount /dev/mmcblk0p1 /tmp/mmc
+ #cp /tmp/mmc/boot.scr /tmp/mmc/netinstall.scr
+ #cp /tmp/mmc/normal.scr /tmp/mmc/boot.scr
+ rm -f /tmp/mmc/uInitrd.net
+ sync
+ umount /tmp/mmc
+ #rm -f /tmp/mmc/uInitrd.net
+ #sync
+ #umount /tmp/mmc
+
+ mkdir -p /target/boot/uboot
+ echo "/dev/mmcblk0p1 /boot/uboot auto defaults 0 0" >> /target/etc/fstab

@ -28,13 +28,13 @@ index 61bc6ae..fea0a1b 100644
+
+
+ if [ -e /etc/rcn.conf ]; then
+ mkdir -p /tmp/mmc
+ mount /dev/mmcblk0p1 /tmp/mmc
+ #mkdir -p /tmp/mmc
+ #mount /dev/mmcblk0p1 /tmp/mmc
+ #cp /tmp/mmc/boot.scr /tmp/mmc/netinstall.scr
+ #cp /tmp/mmc/normal.scr /tmp/mmc/boot.scr
+ rm -f /tmp/mmc/uInitrd.net
+ sync
+ umount /tmp/mmc
+ #rm -f /tmp/mmc/uInitrd.net
+ #sync
+ #umount /tmp/mmc
+
+ mkdir -p /target/boot/uboot
+ echo "/dev/mmcblk0p1 /boot/uboot auto defaults 0 0" >> /target/etc/fstab

@ -8,14 +8,14 @@ index 0000000..6d06fc7
+cp /etc/e2fsck.conf /target/etc/e2fsck.conf
+
+if [ -e /etc/rcn.conf ]; then
+ mkdir -p /tmp/mmc
+ mount /dev/mmcblk0p1 /tmp/mmc
+ #mkdir -p /tmp/mmc
+ #mount /dev/mmcblk0p1 /tmp/mmc
+ #rm -f /tmp/mmc/boot.scr /tmp/mmc/netinstall.scr
+ #cp /tmp/mmc/normal.scr /tmp/mmc/boot.scr
+ rm -f /tmp/mmc/uInitrd.net
+ sync
+ sync
+ umount /tmp/mmc
+ #rm -f /tmp/mmc/uInitrd.net
+ #sync
+ #sync
+ #umount /tmp/mmc
+
+ mkdir -p /target/boot/uboot
+ echo "/dev/mmcblk0p1 /boot/uboot auto defaults 0 0" >> /target/etc/fstab

Loading…
Cancel
Save