2007年8月21日 星期二

WIMAP bugfix issue

Mother Board:

1.UART Jumpper J11 pin definition mismatch. --- J11 pin match manully

2. RST_OUT_B problem. ---Remove R66 of MB

3. mount FB0-6

4. Move R220 to R216.( Change CH7013 I2C address to 111 0101 ) .

Daughter Board:

1. Y1 26 OSC replace

2007年6月11日 星期一

B2D PureKGB default setting and tftp problem

B2D pureKGB is desktop linux distribution. The /etc/hosts.deny will deny any connection from outside. Please modify the setting or add your service to /etc/hosts.allow

2007年4月20日 星期五

OMAP5912OSK booting message

U-Boot 1.1.6 (Jan 11 2007 - 16:31:43)

CPU: OMAP162123 at 96.0 MHz (DPLL1=96.0 MHz)
Board: OSK5912
DRAM: 32 MB
Flash: 32 MB
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0
OMAP5912 OSK # printenv
bootdelay=3
baudrate=115200
bootfile="uImage"
ethaddr=23:23:23:23:23:23
filesize=d3c78
fileaddr=10000000
netmask=255.255.254.0
ipaddr=156.117.97.156
serverip=156.117.97.139
bootargs=console=ttyS0,115200n8 noinitrd ip=none root=/dev/mtdblock3 rootfstype=
jffs2 init=/linuxrc
bootcmd=bootm 0x00040000
stdin=serial
stdout=serial
stderr=serial

Environment size: 339/131068 bytes

OMAP5912 OSK # boot
## Booting image at 00040000 ...
Image Name: Linux-2.4.20_mvl31-omap5912_osk
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 868464 Bytes = 848.1 kB
Load Address: 10008000
Entry Point: 10008000
Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux........................................................... d
one, booting the kernel.
Linux version 2.4.20_mvl31-omap5912_osk (root@linux) (gc
c version 3.3.1 (MontaVista 3.3.1-3.0.10.0300532 2003-12-24)) #21 Wed Apr 26 12:
57:41 CEST 2006
CPU: ARM926EJ-Sid(wb) [41069263] revision 3 (ARMv?(8))
CPU: D undefined 14 cache
CPU: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
Machine: OMAP5912 OSK/OMAP1610
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0,115200n8 noinitrd ip=none root=/dev/mtdblock3
rootfstype=jffs2 init=/linuxrc
Calibrating delay loop... 95.84 BogoMIPS
Memory: 32MB = 32MB total
Memory: 22224KB available (1594K code, 295K data, 68K init)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
LSP Revision 33
ikconfig 0.5 with /proc/ikconfig
Starting kswapd
Disabling the Out Of Memory Killer
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
JFFS2 version 2.1. (C) 2001, 2002 Red Hat, Inc., designed by Axis Communications
AB.
i2c-core.o: i2c core module version 2.6.2 (20011118)
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with no serial options enabled
ttyS00 at 0xfffb0000 (irq = 46) is a OMAP UART
rtc: RTC power up reset detected.
rtc: Enabling RTC.
Real Time Clock Driver v1.0
watchdog: TI OMAP Watchdog Timer: timer margin 19 sec
smc9194.c:v0.15 12/15/00 by Erik Stahlman (erik@vt.edu)
eth0: Invalid ethernet MAC address. Please set using ifconfig
eth0: SMC91C94/91C96 (rev 9) at 0xe8000000 IRQ:160 INTF:TP MEM:6144b ADDR: 23:23
:23:23:23:23
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
OMAP1610 I2C INFO: Driver ver. 1.1
TPS65010 driver successfully loaded
OMAP1610 audio support initialized
cfi_cmdset_0001: Erase suspend on write enabled
Using buffer write method
OMAP flash: CFI device at 0x00000000, 16MiB, 16-bit
cfi_cmdset_0001: Erase suspend on write enabled
Using buffer write method
OMAP flash: CFI device at 0x01000000, 16MiB, 16-bit
Concatenating MTD devices:
(0): ""
(1): ""
into device "omap-flash"
No RedBoot partition table detected in omap-flash
OMAP flash: using static partition definition
Creating 5 MTD partitions on "omap-flash":
0x00000000-0x00020000 : "BootLoader"
0x00020000-0x00040000 : "Params"
0x00040000-0x00240000 : "Kernel"
0x00240000-0x01000000 : "Flash0 FileSys"
0x01000000-0x02000000 : "Flash1 FileSys"
Linux Kernel Card Services 3.1.22
options: none
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
Empty flash at 0x0000fffc ends at 0x00010000
Empty flash at 0x0002fffc ends at 0x00030000
Empty flash at 0x0004ffc8 ends at 0x00050000
Empty flash at 0x0006fffc ends at 0x00070000
Empty flash at 0x0008fffc ends at 0x00090000
Empty flash at 0x000efffc ends at 0x000f0000
Empty flash at 0x0012fffc ends at 0x00130000
Empty flash at 0x0014ff64 ends at 0x00150000
Empty flash at 0x0016fffc ends at 0x00170000
Empty flash at 0x0018fffc ends at 0x00190000
Empty flash at 0x001afffc ends at 0x001b0000
Empty flash at 0x001cfffc ends at 0x001d0000
Empty flash at 0x001efffc ends at 0x001f0000
Empty flash at 0x0020ff40 ends at 0x00210000
Empty flash at 0x0022ff40 ends at 0x00230000
Empty flash at 0x0024fffc ends at 0x00250000
Empty flash at 0x0026fffc ends at 0x00270000
Empty flash at 0x0028fffc ends at 0x00290000
Empty flash at 0x002afffc ends at 0x002b0000
Empty flash at 0x002cfffc ends at 0x002d0000
Empty flash at 0x002efffc ends at 0x002f0000
Empty flash at 0x0030fffc ends at 0x00310000
Empty flash at 0x0032fffc ends at 0x00330000
Empty flash at 0x0034fffc ends at 0x00350000
Empty flash at 0x0036fffc ends at 0x00370000
Empty flash at 0x0038fffc ends at 0x00390000
Empty flash at 0x003afffc ends at 0x003b0000
Empty flash at 0x003cfffc ends at 0x003d0000
Empty flash at 0x003efffc ends at 0x003f0000
Empty flash at 0x0040fffc ends at 0x00410000
Empty flash at 0x0042fffc ends at 0x00430000
Empty flash at 0x0044fffc ends at 0x00450000
VFS: Mounted root (jffs2 filesystem).
Mounted devfs on /dev
Freeing init memory: 68K

Welcome to MontaVista Linux Preview Kit

Starting system...
mounting /proc: done.
brining up loopback interface: done.
Mounting /tmp: done.
insmod: /lib/modules/2.4.20_mvl31-omap5912_osk: No such file or directory
insmod: /lib/modules: No such file or directory
insmod: omap1510-pci-pool.o: no module by that name found
insmod: /lib/modules/2.4.20_mvl31-omap5912_osk: No such file or directory
insmod: /lib/modules: No such file or directory
insmod: usb-ohci.o: no module by that name found
insmod: /lib/modules/2.4.20_mvl31-omap5912_osk: No such file or directory
insmod: /lib/modules: No such file or directory
insmod: usb-ohci-omap1510.o: no module by that name found
Starting syslogd: done.
Starting klogd: done.
Starting inetd: done.
System started.

Please press Enter to activate this console.

(none) login: root


Philips Georgia Flash Filesystem Test environment

Don't panic.
Have fun!!



BusyBox v1.1.0-pre1 (2005.12.16-14:33+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

Executing ~/.profile
Executing /etc/setup.env
Calling environment test setup of user [root] ...
DRIVER_PATH=
DRIVER=ga_linuxdrv_omap5912
SCAN_TYPE=1

IP_ADDR=192.168.1.20
SRV_IP_ADDR=192.168.1.1

PING_CNT=3

IPERF_ITV=1
IPERF_CL_TIME=60
Done.
Setting up test environment scripts.

Commands:
drvrcv='/opt/grg_test/drvrcv.sh'
drvlp='insmod ${DRIVER_PATH}/${DRIVER}.o pu8MACAddr=${MAC_ADDR} gu8ScanType=1'
drvl='insmod ${DRIVER_PATH}/${DRIVER}.o pu8MACAddr=${MAC_ADDR}'
drvul='rmmod ${DRIVER}'
drvup='/opt/grg_test/drvup.sh'
drvping='/opt/grg_test/drvping.sh'
drvla='insmod ${DRIVER_PATH}/${DRIVER}.o pu8MACAddr=${MAC_ADDR} gu8ScanType=0'
drvdown='/opt/grg_test/drvdown.sh'
drvsnd='/opt/grg_test/drvsnd.sh'
drvsnd_d='/opt/grg_test/drvsnd_d.sh'

Tests:
tst1='drvup; drvping -c 1'
tst2='drvup; drvsnd -- -t 6000'
tst3='while :; do drvup; drvsnd -- -t 60; drvdown; done'
#
#
#
#
#

2007年1月23日 星期二

OSK5912 u-boot environmemt variable for linux 2.6.18

bootdelay=3
baudrate=115200
bootfile="uImage"
ethaddr=00:00:00:12:34:56
filesize=449f14
fileaddr=10000000
netmask=255.255.254.0
ipaddr=156.117.97.156
serverip=156.117.97.139
bootcmd=bootm 0x00040000
stdin=serial
stdout=serial
stderr=serial
bootargs=console=ttyS0,115200n8 noinitrd ip=none root=/dev/mtdblock3 rootfstype=
cramfs


Use CRAMFS.

OSK5912 u-boot environmemt variable for linux 2.4.20

bootdelay=3
baudrate=115200
bootfile="uImage"
ethaddr=00:00:00:12:34:56
filesize=449f14
fileaddr=10000000
netmask=255.255.254.0
ipaddr=156.117.97.156
serverip=156.117.97.139
bootargs=console=ttyS0,115200n8 noinitrd ip=none root=/dev/mtdblock3 rootfstype=jffs
2 init=/linuxrc
bootcmd=bootm 0x00040000
stdin=serial
stdout=serial
stderr=serial


Use JFFS2 file system.

2007年1月22日 星期一

OMAP5912 OSK5912 and Multi-ICE

The following steps will help multi-ice connect to OSK5912.

1. Edit configuration irlength.arm of Multi-ICE server , add OMAPBYPASS and LEAD3 item
--------------------------------------------------------------------------------
; Known DSPs and other 3rd party devices
OMAPBYPASS=8
LEAD3=38
--------------------------------------------------------------------------------

2.Edit config file for OMAP5912
--------------------------------------------------------------------------------
[Title]
OMAP5912
[tap 0]
OMAPBYPASS
[tap 1]
ARM926EJ-S
[tap 2]
LEAD3
[TAPINFO]
YES
; JTAG clock rate set to 10MHz, with adaptive clocking turned ON
[Timing]
Low=0
High=0
Adaptive=ON
[Reset]
nTRST
nSRST
--------------------------------------------------------------------------------

3. Start Multi-ICE server and load configure file.
4. The following command could execute at CLI interface of AXD or realview debugger.
And these command will configure clock of OMAP5912 and initial SDRAM and EMIF for OSK5912 (OMAP5912 starter kit).
--------------------------------------------------------------------------------
smem 0xfffecb04,0xffffffff,32
smem 0xfffe0004,0xffffffff,32
smem 0xfffece04,0x00000400,32
smem 0xfffece08,0x00000886,32
smem 0xfffece24,0x00000015,32
smem 0xfffece14,0x1,16
smem 0xfffece18,0x0,16


smem 0xfffece00,0x3000,16
smem 0xfffecf00,0x2830,16
smem 0xfffec808,0x000000f5,32
smem 0xfffec808,0x000000a0,32
smem 0xfffeb048,0x0000aaaa,32
smem 0xfffeb048,0x00005555,32


smem 0xfffecc80,0x7,32
smem 0xfffecc20,0x001200f6,32
smem 0xfffecc84,0x7,32
smem 0xfffecc84,0x0,32
smem 0xfffecc84,0x1,32
smem 0xfffecc84,0x2,32
smem 0xfffecc70,0x33,32

smem 0xfffecc78,0x0,32
smem 0xfffeccc0,0x00000006,32
smem 0xfffecccc,0x00000006,32
smem 0xfffecc68,0x00000006,32

smem 0xfffecc10,0x002130b0,32
smem 0xfffecc14,0x8180fff3,32
smem 0xfffecc1c,0x30003361,32
--------------------------------------------------------------------------------

4. Total restore step

4-1. Use jlink erase flash with addition reset and halt in project setting.
4-2. connect board with multi-ice and use previous initial script to initial system.
4-3. use "download to memory" to download u-boot binary image to 0x10800000
4-4. set pc counter to 0x10800000 and go.
4-5. you should see message output at serial port at 115200 bps baudrate.
4-6. use ram-version u-boot to un-protect the flash and erase the flash. (protect off all , erase 0x0 0x3FFFF)
4-7. halt the system with AXD and use "download to memory" to download u-boot binary image to 0x10800000 again.
4-8. program the u-boot into flash with command " cp.b 0x10800000 0x0 0x2000".