Welcome! Log In Create A New Profile

Advanced

Zyxel NSA310 and NSA320 kernel linux-4.1.0-kirkwood-tld-3 for testing

Posted by bodhi 
Zyxel NSA310 and NSA320 kernel linux-4.1.0-kirkwood-tld-3 for testing
August 29, 2015 02:35PM
I've uploaded linux-4.1.0-kirkwood-tld-3-test for the NSA310 and NSA320 boxes. This test kernel incorporated pbg4's patch for the nsa3xx-hwmon as described here.

For users who has the NSA310 and NSA320, please try install this kernel and make use of the hwmon to see if your sensor monitor module is working correctly. Note that only some variant of the NSA310 has the correct sensor to make use of this module.

Dowload at Dropbox
linux-4.1.0-kirkwood-tld-3-test.bodhi.tar.bz2
md5
bd103b07ff358eb3ba261323101cfd76

There are 2 files in this tarball. Remember to extract the DTB tarball to get the latest 310, 310a, and 320 DTB files. Install the kernel image file with dpkg as usual.
linux-image-4.1.0-kirkwood-tld-3-test_3.0_armel.deb
linux-dtb-4.1.0-kirkwood-tld-3.tar

Please post questions and your findings here in this thread.

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



Edited 2 time(s). Last edit at 08/31/2015 11:31AM by bodhi.
NSA310 kernel linux-4.1.0-kirkwood-tld-3 for testing
August 31, 2015 06:27AM
http://pastebin.com/2PXNJuZj <- the full bootlog

[    9.655453] hwmon_vid: Unknown VRM version of your CPU

as we can see here, the "lm sensors" output still doesn't make sense

root@debianNSA310:~# sensors
adt7476-i2c-0-2e
Adapter: mv64xxx_i2c adapter
in0:          +0.00 V  (min =  +0.00 V, max =  +3.31 V)
Vcore:        +0.00 V  (min =  +0.00 V, max =  +2.99 V)
+3.3V:        +0.00 V  (min =  +2.96 V, max =  +3.61 V)
+5V:          +0.00 V  (min =  +4.48 V, max =  +5.50 V)
+12V:         +0.00 V  (min =  +0.00 V, max = +15.69 V)
fan1:           0 RPM  (min =    0 RPM)
fan2:           0 RPM  (min =    0 RPM)
fan3:           0 RPM  (min =    0 RPM)
fan4:           0 RPM  (min =    0 RPM)
temp1:       -128.0°C  (low  = -127.0°C, high = +127.0°C)
                       (crit = +100.0°C, hyst = +96.0°C)
M/B Temp:    -128.0°C  (low  = -127.0°C, high = +127.0°C)
                       (crit = +100.0°C, hyst = +96.0°C)
temp3:       -128.0°C  (low  = -127.0°C, high = +127.0°C)
                       (crit = +100.0°C, hyst = +96.0°C)
cpu0_vid:    +0.000 V



Edited 2 time(s). Last edit at 08/31/2015 06:42AM by pengu.
Re: NSA310 kernel linux-4.1.0-kirkwood-tld-3 for testing
August 31, 2015 10:09AM
Hi,

I've installed the test kernel on NSA320 and can confirm that everything works
with nsa3xx-hwmon on this platform as described here:

http://forum.doozan.com/read.php?2,12096,23387#msg-23387

it is completely the same output with all the details given above, except,..

root@debian-jessie:~# uname -a
Linux debian-jessie 4.1.0-kirkwood-tld-3-test #2 PREEMPT Thu Aug 27 00:36:56 PDT 2015 armv5tel GNU/Linux

@pengu

the NSA310 version you have has the analog devices adt7476 sensor ic installed,
it is found by the driver at the right adress on i2c bus at 0x2e,

this variant can not use the nsa3xx-hwmon driver which is only for the holtek mcu factory programmed by zyxel,

perhaps you should have look at /etc/sensors3.conf or /etc/sensors.d if the conf entry for the adt7476 is Ok
and seek information in the hwmon mailing list, to me it looks like a sensors conf problem,
the hwmon_vid message can be ignored, it is only for x86 cpus where the VRM version is defined,..

but of course zyxel may also have hardwired something aside from the normal way,..
who knows,

@ other NSA310 owners who want to test:

please have a look first with i2cdetect -y 0 if there is something at adress 0x2e, if yes than the nsa3xx-hwmon
driver is not for this version of NSA310, only if there is nothing at this adress you should report back here in the
forum. You will than need a patch for kirkwood-nsa310.dts and generate kirkwood-nsa310.dtb with the dtc
compiler found in the scripts/dtc directory of linux-4.1.0 (after the sources have been prepared with bodhi's patch
and make prepare and make scripts has been run),..

@ other NSA320 owners should have no problem installing this test version, but as there is no zImage in
the testkernel package you must have a new uboot installed and be able to load the dtb when booting,..

best wishes pbg4



Edited 1 time(s). Last edit at 08/31/2015 10:11AM by pbg4.
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: