OpenWrt Forum Archive

Topic: tl-mr3040 v2.2 wrong firmware flashed, device do not boot

The content of this topic has been archived on 29 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Everything went well with my device, and i wanted to add an additional flash, but for the driver i had no space. i tried to uninstall some packeges, but no one was uninstalled becaus missing space. so far so well, i desidet to start again by flashing die factory firmware, but I took the wrong version

http://downloads.openwrt.org/backfire/1 … actory.bin
instad of
http://downloads.openwrt.org/backfire/1 … actory.bin

Now my device will not boot anymore. Is there a way out. Yes I know, this should not happen, but anyway, if someone has an idea, pleas let me know

thanks
lieni

Connect to gnd, tp_in and tp_out pads. uboot have tftp recovery.

Thanks a lot, till now I could not reflah my device. I have first to organize a seial to USB cable, which I found with the nocia ca-42. Quit cheap but heavy to get anymore.

I did it. I could install Luci and now I try to extend the rootfs. But with very success.
I can't my device ti mount, because I can't install kmod-usb-storage (My versions I got from http://downloads.openwrt.org/snapshots/trunk/ar71xx/

root@OpenWrt:/tmp# opkg install kmod-usb-storage
Installing kmod-usb-storage (3.10.32-1) to root...
Downloading http://downloads.openwrt.org/snapshots/ … r71xx.ipk.
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-storage:
*     kernel (= 3.10.32-1-731080935ab5c562909a75433f9c7f81) *     kernel (= 3.10.32-1-731080935ab5c562909a75433f9c7f81) *
* opkg_install_cmd: Cannot install package kmod-usb-storage.
root@OpenWrt:/tmp#

Well, trunk images are tricky. They get built every 2-3 days and thus that hash number changes. Especially kernel modules are very sensitive to this issue. So, you need to download and install a new image and also quickly install all the kernel modules and packages you need.

or download imagebuilder package along with sysupgrade image, so you get all packages "forever"...

http://downloads.openwrt.org/snapshots/ … 64.tar.bz2

then you have to extract it and point /etc/opkg.conf to your webserver..

(Last edited by nebbia88 on 21 Mar 2014, 21:41)

Thank you MBS,
Ok I did  everything from beginning (with the newest trunk) and tried to install everything I need.
Because I have to few space I made an overlay over my rootfs see output from df h:
rootfs                   14.8G     41.3M     14.0G   0% /
/dev/root                 2.0M      2.0M         0 100% /rom
tmpfs                    14.1M    896.0K     13.2M   6% /tmp
/dev/sda1                14.8G     41.3M     14.0G   0% /overlay
overlayfs:/overlay       14.8G     41.3M     14.0G   0% /
tmpfs                   512.0K         0    512.0K   0% /dev


My rootfs is now 15GB but, when I perform free:
root@OpenWrt:/etc# free
             total         used         free       shared      buffers
Mem:         28892        23476         5416            0         2512
-/+ buffers:              20964         7928
Swap:            0            0            0

Do I have now 15GB and free lies, or do I have just 5MB free, which is not enough for my wishes Later I wanted to build a swapfile on my new fs, but do see openwrt my rootspace?

Also to you nebia88, thanks a lot.This I will do, as soon as I come back into the same troubles, but I believe this is a little bit time consuming.
Sooner or later I will build everything myself, also to make new packages after my wishes, but for the moment, I would be glad, if everything would work as I expect.

PS:
my /etc/config/fstab looks like this:
config global
    option anon_swap '0'
    option anon_mount '0'
    option auto_swap '1'
    option auto_mount '1'
    option delay_root '5'
    option check_fs '0'

config mount
        option target /overlay
        option fstype 'ext4'
        option options 'rw,realtime,barrier=1,data=ordered'
        option enabled_fsck '1'
        option enabled '1'
        option device '/dev/sda1'
        option is_rootfs '1'
                                               
#config swap
#    option enabled '1'
#    option device '/dev/sda2'

config global 'automount'
    option from_fstab '1'
    option anon_mount '0'

config global 'autoswap'
    option from_fstab '1'
    option anon_swap '0'

config mount

free shows your RAM usage. Use "df" to check your disk usage.

The discussion might have continued from here.