2BIG2 firmware

2BIG2 firmware

Postby ded_kiev » Tue Apr 01, 2014 11:08 am

Hello all
How to upgrade firmware (in EPROM) on the 2big2?
Booting only the standalone kernel mode
Kernel is running and connect with the telnet client.
11.jpg

In this state, NAS I got from the previous owner.
Thanks
You do not have the required permissions to view the files attached to this post.
Last edited by ded_kiev on Fri Apr 04, 2014 6:21 am, edited 4 times in total.
ded_kiev
Donator VIP
Donator VIP
 
Posts: 36
Joined: Thu Mar 27, 2014 7:10 am
Location: Ukraine

Re: 2BIG2 firmware

Postby fvdw » Tue Apr 01, 2014 12:53 pm

flashing u-boot to flash is risky, if it goes wrong then your nas becomes a brick and you need special tools to get it running again.

You also posted in your pm's this screen shot
2big2-ded.JPG

seems that this boot loader loads an kernel with name uImage in the folder with name /boot from partition 1 on the disk in slot 0 that is formatted in ext2 or ext3, or it loads a kernel from USB from partition 1 formatted in FAT again in folder with name /boot

It seems to pass some boot arguments

You could do three things. Prepare a disk with the kernel in partiton 1 in the folder /boot or use usb stick
You could also try if we can change the environmental variables to use the right boot parameters. We need to check if these changes are not overwritten again at boot.
So you could try if the the command setenv works
For instance change the the boot arguments (in u-boot console)

edited 2 apr 14 because of mistake in the code, this is the correct one to be used
Code: Select all
setenv bootargs console=ttyS0,115200 root=/dev/sda7
saveenv

You can check if the change is made by using the command: printenv
Now reboot with the standalone kernel and do again a "printenv" to see if the change is still there

If this is the case then we can adjust the bootcmd and arguments correctly for our firmware.
You do not have the required permissions to view the files attached to this post.
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: 2BIG2 firmware

Postby ded_kiev » Wed Apr 02, 2014 7:57 pm

I prepared a usb stick.
File "UIMAGE-395-NWSP2CL-179-standalone" renamed in "uImage",
in root folder "/boot"
The kernel is loaded and starts automatically.
Screenshot 2014-04-02 22.52.43.jpg

But, I can not change boot arguments ...
You do not have the required permissions to view the files attached to this post.
ded_kiev
Donator VIP
Donator VIP
 
Posts: 36
Joined: Thu Mar 27, 2014 7:10 am
Location: Ukraine

Re: 2BIG2 firmware

Postby fvdw » Wed Apr 02, 2014 9:21 pm

at least we can boot a kernel from usb that is already something.
What exactly happens if you use the setenv and savenv commands ?

--edit
ps I made a error
you should use "saveenv" instead of "savenv" (without the quotes) to save the changed environment variables
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: 2BIG2 firmware

Postby fvdw » Wed Apr 02, 2014 9:29 pm

also to set enev variable I gave wrong instruction (it has been a long time ago I used it), sorry for this

it should be like this

Code: Select all
setenv bootargs console=ttyS0,115200 root=/dev/sda7
saveenv


sorry for this confusion
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: 2BIG2 firmware

Postby ded_kiev » Wed Apr 02, 2014 10:24 pm

Ok, no problem..)
Screenshot 2014-04-03 01.21.13.jpg
You do not have the required permissions to view the files attached to this post.
ded_kiev
Donator VIP
Donator VIP
 
Posts: 36
Joined: Thu Mar 27, 2014 7:10 am
Location: Ukraine

Re: 2BIG2 firmware

Postby fvdw » Wed Apr 02, 2014 10:37 pm

ok this seems to work :thumbup so we can set the right boot command and environment variables to load the firmware.
But not tonight it is too late for me , time to go to bed..to be continued

You could already prepare already one disk by using the fvdw-sl console and the fvdw-sl installer script as explained on the forum for 2big2
If that is done we first will load a run-time kernel from usb to see if the firmware comes up.
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: 2BIG2 firmware

Postby ded_kiev » Thu Apr 03, 2014 6:38 am

fvdw wrote:You could already prepare already one disk by using the fvdw-sl console and the fvdw-sl installer script as explained on the forum for 2big2


Via "Install fvdw-sl-firmware" or via "Write fvdw-sl-firmware to disk" ?
ded_kiev
Donator VIP
Donator VIP
 
Posts: 36
Joined: Thu Mar 27, 2014 7:10 am
Location: Ukraine

Re: 2BIG2 firmware

Postby fvdw » Thu Apr 03, 2014 7:16 am

via instal fvdw-sl firmware
Answer no on the question if you want to make a backup and use a disk with no partitions on it

see also here viewtopic.php?f=7&t=1750#p13412
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: 2BIG2 firmware

Postby ded_kiev » Thu Apr 03, 2014 5:30 pm

I prepared a HDD (in slot 1).
1.jpg

But, without the standalone kernel (on usb stick), is still no booting...
3.jpg
You do not have the required permissions to view the files attached to this post.
ded_kiev
Donator VIP
Donator VIP
 
Posts: 36
Joined: Thu Mar 27, 2014 7:10 am
Location: Ukraine

Next

Return to Lacie 2Big Network vs2

Who is online

Users browsing this forum: No registered users and 8 guests