
On 11/04/2019 01:16, U.Mutlu wrote:
# CC Jagan
There's a version mismatch error with the sunxi-fel tool from sunxi-tools ( https://github.com/linux-sunxi/sunxi-tools )
./sunxi-fel -v uboot u-boot-sunxi-with-spl.bin write 0x43100000 my.env Stack pointers: sp_irq=0x00002000, sp=0x00005E08 Reading the MMU translation table from 0x00020000 Disabling I-cache, MMU and branch prediction... done. => Executing the SPL... done. Setting write-combine mapping for DRAM. Setting cached mapping for BROM. Writing back the MMU translation table. Enabling I-cache, MMU and branch prediction... done. Writing image "U-Boot 2019.04-00036-g1d63ec3fa4", 448324 bytes @ 0x4A000000. sunxi SPL version mismatch: found 0x03 > maximum supported 0x02 You need a more recent version of this (sunxi-tools) fel utility. Starting U-Boot (0x4A000000).
Bug tracker: https://github.com/linux-sunxi/sunxi-tools/issues/124
I think it's still the case that you need to build sunxi-tools from the HEAD commit of the master branch for a recent uboot. There was talk at some point about spinning a new release but I'm not sure it ever came to anything...