falso wrote:Well, i've tried two cables (TTL-232R-3V3-AJ and rs232 direct serial cable) and i dont know what's happening with my uboot.
I simple can't press enter CTRL-C. Everything is connected very well, i've tried in two pc's without success..
Please help me.
I also have a bricked WRT350N v.2.1 EU-model. My friend tried to flash it to DD-WRT and bricked it... doh!
I had exactly the same problem, using Vista/windows 7 - the problem disappeared when I used Windows XP. I use one of these adapters:
http://cgi.ebay.com/USB-To-TTL-Converte … 286.c0.m14
I am then able to connect usb-adapter (only Tx TX and 3.3v) to the serial header on the board (motherboard with the RJ45 ports on the right side, from left to right: pin1=3.3v, pin2=Tx, pin3=Tx, pin4= not connected), then start Putty.exe to listen on the com-port, then plug in the power supply, then I am able to use the Enter-key to halt the boot-process.
However, once the I let the boot process continue, I get this, which results in a Kernel Panic.
__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__| ** LOADER **
** MARVELL BOARD: RD-88F5181L-VOIP-GE LE
U-Boot 1.1.1 (Dec 12 2006 - 16:12:22) Marvell version: 1.7.3
DRAM CS[0] base 0x00000000 size 32MB
DRAM Total size 32MB
Flash: mvFlashInit base 0xff800000 devW 1 busW 1
Flash: flashStructGet manu 0xec id 0xe0
Flash: flashStructGet flash is supported.
FLASH: initFlashSecs TOP Sector Type
Flash: flashSecsInit main sector loop 0 - 127
[8192kB@ff800000] Flash: 8 MB
Addresses 20M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (20M - 16M): Done
*** Warning - bad CRC, using default environment
Soc: MV88F5181 Rev 9
CPU: ARM926 (Rev 0) running @ 500Mhz
SysClock = 166Mhz , TClock = 166Mhz
USB 0: host mode
PCI 0: PCI Express Root Complex Interface
PCI 1: Conventional PCI, speed = 33000000
Net: mvEgigaLoad: egiga0 load ok
egiga0 [PRIME]
***************DRIVER INFO*****************
DRIVER BUILD DATA: Jan 9 2007 at 18:25:44
DRIVER VERSION 1.06
*******************************************
dbSign is:65:52:63:4f:6d:4d
mac address in flash is:00:1d:7e:ad:c4:ca
have eRcOmM
Hit ENTER to stop autoboot: 0
copy kernel from 0xff800000 to 0x400000 with size 0x200000
## Booting image at 00400000 ...
Image Name: Linux-2.6.30.5
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 900180 Bytes = 879.1 kB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Linux version 2.6.30.5 (openwrt@debian5) (gcc version 4.1.2) #1 Tue Aug 25 20:43:08 CEST 2009
CPU: Feroceon [41069260] revision 0 (ARMv5TEJ), cr=a0053177
CPU: VIVT data cache, VIVT instruction cache
Machine: Linksys WRT350N v2
Clearing invalid memory bank 0KB@0xffffffff
Clearing invalid memory bank 0KB@0xffffffff
Clearing invalid memory bank 0KB@0xffffffff
Ignoring unrecognised tag 0x00000000
Ignoring unrecognised tag 0x00000000
Ignoring unrecognised tag 0x00000000
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
Kernel command line: root=/dev/mtdblock1 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
NR_IRQS:64
PID hash table entries: 128 (order: 7, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 30036KB available (2156K code, 157K data, 100K init, 0K highmem)
Calibrating delay loop... 332.59 BogoMIPS (lpj=1662976)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 1008 bytes
NET: Registered protocol family 16
Orion ID: MV88F5181L-Rev-A1. TCLK=166666667.
Applying Orion-1/Orion-NAS PCIe config read transaction workaround
PCI: bus0: Fast back to back transfers disabled
pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot
pci 0000:01:00.0: PME# disabled
PCI: bus1: Fast back to back transfers enabled
bio: create slab <bio-0> at 0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
msgmni has been set to 58
alg: No test for lzma (lzma-generic)
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 3) is a 16550A
console [ttyS0] enabled
MV-643xx 10/100/1000 ethernet driver version 1.4
mv643xx_eth smi: probed
net eth0: port 0 with MAC address 00:00:00:00:51:81
physmap platform flash device: 00800000 at f4000000
physmap-flash.0: Found 1 x16 devices at 0x0 in 8-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
physmap-flash.0: Swapping erase regions for broken CFI table.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
cmdlinepart partition parsing not available
RedBoot partition parsing not available
Using physmap partition information
Creating 7 MTD partitions on "physmap-flash.0":
0x000000000000-0x000000100000 : "kernel"
0x000000100000-0x000000750000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=240000, len=510000
0x000000240000-0x000000750000 : "rootfs_data"
0x000000760000-0x0000007a0000 : "lang"
0x0000007a0000-0x0000007c0000 : "nvram"
0x0000007c0000-0x000000800000 : "u-boot"
0x000000750000-0x000000760000 : "eRcOmM_do_not_touch"
0x000000000000-0x000000760000 : "image"
i2c /dev entries driver
TCP westwood registered
NET: Registered protocol family 17
Distributed Switch Architecture driver version 0.1
eth0[0]: detected a Marvell 88E6131 switch
dsa slave smi: probed
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
SQUASHFS error: squashfs_read_data failed to read block 0x135b5e
SQUASHFS error: Unable to read metadata cache entry [135b5e]
SQUASHFS error: Unable to read inode 0x7c51cae
------------[ cut here ]------------
WARNING: at fs/inode.c:674 0xc00939a0()
Modules linked in:
Backtrace:
Function entered at [<c0025310>] from [<c0025770>]
r6:c00939a0 r5:c020da58 r4:000002a2
Function entered at [<c0025758>] from [<c0030a74>]
Function entered at [<c0030a24>] from [<c0030aa4>]
r7:c180ce48 r6:c1d6b800 r5:c1df15a0 r4:c180ce48
Function entered at [<c0030a8c>] from [<c00939a0>]
Function entered at [<c0093958>] from [<c0095adc>]
r4:c180ce48
Function entered at [<c0095abc>] from [<c00cabcc>]
r4:c1d9aec0
Function entered at [<c00ca87c>] from [<c0084bb8>]
r9:00000000 r8:00008000 r7:00000003 r6:c1d6b800 r5:c1d6b800
r4:c1802bbc
Function entered at [<c0084a90>] from [<c00ca774>]
Function entered at [<c00ca754>] from [<c0084588>]
r4:c1c0a320
Function entered at [<c0084530>] from [<c0084638>]
r8:c1d9b000 r7:c0245df4 r6:00000000 r5:c1c6b000 r4:00008000
Function entered at [<c00845f8>] from [<c00984f8>]
r8:00000000 r7:c1d9b000 r6:c1c6b000 r5:00008000 r4:00000000
Function entered at [<c0098384>] from [<c0098ae4>]
Function entered at [<c0098a58>] from [<c0008cbc>]
r7:00008000 r6:c1ce0000 r5:c001f884 r4:c1ce0000
Function entered at [<c0008c18>] from [<c0008f34>]
Function entered at [<c0008ed8>] from [<c0009088>]
r5:c001f83c r4:c02551a8
Function entered at [<c0008f44>] from [<c00087d0>]
r5:c001de38 r4:c0255198
Function entered at [<c0008714>] from [<c00339a0>]
r6:00000000 r5:00000000 r4:00000000
---[ end trace 73aec54a305472db ]---
VFS: Cannot open root device "mtdblock1" or unknown-block(31,1)
Please append a correct "root=" boot option; here are the available partitions:
1f00 1024 mtdblock0 driver: physmap-flash
1f01 6464 mtdblock1 driver: physmap-flash
1f02 5184 mtdblock2 driver: physmap-flash
1f03 256 mtdblock3 driver: physmap-flash
1f04 128 mtdblock4 driver: physmap-flash
1f05 256 mtdblock5 driver: physmap-flash
1f06 64 mtdblock6 driver: physmap-flash
1f07 7552 mtdblock7 driver: physmap-flash
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,1)
**********************************************************************end of log.
I have tried the TFTP-method, but without any luck.
Once I power on holding the reset-button, and let go, the LED flashes continually orange/green, but no replies to ping.
How do I get on from here, please advice.
is it possible to use the built in tools in the U-boot-system?
Once I halt the autoboot-process, and type help, these commands appear:
********************************************************************* begin
__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__| ** LOADER **
** MARVELL BOARD: RD-88F5181L-VOIP-GE LE
U-Boot 1.1.1 (Dec 12 2006 - 16:12:22) Marvell version: 1.7.3
DRAM CS[0] base 0x00000000 size 32MB
DRAM Total size 32MB
Flash: mvFlashInit base 0xff800000 devW 1 busW 1
Flash: flashStructGet manu 0xec id 0xe0
Flash: flashStructGet flash is supported.
FLASH: initFlashSecs TOP Sector Type
Flash: flashSecsInit main sector loop 0 - 127
[8192kB@ff800000] Flash: 8 MB
Addresses 20M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (20M - 16M): Done
*** Warning - bad CRC, using default environment
Soc: MV88F5181 Rev 9
CPU: ARM926 (Rev 0) running @ 500Mhz
SysClock = 166Mhz , TClock = 166Mhz
USB 0: host mode
PCI 0: PCI Express Root Complex Interface
PCI 1: Conventional PCI, speed = 33000000
Net: mvEgigaLoad: egiga0 load ok
egiga0 [PRIME]
***************DRIVER INFO*****************
DRIVER BUILD DATA: Jan 9 2007 at 18:25:44
DRIVER VERSION 1.06
*******************************************
dbSign is:65:52:63:4f:6d:4d
mac address in flash is:00:1d:7e:ad:c4:ca
have eRcOmM
Hit ENTER to stop autoboot: 0
Marvell>> help
? - alias for 'help'
base - print or set address offset
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootext2 dev:boot_part1,boot_part2 addr boot_image linux_dev_name
bootm - boot application image from memory
bootp - boot image via network using BootP/TFTP protocol
bubt - Burn an image on the Boot Flash.
cmp - memory compare
cp - memory copy
cpumap - Display CPU memory mapping settings.
crc32 - checksum calculation
diskboot- boot from IDE device
echo - echo args to console
erase - erase FLASH memory
ext2load- load binary file from a Ext2 filesystem
ext2ls- list files in a directory (default /)
flinfo - print FLASH memory information
go - start application at address 'addr'
help - print online help
ide - IDE sub-system
loop - infinite loop on address range
md - memory display
mm - memory modify (auto-incrementing)
mtest - simple RAM test
mw - memory write (fill)
nm - memory modify (constant address)
pci - list and access PCI Configuraton Space
printenv- print environment variables
protect - enable or disable FLASH write protection
rarpboot- boot image via network using RARP/TFTP protocol
reset - Perform RESET of the CPU
saveenv - save environment variables to persistent storage
scload - Sercomm load binary file from flash image
setenv - set environment variables
tftpboot- boot image via network using TFTP protocol
version - print monitor version
Marvell>>
***************************************'end
I have tried the TFTP-method, but without any luck.
Once I power on holding the reset-button, and let go, the LED flashes continually orange/green, but no replies to ping. Putty displays this:
*************************************** begin
__ __ _ _
| \/ | __ _ _ ____ _____| | |
| |\/| |/ _` | '__\ \ / / _ \ | |
| | | | (_| | | \ V / __/ | |
|_| |_|\__,_|_| \_/ \___|_|_|
_ _ ____ _
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
\___/ |____/ \___/ \___/ \__| ** LOADER **
** MARVELL BOARD: RD-88F5181L-VOIP-GE LE
U-Boot 1.1.1 (Dec 12 2006 - 16:12:22) Marvell version: 1.7.3
DRAM CS[0] base 0x00000000 size 32MB
DRAM Total size 32MB
Flash: mvFlashInit base 0xff800000 devW 1 busW 1
Flash: flashStructGet manu 0xec id 0xe0
Flash: flashStructGet flash is supported.
FLASH: initFlashSecs TOP Sector Type
Flash: flashSecsInit main sector loop 0 - 127
[8192kB@ff800000] Flash: 8 MB
Addresses 20M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (20M - 16M): Done
*** Warning - bad CRC, using default environment
Soc: MV88F5181 Rev 9
CPU: ARM926 (Rev 0) running @ 500Mhz
SysClock = 166Mhz , TClock = 166Mhz
USB 0: host mode
PCI 0: PCI Express Root Complex Interface
PCI 1: Conventional PCI, speed = 33000000
Net: mvEgigaLoad: egiga0 load ok
egiga0 [PRIME]
***************DRIVER INFO*****************
DRIVER BUILD DATA: Jan 9 2007 at 18:25:44
DRIVER VERSION 1.06
*******************************************
dbSign is:65:52:63:4f:6d:4d
mac address in flash is:00:1d:7e:ad:c4:ca
have eRcOmM
if release button,enter download
mvEgigaLoad: egiga0 load ok
egiga0 [PRIME]
mvEgigaInit: egiga0 init - mvBoardPhyAddrGet()=0x0 , priv->port =0x0
ring full
mvEgigaInit: egiga0 complete ok
In download function
mac address:00:1d:7e:ad:c4:ca
Pin:36.39.33.30.38.34.32.30
**********************************************************end
Any ideas?