Hey,
i got my WGR614v8 yesterday and i'm trying to run OpenWRT on it.
First i followed the guide at this link:
http://www.myopenrouter.com/blog/entry/10569/How-To-Prepare-and-Build-Op...
Everything goes just fine, it compiles without warnings... And i got that trx image "openwrt-brcm-2.4-squashfs.trx"
The guide sais next: "Please convert this image into a .chk image." But how?
I used "mkchkimg" with the following command lines:
mkchkimg -o image.chk -k openwrt-brcm-2.4-squashfs.trx
mkchkimg -o image.chk -k ../build_dir/linux-brcm-2.4/vmlinux.lzma -f ../build_dir/linux-brcm-2.4/root.squashfs
and uploaded the resulting chk images via tftp to the router.
All it does is restart to a blinking power led ("recovery tftp mode")...
What am i doing wrong?
I also found a way to create those chk images with a tool called "packet", but where do i get this tool? It's not built-in on my ubuntu machine nor can i find it in any debian package :(
Any ideas? :)
Greets Goddchen
OK .. I have not yet tried any image created by mkchimg .... But as far as packet is concerned I found it in DD-WRT distribution ... You can also get it in the netgear original source code for WGR614L available at :
http://kb.netgear.com/app/answers/detail/a_id/2649
Once you download the Netgear source code u can get packet tool in
xxx/yyy/wgr614v8-v1.1.2_1.0.23NA_src/bcm5354/tools
Though it is cumbersome to download an entire source distribution for a tool but we need to do this as it is not provided in OpenWRT download...
OK thanks for your hint :)
I'm currently trying out the guide at
http://www.myopenrouter.com/blog/entry/10194/WGR614L-Firmware-Image-Crea...
I'll leavy you a message here, if it worked or not...
cu in a few minutes :)
OK, no success :( I uploaded to generated chk image via tftp and got the same result as before: reboot -> blinking power led
But a question on how to call the packet utility:
what should be in the compatible.txt file? What is the board id of my router (WGR614v8)?
OK .... but did u manage to get the packet tool ... I am assuming that u have the packet tool at ur disposal and u have created linux.trx using the rootfs and compressed linux then u need to do the following thungs :
echo "<-------- Creating CHK image ---------->"
touch emptyfile
echo U12H072T00_NETGEAR >> compatible.txt
./packet -k linux.trx -f emptyfile -b compatible.txt -ok kernel_image -oall kernel_rootfs -or rootfs_image -i emptyfile
rm -f emptyfile compatible.txt kernel_image.chk rootfs_image.chk
compatible.txt is the board id file name ... I have a NA version of WGR614L and my board id is the one mentioned in the script ... U shud use this id for ur board too ....
All the best
Hi, thanks for that hint :)
I already tried that commands but i'm not sure if i used that id. I used the id that mkchkimg outputs when no id was given to it. Maybe that was wrong. I'm going to try that out this afternoon :)
One more question: openwrt already generates me a trx image, can't i use that one?
Greets Goddchen
Well It has been a long time since I compiled OpenWRT so I don't remember whether I used that particular trx or not ..
I will look into the makefile and will let you know about this ....
For the time being try with the trx images that u created by following the links mentioned in ur previous posts......
ok i now created my own chk file according to the guide.
stripping vmlinux, lmza compression, trx utility, ...
this resulted in an image which "bricks" my router :( it doesn't even go into that "tftp-recovery-mode". We created a serial cable and with that i was able to get the original firmware back on the router :)
what am i doing wrong?
I think your makefile would be of much help, achilles :)
here is what i get when i upload the image that was generated from openwrt after compilation:
hmm ... As far as I remeber I did not do any changes in makefiles ..but I will look into it .... BTW I would suggest you to go through the following link:
http://www.myopenrouter.com/forum/thread/10590/Booting-OpenWRT-From-the-...?
I got some valuable info from here when I was building my OpenWRT ...
Goddchen,
The original article that your following is out of date!
Take a look at:
http://www.myopenrouter.com/download/10652/OpenWRT-WGR614L-Bleeding-Edge...