Closed xc-racer99 closed 6 years ago
Looks good for me. Couldn't update uboot because got message that OneNAND contains bad block and i need to use Odin/Heimdall (but if it works for others, lets merge it).
What does "onenand bad" show? It could be the "fake" bad blocks caused by an earlier failed version - try flashing a larger file (at least 1MB) via Odin/Heimdall, then reflashing u-boot.bin as Heimdall will clear the bad blocks if they're not factory bad blocks.
Sorry, it's now working fine - it looks like there were some changes on remote branch which i didn't had.
Ready to merge!
OneNAND checkbad: offset 0x1200000, size 0xc0000
Testing block 72 at 0x1200000
Testing block 73 at 0x1240000
Testing block 74 at 0x1280000
No bad blocks
OneNAND erase: offset 0x1200000, size 0xc0000
OK
OneNAND write: offset 0x1200000, size 0xc0000
786432 bytes written: OK
Success!
Only supports updating from first partition on SD card and only when the first three blocks in the u-boot partition aren't bad