fifteenhex / buildroot_idosom2d01

Buildroot for ido-som2d01 (and similar SSD20xD) based boards.
GNU General Public License v3.0
10 stars 6 forks source link

How to re-burn the official SPL and bootloader? #4

Closed tonyho closed 2 years ago

tonyho commented 2 years ago

Hi I'm back again. There's an error if I use SPI burn tool to re-burn the official uboot/SPL after the new version/upstream uboot has been burned:

Upstream_revert_SPINotFound_Burn

Do we have to erase the uboot at new uboot before use the SPI burnning tool?

I use the spi erase to erase in new uboot command line, and it failed:

=> sf protect unlock 0 1000
=> sf erase 0 10000        
ERROR: attempting erase past flash size (0x38)
=> 

Any tips? Thanks.

tonyho commented 2 years ago

This is caused by the UART TX and flashing conflict. Porting the debug command from official fix the problem.

ddB0515 commented 2 years ago

I had same error but not caused by UART it was already booted so you need to restart in uBoot and send debug image

after that you can connect via I2C ISP tool and do all operation normally