How to change u-boot boot argument and cmdline to mount a partition in my rootfs partition?

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

How to change u-boot boot argument and cmdline to mount a partition in my rootfs partition?

600 Views
jupiter_hce
Contributor III

Hi,

I created several partitions, two partitions are formatted by ubifs during u-boot, one is rootfs, a main partition, another is a backup storage, I burned the rootfs partition to the Nand flash, after boot from main partition rootfs, I cannot see the ubifs driver for the backup partition, so I had to run ubi attach and mount the backup storage in rootfs partition everytime in boot, that is definitely a wrong way.

How can I attach ubifs and mount backup storage only once in main rootfs boot up?  I think it should be added to the boot argument, can anyone point me a document how to modify the u-boot boot argument and cmdline?

Thank you.

Kind regards,

- jupiter

Labels (4)
0 Kudos
1 Reply

488 Views
igorpadykov
NXP Employee
NXP Employee

Hi jupiter

this is general uboot question and may be posted on uboot mail list

U-Boot Info Page 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos