bin / echo 1 > /sys /class /gpio /gpio49 /value # power on on power fail /bin / echo 47 > /sys /class /gpio / export /bin / echo 49 > /sys /class /gpio / export # 49 out, value 1 /bin / echo "out" > /sys /class /gpio /gpio49 /direction Setenv bootargs 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 loglevel=7' boot /uImageĬp /tmp /boot /uImage /tmp /boot /uInitrd /var /lib /tftpboot /nsa320 / #tar -C /mnt/ -xjf /tmp/Debian-3.12.2 #sync #umount /mnt Http: // /read.php? 2, 12096, 12180 umount /dev /sdb1ĭd if= /dev /zero of= /dev /sdb bs=1M count= 1 fdisk /dev /sdb Setenv bootargs 'console=ttyS0,115200 root=/dev/sdb1 rootdelay=10 loglevel=7' boot/uImage #mv /tmp/boot/uImage /var/lib/tftpboot/nsa320/ #rm -r /tmp/boot/ # get initrd.gz # dep # wget -O /var/lib/tftpboot/nsa320/initrd.gz wget -q ftp: // /debian /dists /stable /main /installer-armel /current /images /kirkwood /netboot /marvell /sheevaplug /uInitrd -O /var /lib /tftpboot /nsa320 /initrd.gz # get uImage from Arch Linux (no nfs server support?) mkdir /var /lib /tftpboot /nsa320 Sudo /home /pako /develop /nsa320 /kwboot -p -t -B 115200 /dev /ttyUSB0 -b /tmp /NSA320quickstart / Setenv serverip 192.168.2.155 # set to your desktop ip Tar -C /tmp -xzf /tmp /NSA320quickstart /.gzĬp /tmp / /var /lib /tftpboot / # flash Tar -C /tmp -xzf /tmp / NSA320quickstart /.gz Linux debian 4.6.0-kirkwood-tld- 1 #1 PREEMPT Wed May 18 03:54: armv5tel GNU/Linux # OLD # flash new uboot # on tftp server wget http: //dl. /u / 1015928 /Kirkwood /rootfs_images / -O /tmp / Tar xjf /tmp /Debian-4.4.0-kirkwood-tld- 2 -C /mnt / sync umount /dev uname -a # create USB (Debian Jessie) DEVICE= /dev /sdc Setenv bootcmd 'usb start run load_dtb run load_uimage if run load_initrd then bootm 0x800000 0x1100000 0x1c00000 else bootm 0x800000 - 0x1c00000 fi' Setenv load_uimage 'ext4load usb 0:1 0x800000 /boot/uImage' Setenv load_initrd 'ext4load usb 0:1 0x1100000 /boot/uInitrd' Setenv load_dtb 'ext4load usb 0:1 0x1c00000 /boot/dts/kirkwood-nsa320.dtb' Setenv bootargs 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=3 loglevel=7'