x210项目重新回顾之七uboot_2013.10之nfs方式启动内核

开发板IP:131.128.52.97

虚拟机服务端ip:131.128.52.51

1)uboot设置bootargs 为nfs启动

setenv bootargs "root=/dev/nfs rw nfsroot=131.128.52.51:/tftpboot/nfs,proto=tcp,nfsvers=3,nolock  ip=131.128.52.97:131.128.52.51:131.128.52.1:255.255.255.0::eth0:off console=ttySAC2,115200 init=/linuxrc"
 

2)Linux内编译

A)make ARCH=arm x210ii_initrd_defconfig (初步配置,生成 .config)

B) 通过menuconfig二次修改,开启nfs配置(见我之前文章s5pv210的学习之路(21)x210的kernel的NFS的根文件系统编译,使用_weixin_43097675的博客-CSDN博客)

C)>修改 .config

这里nfs文件系统为九鼎提供的 rootfs_qt4.ext3 ,我把它mount 然后拷贝到/tftpboot/nfs/

CONFIG_CMDLINE=”noinitrd mem=512M console=ttySAC2,115200 root=/dev/nfs nfsroot=131.128.52.51:/tftpboot/nfs ip=131.128.52.97:131.128.52.51:131.128.52.51:255.255.255.0::eth0:off”

D)
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- -j 4

make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- zImage
make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage

>cp arch/arm/boot/ zImage /tftpboot/zImage-nfs

3)虚拟机服务端开启nfs服务

$ sudo apt install nfs-kernel-server
$ sudo chown nobody:nogroup /tftpboot/nfs
$ sudo chmod 777 /tftpboot/nfs
$ sudo nano /etc/exports (注意一定要可读写权限,否者内核启动会报权限问题)
/tftpboot/nfs           *(rw,sync,no_root_squash,subtree_check)

3)uboot下载内核,启动

>tftp 30008000 zImage-nfs  (zImage-nfs在虚拟机/tftpboot/里面)

>bootm 30008000 

启动后输出:

----------------------------

