Hi, I got my MR3020 (v1.7) since a days ago and got the serial console working and playing with bootloader getting files from tftp server and looking into firmware files and playing with it. But I have not load OpenWRT firmware into the router yet.
I have some questions about this router and OpenWRT
I want to boot from ram as described in "5. install a ramdisk-image into main memory" from http://wiki.openwrt.org/doc/howto/generic.flashing
I made all, except step 6 for header fixing, because I think that is only neccesary for the wndr3700.
My steps on router are:
setenv ipaddr 10.1.0.10
setenv serverip 10.1.0.103
setenv bootargs 'board=TL-MR3020'
tftpboot 0x80000000 openwrt-ar71xx-generic-uImage-initramfs-lzma.bin
bootm
But I got an error when booting: Uncompressing Kernel Image ... Too big uncompressed streamLZMA ERROR 1 - must RESET
Compiling OpenWRT with defaults, Setting target system to: Atheros AR7xxx/AR9xxx, Subtarget: Generic, Target Profile: TP-LINK TL-MR3020
and in Target Images mark ramdisk as noted in the wiki, using the last trunk (33311) and updated packages.
The files generated are called:
openwrt-ar71xx-generic-tl-mr3020-v1-initramfs-uImage.bin
openwrt-ar71xx-generic-tl-mr3020-v1-jffs2-factory.bin
openwrt-ar71xx-generic-tl-mr3020-v1-jffs2-sysupgrade.bin
openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin
openwrt-ar71xx-generic-tl-mr3020-v1-squashfs-sysupgrade.bin
openwrt-ar71xx-generic-uImage-gzip.bin
openwrt-ar71xx-generic-uImage-initramfs-gzip.bin
openwrt-ar71xx-generic-uImage-initramfs-lzma.bin
openwrt-ar71xx-generic-uImage-lzma.bin
openwrt-ar71xx-generic-vmlinux.bin
openwrt-ar71xx-generic-vmlinux-initramfs.bin
And I´m using the file: openwrt-ar71xx-generic-uImage-initramfs-lzma.bin to test ramloading, but with no luck.
I noticed that is a GENERIC and not an mr3020, but these are the generated files, I don´t know how to get a initramfs-lzma for 3020.
I want to use the ramdisk aproach, because I need to learn a lot of OpenWRT and I don´t want to flash everytime I need to test something, so
It´s possible? Can somebody help me or give me a tip?
Another question or comment:
I try to unsquash the original rootFs with no luck on my debian box, all the modes that I´ve tried return errors: Some sources with error about version 4 of squashfs and some others with:
Parallel unsquashfs: Using 1 processor
lzma uncompress failed with error code 9
read_block: failed to read block @0x281da1
read_fragment_table: failed to read fragment table index
FATAL ERROR aborting: failed to read fragment table
I really apreciate if somebody can help me with the ramdisk approach!!!
Sorry for my english.
(Last edited by LuisR on 3 Sep 2012, 01:36)