Upgrading firmware on X86

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> X86 based Hardware
Author Message
LJH
DD-WRT Novice


Joined: 18 Nov 2020
Posts: 8

PostPosted: Wed Sep 08, 2021 9:38    Post subject: Upgrading firmware on X86 Reply with quote
I'm aware that there are issues with webupgrades from the UI.

When flashing an upgrade from the CLI should we use the full image or the webupgrade one?

I have searched the board but can't find the answer to this one. Apologies in advance if I've missed a post that mentions this.
Sponsor
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 11809
Location: Texas, USA

PostPosted: Wed Sep 08, 2021 15:17    Post subject: Reply with quote
The only issues I know of are flashing over https. Perhaps someone else can clarify.

https://wiki.dd-wrt.com/wiki/index.php/X86

_________________
Official Forum Rules, Guidelines & Helpful InformationFirmware FAQInstallation WikiWhere Do I Download Firmware‽
DON'T use Chromium-based browsersRTFM/STFW TL;DR is NOT an excuse. • Why Should I Care What Color the Bikeshed Is‽
Please DO NOT PM me with questions; Ask in the forum. ---------------------- Linux User #377467 counter.li.org / linuxcounter.net
LJH
DD-WRT Novice


Joined: 18 Nov 2020
Posts: 8

PostPosted: Wed Sep 08, 2021 16:39    Post subject: Reply with quote
Thanks for the reply @kernel-panic69.

I do have https enabled but had not tried to flash via the UI. I could always disable it and try.
LJH
DD-WRT Novice


Joined: 18 Nov 2020
Posts: 8

PostPosted: Thu Sep 09, 2021 16:41    Post subject: Reply with quote
Web upgrade worked with https disabled. Would prefer to keep it enabled, but if disabling and re-enabling does the trick, sobeit.
Wildlion
DD-WRT Guru


Joined: 24 May 2016
Posts: 1217

PostPosted: Thu Sep 09, 2021 23:03    Post subject: Reply with quote
You cannot flash the same way via command line on x86.... you would have to dd it... I forget every so often because I do other flash based devices but as BS nicely reminded me one time:

Quote:
write cannot be used for x86 images. use webflash or the .image file using dd to your physical drive. write is made for flash based devices and has a different firmware format. you may also use "writetool" to write a .image file to the current boot drive
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 11809
Location: Texas, USA

PostPosted: Thu Sep 09, 2021 23:54    Post subject: Reply with quote
I was waiting for you, flood404, or one of the others running x86 to chime in. I just knew that https webflash was a no-go.
_________________
Official Forum Rules, Guidelines & Helpful InformationFirmware FAQInstallation WikiWhere Do I Download Firmware‽
DON'T use Chromium-based browsersRTFM/STFW TL;DR is NOT an excuse. • Why Should I Care What Color the Bikeshed Is‽
Please DO NOT PM me with questions; Ask in the forum. ---------------------- Linux User #377467 counter.li.org / linuxcounter.net
Wildlion
DD-WRT Guru


Joined: 24 May 2016
Posts: 1217

PostPosted: Fri Sep 10, 2021 23:55    Post subject: Reply with quote
Thanks KP!

Yeah, I am not sure why https breaks but on reboot you get an error number and it never boots...


And just for when people find this thread, if doing via command line using writetool, the syntax is:

Code:

writetool dd-wrt_x64_public_vga.image  /dev/sda


in my case it is /dev/sda because I have nothing else, but be careful! I have a sata drive, so that is why it is sda but could be others depending on your device, but you are selecting the DRIVE that dd-wrt is installed on (not a specific partition)

and use the image and not the webupgrade file
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> X86 based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum