Arch Linux on Zyxel NAS326

This forum is for supported devices using an ARMv7 Marvell SoC.

Arch Linux on Zyxel NAS326

Postby hean01 » Thu Oct 27, 2016 1:26 pm

Hi,

I'm working on installing of arch linux on Zyxel NAS326. I will post updates to this thread during my progress. My goal is to get a working archiso initrd and rootfs build for booting a live image used for installation of arch linux on the device from a USB stick.

Follow these steps to build the kernel:

$this->bbcode_second_pass_code('', '
make nas326_defconfig
make armada-380-zyxel-nas326.dtb
make zImage
cat arch/arm/boot/zImage arch/arm/boot/dts/armada-380-zyxel-nas326.dtb > zImage
')

Booting the kernel:

Copy zImage to an usb with ext2 filesystem, then connect serial console and boot into uboot console. At the uboot console, do the following steps to enable usb power, load kernel from usb into memory and boot.

$this->bbcode_second_pass_code('', '
mw.l f1018140 003c8800
usb reset
ext2load usb 0:1 0x2000000 /zImage
bootz 0x2000000
')

nas326-linux-4.8.4.patch
hean01
 
Posts: 2
Joined: Thu Oct 27, 2016 1:07 pm

Re: Arch Linux on Zyxel NAS326

Postby hean01 » Mon Oct 31, 2016 9:26 pm

Here is my initial build of archiso live system used for installation of arch linux on NAS326. See included README.md for details how to boot the live system and install onto device.

archiso-zyxel-nas326.tar.xz
hean01
 
Posts: 2
Joined: Thu Oct 27, 2016 1:07 pm

Re: Arch Linux on Zyxel NAS326

Postby lordzahl » Tue Jan 03, 2017 2:39 pm

Hey,
Very interesting. I am thinking about getting a NSA 325 or 326.
Are you still running Arch on the NAS326?
Is there a way installing it without a Serial Connection?
Thanks!
lordzahl
 
Posts: 2
Joined: Tue Jan 03, 2017 2:30 pm


Return to Marvell

Who is online

Users browsing this forum: No registered users and 5 guests