BPI-Router-Images icon indicating copy to clipboard operation
BPI-Router-Images copied to clipboard

mtd write reference ubi partition

Open ericwoud opened this issue 2 months ago • 2 comments

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.

ericwoud avatar Nov 25 '25 16:11 ericwoud

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

frank-w avatar Dec 01 '25 16:12 frank-w

I see, indeed I have added them to my build, because distroboot uses the named partition to find ubi.

ericwoud avatar Dec 01 '25 17:12 ericwoud