######################
nfs挂载启动文件系统
######################
在vivi菜单中,输入【v】下载u-boot到nandflash
查看主机信息
[root@localhost ~]#
ifconfig
-
eth0 Link encap:Ethernet HWaddr 00:0C:29:C1:59:FF
-
inet addr:10.50.80.207 Bcast:10.50.81.255 Mask:255.255.254.0
-
inet6 addr: 2001:da8:4002:113:20c:29ff:fec1:59ff/64 Scope:Global
-
inet6 addr: fe80::20c:29ff:fec1:59ff/64 Scope:Link
-
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
-
RX packets:31149 errors:1 dropped:53 overruns:0 frame:0
-
TX packets:5296 errors:0 dropped:0 overruns:0 carrier:0
-
collisions:0 txqueuelen:1000
-
RX bytes:2671799 (2.5 MiB) TX bytes:7185763 (6.8 MiB)
-
Interrupt:18 Base address:0x2000
-
-
lo Link encap:Local Loopback
-
inet addr:127.0.0.1 Mask:255.0.0.0
-
inet6 addr: ::1/128 Scope:Host
-
UP LOOPBACK RUNNING MTU:16436 Metric:1
-
RX packets:2184 errors:0 dropped:0 overruns:0 frame:0
-
TX packets:2184 errors:0 dropped:0 overruns:0 carrier:0
-
collisions:0 txqueuelen:0
-
RX bytes:130736 (127.6 KiB) TX bytes:130736 (127.6 KiB)
挂载文件系统
[root@localhost ~]#
mount -t nfs localhost:/opt/mymini2440/rootfs /mnt/
[root@localhost ~]#
ls /mnt/
-
bin boot dev etc home lib linuxrc mnt proc root sbin sys tmp usr var
从nandflash启动,u-boot参数设置如启动信息所示:
-
Enter your selection: I2C: ready
-
DRAM: 64 MB
-
Flash: 2 MB
-
NAND: 256 MiB
-
*** Warning - bad CRC or NAND, using default environment
-
-
Video: 240x320x16 20kHz 62Hz
-
In: serial
-
Out: serial
-
Err: serial
-
Net: dm9000
-
U-Boot 2009.11 (Jul 08 2014 - 17:12:32)
-
modified by fxc
-
enjoy
-
Hit any key to stop autoboot: 0
-
[u-boot]# printenv
-
bootargs=noinitrd root=/dev/nfs rw nfsroot=10.50.80.207:/opt/mymini2440/rootfs ip=10.50.80.1:10.50.80.207::255.255.254.0 console=ttySAC0,115200 init=/linuxrc mem=64M
-
bootcmd=tftp 0x31000000 uImage_X35;bootm 0x31000000
-
bootdelay=1
-
baudrate=115200
-
ethaddr=08:08:11:18:12:27
-
ipaddr=10.50.80.1
-
serverip=10.50.80.207
-
gatewayip=10.50.80.207
-
netmask=255.255.254.0
-
tekkaman=bmp d 70000
-
stdin=serial
-
stdout=serial
-
stderr=serial
-
ethact=dm9000
-
-
Environment size: 434/131068 bytes
-
[u-boot]#
交叉网线链接主机和开发板并重启开发板
-
I2C: ready
-
DRAM: 64 MB
-
Flash: 2 MB
-
NAND: 256 MiB
-
*** Warning - bad CRC or NAND, using default environment
-
-
Video: 240x320x16 20kHz 62Hz
-
In: serial
-
Out: serial
-
Err: serial
-
Net: dm9000
-
U-Boot 2009.11 (Jul 08 2014 - 17:12:32)
-
modified by fxc
-
enjoy
-
Hit any key to stop autoboot: 0
-
dm9000 i/o: 0x20000300, id: 0x90000a46
-
DM9000: running in 16 bit mode
-
MAC: 08:08:11:18:12:27
-
operating at 100M full duplex mode
-
Using dm9000 device
-
TFTP from server 10.50.80.207; our IP address is 10.50.80.1
-
Filename 'uImage_X35'.
-
Load address: 0x31000000
-
Loading: T #################################################################
-
#################################################################
-
########################
-
done
-
Bytes transferred = 2255048 (2268c8 hex)
-
## Booting kernel from Legacy Image at 31000000 ...
-
Image Name: mini2440_linux
-
Created: 2014-07-08 15:02:40 UTC
-
Image Type: ARM Linux Kernel Image (uncompressed)
-
Data Size: 2254984 Bytes = 2.2 MB
-
Load Address: 31000000
-
Entry Point: 31000040
-
Verifying Checksum ... OK
-
XIP Kernel Image ... OK
-
OK
-
-
Starting kernel ...
-
-
Uncompressing Linux................................................................................................................................................. done, booting the kernel.
-
Linux version 2.6.32-FriendlyARM (root@localhost.localdomain) (gcc version 4.4.3 (ctng-1.6.1) ) #5 Tue Jul 8 22:29:19 CST 2014
-
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
-
CPU: VIVT data cache, VIVT instruction cache
-
Machine: FriendlyARM MINI2440
-
Memory policy: ECC disabled, Data cache writeback
-
CPU S3C2440A (id 0x32440001)
-
S3C24XX Clocks, (c) 2004 Simtec Electronics
-
S3C244X: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 MHz
-
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
-
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
-
Kernel command line: noinitrd root=/dev/nfs rw nfsroot=10.50.80.207:/opt/mymini2440/rootfs ip=10.50.80.1:10.50.80.207::255.255.254.0 console=ttySAC0,115200 init=/linuxrc mem=64M
-
PID hash table entries: 256 (order: -2, 1024 bytes)
-
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
-
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
-
Memory: 64MB = 64MB total
-
Memory: 60108KB available (4172K code, 449K data, 116K init, 0K highmem)
-
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
-
Hierarchical RCU implementation.
-
NR_IRQS:85
-
irq: clearing subpending status 00000002
-
Console: colour dummy device 80x30
-
console [ttySAC0] enabled
-
Calibrating delay loop... 201.93 BogoMIPS (lpj=504832)
-
Mount-cache hash table entries: 512
-
CPU: Testing write buffer coherency: ok
-
NET: Registered protocol family 16
-
S3C2440: Initialising architecture
-
S3C2440: IRQ Support
-
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
-
DMA channel 0 at c4808000, irq 33
-
DMA channel 1 at c4808040, irq 34
-
DMA channel 2 at c4808080, irq 35
-
DMA channel 3 at c48080c0, irq 36
-
S3C244X: Clock Support, DVS off
-
bio: create slab <bio-0> at 0
-
SCSI subsystem initialized
-
usbcore: registered new interface driver usbfs
-
usbcore: registered new interface driver hub
-
usbcore: registered new device driver usb
-
s3c-i2c s3c2440-i2c: slave address 0x10
-
s3c-i2c s3c2440-i2c: bus frequency set to 98 KHz
-
s3c-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
-
NET: Registered protocol family 2
-
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
-
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
-
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
-
TCP: Hash tables configured (established 2048 bind 2048)
-
TCP reno registered
-
NET: Registered protocol family 1
-
RPC: Registered udp transport module.
-
RPC: Registered tcp transport module.
-
RPC: Registered tcp NFSv4.1 backchannel transport module.
-
NetWinder Floating Point Emulator V0.97 (double precision)
-
yaffs Jul 8 2014 22:21:53 Installing.
-
msgmni has been set to 117
-
alg: No test for stdrng (krng)
-
io scheduler noop registered (default)
-
Console: switching to colour frame buffer device 30x20
-
fb0: s3c2410fb frame buffer device
-
s3c2440-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
-
s3c2440-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
-
s3c2440-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
-
loop: module loaded
-
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
-
s3c24xx-nand s3c2440-nand: Tacls=3, 29ns Twrph0=7 69ns, Twrph1=3 29ns
-
s3c24xx-nand s3c2440-nand: NAND soft ECC
-
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
-
Scanning device for bad blocks
-
Bad eraseblock 250 at 0x000001f40000
-
Creating 5 MTD partitions on "NAND 256MiB 3,3V 8-bit":
-
0x000000000000-0x000000040000 : "boot"
-
0x000000040000-0x000000060000 : "param"
-
0x000000060000-0x000000560000 : "Kernel"
-
0x000000560000-0x000040560000 : "root"
-
mtd: partition "root" extends beyond the end of device "NAND 256MiB 3,3V 8-bit" -- size truncated to 0xfaa0000
-
0x000000000000-0x000040000000 : "nand"
-
mtd: partition "nand" extends beyond the end of device "NAND 256MiB 3,3V 8-bit" -- size truncated to 0x10000000
-
dm9000 Ethernet Driver, V1.31
-
eth0: dm9000e at c4810300,c4814304 IRQ 51 MAC: 08:90:90:90:90:90 (chip)
-
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
-
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
-
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
-
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
-
usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
-
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
-
usb usb1: Product: S3C24XX OHCI
-
usb usb1: Manufacturer: Linux 2.6.32-FriendlyARM ohci_hcd
-
usb usb1: SerialNumber: s3c24xx
-
usb usb1: configuration #1 chosen from 1 choice
-
hub 1-0:1.0: USB hub found
-
hub 1-0:1.0: 2 ports detected
-
Initializing USB Mass Storage driver...
-
usbcore: registered new interface driver usb-storage
-
USB Mass Storage support registered.
-
usbcore: registered new interface driver ums-alauda
-
usbcore: registered new interface driver ums-cypress
-
usbcore: registered new interface driver ums-datafab
-
usbcore: registered new interface driver ums-freecom
-
usbcore: registered new interface driver ums-isd200
-
usbcore: registered new interface driver ums-jumpshot
-
usbcore: registered new interface driver ums-karma
-
usbcore: registered new interface driver ums-onetouch
-
usbcore: registered new interface driver ums-sddr09
-
usbcore: registered new interface driver ums-sddr55
-
usbcore: registered new interface driver ums-usbat
-
usbcore: registered new interface driver usbserial
-
USB Serial support registered for generic
-
usbcore: registered new interface driver usbserial_generic
-
usbserial: USB Serial Driver core
-
USB Serial support registered for aircable
-
usbcore: registered new interface driver aircable
-
USB Serial support registered for ark3116
-
usbcore: registered new interface driver ark3116
-
USB Serial support registered for Belkin / Peracom / GoHubs USB Serial Adapter
-
usbcore: registered new interface driver belkin
-
belkin_sa: v1.2:USB Belkin Serial converter driver
-
USB Serial support registered for ch341-uart
-
usbcore: registered new interface driver ch341
-
USB Serial support registered for cp210x
-
usbcore: registered new interface driver cp210x
-
cp210x: v0.09:Silicon Labs CP210x RS232 serial adaptor driver
-
USB Serial support registered for Reiner SCT Cyberjack USB card reader
-
usbcore: registered new interface driver cyberjack
-
cyberjack: v1.01 Matthias Bruestle
-
cyberjack: REINER SCT cyberJack pinpad/e-com USB Chipcard Reader Driver
-
USB Serial support registered for DeLorme Earthmate USB
-
USB Serial support registered for HID->COM RS232 Adapter
-
USB Serial support registered for Nokia CA-42 V2 Adapter
-
usbcore: registered new interface driver cypress
-
cypress_m8: v1.09:Cypress USB to Serial Driver
-
USB Serial support registered for Digi 2 port USB adapter
-
USB Serial support registered for Digi 4 port USB adapter
-
usbcore: registered new interface driver digi_acceleport
-
digi_acceleport: v1.80.1.2:Digi AccelePort USB-2/USB-4 Serial Converter driver
-
USB Serial support registered for Edgeport 2 port adapter
-
USB Serial support registered for Edgeport 4 port adapter
-
USB Serial support registered for Edgeport 8 port adapter
-
USB Serial support registered for EPiC device
-
usbcore: registered new interface driver io_edgeport
-
io_edgeport: v2.7:Edgeport USB Serial Driver
-
USB Serial support registered for Edgeport TI 1 port adapter
-
USB Serial support registered for Edgeport TI 2 port adapter
-
usbcore: registered new interface driver io_ti
-
io_ti: v0.7mode043006:Edgeport USB Serial Driver
-
USB Serial support registered for empeg
-
usbcore: registered new interface driver empeg
-
empeg: v1.2:USB Empeg Mark I/II Driver
-
USB Serial support registered for FTDI USB Serial Device
-
usbcore: registered new interface driver ftdi_sio
-
ftdi_sio: v1.5.0:USB FTDI Serial Converters Driver
-
USB Serial support registered for funsoft
-
usbcore: registered new interface driver funsoft
-
USB Serial support registered for Garmin GPS usb/tty
-
usbcore: registered new interface driver garmin_gps
-
garmin_gps: v0.33:garmin gps driver
-
USB Serial support registered for hp4X
-
usbcore: registered new interface driver hp4X
-
hp4x: v1.00:HP4x (48/49) Generic Serial driver
-
USB Serial support registered for PocketPC PDA
-
usbcore: registered new interface driver ipaq
-
ipaq: v0.5:USB PocketPC PDA driver
-
USB Serial support registered for IPWireless converter
-
usbcore: registered new interface driver ipwtty
-
ipw: v0.3:IPWireless tty driver
-
USB Serial support registered for IR Dongle
-
usbcore: registered new interface driver ir-usb
-
ir_usb: v0.4:USB IR Dongle driver
-
USB Serial support registered for iuu_phoenix
-
usbcore: registered new interface driver iuu_phoenix
-
iuu_phoenix: v0.11:Infinity USB Unlimited Phoenix driver
-
USB Serial support registered for Keyspan - (without firmware)
-
USB Serial support registered for Keyspan 1 port adapter
-
USB Serial support registered for Keyspan 2 port adapter
-
USB Serial support registered for Keyspan 4 port adapter
-
usbcore: registered new interface driver keyspan
-
keyspan: v1.1.5:Keyspan USB to Serial Converter Driver
-
USB Serial support registered for Keyspan PDA
-
USB Serial support registered for Keyspan PDA - (prerenumeration)
-
USB Serial support registered for Xircom / Entregra PGS - (prerenumeration)
-
usbcore: registered new interface driver keyspan_pda
-
keyspan_pda: v1.1:USB Keyspan PDA Converter driver
-
USB Serial support registered for KL5KUSB105D / PalmConnect
-
usbcore: registered new interface driver kl5kusb105d
-
kl5kusb105: v0.3a:KLSI KL5KUSB105 chipset USB->Serial Converter driver
-
USB Serial support registered for KOBIL USB smart card terminal
-
usbcore: registered new interface driver kobil
-
kobil_sct: 21/05/2004:KOBIL USB Smart Card Terminal Driver (experimental)
-
USB Serial support registered for MCT U232
-
usbcore: registered new interface driver mct_u232
-
mct_u232: z2.1:Magic Control Technology USB-RS232 converter driver
-
USB Serial support registered for Moschip 2 port adapter
-
mos7720: 1.0.0.4F:Moschip USB Serial Driver
-
usbcore: registered new interface driver moschip7720
-
USB Serial support registered for Moschip 7840/7820 USB Serial Driver
-
mos7840: 1.3.2:Moschip 7840/7820 USB Serial Driver
-
usbcore: registered new interface driver mos7840
-
USB Serial support registered for moto-modem
-
usbcore: registered new interface driver moto-modem
-
USB Serial support registered for navman
-
usbcore: registered new interface driver navman
-
USB Serial support registered for ZyXEL - omni.net lcd plus usb
-
usbcore: registered new interface driver omninet
-
omninet: v1.1:USB ZyXEL omni.net LCD PLUS Driver
-
USB Serial support registered for opticon
-
usbcore: registered new interface driver opticon
-
USB Serial support registered for GSM modem (1-port)
-
usbcore: registered new interface driver option
-
option: v0.7.2:USB Driver for GSM modems
-
USB Serial support registered for oti6858
-
usbcore: registered new interface driver oti6858
-
USB Serial support registered for pl2303
-
usbcore: registered new interface driver pl2303
-
pl2303: Prolific PL2303 USB to serial adaptor driver
-
USB Serial support registered for Qualcomm USB modem
-
usbcore: registered new interface driver qcserial
-
safe_serial: v0.0b:USB Safe Encapsulated Serial
-
USB Serial support registered for safe_serial
-
usbcore: registered new interface driver safe_serial
-
USB Serial support registered for siemens_mpi
-
usbcore: registered new interface driver siemens_mpi
-
Driver for Siemens USB/MPI adapter
-
Version 0.1 09/26/2005 Thomas Hergenhahn@web.de http://libnodave.sf.net
-
USB Serial support registered for Sierra USB modem
-
usbcore: registered new interface driver sierra
-
sierra: v.1.3.8:USB Driver for Sierra Wireless USB modems
-
USB Serial support registered for SPCP8x5
-
usbcore: registered new interface driver spcp8x5
-
spcp8x5: v0.04:SPCP8x5 USB to serial adaptor driver
-
USB Serial support registered for symbol
-
usbcore: registered new interface driver symbol
-
USB Serial support registered for TI USB 3410 1 port adapter
-
USB Serial support registered for TI USB 5052 2 port adapter
-
usbcore: registered new interface driver ti_usb_3410_5052
-
ti_usb_3410_5052: v0.9:TI USB 3410/5052 Serial Driver
-
USB Serial support registered for Handspring Visor / Palm OS
-
USB Serial support registered for Sony Clie 3.5
-
USB Serial support registered for Sony Clie 5.0
-
usbcore: registered new interface driver visor
-
visor: USB HandSpring Visor / Palm OS driver
-
USB Serial support registered for Connect Tech - WhiteHEAT - (prerenumeration)
-
USB Serial support registered for Connect Tech - WhiteHEAT
-
usbcore: registered new interface driver whiteheat
-
whiteheat: v2.0:USB ConnectTech WhiteHEAT driver
-
mice: PS/2 mouse device common for all mice
-
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
-
i2c /dev entries driver
-
Linux video capture interface: v2.00
-
gspca: main v2.7.0 registered
-
usbcore: registered new interface driver conex
-
conex: registered
-
usbcore: registered new interface driver etoms
-
etoms: registered
-
usbcore: registered new interface driver finepix
-
finepix: registered
-
usbcore: registered new interface driver jeilinj
-
jeilinj: registered
-
usbcore: registered new interface driver mars
-
mars: registered
-
usbcore: registered new interface driver mr97310a
-
mr97310a: registered
-
usbcore: registered new interface driver ov519
-
ov519: registered
-
usbcore: registered new interface driver ov534
-
ov534: registered
-
usbcore: registered new interface driver pac207
-
pac207: registered
-
usbcore: registered new interface driver pac7311
-
pac7311: registered
-
usbcore: registered new interface driver sn9c20x
-
sn9c20x: registered
-
usbcore: registered new interface driver sonixb
-
sonixb: registered
-
usbcore: registered new interface driver sonixj
-
sonixj: registered
-
usbcore: registered new interface driver spca500
-
spca500: registered
-
usbcore: registered new interface driver spca501
-
spca501: registered
-
usbcore: registered new interface driver spca505
-
spca505: registered
-
usbcore: registered new interface driver spca506
-
spca506: registered
-
usbcore: registered new interface driver spca508
-
spca508: registered
-
usbcore: registered new interface driver spca561
-
spca561: registered
-
usbcore: registered new interface driver sq905
-
sq905: registered
-
usbcore: registered new interface driver sq905c
-
sq905c: registered
-
usbcore: registered new interface driver sunplus
-
sunplus: registered
-
usbcore: registered new interface driver stk014
-
stk014: registered
-
usbcore: registered new interface driver t613
-
t613: registered
-
usbcore: registered new interface driver tv8532
-
tv8532: registered
-
usbcore: registered new interface driver vc032x
-
vc032x: registered
-
usbcore: registered new interface driver zc3xx
-
zc3xx: registered
-
usbcore: registered new interface driver ALi m5602
-
ALi m5602: registered
-
usbcore: registered new interface driver STV06xx
-
STV06xx: registered
-
gspca_gl860: driver startup - version 0.9d10
-
usbcore: registered new interface driver gspca_gl860
-
gspca_gl860: driver registered
-
usbcore: registered new interface driver uvcvideo
-
USB Video Class driver (v0.1.0)
-
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
-
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
-
usbcore: registered new interface driver usbhid
-
usbhid: v2.6:USB HID core driver
-
Advanced Linux Sound Architecture Driver Version 1.0.21.
-
No device for DAI UDA134X
-
No device for DAI s3c24xx-i2s
-
ALSA device list:
-
No soundcards found.
-
TCP cubic registered
-
NET: Registered protocol family 17
-
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
-
eth0: link down
-
IP-Config: Complete:
-
device=eth0, addr=10.50.80.1, mask=255.255.254.0, gw=255.255.255.255,
-
host=10.50.80.1, domain=, nis-domain=(none),
-
bootserver=10.50.80.207, rootserver=10.50.80.207, rootpath=
-
Looking up port of RPC 100003/2 on 10.50.80.207
-
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
-
Looking up port of RPC 100005/1 on 10.50.80.207
-
VFS: Mounted root (nfs filesystem) on device 0:11.
-
Freeing init memory: 116K
-
----------munt all----------------
-
***********************************************
-
****************Studying ARM*********************
-
Kernel version:linux-2.6.29.1
-
Student:Huang huahai
-
Date:2009.10.1
-
***********************************************
-
-
Please press Enter to activate this console.
-
[root@MINI2440]#
成功启动系统!!!
阅读(3023) | 评论(0) | 转发(0) |