linux 自启动 串口,U-boot上电自启动_串口打印信息

U-Boot 2010.06 (Aug 29 2012 - 10:08:32)

DRAM:  256 MiB

NAND:  Special Nand id table Version

1.35

Nand ID: 0x98 0xDA 0x90 0x15 0x76 0x14 0x03 0x00

Nand(Hardware): Block:128KB Page:2KB Chip:256MB*1 OOB:64B

ECC:1bit

256 MiB

Check spi flash controller v300. found

Spi(cs1) ID: 0x01 0x20 0x18 0x03 0x00 0x00

Spi(cs1): Block:256KB Chip:16MB Name:"S25FL128P-0"

In:  serial

Out:  serial

Err:  serial

judge ddr init

user init finish.

Hit any key to stop autoboot:

0

NAND read: device 0 offset 0x100000, size 0x500000

5242880 bytes read: OK

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

Image Name:

Linux-3.0.8

Image Type:

ARM Linux Kernel Image (uncompressed)

Data Size:

3207228 Bytes = 3.1 MiB

Load Address:

80008000

Entry Point:

80008000

Loading Kernel Image ...

OK

OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

Linux version 3.0.8 (pub@BVT-SDK-174) (gcc version 4.4.1

(Hisilicon_v100(gcc4.4-290+uclibc_0.9.32.1+eabi+linuxpthread)) ) #1

Wed Aug 29 10:09:37 CST 2012

CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7),

cr=10c53c7f

CPU: VIPT nonaliasing data cache, VIPT aliasing instruction

cache

Machine: godarm

Memory policy: ECC disabled, Data cache writeback

Built 1 zonelists in Zone order, mobility grouping on.

Total pages: 16256

Kernel command line: mem=64M console=ttyAMA0,115200

root=/dev/mtdblock2 rootfstype=yaffs2

mtdparts=hinand:1M(boot),15M(kernel),32M(rootfs),16M(test)

PID hash table entries: 256 (order: -2, 1024 bytes)

Dentry cache hash table entries: 8192 (order: 3, 32768

bytes)

Inode-cache hash table entries: 4096 (order: 2, 16384

bytes)

Memory: 64MB = 64MB total

Memory: 58588k/58588k available, 6948k reserved, 0K

highmem

Virtual kernel memory layout:

vector

: 0xffff0000 - 0xffff1000  (

4 kB)

fixmap

: 0xfff00000 - 0xfffe0000  (

896 kB)

DMA  : 0xffc00000 - 0xffe00000  (

2 MB)

vmalloc : 0xc4800000 -

0xfe000000  ( 920 MB)

lowmem

: 0xc0000000 - 0xc4000000  (

64 MB)

modules : 0xbf000000 -

0xc0000000  (  16 MB)

.init

: 0xc0008000 - 0xc002a000  ( 136 kB)

.text

: 0xc002a000 - 0xc05af000  (5652 kB)

.data

: 0xc05b0000 - 0xc05d5520  ( 150 kB)

.bss : 0xc05d5544 - 0xc0630498  ( 364 kB)

SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0,

CPUs=1, Nodes=1

NR_IRQS:128 nr_irqs:128 128

sched_clock: 32 bits at 155MHz, resolution 6ns, wraps every

27709ms

sched_clock: wrong multiply/shift: 432960413>>26 vs

calculated 3463683303>>29

sched_clock: fix multiply/shift to avoid scheduler

hiccups

Console: colour dummy device 80x30

Calibrating delay loop... 1849.75 BogoMIPS (lpj=9248768)

pid_max: default: 32768 minimum: 301

Mount-cache hash table entries: 512

CPU: Testing write buffer coherency: ok

NET: Registered protocol family 16

Serial: AMBA PL011 UART driver

uart:0: ttyAMA0 at MMIO 0x20080000 (irq = 40) is a PL011

rev2

console [ttyAMA0] enabled

uart:1: ttyAMA1 at MMIO 0x20090000 (irq = 41) is a PL011

rev2

bio: create slab at 0

SCSI subsystem initialized

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

cfg80211: Calling CRDA to update world regulatory domain

Switching to clocksource timer1

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096

bytes)

TCP established hash table entries: 2048 (order: 2, 16384

bytes)

TCP bind hash table entries: 2048 (order: 1, 8192 bytes)

TCP: Hash tables configured (established 2048 bind 2048)

TCP reno registered

UDP hash table entries: 256 (order: 0, 4096 bytes)

UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)

NET: Registered protocol family 1

RPC: Registered named UNIX socket transport module.

RPC: Registered udp transport module.

RPC: Registered tcp transport module.

RPC: Registered tcp NFSv4.1 backchannel transport

module.

NetWinder Floating Point Emulator V0.97 (double

precision)

L2cache cache controller enabled

VFS: Disk quotas dquot_6.5.2

Dquot-cache hash table entries: 1024 (order 0, 4096

bytes)

JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.

fuse init (API version 7.16)

SGI XFS with security attributes, large block/inode numbers,

no debug enabled

msgmni has been set to 114

Block layer SCSI generic (bsg) driver version 0.4 loaded

(major 254)

io scheduler noop registered

io scheduler deadline registered (default)

io scheduler cfq registered

brd: module loaded

loop: module loaded

ahci: SSS flag set, parallel bus scan disabled

ahci ahci.0: AHCI 0001.0200 32 slots 2 ports 3 Gbps 0x3 impl

platform mode

ahci ahci.0: flags: ncq sntf stag pm led clo only pmp pio slum

part ccc sxs boh

scsi0 : ahci_platform

scsi1 : ahci_platform

ata1: SATA max UDMA/133 mmio [mem 0x10080000-0x1008ffff] port

0x100 irq 68

ata2: SATA max UDMA/133 mmio [mem 0x10080000-0x1008ffff] port

0x180 irq 68

Spi id table Version 1.22

Hisilicon Spi Flash Controller V300 New Device Driver, Version

1.10

Check Spi Flash Controller V300 New.

Found

Spi(cs1) ID: 0x01 0x20 0x18 0x03 0x00 0x00

Spi(cs1):

Block:256KB

Chip:16MB

Name:"S25FL128P-0"

Creating 0 MTD partitions on "hi_sfc":

Special nand id table Version 1.35

Hisilicon Nand Flash Controller V301 Device Driver, Version

1.10

Nand ID: 0x98 0xDA 0x90 0x15 0x76 0x14 0x03 0x00

Nand(Hardware): Block:128KB Page:2KB Chip:256MB OOB:64B

ECC:1bit

NAND device: Manufacturer ID: 0x98, Chip ID: 0xda (Toshiba

NAND 256MiB 3,3V 8-bit)

4 cmdlinepart partitions found on MTD device hinand

Creating 4 MTD partitions on "hinand":

0x000000000000-0x000000100000 : "boot"

0x000000100000-0x000001000000 : "kernel"

0x000001000000-0x000003000000 : "rootfs"

0x000003000000-0x000004000000 : "test"

Fixed MDIO Bus: probed

usbcore: registered new interface driver rt2500usb

usbcore: registered new interface driver rt73usb

usbmon: debugfs is not available

ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI)

Driver

hiusb-ehci hiusb-ehci.0: HIUSB EHCI

hiusb-ehci hiusb-ehci.0: new USB bus registered, assigned bus

number 1

hiusb-ehci hiusb-ehci.0: irq 63, io mem 0x100b0000

hiusb-ehci hiusb-ehci.0: USB 0.0 started, EHCI 1.00

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 2 ports detected

ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver

hiusb-ohci hiusb-ohci.0: HIUSB OHCI

hiusb-ohci hiusb-ohci.0: new USB bus registered, assigned bus

number 2

hiusb-ohci hiusb-ohci.0: irq 64, io mem 0x100a0000

hub 2-0:1.0: USB hub found

hub 2-0:1.0: 2 ports detected

usbcore: registered new interface driver cdc_acm

cdc_acm: USB Abstract Control Model driver for USB modems and

ISDN adapters

usbcore: registered new interface driver cdc_wdm

Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

usbcore: registered new interface driver ums-alauda

ata1: SATA link down (SStatus 0 SControl 300)

usbcore: registered new interface driver ums-datafab

usbcore: registered new interface driver ums-freecom

usbcore: registered new interface driver ums-isd200

usbcore: registered new interface driver ums-jumpshot

usbcore: registered new interface driver ums-sddr09

usbcore: registered new interface driver ums-sddr55

usbcore: registered new interface driver mdc800

mdc800: v0.7.5 (30/10/2000):USB Driver for Mustek MDC800

Digital Camera

mousedev: PS/2 mouse device common for all mice

usbcore: registered new interface driver usbhid

usbhid: USB HID core driver

TCP cubic registered

Initializing XFRM netlink socket

NET: Registered protocol family 17

NET: Registered protocol family 15

lib80211: common routines for IEEE802.11 drivers

Registering the dns_resolver key type

registered taskstats version 1

鴄ta2: SATA link down (SStatus 0 SControl 300)

yaffs: dev is 32505858 name is "mtdblock2" rw

yaffs: passed flags ""

VFS: Mounted root (yaffs2 filesystem) on device 31:2.

Freeing init memory: 136K

_ _ _ _ _

_ _ _ _ _ _ _

\

_  _  _

_ _ ___

/ /__/ \

|_/

/ __

/  -  _

___

/ /  / /

/ /

_ _ _ _/ /  /

\_/  \_ ______

___________\___\__________________

[RCS]: /etc/init.d/S00devs

[RCS]: /etc/init.d/S01udev

Jan  1 00:00:02 udevd[530]: main: error

opening /dev/null: No such file or directory

udevd (530): /proc/530/oom_adj is deprecated, please use

/proc/530/oom_score_adj instead.

[RCS]: /etc/init.d/S80network

[RCS]: /etc/init.d/S81toe

STMMAC driver:

platform registration...

done!

Set system config register 0x200300ec with value

0x003f003f

done!

DWMAC1000 - user ID: 0x10, Synopsys ID:

0x36

Enhanced descriptor structure

MACADDR in get is 0:0:0:0:0:0

no valid MAC address for MAC 0;please, use

ifconfig or nwhwconfig!

eth0 - (dev. name: stmmaceth - id: 0, IRQ

#119

IO base addr: 0xc4980000)

STMMAC MII Bus: probed

eth0: PHY ID 001cc915 at 0 IRQ 0 (1:00)

eth0: PHY ID 001cc915 at 1 IRQ -6 (1:01) active

stmmac_reset: RESET COMPLETE!

**************************************************

*  TNK driver built on Aug 29 2012 at

10:09:26

*  TNK driver mode is BYPASS

**************************************************

stmmac: Rx Checksum Offload Engine supported

Auto login as root ...

Jan  1 00:00:02 login[558]: root login on

'ttyS000'

Welcome to HiLinux.

None of nfsroot found in cmdline.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值