[    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) ) #1 PREEMPT Thu Jun 4 10:06:42 PDT 2020
[    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:root=/dev/nfs rw nfsroot=131.128.52.51:/tftpboot/nfs,proto=tcp,nfsvers=3,nolock  ip=131.128.52.97:131.128.52.51:131.128.52.1:255.255.255.0::eth0:off console=ttySAC2,115200 init=/linuxrc
[    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 0x30bf8000
[    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: root=/dev/nfs rw nfsroot=131.128.52.51:/tftpboot/nfs,proto=tcp,nfsvers=3,nolock  ip=131.128.52.97:131.128.52.51:131.128.52.1:255.255.255.0::eth0:off console=ttySAC2,115200 init=/linuxrc
[    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: 327768k/327768k available, 196520k 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 - 0xc0032000   ( 168 kB)
[    0.000000]       .text : 0xc0032000 - 0xc06dd000   (6828 kB)
[    0.000000]       .data : 0xc06de000 - 0xc072ac40   ( 308 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.524658] Calibrating delay loop... 998.15 BogoMIPS (lpj=1949696)
[    0.610510] pid_max: default: 32768 minimum: 301
[    0.615158] Mount-cache hash table entries: 512
[    0.619887] Initializing cgroup subsys debug
[    0.623871] Initializing cgroup subsys cpuacct
[    0.628283] Initializing cgroup subsys freezer
[    0.632723] CPU: Testing write buffer coherency: ok
[    0.639499] regulator: core version 0.5
[    0.641990] NET: Registered protocol family 16
[    0.651648] S3C Power Management, Copyright 2004 Simtec Electronics
[    0.656447] pmstats at 00000000
[    0.659572] Open OV2655 camema sensor
[    0.796887] smdkc110_setup_clocks: sclk_mmc: source is mout_mpll, rate is 47642857
[    0.802998] smdkc110_setup_clocks: sclk_mmc: source is mout_mpll, rate is 47642857
[    0.810532] smdkc110_setup_clocks: sclk_mmc: source is mout_mpll, rate is 47642857
[    0.818070] smdkc110_setup_clocks: sclk_mmc: source is mout_mpll, rate is 47642857
[    0.825616] smdkv210_nand_io_init
[    0.829270] S5PV210: Initializing architecture
[    0.833615] s3c24xx-pwm s3c24xx-pwm.0: tin at 66700000, tdiv at 66700000, tin=divclk, base 0
[    0.841747] s3c24xx-pwm s3c24xx-pwm.1: tin at 66700000, tdiv at 66700000, tin=divclk, base 8
[    0.850149] s3c24xx-pwm s3c24xx-pwm.2: tin at 66700000, tdiv at 66700000, tin=divclk, base 12
[    0.858640] s3c24xx-pwm s3c24xx-pwm.3: tin at 66700000, tdiv at 66700000, tin=divclk, base 16
[    0.867251] regulator: pd_audio_supply: 5000 mV normal
[    0.872411] regulator: pd_cam_supply: 5000 mV normal
[    0.877424] regulator: pd_tv_supply: 5000 mV normal
[    0.882357] regulator: pd_lcd_supply: 5000 mV normal
[    0.887384] regulator: pd_g3d_supply: 5000 mV normal
[    0.892409] regulator: pd_mfc_supply: 5000 mV normal
[    0.903276] bio: create slab at 0
[    0.906369] SCSI subsystem initialized
[    0.909660] usbcore: registered new interface driver usbfs
[    0.915057] usbcore: registered new interface driver hub
[    0.920378] usbcore: registered new device driver usb
[    0.925713] s3c-i2c s3c2440-i2c.0: i2c-0: S3C I2C adapter
[    0.930864] s3c-i2c s3c2440-i2c.1: i2c-1: S3C I2C adapter
[    0.936236] s3c-i2c s3c2440-i2c.2: i2c-2: S3C I2C adapter
[    0.941732] Advanced Linux Sound Architecture Driver Version 1.0.23.
[    0.948143] Sangoma WANPIPE Router v1.1 (c) 1995-2000 Sangoma Technologies Inc.
[    0.955270] cfg80211: Calling CRDA to update world regulatory domain
[    0.961551] Switching to clocksource clock_source_systimer
[    0.971963] NET: Registered protocol family 2
[    0.975028] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.982455] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.989267] TCP bind hash table entries: 16384 (order: 6, 327680 bytes)
[    0.996002] TCP: Hash tables configured (established 16384 bind 16384)
[    1.002057] TCP reno registered
[    1.005166] UDP hash table entries: 256 (order: 1, 12288 bytes)
[    1.011088] UDP-Lite hash table entries: 256 (order: 1, 12288 bytes)
[    1.017526] NET: Registered protocol family 1
[    1.021956] RPC: Registered udp transport module.
[    1.026411] RPC: Registered tcp transport module.
[    1.031085] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.037652] PMU: registered new PMU device of type 0
[    1.042473] wifi power management
[    1.045967] SMDKC110/V210 RTC, (c) 2010 Samsung Electronics
[    1.051404] smdkc110-rtc smdkc110-rtc: rtc disabled, re-enabling
[    1.057475] smdkc110-rtc smdkc110-rtc: rtc core: registered s3c as rtc0
[    1.063978] S5PV210 ADC driver, (c) 2010 Samsung Electronics
[    1.069771] cpuidle: phy_regs_save:0x4fd7d000
[    1.074201] input: s3c-button as /devices/virtual/input/input0
[    1.079714] s3c button Initialized!!
[    1.083375] Loaded driver for PL330 DMAC-0 s3c-pl330
[    1.088205]  DBUFF-64x8bytes Num_Chans-8 Num_Peri-2 Num_Events-32
[    1.094328] Loaded driver for PL330 DMAC-1 s3c-pl330
[    1.099206]  DBUFF-8x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
[    1.105345] Loaded driver for PL330 DMAC-2 s3c-pl330
[    1.110207]  DBUFF-8x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
[    1.123112] ashmem: initialized
[    1.125377] NTFS driver 2.1.29 [Flags: R/W].
[    1.129060] JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    1.136083] ROMFS MTD (C) 2007 Red Hat, Inc.
[    1.140263] msgmni has been set to 640
[    1.146450] alg: No test for stdrng (krng)
[    1.149129] io scheduler noop registered
[    1.153013] io scheduler deadline registered
[    1.157237] io scheduler cfq registered (default)
[    1.162666] s3cfb s3cfb: [fb2] dma: 0x475ab000, cpu: 0xe1000000, size: 0x004b0000
[    1.182286] Console: switching to colour frame buffer device 128x37
[    1.195632] FIMD src sclk = 166750000
[    1.198848] s3cfb s3cfb: registered successfully
[    1.304004] x210 led driver
[    1.371843] PA FB = 0x475AB000, bits per pixel = 32
[    1.375274] screen width=1024 height=600 va=0xd75ab000 pa=0x475ab000
[    1.381588] xres_virtual = 1024, yres_virtual = 1200, xoffset = 0, yoffset = 0
[    1.388774] fb_size=4915200
[    1.391532] Back frameBuffer[0].VAddr=d7803000 PAddr=47803000 size=2457600
[    1.398720] s5pv210-uart.0: s3c2410_serial0 at MMIO 0xe2900000 (irq = 16) is a S3C6400/10
[    1.406867] s5pv210-uart.1: s3c2410_serial1 at MMIO 0xe2900400 (irq = 20) is a S3C6400/10
[    1.414925] s5pv210-uart.2: s3c2410_serial2 at MMIO 0xe2900800 (irq = 24) is a S3C6400/10
[    1.423055] s5pv210-uart.3: s3c2410_serial3 at MMIO 0xe2900c00 (irq = 28) is a S3C6400/10
[    1.435371] brd: module loaded
[    1.439173] loop: module loaded
[    1.440899] pmem_gpu1: 1 init
[    1.444210] Android kernel panic handler initialized (bind=kpanic)
[    1.450412] S3C NAND Driver, (c) 2008 Samsung Electronics
[    1.455429] Unknown NAND Device.
[    1.458571] PPP generic driver version 2.4.2
[    1.462967] PPP Deflate Compression module registered
[    1.467804] PPP BSD Compression module registered
[    1.473190] PPP MPPE Compression module registered
[    1.477254] NET: Registered protocol family 24
[    1.483241] dm9000 Ethernet Driver, V1.31
[    1.487065] eth0: dm9000c at e08f4300,e08f8304 IRQ 42 MAC: 00:09:c0:ff:ec:48 (platform data)
[    1.494258] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.500818] s5p-ehci s5p-ehci: s5pv210 EHCI
[    1.504877] s5p-ehci s5p-ehci: new USB bus registered, assigned bus number 1
[    1.511951] s5p-ehci s5p-ehci: irq 87, io mem 0xec200000
[    1.525532] s5p-ehci s5p-ehci: USB 0.0 started, EHCI 1.00
[    1.529523] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.536223] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.543414] usb usb1: Product: s5pv210 EHCI
[    1.547567] usb usb1: Manufacturer: Linux 2.6.35.7+ ehci_hcd
[    1.553204] usb usb1: SerialNumber: s5pv210
[    1.557793] hub 1-0:1.0: USB hub found
[    1.561116] hub 1-0:1.0: 1 port detected
[    1.565172] Initializing USB Mass Storage driver...
[    1.569946] usbcore: registered new interface driver usb-storage
[    1.575827] USB Mass Storage support registered.
[    1.580671] mice: PS/2 mouse device common for all mice
[    1.585948] S5P Touchscreen driver, (c) 2008 Samsung Electronics
[    1.591688] s3c-ts s3c-ts: Created Median filter len:5 coords:2 dec_threshold:6
[    1.598883] s3c-ts s3c-ts: Created Mean filter len:3 coords:2
[    1.604632] s3c-ts s3c-ts: Created Linear filter coords:2
[    1.609978] s3c-ts s3c-ts: Created zoom filter coords:2
[    1.615167] s3c-ts s3c-ts: 4 filter(s) initialized
[    1.619954] S5P TouchScreen got loaded successfully : 12 bits
[    1.625805] input: S5P TouchScreen as /devices/virtual/input/input1
[    1.632389] using rtc device, s3c, for alarms
[    1.636176] i2c /dev entries driver
[    1.640136] Linux video capture interface: v2.00
[    1.644360] gspca: main v2.9.0 registered
[    1.648395] s3c-csis: Samsung MIPI-CSI2 driver probed successfully
[    1.654472] mfc_init: <6>S5PC110 MFC Driver, (c) 2009 Samsung Electronics
[    1.654479]
[    1.663028] S3C JPEG Driver, (c) 2007 Samsung Electronics
[    1.668030] JPEG driver for S5PV210
[    1.672085] i2c i2c-1: attached s5p_ddc into i2c adapter successfully
[    1.677951] S5PC11X HPD Driver, (c) 2009 Samsung Electronics
[    1.683733] S5PC11X CEC Driver, (c) 2009 Samsung Electronics
[    1.689702] usbcore: registered new interface driver uvcvideo
[    1.694892] USB Video Class driver (v0.1.0)
[    1.700994] device-mapper: uevent: version 1.0.3
[    1.707029] device-mapper: ioctl: 4.17.0-ioctl (2010-03-05) initialised: [email protected]
[    1.714075] cpuidle: using governor ladder
[    1.718138] cpuidle: using governor menu
[    1.722011] sdhci: Secure Digital Host Controller Interface driver
[    1.728121] sdhci: Copyright(c) Pierre Ossman
[    1.732576] s3c-sdhci s3c-sdhci.0: clock source 0: hsmmc (133400000 Hz)
[    1.739053] s3c-sdhci s3c-sdhci.0: clock source 1: hsmmc (133400000 Hz)
[    1.745641] s3c-sdhci s3c-sdhci.0: clock source 2: sclk_mmc (47642857 Hz)
[    1.752541] mmc0: SDHCI controller on samsung-hsmmc [s3c-sdhci.0] using ADMA
[    1.759452] s3c-sdhci s3c-sdhci.1: clock source 0: hsmmc (133400000 Hz)
[    1.766011] s3c-sdhci s3c-sdhci.1: clock source 1: hsmmc (133400000 Hz)
[    1.772597] s3c-sdhci s3c-sdhci.1: clock source 2: sclk_mmc (47642857 Hz)
[    1.849689] wifi power enabled
[    1.851381] mmc1: SDHCI controller on samsung-hsmmc [s3c-sdhci.1] using ADMA
[    1.858349] s3c-sdhci s3c-sdhci.2: clock source 0: hsmmc (133400000 Hz)
[    1.864892] s3c-sdhci s3c-sdhci.2: clock source 1: hsmmc (133400000 Hz)
[    1.871484] s3c-sdhci s3c-sdhci.2: clock source 2: sclk_mmc (47642857 Hz)
[    1.878348] mmc2: SDHCI controller on samsung-hsmmc [s3c-sdhci.2] using ADMA
[    1.885295] s3c-sdhci s3c-sdhci.3: clock source 0: hsmmc (133400000 Hz)
[    1.891845] s3c-sdhci s3c-sdhci.3: clock source 1: hsmmc (133400000 Hz)
[    1.898434] s3c-sdhci s3c-sdhci.3: clock source 2: sclk_mmc (47642857 Hz)
[    1.905300] mmc3: SDHCI controller on samsung-hsmmc [s3c-sdhci.3] using ADMA
[    1.912802] usbcore: registered new interface driver hiddev
[    1.917820] usbcore: registered new interface driver usbhid
[    1.923293] usbhid: USB HID core driver
[    1.927488] logger: created 64K log 'log_main'
[    1.931660] logger: created 256K log 'log_events'
[    1.936321] logger: created 64K log 'log_radio'
[    1.940814] logger: created 64K log 'log_system'
[    1.947435] No device for DAI WM8976 HiFi
[    1.949991] s3c64xx_iis_dai_init:s3c64xx-i2s0
[    1.954530] s3c64xx_iis_dev_probe:id0 !!!
[    1.958405] s3c64xx_iis_dai_init:s3c64xx-i2s1
[    1.963103] WM8976 Audio Codec 0.4wm8976_probe: i2c_master_send
[    1.968841] wm8976_init
[    2.024275] mmc0: new high speed MMC card at address 0001
[    2.028221] usb 1-1: new high speed USB device using s5p-ehci and address 2
[    2.035352] mmcblk0: mmc0:0001 004GE0 3.68 GiB
[    2.039934]  mmcblk0: p1 p2 p3 p4
[    2.171678] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    2.176918] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.184018] usb 1-1: Product: USB2.0 Hub
[    2.188668] hub 1-1:1.0: USB hub found
[    2.191932] hub 1-1:1.0: 4 ports detected
[    2.531285] mmc2: new high speed SDHC card at address 21e1
[    2.535492] mmcblk1: mmc2:21e1 APPSD 7.61 GiB
[    2.539918]  mmcblk1: p1
[    2.746010] s3c_idma_preallocate_buffer:  VA-e0940000  PA-C0000000  163840bytes
[    2.752258] s3c_preallocate_dma_buffer: VA-ff007000, PA-4FF40000, 131072bytes
[    2.758949] asoc: WM8976 HiFi <-> s3c64xx-i2s0 mapping ok
[    2.767565] ALSA device list:
[    2.769082]   #0: smdkc1000 (WM8976)
[    2.772649] GACT probability NOT on
[    2.776090] Mirror/redirect action on
[    2.779727] u32 classifier
[    2.782392]     Actions configured
[    2.785788] Netfilter messages via NETLINK v0.30.
[    2.790529] nf_conntrack version 0.5.0 (5121 buckets, 20484 max)
[    2.796604] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
[    2.803821] nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
[    2.811701] sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
[    2.818500] ctnetlink v0.93: registering with nfnetlink.
[    2.823247] xt_time: kernel timezone is -0000
[    2.829566] ip_tables: (C) 2000-2006 Netfilter Core Team
[    2.833502] arp_tables: (C) 2002 David S. Miller
[    2.838066] TCP cubic registered
[    2.841216] NET: Registered protocol family 10
[    2.847569] lo: Disabled Privacy Extensions
[    2.854947] Mobile IPv6
[    2.855913] IPv6 over IPv4 tunneling driver
[    2.861610] sit0: Disabled Privacy Extensions
[    2.867307] ip6tnl0: Disabled Privacy Extensions
[    2.871807] NET: Registered protocol family 17
[    2.874897] NET: Registered protocol family 15
[    2.879332] lib80211: common routines for IEEE802.11 drivers
[    2.885000] ThumbEE CPU extension supported.
[    2.889281] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 2
[    2.897338] regulator_init_complete: disabling pd_mfc_supply
[    2.902445] regulator_init_complete: disabling pd_tv_supply
[    2.907982] regulator_init_complete: disabling pd_cam_supply
[    2.913660] smdkc110-rtc smdkc110-rtc: rtc disabled, re-enabling
[    2.919604] smdkc110-rtc smdkc110-rtc: setting system clock to 2010-01-01 12:12:56 UTC (1262347976)
[    2.930076] FIMC0 registered successfully
[    2.933901] FIMC1 registered successfully
[    2.937877] FIMC2 registered successfully
[    2.940652] <6>S5PC1XX TVOUT Driver, (c) 2009 Samsung Electronics
[    2.947460] s5p-tvout s5p-tvout: hpd status is cable removed
[    3.498187] eth0: link down
[    3.499655] ADDRCONF(NETDEV_UP): eth0: link is not ready
[    4.506513] IP-Config: Complete:
[    4.508082]      device=eth0, addr=131.128.52.97, mask=255.255.255.0, gw=131.128.52.1,
[    4.515882]      host=131.128.52.97, domain=, nis-domain=(none),
[    4.521880]      bootserver=131.128.52.51, rootserver=131.128.52.51, rootpath=
[    4.529475] DBUG_PORT must not use AFC!
[    4.533183] Looking up port of RPC 100003/3 on 131.128.52.51
[    5.197390] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[    5.201606] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    5.547765] Looking up port of RPC 100005/3 on 131.128.52.51
[    5.563429] VFS: Mounted root (nfs filesystem) on device 0:12.
[    5.567840] Freeing init memory: 168K
Starting logging: OK
Starting mdev...
Initializing random number generator... done.
Starting network...
ip: RTNETLINK answers: File exists
ip: RTNETLINK answers: File exists
ip: RTNETLINK answers: File exists
Generating RSA Key...
Generating public/private rsa1 key pair.
Your identification has been saved in /etc/ssh_host_key.
Your public key has been saved in /etc/ssh_host_key.pub.
The key fingerprint is:
88:2b:54:f4:09:ad:88:7e:9e:31:bf:52:0f:1d:e5:5d
The key's randomart image is:
+--[RSA1 2048]----+
|    o.           |
|   . o.. .   E   |
| . ...o o . .    |
|. .... o . .     |
|. . . o S        |
| o + + .         |
|  + B o          |
|   = . .         |
|    ...          |
+-----------------+
Generating RSA Key...
Generating public/private rsa key pair.
Your identification has been saved in /etc/ssh_host_rsa_key.
Your public key has been saved in /etc/ssh_host_rsa_key.pub.
The key fingerprint is:
23:54:f3:c8:b8:9b:41:61:67:14:a4:47:bc:61:4a:ab
The key's randomart image is:
+--[ RSA 2048]----+
|      o+X.       |
|     ..X++       |
|     .=++o.      |
|     ooo.        |
|     .+ S        |
|    E  = .       |
|      o          |
|                 |
|                 |
+-----------------+
Generating DSA Key...
THIS CAN TAKE A MINUTE OR TWO DEPENDING ON YOUR PROCESSOR!

