x210项目重新回顾之十四烧写镜像到SD卡

九鼎公司提供的sd_fusing.sh默认只生成一个分区,这在在sd_fdisk.c中可见前3行被注释,

        //encode_partitionInfo(partInfo[0], &mbr[0x1CE]);
        //encode_partitionInfo(partInfo[1], &mbr[0x1DE]);
        //encode_partitionInfo(partInfo[2], &mbr[0x1EE]);
        encode_partitionInfo(partInfo[3], &mbr[0x1BE]);

打开注释后还是发现生成不了4个分区。于是想到uboot启动后有格式花命令fdisk,可用它来格式化SD卡:

uboot-myx210 # fdisk -c 1 (1 表示插槽一上的mmc2(x210有四的sd通道,mmc0为内部inand,mmc2,mmc3为外部sd卡,我的卡插在第一个插槽,也就是mmc2上)))

partion #    size(MB)     block start #    block count    partition_Id
   1           256            20480          524288          0x83
   2           120           544768          245760          0x83
   3           100           790528          204800          0x83(可以烧录linux)
   4         14697           995328        30100480          0x83(可以烧录rootfs)

-------------------------------------------------------------------------zhi

之后修改sd_fusing.sh,注释分区和格式化部分,只留下烧写部分

####################################
# make partition
#jimmy comment echo "make sd card partition"
#echo "./sd_fdisk $1"
#sudo ./sd_fdisk $1
#sudo dd iflag=dsync oflag=dsync if=sd_mbr.dat of=$1
#rm sd_mbr.dat

####################################
# format
#umount $partition1 2> /dev/null
#umount $partition2 2> /dev/null
#umount $partition3 2> /dev/null
#umount $partition4 2> /dev/null

#echo "mkfs.vfat -F 32 $partition1"
#sudo mkfs.vfat -F 32 $partition1

#echo "mkfs.ext2 $partition2"
#mkfs.ext2 $partition2

#echo "mkfs.ext2 $partition3"
#mkfs.ext2 $partition3

#echo "mkfs.ext2 $partition4"
#mkfs.ext2 $partition4


bl1_position=1
uboot_position=49

echo "BL1 fusing"
sudo ./mkbl1 ../u-boot.bin SD-bl1-8k.bin 8192
sudo dd iflag=dsync oflag=dsync if=SD-bl1-8k.bin of=$1 seek=$bl1_position
rm SD-bl1-8k.bin
#
echo "u-boot fusing"
sudo dd iflag=dsync oflag=dsync if=../u-boot.bin of=$1 seek=$uboot_position
 

——————————————————————————————————————————

这只是uboot的烧录(位于sd卡里1-49为8kbu部分,49之后为uboot但是这都在4个分区的前面),然后可以烧入linux到 /dev/sdb3 及rootfs到/dev/sdb3

ubuntu# sudo dd if=/tftpboot/zImage-qt of=/dev/sdb3 bs=1k count=20000 (20000块,相当于10M)
 ubuntu#sudo dd if=/tftpboot/rootfs_qt4.ext3 of=/dev/sdb4 bs=1k count=512000  (512000  块,相当于256M)

之后可以配置开发板环境变量:

mmcblk1p4为mmc2的第四个分区也就是之前烧录的sdb4

myx210#setenv bootargs "noinitrd console=ttySAC2,115200 root=/dev/mmcblk1p4 rw init=/linuxrc rootfstype=ext3"

myx210# setenv bootcmd "  mmc read 1 30008000 790528(分区3的开始柱面) 10000(读取的块size,大概5M); bootm 30008000"

输出如下:

----------------------------------------------------------------------------------------------
U-Boot 1.3.4-dirty (Dec 21 2022 - 10:30:15) for x210


CPU:  S5PV210@1000MHz(OK)
        APLL = 1000MHz, HclkMsys = 200MHz, PclkMsys = 100MHz
        MPLL = 667MHz, EPLL = 96MHz
                       HclkDsys = 166MHz, PclkDsys = 83MHz
                       HclkPsys = 133MHz, PclkPsys = 66MHz
                       SCLKA2M  = 200MHz
Serial = CLKUART
Board:   X210
DRAM:    512 MB
Flash:   8 MB
SD/MMC:  3776MB
In:      serial
Out:     serial
Err:     serial
[LEFT UP] boot mode
checking mode for fastboot ...
Hit any key to stop autoboot:  0
myx210 # print
bootcmd=movi read kernel 30008000; movi read rootfs 30B00000 300000; bootm 30008000 30B00000
mtdpart=80000 400000 3000000
bootdelay=3
baudrate=115200
ethaddr=00:40:5c:26:0a:5b
netmask=255.255.255.0
serverip=192.168.0.43
gatewayip=192.168.0.1
ipaddr=192.168.0.88
bootargs=noinitrd console=ttySAC2,115200 root=/dev/mmcblk0p2 rw init=/linuxrc rootfstype=ext3

Environment size: 356/16380 bytes
myx210 # setenv bootargs "noinitrd console=ttySAC2,115200 root=/dev/mmcblk1p4 rw init=/linuxrc rootfstype=ext3"
myx210 # mmc read 1 30008000 790528 10000

MMC read: dev # 1, block # 790528, count 10000 ...10000 blocks read: OK
myx210 # bootm 30008000
Boot with zImage

Starting kernel ...

[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.35.7+ (jimmy@ubuntu) (gcc version 4.4.1 (Sourcery G++ Lite 2009q3-67) ) #3 PREEMPT Fri Nov 18 10:16:14 PST 2022
[    0.000000] CPU: ARMv7 Processor [412fc082] revision 2 (ARMv7), cr=10c53c7f
[    0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] Machine: SMDKV210
[    0.000000] @@@@@@@ atags_pointer not null
[    0.000000] @@@@@@@linter#####boot_params:c0000100,mdesc->boot_params:40000002
[    0.000000] Ignoring unrecognised tag 0x41001099
[    0.000000] $$$$$$$$$cmdline:noinitrd console=ttySAC2,115200 root=/dev/mmcblk1p4 rw init=/linuxrc rootfstype=ext3
[    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=96000000 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_psys (0), rate is 66700000
[    0.000000] sclk: source is mout_mpll (6), rate is 66700000
[    0.000000] sclk: source is mout_mpll (6), rate is 66700000
[    0.000000] sclk: source is mout_mpll (6), rate is 66700000
[    0.000000] sclk: source is mout_mpll (6), rate is 66700000
[    0.000000] sclk_mixer: source is sclk_dac (0), rate is 24000000
[    0.000000] sclk_spdif: source is sclk_audio (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_fimc: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_cam0: source is xusbxti (1), rate is 12000000
[    0.000000] sclk_cam1: source is ext_xtal (0), rate is 12000000
[    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_epll (7), rate is 96000000
[    0.000000] sclk_mmc: source is mout_mpll (6), rate is 47642857
[    0.000000] sclk_mmc: source is mout_epll (7), rate is 96000000
[    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: source is sclk_a2m (0), rate is 100000000
[    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] sclk_mdnie: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_mdnie_pwm: source is ext_xtal (0), rate is 24000000
[    0.000000] s5pv210: 37748736 bytes system memory reserved for mfc at 0x30c04000
[    0.000000] s5pv210: 37748736 bytes system memory reserved for mfc at 0x40000000
[    0.000000] s5pv210: 25165824 bytes system memory reserved for fimc0 at 0x42400000
[    0.000000] s5pv210: 10137600 bytes system memory reserved for fimc1 at 0x43c00000
[    0.000000] s5pv210: 25165824 bytes system memory reserved for fimc2 at 0x445ab000
[    0.000000] s5pv210: 25165824 bytes system memory reserved for jpeg at 0x45dab000
[    0.000000] s5pv210: 4915200 bytes system memory reserved for fimd at 0x475ab000
[    0.000000] s5pv210: 10485760 bytes system memory reserved for texstream at 0x47a5b000
[    0.000000] s5pv210: 3379200 bytes system memory reserved for pmem_gpu1 at 0x4845b000
[    0.000000] s5pv210: 8388608 bytes system memory reserved for g2d at 0x48794000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: noinitrd console=ttySAC2,115200 root=/dev/mmcblk1p4 rw init=/linuxrc rootfstype=ext3
[    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: 256MB 256MB = 512MB total
[    0.000000] Memory: 327720k/327720k available, 196568k 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 - 0xfc000000   ( 440 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .init : 0xc0008000 - 0xc0033000   ( 172 kB)
[    0.000000]       .text : 0xc0033000 - 0xc06ea000   (6876 kB)
[    0.000000]       .data : 0xc06ea000 - 0xc0737740   ( 310 kB)
[    0.000000] SLUB: Genslabs=9, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU-based detection of stalled CPUs is disabled.
[    0.000000]  Verbose stalled-CPUs detection is disabled.
[    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] mult[140737]
[    0.000000] max_delta_ns[2937815369]
[    0.000000] min_delta_ns[30517]
[    0.000000] rate[32768]
[    0.000000] HZ[256]
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [ttySAC2] enabled
[    0.507240] Calibrating delay loop... 998.15 BogoMIPS (lpj=1949696)
[    0.590952] pid_max: default: 32768 minimum: 301
[    0.595602] Mount-cache hash table entries: 512
[    0.600327] Initializing cgroup subsys debug
[    0.604310] Initializing cgroup subsys cpuacct
[    0.608724] Initializing cgroup subsys freezer
[    0.613165] CPU: Testing write buffer coherency: ok
[    0.619956] regulator: core version 0.5
[    0.622442] NET: Registered protocol family 16
[    0.631990] S3C Power Management, Copyright 2004 Simtec Electronics
[    0.636793] pmstats at 00000000
[    0.639919] Open OV2655 camema sensor
[    0.777330] smdkc110_setup_clocks: sclk_mmc: source is mout_mpll, rate is 47642857
[    0.783439] smdkc110_setup_clocks: sclk_mmc: source is mout_mpll, rate is 47642857
[    0.790974] smdkc110_setup_clocks: sclk_mmc: source is mout_mpll, rate is 47642857
[    0.798511] smdkc110_setup_clocks: sclk_mmc: source is mout_mpll, rate is 47642857
[    0.806057] smdkv210_nand_io_init
[    0.809716] S5PV210: Initializing architecture
[    0.814062] s3c24xx-pwm s3c24xx-pwm.0: tin at 66700000, tdiv at 66700000, tin=divclk, base 0
[    0.822189] s3c24xx-pwm s3c24xx-pwm.1: tin at 66700000, tdiv at 66700000, tin=divclk, base 8
[    0.830591] s3c24xx-pwm s3c24xx-pwm.2: tin at 66700000, tdiv at 66700000, tin=divclk, base 12
[    0.839082] s3c24xx-pwm s3c24xx-pwm.3: tin at 66700000, tdiv at 66700000, tin=divclk, base 16
[    0.847692] regulator: pd_audio_supply: 5000 mV normal
[    0.852853] regulator: pd_cam_supply: 5000 mV normal
[    0.857864] regulator: pd_tv_supply: 5000 mV normal
[    0.862798] regulator: pd_lcd_supply: 5000 mV normal
[    0.867826] regulator: pd_g3d_supply: 5000 mV normal
[    0.872850] regulator: pd_mfc_supply: 5000 mV normal
[    0.883696] bio: create slab at 0
[    0.886786] SCSI subsystem initialized
[    0.890070] usbcore: registered new interface driver usbfs
[    0.895477] usbcore: registered new interface driver hub
[    0.900787] usbcore: registered new device driver usb
[    0.906243] s3c-i2c s3c2440-i2c.0: i2c-0: S3C I2C adapter
[    0.911336] s3c-i2c s3c2440-i2c.1: i2c-1: S3C I2C adapter
[    0.916654] s3c-i2c s3c2440-i2c.2: i2c-2: S3C I2C adapter
[    0.922147] Advanced Linux Sound Architecture Driver Version 1.0.23.
[    0.928558] Sangoma WANPIPE Router v1.1 (c) 1995-2000 Sangoma Technologies Inc.
[    0.935685] cfg80211: Calling CRDA to update world regulatory domain
[    0.941969] Switching to clocksource clock_source_systimer
[    0.952300] NET: Registered protocol family 2
[    0.955371] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.962786] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.969602] TCP bind hash table entries: 16384 (order: 6, 327680 bytes)
[    0.976341] TCP: Hash tables configured (established 16384 bind 16384)
[    0.982394] TCP reno registered
[    0.985517] UDP hash table entries: 256 (order: 1, 12288 bytes)
[    0.991426] UDP-Lite hash table entries: 256 (order: 1, 12288 bytes)
[    0.997866] NET: Registered protocol family 1
[    1.002290] RPC: Registered udp transport module.
[    1.006748] RPC: Registered tcp transport module.
[    1.011422] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.017987] PMU: registered new PMU device of type 0
[    1.022811] wifi power management
[    1.026307] SMDKC110/V210 RTC, (c) 2010 Samsung Electronics
[    1.031741] smdkc110-rtc smdkc110-rtc: rtc disabled, re-enabling
[    1.037818] smdkc110-rtc smdkc110-rtc: rtc core: registered s3c as rtc0
[    1.044317] S5PV210 ADC driver, (c) 2010 Samsung Electronics
[    1.050103] cpuidle: phy_regs_save:0x4fd7d000
[    1.054532] input: s3c-button as /devices/virtual/input/input0
[    1.060052] s3c button Initialized!!
[    1.063716] Loaded driver for PL330 DMAC-0 s3c-pl330
[    1.068543]  DBUFF-64x8bytes Num_Chans-8 Num_Peri-2 Num_Events-32
[    1.074669] Loaded driver for PL330 DMAC-1 s3c-pl330
[    1.079545]  DBUFF-8x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
[    1.085684] Loaded driver for PL330 DMAC-2 s3c-pl330
[    1.090545]  DBUFF-8x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
[    1.103353] ashmem: initialized
[    1.105628] NTFS driver 2.1.29 [Flags: R/W].
[    1.109301] JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    1.116321] ROMFS MTD (C) 2007 Red Hat, Inc.
[    1.120505] msgmni has been set to 640
[    1.126695] alg: No test for stdrng (krng)
[    1.129374] io scheduler noop registered
[    1.133258] io scheduler deadline registered
[    1.137479] io scheduler cfq registered (default)
[    1.142827] s3cfb s3cfb: [fb2] dma: 0x475ab000, cpu: 0xe1000000, size: 0x004b0000
[    1.153582] FIMD src sclk = 166750000
[    1.155816] s3cfb s3cfb: registered successfully
[    1.160371] Start display and show logo
[    1.264941] x210 led driver
[    1.332164] PA FB = 0x475AB000, bits per pixel = 32
[    1.335598] screen width=1024 height=600 va=0xd75ab000 pa=0x475ab000
[    1.341906] xres_virtual = 1024, yres_virtual = 1200, xoffset = 0, yoffset = 0
[    1.349089] fb_size=4915200
[    1.351875] Back frameBuffer[0].VAddr=d7803000 PAddr=47803000 size=2457600
[    1.359037] s5pv210-uart.0: s3c2410_serial0 at MMIO 0xe2900000 (irq = 16) is a S3C6400/10
[    1.367183] s5pv210-uart.1: s3c2410_serial1 at MMIO 0xe2900400 (irq = 20) is a S3C6400/10
[    1.375247] s5pv210-uart.2: s3c2410_serial2 at MMIO 0xe2900800 (irq = 24) is a S3C6400/10
[    1.383363] s5pv210-uart.3: s3c2410_serial3 at MMIO 0xe2900c00 (irq = 28) is a S3C6400/10
[    1.395623] brd: module loaded
[    1.399392] loop: module loaded
[    1.401128] pmem_gpu1: 1 init
[    1.404452] Android kernel panic handler initialized (bind=kpanic)
[    1.410625] S3C NAND Driver, (c) 2008 Samsung Electronics
[    1.415649] Unknown NAND Device.
[    1.418813] PPP generic driver version 2.4.2
[    1.423195] PPP Deflate Compression module registered
[    1.428028] PPP BSD Compression module registered
[    1.433416] PPP MPPE Compression module registered
[    1.437478] NET: Registered protocol family 24
[    1.443470] dm9000 Ethernet Driver, V1.31
[    1.447261] eth0: dm9000c at e08f4300,e08f8304 IRQ 42 MAC: 00:09:c0:ff:ec:48 (platform data)
[    1.454495] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.461048] s5p-ehci s5p-ehci: s5pv210 EHCI
[    1.465095] s5p-ehci s5p-ehci: new USB bus registered, assigned bus number 1
[    1.472177] s5p-ehci s5p-ehci: irq 87, io mem 0xec200000
[    1.486415] s5p-ehci s5p-ehci: USB 0.0 started, EHCI 1.00
[    1.490407] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.497107] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.504297] usb usb1: Product: s5pv210 EHCI
[    1.508450] usb usb1: Manufacturer: Linux 2.6.35.7+ ehci_hcd
[    1.514088] usb usb1: SerialNumber: s5pv210
[    1.518687] hub 1-0:1.0: USB hub found
[    1.521996] hub 1-0:1.0: 1 port detected
[    1.526053] Initializing USB Mass Storage driver...
[    1.530821] usbcore: registered new interface driver usb-storage
[    1.536703] USB Mass Storage support registered.
[    1.541546] mice: PS/2 mouse device common for all mice
[    1.546812] S5P Touchscreen driver, (c) 2008 Samsung Electronics
[    1.552573] s3c-ts s3c-ts: Created Median filter len:5 coords:2 dec_threshold:6
[    1.559777] s3c-ts s3c-ts: Created Mean filter len:3 coords:2
[    1.565519] s3c-ts s3c-ts: Created Linear filter coords:2
[    1.570861] s3c-ts s3c-ts: Created zoom filter coords:2
[    1.576050] s3c-ts s3c-ts: 4 filter(s) initialized
[    1.580837] S5P TouchScreen got loaded successfully : 12 bits
[    1.586697] input: S5P TouchScreen as /devices/virtual/input/input1
[    1.593113] [GSLX680] Enter gslX680_ts_init
[    1.597169] input: gslX680 as /devices/platform/s3c2440-i2c.1/i2c-1/1-0040/input/input2
[    1.830514] using rtc device, s3c, for alarms
[    1.833356] i2c /dev entries driver
[    1.837305] Linux video capture interface: v2.00
[    1.841581] gspca: main v2.9.0 registered
[    1.845576] s3c-csis: Samsung MIPI-CSI2 driver probed successfully
[    1.851651] mfc_init: <6>S5PC110 MFC Driver, (c) 2009 Samsung Electronics
[    1.851658]
[    1.860226] S3C JPEG Driver, (c) 2007 Samsung Electronics
[    1.865212] JPEG driver for S5PV210
[    1.869317] i2c i2c-1: attached s5p_ddc into i2c adapter successfully
[    1.875121] S5PC11X HPD Driver, (c) 2009 Samsung Electronics
[    1.880956] S5PC11X CEC Driver, (c) 2009 Samsung Electronics
[    1.886848] usbcore: registered new interface driver uvcvideo
[    1.892074] USB Video Class driver (v0.1.0)
[    1.897874] device-mapper: uevent: version 1.0.3
[    1.903651] gslX680 1-0040: read failed
[    1.906057] usb 1-1: new high speed USB device using s5p-ehci and address 2
[    1.913423] device-mapper: ioctl: 4.17.0-ioctl (2010-03-05) initialised: [email protected]
[    1.921426] cpuidle: using governor ladder
[    1.925506] cpuidle: using governor menu
[    1.929379] sdhci: Secure Digital Host Controller Interface driver
[    1.935478] sdhci: Copyright(c) Pierre Ossman
[    1.939926] s3c-sdhci s3c-sdhci.0: clock source 0: hsmmc (133400000 Hz)
[    1.946412] s3c-sdhci s3c-sdhci.0: clock source 1: hsmmc (133400000 Hz)
[    1.953003] s3c-sdhci s3c-sdhci.0: clock source 2: sclk_mmc (47642857 Hz)
[    1.959911] mmc0: SDHCI controller on samsung-hsmmc [s3c-sdhci.0] using ADMA
[    1.966821] s3c-sdhci s3c-sdhci.1: clock source 0: hsmmc (133400000 Hz)
[    1.973367] s3c-sdhci s3c-sdhci.1: clock source 1: hsmmc (133400000 Hz)
[    1.979955] s3c-sdhci s3c-sdhci.1: clock source 2: sclk_mmc (47642857 Hz)
[    2.057060] wifi power enabled
[    2.058726] mmc1: SDHCI controller on samsung-hsmmc [s3c-sdhci.1] using ADMA
[    2.065716] s3c-sdhci s3c-sdhci.2: clock source 0: hsmmc (133400000 Hz)
[    2.072273] s3c-sdhci s3c-sdhci.2: clock source 1: hsmmc (133400000 Hz)
[    2.078848] s3c-sdhci s3c-sdhci.2: clock source 2: sclk_mmc (47642857 Hz)
[    2.085711] mmc2: SDHCI controller on samsung-hsmmc [s3c-sdhci.2] using ADMA
[    2.092668] s3c-sdhci s3c-sdhci.3: clock source 0: hsmmc (133400000 Hz)
[    2.099211] s3c-sdhci s3c-sdhci.3: clock source 1: hsmmc (133400000 Hz)
[    2.105803] s3c-sdhci s3c-sdhci.3: clock source 2: sclk_mmc (47642857 Hz)
[    2.112675] mmc3: SDHCI controller on samsung-hsmmc [s3c-sdhci.3] using ADMA
[    2.120109] usbcore: registered new interface driver hiddev
[    2.125181] usbcore: registered new interface driver usbhid
[    2.130665] usbhid: USB HID core driver
[    2.134898] logger: created 64K log 'log_main'
[    2.139002] logger: created 256K log 'log_events'
[    2.143682] logger: created 64K log 'log_radio'
[    2.148181] logger: created 64K log 'log_system'
[    2.154784] No device for DAI WM8976 HiFi
[    2.157341] s3c64xx_iis_dai_init:s3c64xx-i2s0
[    2.161879] s3c64xx_iis_dev_probe:id0 !!!
[    2.165749] s3c64xx_iis_dai_init:s3c64xx-i2s1
[    2.170411] WM8976 Audio Codec 0.4wm8976_probe: i2c_master_send
[    2.176186] wm8976_init
[    2.231270] mmc0: new high speed MMC card at address 0001
[    2.235447] mmcblk0: mmc0:0001 004GE0 3.68 GiB
[    2.239978]  mmcblk0: p1 p2 p3 p4
[    2.257660] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    2.262890] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.270000] usb 1-1: Product: USB2.0 Hub
[    2.274637] hub 1-1:1.0: USB hub found
[    2.277910] hub 1-1:1.0: 4 ports detected
[    2.763180] mmc2: new high speed SDHC card at address aaaa
[    2.767388] mmcblk1: mmc2:aaaa SL16G 14.8 GiB
[    2.771812]  mmcblk1: p1 p2 p3 p4
[    2.953031] s3c_idma_preallocate_buffer:  VA-e0940000  PA-C0000000  163840bytes
[    2.959145] s3c_preallocate_dma_buffer: VA-ff007000, PA-4FF40000, 131072bytes
[    2.965973] asoc: WM8976 HiFi <-> s3c64xx-i2s0 mapping ok
[    2.974605] ALSA device list:
[    2.976114]   #0: smdkc1000 (WM8976)
[    2.979687] GACT probability NOT on
[    2.983130] Mirror/redirect action on
[    2.986767] u32 classifier
[    2.989436]     Actions configured
[    2.992828] Netfilter messages via NETLINK v0.30.
[    2.997570] nf_conntrack version 0.5.0 (5120 buckets, 20480 max)
[    3.003638] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
[    3.010860] nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
[    3.018741] sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
[    3.025538] ctnetlink v0.93: registering with nfnetlink.
[    3.030412] xt_time: kernel timezone is -0000
[    3.036617] ip_tables: (C) 2000-2006 Netfilter Core Team
[    3.040552] arp_tables: (C) 2002 David S. Miller
[    3.045118] TCP cubic registered
[    3.048266] NET: Registered protocol family 10
[    3.054489] lo: Disabled Privacy Extensions
[    3.061866] Mobile IPv6
[    3.062833] IPv6 over IPv4 tunneling driver
[    3.068563] sit0: Disabled Privacy Extensions
[    3.074284] ip6tnl0: Disabled Privacy Extensions
[    3.078780] NET: Registered protocol family 17
[    3.081876] NET: Registered protocol family 15
[    3.086312] lib80211: common routines for IEEE802.11 drivers
[    3.091991] ThumbEE CPU extension supported.
[    3.096255] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 2
[    3.104342] regulator_init_complete: disabling pd_mfc_supply
[    3.109423] regulator_init_complete: disabling pd_tv_supply
[    3.114966] regulator_init_complete: disabling pd_cam_supply
[    3.120636] smdkc110-rtc smdkc110-rtc: rtc disabled, re-enabling
[    3.126583] smdkc110-rtc smdkc110-rtc: setting system clock to 2010-01-01 22:19:28 UTC (1262384368)
[    3.137161] FIMC0 registered successfully
[    3.140992] FIMC1 registered successfully
[    3.144962] FIMC2 registered successfully
[    3.147737] <6>S5PC1XX TVOUT Driver, (c) 2009 Samsung Electronics
[    3.154421] s5p-tvout s5p-tvout: hpd status is cable removed
[    3.165458] DBUG_PORT must not use AFC!
[    3.209812] EXT4-fs (mmcblk1p4): recovery complete
[    3.214420] EXT4-fs (mmcblk1p4): mounted filesystem with ordered data mode. Opts: (null)
[    3.221209] VFS: Mounted root (ext3 filesystem) on device 179:12.
[    3.227298] Freeing init memory: 172K
[    3.373323] EXT4-fs (mmcblk1p4): re-mounted. Opts: barrier=1,nodelalloc,data=ordered
Starting logging: OK
Starting mdev...
Initializing random number generator... done.
Starting network...
[    4.361426] eth0: link down
[    4.362926] ADDRCONF(NETDEV_UP): eth0: link is not ready
udhcpc (v1.21.0) started
Sending discover...
[    6.056726] eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
[    6.061207] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Sending discover...
Sending select for 192.168.0.50...
Lease of 192.168.0.50 obtained, lease time 20
deleting routers
route: SIOCDELRT: No such process
adding dns 192.168.0.1
Starting sshd: OK
Starting qttest...
[    7.807028] EXT2-fs (mmcblk0p4): error: couldn't mount because of unsupported optional features (4)
[    7.830100] EXT4-fs (mmcblk0p4): warning: mounting unchecked fs, running e2fsck is recommended
[    7.838797] EXT4-fs (mmcblk0p4): recovery complete
[    7.842108] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: (null)
hdmi_x210 start
connect::m_flagHWConnected() fail
=============== HDMI Audio  =============
========= HDMI Mode & Color Space =======
=  1. HDMI(YCbCr)                       =
=  2. HDMI(RGB)                         =
=========== x210 HDMI Rseolution ========
=  4. 480P_60_16_9      (0x04000000)    =
=  5. 480P_60_4_3       (0x05000000)    =
=  6. 576P_50_16_9      (0x06000000)    =
=  7. 576P_50_4_3       (0x07000000)    =
=  8. 720P_60           (0x08000000)    =
=  9. 720P_50           (0x09000000)    =
=  a. 1080P_60          (0x0a000000)    =
=  b. 1080P_50          (0x0b000000)    =
=  c. 1080I_60          (0x0c000000)    =
=  d. 1080I_50          (0x0d000000)    =
=  i. 1080P_30          (0x12000000)    =
=========================================

Welcome to Buildroot
x210v3 login: Error opening mouse device '/dev/input/mouse2': No such file or directory

Welcome to Buildroot
x210v3 login:

 

你可能感兴趣的:(#,uboot,linux,运维,服务器)