Debian on NSA325 V1/V2 December 08, 2013 03:47PM |
Registered: 12 years ago Posts: 115 |
download the sata-debian-uboot.tar.gz from this post extract it to a fat 32 formated usb in uboot type resetenv then reset the device after reboot type saveenv (in uboot) reset again let the device boot normal after it finishes and reboot uboot variables are set for sata boot of debian
download the usb-debian-uboot.tar.gz from this post extract it to a fat 32 formated usb in uboot type resetenv then reset the device after reboot type saveenv (in uboot) reset again let the device boot normal after it finishes and reboot uboot variables are set for usb boot of debian.
if [ -d /sys/class/leds/nsa325:green:sys ]; then echo default-on > /sys/class/leds/nsa325:green:sys/trigger echo none > /sys/class/leds/nsa325:orange:sys/trigger fi
Install debian package "acpid" # Setup files 1. In /etc/acpi/events/button_power put event=button/power action=/bin/sh /etc/acpi/shutdown.sh 2. In /etc/acpi/shutdown.sh put #!/bin/sh echo timer > /sys/class/leds/nsa325:green:sys echo none > /sys/class/leds/nsa325:orange:sys /sbin/shutdown -h now "Power button pressed" 3. Reload acpid configuration /etc/init.d/acpid reload
from evdev import InputDevice from select import select from subprocess import call dev = InputDevice('/dev/input/event0') while True: r,w,x = select([dev], [], []) for event in dev.read(): if event.code == 133: call(["shutdown", "-r", "now", "\"this is a test\""])
Re: NSA 325 V2 Debian Possible? December 08, 2013 04:26PM |
Registered: 12 years ago Posts: 232 |
Re: NSA 325 V2 Debian Possible? December 08, 2013 04:39PM |
Registered: 12 years ago Posts: 115 |
Re: NSA 325 V2 Debian Possible? December 09, 2013 12:58PM |
Registered: 12 years ago Posts: 232 |
Re: NSA 325 V2 Debian Possible? December 10, 2013 05:12AM |
Registered: 11 years ago Posts: 214 |
Re: NSA 325 V2 Debian Possible? December 10, 2013 09:30AM |
Registered: 12 years ago Posts: 115 |
Re: NSA 325 V2 Debian Possible? December 13, 2013 01:23PM |
Registered: 12 years ago Posts: 115 |
Re: NSA 325 V2 Debian Possible? December 16, 2013 04:21PM |
Registered: 12 years ago Posts: 232 |
Re: NSA 325 V2 Debian Possible? December 16, 2013 04:53PM |
Registered: 12 years ago Posts: 115 |
download the sata-debian-uboot.tar.gz from this post extract it to a fat 32 formated usb in uboot type resetenv then reset the device after reboot type saveenv (in uboot) reset again let the device boot normal after it finishes and reboot uboot variables are set for sata boot of debian
download the usb-debian-uboot.tar.gz from this post extract it to a fat 32 formated usb in uboot type resetenv then reset the device after reboot type saveenv (in uboot) reset again let the device boot normal after it finishes and reboot uboot variables are set for usb boot of debian.
Re: NSA 325 V2 Debian Possible? December 16, 2013 08:54PM |
Admin Registered: 13 years ago Posts: 18,994 |
Re: NSA 325 V2 Debian Possible? December 17, 2013 12:31AM |
Registered: 10 years ago Posts: 44 |
> download the sata-debian-uboot.tar.gz from this > post > extract it to a fat 32 formated usb > > in uboot type resetenv > then reset the device > > after reboot type saveenv (in uboot) > reset again > let the device boot normal > > after it finishes and reboot uboot variables are > set for sata boot of debian >>
> download the usb-debian-uboot.tar.gz from this > post > extract it to a fat 32 formated usb > > in uboot type resetenv > then reset the device > > after reboot type saveenv (in uboot) > reset again > let the device boot normal > > after it finishes and reboot uboot variables are > set for usb boot of debian. >>
Re: NSA 325 V2 Debian Possible? December 17, 2013 02:23AM |
Admin Registered: 13 years ago Posts: 18,994 |
Quote
Should I expect drive and panel leds to work? on the power button and led just below that are on. power = blue and system status or led just below power is orage and usb is green when I have a usb device plugged in.
Re: NSA 325 V2 Debian Possible? December 17, 2013 12:51PM |
Admin Registered: 13 years ago Posts: 18,994 |
Re: NSA 325 V2 Debian Possible? December 17, 2013 01:41PM |
Registered: 12 years ago Posts: 115 |
sudo ./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.NAND-NSA320-IDEfixedv4-scripted.kwb -p Sending boot message. Please reboot the target...| Sending boot image... 0 % [.....................................++...............................] 1 % [.....................................................................+xmodem: Bad message
sudo ./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2013.10.goflexnet.mtd0.kwb -p Sending boot message. Please reboot the target.../ Sending boot image... 0 % [......................................................................] 1 % [............................................................+.........] 3 % [......................................................................] 5 % [....................................+.................................] 6 % [........+.............................................................] 8 % [......................................................................] 10 % [......................................................................] 11 % [...............................................+......................] 13 % [.................................+....................................] 15 % [.+..............................+.....................................] 16 % [.....+xmodem: Bad message
sudo ./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.NAND-NSA320-IDEfixedv4-scripted.kwb -p Sending boot message. Please reboot the target...| Sending boot image... 0 % [+...........................+................................+........] 1 % [.......................+................................+.............] 3 % [..................+................................+..................] 4 % [..............+...............................+.......................] 6 % [........+.................................+...........................] 8 % [....+...................................+.............................] 9 % [.+.............................+.................................+....] 11 % [...........................+................................+.........] 13 % [......................+.................................+.............] 14 % [...................+...............................+..................] 16 % [................+.............................+.......................] 18 % [.........+...............................+............................] 19 % [.....+.....................+xmodem: Protocol error
Re: NSA 325 V2 Debian Possible? December 17, 2013 11:59PM |
Admin Registered: 13 years ago Posts: 18,994 |
Re: NSA 325 V2 Debian Possible? December 18, 2013 03:08AM |
Registered: 12 years ago Posts: 115 |
Re: NSA 325 V2 Debian Possible? December 19, 2013 01:01AM |
Admin Registered: 13 years ago Posts: 18,994 |
Re: NSA 325 V2 Debian Possible? December 19, 2013 02:59AM |
Admin Registered: 13 years ago Posts: 18,994 |
nanddump -nof uboot.mtd0.bak -l 0x80000 /dev/mtd0
nanddump -nf uboot.mtd0.bak -l 0x80000 /dev/mtd0
Re: NSA 325 V2 Debian Is Possible! December 19, 2013 05:14AM |
Registered: 12 years ago Posts: 115 |
sudo ./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.mtd0.bak -p Sending boot message. Please reboot the target...- Sending boot image... 0 % [....+............+.............................................+......] 1 % [.............................+................................+.......] 3 % [.........................+................+........++.................] 4 % [...+.................+.......+................................++......] 6 % [....................+.............+...................+.......++......] 8 % [.........................+................................+...........] 9 % [....................+................................+................] 11 % [................+.........+xmodem: Protocol errorand produces a 512kb uboot image.
sudo ./kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.mtd0.bak -p Sending boot message. Please reboot the target...| Sending boot image... 0 % [......................................................................] 1 % [...................+xmodem: Bad message
Re: NSA 325 V2 Debian Is Possible! December 20, 2013 03:39AM |
Admin Registered: 13 years ago Posts: 18,994 |
nanddump -nf uboot.mtd0.bak -l 0x80000 /dev/mtd0
Re: NSA 325 V2 Debian Is Possible! December 20, 2013 10:51AM |
Registered: 12 years ago Posts: 115 |
Re: NSA 325 V2 Debian Is Possible! January 02, 2014 03:28PM |
Registered: 11 years ago Posts: 80 |
Re: NSA 325 V2 Debian Is Possible! January 02, 2014 04:31PM |
Registered: 12 years ago Posts: 115 |
Re: NSA 325 V2 Debian Is Possible! January 03, 2014 06:14AM |
Registered: 11 years ago Posts: 80 |
Re: NSA 325 V2 Debian Is Possible! January 03, 2014 06:18AM |
Registered: 12 years ago Posts: 115 |
Re: NSA 325 V2 Debian Is Possible! January 03, 2014 06:39AM |
Admin Registered: 13 years ago Posts: 18,994 |
bootcmd=run hdd_bootcmd; run usb_bootcmd; run stock_bootcmd hdd_bootcmd=setenv ide1 0:1; run make_hdd_bootargs; run hdd_boot usb_bootcmd=setenv usb1 0:1; run make_usb_bootargs; run usb_boot stock_bootcmd=setenv ????; run make_nand_bootargs; run nand_boot
Re: NSA 325 V2 Debian Is Possible! January 03, 2014 10:30AM |
Registered: 11 years ago Posts: 80 |
Re: NSA 325 V2 Debian Is Possible! January 03, 2014 11:07AM |
Admin Registered: 13 years ago Posts: 18,994 |
Re: NSA 325 V2 Debian Is Possible! January 03, 2014 11:47AM |
Registered: 12 years ago Posts: 115 |
Re: NSA 325 V2 Debian Is Possible! January 03, 2014 04:41PM |
Registered: 11 years ago Posts: 80 |