Signed-off-by: Robert Nelson <robertcnelson@gmail.com>pull/8/head
parent
a41f1a19c5
commit
ef234ca7d5
@ -1,15 +0,0 @@
|
|||||||
echo "Debug: Lucid DVI"
|
|
||||||
if test "${beaglerev}" = "xMA"; then
|
|
||||||
echo "Kernel is not ready for 1Ghz limiting to 800Mhz"
|
|
||||||
setenv mpurate 800
|
|
||||||
fi
|
|
||||||
if test "${beaglerev}" = "xMB"; then
|
|
||||||
echo "Kernel is not ready for 1Ghz limiting to 800Mhz"
|
|
||||||
setenv mpurate 800
|
|
||||||
fi
|
|
||||||
setenv dvimode 1280x720MR-16@60
|
|
||||||
setenv vram 12MB
|
|
||||||
setenv bootcmd 'mmc init; fatload mmc 0:1 0x80300000 uImage; fatload mmc 0:1 0x81600000 uInitrd; bootm 0x80300000 0x81600000'
|
|
||||||
setenv bootargs console=ttyO2,115200n8 console=tty0 root=/dev/mmcblk0p5 ro vram=${vram} omapfb.mode=dvi:${dvimode} fixrtc buddy=${buddy} mpurate=${mpurate}
|
|
||||||
boot
|
|
||||||
|
|
@ -1,51 +0,0 @@
|
|||||||
diff --git a/lib/chroot-setup.sh b/lib/chroot-setup.sh
|
|
||||||
index 61bc6ae..fea0a1b 100644
|
|
||||||
--- a/lib/chroot-setup.sh
|
|
||||||
+++ b/lib/chroot-setup.sh
|
|
||||||
@@ -110,6 +110,12 @@ EOF
|
|
||||||
APT_LISTCHANGES_FRONTEND=none
|
|
||||||
export APT_LISTCHANGES_FRONTEND
|
|
||||||
|
|
||||||
+ cp /etc/flash-kernel.conf /target/etc/flash-kernel.conf
|
|
||||||
+ #cp /etc/e2fsck.conf /target/etc/e2fsck.conf
|
|
||||||
+ mkdir -p /target/etc/init/
|
|
||||||
+
|
|
||||||
+ cp /etc/ttyO2.conf /target/etc/init/ttyO2.conf
|
|
||||||
+
|
|
||||||
return 0
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -120,6 +126,33 @@ chroot_cleanup () {
|
|
||||||
mv /target/sbin/initctl.REAL /target/sbin/initctl
|
|
||||||
fi
|
|
||||||
|
|
||||||
+ if [ -e /target/boot/initrd.img ]; then
|
|
||||||
+ /usr/sbin/flash_eraseall /dev/mtd2
|
|
||||||
+
|
|
||||||
+
|
|
||||||
+ 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
|
|
||||||
+ #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
|
|
||||||
+
|
|
||||||
+ cp -r /lib/modules/`uname -r`/ /target/lib/modules/
|
|
||||||
+ cp -r /lib/firmware/ /target/lib/
|
|
||||||
+ rm -f /etc/rcn.conf
|
|
||||||
+
|
|
||||||
+
|
|
||||||
+ 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.
|
|
@ -1,13 +0,0 @@
|
|||||||
echo "Debug: Lucid Serial"
|
|
||||||
if test "${beaglerev}" = "xMA"; then
|
|
||||||
echo "Kernel is not ready for 1Ghz limiting to 800Mhz"
|
|
||||||
setenv mpurate 800
|
|
||||||
fi
|
|
||||||
if test "${beaglerev}" = "xMB"; then
|
|
||||||
echo "Kernel is not ready for 1Ghz limiting to 800Mhz"
|
|
||||||
setenv mpurate 800
|
|
||||||
fi
|
|
||||||
setenv bootcmd 'mmc init; fatload mmc 0:1 0x80300000 uImage; fatload mmc 0:1 0x81600000 uInitrd; bootm 0x80300000 0x81600000'
|
|
||||||
setenv bootargs console=ttyO2,115200n8 root=/dev/mmcblk0p5 ro fixrtc buddy=${buddy} mpurate=${mpurate}
|
|
||||||
boot
|
|
||||||
|
|
Loading…
Reference in new issue