Hi,
I am trying to update U-Boot of OpenRD.
When I use openocd comman, I get bellow response.
sudo openocd -f /usr/local/lib/openocd/board/openrd.cfg
[sudo] password for inproa:
Open On-Chip Debugger 1.0 (2011-12-17-15:30) svn:1454
BUGS? Read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS
$URL: svn://svn.berlios.de/openocd/trunk/src/openocd.c $
Error: No valid jtag interface found (ft2232)
Error: compiled-in jtag interfaces:
Runtime error, file “target/interface/openrd.cfg”, line 1:
The contents of openrd.cfg are
cat target/interface/openrd.cfg
interface ft2232
ft2232_layout sheevaplug
ft2232_vid_pid 0x0403 0x9e90
jtag_khz 3000
Which is as expected, I also verified that the VID and PID are
matching
lsusb
Bus 002 Device 012: ID 0403:9e90 Future Technology Devices
International, Ltd
Bus 002 Device 003: ID 0bda:0181 Realtek Semiconductor Corp.
Bus 002 Device 002: ID 8087:0020
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 05e3:1205 Genesys Logic, Inc. Afilias O
I can see that the old u-boot is working, with log as below
Welcome to minicom 2.4
OPTIONS:
I18n
Compiled on Jan 25 2010,
06:49:09.
Port /dev/
ttyUSB0
Press CTRL-A Z for help on special
keys
_
| / | __ _ _ ____ _____| |
|
| |/| |/ _` | '__\ \ / / _ \ |
|
| | | | (_| | | \ V / __/ |
|
|| ||_,|| _/ ___||_|
| | | | | __ ) ___ ___ | |_
| | | |___| _ \ / _ \ / _ | __|
| || || |) | () | () | |
_/ |____/ _/ ___/ __|
** MARVELL BOARD: OpenRD-Client LE
U-Boot 1.1.4 (Feb 23 2010 - 12:16:44) Marvell version: 3.4.16
U-Boot code: 00600000 → 0067FFF0 BSS: → 006CEE80
Soc: MV88F6281 Rev 3 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz
DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000 size 256MB
DRAM CS[1] base 0x10000000 size 256MB
DRAM Total size 512MB 16bit width
Flash: 0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:512 MB
Checking for BootROM Routine Errors
No. of BootROM routine retries: 8
NAND: Nand ECC error
Running POST…
DDR2 data bus test PASSED
DDR2 address bus test PASSED
UART 1 internal loopback test on baudrate 9600 PASSED
UART 1 internal loopback test on baudrate 19200 PASSED
UART 1 internal loopback test on baudrate 115200 PASSED
Device: 0, Size: 512 MB, Page Size: 2 KB, Block Size: 128 KB
NAND detection test PASSED
Bad Block: 04be0000
Bad Block: 0ca80000
NAND bad-block detection test PASSED
RTC test PASSED
6/6 tests PASSED
POST completed
CPU : Marvell Feroceon (Rev 1)
Streaming disabled
Write allocate disabled
Module 0 is AUDIO
Module 1 is RGMII
USB 0: host mode
PCI 0: PCI Express Root Complex Interface
PEX interface detected Link X1
Net: egiga0 [PRIME], egiga1
Hit any key to stop autoboot: 0
NAND read: device 0 offset 0x100000, size 0x400000
Reading data from 0x4ff800 – 100% complete.
4194304 bytes read: OK
Booting image at 00800000 …
Image Name: Linux-2.6.22.18
Created: 2010-03-03 8:39:54 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2405720 Bytes = 2.3 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum … OK
OK
Starting kernel …
Another issue is, the u-boot does not recognize the USB-Keyboard when
I try to avoid default boot. (By pressing a key during boot process,
when it says “Hit any key to stop autoboot: *”.
Any help is greatly appreciated.
Thanks,
Ash