2011-04-07 05:04:44     firmware upgrade through webserver.

2011-04-07 05:04:44     firmware upgrade through webserver.

Yuriy Urasinov (RUSSIAN FEDERATION)

Message: 99648   

I want to upgrade uImage through webserver.

Webserver already works, and I can send file to hardware.

I upload file uImage to /usr/tmp by cgi-bin program.

What I have to do then to program this image, and booting from this image.

QuoteReplyEditDelete

2011-04-07 05:37:20     Re: firmware upgrade through webserver.

Aaron Wu (CHINA)

Message: 99649   

Where do you store your old uImage in your current product? I mean what kind of non-volatile storage. You may use cat or dd to write the image file directly to related device node by the running system and reboot itself.

QuoteReplyEditDelete

2011-04-07 08:19:50     Re: firmware upgrade through webserver.

Yuriy Urasinov (RUSSIAN FEDERATION)

Message: 99654   

I store uImage in NAND flash. NAND flash separated for two partitions.

QuoteReplyEditDelete

2011-04-07 11:55:19     Re: firmware upgrade through webserver.

Mike Frysinger (UNITED STATES)

Message: 99658   

so have your cgi code execute `nandwrite`

QuoteReplyEditDelete

2011-04-08 06:31:58     Re: firmware upgrade through webserver.

Yuriy Urasinov (RUSSIAN FEDERATION)

Message: 99691   

Thanks.

I try to do it by hands in console.

Nandwrite works good.

I will add it to my cgi.

If I try to do dd, u-boot told me that Image is bad.

  • Created
Was this helpful?

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.