Skip to content

38.4.0 filesystem creation during initrd-flash #2173

Description

@markusta1

Dear meta-tegra devs,

We have a custom flash layout defined for our distro, which apart from the regular redundant partitions creates a couple of more partitions.
During initrd-flash we'd like to create an ext4 filesystem on those partitions.
On 36.4.4 (Orin) we solved it by creating a script (create-filesystems.sh), which we copied to ${D}/init-extra.d and this would get picked up by init-flash.sh and make-sdcard.sh.
I realized since #1937, there's even a simpler method without our extra-step.

Currently we're in the process of porting to Thor (38.4.0) and we realized that the flash process changed quite a bit using the "unified_flash" approach. We understand that some UEFI internals changed and why this new approach is now needed.
Is there a similar hook/method to create an ext4 filesystem on custom partition with the new method during flashing? I realized mentioned files are not part of the flashing chain anymore and for me it's hard to get an overview what actually happens during flashing or find out any open doors.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions