[PATCH] mtdsplit_uimage: Split also after offsetted uImage

Linus Walleij linus.walleij at linaro.org
Sun Jan 28 13:21:13 PST 2024


On Fri, Jan 26, 2024 at 9:56 AM INAGAKI Hiroshi
<musashino.open at gmail.com> wrote:

> This is just a question: doesn't it work with "openwrt,offset"
> property of mtdsplit_uimage parser instead of modifying that parser?

It works actually...
The U-Boot takes up 3 64k erase blocks so if I just set offset to
0x30000 it works like a charm.

I first thought that maybe it's not as flexible (for example if U-Boot
becomes bigger and pass a 64K boundary) but it doesn't really
affect this system as I control this pretty tightly anyway.

Thanks, I'll drop this patch!

Yours,
Linus Walleij



More information about the openwrt-devel mailing list