Installation DreamPlug

Aus Info-Theke
Zur Navigation springen Zur Suche springen

Minicom einstellen

Als root:

Einstellungen zum seriellen Anschluss:
    | A - Serieller Anschluss      : /dev/ttyUSB0                           |
    | B - Pfad zur Lockdatei       : /var/lock                              |
    | C - Programm zur Rufannahme  :                                        |
    | D - Programm zum Wählen      :                                        |
    | E - Bps/Par/Bits             : 115200 8N1                             |
    | F - Hardware Flow Control    : Nein                                   |
    | G - Software Flow Control    : Nein                                   |

Links

Installation auf USB-Stick

Download

DIR=/data/dreamplug
mkdir $DIR
cd $DIR
mkdir google debian
cd debian
wget ftp://ftp.debian.org/debian/dists/squeeze/main/installer-armel/current/images/kirkwood/netboot/marvell/sheevaplug/uInitrd
cd ../google
for file in dream_burn_spi.tar.bz2 linux-2.6.33.6.tar.bz2 dreamplug_debian_v0.2.zip.001 \
    dreamplug_debian_v0.2.zip.002 "Set Up A Debian File System In DreamPlug v0.2-20110519.pdf" \
    uImage "DreamPlug User Guide_US_v1.1.pdf"  uImage_2.6.33.7 ; do
 wget http://dreamplug.googlecode.com/files/$file
done
mkdir rootfs
cd rootfs
cat ../dreamplug_debian_v0.2.zip.001 ../dreamplug_debian_v0.2.zip.002 >debian_rootfs.zip
unzip debian_rootfs.zip
rm debain_rootfs.zip
cd $DIR

USB-Stick einrichten

Zwei Partitionen: 50 Spuren (280 MB) FAT32, 3GByte ext4

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1          50       69376    c  W95 FAT32 (LBA)
/dev/sdc2              51        2781     3845248   83  Linux
</p>
# ======= Warnung: Falsche Definition von DEV zerstört ein Laufwerk ==========
DEV=sdc

mount /dev/${DEV}1
mkfs.vfat -F 32 -n udream_boot /dev/${DEV}1
mkfs.ext4 -L udream_squeeze /dev/${DEV}2

mount /dev/${DEV}1 /media/trg
cd $DIR
cp debian/uInitrd /media/trg
umount /media/trg

mount -o noatime /dev/${DEV}2 /media/trg
tar --directory /media/trg -xzf google/rootfs/dreamplug_debian_v0.2.tar.gz
cp debian/u
umount /media/trg

Dreamplug von USB-Stick booten

minicom