Tiny6410光盘带了2个内核,linux-2.6.28.6-20101007.tar和linux-2.6.36-20110112.tar,2.6.36的内核能运行正常,但是2.6.28.6的内核跑起来有问题,特反馈如下:
===================================================================================================
U-Boot 1.1.6 (Dec 31 2010 - 14:36:43) for FriendlyARM MINI6410
CPU: S3C6410@532MHz
Fclk = 532MHz, Hclk = 133MHz, Pclk = 66MHz, Serial = CLKUART (SYNC Mode
)
Board: MINI6410
DRAM: 256 MB
Flash: 0 kB
NAND: 256 MB
In: serial
Out: serial
Err: serial
MAC: 08:90:90:90:90:90
Hit any key to stop autoboot: 0
NAND read: device 0 offset 0x80000, size 0x500000
Reading data from 0x57f800 -- 100% complete.
5242880 bytes read: OK
Boot with zImage
Starting kernel ...
Uncompressing Linux.............................................................
................................................................................
..................... done, booting the kernel.
Error: unrecognized/unsupported machine ID (r1 = 0x000009d8).
Available machine support:
ID (hex) NAME
0000065a SMDK6410
Please check your kernel config and/or bootloader.
====================================================================================================
查看内核目录
[root@hello linux-2.6.28.6]# ls arch/arm/mach-s3c6410/
cpu.c dma.c irq.c Kconfig mach-smdk6410.c Makefile pm.c setup-sdhci.c
====================================================================================================
查看相关文件
[root@hello linux-2.6.28.6]# vim arch/arm/mach-s3c6410/mach-smdk6410.c
MACHINE_START(SMDK6410, "SMDK6410")
/* Maintainer: Ben Dooks <
ben@fluff.org> */
.phys_io = S3C_PA_UART & 0xfff00000,
.io_pg_offst = (((u32)S3C_VA_UART) >> 18) & 0xfffc,
.boot_params = S3C64XX_PA_SDRAM + 0x100,
.init_irq = s3c6410_init_irq,
.map_io = smdk6410_map_io,
.init_machine = smdk6410_machine_init,
.timer = &s3c64xx_timer,
MACHINE_END
=====================================================================================================
对比2.6.28.6内核里面的mach-smdk6410.c和2.6.36内核里的mach-mini6410.c, 发现可能在这里没有移植。希望相关工作人员能修正。
内核2.6.28.6运行出错