diff options
| author | Manuel Traut <manut@mecka.net> | 2011-04-29 15:41:22 +0200 |
|---|---|---|
| committer | Manuel Traut <manut@mecka.net> | 2011-04-29 15:41:22 +0200 |
| commit | 437a656acc7aa4276b27fef8582c13b29e50ac52 (patch) | |
| tree | 55543867955c70f0b508917db8b4cfe946186801 | |
| parent | 13a7aa0cbb9df1c59a47836c00714b8a34bbfccc (diff) | |
fix debootstrap script (add console, passwd)
Signed-off-by: Manuel Traut <manut@mecka.net>
| -rw-r--r-- | beagle/uboot.txt | 7 | ||||
| -rwxr-xr-x | linux-basics/fromscratch_vs_debian/deb.sh | 3 |
2 files changed, 8 insertions, 2 deletions
diff --git a/beagle/uboot.txt b/beagle/uboot.txt index 0c4d0b3..5ad36bf 100644 --- a/beagle/uboot.txt +++ b/beagle/uboot.txt @@ -1,5 +1,8 @@ setenv loadaddr 0x80200000 mmc init -fatload mmc1 1 ${loadaddr} uimage.old -setenv bootargs console=ttyO2,115200n8 root=/dev/mmcblk0p2 init=/bin/bash +fatload mmc1 1 ${loadaddr} uimage + +setenv bootargs console=ttyO2,115200n8 root=/dev/mmcblk0p2 rootwait +init=/bin/bash + bootm ${loadaddr} diff --git a/linux-basics/fromscratch_vs_debian/deb.sh b/linux-basics/fromscratch_vs_debian/deb.sh index 2352c7f..3a3457f 100755 --- a/linux-basics/fromscratch_vs_debian/deb.sh +++ b/linux-basics/fromscratch_vs_debian/deb.sh @@ -31,3 +31,6 @@ mkdir /proc /sys mount -t proc none /proc mount -t sysfs none /sys /debootstrap/debootstrap --second-stage +passwd +echo "T0:23:respawn:/sbin/getty -L ttyO2 115200 vt100" >> /etc/inittab +mount -o remount,ro /dev/mmcblk0p2 / |
