User Tools

Site Tools


clunc

This is an old revision of the document!


CLUNC (Client for LaCie U-Boot NetConsole)

CLUNC uses the network (ethernet cable) to connect to U-Boot.

No need of custom serial cable to play with a LaCie NAS !

Latest release: clunc 1.0

Repository: clunc.git

The documentation is in the README file.

Using CLUNC to trigger a boot from USB on a LaCie NetworkSpace 2

Here's a dirty command line which shall allow booting a NS2 on an USB drive/stick:

echo -e 'usb reset
setenv bootargs "console=ttyS0,115200 netconsole=6666@${ipaddr}/,6666@${serverip}/ root=/dev/sdb2 rootwait"
usbboot 0x800000 0:1
usb stop
bootm' | ./clunc -i <ns2_ip> -m <ns2_mac> -w <timeout>

where:

  • <ns2_ip> is the IP which the NS2 will use during the clunc phase
  • <ns2_mac> is the MAC address of the NS2 we want to target (usefull if more than one NS2 is on the network)
  • <timeout> is the time before which clunc will be shut down

Note that, for this to work, the usb device must be partitioned with 2 partitions: the first one shall contain a raw copy of the kernel uImage, the second one will host the root filesystem you want to boot.

clunc.1265277649.txt.gz · Last modified: 2010/02/04 11:00 by 217.128.180.65