-
I am using a custom distribution for my Xavier NX. Now I would like to use a custom bootlogo.
After building the image I would like to update using mender as usual.
Hm, okay, I added a logo so perhaps the partition layout has been changed. I tried a Also this command failed with
I assume I need to modify the flash.xml and increase the size for BMP and BMP_b. Is this correct? bmp.blob is current 201178 bytes. If changing the partition layout is the way to go, would you use a factor of the current logo size if it every increases (to be prepared)? How much size do you expect for an image? Will this be constant if I use one defined width x height?
But now I get an error while building the image:
"end sector" ... There is just the size defined for each partition. What am I doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Bear in mind that the SPI flash is only 16MiB, and is already pretty full with the default layout. Doubling the size of your BMP partitions has caused you to run out of space, which that error message is rather obliquely telling you. It would be better to prioritize keeping your logo size within the already-defined limit. If you really can't do that, you could increase the partition size by 24KiB or so (each) without running into problems, I think. Anything more than that, and you should carefully map what's where in the flash (including what might be used by |
Beta Was this translation helpful? Give feedback.
Bear in mind that the SPI flash is only 16MiB, and is already pretty full with the default layout. Doubling the size of your BMP partitions has caused you to run out of space, which that error message is rather obliquely telling you.
It would be better to prioritize keeping your logo size within the already-defined limit. If you really can't do that, you could increase the partition size by 24KiB or so (each) without running into problems, I think. Anything more than that, and you should carefully map what's where in the flash (including what might be used by
tegra-boot-tools
for your Mender setup, if this is an SDcard-based Xavier) to make sure you don't run out of space and that there's…