Rewriting memory partitions
-
Hello everyone. I was wondering if anyone has been able to remake or redraw the memory partitions on the onion. I want a bigger bootloader partition for a costumized uboot image I made. I just need around 300-350 kb whereas the original is around 192. Any help would be greatly appreciated so I dont brick too many onoins lol.
-
@baby-Onioneer Check this thread scroll down and you can see how the partitions are defined in the DTS.
-
@crispyoz Thank you for your help. do you know if those can be edited after flash or it has to be done upon build?
-
@baby-Onioneer These are defined in the DTS which creates a static device tree on boot, so you'd need to change the DTS and rebuild your firmware. See this discussion in relation to device tree overlays which can be applied at runtime:
-
@crispyoz Thanks once again. Have you built the docker yourself for the firmware image or went nother route? Not sure if you also experienced connectivity issues with the docker attempting to update the feeds
-
@baby-Onioneer I did use docker for a very short time a few years ago but for these days I just use my Ubuntu 24 system directly. I build anything form OpenWrt 18 to 23.
-
@crispyoz I am struggling a bit as I am not entirely sure what the error is coming from. I get a couple initial warnings saying dependenceis need nodejs but I do have nodejs istalled. Do you by any chance do anythign different from the Onion's repo?
-
@baby-Onioneer use make -j1 V=s and post the error here.
-
@crispyoz Sorry for the time it took me to reply, I got it working in my docker and it works well enough but thanks for the help