Generating public/private dsa key pair.

Your identification has been saved in /etc/ssh_host_dsa_key.
Your public key has been saved in /etc/ssh_host_dsa_key.pub.
The key fingerprint is:
15:18:40:ec:88:97:0c:52:e7:bb:5f:c3:1b:5f:07:4f
The key's randomart image is:
+--[ DSA 1024]----+
| .. .oo..o.      |
|. .o  . .  .     |
| . +.+    .      |
|  . =..  .       |
|   ..   S   . E  |
|     . .     +   |
|    .   =   . o  |
|     . . = . .   |
|      . . .      |
+-----------------+
Generating ECDSA Key...
THIS CAN TAKE A MINUTE OR TWO DEPENDING ON YOUR PROCESSOR!

Generating public/private ecdsa key pair.
Your identification has been saved in /etc/ssh_host_ecdsa_key.
Your public key has been saved in /etc/ssh_host_ecdsa_key.pub.
The key fingerprint is:
f5:57:72:96:de:21:f2:1d:e9:de:26:02:92:ea:d1:cb
The key's randomart image is:
+--[ECDSA  256]---+
|                 |
|                o|
|          .. ..=+|
|         o .o ==+|
|        S . ...+.|
|       o . . .. .|
|      o .   . ..o|
|     . o .   . o |
|      . E        |
+-----------------+
Starting sshd: /var/empty must be owned by root and not group or world-writable.
OK
Starting qttest...
[   17.797673] EXT2-fs (mmcblk0p4): error: couldn't mount because of unsupported optional features (4)
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)    =
=========================================
[   18.433824] EXT4-fs (mmcblk0p4): warning: maximal mount count reached, running e2fsck is recommended
[   18.452072] EXT4-fs (mmcblk0p4): 1 orphan inode deleted
[   18.461046] EXT4-fs (mmcblk0p4): recovery complete
[   18.488949] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: (null)

Welcome to Buildroot
x210v3 login: Error opening mouse device '/dev/input/mouse2': No such file or directory
QWSTslibMouseHandlerPrivate: ts_open() failed with error: 'No such file or directory'
Please check your tslib installation!

Welcome to Buildroot
x210v3 login: root (注意我这里去掉了shadow里面对应root密码,所以输入用户名root后直接登录)
[root@x210v3 ~]# ls

tftp问题解决:

如果出现找不到文件,不能下载,可以尝试重新安装tftp:

sudo apt-get install xinetd tftpd tftp

2)并且添加tftp用户:

sudo chmod -R 777 /tftpboot
sudo chown -R nobody /tftpboot
sudo service xinetd restart

你可能感兴趣的:(#,uboot,linux,网络,运维)