Linux distro on NSA325

Install Arch Linux ARM on other devices.

Re: Linux distro on NSA325

Postby astrakid » Sun Dec 30, 2012 7:06 pm

hi,
i would find it out if it will help you and others to help me get a working linux distribution onto my nsa325. ;-)
is it necessary, then please tell me. ;)

kind regards,
astrakid
astrakid
 
Posts: 14
Joined: Tue Dec 25, 2012 1:05 pm

Re: Linux distro on NSA325

Postby prokrypt » Wed Jan 02, 2013 5:08 am

Whups, forgot about this thread!

So, I have some more things to report (Linux NSA325 3.6.11-0-ARCH #1 PREEMPT Mon Dec 31 21:16:06 UTC 2012 armv5tel GNU/Linux):
* USB3 port in front doesn't work.
* USB2 ports in back work, but went poof once when the box was restarted.
* Second drive slot doesn't work. The SATA port doesn't get activated. My drive is too quiet to tell whether it spins up or not, but it works in stock kernel.

If you don't mind these problems for the time being, then go ahead and install archlinuxarm + play around! :D
prokrypt
 
Posts: 31
Joined: Thu Dec 27, 2012 4:45 am

Re: Linux distro on NSA325

Postby WarheadsSE » Wed Jan 02, 2013 4:00 pm

Most of these:
Probably needs a separate config made with the appropriate differences for the board!

USB2 - add usb_power=on to the kernel bootargs in uboot, see if that helps.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Linux distro on NSA325

Postby astrakid » Wed Jan 02, 2013 8:54 pm

hm, i need both usb-ports even after a restart (one for the linux distribution, one for audiointerface), so it is not yet a solution... i still have to wait... ;)

kind regards,
astrakid
astrakid
 
Posts: 14
Joined: Tue Dec 25, 2012 1:05 pm

Re: Linux distro on NSA325

Postby prokrypt » Wed Jan 02, 2013 9:34 pm

$this->bbcode_second_pass_quote('astrakid', 'h')m, i need both usb-ports even after a restart (one for the linux distribution, one for audiointerface), so it is not yet a solution... i still have to wait... ;)


I'm still poking around at the moment... the regular 3.1.10-15 kernel still has USB after a reboot. Going to put back the linux-kirkwood package (3.6.11-0) and test that "usb_power=on" thing.

Edit: yep! No usb with linux-kirkwood. Testing with usb_power=on now... I'm accessing the NSA325 from work at the moment... rebooting remotely is scary.

Edit #2: nope! Still no usb with usb_power=on. I even double checked that I enabled it via /proc/cmdline.

Edit #3: back to 3.1.10-15 & usb. As far as I can tell, linux-kirkwood only adds an hdd-access trigger for the leds. The bash script I wrote to control those leds works much better anyways...
prokrypt
 
Posts: 31
Joined: Thu Dec 27, 2012 4:45 am

Re: Linux distro on NSA325

Postby astrakid » Sat Jan 05, 2013 12:11 pm

hi,
i received my serial-ttl-converter and conected it to my nsa325.
my first tries to install archlinux to a usb device failed. i guess it fails because it is looking for /dev/sda2 in this line:
fw_setenv bootargs_linux 'console=ttyS0,115200 mtdparts=nand_mtd:0x100000(uboot),0x80000(uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2) root=/dev/sda2 ro rootwait loglevel=8'
... but usb-ports are not supported at this moment, so my usb-port is not found...
do you think it will be possible some time to get this working?

if you ask, why i want it so much this way, here my explanation:
it shall be my central homeserver, running
1. asterisk
2. mpd (for listening to music in the evening via connected bedroom-loudspeakers directly to a usb audio interface)
3. samba
4. nagios
especially for asterisk it is necessary, that in case of a broken device i can replace this part. a usb-device can be simply exchanged, since i have a lot of them here as spare parts. and for this it is just necessary to copy the files from one to another device... I could even have another stick prepared to replace a broken one in case of.


kind regards,
astrakid
astrakid
 
Posts: 14
Joined: Tue Dec 25, 2012 1:05 pm

Re: Linux distro on NSA325

Postby ormiller » Thu Jan 10, 2013 7:20 pm

I am also having a problem with no usb or second hard drive on my NSA325.

pacman says I am at 3.1.10-15 but when I reboot I see. Arch Linux 3.1.10-13-ARCH (ttyS0)

uname -a gives:
Linux Zyxel325 3.1.10-13-ARCH #1 PREEMPT Mon Aug 20 15:46:18 UTC 2012 armv5tel GNU/Linux

# pacman -Ss linux | grep core | grep installed
core/iptables 1.4.16.3-1 [installed]
core/keyutils 1.5.5-3 [installed]
core/kmod 12-1 [installed]
core/linux 3.1.10-15 (base) [installed]
core/linux-api-headers 3.7.1-1 [installed]
core/linux-firmware 20121118-1 [installed]
core/linux-headers 3.1.10-15 [installed]
core/man-pages 3.45-1 (base) [installed]
core/mdadm 3.2.6-1 (base) [installed]
core/net-tools 1.60.20120804git-2 [installed]
core/pacman-mirrorlist 20130102-1 (base) [installed]
core/sysvinit 2.88-9 [installed]
core/sysvinit-tools 2.88-9 [installed]
core/util-linux 2.22.2-1 (base) [installed]

Question:
How do I enable 3.2.1.10-15 so I have usb and can use the second hard drive ?
ormiller
 
Posts: 16
Joined: Fri Oct 12, 2012 2:48 pm

Re: Linux distro on NSA325

Postby prokrypt » Thu Jan 10, 2013 7:41 pm

$this->bbcode_second_pass_quote('ormiller', 'I') am also having a problem with no usb or second hard drive on my NSA325.

pacman says I am at 3.1.10-15 but when I reboot I see. Arch Linux 3.1.10-13-ARCH (ttyS0)

......

Question:
How do I enable 3.1.1.10-15 so I have usb and can use the second hard drive ?


Your /boot partition was probably not mounted before you upgraded. Easy fix is to mount /dev/sda1 somewhere temporary and move /boot/uImage directly onto it. To prevent this from happening again, add the boot partition into your /etc/fstab:
$this->bbcode_second_pass_code('', 'LABEL=boot /boot ext2 defaults 0 0')
However, you might still have no USB3 nor second hard drive with the new kernel.

There is a way to power up the second drive and have it get detected by the kernel. This has worked for me, but your mileage may vary:
$this->bbcode_second_pass_code('', '
#enable gpio 47
echo "47" > /sys/class/gpio/export
#switch gpio 47 into output mode
echo "out" > /sys/class/gpio/gpio47/direction
#turn it on!
echo "1" > /sys/class/gpio/gpio47/value
')
Last edited by prokrypt on Thu Jan 10, 2013 7:45 pm, edited 2 times in total.
prokrypt
 
Posts: 31
Joined: Thu Dec 27, 2012 4:45 am

Re: Linux distro on NSA325

Postby astrakid » Thu Jan 10, 2013 7:43 pm

But there is currently no final solution available, right? Hope there will be one ever. ;-)

kind regards,
astrakid
astrakid
 
Posts: 14
Joined: Tue Dec 25, 2012 1:05 pm

Re: Linux distro on NSA325

Postby WarheadsSE » Thu Jan 10, 2013 8:27 pm

There will be one, myself or Kurlon need to spend time writing up the board file for it. The arcNumber I have registered :)
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

PreviousNext

Return to [Please read announcement] Community-Supported Devices

Who is online

Users browsing this forum: No registered users and 11 guests