Listing 1. Booting the Linux Kernel in Flash

RedBoot> fis load linux
RedBoot> exec -b 0x8c001000 -c "console=ttySC1,38400
root=/dev/nfs nfsroot=192.100.17.20:/exports/sh
ip=dhcp mem=32MB" 0x8c210000
Now booting linux kernel:
Base address 0x8c001000 Entry 0x8c210000
Cmdline : console=ttySC1,38400 root=/dev/nfs
nfsroot=192.100.17.20:/exports/sh p
MOUNT_RDONLY  : 0x00000000
Linux version 2.4.10-pre4 (
(gcc version 3.1-1 Hitachi SolutionEngine Setup...done
Calibrating delay loop... 53.04 BogoMIPS
Memory: 31108k/32768k available (914k kernel code,
  1660k reserved, 27k data, 36)
. . .
CPU: SH7707/SH7708/SH7709
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 v1.8
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed
  by Axis Communications AB.
SuperH SCI(F) driver initialized
ttySC0 at 0xfffffe80 is a SCI
ttySC1 at 0xa4000150 is a SCIF
ttySC2 at 0xa4000140 is a SCIF
NS ST-NIC 83902A
Solution Engine: Flash at 0x00000000,
EPROM at 0x00400000
Creating 7 MTD partitions on "Solution Engine FLASH":
0x00000000-0x00020000 : "RedBoot"
0x00020000-0x000c0000 : "linux"
0x00020000-0x00040000 : "RedBoot[backup]"
0x00040000-0x000c0000 : "unallocated space"
0x000c0000-0x003c0000 : "jffs2"
0x003c0000-0x003c1000 : "RedBoot config"
0x003e0000-0x00400000 : "FIS directory"
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 2048
  bind 4096)
Sending DHCP requests ., OK
. . .
VFS: Mounted root (nfs filesystem).
Freeing unused kernel memory: 36k freed
INIT: version 2.78 booting
INIT: Entering runlevel: 3

RedBoot> ping -v -n 2 -h 192.100.17.10
Network PING - from 192.100.17.236 to 192.100.17.10
seq: 1, time: 2 (ticks)
seq: 2, time: 1 (ticks)
seq: 3, time: 1 (ticks)
PING - received 3 of 3 expected