Bearbeiten von „Installation DreamPlug“

Zur Navigation springen Zur Suche springen

Warnung: Du bist nicht angemeldet. Deine IP-Adresse wird bei Bearbeitungen öffentlich sichtbar. Melde dich an oder erstelle ein Benutzerkonto, damit Bearbeitungen deinem Benutzernamen zugeordnet werden.

Die Bearbeitung kann rückgängig gemacht werden. Bitte prüfe den Vergleich unten, um sicherzustellen, dass du dies tun möchtest, und veröffentliche dann unten deine Änderungen, um die Bearbeitung rückgängig zu machen.

Aktuelle Version Dein Text
Zeile 1: Zeile 1:
[[Kategorie:Host]]
[[Kategorie:Host]]
* [[Installation u-boot]]


==Minicom einstellen==
==Minicom einstellen==
Zeile 85: Zeile 83:
setenv many_args '1 2 3 4 ...'
setenv many_args '1 2 3 4 ...'


printenv
bootdelay=3
baudrate=115200
baudrate=115200
x_bootcmd_usb=usb start
x_bootcmd_usb=usb start
Zeile 93: Zeile 93:
eth1addr=F0:AD:4E:00:8E:8C
eth1addr=F0:AD:4E:00:8E:8C
x_bootargs_root=root=/dev/sdc2 rootdelay=10
x_bootargs_root=root=/dev/sdc2 rootdelay=10
x_bootcmd_ethernet=ping 192.168.7.3
ipaddr=192.168.7.17
y_bc_usb=usb start
y_bc_usb=usb start
y_bc_kernel=fatload usb 0 0x6400000 uImage
y_bc_kernel=fatload usb 0 0x6400000 uImage
y_ba_root=root=/dev/sdc2 rootdelay=10
y_ba_root=root=/dev/sdc2 rootdelay=10
y_bc_eth=ping 192.168.7.3
y_ba=console=ttyS0,115200
y_ba=console=ttyS0,115200
help=bc is bootcommand, ba is bootarg
help=bc is bootcommand, ba is bootarg
Zeile 101: Zeile 104:
y_boot=${y_bc_usb}; ${y_bc_kernel}; setenv bootargs ${y_ba} ${y_ba_root}; bootm 0x6400000;
y_boot=${y_bc_usb}; ${y_bc_kernel}; setenv bootargs ${y_ba} ${y_ba_root}; bootm 0x6400000;
x_boot=run y_s_eth; ${x_bootcmd_usb}; ${x_bootcmd_kernel}; setenv bootargs ${x_bootargs} ${x_bootargs_root}; bootm 0x6400000;
x_boot=run y_s_eth; ${x_bootcmd_usb}; ${x_bootcmd_kernel}; setenv bootargs ${x_bootargs} ${x_bootargs_root}; bootm 0x6400000;
bootcmd=run x_boot
y_boot2=run y_s_eth; usb start; run y_boot
y_bc_eth=192.168.178.3
ipaddr=192.168.178.17
x_bootcmd_ethernet=ping 192.168.178.3
bootdelay=10
stdin=serial
stdin=serial
stdout=serial
stdout=serial
stderr=serial
stderr=serial
bootcmd=run y_boot
</pre>
</pre>
Start von USB (Debian Netzinstallation):
Start von USB (Debian Netzinstallation):
Zeile 129: Zeile 127:
</pre>
</pre>
===Von USB booten===
===Von USB booten===
Version 2:
<pre>
<pre>
usb start
usb start
Zeile 135: Zeile 134:
setenv bootargs 'console=ttyS0,115200 root=/dev/sdc2 rootdelay=10'
setenv bootargs 'console=ttyS0,115200 root=/dev/sdc2 rootdelay=10'
bootm 0x6400000
bootm 0x6400000
</pre>
Version 2:
<pre>
usb start
fatload usb 0 0x00800000 /uImage.3.4.4
setenv bootargs 'console=ttyS0,115200 root=/dev/sdc2 rootdelay=10'
bootm 0x00800000
</pre>
</pre>
Version alt:
Version alt:
Zeile 152: Zeile 144:
setenv bootargs '${bootargs_console} ${bootargs_root}'
setenv bootargs '${bootargs_console} ${bootargs_root}'
bootm 0x6400000
bootm 0x6400000
</pre>
== WLan aktivieren ==
/etc/modprobe.d/blacklist.conf (excerpt):
<pre>
# guruplug wireless *client* modules
blacklist libertas
blacklist libertas_sdio
</pre>
/etc/network/interfaces:
<pre>
auto uap0
iface uap0 inet static
        pre-up modprobe uap8xxx
        post-up /etc/network/guruplug-wl-conf.sh start
        post-down /etc/network/guruplug-wl-conf.sh stop
        address 192.168.7.3
        netmask 255.255.255.0
</pre>
<pre>
FN=/etc/network/guruplug-wl-conf.sh
cat <<'EOS' >$FN
#!/bin/sh
SSID="regina-regio"
PW="some_password"
CH=5
PATH=/sbin:/bin:/usr/sbin:/usr/bin
case "$1" in
        start) 
                set -x -e
                uaputl sys_cfg_radio_ctl 0              # radio on
                uaputl sys_cfg_channel $CH              # set channel
                uaputl sys_cfg_ssid $SSID              # set SSID
                uaputl sys_cfg_protocol 32              # WPA2
                uaputl sys_cfg_cipher 8 8              # AES CCMP / AES CCMP
                uaputl sys_cfg_wpa_passphrase $PW      # set password
                uaputl bss_start                        # start the BSS
                set +x
                exit 0
                ;;
        stop) 
                set -x
                uaputl bss_stop                # stop the BSS
                uaputl sys_cfg_radio_ctl 1      # radio off
                set +x
                exit 0
                ;;
        status)
                echo "--------------------------------------------------------------------------"
                uaputl sys_info                # display system info
                uaputl sta_list                # display list of clients
                echo "--------------------------------------------------------------------------"
                exit 0
                ;;
esac
exit 1
EOS
chmod uog+x $FN
</pre>
</pre>


Zeile 223: Zeile 151:
mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n initramfs -d initrd.img-3.2.0-0.bpo.2-kirkwood uInitrd
mkimage -A arm -O linux -T ramdisk -C none -a 0 -e 0 -n initramfs -d initrd.img-3.2.0-0.bpo.2-kirkwood uInitrd
</pre>
</pre>
== Neuen Kernel installieren ==
* Download von sheeva-3.4.4-Modules.tar.gz + sheeva-3.4.4-System.map + dream-3.4.4-uImage http://www.xilka.com/sheeva/kernel
<pre>
KVer=3.4.4
tar x -C / --overwrite -zf sheeva-$KVer-Modules.tar.gz
cp sheeva-$KVer-System.map dream-$KVer-uImage /boot/
depmod -eF /boot/sheeva-$KVer-System.map $KVer
</pre>
== Datenträger ==
* /dev/sdd8: LABEL="wd1_data" UUID="6f6d161c-cd65-4d02-84fb-96212fd125e8" TYPE="ext4"
* /dev/sda2: LABEL="dreamv8_fs" UUID="26c4d755-bac1-4c6d-8419-6608fa25bf21" SEC_TYPE="ext2" TYPE="ext3"
* /dev/sda1: SEC_TYPE="msdos" LABEL="dreamv8_kr" UUID="510F-E85E" TYPE="vfat"
* /dev/sdc1: SEC_TYPE="msdos" LABEL="udream_boot" UUID="C004-8ED1" TYPE="vfat"
* /dev/sdc2: LABEL="udream_squeeze" UUID="ba61484c-bdad-4e1b-8811-2077cb7cce0f" TYPE="ext4"
* /dev/sdd2: LABEL="w1_squeeze" UUID="86f0517f-8c0c-4a4a-b84a-7b4813c09cbd" TYPE="ext4"
* /dev/sdd6: LABEL="wd1_swap" UUID="349862c4-7c5b-441a-91c4-3c7f9e4af8b9" TYPE="swap"

Bitte kopiere keine Webseiten, die nicht deine eigenen sind, benutze keine urheberrechtlich geschützten Werke ohne Erlaubnis des Urhebers!
Du gibst uns hiermit deine Zusage, dass du den Text selbst verfasst hast, dass der Text Allgemeingut (public domain) ist, oder dass der Urheber seine Zustimmung gegeben hat. Falls dieser Text bereits woanders veröffentlicht wurde, weise bitte auf der Diskussionsseite darauf hin. Bitte beachte, dass alle Info-Theke-Beiträge automatisch unter der „Gemeinfreiheit“ stehen (siehe Info-Theke:Urheberrechte für Einzelheiten). Falls du nicht möchtest, dass deine Arbeit hier von anderen verändert und verbreitet wird, dann klicke nicht auf „Seite speichern“.

Abbrechen Bearbeitungshilfe (wird in einem neuen Fenster geöffnet)