OpenWrt Forum Archive

Topic: Help with flashing Chinese RT3052F Router

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

Hi all,

Really need some help here!

Need to flash OpenWrt on this Chinese router  that already has some form of WRT.

It has a Realtek 3052F chip on board.

4 X Lan
1 X WAN
1 X Console
1 X USB
1 X 3g Module
1 X wifi Module


When I flash some of the variants of OpenWrt that matches my chip,  it stops at the following during boot and re-boots:

[    0.210000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.230000] msgmni has been set to 120
[    0.230000] io scheduler noop registered
[    0.230000] io scheduler deadline registered (default)
[    0.240000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
Ìžf†˜˜~˜àæžøžæžàžf˜ž~`f昘~˜††ž†àžfxà†àæžþž`æàæžøžæžàžfx†žf†àžfx怘€žf†˜˜~˜àæžøžæžàžf˜ž~`f昘~˜††ž†àžfx


I have extracted the original Chinese firmware and I have the following binwalk:

<<<<<<<<<<<Binwalk>>>>>>>>

Scan Time:     2014-02-13 10:50:09
Signatures:    193
Target File:   /denis/fmk/uimage-STD-VPN-NOUSER-20131211.flash
MD5 Checksum:  5f24477a9e05c2d959aeaa08ee57e98d

DECIMAL       HEX           DESCRIPTION
-------------------------------------------------------------------------------------------------------
0             0x0           uImage header, header size: 64 bytes, header CRC: 0xD4EBDEFF, created: Thu Dec  5 08:19:13 2013, image size: 1300227 bytes, Data Address: 0x80000000, Entry Point: 0x803C2000, data CRC: 0xDE1FBDEF, OS: Linux, CPU: MIPS, image type: OS Kernel Image, compression type: lzma, image name: "Linux Kernel Image"
64            0x40          LZMA compressed data, properties: 0x6D, dictionary size: 8388608 bytes, uncompressed size: 4073232 bytes
1302528       0x13E000      Squashfs filesystem, little endian, DD-WRT signature, version 3.0, size: 6066631 bytes,  621 inodes, blocksize: 131072 bytes, created: Wed Dec 11 11:15:13 2013



With this firmware, I have the following verison:

<<<<<<<<<<<<cat /proc/version>>>>>>>>>>>>>

16:22:12:154   admin@Router:~# cat /proc/version
16:22:12:172   Linux version 2.6.23.17 (root@ubuntu) (gcc version 4.1.0) #9 Thu Nov 28 16:34:06 CST 2013
16:22:13:816   admin@Router:~#
16:22:21:764   admin@Router:~#  cat /proc/cpuinfo
16:22:21:776   system type             : Ralink SoC
16:22:21:777   processor               : 0
16:22:21:777   cpu model               : MIPS 24K V4.12
16:22:21:777   CPUClock                : 384
16:22:21:778   BogoMIPS                : 255.59
16:22:21:787   wait instruction        : yes
16:22:21:787   microsecond timers      : yes
16:22:21:787   tlb_entries             : 32
16:22:21:788   extra interrupt vector  : yes
16:22:21:788   hardware watchpoint     : yes
16:22:21:801   ASEs implemented        : mips16 dsp
16:22:21:801   VCED exceptions         : not available
16:22:21:801   VCEI exceptions         : not available


I have tried to build some kind of firmware with buildroot but it the boot process alwas stops as above.

They have provided me with the following "toolchains" (3.4.6-uclibc-0.9.28  4.1.0-uclibc-0.9.28) but I have no idea how to set up buildroot to use these toolchains.
Any attempt has failed with various errors.

can someone please tell me how to use the external toolchains and how to set it up?

---------------------------------------------------------------------------------------------+ |
  | |                     --- Use external toolchain                                               
  | |                     [ ]   Use host's toolchain (NEW)                                               
  | |                     (mipsel-unknown-linux-gnu) Target name (NEW)                             
  | |                     (mipsel-unknown-linux-gnu-) Toolchain prefix (NEW)                                 
  | |                     (/opt/cross/mipsel-unknown-linux-gnu) Toolchain root (NEW)                         
  | |                     (uclibc) Toolchain libc (NEW)                                                   
  | |                     (./usr/bin ./bin) Toolchain program path (NEW)                           
  | |                     (./usr/include ./include) Toolchain include path (NEW)                                     
  | |                     (./usr/lib ./lib) Toolchain library path (NEW)     


Any help appreciated VERY much!

Thank you in advance!



<<<router info>>>>
16:22:12:154   admin@Router:~# cat /proc/version
16:22:12:172   Linux version 2.6.23.17 (root@ubuntu) (gcc version 4.1.0) #9 Thu Nov 28 16:34:06 CST 2013
16:22:13:816   admin@Router:~#
16:22:21:764   admin@Router:~#  cat /proc/cpuinfo
16:22:21:776   system type             : Ralink SoC
16:22:21:777   processor               : 0
16:22:21:777   cpu model               : MIPS 24K V4.12
16:22:21:777   CPUClock                : 384
16:22:21:778   BogoMIPS                : 255.59
16:22:21:787   wait instruction        : yes
16:22:21:787   microsecond timers      : yes
16:22:21:787   tlb_entries             : 32
16:22:21:788   extra interrupt vector  : yes
16:22:21:788   hardware watchpoint     : yes
16:22:21:801   ASEs implemented        : mips16 dsp
16:22:21:801   VCED exceptions         : not available
16:22:21:801   VCEI exceptions         : not available



16:22:31:584   admin@Router:~# cat /proc/mtd
16:22:31:595   dev:    size   erasesize  name
16:22:31:596   mtd0: 00030000 00010000 "uboot"
16:22:31:596   mtd1: 00010000 00010000 "uboot-config"
16:22:31:607   mtd2: 00010000 00010000 "factory-defaults"
16:22:31:607   mtd3: 007a0000 00010000 "linux"
16:22:31:607   mtd4: 00662000 00010000 "rootfs"
16:22:31:607   mtd5: 00010000 00010000 "nvram"



16:22:33:627   admin@Router:~# cat /proc/modules
16:22:45:402   ipsec 376832 0 - Live 0x82f00000
16:22:45:402   sierra 8192 1 - Live 0x8346c000
16:22:45:402   rt2860v2_ap 950272 1 - Live 0x83b00000 (P)


16:23:02:605   admin@Router:~# cat /proc/devices
16:23:02:618   Character devices:
16:23:02:618     1 mem
16:23:02:618     2 pty
16:23:02:619     3 ttyp
16:23:02:620     4 ttyS
16:23:02:620     5 /dev/tty
16:23:02:621     5 /dev/console
16:23:02:621     5 /dev/ptmx
16:23:02:621    10 misc
16:23:02:622    13 input
16:23:02:630    21 sg
16:23:02:630    90 mtd
16:23:02:630   108 ppp
16:23:02:630   128 ptm
16:23:02:630   136 pts
16:23:02:630   166 ttyACM
16:23:02:630   180 usb
16:23:02:630   188 ttyUSB
16:23:02:631   189 usb_device
16:23:02:631   207 ttyVK
16:23:02:632   208 ff_watchdog
16:23:02:642   217 spiS0
16:23:02:642   219 rtc_pcf8563
16:23:02:642   229 nvram
16:23:02:642   251 ffgpio
16:23:02:642   252 gpio
16:23:02:642   254 usb_endpoint
16:23:02:642   
16:23:02:642   Block devices:
16:23:02:643     8 sd
16:23:02:643    31 mtdblock
16:23:02:643    65 sd
16:23:02:644    66 sd
16:23:02:654    67 sd
16:23:02:654    68 sd
16:23:02:654    69 sd
16:23:02:654    70 sd
16:23:02:654    71 sd
16:23:02:654   128 sd
16:23:02:654   129 sd
16:23:02:655   130 sd
16:23:02:655   131 sd
16:23:02:655   132 sd
16:23:02:655   133 sd
16:23:02:655   134 sd
16:23:02:656   135 sd



16:23:15:314   admin@Router:~# free
16:23:15:327                total         used         free       shared      buffers
16:23:15:342   Mem:         60724        19820        40904            0         1952
16:23:15:342   -/+ buffers:              17868        42856
16:23:15:343   Swap:            0            0            0



16:23:26:093   admin@Router:~# cat /proc/iomem
16:23:26:106   00000000-03ffffff : System RAM
16:23:26:106     00000000-0032cb47 : Kernel code
16:23:26:106     0032cb48-003c10bf : Kernel data
16:23:26:107   101c0000-101fffff : lm0



16:23:34:683   admin@Router:~# ps
16:23:34:695     PID USER       VSZ STAT COMMAND
16:23:34:696       1 admin     2900 S    /sbin/init noinitrd
16:23:34:697       2 admin        0 SW<  [kthreadd]
16:23:34:707       3 admin        0 SW<  [ksoftirqd/0]
16:23:34:707       4 admin        0 SW<  [events/0]
16:23:34:708       5 admin        0 SW<  [khelper]
16:23:34:718      43 admin        0 SW<  [kblockd/0]
16:23:34:718      55 admin        0 SW<  [khubd]
16:23:34:718      75 admin        0 SW   [pdflush]
16:23:34:719      76 admin        0 SW   [pdflush]
16:23:34:729      77 admin        0 SW<  [kswapd0]
16:23:34:729      78 admin        0 SW<  [aio/0]
16:23:34:730     607 admin        0 SW<  [mtdblockd]
16:23:34:739     637 admin        0 SW<  [dwc_otg]
16:23:34:740     857 admin     3428 S    resetbutton
16:23:34:741     915 admin        0 SW   [RtmpCmdQTask]
16:23:34:751     916 admin        0 SW   [RtmpWscTask]
16:23:34:751     958 admin     1424 S    telnetd
16:23:34:752     963 admin     3428 S    wland
16:23:34:762     967 admin     1088 S    dnsmasq --conf-file=/tmp/dnsmasq.conf -K
16:23:34:762     973 admin      976 S    cron
16:23:34:763    1009 admin     3484 S    /tmp/ppp/redial 10
16:23:34:773    1015 admin     3484 S    /tmp/ppp/checksignal
16:23:34:773    1018 admin     3156 S    ttraff
16:23:34:774    1095 admin     3784 S    httpd -p 80
16:23:34:775    1107 admin     1440 S    -sh
16:23:34:785    1122 admin      976 S    {cron} CRON
16:23:34:785    1133 admin     3156 S    process_monitor
16:23:34:786    1150 admin     3484 S    ff_wdt
16:23:34:799   23326 admin     3292 S    pppd -detach /dev/usb/tts/4 230400 file /tmp/ppp/opt
16:23:34:800   23331 admin     1428 R    ps



16:23:43:363   admin@Router:~# ifconfig
16:23:43:377   br0       Link encap:Ethernet  HWaddr 00:0C:43:09:5F:0A 
16:23:43:389             inet addr:192.168.70.1  Bcast:192.168.70.255  Mask:255.255.255.0
16:23:43:390             UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
16:23:43:400             RX packets:7735 errors:0 dropped:0 overruns:0 frame:0
16:23:43:401             TX packets:6971 errors:0 dropped:0 overruns:0 carrier:0
16:23:43:402             collisions:0 txqueuelen:0
16:23:43:411             RX bytes:470363 (459.3 KiB)  TX bytes:494656 (483.0 KiB)
16:23:43:411   
16:23:43:412   eth2      Link encap:Ethernet  HWaddr 00:0C:43:09:5F:0A 
16:23:43:422             UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
16:23:43:423             RX packets:0 errors:0 dropped:0 overruns:0 frame:0
16:23:43:433             TX packets:1273 errors:0 dropped:0 overruns:0 carrier:0
16:23:43:434             collisions:0 txqueuelen:1000
16:23:43:444             RX bytes:0 (0.0 B)  TX bytes:138566 (135.3 KiB)
16:23:43:444             Interrupt:3
16:23:43:444   
16:23:43:445   lo        Link encap:Local Loopback 
16:23:43:456             inet addr:127.0.0.1  Mask:255.0.0.0
16:23:43:457             UP LOOPBACK RUNNING MULTICAST  MTU:16436  Metric:1
16:23:43:467             RX packets:7 errors:0 dropped:0 overruns:0 frame:0
16:23:43:467             TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
16:23:43:468             collisions:0 txqueuelen:0
16:23:43:478             RX bytes:490 (490.0 B)  TX bytes:490 (490.0 B)
16:23:43:478   
16:23:43:479   ra0       Link encap:Ethernet  HWaddr 00:0C:43:09:5F:0C 
16:23:43:489             UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
16:23:43:490             RX packets:7330774 errors:0 dropped:0 overruns:0 frame:0
16:23:43:500             TX packets:547221 errors:0 dropped:0 overruns:0 carrier:0
16:23:43:501             collisions:0 txqueuelen:1000
16:23:43:511             RX bytes:1857408575 (1.7 GiB)  TX bytes:1730098 (1.6 MiB)
16:23:43:511             Interrupt:4
16:23:43:511   
16:23:43:512   vlan0     Link encap:Ethernet  HWaddr 00:0C:43:09:5F:0A 
16:23:43:522             UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
16:23:43:523             RX packets:0 errors:0 dropped:0 overruns:0 frame:0
16:23:43:534             TX packets:1273 errors:0 dropped:0 overruns:0 carrier:0
16:23:43:535             collisions:0 txqueuelen:0
16:23:43:541             RX bytes:0 (0.0 B)  TX bytes:128672 (125.6 KiB)
16:23:43:541

(Last edited by xewonder on 13 Feb 2014, 14:06)

actually... different firmware builds make it crash at different stages:


Press 'Ctrl+c' key to stop autobo 0
   
: System Boot system code via Flash.
## Booting image at bf050000 ...
   Image Name:   MIPS OpenWrt Linux-3.10.28
   Created:      2014-02-13  14:20:18 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    2605181 Bytes =  2.5 MB
   Load Address: 80000000
   Entry Point:  80000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 64

Starting kernel ...

[    0.000000] Linux version 3.10.28 (denisd@denisd-virtual-machine) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r39518) ) #6 Thu Feb 13 16:20:00 EET 2014
[    0.000000] SoC Type: Ralink RT3052 id:1 rev:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0001964c (MIPS 24KEc)
[    0.000000] MIPS: machine is Tenda 3G300M
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x03ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x03ffffff]
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Writing ErrCtl register=00053e60
[    0.000000] Readback ErrCtl register=00053e60
[    0.000000] Memory: 60308k/65536k available (2124k kernel code, 5228k reserved, 530k data, 1760k init, 0k highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:128
[    0.000000] CPU Clock: 384MHz
[    0.000000] Calibrating delay loop... 255.59 BogoMIPS (lpj=1277952)
[    0.070000] pid_max: default: 32768 minimum: 301
[    0.070000] Mount-cache hash table entries: 512
[    0.080000] pinctrl core: initialized pinctrl subsystem
[    0.080000] NET: Registered protocol family 16
[    0.110000] bio: create slab <bio-0> at 0
[    0.120000] rt2880_gpio 10000600.gpio: registering 24 gpios
[    0.120000] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[    0.130000] Switching to clocksource MIPS
[    0.140000] NET: Registered protocol family 2
[    0.140000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.140000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.150000] TCP: Hash tables configured (established 512 bind 512)
[    0.160000] TCP: reno registered
[    0.160000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.160000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.170000] NET: Registered protocol family 1

[    0.240000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
Ìžf†˜˜~˜àæžøžæžàžf˜ž~`f昘~˜††ž†àžfxà†àæžþž`æàæžøžæžàžfx†žf†àžfx怘žf†˜˜~˜àæžøžæžàžf˜ž~`f昘~˜††ž†àžfx

meaning you have wrong serial speed (looks like your board use 115200 then typically ralink use 57600). Here is file where you can find all boards which use your speed. https://dev.openwrt.org/browser/branche … e/Makefile for example WR6202.

Tenda 3G300M -is wrong image, it have a little bit different arch, if I remember right.

It would be better if you print your original image bootlog.

Many thanks for reply neryba

tried flashing several images mentioned in the file but get the junk characters or just a reboot halfway through bootup:

*** Warning - bad CRC, using default environment


Press 'Ctrl+c' key to stop autobo 0
   
: System Boot system code via Flash.
## Booting image at bf050000 ...
   Image Name:   MIPS OpenWrt Linux-3.3.8
   Created:      2013-03-23  19:01:26 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    887080 Bytes = 866.3 kB
   Load Address: 80000000
   Entry Point:  80000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 64

Starting kernel ...

[    0.000000] Linux version 3.3.8 (blogic@Debian-60-squeeze-64-minimal) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sat Mar 23 19:00:46 UTC 2013
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0001964c (MIPS 24KEc)
[    0.000000] Ralink RT3052 id:1 rev:3 running at 384.00 MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line:  board=CARAMBOLA console=ttyS1,115200 mtdparts=physmap-flash.0:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,896k(kernel),6976k(rootfs),7872k@0x50000(firmware) rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=00053e60
[    0.000000] Readback ErrCtl register=00053e60
[    0.000000] Memory: 62160k/65536k available (2046k kernel code, 3376k reserved, 340k data, 176k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:48
[    0.000000] console [ttyS1] enabled, bootconsole disabled
[    0.000000] console [ttyS1] enabled, bootconsole disabled
[    0.010000] Calibrating delay loop... 255.59 BogoMIPS (lpj=1277952)
[    0.090000] pid_max: default: 32768 minimum: 301
[    0.090000] Mount-cache hash table entries: 512
[    0.100000] NET: Registered protocol family 16
[    0.100000] MIPS: machine is 8devices Carambola
[    0.110000] gpiochip_add: registered GPIOs 0 to 23 on device: RT305X-GPIO0
[    0.110000] gpiochip_add: registered GPIOs 24 to 39 on device: RT305X-GPIO1
[    0.120000] gpiochip_add: registered GPIOs 40 to 51 on device: RT305X-GPIO2
[    0.140000] bio: create slab <bio-0> at 0
[    0.150000] Switching to clocksource MIPS
[    0.160000] NET: Registered protocol family 2
[    0.160000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.160000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.170000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.180000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.180000] TCP reno registered
[    0.190000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.190000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.200000] NET: Registered protocol family 1
[    0.230000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.240000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.250000] msgmni has been set to 121
[    0.250000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[    0.260000] io scheduler noop registered
[    0.270000] io scheduler deadline registered (default)
[    0.270000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.280000] serial8250: ttyS0 at MMIO 0x10000500 (irq = 13) is a 16550A
[    0.290000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A
[    0.300000] physmap platform flash device: 00800000 at bf000000
[    0.310000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0022cb
[    0.320000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.320000]   Amd/Fujitsu Extended Query version 1.1.
[    0.330000] number of CFI chips: 1
[    0.330000] 6 cmdlinepart partitions found on MTD device physmap-flash.0
[    0.340000] Creating 6 MTD partitions on "physmap-flash.0":
[    0.350000] 0x000000000000-0x000000030000 : "u-boot"
[    0.350000] 0x000000030000-0x000000040000 : "u-boot-env"
[    0.360000] 0x000000040000-0x000000050000 : "factory"
[    0.370000] 0x000000050000-0x000000130000 : "kernel"
[    0.380000] 0x000000130000-0x000000800000 : "rootfs"
[    0.380000] mtd: partition "rootfs" set to be root filesystem
[    0.390000] mtd: partition "rootfs_data" created automatically, ofs=2F0000, len=510000
[    0.400000] 0x0000002f0000-0x000000800000 : "rootfs_data"
[    0.410000] 0x000000050000-0x000000800000 : "firmware"
[    0.420000] ramips-wdt ramips-wdt: timeout value must be 0 < timeout <= 33, using 33
[    0.430000] TCP cubic registered
[    0.440000] NET: Registered protocol family 17
[    0.440000] Bridge firewalling registered
[    0.440000] 8021q: 802.1Q VLAN Support v1.8
[    0.450000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    0.460000] Freeing unused kernel memory: 176k freed
0ààü


the boot process with original firmware dos not show that much.. but here it is:

*** Warning - bad CRC, using default environment


Press 'Ctrl+c' key to stop autobo 0
   
: System Boot system code via Flash.
## Booting image at bf050000 ...
   Image Name:   Linux Kernel Image
   Created:      2013-03-13   7:20:36 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1298348 Bytes =  1.2 MB
   Load Address: 80000000
   Entry Point:  803c0000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 803c0000) ...
## Giving linux memsize in MB, 64

Starting kernel ...


LINUX started...

THIS IS ASIC
usb-storage: probe of 1-1:1.0 failed with error -5
usb-storage: probe of 1-1:1.1 failed with error -5
usb-storage: probe of 1-1:1.2 failed with error -5
usb-storage: probe of 1-1:1.3 failed with error -5
usb-storage: probe of 1-1:1.4 failed with error -5
usb-storage: probe of 1-1:1.5 failed with error -5
br0: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.

Linux Image v1.0 std (c) 2012
Release: Mar 15 2013 11:47:53 (SVN revision: 41)
ÿ
Linux login:


Could it be that they modified the U-Boot so that this can happen? is there any pre-compiled U-boot I can flash?

Just in case it is of any use, here is the "printenv" of my u-boot:

bootcmd=tftp
bootdelay=5
baudrate=115200
ethaddr="00:AA:BB:CC:DD:10"
ipaddr=192.168.16.22
serverip=192.168.16.1
ramargs=setenv bootargs root=/dev/ram rw
addip=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):$(netdev):off
addmisc=setenv bootargs $(bootargs) console=ttyS0,$(baudrate) ethaddr=$(ethaddr) panic=1
flash_self=run ramargs addip addmisc;bootm $(kernel_addr) $(ramdisk_addr)
kernel_addr=BFC40000
u-boot=u-boot.bin
load=tftp 8A100000 $(u-boot)
u_b=protect off 1:0-1;era 1:0-1;cp.b 8A100000 BC400000 $(filesize)
loadfs=tftp 8A100000 root.cramfs
u_fs=era bc540000 bc83ffff;cp.b 8A100000 BC540000 $(filesize)
test_tftp=tftp 8A100000 root.cramfs;run test_tftp
stdin=serial
stdout=serial
stderr=serial
ethact=Eth0 (10/100-M)

Environment size: 769/4092 bytes

Thanks

I think you need to build own image, with correct partitions.

Great...

I'm not that good.

Any chance you (or someone) could look at it if I donate the board?

If it is a F3434 device you are talking about, then you have to unsolder R65 resistor from the back of the PCB to prevent the device from rebooting during the boot process. Don't ask how I know it smile

The discussion might have continued from here.