Clean partition table from unwanted partitions? #1476
-
I've got myself a Orin Nano dev board with attached nvme, that I've successfully flashed with a custom yocto distro (with a bbappend to tegra-storage-layout-base).
Has anyone tried cleaning up these partitions or have an idea on how to do this? UPDATE: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
I've experimented with removing the kernel and kernel-dtb Android partitions in the past, and IIRC it did work, just removing the entries entirely from the storage layout XML file. You'll probably have to re-flash (including the SPI flash) after making those changes, and make sure you have |
Beta Was this translation helpful? Give feedback.
@madisongh
The plan is to eventually use another init manager other than systemd, so I want to make sure this part is future proofed a bit.
I'm thinking of just calling a script from the
init-flash.sh
script that you mentioned. This init extra script is bbappended to thetegra-flash-init.bb
recipe:The script i added just uses
mke2fs -t ext4
to format the custom added partitions as ext4 fs.I've tried making it a bit generic so any custom stuff can be added to this
init_extra
script. One …