This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| debian_install [2012/05/17 11:18] – 83.163.254.51 | debian_install [2013/01/21 13:28] (current) – 82.234.233.9 | ||
|---|---|---|---|
| Line 23: | Line 23: | ||
| < | < | ||
| ns2> set diskload "ide reset && ext2load ide 0:1 0x800000 uImage && ext2load ide 0:1 0x1200000 uInitrd" | ns2> set diskload "ide reset && ext2load ide 0:1 0x800000 uImage && ext2load ide 0:1 0x1200000 uInitrd" | ||
| + | ns2> set bootcmd "dhcp && run netconsole; if run usbload || run diskload; then bootm 0x800000 0x1200000; fi" | ||
| ns2> print diskload bootcmd | ns2> print diskload bootcmd | ||
| diskload=ide reset && ext2load ide 0:1 0x800000 uImage && ext2load ide 0:1 0x1200000 uInitrd | diskload=ide reset && ext2load ide 0:1 0x800000 uImage && ext2load ide 0:1 0x1200000 uInitrd | ||
| Line 31: | Line 32: | ||
| </ | </ | ||
| - | ===== Run the Debian installer ===== | + | ===== Run the network-console |
| - | ==== Download installer images | + | ==== Prepare network-console files ==== |
| - | Download the network-console Debian installer files from our [[ftp:// | + | |
| - | ==== Load installer images ==== | + | First you must download the network-console files from this [[http:// |
| + | |||
| + | To add the **preseed.cfg** file to the the **uInitrd** image, you can try the following shell commands: | ||
| + | |||
| + | $ wget http:// | ||
| + | $ dd if=uInitrd of=initrd.gz bs=64 skip=1 | ||
| + | $ mkdir initrd; cd initrd | ||
| + | $ gzip -d < ../ | ||
| + | $ wget ftp:// | ||
| + | $ find . | cpio -H newc --create --verbose | gzip -9 > ../ | ||
| + | $ cd .. | ||
| + | $ mkimage -A arm -O linux -T ramdisk -C gzip -a " | ||
| + | $ rm -rf initrd.gz initrd | ||
| + | |||
| + | ==== Load network-console | ||
| At your convenience, | At your convenience, | ||
| Line 42: | Line 56: | ||
| === From an USB disk === | === From an USB disk === | ||
| - | * Prepare an USB disk or stick: put the [[ftp:// | + | * Prepare an USB disk or stick: put the network-console files into the first partition (VFAT formatted). |
| * Plug the USB disk at the front. | * Plug the USB disk at the front. | ||
| * [[uboot# | * [[uboot# | ||
| Line 54: | Line 68: | ||
| === From network via a TFTP server === | === From network via a TFTP server === | ||
| - | * On a you development machine, setup a TFTP server and put the [[ftp:// | + | * On a you development machine, setup a TFTP server and put the network-console files into the exported directory. |
| * [[uboot# | * [[uboot# | ||