When I try to recover the boot loader I get exceeds the available size in flash, update fail error.
I am using the v3.8.2.
I tried the oldest fw but I am getting the same error.
Have you faced this problem before.
Thanks,
Deependra.
When I try to recover the boot loader I get exceeds the available size in flash, update fail error.
I am using the v3.8.2.
I tried the oldest fw but I am getting the same error.
Have you faced this problem before.
Thanks,
Deependra.
“recover”?
Please describe which flashing method you’re using.
I use this method.
I manage to upload u-boot-spl.bin.normal.out using recovery fw but I get this error when I try in upload visionfive2_fw_payload.img
They added this in the last release :
I had to choose the MTD partitinon with the same size as the file to be flashed (the next one, mtd2).
Need to update the doc for flashing the firmware ?
Suspect you are following old mtd partition, I had the same
I suspect the recovery tool (which they haven’t published source code for) still follows an older SPI flash layout which reserved less space for the bootloaders.
In your shoes, since the SPI flash isn’t even touched at all when booting with the switches set to any other setting than SPI, such as UART (you’re using) or SD… I’d write a recent release’s sd image into an sd card and boot that.
Then I’d interrupt u-boot’s autoboot by pressing a key, and use this method to upgrade the SPI: