Welcome! Log In Create A New Profile

Advanced

NSA310 original u-boot request

Posted by enkel 
enkel
NSA310 original u-boot request
April 01, 2018 11:54PM
Hello! I'm looking for an original u-boot for nsa310. I didn't make a backup and I want to go back to stock. Pls help.



Edited 1 time(s). Last edit at 04/02/2018 12:11AM by bodhi.
enkel
Re: NSA310 original u-boot request
April 04, 2018 01:50PM
I found this u-boot:
https://downloads.lede-project.org/snapshots/targets/kirkwood/generic/u-boot-nsa310/
but it's abnormally big. It should has 512KB, but those from a link 606KB. I'm afraid to use that u-boot.
Re: NSA310 original u-boot request
April 04, 2018 04:48PM
enkel Wrote:
-------------------------------------------------------
> I found this u-boot:
> https://downloads.lede-project.org/snapshots/targets/kirkwood/generic/u-boot-nsa310/
> but it's abnormally big. It should has 512KB, but
> those from a link 606KB. I'm afraid to use that
> u-boot.

That's definitely not stock u-boot.

Is there a reason you want to go back to stock? to sell the box, or to start fresh?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
enkel
Re: NSA310 original u-boot request
April 05, 2018 10:07AM
to sell. I try to sell with debian system but nobody want to buy. I know debian is much better then stock firmware.
enkel
Re: NSA310 original u-boot request
April 05, 2018 10:07AM
I mean I tried.
Re: NSA310 original u-boot request
March 04, 2019 03:48PM
I should have a copy of the original u-boot for NSA310. Let me know if it is still relevant.
JarekPL
Re: NSA310 original u-boot request
April 13, 2020 04:32PM
Hello, I found this thread through Google. Looking for an original uboot for NSA310. Does anyone have copies? Unfortunately, my one was lost somewhere. greetings
Re: NSA310 original u-boot request
April 13, 2020 11:14PM
There are multiple versions of the NSA310, so it would be helpful if you describe the device you have. Can you identify which processor it contains? Also can you identify the Ethernet chip? This would help identify exactly which NSA310 you have and which u-boot version is required.
JarekPL
Re: NSA310 original u-boot request
May 23, 2020 05:55AM
Hello,

Thank you for your answer. As for the processor, I can read from it: "88F6-8IA2 ; N3W6230.3 ; 1109 A1E ; TW ; 88F6281-A1 ; C120"

Description of the NAND memory: "K9F1G08U0D"

The network card worked on the kernel r8169 module but from what I associate it is 8168 chip, but I can be wrong. Unfortunately, it cannot be read physically.

The device worked with the DTB file "kirkwood-nsa310b-lmsensor-redusbled".

Below is the ENV which seems to have been a factory:

"USB 0: host mode
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
Net: egiga0, egiga1 [PRIME]
Hit any key to stop autoboot: 0
NSA310>> prinenv
Unknown command 'prinenv' - try 'help'
NSA310>> printenv
bootdelay=2
baudrate=115200
loads_echo=0
eth1addr=00:19:CB:00:51:82
ipaddr=10.4.50.165
serverip=10.4.50.5
rootpath=/mnt/ARM_FS/
netmask=255.255.255.0
nandEcc=1bit
PRODUCT_NAME=NSA-310
FEATURE_BIT=00
CONTRY_TYPE=FF
VENDOR_NAME=ZyXEL Communications Corp.
run_diag=yes
ethaddr=50:67:F0:69:59:C9
MODEL_ID=A203
console=100000=ttyS0,115200 mtdparts=nand_mtd:0xc0000@0(uboot)ro,0x7f00000@0x100000(root)
CASset=min
ethprime=egiga1
bootargs_root=root=/dev/nfs rw
bootargs_end=:::DB88FXX81:eth0:none
image_name=uImage
standalone=fsload 0x2000000 $(image_name);setenv bootargs $(console) root=/dev/mtdblock0 rw ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvPhoneConfig); bootm 0x2000000;
ethmtu=1500
eth1mtu=1500
mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs
mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500
usb0Mode=host
yuk_ethaddr=00:00:00:EE:51:81
netretry=no
rcvrip=169.254.100.100
loadaddr=0x02000000
autoload=no
MALLOC_len=3
arcNumber=4022
bootcmd=ide reset; ext2load ide 0:1 0x800000 /uImage; bootm 0x800000
bootargs=console=ttyS0,115200 root=/dev/sda2
stdin=serial
stdout=serial
stderr=serial
nandEnvBase=100000
mainlineLinux=yes
enaMonExt=no
enaCpuStream=no
enaWrAllo=no
pexMode=RC
disL2Cache=no
setL2CacheWT=yes
disL2Prefetch=yes
enaICPref=yes
enaDCPref=yes
sata_dma_mode=yes
netbsd_en=no
vxworks_en=no
disaMvPnp=no
hddPowerCtrl=no
enaAutoRecovery=yes
kernel_addr=0x4640000
pcieTune=no
ethact=egiga1"
Re: NSA310 original u-boot request
May 24, 2020 02:23AM
This is enough information for me to determine that you have a different version of the NSA310 than I. Mine is a NSA310S which has the 88F6702 processor and Marvell Ethernet, so my u-boot backup likely won't be helpful.

