tiny210 sd卡启动文件系统

沈翰
2023-12-01

前面介绍过了从SD卡启动uboot和kernel,并且在sd卡创建了两个分区,一个分区用来存放kernel,格式为FAT32。另一个分区用来存放文件系统,格式为EXT4,接下来介绍如何从sd卡启动文件系统。
首先使用一个已经做好的可以挂载的根文件,这里可以使用友善官方提供的rootfs_rtm_210.tgz文件系统。
1、解压文件系统

tar xzvf rootfs_rtm_210.tgz

2、官方提供的文件系统里面缺少了console和null设备文件,所以需要创建这个两个文件才能成功挂载

cd rootfs_rtm_210/dev/
sudo mknod -m 666 console c 5 1
sudo mknod -m 666 null c 1 3

3、挂载sd ext4分区,拷贝文件到sd卡

mount /dev/sdb2 /mnt
cd rootfs_rtm_210/
sudo cp ./* /mnt -rf

进入到/mnt目录可以看到文件都拷贝到了sd卡第二分区

cd /mnt
ls
bin  dev  etc  home  lib  linuxrc  lost+found  mnt  opt  proc  root  sbin  sdcard  sys  tmp  usr  var

其中有lost+found录说明改分区格式为ext4,说明我们的分区创建是成功的。

4、修改kernel支持ext4格式
进入到linux内核
make menuconfig ARCH=arm
File systems —><*> The Extended 4 (ext4) filesystem

5、设置bootargs参数,支持从sd卡启动

setenv bootargs "console=ttySAC0,115200n8 noinitrd root=/dev/mmcblk0p2 rw rootfstype=ext4 init=/linuxrc lcd=H43 ctp=2"

参数解析:root=/dev/mmcblk0p2,mmcblk0是SD卡,mmcblk1是eMMC;mmcblk0p1是SD卡的root分区,mmcblk0p2是SD卡的rootfs分区。由于上文提到,将根文件系统放到rootfs分区,也就是/dev/mmcblk0p2分区

6、设置bootcmd参数,从sd卡读取kernel并启动

setenv bootcmd "mmc part; fatload mmc 0:1 0x21000000 uImage; bootm 0x21000000"

7、kernel启动并成功挂载根文件系统log

OKOKraise: Signal # 8 caught


########################################################
#   Modified by GJGJ  http://blog.csdn.net/liukun321   #
########################################################


U-Boot 2011.06 (Jun 09 2017 - 01:00:18) for FriendlyLEG-TINY210

CPU:    S5PC110@1000MHz

Board:   FriendlyLEG-TINY210
DRAM:  512 MiB
WARNING: Caches not enabled

PWM Moudle Initialized.
NAND:  512 MiB
MMC:   SAMSUNG SD/MMC: 0, SAMSUNG SD/MMC: 1
In:    serial
Out:   serial
Err:   serial
Net:   dm9000


Hit any key to stop autoboot:  0 

Partition Map for MMC device 0  --   Partition Type: DOS

Partition     Start Sector     Num Sectors     Type
    1           268288      204800   b
    2           473088     4194304  83
reading uImage

4809352 bytes read
## Booting kernel from Legacy Image at 21000000 ...
   Image Name:   Linux-3.0.8-FriendlyARM
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4809288 Bytes = 4.6 MiB
   Load Address: 20008000
   Entry Point:  20008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.0.8-FriendlyARM (root@kangear) (gcc version 4.5.1 (ctng-1.8.1-FA) ) #2 PREEMPT Sat Aug 17 17:03:05 CST 2013
[    0.000000] CPU: ARMv7 Processor [412fc082] revision 2 (ARMv7), cr=10c53c7f
[    0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: MINI210
[    0.000000] MINI210: H43 selected
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] CPU S5PV210/S5PC110 (id 0x43110220)
[    0.000000] S3C24XX Clocks, Copyright 2004 Simtec Electronics
[    0.000000] S5PV210: PLL settings, A=1000000000, M=667000000, E=80000000 V=54000000
[    0.000000] S5PV210: ARMCLK=1000000000, HCLKM=200000000, HCLKD=166750000
[    0.000000] HCLKP=133400000, PCLKM=100000000, PCLKD=83375000, PCLKP=66700000
[    0.000000] sclk_dmc: source is sclk_a2m (0), rate is 200000000
[    0.000000] sclk_onenand: source is hclk_dsys (1), rate is 166750000
[    0.000000] uclk1: source is mout_mpll (6), rate is 66700000
[    0.000000] uclk1: source is mout_mpll (6), rate is 66700000
[    0.000000] uclk1: source is mout_mpll (6), rate is 66700000
[    0.000000] uclk1: source is mout_mpll (6), rate is 66700000
[    0.000000] sclk_mixer: source is sclk_dac (0), rate is 54000000
[    0.000000] sclk_fimc: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_fimc: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_fimc: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_cam0: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_cam1: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_fimd: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_mmc: source is mout_mpll (6), rate is 47642857
[    0.000000] sclk_mmc: source is mout_mpll (6), rate is 47642857
[    0.000000] sclk_mmc: source is mout_epll (7), rate is 80000000
[    0.000000] sclk_mmc: source is mout_epll (7), rate is 80000000
[    0.000000] sclk_mfc: source is sclk_a2m (0), rate is 200000000
[    0.000000] sclk_g2d: source is sclk_a2m (0), rate is 200000000
[    0.000000] sclk_g3d: source is sclk_a2m (0), rate is 200000000
[    0.000000] sclk_csis: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_spi: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_spi: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_pwi: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_pwm: source is ext_xtal (0), rate is 24000000
[    0.000000] s5p: 36864 kbytes system memory reserved for mfc at 0x3dbf6000, 0-bank base(0x3dbf6000)
[    0.000000] s5p: 36864 kbytes system memory reserved for mfc at 0x3b7f6000, 1-bank base(0x00000000)
[    0.000000] s5p: 6144 kbytes system memory reserved for fimc0 at 0x3b1f6000, 1-bank base(0x00000000)
[    0.000000] s5p: 16 kbytes system memory reserved for fimc1 at 0x3b1f2000, 1-bank base(0x00000000)
[    0.000000] s5p: 6144 kbytes system memory reserved for fimc2 at 0x3abf2000, 1-bank base(0x00000000)
[    0.000000] s5p: 8192 kbytes system memory reserved for jpeg at 0x3a3f2000, 0-bank base(0x3a3f2000)
[    0.000000] s5p: 7132 kbytes system memory reserved for fimd at 0x39cfb000, 1-bank base(0x00000000)
[    0.000000] s5p: 8192 kbytes system memory reserved for g2d at 0x394fb000, 0-bank base(0x394fb000)
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 102661
[    0.000000] Kernel command line: console=ttySAC0,115200n8 noinitrd root=/dev/mmcblk0p2 rw rootfstype=ext4 init=/linuxrc lcd=H43 ctp=2
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 404MB 0MB = 405MB total
[    0.000000] Memory: 400536k/510084k available, 14204k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     DMA     : 0xff000000 - 0xffe00000   (  14 MB)
[    0.000000]     vmalloc : 0xe0800000 - 0xfd000000   ( 456 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .init : 0xc0008000 - 0xc0174000   (1456 kB)
[    0.000000]       .text : 0xc0174000 - 0xc08c8e80   (7508 kB)
[    0.000000]       .data : 0xc08ca000 - 0xc0920740   ( 346 kB)
[    0.000000]        .bss : 0xc0920764 - 0xc0965c20   ( 278 kB)
[    0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:393
[    0.000000] VIC @fd000000: id 0x00041192, vendor 0x41
[    0.000000] VIC @fd010000: id 0x00041192, vendor 0x41
[    0.000000] VIC @fd020000: id 0x00041192, vendor 0x41
[    0.000000] VIC @fd030000: id 0x00041192, vendor 0x41
[    0.000000] sched_clock: 32 bits at 33MHz, resolution 29ns, wraps every 128784ms
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [ttySAC0] enabled
[    0.432747] Calibrating delay loop... 997.78 BogoMIPS (lpj=2494464)
[    0.464994] pid_max: default: 32768 minimum: 301
[    0.465158] Mount-cache hash table entries: 512
[    0.465503] Initializing cgroup subsys debug
[    0.465545] Initializing cgroup subsys cpuacct
[    0.465591] Initializing cgroup subsys freezer
[    0.467596] CPU: Testing write buffer coherency: ok
[    0.475257] print_constraints: dummy: 
[    0.476287] NET: Registered protocol family 16
[    0.485904] S3C Power Management, Copyright 2004 Simtec Electronics
[    0.492398] fimd at 0x39cfb000
[    0.492479] hsmmc0: sclk_mmc: source is mout_mpll, rate is 47642857
[    0.496132] hsmmc1: sclk_mmc: source is mout_mpll, rate is 47642857
[    0.502426] hsmmc2: sclk_mmc: source is mout_mpll, rate is 47642857
[    0.508594] hsmmc3: sclk_mmc: source is mout_mpll, rate is 47642857
[    0.515633] S5PV210: Initializing architecture
[    0.519878] s3c-adc s5pv210-adc: attached adc driver
[    0.524343] s3c24xx-pwm s3c24xx-pwm.0: tin at 33350000, tdiv at 33350000, tin=divclk, base 0
[    0.532981] print_constraints: pd_tv_supply: 5000 mV normal 
[    0.538379] print_constraints: pd_lcd_supply: 5000 mV normal 
[    0.544104] print_constraints: pd_g3d_supply: 5000 mV normal 
[    0.549802] print_constraints: pd_mfc_supply: 5000 mV normal 
[    0.555530] print_constraints: pd_audio_supply: 5000 mV normal 
[    0.593191] bio: create slab <bio-0> at 0
[    0.594218] SCSI subsystem initialized
[    0.596136] usbcore: registered new interface driver usbfs
[    0.596440] usbcore: registered new interface driver hub
[    0.596645] usbcore: registered new device driver usb
[    0.597214] s3c-i2c s3c2440-i2c.0: slave address 0x10
[    0.599451] s3c-i2c s3c2440-i2c.0: bus frequency set to 378 KHz
[    0.606249] s3c-i2c s3c2440-i2c.0: i2c-0: S3C I2C adapter
[    0.610789] s3c-i2c s3c2440-i2c.1: slave address 0x10
[    0.615769] s3c-i2c s3c2440-i2c.1: bus frequency set to 65 KHz
[    0.621818] s3c-i2c s3c2440-i2c.1: i2c-1: S3C I2C adapter
[    0.626980] s3c-i2c s3c2440-i2c.2: slave address 0x10
[    0.631964] s3c-i2c s3c2440-i2c.2: bus frequency set to 378 KHz
[    0.638226] s3c-i2c s3c2440-i2c.2: i2c-2: S3C I2C adapter
[    0.643797] Advanced Linux Sound Architecture Driver Version 1.0.24.
[    0.650142] Bluetooth: Core ver 2.16
[    0.653197] NET: Registered protocol family 31
[    0.657553] Bluetooth: HCI device and connection manager initialized
[    0.663858] Bluetooth: HCI socket layer initialized
[    0.668698] Bluetooth: L2CAP socket layer initialized
[    0.673723] Bluetooth: SCO socket layer initialized
[    0.678822] Switching to clocksource s5p_clocksource_timer
[    0.684991] Switched to NOHz mode on CPU #0
[    0.698852] NET: Registered protocol family 2
[    0.699046] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.700261] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.707182] TCP bind hash table entries: 16384 (order: 6, 327680 bytes)
[    0.713546] TCP: Hash tables configured (established 16384 bind 16384)
[    0.719746] TCP reno registered
[    0.722850] UDP hash table entries: 256 (order: 1, 12288 bytes)
[    0.728768] UDP-Lite hash table entries: 256 (order: 1, 12288 bytes)
[    0.735297] NET: Registered protocol family 1
[    0.739661] RPC: Registered named UNIX socket transport module.
[    0.745344] RPC: Registered udp transport module.
[    0.749982] RPC: Registered tcp transport module.
[    0.754660] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.770481] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.770623] PMU: registered new PMU device of type 0
[    0.772830] cpuidle: phy_regs_save:0x3933f000
[    0.777057] Loaded driver for PL330 DMAC-0 s3c-pl330
[    0.781823]  DBUFF-64x8bytes Num_Chans-8 Num_Peri-2 Num_Events-32
[    0.787927] Loaded driver for PL330 DMAC-1 s3c-pl330
[    0.792796]  DBUFF-8x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
[    0.798940] Loaded driver for PL330 DMAC-2 s3c-pl330
[    0.803800]  DBUFF-8x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
[    0.818248] ashmem: initialized
[    0.832365] NTFS driver 2.1.30 [Flags: R/W].
[    0.832884] ROMFS MTD (C) 2007 Red Hat, Inc.
[    0.833155] msgmni has been set to 782
[    0.834215] io scheduler noop registered
[    0.834251] io scheduler deadline registered
[    0.834340] io scheduler cfq registered (default)
[    0.838011] start plist test
[    0.844216] end plist test
[    0.844883] s3cfb s3cfb: win 2: pmem_start=0x39e7b000
[    0.848587] s3cfb s3cfb: [fb2] dma: 0x39e7b000, cpu: 0xe1000000, size: 0x00577000
[    0.862445] Console: switching to colour frame buffer device 60x34
[    0.864641] FIMD src sclk = 166750000
[    0.865865] s3cfb s3cfb: registered successfully
[    0.870475] Start display and show logo
[    0.879659] s5pv210-uart.0: ttySAC0 at MMIO 0xe2900000 (irq = 16) is a S3C6400/10
[    0.884315] s5pv210-uart.1: ttySAC1 at MMIO 0xe2900400 (irq = 20) is a S3C6400/10
[    0.899106] s5pv210-uart.2: ttySAC2 at MMIO 0xe2900800 (irq = 24) is a S3C6400/10
[    0.909106] s5pv210-uart.3: ttySAC3 at MMIO 0xe2900c00 (irq = 28) is a S3C6400/10
[    0.919578] leds initialized
[    0.919747] buttons  initialized
[    0.919932] pwm  initialized
[    0.920129] mini210-adc  initialized
[    0.920426] backlight    initialized
[    0.921294] PA FB = 0x39E7B000, bits per pixel = 32
[    0.924457] screen width=480 height=272 va=0xd9e7b000 pa=0x39e7b000
[    0.930720] xres_virtual = 480, yres_virtual = 816, xoffset = 0, yoffset = 0
[    0.937682] fb_size=5730304
[    0.940468] Back frameBuffer[0].VAddr=d9efb000 PAddr=39efb000 size=524288
[    0.947216] Back frameBuffer[1].VAddr=d9f7b000 PAddr=39f7b000 size=524288
[    0.953979] Video Y Buffer[0].VAddr=d9ffb000 PAddr=39ffb000 size=921600
[    0.960562] Video Y Buffer[1].VAddr=da0dc000 PAddr=3a0dc000 size=921600
[    0.967144] Video Y Buffer[2].VAddr=da1bd000 PAddr=3a1bd000 size=921600
[    0.973730] Video UV Buffer[0].VAddr=da29e000 PAddr=3a29e000 size=462848
[    0.980405] Video UV Buffer[1].VAddr=da30f000 PAddr=3a30f000 size=462848
[    0.987074] Video UV Buffer[2].VAddr=da380000 PAddr=3a380000 size=462848
[    1.000126] brd: module loaded
[    1.003426] loop: module loaded
[    1.004896] S3C NAND Driver, (c) 2008 Samsung Electronics
[    1.136481] S3C NAND Driver is using software ECC.
[    1.136562] NAND device: Manufacturer ID: 0xec, Chip ID: 0xdc (Samsung NAND 512MiB 3,3V 8-bit)
[    1.136636] NAND_ECC_NONE selected by board driver. This is not recommended !!
[    1.136699] Creating 5 MTD partitions on "s5pv210-nand":
[    1.140066] 0x0000000c0000-0x000000100000 : "misc"
[    1.145860] 0x000000100000-0x000000600000 : "recovery"
[    1.151691] 0x000000600000-0x000000b00000 : "kernel"
[    1.156608] 0x000000b00000-0x000000e00000 : "ramdisk"
[    1.161269] 0x000000e00000-0x000020000000 : "system"
[    1.255978] PPP generic driver version 2.4.2
[    1.256310] PPP Deflate Compression module registered
[    1.256356] PPP BSD Compression module registered
[    1.256838] PPP MPPE Compression module registered
[    1.256882] NET: Registered protocol family 24
[    1.258389] tun: Universal TUN/TAP device driver, 1.6
[    1.261945] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    1.268301] dm9000 Ethernet Driver, V1.31
[    1.273274] eth0: dm9000a at e0838000,e083c00c IRQ 39 MAC: 08:90:00:a0:02:10 (platform data)
[    1.280686] sdhci: Secure Digital Host Controller Interface driver
[    1.286618] sdhci: Copyright(c) Pierre Ossman
[    1.290988] s3c-sdhci s3c-sdhci.0: clock source 0: hsmmc (133400000 Hz)
[    1.297523] s3c-sdhci s3c-sdhci.0: clock source 2: sclk_mmc (47642857 Hz)
[    1.304325] mmc0: no vmmc regulator found
[    1.308539] mmc0: SDHCI controller on samsung-hsmmc [s3c-sdhci.0] using ADMA
[    1.315342] s3c-sdhci s3c-sdhci.1: clock source 0: hsmmc (133400000 Hz)
[    1.321877] s3c-sdhci s3c-sdhci.1: clock source 2: sclk_mmc (47642857 Hz)
[    1.328651] mmc1: no vmmc regulator found
[    1.334974] mmc1: SDHCI controller on samsung-hsmmc [s3c-sdhci.1] using ADMA
[    1.339677] s3c-sdhci s3c-sdhci.2: clock source 0: hsmmc (133400000 Hz)
[    1.346222] s3c-sdhci s3c-sdhci.2: clock source 2: sclk_mmc (47642857 Hz)
[    1.353022] mmc2: no vmmc regulator found
[    1.357250] mmc2: SDHCI controller on samsung-hsmmc [s3c-sdhci.2] using ADMA
[    1.365070] s3c-sdhci s3c-sdhci.3: clock source 0: hsmmc (133400000 Hz)
[    1.372583] s3c-sdhci s3c-sdhci.3: clock source 2: sclk_mmc (47642857 Hz)
[    1.377371] mmc3: no vmmc regulator found
[    1.381597] mmc3: SDHCI controller on samsung-hsmmc [s3c-sdhci.3] using ADMA
[    1.388461] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.395062] s5p-ehci s5p-ehci: S5P EHCI Host Controller
[    1.400113] s5p-ehci s5p-ehci: new USB bus registered, assigned bus number 1
[    1.407151] s5p-ehci s5p-ehci: irq 87, io mem 0xec200000
[    1.419080] s5p-ehci s5p-ehci: USB 0.0 started, EHCI 1.00
[    1.419702] hub 1-0:1.0: USB hub found
[    1.421424] hub 1-0:1.0: 1 port detected
[    1.425753] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.431626] s5p-ohci s5p-ohci: EXYNOS OHCI Host Controller
[    1.436995] s5p-ohci s5p-ohci: new USB bus registered, assigned bus number 2
[    1.444010] s5p-ohci s5p-ohci: irq 87, io mem 0xec300000
[    1.462216] mmc0: new high speed SDHC card at address 1234
[    1.462545] mmcblk0: mmc0:1234 SA08G 7.24 GiB 
[    1.463723]  mmcblk0: p1 p2
[    1.508679] hub 2-0:1.0: USB hub found
[    1.508728] hub 2-0:1.0: 1 port detected
[    1.511546] usbcore: registered new interface driver usbserial
[    1.511719] USB Serial support registered for generic
[    1.511908] usbcore: registered new interface driver usbserial_generic
[    1.511963] usbserial: USB Serial Driver core
[    1.515867] USB Serial support registered for aircable
[    1.521008] usbcore: registered new interface driver aircable
[    1.529871] USB Serial support registered for ark3116
[    1.531708] usbcore: registered new interface driver ark3116
[    1.537240] ark3116:v0.6:USB ARK3116 serial/IrDA driver
[    1.542523] USB Serial support registered for Belkin / Peracom / GoHubs USB Serial Adapter
[    1.552804] usbcore: registered new interface driver belkin
[    1.556217] belkin_sa: v1.3:USB Belkin Serial converter driver
[    1.562103] USB Serial support registered for ch341-uart
[    1.570579] usbcore: registered new interface driver ch341
[    1.572842] USB Serial support registered for cp210x
[    1.577836] usbcore: registered new interface driver cp210x
[    1.583265] cp210x: v0.09:Silicon Labs CP210x RS232 serial adaptor driver
[    1.592103] USB Serial support registered for Reiner SCT Cyberjack USB card reader
[    1.597675] usbcore: registered new interface driver cyberjack
[    1.603361] cyberjack: v1.01 Matthias Bruestle
[    1.610857] cyberjack: REINER SCT cyberJack pinpad/e-com USB Chipcard Reader Driver
[    1.615565] USB Serial support registered for DeLorme Earthmate USB
[    1.621736] USB Serial support registered for HID->COM RS232 Adapter
[    1.628109] USB Serial support registered for Nokia CA-42 V2 Adapter
[    1.636429] usbcore: registered new interface driver cypress
[    1.639930] cypress_m8: v1.10:Cypress USB to Serial Driver
[    1.645467] USB Serial support registered for Digi 2 port USB adapter
[    1.651904] USB Serial support registered for Digi 4 port USB adapter
[    1.658349] usbcore: registered new interface driver digi_acceleport
[    1.665579] digi_acceleport: v1.80.1.2:Digi AccelePort USB-2/USB-4 Serial Converter driver
[    1.674886] USB Serial support registered for Edgeport 2 port adapter
[    1.679483] USB Serial support registered for Edgeport 4 port adapter
[    1.685699] USB Serial support registered for Edgeport 8 port adapter
[    1.692114] USB Serial support registered for EPiC device
[    1.697512] usbcore: registered new interface driver io_edgeport
[    1.703378] io_edgeport: v2.7:Edgeport USB Serial Driver
[    1.708744] USB Serial support registered for Edgeport TI 1 port adapter
[    1.715443] USB Serial support registered for Edgeport TI 2 port adapter
[    1.722126] usbcore: registered new interface driver io_ti
[    1.727470] io_ti: v0.7mode043006:Edgeport USB Serial Driver
[    1.733184] USB Serial support registered for empeg
[    1.737938] usb 1-1: new high speed USB device number 2 using s5p-ehci
[    1.746599] usbcore: registered new interface driver empeg
[    1.749927] empeg: v1.3:USB Empeg Mark I/II Driver
[    1.754750] USB Serial support registered for FTDI USB Serial Device
[    1.761198] usbcore: registered new interface driver ftdi_sio
[    1.766723] ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver
[    1.773615] USB Serial support registered for funsoft
[    1.779686] usbcore: registered new interface driver funsoft
[    1.783278] USB Serial support registered for Garmin GPS usb/tty
[    1.789287] usbcore: registered new interface driver garmin_gps
[    1.795060] garmin_gps: v0.36:garmin gps driver
[    1.799644] USB Serial support registered for hp4X
[    1.804626] usbcore: registered new interface driver hp4X
[    1.809703] hp4x: v1.00:HP4x (48/49) Generic Serial driver
[    1.815242] USB Serial support registered for PocketPC PDA
[    1.820801] usbcore: registered new interface driver ipaq
[    1.825995] ipaq: v1.0:USB PocketPC PDA driver
[    1.830500] USB Serial support registered for IPWireless converter
[    1.836675] usbcore: registered new interface driver ipwtty
[    1.842096] ipw: v0.4:IPWireless tty driver
[    1.848351] USB Serial support registered for IR Dongle
[    1.851582] usbcore: registered new interface driver ir-usb
[    1.857001] ir_usb: v0.5:USB IR Dongle driver
[    1.861453] USB Serial support registered for iuu_phoenix
[    1.866893] usbcore: registered new interface driver iuu_phoenix
[    1.873711] iuu_phoenix: v0.12:Infinity USB Unlimited Phoenix driver
[    1.881130] USB Serial support registered for Keyspan PDA
[    1.884558] USB Serial support registered for Keyspan PDA - (prerenumeration)
[    1.891876] USB Serial support registered for Xircom / Entregra PGS - (prerenumeration)
[    1.899878] hub 1-1:1.0: USB hub found
[    1.903253] hub 1-1:1.0: 4 ports detected
[    1.907205] usbcore: registered new interface driver keyspan_pda
[    1.913200] keyspan_pda: v1.1:USB Keyspan PDA Converter driver
[    1.919213] USB Serial support registered for KL5KUSB105D / PalmConnect
[    1.925775] usbcore: registered new interface driver kl5kusb105d
[    1.931565] kl5kusb105: v0.4:KLSI KL5KUSB105 chipset USB->Serial Converter driver
[    1.939356] USB Serial support registered for KOBIL USB smart card terminal
[    1.946061] usbcore: registered new interface driver kobil
[    1.951376] kobil_sct: 21/05/2004:KOBIL USB Smart Card Terminal Driver (experimental)
[    1.961276] USB Serial support registered for MCT U232
[    1.964410] usbcore: registered new interface driver mct_u232
[    1.970001] mct_u232: z2.1:Magic Control Technology USB-RS232 converter driver
[    1.977291] USB Serial support registered for Moschip 2 port adapter
[    1.983537] mos7720: 2.1:Moschip USB Serial Driver
[    1.989424] usbcore: registered new interface driver moschip7720
[    1.996379] USB Serial support registered for Moschip 7840/7820 USB Serial Driver
[    2.001733] mos7840: 1.3.2:Moschip 7840/7820 USB Serial Driver
[    2.007644] usbcore: registered new interface driver mos7840
[    2.013277] USB Serial support registered for moto-modem
[    2.018585] usbcore: registered new interface driver moto-modem
[    2.024460] USB Serial support registered for navman
[    2.029418] usbcore: registered new interface driver navman
[    2.034972] USB Serial support registered for ZyXEL - omni.net lcd plus usb
[    2.041961] usbcore: registered new interface driver omninet
[    2.047435] omninet: v1.1:USB ZyXEL omni.net LCD PLUS Driver
[    2.053194] USB Serial support registered for opticon
[    2.058170] usbcore: registered new interface driver opticon
[    2.063802] USB Serial support registered for GSM modem (1-port)
[    2.071893] usbcore: registered new interface driver option
[    2.075208] option: v0.7.2:USB Driver for GSM modems
[    2.080226] USB Serial support registered for oti6858
[    2.085301] usbcore: registered new interface driver oti6858
[    2.090918] USB Serial support registered for pl2303
[    2.096892] usbcore: registered new interface driver pl2303
[    2.103303] pl2303: Prolific PL2303 USB to serial adaptor driver
[    2.107367] USB Serial support registered for qcaux
[    2.112300] usbcore: registered new interface driver qcaux
[    2.117690] USB Serial support registered for Qualcomm USB modem
[    2.123703] usbcore: registered new interface driver qcserial
[    2.129299] safe_serial: v0.1:USB Safe Encapsulated Serial
[    2.134840] USB Serial support registered for safe_serial
[    2.140261] usbcore: registered new interface driver safe_serial
[    2.146207] USB Serial support registered for siemens_mpi
[    2.151592] usbcore: registered new interface driver siemens_mpi
[    2.157462] Driver for Siemens USB/MPI adapter
[    2.161844] Version 0.1 09/26/2005 Thomas Hergenhahn@web.de http://libnodave.sf.net
[    2.171575] USB Serial support registered for Sierra USB modem
[    2.175423] usbcore: registered new interface driver sierra
[    2.180838] sierra: v.1.7.16:USB Driver for Sierra Wireless USB modems
[    2.187432] USB Serial support registered for SPCP8x5
[    2.192503] usbcore: registered new interface driver spcp8x5
[    2.199012] spcp8x5: v0.10:SPCP8x5 USB to serial adaptor driver
[    2.206009] USB Serial support registered for Quatech SSU-100 USB to Serial Driver
[    2.211684] usbcore: registered new interface driver ssu100
[    2.216992] ssu100: v0.1:Quatech SSU-100 USB to Serial Driver
[    2.222794] USB Serial support registered for symbol
[    2.227772] usbcore: registered new interface driver symbol
[    2.233299] USB Serial support registered for TI USB 3410 1 port adapter
[    2.239974] USB Serial support registered for TI USB 5052 2 port adapter
[    2.246669] usbcore: registered new interface driver ti_usb_3410_5052
[    2.252958] ti_usb_3410_5052: v0.10:TI USB 3410/5052 Serial Driver
[    2.259204] USB Serial support registered for Handspring Visor / Palm OS
[    2.265884] USB Serial support registered for Sony Clie 3.5
[    2.271426] USB Serial support registered for Sony Clie 5.0
[    2.276993] usbcore: registered new interface driver visor
[    2.284345] visor: USB HandSpring Visor / Palm OS driver
[    2.287665] USB Serial support registered for Connect Tech - WhiteHEAT - (prerenumeration)
[    2.295933] USB Serial support registered for Connect Tech - WhiteHEAT
[    2.302470] usbcore: registered new interface driver whiteheat
[    2.308153] whiteheat: v2.0:USB ConnectTech WhiteHEAT driver
[    2.315006] USB Serial support registered for vivopay-serial
[    2.321535] usbcore: registered new interface driver vivopay-serial
[    2.325658] vivopay_serial: v1.0:ViVOpay USB Serial Driver
[    2.331204] USB Serial support registered for zio
[    2.335908] usbcore: registered new interface driver zio
[    2.341081] Initializing USB Mass Storage driver...
[    2.346097] usbcore: registered new interface driver usb-storage
[    2.351915] USB Mass Storage support registered.
[    2.356673] s3c-udc : S3C HS USB Device Controller Driver, (c) 2008-2009 Samsung Electronics
[    2.356679] s3c-udc : version 15 March 2009 (DMA Mode)
[    2.372425] android_usb gadget: Mass Storage Function, version: 2009/09/11
[    2.376855] android_usb gadget: Number of LUNs=1
[    2.381514]  lun0: LUN: removable file: (no medium)
[    2.388612] android_usb gadget: android_usb ready
[    2.410487] Registered gadget driver 'android_usb'
[    2.410831] mousedev: PS/2 mouse device common for all mice
[    2.411375] touchscreen-1wire    initialized
[    2.411412] backlight-1wire  initialized
[    2.411497] setup_irq: ret = 0
[    2.412105] PWM clock = 66700000
[    2.415342] TCNT_FOR_SAMPLE_BIT = 3472, TCFG1 = 00000003
[    2.421014] input: fa_ts_input as /devices/virtual/input/input0
[    2.427016] ts-if    initialized
[    2.429794] S3C24XX RTC, (c) 2004,2006 Simtec Electronics
[    2.434950] s3c-rtc s3c64xx-rtc: rtc disabled, re-enabling
[    2.440293] s3c-rtc s3c64xx-rtc: rtc disabled, re-enabling
[    2.445760] s3c-rtc s3c64xx-rtc: rtc disabled, re-enabling
[    2.451192] s3c-rtc s3c64xx-rtc: rtc disabled, re-enabling
[    2.456652] s3c-rtc s3c64xx-rtc: rtc disabled, re-enabling
[    2.462522] using rtc device, s3c, for alarms
[    2.466312] s3c-rtc s3c64xx-rtc: rtc core: registered s3c as rtc0
[    2.472516] 4: TCNTB=00000d90, TCNTO=00000c6e, TINT_CSTAT=0000020c
[    2.478800] i2c /dev entries driver
[    2.482791] Linux video capture interface: v2.00
[    2.486839] mfc_init: <6>S5PC110 MFC Driver, (c) 2009 Samsung Electronics
[    2.486845] 
[    2.497657] S3C JPEG Driver, (c) 2007 Samsung Electronics
[    2.500357] JPEG driver for S5PV210
[    2.504362] i2c i2c-1: attached s5p_ddc into i2c adapter successfully
[    2.510449] S5PC11X HPD Driver, (c) 2010 Samsung Electronics
[    2.516192] S5PC11X CEC Driver, (c) 2010 Samsung Electronics
[    2.522458] usbcore: registered new interface driver uvcvideo
[    2.527229] USB Video Class driver (v1.1.0)
[    2.573677] input: mma7660 as /devices/platform/s3c2440-i2c.0/i2c-0/0-004c/input/input1
[    2.573965] mma7660 0-004c: MMA7660 device is probed successfully.
[    2.574154] i2c-core: driver [mma7660] using legacy suspend method
[    2.574211] i2c-core: driver [mma7660] using legacy resume method
[    2.577772] MMA7660 sensor driver registered.
[    2.582155] S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
[    2.588235] s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
[    2.596567] device-mapper: uevent: version 1.0.3
[    2.600662] device-mapper: ioctl: 4.20.0-ioctl (2011-02-02) initialised: dm-devel@redhat.com
[    2.608702] Bluetooth: HCI UART driver ver 2.2
[    2.613185] Bluetooth: HCI H4 protocol initialized
[    2.617823] Bluetooth: HCILL protocol initialized
[    2.622628] cpuidle: using governor ladder
[    2.626802] cpuidle: using governor menu
[    2.637560] usbcore: registered new interface driver usbhid
[    2.637612] usbhid: USB HID core driver
[    2.641358] ALSA device list:
[    2.642764]   No soundcards found.
[    2.646181] oprofile: hardware counters not available
[    2.651207] oprofile: using timer interrupt.
[    2.655531] GACT probability NOT on
[    2.658888] Mirror/redirect action on
[    2.662540] u32 classifier
[    2.665214]     Actions configured
[    2.668584] Netfilter messages via NETLINK v0.30.
[    2.673379] nf_conntrack version 0.5.0 (6258 buckets, 25032 max)
[    2.680146] ctnetlink v0.93: registering with nfnetlink.
[    2.684623] NF_TPROXY: Transparent proxy support initialized, version 4.1.0
[    2.691483] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.
[    2.697644] xt_time: kernel timezone is -0000
[    2.703220] ip_tables: (C) 2000-2006 Netfilter Core Team
[    2.707072] arp_tables: (C) 2002 David S. Miller
[    2.711691] TCP cubic registered
[    2.715692] NET: Registered protocol family 10
[    2.719133] 5: TCNTB=00000d90, TCNTO=00000af6, TINT_CSTAT=0000020c
[    2.730072] Mobile IPv6
[    2.730123] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    2.733280] IPv6 over IPv4 tunneling driver
[    2.741670] NET: Registered protocol family 17
[    2.741736] NET: Registered protocol family 15
[    2.746165] Bluetooth: RFCOMM TTY layer initialized
[    2.750969] Bluetooth: RFCOMM socket layer initialized
[    2.756041] Bluetooth: RFCOMM ver 1.11
[    2.759759] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    2.765045] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    2.771195] NET: Registered protocol family 35
[    2.775504] Registering the dns_resolver key type
[    2.780081] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 2
[    2.787670] ThumbEE CPU extension supported.
[    2.792078] s5pv210_cpufreq_init: S5PV210 cpu-freq driver
[    2.797910] regulator_init_complete: pd_mfc_supply: disabling
[    2.803046] regulator_init_complete: pd_tv_supply: disabling
[    2.808704] s3c-rtc s3c64xx-rtc: rtc disabled, re-enabling
[    2.814243] s3c-rtc s3c64xx-rtc: setting system clock to 2012-01-01 15:05:36 UTC (1325430336)
[    2.824051] FIMC0 registered successfully
[    2.827922] FIMC1 registered successfully
[    2.831822] FIMC2 registered successfully
[    2.834671] S5PC1XX TVOUT Driver, (c) 2009 Samsung Electronics
[    2.840866] s5p-tvout s5p-tvout: hpd status is cable removed
[    2.852533] Freeing init memory: 1456K
[    3.308047] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: 
[    3.759323] FAT-fs (mmcblk0p1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[    3.759333] 
[    4.037986] s3c-rtc s3c64xx-rtc: rtc disabled, re-enabling

[    4.099707] FriendlyARM http://www.arm9.net
[    4.211752] asoc: wm8960-hifi <-> samsung-i2s.0 mapping ok


[    4.339170] input: ft5x0x_ts as /devices/virtual/input/input2
[    4.354188] read reg (0xa6) error, -6
[    4.354231] ft5x0x_ts 2-0038: chip not found
[    4.364621] ft5x0x_ts 2-0038: probe ft5x0x TouchScreen failed, -6
Try to bring eth0 interface up......[    4.434097] dm9000 dm9000: eth0: link down
[    4.434378] ADDRCONF(NETDEV_UP): eth0: link is not ready
Done

Please press Enter to activate this console. [    4.913637] EPLL Rate changes from 80000000 to 49152000
[    4.916871] EPLL Rate changes from 49152000 to 67738000
[    5.049250] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    5.064101] dm9000 dm9000: eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
[    5.884095] dm9000 dm9000: eth0: link down

[root@FriendlyARM /]# 
[root@FriendlyARM /]# 
[root@FriendlyARM /]# 
[root@FriendlyARM /]# ls
bin         home        lost+found  proc        sdcard      usr
dev         lib         mnt         root        sys         var
etc         linuxrc     opt         sbin        tmp
[root@FriendlyARM /]# 
 类似资料: