how to change boot partiton on u-boot-fslc branch patches-2014.07?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to change boot partiton on u-boot-fslc branch patches-2014.07?

Jump to solution
9,675 Views
wallyyeh
Contributor V

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

Tags (1)
0 Kudos
Reply
1 Solution
5,466 Views
alejandrolozan1
NXP Employee
NXP Employee

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

View solution in original post

0 Kudos
Reply
2 Replies
5,467 Views
alejandrolozan1
NXP Employee
NXP Employee

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

0 Kudos
Reply
5,466 Views
wallyyeh
Contributor V

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

0 Kudos
Reply