LS1021ATWR开发板启动日志分析

一.背景

LS1021ATWR开发板运行官方的openwrt系统

二.日志分析

2.1 linux相关日志

root@OpenWrt:/# reboot  重启

root@OpenWrt:/# [ 2324.325719] device eth0 left promiscuous mode 网卡eth0离开混杂模式

[ 2324.330172] br-lan: port 1(eth0) entered disabled state 网卡eth0进入禁用状态

[ 2324.346789] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready 网卡eth0没有准备好(eth0已被设置成禁用状态,那当然就没准备好咯,个人理解,后期要验证正确性)

[ 2328.827364] kvm: exiting hardware virtualization 退出kvm的硬件虚拟化

[ 2328.832026] sd 0:0:0:0: [sda] Synchronizing SCSI cache 同步scsi缓存,也就是在重启之前保存数据,以免数据丢失

[ 2328.839657] imx2-wdt 2ad0000.watchdog: Device shutdown: Expect reboot! 设备关闭,看门狗期待重启

[ 2328.886907] reboot: Restarting system 重启系统

2.2 uboot相关日志 

U-Boot 2016.092.0+g199df35 (Nov 20 2016 - 12:55:53 +0800)

CPU:   Freescale LayerScape LS1021E, Version: 2.0, (0x87081120)  CPU为飞思卡尔的layerscape LS1021E芯片,不是LS1021A吗? print_cpuinfo(),arch/arm/cpu/armv7/ls1021xa/cpu.c,CONFIG_DISPLAY_CPUINFO,涉及到系统版本寄存器SVR(system version register),从寄存器中读取了various personality字段,字段中的值为0x11,表示LS1021A 芯片,E表示带有安全模块的LS1021A芯片

Clock Configuration:

       CPU0(ARMV7):1000 MHz, CPU0的频率被配置为1000MHz,那么CPU1怎么没被配置,难道并没有使用它?需要确认 ,print_cpuinfo()

       Bus:300  MHz, DDR:800  MHz (1600 MT/s data rate), 总线频率为300MHz,DDR频率为800MHz,1600 MT/s表示每秒1600兆次数据传输,反映单位时间内的传输速度,T表示Times,为什么是1600,因为HT是双向传输,所以除以2就是单向传输的速率,也就是频率800MHz,HT表示端到端总线技术,即HyperTransport print_cpuinfo()

Reset Configuration Word (RCW):   重置配置字,是芯片复位之后在程序执行过程中需要使用到的硬件配置信息,包括系统时钟、DDR时钟、serdes配置、启动方式、GPIO复用配置等,RCW存储在flash或sd卡的何处呢?这个需要查看芯片手册中的Starting Address,print_cpuinfo(),以下是RCW状态寄存器的信息,一共有16个这样的寄存器,一个寄存器4个字节,那么16个这样的寄存器就是4*16*8 = 512 bit

       00000000: 0608000a 00000000 00000000 00000000

       00000010: 30000000 00007900 e0025a00 21046000

       00000020: 00000000 00000000 00000000 18000000

       00000030: 00080000 481b7340 00000000 00000000

Model: LS1021A TWR Board  型号为LS1021A TWR Board  ,这个值是从device tree中获得,show_board_info(),获取的标记为model;

Board: LS1021ATWR 板子为LS1021ATWR checkboard(),board/freescale/ls1021/atwr/ls1021atwr.c

CPLD:  V3.0  复杂可编程逻辑器件(Complex Programmable Logic Device),cpld_show(),board/freescale/ls1021/atwr/ls1021atwr.c

PCBA:  V2.0 指已经在PCB空板上贴片好所有元器件的板子(PCB Assembly), cpld_show()

VBank: 0   vbank是一个寄存器名字,属于CPLD上的寄存器,用来表明选择的是flash的哪个bank,此处选择的是bank0,寄存器的bit[0]来表示bank的范围,因此此bit只有两个值,0表示从bank0(upper bank)启动,1表示从bank1(lower bank)启动, cpld_show()

I2C:   ready   I2C准备妥当(Inter-Integrated Circuit) ,init_func_i2c(),common/board_f.c,初始化i2c,该函数被填充到init_sequence_f数组中

