Note that Kirkwood based devices do not consult the SD card for uboot information, so the following commands must be entered and/or stored in the uboot environment to load this image: For USB storage: fatload usb 0 0x6400000 uImage-kirkwood fatload usb 0 0x7400000 uInitrd-kirkwood bootm 0x6400000 0x7400000 For SD storage: fatload mmc 0 0x6400000 uImage-kirkwood fatload mmc 0 0x7400000 uInitrd-kirkwood bootm 0x6400000 0x7400000 ### Notes: arcNumber 2998 From: http://archlinuxarm.org/platforms/armv5/pogoplug-v2-pinkgray cd /tmp wget http://jeff.doozan.com/debian/uboot/install_uboot_mtd0.sh chmod +x install_uboot_mtd0.sh ./install_uboot_mtd0.sh From: uboot, modified for fatload and kernel names usb start setenv usb_root /dev/sda2 setenv usb_rootfstype ext4 setenv usb_boot 'mw 0x800000 0 1; fatload usb $usb_device 0x800000 uImage-kirkwood; if fatload usb $usb_device 0x1100000 uInitrd-kirkwood; then bootm 0x800000 0x1100000; else bootm 0x800000; fi' # This command sets usb_root, orginally /dev/$dev which would be sda1, I want sda2 setenv usb_scan 'usb_scan_done=0;for scan in $usb_scan_list; do run usb_scan_$scan; if test $usb_scan_done -eq 0 && fatload usb $usb 0x800000 uImage-kirkwood 1; then usb_scan_done=1; echo "Found bootable drive on usb $usb"; setenv usb_device $usb; setenv usb_root /dev/sda2; fi; done' run usb_bootcmd setenv bootcmd 'usb start; run force_rescue_bootcmd; run usb_fedora_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset' setenv usb_fedora_bootcmd 'run usb_init; setenv usb_root /dev/sda2; run usb_set_bootargs; run usb_fedora_boot' setenv usb_fedora_boot 'mw 0x800000 0 1; fatload usb $usb_device 0x800000 uImage-kirkwood; if fatload usb $usb_device 0x1100000 uInitrd-kirkwood; then bootm 0x800000 0x1100000; else bootm 0x800000; fi' ## Net Install dhcp tftp 0x800000 f17/arm/images/pxeboot/uImage-kirkwood tftp 0x1100000 f17/arm/images/pxeboot/uInitrd-kirkwood setenv bootargs console=$console ks=http://10.255.0.1/f17/arm/ks/kirkwood.ks rd.debug rd.shell cmdline ip=eth0:dhcp nonmemcheck bootm 0x800000 0x1100000 - ip=eth0:dhcp nonmemcheck are required to get the install to run and complete - nfs url should be nfs:host:/path/to/repo/ ; there is a stripping error if nfs:// is used as suggested in the docs. ## Boot after net installed System. setenv bootcmd 'usb start; run force_rescue_bootcmd; run usb_fedora_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset' setenv usb_fedora_bootcmd 'run usb_init; setenv usb_root /dev/sda3; run usb_set_bootargs; run usb_fedora_boot' setenv usb_fedora_boot 'mw 0x800000 0 1; ext2load usb $usb_device 0x800000 uImage-kirkwood; if ext2load usb $usb_device 0x1100000 uInitrd-kirkwood; then bootm 0x800000 0x1100000; else bootm 0x800000; fi'