User`s manual

Getting Started With Linux on the LPC3250 OEM Board Page 11
Copyright 2009 © Embedded Artists AB Rev A
NAND write: device 0 offset 0x500000, size 0x400000
4194304 bytes written: OK
2. When the root file system has been stored in NAND Flash it is time to load and boot the Linux
kernel. A variable named
mtdboot
is available in the default environment. This variable will
setup the boot arguments to use a root file system in NAND flash (in an MTD partition), load
the kernel and then boot it. The content of the
mtdboot
variable is explained in section
4.3.5. Run the command:
uboot> run mtdboot
3. There will be a lot of output in the terminal application when the kernel boots. Only a portion
has been included below.
## Booting kernel from Legacy Image at 80100000 ...
Image Name: Linux-2.6.27.8
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1602272 Bytes = 1.5 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing
Linux...........................................................................
done, booting the kernel.
ÿLinux version 2.6.27.8 (user@bagvapp) (gcc version 3.4.5) #1 PREEMPT Mon Sep 28
09:51:45 CEST 2009
CPU: ARM926EJ-S [41069264] revision 4 (ARMv5TEJ), cr=00053177
Machine: Embedded Artists LPC3250 OEM board with the LPC3250 Microcontroller
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIVT write-back cache
CPU0: I cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
CPU0: D cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
Kernel command line: root=/dev/mtdblock3 rw rootfstype=jffs2 ip=192.168.5.234
ea_ethaddr=00:1a:f1:00:00:00 console=ttyS0,115200n8
...
mmc0: host does not support reading read-only switch. assuming write-enable.
mmc0: new SD card at address e624
mmcblk0: mmc0:e624 SU256 247040KiB
mmcblk0: p1
IP-Config: Guessing netmask 255.255.255.0
IP-Config: Complete:
device=eth0, addr=192.168.5.234, mask=255.255.255.0, gw=255.255.255.255,
host=192.168.5.234, domain=, nis-domain=(none),
bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
VFS: Mounted root (jffs2 filesystem).
Freeing init memory: 100K
init started: BusyBox v1.11.2 ()
starting pid 296, tty '': '/etc/rc.d/rcS'
Mounting /proc and /sys
Setting the hostname to nxp
Mounting filesystems
scsi 0:0:0:0: Direct-Access SanDisk Cruzer 8.02 PQ: 0 ANSI: 0 CCS
sd 0:0:0:0: [sda] 15704063 512-byte hardware sectors (8040 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] 15704063 512-byte hardware sectors (8040 MB)