User Tools

Site Tools


usbboot

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
usbboot [2010/02/10 00:35] 78.250.174.11usbboot [2011/01/24 23:13] (current) 82.234.233.9
Line 14: Line 14:
  
 You could initialize your USB disk or key with the raw image You could initialize your USB disk or key with the raw image
-[[ftp://lacie-nas.org/usb_boot_kw_sid_arm.img.gz|usb_boot_kw_sid_arm.img]]+[[ftp://lacie-nas.org/images/usb_boot_kw_sid_arm.img.gz|usb_boot_kw_sid_arm.img]]
  
 This disk image embeds two partitions. The first contains a kernel uImage and the second a Debian (unstable flavour) ARM rootfs. This disk image embeds two partitions. The first contains a kernel uImage and the second a Debian (unstable flavour) ARM rootfs.
Line 32: Line 32:
 Here is a [[CLUNC|clunc]] command line example: Here is a [[CLUNC|clunc]] command line example:
      
-  echo -e 'setenv bootargs console=ttyS0,115200 netconsole=6666@${ipaddr}/,6666@${serverip}/ root=/dev/sda2 rootwait+  echo -e 'setenv bootargs ip=dhcp console=ttyS0,115200 netconsole=6666@${ipaddr}/,6666@${serverip}/ root=/dev/sda2 rootwait
   usb reset   usb reset
   usbboot 0x800000 0:1   usbboot 0x800000 0:1
   usb stop   usb stop
-  bootm' | ./clunc -i <NAS_IP> -60+  bootm' | ./clunc -i <NAS_IP> -60
  
 ''NAS-IP'' is the source IP used by U-Boot and Linux for the netconsole. ''NAS-IP'' is the source IP used by U-Boot and Linux for the netconsole.
Line 133: Line 133:
 ===== Troubleshooting ===== ===== Troubleshooting =====
  
-  * CLUNC doesn't display the kernel console message: check that the clunc target IP and the netconsole source IP are the same. An utility like tcpdump could provide useful debugging information.+  * CLUNC doesn't display the kernel console message: check that the clunc target IP and the netconsole source IP are the same. An utility like tcpdump could provide useful debugging information. Perhaps you have plug the ethernet cable in the wrong slot, and the kernel assign an ip address to the other one.
  
   * U-Boot fails to scan the USB bus: retry.   * U-Boot fails to scan the USB bus: retry.
usbboot.1265758520.txt.gz · Last modified: 2010/02/10 00:35 by 78.250.174.11