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?

ソリューションへジャンプ
10,952件の閲覧回数
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 解決策
6,743件の閲覧回数
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 返答(返信)
6,744件の閲覧回数
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 件の賞賛
返信
6,743件の閲覧回数
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 件の賞賛
返信