Flash U-Boot 5big2 after flash failure

Re: Flash U-Boot 5big2 after flash failure

Postby fvdw » Tue Mar 21, 2023 1:33 pm

:thumbup ok that looks more like it, you should be able now to connect via telnet and access the standalone kernel

Perculiar that using a 2big2 nand uboot version instead of 5big2 nand confuses the kernel. Probably because it set the machine mach number to 2big2 and the kernel setup uses that number to configure the kernel.

So finally we got it working. Nice
fvdw
Site Admin - expert
 
Posts: 13239
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Flash U-Boot 5big2 after flash failure

Postby wvwaard » Tue Mar 21, 2023 1:51 pm

Yep !

It boots , but still with kwboot.

Cant get the NAND to load and i do see some error messages in de the DMESG.

There is one other way i can try to upload U-boot and that is via bubt
thats the command that got me in trouble in the first place ;-)
wvwaard
Donator VIP
Donator VIP
 
Posts: 36
Joined: Thu Nov 28, 2013 9:11 am
Location: The Netherlands

Re: Flash U-Boot 5big2 after flash failure

Postby wvwaard » Tue Mar 21, 2023 1:55 pm

bubt output :

TFTP from server 192.168.2.34; our IP address is 192.168.2.10
Filename 'u-boot.bin'.
Load address: 0x2000000
Loading: #################################################################
#################################################################
#################################################################
##########
done
Bytes transferred = 1048576 (100000 hex)
Error! invalid extende header checksum

maybe md5 file needs to be present also??
wvwaard
Donator VIP
Donator VIP
 
Posts: 36
Joined: Thu Nov 28, 2013 9:11 am
Location: The Netherlands

Re: Flash U-Boot 5big2 after flash failure

Postby fvdw » Tue Mar 21, 2023 2:06 pm

the md5 file is used by fvdw-sl console before using bubt command to be sure that the file is not corrupt.
Seems something is not right with checksum.

you could try to use bubt with this file
You do not have the required permissions to view the files attached to this post.
fvdw
Site Admin - expert
 
Posts: 13239
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Flash U-Boot 5big2 after flash failure

Postby wvwaard » Tue Mar 21, 2023 2:31 pm

YES YES YES !!

We did it !

Back from the dead ..... It worked with the last zip file you posted and bubt !!

So....

setenv autoload no; dhcp
setenv serverip = $ip
bubt

it asks for the u-boot.bin file which you setup on the tftp server dir.

Let me know if you have any other questions. Awesome job and thanks so much !!!!!
wvwaard
Donator VIP
Donator VIP
 
Posts: 36
Joined: Thu Nov 28, 2013 9:11 am
Location: The Netherlands

Re: Flash U-Boot 5big2 after flash failure

Postby fvdw » Tue Mar 21, 2023 2:41 pm

:bananadance
Nice, the problem with the partition image file was that file length (1MB) did match the checksum. This because the original uboot image that was put in flash had only size of 449 kB. That size was used to calculated checksum which is present in the header.
The copy of the whole has size of 1MB so checksum of that 1MB file doesn't match with the value in the header.

The newly compiled uboot kwb file has the right size to match the checksum in the header.
So learned something today, we cannot use partition image to put uboot in flash using bubt command.
fvdw
Site Admin - expert
 
Posts: 13239
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Flash U-Boot 5big2 after flash failure

Postby wvwaard » Tue Mar 21, 2023 2:46 pm

Yes awesome.

Have been add this for days and i finally pays off.

It opens up a lot of nice things to try out !

Thanks so much and lets both keep good backups of this file !

Going to make an extra donation for your website and help.

Walter
wvwaard
Donator VIP
Donator VIP
 
Posts: 36
Joined: Thu Nov 28, 2013 9:11 am
Location: The Netherlands

Previous

Return to Lacie 5big Network vs2

Who is online

Users browsing this forum: No registered users and 1 guest