Page 1 of 1

Use of .img files to upgrade from DD-WRT

Posted: Fri Mar 26, 2010 5:46 pm
by ngg.online
@Eric
Maybe Eric can answer this one.

Can one use the combined .img files for atheros devices to upgrade from DD-WRT to Gargoyle and vise versa. I ask because in the DD-WRT's download section there are also .img for upgrading via the web interface, and I was wandering if Gargoyle uses the same format as DD-WRT.

Thanks!

Re: Use of .img files to upgrade from DD-WRT

Posted: Sat Mar 27, 2010 8:23 am
by DoesItMatter
It's my weekend, and my Fon 2201+ is always ready for a test!

I will try this:

My Fon 2201+ is already running Gargoyle 1.2.1

I'll try loading one of the current DD-WRT builds from the
Gargoyle GUI and see if it comes up as DD-WRT

If that works, I'll reset everything to defaults and then do
vice-versa and flash the combined .img of Gargoyle via
the web GUI of dd-wrt and see if Gargoyle comes up.

It would be a nice feature if you can flash back/forth like this.

---------------------------------

Edit: Nope - you can't flash the DD-WRT image from the
Gargoyle web GUI update - just won't work.

I tried doing the upload, left it for an hour, came back, and then
power-cycled the router - back to Gargoyle.

Doing a fresh flash of DD-WRT fonera version, and will then see
if I can upload the combined.img file for Gargoyle.

----------------------------------

Edit Part Deux!

Whoops! - Forgot! - Nope - this won't happen as it currently is.

Forgot, DD-WRT has its own Linux.bin file and changes the
fconfig to 'fis load -l linux'

I believe Gargoyle / OpenWRT still uses the vmlinux.l7.bin
boot line to startup

The new Gargoyle images would need the kernel part renamed
and a modified boot line. Not sure if Eric is wanting to configure
the Gargoyle combined images like this or not.

Re: Use of .img files to upgrade from DD-WRT

Posted: Sun Mar 28, 2010 9:06 am
by ps2chiper
I would like to see Gargoyle updated to work with the dd-wrt micro redboot's. Seeing as nobody else has made easy to use redboot files for various atheros routers. Or someone can take the source code from dd-wrt and make redboot more compatible with Gargoyle. I just tried the ap61 micro redboot last night. It worked fine, except i have to hold the reset button down while booting to skip the quickboot so it goes directly to the regular boot.

Re: Use of .img files to upgrade from DD-WRT

Posted: Mon Mar 29, 2010 12:56 am
by DoesItMatter
I've used DD-WRT but never tried flashing the micro redboot.

If its a custom build, I'm guessing its got the config already
pre-loaded and in that case, it's probably looking for a 'linux'
partition and does a startup of 'fis load -l linux' and 'exec'

In which case, what would have to happen is it MIGHT work with
Gargoyle / OpenWRT, but the name of the image & partition would
need to be changed to 'linux'

Re: Use of .img files to upgrade from DD-WRT

Posted: Mon Mar 29, 2010 9:44 am
by ps2chiper
I will see what I can do about that