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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
9,474 次查看
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

标记 (1)
0 项奖励
回复
1 解答
5,265 次查看
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 项奖励
回复
2 回复数
5,266 次查看
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 项奖励
回复
5,265 次查看
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 项奖励
回复