Welcome! Log In Create A New Profile

Advanced

Zyxel NSA320 u-boot-2014.07-tld-4 for testing

Posted by bodhi 
Zyxel NSA320 u-boot-2014.07-tld-4 for testing
August 03, 2015 09:52PM
I've uploaded the Zyxel NSA320 u-boot-2014.07-tld-4 for testing.

Download at Dropbox
uboot.2014.07-tld-4.nsa320.bodhi.tar
md5
22b705ca97eb8e804c69a14e2d2fe798

In this u-boot image, I've incorporated the fix for the network PHY problem. This problem occurs when the box is shutdown, and upon coming up with the Power button, the network link was not brought up properly. So the result is netconsole does not work and no network can be accessed for tfpt, or sntp during boot.

Please test this with UART, if you have serial console. Since this is the NAND version, kwboot must be executed with -p option:

kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2014.07-tld-4.nsa320.mtd0.kwb -p

Interrupt serial console after the image was loaded and U-Boot console countdown started. And execute the following commands at the u-boot prompt:
ping $serverip
ping <your router IP address>
In the 2nd command <your router IP address> should be replaced with the real IP address of your router.

And then boot all the way into Debian/Arch to verify everything is normal. If you have incorporated the GPIO hacks to bring up the network before, remove it temporarily, and the run the test above again (shutting down the box, run kwboot, power up with power button).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Zyxel NSA320 u-boot-2014.07-tld-4 for testing
August 04, 2015 08:06AM
Hi bodhi,

just a quick test on a NSA320 box with custom zyxel uboot gave positive results,
if I set power_resume = 0 i.e. no power resume and than the box is shutdown, upon
coming up with the Power button afterwards kwboot results are:

kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2014.07-tld-4.nsa320.mtd0.kwb -p
Sending boot message. Please reboot the target...|
Sending boot image...
  0 % [......................................................................]
  1 % [......................................................................]
  3 % [......................................................................]
  5 % [......................................................................]
 
............

 94 % [......................................................................]
 95 % [......................................................................]
 97 % [......................................................................]
 99 % [....................................]
[Type Ctrl-\ + c to quit]


U-Boot 2014.07-tld-4 (Aug 03 2015 - 19:23:09)
ZyXEL NSA320 2-Bay Power Media Server

SoC:   Kirkwood 88F6281_A1
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  128 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   egiga0
MV88E1318 PHY initialized on egiga0
Hit any key to stop autoboot:  0

after stopping and setting serverip and ipaddr ping works,
although on the egiga0 phy only the yellow led blinks, green led does not signal
the ping,

NSA320> ping $serverip
Using egiga0 device
host 192.168.1.97 is alive
NSA320> ping 192.168.1.1
Using egiga0 device
host 192.168.1.1 is alive

booting debian jessie from usb disk with 4.0.0-kirkwood-tld-2 kernel works also and the phy stays powered and
one can ssh into the box, looks good so far, ...

best wishes pbg4
Re: Zyxel NSA320 u-boot-2014.07-tld-4 for testing
August 04, 2015 02:30PM
Hi pbg4,

So the behavior is consistent with the NSA310S PHY manual pokes. Everything works, but a minor glitch is some how the Ethernet port LED does not refect the true speed. I'll move this image status up to release thread. We'll look at the LED issue later.

Thanks!

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Zyxel NSA320 u-boot-2014.07-tld-4 for testing
August 17, 2015 03:05AM
moved to the nsa3x0s U-Boot thread



Edited 2 time(s). Last edit at 08/24/2015 02:17AM by pengu.
Re: Zyxel NSA320 u-boot-2014.07-tld-4 for testing
August 17, 2015 03:15AM
This is the wrong thread :) but thanks for testing!

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: