Need to do firmware upgrade using .tar file

Hi,

Can we do firmware upgrade using .tar file?
I am new to this openwrt module and don't know about this module. So anyone can help me.

Thanks in advance.

  • What device do you have?
  • Are you saying that the OpenWrt file provided at the downloads page is a TAR?
  • What module?
1 Like

Certain images are provided as a gzipped tar... normally (at least that I've seen) for non-embedded devices that support eMMC modules or SSDs/HDDs.

If the official sysupgrade is a tar file, simply submit it as it is to the flash firmware GUI page or the sysupgrade CLI command. There is no need to untar or otherwise process it first. This is mostly for routers with NAND flash.

2 Likes

Hi All

Thanks for your reply.
I have tar file in format ".tar.gz". I want to upgrade the router image using this tar file.
So i will browse this tar file to the flash firmware GUI page and will click on flash image. But it is gettting error.

Thanks in advance

What model router, and where did you get that file?

2 Likes

When OpenWrt switched from tar files to bin files for sysupgrade, LuCI no longer allowed flashing of the tar files. I'm not sure what causes the error, or if using sysupgrade via SSH will bypass the issue.

1 Like

Hi @JW0914

I am using "sysupgarde" for upgrading the image. It only allows "data" file format to upgrade the image. If i am using "gzip compressed data" file format to upgrade then it won't allow me to do upgrade.

Thanks in advance

@sakshib39 Have you seen this question?

What is the full name of the tar file?

1 Like

[quote]What is the full name of the tar file?
[/quote]

I'm not the OP but same issue

openwrt-19.07.4-ar71xx-nand-rambutan-squashfs-sysupgrade

Currently running OpenWrt 19.07.3 r11063-85e04e9f46 on a Netgear R6100.

Did you check this out?

https://openwrt.org/toh/netgear/netgear_r6100#upgrading_openwrt

Every step is described there and it's worth a try.

2 Likes

I figured it out looking elsewhere.

It's nice to know it's there but I didn't see it doing various searches on the internet. I found this thread instead.

Sysupgrade (image.tar) - from the command line, router closed the connection and upgraded itself.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.