Skip to content
New issue

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

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

Already on GitHub? # to your account

Does not find partition with unspecified size #3

Open
dalanbrown opened this issue Nov 28, 2014 · 0 comments
Open

Does not find partition with unspecified size #3

dalanbrown opened this issue Nov 28, 2014 · 0 comments

Comments

@dalanbrown
Copy link

My command like looks like this:
CMDLINE: initrd=0x62000000,0x00800000 init=/sbin/init root=/dev/mtdblock2 mtdparts=rk29xxnand:0x00008000@0x00002000(boot),0x00008000@0x0000A000(kernel),-@0x00012000(system)

rkflashkit correctly finds boot and kernel partitions but does not see the system partition because the size is unspecified "-" (or perhaps syntax this implies "everything else", I am not sure).

The regular expression for discovering partitions in the command line clearly expects a 0x([0-9a-fA-F]?)@(0x[0-9a-fA-F]?) which does not appear to allow for a "-" before the @. I am sure the fix involves more than just to "or" in the "-" to the size part of the regular expression as one either needs to ask the user to specify the partition size or figure it out from the total NAND size.

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

No branches or pull requests

1 participant