[uClinux-dev] [ANNOUNCE] uClinux support for Motorola 5282 ColdFire processor

Greg Ungerer gerg at snapgear.com
Thu Mar 20 19:30:54 EST 2003


Hi All,

I would like to announce that uClinux now supports the new
Motorola 5282 processor. Initial support is for the Motorola
M5282EVB evaluation board.

Currently code support is only in the uClinux-2.4.x source base,
and only available from the uClinux CVS at http://cvs.uclinux.org.

I have a pre-compiled binary for download if you just want
to take it for a spin without compiling it yourself:

   http://www.uclinux.org/ports/coldfire/binary.html

The code port includes support for the serial ports and the
FEC ethernet controller. Currently there is no uClinux support
for the internal flash, CAN controller, or other internal
peripherals. Also the processor cache is not yet enabled.

Regards
Greg





Linux version 2.4.20-uc0 (gerg at goober) (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/)) #86 Fri Mar 21 10:00:21 EST 2003

uClinux/COLDFIRE(m5282)
COLDFIRE port done by Greg Ungerer, gerg at snapgear.com
Flat model support (C) 1998,1999 Kenneth Albanowski, D. Jeff Dionne
On node 0 totalpages: 2048
zone(0): 0 pages.
zone(1): 2048 pages.
zone(2): 0 pages.
Kernel command line:
Calibrating delay loop... 7.21 BogoMIPS
Memory available: 6616k/8192k RAM, 0k/0k ROM (615k kernel code, 199k data)
kmem_create: Forcing size word alignment - vm_area_struct
kmem_create: Forcing size word alignment - mm_struct
kmem_create: Forcing size word alignment - filp
Dentry cache hash table entries: 1024 (order: 1, 8192 bytes)
Inode cache hash table entries: 512 (order: 0, 4096 bytes)
kmem_create: Forcing size word alignment - inode_cache
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
kmem_create: Forcing size word alignment - bdev_cache
kmem_create: Forcing size word alignment - cdev_cache
kmem_create: Forcing size word alignment - kiobuf
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
kmem_create: Forcing size word alignment - sock
Initializing RT netlink socket
Starting kswapd
kmem_create: Forcing size word alignment - file_lock_cache
ColdFire internal UART serial driver version 1.00
ttyS0 at 0x40000200 (irq = 77) is a builtin ColdFire UART
ttyS1 at 0x40000240 (irq = 78) is a builtin ColdFire UART
kmem_create: Forcing size word alignment - blkdev_requests
fec.c: Probe number 0 with 0x0000
eth0: FEC ENET Version 0.2, 00:cf:52:82:cf:01
FEC: No PHY device found.
SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).
CSLIP: code copyright 1989 Regents of the University of California.
Blkmem copyright 1998,1999 D. Jeff Dionne
Blkmem copyright 1998 Kenneth Albanowski
Blkmem 1 disk images:
0: DBF4C-16FB4B [VIRTUAL DBF4C-16FB4B] (RO)
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
PPP generic driver version 2.4.2
PPP MPPE compression module registered
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
kmem_create: Forcing size word alignment - ip_dst_cache
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 512 bind 512)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (romfs filesystem) readonly.
Freeing unused kernel memory: 24k freed (0xc4000 - 0xc9000)
Shell invoked to run file: /etc/rc
Command: hostname uClinux
Command: /bin/expand /etc/ramfs.img /dev/ram1
Command: mount -t proc proc /proc
Command: mount -t ext2 /dev/ram1 /var
Command: mkdir /var/tmp
Command: mkdir /var/log
Command: mkdir /var/run
Command: mkdir /var/lock
Command: ifconfig lo 127.0.0.1
Command: route add -net 127.0.0.0 netmask 255.0.0.0 lo
Command: dhcpcd -p -a eth0 &
[11]
Command: cat /etc/motd
Welcome to
           ____ _  _
          /  __| ||_|
     _   _| |  | | _ ____  _   _  _  _
    | | | | |  | || |  _ \| | | |\ \/ /
    | |_| | |__| || | | | | |_| |/    \
    |  ___\____|_||_|_| |_|\____|\_/\_/
    | |
    |_|

For further information check:
http://www.uclinux.org/

Execution Finished, Exiting

Sash command shell (version 1.1.1)
/> cat /proc/meminfo
         total:    used:    free:  shared: buffers:  cached:
Mem:   6799360   892928  5906432        0   155648   266240
Swap:        0        0        0
MemTotal:         6640 kB
MemFree:          5768 kB
MemShared:           0 kB
Buffers:           152 kB
Cached:            260 kB
SwapCached:          0 kB
Active:            156 kB
Inactive:          256 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:         6640 kB
LowFree:          5768 kB
SwapTotal:           0 kB
SwapFree:            0 kB
/>
/> ifconfig
eth0      Link encap:Ethernet  HWaddr 00:CF:52:82:CF:01
           inet addr:192.168.160.74  Bcast:192.168.160.255 
Mask:255.255.255.0
           UP BROADCAST NOTRAILERS RUNNING  MTU:1500  Metric:1
           RX packets:29 errors:29 dropped:0 overruns:0 frame:29
           TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:100
           Base address:0x1000

lo        Link encap:Local Loopback
           inet addr:127.0.0.1  Mask:255.0.0.0
           UP LOOPBACK RUNNING  MTU:16436  Metric:1
           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0

/>
/> ps
   PID PORT STAT  SIZE SHARED %CPU COMMAND
     1      S      21K     0K  0.0 init
     2      S       0K     0K  0.0 keventd
     3      R       0K     0K  0.0 ksoftirqd_CPU0
     4      S       0K     0K  0.0 kswapd
     5      S       0K     0K  0.0 bdflush
     6      S       0K     0K  0.0 kupdated
    11      S      21K     0K  0.0 dhcpcd -p -a eth0
    12   S0 R      24K     0K  0.0 /bin/sh
    13      S      14K     0K  0.0 /bin/inetd
    14      S      37K     0K  0.0 /bin/boa
/>
/>




------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Wizard        EMAIL:  gerg at snapgear.com
SnapGear Pty Ltd                               PHONE:    +61 7 3435 2888
825 Stanley St,                                  FAX:    +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia              WEB:   www.SnapGear.com




More information about the uClinux-dev mailing list