ZyXEL NSA320 booted from USB...once!

Install Arch Linux ARM on other devices.

Re: ZyXEL NSA320 booted from USB...once!

Postby lulo » Tue May 07, 2013 9:10 am

Probably yes - that the same driver working to Debian and Openwrt...and probably i2c-adt* driver
Last edited by lulo on Tue May 07, 2013 9:13 am, edited 1 time in total.
lulo
 
Posts: 90
Joined: Mon Nov 28, 2011 1:19 am

Re: ZyXEL NSA320 booted from USB...once!

Postby pepedog » Tue May 07, 2013 9:12 am

Can you give part of dmesg with info on that driver
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: ZyXEL NSA320 booted from USB...once!

Postby lulo » Tue May 07, 2013 9:15 am

This moment build/rebuild for in this machine new kernel linux-kirkwood-3.8.11-1-ARCH. (this new/old not incuded drivers).

Add actualy dmesg/lsmod for this post:
viewtopic.php?p=31054#p31054
lulo
 
Posts: 90
Joined: Mon Nov 28, 2011 1:19 am

Re: ZyXEL NSA320 booted from USB...once!

Postby lulo » Tue May 07, 2013 10:38 am

This is load to default boot
$this->bbcode_second_pass_code('', '
[root@alarm-nsa310 ~]# lsmod
Module Size Used by
ipv6 264107 10
nsa3xx_hwmon 2276 0
hwmon 1043 1 nsa3xx_hwmon
mv_cesa 10696 0
[root@alarm-nsa310 ~]#
')

modinfo:
$this->bbcode_second_pass_code('', '
[root@alarm-nsa310 ~]# modinfo -p ipv6
disable:Disable IPv6 module such that it is non-functional (int)
disable_ipv6:Disable IPv6 on all interfaces (int)
autoconf:Enable IPv6 address autoconfiguration on all interfaces (int)
[root@alarm-nsa310 ~]# modinfo -p nsa3xx_hwmon
[root@alarm-nsa310 ~]# modinfo -p hwmon
[root@alarm-nsa310 ~]# modinfo -p mv_cesa
[root@alarm-nsa310 ~]#
')

LAN1 - computer
LAN2 - NSA310
Image
Last edited by lulo on Tue May 07, 2013 10:46 am, edited 1 time in total.
lulo
 
Posts: 90
Joined: Mon Nov 28, 2011 1:19 am

Re: ZyXEL NSA320 booted from USB...once!

Postby pepedog » Tue May 07, 2013 10:45 am

Can you do same in Debian. Might catch other modules
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: ZyXEL NSA320 booted from USB...once!

Postby lulo » Tue May 07, 2013 10:49 am

rebuild kernel/install/and...hmmm...not eth0...ethernet not working:
$this->bbcode_second_pass_code('', '
[root@alarm-nsa310 ~]# uname -a
Linux alarm-nsa310 3.8.11-1-ARCH #1 PREEMPT Tue May 7 11:45:18 CEST 2013 armv5te
l GNU/Linux
[root@alarm-nsa310 ~]# modprobe r8169
[root@alarm-nsa310 ~]# lsmod
Module Size Used by
r8169 48090 0
ipv6 264107 10
mv_cesa 10696 0
nsa3xx_hwmon 2276 0
hwmon 1043 1 nsa3xx_hwmon
[root@alarm-nsa310 ~]# ls /sys/class/net
lo
[root@alarm-nsa310 ~]# modinfo -p r8169
use_dac:Enable PCI DAC. Unsafe on 32 bit PCI slot. (int)
debug:Debug verbosity level (0=none, ..., 16=all) (int)
[root@alarm-nsa310 ~]# rc.d restart network
:: Stopping network [BUSY] Device "eth0" does not exist.
[DONE]
:: Starting network [BUSY] [DONE]
[root@alarm-nsa310 ~]#
')
***** ! :twisted:

hmmm...
$this->bbcode_second_pass_code('', '
[root@alarm-nsa310 ~]# systemctl -a
Failed to get D-Bus connection: No connection to service manager.
[root@alarm-nsa310 ~]#
(1/3) reinstalling systemd [######################] 100%
==> Warning: setcap failed, falling back to setuid root on /usr/bin/systemd-dete
ct-virt
(2/3) reinstalling initscripts [######################] 100%
(3/3) reinstalling libdaemon [######################] 100%
[root@alarm-nsa310 ~]#
')

temperature and fan (install lm-sensors):
$this->bbcode_second_pass_code('', '
[root@alarm-nsa310 ~]# sensors
nsa3xx-isa-0000
Adapter: ISA adapter
[ 1202.085671] nsa3xx-hwmon nsa3xx-hwmon: Failed to read MCU data
Chassis Fan: 0 RPM
[ 1202.205665] nsa3xx-hwmon nsa3xx-hwmon: Failed to read MCU data
[ 1202.325659] nsa3xx-hwmon nsa3xx-hwmon: Failed to read MCU data
System Temperature: +0.0�°C

[root@alarm-nsa310 ~]#
')
lulo
 
Posts: 90
Joined: Mon Nov 28, 2011 1:19 am

Re: ZyXEL NSA320 booted from USB...once!

Postby pepedog » Tue May 07, 2013 12:24 pm

dkms might help you
Install latest rootfs, yours is old
Update
Install file base-devel abs git dkms linux-kirkwood linux-headers-kirkwood
systemctl enable dkms
sync and reboot
$this->bbcode_second_pass_code('', 'wget https://aur.archlinux.org/packages/r8/r8168-dkms/r8168-dkms.tar.gz
tar xf r8168-dkms.tar.gz
cd r8168-dkms
makepkg -Acs --asroot
pacman -U r8168-dkms-8.035.00-2-armv7h.pkg.tar.xz')
(read that r8168 is better to use)
Other than that, rebuild kernel, use make menuconfig to add module
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: ZyXEL NSA320 booted from USB...once!

Postby pepedog » Tue May 07, 2013 2:32 pm

I am building linux-kirkwood with r8169 (and built in firmware), can you test when I post?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: ZyXEL NSA320 booted from USB...once!

Postby lulo » Tue May 07, 2013 5:51 pm

Thx. for this source *dkms driver - when can install's again new roots,etc => write new post relation for "last Europe combat to NSA310"
:mrgreen:

Meaby - exactly my rootfs is to old...very old (ec. ~1 h)
$this->bbcode_second_pass_code('', '
[root@alarm-nsa310 r8168-dkms-8.035.00]# ./autorun.sh

Check old driver and unload it.
Build the module and install
/usr/src/r8168-dkms-8.035.00/src/r8168_n.c:14545:1: error: expected ��‘=��’, ’
/usr/src/r8168-dkms-8.035.00/src/r8168_n.c:14715:1: error: expected ��‘=��’, ’
/usr/src/r8168-dkms-8.035.00/src/r8168_n.c:14968:1: error: expected ��‘=��’, ’
/usr/src/r8168-dkms-8.035.00/src/r8168_n.c:15132:1: error: expected ��‘=��’, ’
/usr/src/r8168-dkms-8.035.00/src/r8168_n.c:17651:12: error: ��‘rtl8168_init_one)
/usr/src/r8168-dkms-8.035.00/src/r8168_n.c:17652:2: error: implicit declaration]
/usr/src/r8168-dkms-8.035.00/src/r8168_n.c:17652:25: error: ��‘rtl8168_remove_o)
/usr/src/r8168-dkms-8.035.00/src/r8168_n.c:17301:12: warning: ��‘rtl8168_poll ]
/usr/src/r8168-dkms-8.035.00/src/r8168_n.c:1368:1: warning: ��‘rtl8168_xmii_res]
/usr/src/r8168-dkms-8.035.00/src/r8168_n.c:1383:1: warning: ��‘rtl8168_xmii_lin]
/usr/src/r8168-dkms-8.035.00/src/r8168_n.c:1395:1: warning: ��‘rtl8168_xmii_res]
/usr/src/r8168-dkms-8.035.00/src/r8168_n.c:1544:1: warning: ��‘rtl8168_link_opt]
/usr/src/r8168-dkms-8.035.00/src/r8168_n.c:1823:1: warning: ��‘rtl8168_set_spee]
/usr/src/r8168-dkms-8.035.00/src/r8168_n.c:2151:13: warning: ��‘rtl8168_gset_xm]
/usr/src/r8168-dkms-8.035.00/src/r8168_n.c:2886:13: warning: ��‘rtl8168_get_mac]
/usr/src/r8168-dkms-8.035.00/src/r8168_n.c:3002:1: warning: ��‘rtl8168_print_ma]
/usr/src/r8168-dkms-8.035.00/src/r8168_n.c:3044:1: warning: ��‘rtl8168_hw_phy_c]
/usr/src/r8168-dkms-8.035.00/src/r8168_n.c:13681:1: warning: ��‘rtl8168_release]
/usr/src/r8168-dkms-8.035.00/src/r8168_n.c:14914:17: warning: ��‘rtl8168_try_ms]
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/r8168-dkms-8.035.00/src/r8168_n.o] B�ł�ąd 1
make[2]: *** [_module_/usr/src/r8168-dkms-8.035.00/src] B�ł�ąd 2
make[1]: *** [modules] B�ł�ąd 2
make: *** [modules] B�ł�ąd 2
Naci�i�řcie dowolnego klawisza kontynuuje...
')
Can use actual (this old) system (ec. rootfs) not build (dkms.service is enable to systemctl)
Last edited by lulo on Tue May 07, 2013 6:09 pm, edited 1 time in total.
lulo
 
Posts: 90
Joined: Mon Nov 28, 2011 1:19 am

Re: ZyXEL NSA320 booted from USB...once!

Postby pepedog » Tue May 07, 2013 5:58 pm

How old? Give date please
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

PreviousNext

Return to [Please read announcement] Community-Supported Devices

Who is online

Users browsing this forum: No registered users and 17 guests