U-Boot Unzip Rootfs

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
4,762件の閲覧回数
mitun_chidampar
Contributor I

U-Boot - unzip

Hello, 
I am using a SOM based on the NXP i.MX6S7

I want to use the U-boot to update the firmware of our system. When I plugin a USB stick during startup, the u-boot should detect the USB and rewrite the rootfs. 

In my u-boot these are the commands , I am using :

TX6S U-Boot > fatload usb 0:1 18000000  rootfs_tx6-emmc.tgz

                        reading rootfs_tx6-emmc.tgz
                        14063707 bytes read in 443 ms (30.3 MiB/s)

TX6S U-Boot > unzip 18000000 19000000
Uncompressed size: 39219200 = 0x2567000

After I unzip, how do i rewrite the rootfs in my mmc flash ?

Please guide me to the right direction.

Thank you

Regards,

Mitun Chidamparam

0 件の賞賛
返信
1 解決策
4,543件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Mitun

one can look at solutions provided on

https://community.nxp.com/docs/DOC-343518 

https://boundarydevices.com/programming-emmc-on-i-mx6/ 

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

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
4,544件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Mitun

one can look at solutions provided on

https://community.nxp.com/docs/DOC-343518 

https://boundarydevices.com/programming-emmc-on-i-mx6/ 

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

0 件の賞賛
返信
4,543件の閲覧回数
mitun_chidampar
Contributor I

How can I determine the correct start block size, when I use this command?

U-Boot > gzwrite mmc 1 10008000 0x$filesize 100000 0
0 件の賞賛
返信