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]] | ||
==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; | ||
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 116: | Zeile 114: | ||
fatload usb 2:1 0x00800000 /uImage | fatload usb 2:1 0x00800000 /uImage | ||
fatload usb 2:1 0x01100000 /uInitrd | fatload usb 2:1 0x01100000 /uInitrd | ||
setenv bootargs | setenv bootargs console=ttyS0,115200n8 base-installer/initramfs-tools/driver-policy=most | ||
bootm 0x00800000 0x01100000 | bootm 0x00800000 0x01100000 | ||
</pre> | </pre> | ||
Zeile 129: | Zeile 127: | ||
</pre> | </pre> | ||
===Von USB booten=== | ===Von USB booten=== | ||
<pre> | <pre> | ||
setenv bootcmd_usb 'usb start; fatload usb 2:1 0x00800000 /uImage' | setenv bootcmd_usb 'usb start; fatload usb 2:1 0x00800000 /uImage' | ||
setenv bootargs_console | setenv bootargs_console console=ttyS0,115200 | ||
setenv bootargs_root | setenv bootargs_root root=/dev/sdc2 rootdelay=10 | ||
setenv bootcmd 'setenv bootargs ${bootargs_console} ${bootargs_root}; run bootcmd_usb; bootm | setenv bootcmd 'setenv bootargs ${bootargs_console} ${bootargs_root}; run bootcmd_usb; bootm 0x00800000' | ||
run bootcmd_usb | run bootcmd_usb | ||
setenv bootargs | setenv bootargs ${bootargs_console} ${bootargs_root} | ||
bootm | bootm 0x00800000 | ||
</pre> | </pre> | ||
==Bootimage erstellen== | === Bootimage erstellen === | ||
<pre> | <pre> | ||
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n "Linux" -d vmlinuz-3.2.0-0.bpo.2-kirkwood uImage | mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n "Linux" -d vmlinuz-3.2.0-0.bpo.2-kirkwood uImage | ||
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> | ||