SMC7004VWBR uClinux Running Procedure

 upload zImage-smc to hardware, address 0x40000 and execute it there 

FIXME: add procedure through JTAG (quickier!?)

to upload, attach level shifter to UART header, 115200 8N1, no flow control
turn unit on, press a key to interrupt boot, 
enter administrative mode with "!" then do: 

===========================================================
 LAN Router BRN Loader V1.06 build Jun 04 2002 16:57:22
                 Broad Net Technology, INC.
===========================================================
INTEL TE28F800B3-B bottom boot 16-bit mode found

Copying boot params.....DONE

Press any key to enter command mode ...               [PRESS ENTER]

[BRN Boot]: !                                         [PRESS !]

Enter Administrator Mode !

[M] Upload to Memory

[BRN Boot]: M                                         [PRESS M]

RAM upload destination: (default:0x040000) : 0x       [PRESS ENTER]
Starting XModem download...(press Enter to abort)                               

transfer through xmodem the file to the unit: on minicom, CTRL+A S

[Y] Go to Memory

[BRN Boot]: Y                                         [PRESS Y]

Go to Memory Address: (default:0x040000) : 0x         [PRESS ENTER]

wait about 10-15 seconds, then you will see

boot no options
Linux version 2.4.19-uc1-cx84200-4 (root@try.openline.com.br) (gcc version 2.95.
3 20010315 (release)(ColdFire patches - 20010318 from http://fiddes.net/coldfire
/)(uClinux XIP and shared lib patches from http://www.snapgear.com/)) #65 Ter Ja
n 27 14:43:04 BRST 2004
Processor: Conexant CX84200 revision 1
Architecture: cx84200
On node 0 totalpages: 2048
zone(0): 0 pages.
zone(1): 2048 pages.
zone(2): 0 pages.
Kernel command line: ro console=ttyS0 single root=/dev/ram0
Calibrating delay loop... 6.08 BogoMIPS                  < is this right?
Memory: 8MB = 8MB total
Memory: 6200KB available (1045K code, 380K data, 52K init)
Dentry cache hash table entries: 1024 (order: 1, 8192 bytes)
Inode cache hash table entries: 512 (order: 0, 4096 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: 2048 (order: 1, 8192 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
Starting kswapd
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
RAMDISK driver initialized: 16 RAM disks of 1024K size 1024 blocksize
eth0: a0:98:76:54:32:10
cx84200 flash device: 100000 at 20000000
Creating 4 MTD partitions on "CX84200":     < this is hardcoded on kernel
0x00000000-0x00030000 : "bootloader"
0x00030000-0x00060000 : "user_ro_fs"
0x00060000-0x000f0000 : "kernel"
0x000f0000-0x00100000 : "user_ro_fs2"
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 512 bind 512)
ip_conntrack (64 buckets, 512 max)
ip_tables: (C) 2000-2002 Netfilter core team
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 378K
VFS: Mounted root (ext2 filesystem) readonly.
Freeing init memory: 52K
#                                       <--- we boot'ed in single user mode
# ls
www             var             usr             tmp             sbin
proc            mnt             etc             dev             bin
# mount -t proc proc /proc
# cat /proc/cpuinfo
Processor       : Conexant CX84200 rev 1 (v3l)
BogoMIPS        : 6.08
Hardware        : cx84200
Revision        : 0000
Serial          : 0000000000000000
#

YOU'RE DONE FOR NOW!

Reported on the list on 28/Jan/2004.


$Id: flashlinux.html,v 1.2 2004/02/19 20:57:24 bcabral Exp $