How to flash u-boot?

dopesoul
 
Posts: 1
Joined: Sat May 09, 2015 12:40 pm

How to flash u-boot?

Sat May 09, 2015 12:45 pm

Hi,
I would like to do some experiment with u-boot.
How do I flash it?

Vonger
 
Posts: 879
Joined: Sun Oct 19, 2014 6:00 am

Re: How to flash u-boot?

Sun May 10, 2015 12:11 pm

Very easy.

First, make a writable uboot section(update VOCORE.dts, remove read-only in uboot section, compile and flash to VoCore)
Then, use mtd -e uboot write ubootimage.bin uboot

But if you do not have skill recover the uboot, I do not recommend you do this. Once uboot broken, there is no easy way to recover.
My way is remove flash from VoCore and flash the flash by other hardware.

noblepepper
 
Posts: 240
Joined: Sat Nov 29, 2014 3:22 pm

Re: How to flash u-boot?

Sun May 10, 2015 12:21 pm

This is inherently dangerous, you can easily brick the VoCore. If you load a non-functional uboot or there are power problems during the flash you have a brick. I made sure I could load the flash chip directly before I played with the u-boot partition.

Here is some info on how to do this: DANGEROUS STUFF

You may want to check out my revisions of the stock uboot.

Ton
 
Posts: 22
Joined: Sun Nov 16, 2014 4:35 pm

Re: How to flash u-boot?

Mon May 18, 2015 7:41 pm

Hi noblepepper,

I am going to try your dangerous stuff on my bricked vocore. I will use a raspberry instead of the arduino you used.
Which file contains the binary data that has to be flashed into the chip?
There are a couple of files in the /bin/ramips directory, I guess one of them?

qiqiji
 
Posts: 14
Joined: Wed May 06, 2015 1:31 pm

Re: How to flash u-boot?

Tue May 19, 2015 4:31 am

noblepepper‘s DANGEROUS STUFF i have done tons of times with no problem :D

noblepepper
 
Posts: 240
Joined: Sat Nov 29, 2014 3:22 pm

Re: How to flash u-boot?

Tue May 19, 2015 2:31 pm

For the uboot I modified use this file

For the original that came on the VoCore use this file


I have found that if you don't hold reset low sometimes the flashing operation is corrupted so I hold it low when I write the flash directly

ad7zj
 
Posts: 15
Joined: Tue Dec 01, 2015 5:10 am

Re: How to flash u-boot?

Tue Jan 03, 2023 6:24 am

Unfortunately the link to noblepepper's wiki is dead - anyone have an alternate source? I want to backup my flash image and then re-flash his latest uboot build to try.

Return to VoCore & VoCore+Dock

Who is online

Users browsing this forum: Google [Bot] and 2 guests