Ray
JarekPL
Re: NSA310 original u-boot request
May 24, 2020 09:23AM
Thank you for your answer. Or maybe someone else has a stock uboot?
Re: NSA310 original u-boot request
May 24, 2020 04:05PM
JarekPL,

I don't have this stock u-boot. But I will see if I can contact anders.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: NSA310 original u-boot request
May 25, 2020 02:17AM
I sold mine with openwrt - There is nice www also polish version and many services can be easily install
Re: NSA310 original u-boot request
June 22, 2020 08:58PM
If you still require stock u-boot for the NSA310 I have attached a compressed tar file containing mtd0.img and mtd1.img from a recently acquired NSA310 with 1.2 GHz Marvell 88F6281 processor and the Realtek Ethernet. I have successfully tested restoring from the mtd0.img after using uboot.2017.07-tld-1.nsa310.mtd0.kwb

Ray
Attachments:
open | download - mtdimg.tgz (197.3 KB)
porky
Re: NSA310 original u-boot request
March 08, 2021 09:17PM
I uploaded mtd0.img , and it works.

But I don't know how to upload 470AFK3C0.BIN

fatload usb 0 0x2000000 470AFK3C0.BIN

it works, but what next ?
Re: NSA310 original u-boot request
March 09, 2021 01:21AM
porky,

Please be more specific. I don't understand your question. What are you trying to do?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
porky
Re: NSA310 original u-boot request
March 09, 2021 02:35AM
I want to upload original uboot and firmware.
I have already uploaded the orginal uboot and it works.
I am already here
http://martin.topholm.eu/blog/2013/working-with-the-zyxel-nsa310/#flashing-from-u-boot

But where should i get bin2ram and fw_unpack ?
Re: NSA310 original u-boot request
March 09, 2021 04:09AM
porky,

> I am already here
> http://martin.topholm.eu/blog/2013/working-with-the-zyxel-nsa310/#flashing-from-u-boot

We are not using that procedure here.

===========

We are mainly interested in running Debian on this box. If you have serial console then you can load the new u-boot image over UART with kwboot to boot the box, and then boot into USB Debian rootfs.

I've just posted this to help another user:

https://forum.doozan.com/read.php?2,110409,117629#msg-117629

If you only want to restore stock u-boot so you can run stock FW, I can also help you with that, but I would prefer you try running kwboot to load new u-boot and run Debian.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
porky
Re: NSA310 original u-boot request
March 09, 2021 04:32AM
Yes, I have already installed openWRT.
I remind you that I have nsa310 and you writing about nsa320.
Can you unpack it for me, because I can not?
I think I need the original NSA3XX system.

https://www.zyxel.ch/de/support/download/200118_1
Re: NSA310 original u-boot request
March 09, 2021 04:49AM
porky,

> Yes, I have already installed openWRT.
> I remind you that I have nsa310 and you writing
> about nsa320.

Zyxel NAS 310/320/325... have the same stock uboot and similar FW.


> Can you unpack it for me, because I can not?

Sorry no. Perhaps other users who have done this can help you.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
porky
Re: NSA310 original u-boot request
March 10, 2021 05:04AM
Can someone help unzip it?

https://www.zyxel.ch/de/support/download/200118_1

Run command to extract flash images, and make sure the return value ($?) is 4:
bin2ram little /e-data/1234/470AFK3C0.BIN /e-data/1234/tlv.bin; echo $?
5. Run command to unpack flash images, and make sure the return value ($?) is 0:
fw_unpack -C /e-data/1234 -i /e-data/1234/tlv.bin; echo $?

I don't have bin2ram and fw_unpack

Thank you
porky
Re: NSA310 original u-boot request
March 14, 2021 11:41AM
Maybe it will be useful for someone.
Is all, openWrt and original firmware.

https://mega.nz/folder/MB1USRJZ#brKnz8M-Y-BdNaCejp0kzg
Frostbite2k9
Re: NSA310 original u-boot request
September 24, 2021 06:52AM
Hi Porky,
Did you have any luck going back to stock firmware?.. I have just been given one of these boxes and cannot get the hdd to mount properly in openwWrt, i wanted to see what the stock firmware was like but not to sure how to flash it back.
Re: NSA310 original u-boot request
September 24, 2021 07:08AM
Maybe it will be easier to check what is wrong with openwrt?
Frostbite2k9
Re: NSA310 original u-boot request
September 24, 2021 07:49AM
Hi kofec, sorry my english is not very good.
The problem i am having with openwrt is when trying to network share a 500gb hdd i am not able to write to it, it will allow me to create folders but wont let me copy anything over, it just freezes. i have tried ext4,ntfs and still having the same issues. I`m not very good on linux so i`ve just been reading up and trying different suggestions. I have mounted the hdd as /mnt/sda1/files, but every time i write to it it copies 2-3mb then freezes.
Re: NSA310 original u-boot request
September 24, 2021 08:10AM
First I will try ext4 as format for disk. Second thing is to use winscp to put something on this disk. If someting fail please provide "logread".
frostbite2k9
Re: NSA310 original u-boot request
September 24, 2021 10:03AM
Thank you for the help, I have had to go to work I will try what you have suggested as soon as I get back.
Frostbite2k9
Re: NSA310 original u-boot request
September 24, 2021 01:46PM
Quick update i`ve managed to get the samba shares working now, i just needed to tick Force synchronous I/O.
thank you for your help.
Author:

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: