linux内核移植到开发板,移植较新(Linux3.19)内核至mini2440开发板(一)

CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c000717f

CPU: VIVT data cache, VIVT instruction cache

Machine: Ginger's board

Memory policy: Data cache writeback

CPU S3C2440A (id 0x32440001)

Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256

Kernel command line: noinitrd root=/dev/mtdblock3 init=/linuxrc console=ttySAC0,115200

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: 59192K/65536K available (4003K kernel code, 193K rwdata, 1072K rodata, 160K init, 246K bss, 6344K reserved, 0K cma-reserved)

Virtual kernel memory layout:

vector  : 0xffff0000 - 0xffff1000   (   4 kB)

fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)

vmalloc : 0xc4800000 - 0xff000000   ( 936 MB)

lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)

modules : 0xbf000000 - 0xc0000000   (  16 MB)

.text : 0xc0008000 - 0xc04fd0a0   (5077 kB)

.init : 0xc04fe000 - 0xc0526000   ( 160 kB)

.data : 0xc0526000 - 0xc0556640   ( 194 kB)

.bss : 0xc0556640 - 0xc0594098   ( 247 kB)

SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1

NR_IRQS:103

S3C2440: IRQ Support

irq: clearing pending status 00000002

sched_clock: 16 bits at 1012kHz, resolution 987ns, wraps every 64725925ns

Console: colour dummy device 80x30

Calibrating delay loop... 201.52 BogoMIPS (lpj=503808)

pid_max: default: 32768 minimum: 301

Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)

Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)

CPU: Testing write buffer coherency: ok

Setting up static identity map for 0x303d2488 - 0x303d24e0

NET: Registered protocol family 16

DMA: preallocated 256 KiB pool for atomic coherent allocations

cpuidle: using governor ladder

cpuidle: using governor menu

S3C2440: Initialising architecture

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

s3c-i2c s3c2440-i2c.0: slave address 0x10

s3c-i2c s3c2440-i2c.0: bus frequency set to 98 KHz

s3c-i2c s3c2440-i2c.0: i2c-0: S3C I2C adapter

Advanced Linux Sound Architecture Driver Initialized.

Switched to clocksource samsung_clocksource_timer

NET: Registered protocol family 2

TCP established hash table entries: 1024 (order: 0, 4096 bytes)

TCP bind hash table entries: 1024 (order: 0, 4096 bytes)

TCP: Hash tables configured (established 1024 bind 1024)

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.

futex hash table entries: 256 (order: -1, 3072 bytes)

NFS: Registering the id_resolver key type

Key type id_resolver registered

Key type id_legacy registered

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

romfs: ROMFS MTD (C) 2007 Red Hat, Inc.

io scheduler noop registered

io scheduler deadline registered

io scheduler cfq registered (default)

s3c2440-uart.0: ttySAC0 at MMIO 0x50000000 (irq = 74, base_baud = 0) is a S3C2440

console [ttySAC0] enabled

s3c2440-uart.1: ttySAC1 at MMIO 0x50004000 (irq = 77, base_baud = 0) is a S3C2440

s3c2440-uart.2: ttySAC2 at MMIO 0x50008000 (irq = 80, base_baud = 0) is a S3C2440

brd: module loaded

s3c24xx-nand s3c2440-nand: Tacls=1, 9ns Twrph0=3 29ns, Twrph1=2 19ns

s3c24xx-nand s3c2440-nand: NAND soft ECC

nand: device found, Manufacturer ID: 0xec, Chip ID: 0xda

nand: Samsung NAND 256MiB 3,3V 8-bit

nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64

Creating 5 MTD partitions on "nand":

0x000000000000-0x000000040000 : "supervivi"

0x000000040000-0x000000060000 : "param"

0x000000060000-0x000000560000 : "Kernel"

0x000000560000-0x000040560000 : "root"

mtd: partition "root" extends beyond the end of device "nand" -- size truncated to 0xfaa0000

0x000000000000-0x000040000000 : "nand"

mtd: partition "nand" extends beyond the end of device "nand" -- size truncated to 0x10000000

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

ohci-s3c2410: OHCI S3C2410 driver

s3c2410-ohci s3c2410-ohci: OHCI Host Controller

s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1

s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 2 ports detected

mousedev: PS/2 mouse device common for all mice

i2c /dev entries driver

s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq disabled

Driver 'mmcblk' needs updating - please use bus_type methods

sdhci: Secure Digital Host Controller Interface driver

sdhci: Copyright(c) Pierre Ossman

hidraw: raw HID events driver (C) Jiri Kosina

usbcore: registered new interface driver usbhid

usbhid: USB HID core driver

TCP: cubic registered

NET: Registered protocol family 17

Key type dns_resolver registered

drivers/rtc/hctosys.c: unable to open rtc device (rtc0)

ALSA device list:

No soundcards found.

yaffs: dev is 32505859 name is "mtdblock3" rw

yaffs: passed flags ""

VFS: Mounted root (yaffs filesystem) on device 31:3.

Freeing unused kernel memory: 160K (c04fe000 - c0526000)

mount: mounting none on /proc/bus/usb failed: No such file or directory

hwclock: can't open '/dev/misc/rtc': No such file or directory

[01/Jan/1970:00:00:07 +0000] boa: server version Boa/0.94.13

[01/Jan/1970:00:00:07 +0000] boa: server built Mar 26 2009 at 15:28:42.

[01/Jan/1970:00:00:07 +0000] boa: starting server pid=784, port 80

open device leds: No such file or directory

Try to bring eth0 interface up......ifconfig: SIOCGIFFLAGS: No such device

ifconfig: SIOCSIFHWADDR: No such device

ifconfig: SIOCSIFADDR: No such device

route: SIOCADDRT: Network is unreachable

Done

Please press Enter to activate this console.

[root@FriendlyARM /]# cat /proc/version

Linux version 3.19.3 (root@ginger-virtual-machine) (gcc version 4.4.3 (ctng-1.6.1) ) #6 Sat Apr 25 13:37:14 CST 2015

到此我们已经初步将Linux3.19内核移植到了开发板上。在下一篇教程中我们会继续完善相关的驱动。

c2c9ed493cd281aa86d8a6f5178c4c01.gif [1] [2] 610626052e95c7fbe3d254abc769d9ad.gif

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值