BPI-Router-Images
BPI-Router-Images copied to clipboard
mtd write reference ubi partition
https://github.com/frank-w/BPI-Router-Images/blob/e1fc3b38a5118dbe00f7a70bcfbe7ec5bb060ebf/README.md?plain=1#L98-L100
Could use this instead?
mtd write ubi $loadaddr 0 $filesize
Then this would work on R64/R3/R4, where all boards have a different offset.
If the other boards have an ubi mtd partition in uboot. Afaik r3 has it not by default,r64 afaik has bo nand defined so it will not work with offset too
I see, indeed I have added them to my build, because distroboot uses the named partition to find ubi.