Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ffspart: Rework command line size arguments #203

Open
shenki opened this issue Nov 28, 2018 · 0 comments
Open

ffspart: Rework command line size arguments #203

shenki opened this issue Nov 28, 2018 · 0 comments

Comments

@shenki
Copy link
Member

shenki commented Nov 28, 2018

Currently the ffspart command line requires you to specify:

  • block size (in hex?!)
  • number of blocks

A friendlier UI would be to specify the:

  • optionally, total output size in megabytes
  • optionally, the block size

The description of the ffs gives the total size of the ffs image being crated, so the only reason a user should specify it is when they want a pnor that is larger than the partition data they have.

The block size is not required for creating a ffs layout. It is a good idea to create a layout where the partitions lie on eraseblock boundaries, and therefore are at least one earaseblock in size, but this is not required.

This could fix #202 too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant