I need to decrease the kernel partitions sizes as they are too big. For example, the kernel and kernel_b partitions are 60 mb each, and they are only containing u-boot (boot.img) which is 400k in size.
I’m using the Jetpack 4.2 BSP flashing utility ./flash.sh jetson-tx2 mmcblk0p1 and set the LNXSIZE by hand in the flash_l4t_t186.xml config file for both kernel and kernel_b, like this:
size | | (Required) Specifies the size of the partition in bytes. Decimal and hexadecimal values are valid.
The partition size may be equal to or larger than the size of the file to be written to the partition. Specifying a larger size allows the file size to increase later without requiring the partition configuration file to be modified.
If the partition size specified is less than an erase block size, it will align itself to the partition erase block boundary.
Can you please help and tell me where else I should specify kernel partitions sizes apart from the xml so that I can actually lower them?
we found this is an internal bug for bootloader.
please consider this is a known issue for l4t-r32.1 and we’ll include the fix for the next public release (i.e. l4t-r32.2)
thanks
Thank you JerryChang, that is very good news! Can you confirm that also partitions before the kernel will be possible to have the size reduced if needed? I mean at least as to fit the binary that’s being written.
Can you please confirm if previous partitions like sce-fw and sc7 will be possible to be reduced too, or at least to be possible to remove a couple of redunant ones? Like to have only sce-fw, not sce-fw_b, only sc7 not sc7_b. I’m asking because I need to keep these partitions below total point of 49152 KiB from start of disk.
Thanks JerryChang, I understand that, just want to make sure that it will work to resize / shrink other partitions as expected using the partition specification guide, as it was reported to work in R28.x