Setenv bootcmd_stock_2 'run set_bootargs_stock echo Booting from NAND kernel 2. Setenv bootcmd_stock_1 'run set_bootargs_stock echo Booting from NAND kernel 1. Setenv set_bootargs_stock 'setenv bootargs "console=ttyS0,115200 ubi.mtd=4,2048 rootfstype=ubifs root=ubi0:rootfs1 rw rootdelay=2"' Enter the following commands (copy/paste each line to the u-boot prompt).
![flash zyxel firmware nas326 flash zyxel firmware nas326](https://i.ytimg.com/vi/PoWfGVcIi3k/maxresdefault.jpg)
Get a listing of your current u-boot envs, and save it to a notepad in case you want to restore it later.Ĥ. After a period of time, the NAS326 will time out and start booting its stock u-boot.
Flash zyxel firmware nas326 serial#
Power up the NAS326, and wait at serial console, observe kwboot spinning / while waiting for handshake.ģ. Start kwboot on the serial console hostĢ. Please post questions regarding installation for other MVEBU boxes, it might be possible to do this.ġ.
Flash zyxel firmware nas326 code#
Doing this without examining your box's stock u-boot source code could likely messing up your u-boot envs and prevent booting, or in the worse case bricking it. However, this hack should not be used on a different MVEBU box (any box other than the NAS326). It's a simple trick that change u-boot env bootcmd (it does not touch u-boot binary in NAND). Warning: Step 4 in the instruction in this section uses a "env/code injection" to replace the Zyxel NAS326 stock u-boot bootcmd with a different command during boot. Prepare the rootfs Debian-5.2.2 as described in the Debian rootfs release section: (I'll need to recompile the x86-64 version and reupload).ģ. Use it depending on the architecture of serial console converter host. Download either the latest ARM32 version or the x86-64 version of kwboot. Serial console connected during set up (which should be removed later during normal operation).Ģ. Instruction for the booting the NAS326 with a USB rootfs (serial console setup)ġ. Prepare the rootfs Debian-5.2.2 on USB or HDD as described in the rootfs release thread (scroll down to section Updated ).Ī. Note: for section A and B, the USB rootfs must be inserted to the front USB port (USB 2.0). Installation for NAS326 box can be done with serial console connected (section A), or inside stock OS and without serial console (section B for USB rootfs, section C for SATA rootfs).
![flash zyxel firmware nas326 flash zyxel firmware nas326](http://modernhackers.com/wp-content/uploads/2019/10/IMG_5389-940x705.jpg)
Thanks cyraxxx for testing this new installation instruction. Zyxel NAS326 Installation for rootfs Debian-5.2.2