可以在这个硬件平台上移植2.6.14的内核吗?
是UP-TECH 博创的S3C2410开发板,买来时原始的板子上装的2.4.18的内核,现在,我想做毕业设计,为了能够学到一点真实的东西,所以我想在上面移植2.6.14的内核,这个可以吗? 因为,后来我想原来的移植的内核是2.4的,它的硬件结构应该是针对2.4的内核配好的,移植2.6内核时,因为可能会出现硬件的某个方面不对,而导致移植不成功的情况的发生?
希望有移植经验的大侠们帮一下,以下贴出原来 板子上的硬件和软件信息!
[/bin]dmesg
Linux version 2.4.18-rmk7-pxa1 (zxt@BC) (gcc version 2.95.2 20000516 (release) [
Rebel.com]) #251 Fri Sep 22 15:11:45 CST 2006
CPU: ARM/CIRRUS Arm920Tsid(wb) revision 0
Machine: Samsung-SMDK2410
Converting old-style param struct to taglist
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: noinitrd root=/dev/bon/3 init=/linuxrc console=ttyS0
Relocating machine vectors to 0xffff0000
Console: colour dummy device 80x30
Calibrating delay loop... 99.94 BogoMIPS
Memory: 64MB = 64MB total
Memory: 62388KB available (1587K code, 430K data, 64K init)
Dentry-cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode-cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
BlueZ Core ver 2.4 Copyright (C) 2000,2001 Qualcomm Inc
Written 2000,2001 by Maxim Krasnyansky <maxk@qualcomm.com>
CPU clock = 202.800000 Mhz, HCLK = 101.400000 Mhz, PCLK = 50.700000 Mhz
Initializing S3C2410 buffer pool for DMA workaround
Starting kswapd
devfs: v1.10 (20020120) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
yaffs Sep 6 2006 10:38:42 Initialisation
yaffs is using generic read/write (caching)
i2c-core.o: i2c core module
i2c-dev.o: i2c /dev entries driver module
Samsung S3C2410X (i2c) algorithm module version 2.6.1 (20010830)
iic_s3c2410_init: Samsung S3C2410X iic adapter module version 2.6.1 (20010830)
i2c-dev.o: Registered 'Samsung S3C2410X IIC adapter' as minor 0
s3c2410_init: Initialized IIC on S3C2410X, 281kHz clock
iic_s3c2410_init: initialized iic-bus at 0xf4000000.
tts/%d0 at I/O 0x50000000 (irq = 52) is a S3C2410
tts/%d1 at I/O 0x50004000 (irq = 55) is a S3C2410
tts/%d2 at I/O 0x50008000 (irq = 5 is a S3C2410
Console: switching to colour frame buffer device 80x60
Installed S3C2410 frame buffer
pty: 256 Unix98 ptys configured
S3C2410 Real Time Clock Driver v0.1
block: 128 slots per queue, batch=32
ne.c:v1.10 9/23/94 Donald Becker (becker@scyld.com)
Last modified Nov 1, 2000 by Paul Gortmaker
NE*000 ethercard probe at 0xd1000200: 00 d0 cf 00 00 02
eth0: NE2000 found at 0xd1000200, using IRQ 2.
PPP generic driver version 2.4.1
SCSI subsystem driver Revision: 1.00
request_module[scsi_hostadapter]: Root fs not mounted
UDA1341 audio driver initialized
NAND device: Manufacture ID: 0xec, Chip ID: 0x76 (Samsung K9D1208V0M)
Find a MTD partition from BONFS -> nandflash0 (bon4)
Creating 1 MTD partitions on "Samsung K9D1208V0M":
0x00430000-0x03f30000 : "nandflash0 (bon4)"
devfs_mk_dir(bon): using old entry in dir: c036e0a0 ""
bon0: 00000000-00020000 (00020000) 00000000
bon1: 00020000-00030000 (00010000) 00000000
bon2: 00030000-00130000 (00100000) 00000000
bon3: 00130000-00430000 (00300000) 00000000
bon4: 00430000-03f30000 (03b00000) 00000001
bon5: 03f30000-03ffc000 (000cc000) 00000000
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xe9000000, IRQ 26
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
port #1 suspened!
port #0 alived!
hub.c: 1 port detected
hub.c: USB new device connect on bus1/1, assigned device number 2
usb.c: registered new driver usb_mouse
hub.c: USB hub found
hub.c: 4 ports detected
usbmouse.c: v1.6:USB HID Boot Protocol mouse driver
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
VFS: Mounted root (cramfs filesystem).
Mounted devfs on /dev
Freeing init memory: 64K
yaffs: dev is 7937 name is "1f:01"
yaffs: Attempting MTD mount on 31.1, "1f:01"
no PS/2 device found on PS/2 Port 0!
no PS/2 device found on PS/2 Port 1!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
另外想问一下,嵌入式移植大体的步骤? 从上面的信息,哪儿可以分析出各个部分所使用的分区范围?
一个简单的嵌入式 系统移植到板子上之后,再移植一切驱动吧?
希望分析一下!
S3C2410
在没有特殊改动的情况下,理论上你去下 S3C2410 发布的2.6.X版本,编译就可以使用。。
当然,一些外围不一样,你还算要配置或者修改的。
比如说,FLASH的不一样。。。。。
如果你是在一个标准版本上面,基本上你是不可能完成。
除非三星的老总和你有亲戚。。。
个人理解。呵呵
世面上的板子一般外围硬件改动的多吗?
感觉他们的硬件结构应该都 一样吧?