Welcome! Log In Create A New Profile

Advanced

Zyxel NAS326 Installation Instruction

Posted by bodhi 
Dzanar
Re: Zyxel NAS326 Installation Instruction
April 26, 2020 01:36PM
Hello,

After updating to rootfs Debian-5.2.9-mvebu-tld-1-rootfs-bodhi.tar.bz2 and kernel linux-5.5.3-mvebu-tld-1-bodhi.tar.bz2 the second hard drive (sdb) not running correctly.

The boot log was here https://justpaste.it/3mlu2.

In the Debian-4.9.0-mvebu-tld-12-rootfs-bodhi.tar.bz2 it works fine. The hard disk is initialized correctly.

Is any chance to fix it on Debian-5.2.9-mvebu-tld-1-rootfs-bodhi.tar.bz2 and kernel linux-5.5.3-mvebu-tld-1-bodhi.tar.bz2?

I will check it on initv and systemd.
Re: Zyxel NAS326 Installation Instruction
April 26, 2020 05:07PM
Dzanar,

This has been fixed, but I forgot to update the kernel installation. Go to this post:

https://forum.doozan.com/read.php?2,99689,99699#msg-99699

Download the attached file armada-380-zyxel-nas326.dtb to /tmp, and

cd  /boot/dts
cp -a armada-380-zyxel-nas326.dtb armada-380-zyxel-nas326.dtb.orig
cp -a /tmp/armada-380-zyxel-nas326.dtb .

And remake the uImage with this new DTB.

Quote

cd /boot
cp -a zImage-5.5.3-mvebu-tld-1 zImage.fdt
cat dts/armada-380-zyxel-nas326.dtb >> zImage.fdt
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-5.5.3-mvebu-tld-1 -d zImage.fdt uImage
sync

And reboot.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Zyxel NAS326 Installation Instruction
May 23, 2020 09:22AM
Hi!

Is there a way to downgrade the stock firmware? I'm trying to install Debian via the USB non serial method, but it looks like the newest firmware (V5.21(AAZF.8)) removed fw_printenv and fw_setenv. (-sh: fw_printenv: command not found)
Re: Zyxel NAS326 Installation Instruction
May 23, 2020 05:00PM
Can you install u-boot-tools?
Re: Zyxel NAS326 Installation Instruction
May 23, 2020 06:24PM
rocketbucket,

> Is there a way to downgrade the stock firmware?
> I'm trying to install Debian via the USB non
> serial method, but it looks like the newest
> firmware (V5.21(AAZF.8)) removed fw_printenv and
> fw_setenv. (-sh: fw_printenv: command not found)

u-boot-tools (as renojim mentioned) is also available on the USB rootfs, try running it directly. Assuming the USB is mounted at /media/sdb1,

/media/sdb1/usr/bin/fw_printenv

Alternatively, you can also use the binpack, download it and you can run them directly:

https://forum.doozan.com/read.php?3,27280

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Zyxel NAS326 Installation Instruction
May 24, 2020 02:04AM
Thank you bodhi, I was able to use fn_setenv and fn_printenv via the rootfs binaries.

I set everything up, rebooted the nas with the usb plugged in in the front USB, but it cannot boot into debian at all. It's powered on, but I cannot ping debian.local, and cant even find the ip with a router, so i believe it's stuck.

printenv before: https://pastebin.com/8cgZ1Y9P

printenv now: https://pastebin.com/e6xAqHGi

Extra info: The first 3 LEDS are turned on.



Edited 2 time(s). Last edit at 05/24/2020 02:18AM by rocketbucket.
Re: Zyxel NAS326 Installation Instruction
May 24, 2020 02:44AM
rocketbucket,

Quote

Extra info: The first 3 LEDS are turned on.

It is stuck at u-boot prompt, and cannot proceed booting. Did you use the tarball Debian-4.9.0-mvebu-tld-12-rootfs-bodhi.tar.bz2 as the instruction stated?

=====

Sounds like you don't have serial console, so it is hard to tell what was wrong.

Can you connect serial console? this box header is factory installed. So you just need a serial module converter.

https://forum.doozan.com/read.php?8,13263

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Zyxel NAS326 Installation Instruction
May 24, 2020 02:58AM
I tried to install debian 5.0, i will try installing 4.9 now.
Re: Zyxel NAS326 Installation Instruction
May 24, 2020 03:18AM
It works! Thank you!



Edited 1 time(s). Last edit at 05/24/2020 04:15AM by rocketbucket.
Re: Zyxel NAS326 Installation Instruction
May 24, 2020 05:57AM
rocketbucket Wrote:
-------------------------------------------------------
> It works! Thank you!

Cool!

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Zyxel NAS326 Installation Instruction
July 09, 2020 01:53AM
New Zyxel NAS326 Installation for rootfs Debian-5.2.9-mvebu-tld-1-rootfs-bodhi.tar.bz2 is now up in the first post.

-bodhi
===========================
Forum Wiki
bodhi's corner
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: