Skip to content

[Task]: Add sector size support to partitioning for UFS #7942

Open
@HeyMeco

Description

@HeyMeco

Task description

While working on Radxa Nio 12L support which uses 4096 byte native storage via UFS I noticed just setting offset isn’t enough as the build system always defaults to 512 byte's with the included sfdisk from the docker image.

  • Find a solution to have --sector-size enabled for sfdisk in our build process which is a thing in newer versions. (See https://man7.org/linux/man-pages/man8/sfdisk.8.html)
  • Update partitioning.sh to make use of sector sizes in sfdisk and losetup
  • Add documentation for sector size env variable

Metadata

Metadata

Assignees

No one assigned

    Labels

    Task/To-DoProject management: To-Do or task(s) someone is working on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions