How to upgrading firmware(NOR) or sdcard.img(SDC) by sysupgrade for LS1012AFRWY OpenWrt-19.04?

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

How to upgrading firmware(NOR) or sdcard.img(SDC) by sysupgrade for LS1012AFRWY OpenWrt-19.04?

Jump to solution
1,243 Views
paul7
Contributor II

Hi

How to upgrading firmware(NOR) or sdcard.img(SDC) by sysupgrade for LS1012AFRWY OpenWrt-19.04?

Best Regards and thanks

Paul

0 Kudos
Reply
1 Solution
1,139 Views
Pavel
NXP Employee
NXP Employee

Command "dd" is used for writing .img file to SD card.

See below:

sudo dd if= sdcard.img of=/dev/sdb seek=8 bs=512

Have a great day,
Pavel Chubakov

View solution in original post

0 Kudos
Reply
3 Replies
1,140 Views
Pavel
NXP Employee
NXP Employee

Command "dd" is used for writing .img file to SD card.

See below:

sudo dd if= sdcard.img of=/dev/sdb seek=8 bs=512

Have a great day,
Pavel Chubakov

0 Kudos
Reply
1,139 Views
Pavel
NXP Employee
NXP Employee

The LS1012a supports QSPI as the boot source. Use u-boot commands for upgrading firmware QSPI NOR.

 

Use "mmc" command of u-boot to write sdcard.img to SD card or use "dd" command on your host Linux PC for write this image to SD card.

Have a great day,
Pavel Chubakov

 

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

0 Kudos
Reply
1,139 Views
paul7
Contributor II

For firmware.bin to QSPI NOR, how can I update mtd0 under OpenWrt Linux?

For sdcard.img to SD card, how to update mmcblk0 under OpenWrt Linux? use dd with /tmp?

Best regards,

Paul 

0 Kudos
Reply