Can't Flash Onion Image from OpenWRT



  • Hey,

    I flashed my Omega (1) to stock OpenWRT (openwrt-ar71xx-generic-vmlinux.bin). That worked fine, but now I'm trying to go back to the Omega image (openwrt-ar71xx-generic-onion-omega-squashfs-sysupgrade.bin) and the call to sysupgrade succeeds, however the same old OpenWRT OS is always what boots up.

    Is there a problem flashing the onion OS over OpenWRT?

    Thanks in advance



  • ...I should point out that I have tried the 7 second (i.e. hard) factory reset to no avail. The device reboots, but boots into OpenWRT again.



  • I hope you have a Ethernet dock:
    https://wiki.onion.io/Tutorials/Reflash-The-Firmware-With-Ethernet-Expansion

    There was a other tutorial with a self-made Ethernet connection ... i don't find it anymore ... it seams to be that we do have a lot of redundant information's on a lot of places ...



  • Thanks for responding @Luciano-S. I do have an ethernet dock. Everything in the instructions your provided works fine, but the httpd server never responds (at 192.168.1.1). My browser just spins forever.

    Any ideas?



  • It looks from the screenshots in the guide that the hosted web site for firmware upgrades is very Onion specific. I'm concerned that I've wiped out all Onion related stuff when I flashed OpenWRT.

    Also, the instructions are really about getting the image file on the device, which I can do just fine.

    My problem is that after an apparently successful sysupgrade on the image file, the new image doesn't take affect, and following the automatic reboot, the old OpenWRT image boots.



  • For me it looks like that you running out of memory ... it has to replace your .bin on the omega, that from the /tmp mount the image can be replaced on the read only mount where it gets read to the memory.

    Pls check out if you still have U-Boot 1.1.4.

    I was taking out from the drawer my omega1 again and checked witch was the last working Firmware ... it says 0.1.4 (330) even if this is not the newest one give this one a try (http://repo.onion.io/omega/images).



  • Thanks @Luciano-S.

    Downloading the latest image from (http://repo.onion.io/omega/images) did the trick. I'm now back to the Onion OS.

    I'm still vague on why I might be running out of memory. I'm confused because the image size is always the same (16252928 bytes). Even for the different images on the repo site. It seems like this is normal, but I don't understand it. Perhaps the image size is always the same, regardless of what it contains. If that is true, do you (or does anyone) know how to determine what a given image contains?

    Thanks again for your reply.


Log in to reply
 

Looks like your connection to Onion Community was lost, please wait while we try to reconnect.