Welcome! Log In Create A New Profile

Advanced

Zyxel NSA320s restore - mtd1 needed

Posted by steve1987_temp 
steve1987_temp
Zyxel NSA320s restore - mtd1 needed
July 16, 2016 03:13AM
Hello everyone,

I am looking for a way to recreate mtd1 (populate it with stock env values). I have a dump of original envs:

/tmp # ./fw_printenv
bootargs=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/nfs rw init=/init
bootcmd=nand read.e 0x2000000 $(kernel_addr) 0xA00000; bootm 0x2000000
bootdelay=2
baudrate=115200
loads_echo=0
ipaddr=10.4.52.165
serverip=10.4.52.7
rootpath=/srv/ubuntu
netmask=255.255.255.0
nandEcc=1bit
kernel_addr=C80000
MODEL_ID=AF03
PRODUCT_NAME=STG-326
FEATURE_BIT=00
CONTRY_TYPE=FF
VENDOR_NAME=MitraStar Technology Corp.
run_diag=yes
ethaddr=4C:9E:FF:58:A4:10

and I have original boot (mtd0) - but I don't know how do I restore those envs back to mtd1 (I am afraid to type it by hand, to avoid bricking the device). Can you please help me and send me stock mtd1 from Zyxel NSA320s? Any help would be greatly appreciated!
Re: Zyxel NSA320s restore - mtd1 needed
July 17, 2016 05:39AM
newer Kirkwoods like yours cannot be bricked, as long as you have serial connection to the board's TTL pins you can reload a whole uboot over serial or fix the envs by using the uboot's own tools
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: