Hi, when I want change boot partition in old FSL 2009.08 U-boot, it simple to do(for example mmc device 2, partition 2):
mmc bootpart 2 1
but when I using u-boot-fslc branch patches-2014.07, I notice bootpart have change it's name to bootpart-resize,
and its' args are also changed:
mmc bootpart-resize <dev> <boot part size MB> <RPMB part size MB>
- Change sizes of boot and RPMB partitions of specified device
I'm now confusing how to chage boot partition, I also google this command, but found lots of website still using old "bootpart" command.
Can someone give me some hint? thanks.
Wally
Solved! Go to Solution.
Hi,
Checking at the command, I believe you should use the below one
mmc partconf dev boot_ack boot_partition partition_access
- Change the bits of the PARTITION_CONFIG field of the specified device
That is the one that configures the boot partitions access etc.
Please try that one.
Best Regards,
Alejandro
Hi,
Checking at the command, I believe you should use the below one
mmc partconf dev boot_ack boot_partition partition_access
- Change the bits of the PARTITION_CONFIG field of the specified device
That is the one that configures the boot partitions access etc.
Please try that one.
Best Regards,
Alejandro
thanks, Alejandro!
and following is the command compare of two u-boot I tried:
FSL 2009.08 U-boot u-boot-fslc branch patches-2014.07
args mmc bootpart mmc partconf dev boot_ack boot_partition partition_access
example for change boot partition to device 2 partition 1:
mmc bootpart 2 1 mmc partconf 2 1 1 1
example for change boot partition to device 2 partition 0:
mmc bootpart 2 0 mmc partconf 2 1 0 1