DRAM:  1 GiB  内存为1GiB(Dynamic Random Access Memory)  dram_init(),board/freescale/ls1021atwr/ls1021atwr.c,“DRAM:“由announce_dram_init()输出, show_dram_config()输出内存大小,common/board_f.c

Using SERDES1 Protocol: 48 (0x30)   使用SERDES1协议,是一种时分多路复用(TDM:Time Division Multiplexing)、点对点(P2P:Point to Point)的串行通信技术,(Serializer/Deserializer串行器解串器),serdes_init(),arch/arm/cpu/armv7/fsl_lsl_serdes.c,0x30从LS1021ARM.pdf中可以得知其表明支持的网络协议为:PCIe1(x1)、SATA1、SGMII1、SGMII2

Firmware 'Microcode version 0.0.1 for LS1021a r1.0' for 1021 V1.0  固件,u_qe_upload_firmware(),drivers/qe/qe.c 上传微代码到指令RAM的指定地址,详情查看docs/README.qe_firmware中针对QE微代码上传的信息;

QE: uploading microcode 'Microcode for LS1021a r1.0' version 0.0.1 上传微代码?什么意思?需要确认(QUICC Engine),qe_upload_microcode(),drivers/qe/qe.c,属于qe_upload_firmware中的worker函数,实际做的就是上传微代码;

Flash: 128 MiB flash大小为128MiB,这个远程开发板上还插着一个320GiB的硬盘

MMC:   FSL_SDHC: 0 插着一个容量为16GiB的sd卡,实际容量14.5 GiB

EEPROM: NXID v16777216 具有一个eeprom  ,mac_read_from_eeprom(),board/freescale/common/sys_eeprom.c,此函数在init_sequence_r数组中

In:    serial 串口输入   console_init_r(),common/board_r.c->stdio_print_current_devices(),common/console.c,

Out:   serial 串口输出

Err:   serial 错误也由串口输出

SEC0: RNG instantiated RNG实例化了,SEC0是安全相关的硬件模块(SEC:security,RNG:Random Number Generators,随机数生成器),misc_init_r(),board/freescale/ls1021atwr/ls1021atwr.c->sec_init(),board/freescale/ls1021atwr/ls1021atwr.c

Target spinup took 0 ms.  ahci_host_init(),drivers/ata/ahci.c,驱动提供scsi接口给sata

AHCI 0001.0300 1 slots 1 ports ? Gbps 0x1 impl SATA mode   1个sata插槽,1个接口,多少Gbps,1次impl,SATA 模式,ahci_print_info(),drivers/ata/ahci.c,(AHCI:Advanced Host Controller Interface)

flags: 64bit ncq pm clo only pmp fbss pio slum part ccc  当前硬盘具有什么样的能力

Found 1 device(s).  找到一个硬盘,scsi_scan(),drivers/scsi/scsi.c

SCSI:  Net:   eTSEC1 is in sgmii mode.   “SCSI:”由Initr_scsi()输出,drivers/scsi/scsi.c;”Net:” 由initr_net输出,common/board_r.c->eth_initialize(),net/eth_legacy.c

eTSEC2 is in sgmii mode.  eth_initialize(),net/eth-legacy.c ->board_eth_init(),board/freescale/ls1021atwr/ls1021atwr.c

PCIe0: pcie@3400000 Root Complex: x1 gen1    ls_pcie_probe(),drivers/pci/pcie_layerscape.c,这里共分两个地方打印,第一次打印”PCIe0: pcie@3400000 Root Complex”,第二次打印”:x1 gen1”,表示一路PCIe,第一代速度

PCIe1: pcie@3500000 disabled   ls_pcie_probe(),PCIe1被禁止

e1000: 00:15:17:80:ae:56   pci_eth_init(),include/netdev.h->e1000_initialize(),drivers/net/e1000.c->e1000_init_one

       eTSEC1, eTSEC2, eTSEC3, e1000#0 [PRIME]  eth_initialize(),net/eth_legacy.c,”e1000#0”是在e1000_name()中生成的,drivers/net/e1000.c

