parent
a1faac1d37
commit
c7cbf18a35
@ -0,0 +1,4 @@
|
|||||||
|
setenv bootcmd 'mmc init; fatload mmc 0:1 0x80000000 uImage; fatload mmc 0:1 0x81600000 uInitrd; bootm 0x80000000 0x81600000'
|
||||||
|
setenv bootargs 'console=tty0 root=/dev/mmcblk0p2 ro omapfb.mode=dvi:1280x720MR-16@60'
|
||||||
|
boot
|
||||||
|
|
@ -0,0 +1,4 @@
|
|||||||
|
setenv bootcmd 'mmc init; fatload mmc 0:1 0x80000000 uImage; fatload mmc 0:1 0x81600000 uInitrd; bootm 0x80000000 0x81600000'
|
||||||
|
setenv bootargs 'console=ttyS2,115200n8 root=/dev/mmcblk0p2 ro omapfb.mode=dvi:1280x720MR-16@60'
|
||||||
|
boot
|
||||||
|
|
@ -0,0 +1,32 @@
|
|||||||
|
diff --git a/lib/chroot-setup.sh b/lib/chroot-setup.sh
|
||||||
|
index 61bc6ae..75aa52f 100644
|
||||||
|
--- a/lib/chroot-setup.sh
|
||||||
|
+++ b/lib/chroot-setup.sh
|
||||||
|
@@ -110,6 +110,8 @@ EOF
|
||||||
|
APT_LISTCHANGES_FRONTEND=none
|
||||||
|
export APT_LISTCHANGES_FRONTEND
|
||||||
|
|
||||||
|
+ cp /etc/e2fsck.conf /target/etc/e2fsck.conf
|
||||||
|
+
|
||||||
|
return 0
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -120,6 +122,18 @@ chroot_cleanup () {
|
||||||
|
mv /target/sbin/initctl.REAL /target/sbin/initctl
|
||||||
|
fi
|
||||||
|
|
||||||
|
+ if [ -e /etc/rcn.conf ]; then
|
||||||
|
+ 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
|
||||||
|
+ cp /tmp/mmc/uInitrd /tmp/mmc/uInitrd.net
|
||||||
|
+ cp /tmp/mmc/uInitrd.final /tmp/mmc/uInitrd
|
||||||
|
+ cp -r /lib/modules/`uname -r`/ /target/lib/modules/
|
||||||
|
+ rm -f /etc/rcn.conf
|
||||||
|
+ umount /tmp/mmc
|
||||||
|
+ fi
|
||||||
|
+
|
||||||
|
# Undo the mounts done by the packages during installation.
|
||||||
|
# Reverse sorting to umount the deepest mount points first.
|
||||||
|
# Items with count of 1 are new.
|
Loading…
Reference in new issue