Hit any key to stop autoboot:  0                     run_main_loop(),common/board_r.c->main_loop(),common/main.c->bootdelay_process(),common/autoboot.c->menu_show()->bootmenu_show()->bootmenu_choice_entry()->bootmenu_autoboot_loop(),cmd/bootmenu.c,run_main_loop()函数被放在init_sequence_r数组中

Now switch to boot from flash bank 1.        flash_bank_cmd(),board/freescale/ls1021atwr/ls1021atwr.c->convert_flash_bank(),board_freescale/ls1021atwr/ls1021atwr.c

Reset board to enable configuration.▒

U-Boot 2018.03 (Aug 13 2018 - 10:41:50 +0000)

CPU:   Freescale LayerScape LS1021E, Version: 2.0, (0x87081120)

Clock Configuration:

       CPU0(ARMV7):1200 MHz,

       Bus:300  MHz, DDR:800  MHz (1600 MT/s data rate),

Reset Configuration Word (RCW):

       00000000: 0608000c 00000000 00000000 00000000

       00000010: 30000000 00007900 e0025a00 21046000

       00000020: 00000000 00000000 00000000 18000000

       00000030: 00080000 481b7340 00000000 00000000

Model: LS1021A TWR Board

Board: LS1021ATWR

CPLD:  V3.0

PCBA:  V2.0

VBank: 1

I2C:   ready

DRAM:  1 GiB

Using SERDES1 Protocol: 48 (0x30)

Not a microcode

Flash: 128 MiB

MMC:   FSL_SDHC: 0

Loading Environment from Flash... OK

EEPROM: NXID v16777216

In:    serial

Out:   serial

Err:   serial

SEC0: RNG instantiated

Target spinup took 0 ms.

AHCI 0001.0300 1 slots 1 ports ? Gbps 0x1 impl SATA mode

flags: 64bit ncq pm clo only pmp fbss pio slum part ccc

Found 1 device(s).

SCSI:  Net:   eTSEC1 is in sgmii mode.

eTSEC2 is in sgmii mode.

PCIe0: pcie@3400000 Root Complex: x1 gen1

PCIe1: pcie@3500000 disabled

e1000: 00:15:17:80:ae:56

       eTSEC1, eTSEC2, eTSEC3, e1000#0

Hit any key to stop autoboot:  0

starting openwrt ...

## Booting kernel from Legacy Image at 81000000 ...

   Image Name:   ARM OpenWrt Linux-4.9.109

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    4142528 Bytes = 4 MiB

   Load Address: 80008000

   Entry Point:  80008000

   Verifying Checksum ... OK

## Flattened Device Tree blob at 8f000000

   Booting using the fdt blob at 0x8f000000

   Loading Kernel Image ... OK

   Using Device Tree in place at 8f000000, end 8f0075cc

Starting kernel ...

2.3 linux启动log 

[    0.000000] Booting Linux on physical CPU 0xf00

[    0.000000] Linux version 4.9.109 (nxf49783@BP) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7359+25-b06c447c5f) ) #0 SMP Mon Aug 13 10:41:50 2018

[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=30c5387d

[    0.000000] CPU: div instructions available: patching division code

[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

[    0.000000] OF: fdt:Machine model: LS1021A TWR Board

[    0.000000] earlycon: uart8250 at MMIO 0x00000000021c0500 (options '')

[    0.000000] bootconsole [uart8250] enabled

[    0.000000] efi: Getting EFI parameters from FDT:

[    0.000000] efi: UEFI not found.

[    0.000000] cma: Reserved 64 MiB at 0x00000000bc000000

[    0.000000] Memory policy: Data cache writealloc

[    0.000000] psci: probing for conduit method from DT.

[    0.000000] psci: PSCIv1.0 detected in firmware.

[    0.000000] psci: Using standard PSCI v0.2 function IDs

[    0.000000] psci: MIGRATE_INFO_TYPE not supported.

[    0.000000] psci: SMC Calling Convention v1.0

[    0.000000] percpu: Embedded 14 pages/cpu @ef7cf000 s25036 r8192 d24116 u57344

[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260608

[    0.000000] Kernel command line: root=/dev/mtdblock6 rootfstype=squashfs,jffs2 noinitrd earlycon=uart8250,mmio,0x21c0500 console=ttyS0,115200 mtdparts=60000000.nor:1m(rcw),2m(u-boot),1m(u-boot-env),11m(reserved-1),1m(dtb),16m(kernel),32m(rootfs)

[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)

[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)

[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)

[    0.000000] Memory: 963036K/1048576K available (6144K kernel code, 263K rwdata, 1868K rodata, 2048K init, 288K bss, 20004K reserved, 65536K cma-reserved, 196608K highmem)

[    0.000000] Virtual kernel memory layout:

[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)

[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)

[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)

[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)

[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)

[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)

[    0.000000]       .text : 0xc0008000 - 0xc0800000   (8160 kB)

[    0.000000]       .init : 0xc0a00000 - 0xc0c00000   (2048 kB)

[    0.000000]       .data : 0xc0c00000 - 0xc0c41f80   ( 264 kB)

[    0.000000]        .bss : 0xc0c43000 - 0xc0c8b0d8   ( 289 kB)

[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1

[    0.000000] Hierarchical RCU implementation.

[    0.000000]  Build-time adjustment of leaf fanout to 32.

[    0.000000]  RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=2.

[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2

[    0.000000] NR_IRQS:16 nr_irqs:16 16

[    0.000000] GIC: Using split EOI/Deactivate mode

[    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 12.50MHz (phys).

[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049cda, max_idle_ns: 440795202628 ns

[    0.000006] sched_clock: 56 bits at 12MHz, resolution 80ns, wraps every 4398046511080ns

[    0.008013] Switching to timer-based delay loop, resolution 80ns

[    0.014665] Console: colour dummy device 80x30

[    0.019125] Calibrating delay loop (skipped), value calculated using timer frequency.. 25.00 BogoMIPS (lpj=125000)

[    0.029497] pid_max: default: 32768 minimum: 301

[    0.034174] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)

[    0.040801] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)

[    0.048329] CPU: Testing write buffer coherency: ok

[    0.053450] CPU0: update cpu_capacity 1024

[    0.057545] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00

[    0.063323] Setting up static identity map for 0x80200000 - 0x80200058

[    0.070462] EFI services will not be available.

[    0.075662] CPU1: update cpu_capacity 1024

[    0.075667] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01

[    0.075737] Brought up 2 CPUs

[    0.088559] SMP: Total of 2 processors activated (50.00 BogoMIPS).

[    0.094737] CPU: All CPU(s) started in HYP mode.

[    0.099358] CPU: Virtualization extensions available.

[    0.107861] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5

[    0.115746] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns

[    0.125604] futex hash table entries: 512 (order: 3, 32768 bytes)

[    0.133489] pinctrl core: initialized pinctrl subsystem

[    0.139675] NET: Registered protocol family 16

[    0.145383] DMA: preallocated 256 KiB pool for atomic coherent allocations

[    0.182331] cpuidle: using governor menu

[    0.186338] No ATAGs?[    0.189874] Machine: LS1021A TWR Board

[    0.193660] SoC family: QorIQ LS1021A

[    0.197318] SoC ID: svr:0x87081120, Revision: 2.0

[    0.237513] RCPM: layerscape_rcpm_init: Can't find the RCPM node.

[    0.245672] SCSI subsystem initialized

[    0.249898] imx-i2c 2180000.i2c: fsl-scl-gpio not found

[    0.255207] imx-i2c 2180000.i2c: can't get pinctrl, bus recovery not supported

[    0.262779] i2c i2c-0: IMX I2C adapter registered

[    0.267505] i2c i2c-0: can't use DMA, using PIO instead.

[    0.272885] imx-i2c 2190000.i2c: fsl-scl-gpio not found

[    0.278163] imx-i2c 2190000.i2c: can't get pinctrl, bus recovery not supported

[    0.285590] i2c i2c-1: IMX I2C adapter registered

[    0.290310] i2c i2c-1: can't use DMA, using PIO instead.

[    0.295721] pps_core: LinuxPPS API ver. 1 registered

[    0.300698] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>

[    0.309847] PTP clock support registered

[    0.314100] fsl-ifc 1530000.ifc: Freescale Integrated Flash Controller

[    0.320649] fsl-ifc 1530000.ifc: IFC version 1.4, 8 banks

[    0.326898] clocksource: Switched to clocksource arch_sys_counter

[    0.337968] NET: Registered protocol family 2

[    0.342776] TCP established hash table entries: 8192 (order: 3, 32768 bytes)

[    0.349909] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)

[    0.356449] TCP: Hash tables configured (established 8192 bind 8192)

[    0.362899] UDP hash table entries: 512 (order: 2, 16384 bytes)

[    0.368868] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)

[    0.375354] NET: Registered protocol family 1

[    0.380122] kvm [1]: 8-bit VMID

[    0.383264] kvm [1]: IDMAP page: 80201000

[    0.387284] kvm [1]: HYP VA range: c0000000:ffffffff

[    0.392604] kvm [1]: Hyp mode initialized successfully

[    0.397782] kvm [1]: vgic-v2@1404000

[    0.401420] kvm [1]: vgic interrupt IRQ16

[    0.405437] kvm [1]: virtual timer IRQ19

[    0.410207] No memory allocated for crashlog

[    0.414671] workingset: timestamp_bits=30 max_order=18 bucket_order=0

[    0.428900] squashfs: version 4.0 (2009/01/31) Phillip Lougher

[    0.434971] ntfs: driver 2.1.32 [Flags: R/O].

[    0.439610] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.

[    0.449940] fuse init (API version 7.26)

[    0.456718] bounce: pool size: 64 pages

[    0.460581] io scheduler noop registered

[    0.464502] io scheduler deadline registered

[    0.468949] io scheduler cfq registered (default)

[    0.475172] OF: PCI: host bridge /soc/pcie@3400000 ranges:

[    0.480694] OF: PCI:    IO 0x4000010000..0x400001ffff -> 0x00000000

[    0.486975] OF: PCI:   MEM 0x4040000000..0x407fffffff -> 0x40000000

[    0.493460] layerscape-pcie 3400000.pcie: PCI host bridge to bus 0000:00

[    0.500179] pci_bus 0000:00: root bus resource [bus 00-ff]

[    0.505666] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]

[    0.511861] pci_bus 0000:00: root bus resource [mem 0x4040000000-0x407fffffff] (bus address [0x40000000-0x7fffffff])

[    0.522696] PCI: bus0: Fast back to back transfers disabled

[    0.529349] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'

[    0.539419] PCI: bus1: Fast back to back transfers disabled

[    0.545124] pci 0000:00:00.0: BAR 8: assigned [mem 0x4040000000-0x40400fffff]

[    0.552275] pci 0000:00:00.0: BAR 7: assigned [io  0x1000-0x1fff]

[    0.558378] pci 0000:00:00.0: BAR 6: assigned [mem 0x4040100000-0x40401007ff pref]

[    0.565956] pci 0000:01:00.0: BAR 0: assigned [mem 0x4040000000-0x404001ffff]

[    0.573117] pci 0000:01:00.0: BAR 1: assigned [mem 0x4040020000-0x404003ffff]

[    0.580278] pci 0000:01:00.0: BAR 6: assigned [mem 0x4040040000-0x404005ffff pref]

[    0.587858] pci 0000:01:00.0: BAR 2: assigned [io  0x1000-0x101f]

[    0.593968] pci 0000:00:00.0: PCI bridge to [bus 01-ff]

[    0.599201] pci 0000:00:00.0:   bridge window [io  0x1000-0x1fff]

[    0.605298] pci 0000:00:00.0:   bridge window [mem 0x4040000000-0x40400fffff]

[    0.612626] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt

[    0.619601] pci 0000:01:00.0: Signaling PME through PCIe PME interrupt

[    0.657194] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled

[    0.665050] console [ttyS0] disabled

[    0.668691] 21c0500.serial: ttyS0 at MMIO 0x21c0500 (irq = 33, base_baud = 9375000) is a 16550A

[    0.677424] console [ttyS0] enabled

[    0.677424] console [ttyS0] enabled

[    0.684369] bootconsole [uart8250] disabled

[    0.684369] bootconsole [uart8250] disabled

[    0.693164] 21c0600.serial: ttyS1 at MMIO 0x21c0600 (irq = 33, base_baud = 9375000) is a 16550A

[    0.702268] STMicroelectronics ASC driver initialized

[    0.707605] 2950000.serial: ttyLP0 at MMIO 0x2950000 (irq = 38, base_baud = 6250000) is a FSL_LPUART

[    0.716853] fsl-lpuart 2950000.serial: DMA tx channel request failed, operating without tx DMA

[    0.725431] fsl-lpuart 2950000.serial: DMA rx channel request failed, operating without rx DMA

[    0.741928] brd: module loaded

[    0.749373] loop: module loaded

[    0.753939] ahci-qoriq 3200000.sata: AHCI 0001.0300 1 slots 1 ports ? Gbps 0x1 impl platform mode

[    0.762802] ahci-qoriq 3200000.sata: flags: 64bit ncq sntf pm clo only pmp fbs pio slum part ccc

[    0.771654] ahci-qoriq 3200000.sata: port 0 is not capable of FBS

[    0.778537] scsi host0: ahci-qoriq

[    0.782167] ata1: SATA max UDMA/133 mmio [mem 0x03200000-0x0320ffff] port 0x100 irq 27

[    0.791720] 60000000.nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000089 Chip ID 0x00227e

[    0.801707] Amd/Fujitsu Extended Query Table at 0x0040

[    0.806829]   Amd/Fujitsu Extended Query version 1.3.

[    0.811862] number of CFI chips: 1

[    0.815262] 7 cmdlinepart partitions found on MTD device 60000000.nor

[    0.821670] Creating 7 MTD partitions on "60000000.nor":

[    0.826960] 0x000000000000-0x000000100000 : "rcw"

[    0.832478] 0x000000100000-0x000000300000 : "u-boot"

[    0.838105] 0x000000300000-0x000000400000 : "u-boot-env"

[    0.843981] 0x000000400000-0x000000f00000 : "reserved-1"

[    0.849894] 0x000000f00000-0x000001000000 : "dtb"

[    0.855202] 0x000001000000-0x000002000000 : "kernel"

[    0.860773] 0x000002000000-0x000004000000 : "rootfs"

[    0.866347] mtd: device 6 (rootfs) set to be root filesystem

[    0.872011] 1 squashfs-split partitions found on MTD device rootfs

[    0.878165] 0x0000020e0000-0x000004000000 : "rootfs_data"

[    0.885807] libphy: Fixed MDIO Bus: probed

[    0.890989] tun: Universal TUN/TAP device driver, 1.6

[    0.896008] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>

[    0.902265] CAN device driver interface

[    0.906310] 2a70000.can supply xceiver not found, using dummy regulator

[    0.913487] flexcan 2a70000.can: device registered (reg_base=f08ac000, irq=51)

[    0.920722] 2a80000.can supply xceiver not found, using dummy regulator

[    0.927801] flexcan 2a80000.can: device registered (reg_base=f08ae000, irq=52)

[    0.935320] libphy: Freescale PowerQUICC MII Bus: probed

[    0.942605] fsl-gianfar soc:ethernet@2d10000: enabled errata workarounds, flags: 0x4

[    0.961031] fsl-gianfar soc:ethernet@2d10000 eth0: mac: 00:04:9f:04:13:5f

[    0.967796] fsl-gianfar soc:ethernet@2d10000 eth0: Running with NAPI enabled

[    0.974805] fsl-gianfar soc:ethernet@2d10000 eth0: RX BD ring size for Q[0]: 256

[    0.982167] fsl-gianfar soc:ethernet@2d10000 eth0: RX BD ring size for Q[1]: 256

[    0.989528] fsl-gianfar soc:ethernet@2d10000 eth0: TX BD ring size for Q[0]: 256

[    0.996891] fsl-gianfar soc:ethernet@2d10000 eth0: TX BD ring size for Q[1]: 256

[    1.004586] fsl-gianfar soc:ethernet@2d50000: enabled errata workarounds, flags: 0x4

[    1.022980] fsl-gianfar soc:ethernet@2d50000 eth1: mac: 00:04:9f:04:13:60

[    1.029748] fsl-gianfar soc:ethernet@2d50000 eth1: Running with NAPI enabled

[    1.036757] fsl-gianfar soc:ethernet@2d50000 eth1: RX BD ring size for Q[0]: 256

[    1.044119] fsl-gianfar soc:ethernet@2d50000 eth1: RX BD ring size for Q[1]: 256

[    1.051479] fsl-gianfar soc:ethernet@2d50000 eth1: TX BD ring size for Q[0]: 256

[    1.058839] fsl-gianfar soc:ethernet@2d50000 eth1: TX BD ring size for Q[1]: 256

[    1.066519] fsl-gianfar soc:ethernet@2d90000: enabled errata workarounds, flags: 0x4

[    1.084914] fsl-gianfar soc:ethernet@2d90000 eth2: mac: 00:04:9f:04:13:61

[    1.091676] fsl-gianfar soc:ethernet@2d90000 eth2: Running with NAPI enabled

[    1.098692] fsl-gianfar soc:ethernet@2d90000 eth2: RX BD ring size for Q[0]: 256

[    1.106047] fsl-gianfar soc:ethernet@2d90000 eth2: RX BD ring size for Q[1]: 256

[    1.113408] fsl-gianfar soc:ethernet@2d90000 eth2: TX BD ring size for Q[0]: 256

[    1.120769] fsl-gianfar soc:ethernet@2d90000 eth2: TX BD ring size for Q[1]: 256

[    1.128582] pps pps0: new PPS source ptp0

[    1.133166] i2c /dev entries driver

[    1.138238] imx2-wdt 2ad0000.watchdog: timeout 60 sec (nowayout=0)

[    1.145030] qoriq_cpufreq: Freescale QorIQ CPU frequency scaling driver

[    1.151962] sdhci: Secure Digital Host Controller Interface driver

[    1.158137] sdhci: Copyright(c) Pierre Ossman

[    1.162470] sdhci-pltfm: SDHCI platform and OF driver helper

[    1.226929] mmc0: SDHCI controller on 1560000.esdhc [1560000.esdhc] using ADMA 64-bit

[    1.235290] ledtrig-cpu: registered to indicate activity on CPUs

[    1.242490] Initializing XFRM netlink socket

[    1.247764] NET: Registered protocol family 10

[    1.258091] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver

[    1.265020] NET: Registered protocol family 17

[    1.269503] NET: Registered protocol family 15

[    1.273969] can: controller area network core (rev 20120528 abi 9)

[    1.280471] NET: Registered protocol family 29

[    1.284949] can: raw protocol (rev 20120528)

[    1.289224] can: broadcast manager protocol (rev 20161123 t)

[    1.294863] can: netlink gateway (rev 20130117) max_hops=1

[    1.300606] 8021q: 802.1Q VLAN Support v1.8

[    1.304958] ThumbEE CPU extension supported.

[    1.309241] Registering SWP/SWPB emulation handler

[    1.316758] hctosys: unable to open rtc device (rtc0)

[    1.321929] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)

[    1.330758] ata1.00: ATA-8: WDC WD3200BPVT-22JJ5T0, 01.01A01, max UDMA/133

[    1.337639] ata1.00: 625142448 sectors, multi 0: LBA48 NCQ (depth 31/32)

[    1.347060] ata1.00: configured for UDMA/133

[    1.351880] scsi 0:0:0:0: Direct-Access     ATA      WDC WD3200BPVT-2 1A01 PQ: 0 ANSI: 5

[    1.396297] mmc0: new high speed SDHC card at address 0007

[    1.402422] mmcblk0: mmc0:0007 SL16G 14.5 GiB

[    1.408502]  mmcblk0: p1 p2 p3

[    1.447961] sd 0:0:0:0: Attached scsi generic sg0 type 0

[    1.453509] sd 0:0:0:0: [sda] 625142448 512-byte logical blocks: (320 GB/298 GiB)

[    1.461010] sd 0:0:0:0: [sda] 4096-byte physical blocks

[    1.466523] sd 0:0:0:0: [sda] Write Protect is off

[    1.471471] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA

[    1.499011]  sda: sda1

[    1.502798] sd 0:0:0:0: [sda] Attached SCSI disk

[    1.510135] VFS: Mounted root (squashfs filesystem) readonly on device 31:6.

[    1.521590] Freeing unused kernel memory: 2048K

[    1.898367] init: Console is alive

[    1.901905] init: - watchdog -

[    1.917089] init: - preinit -

[    2.159111] random: jshn: uninitialized urandom read (4 bytes read)

[    2.174819] random: jshn: uninitialized urandom read (4 bytes read)

[    2.288722] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

Press the [f] key and hit [enter] to enter failsafe mode

Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level

[    5.562578] jffs2: notice: (148) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.

[    5.579048] mount_root: switching to jffs2 overlay

[    5.590954] urandom-seed: Seed file not found (/etc/urandom.seed)

[    5.645218] procd: - early -

[    5.648702] procd: - watchdog -

[    6.367014] procd: - watchdog -

[    6.370418] procd: - ubus -

[    6.427669] random: ubusd: uninitialized urandom read (4 bytes read)

[    6.434243] random: ubusd: uninitialized urandom read (4 bytes read)

[    6.440672] random: ubusd: uninitialized urandom read (4 bytes read)

[    6.447665] procd: - init -

Please press Enter to activate this console.

[    7.846007] urandom_read: 4 callbacks suppressed

[    7.846012] random: jshn: uninitialized urandom read (4 bytes read)

[    8.309264] br-lan: port 1(eth0) entered blocking state

[    8.314485] br-lan: port 1(eth0) entered disabled state

[    8.319990] device eth0 entered promiscuous mode

[    8.328670] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready

[    8.464951] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready

BusyBox v1.28.4 () built-in shell (ash)

[    6.427669] random: ubusd: uninitialized urandom read (4 bytes read)

[    6.434243] random: ubusd: uninitialized urandom read (4 bytes read)

[    6.440672] random: ubusd: uninitialized urandom read (4 bytes read)

[    6.447665] procd: - init -

Please press Enter to activate this console.

[    7.846007] urandom_read: 4 callbacks suppressed

[    7.846012] random: jshn: uninitialized urandom read (4 bytes read)

[    8.309264] br-lan: port 1(eth0) entered blocking state

[    8.314485] br-lan: port 1(eth0) entered disabled state

[    8.319990] device eth0 entered promiscuous mode

[    8.328670] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not r  _______                     ________        __

 |       |.-----.-----.-----.|  |  |  |.----.|  |_

 |   -   ||  _  |  -__|     ||  |  |  ||   [   17.225511] random: fast init done

_||   _|

 |_______||   __|_____|__|__||________||__|  |____|

          |__| W I R E L E S S   F R E E D O M

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

 OpenWrt SNAPSHOT, r7359+25-b06c447c5f

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

eady

[    8.464951] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready

=== WARNING! =====================================

There is no root password defined on this device!

Use the "passwd" command to set up a new password

in order to prevent unauthorized SSH logins.

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

root@OpenWrt:/# [    6.427669] random: ubusd: uninitialized urandom read (4 byte

s read)

root@OpenWrt:/# [    6.434243] random: ubusd: uninitialized urandom read (4 byte

s read)

root@OpenWrt:/# [    6.440672] random: ubusd: uninitialized urandom read (4 byte

s read)

root@OpenWrt:/# [    6.447665] procd: - init -

ash: missing ]

root@OpenWrt:/# Please press Enter to activate this console.

root@OpenWrt:/# [    7.846007] urandom_read: 4 callbacks suppressedash: missing ]

root@OpenWrt:/# [    7.846012] random: jshn: uninitialized urandom read (4 bytes read)

root@OpenWrt:/# [    8.309264] br-lan: port 1(eth0) entered blocking state

root@OpenWrt:/# [    8.314485] br-lan: port 1(eth0) entered disabled state

root@OpenWrt:/# [    8.319990] device eth0 entered promiscuous modeash: missing ]

root@OpenWrt:/# [    8.328670] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready

root@OpenWrt:/# [    8.464951] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready

原文地址:https://www.cnblogs.com/dakewei/p/9732284.html