天嵌 ARM开发社区

 找回密码
 注册
查看: 4546|回复: 15

内核镜像+root_2.6.25.8.bin镜像不能启动

[复制链接]
buster 发表于 2009-9-2 20:33:35 | 显示全部楼层 |阅读模式
按照3.1版的移植手册做到45页  烧写到板子上终端打印下面信息   求各位高手帮忙  谢谢了  在线等!
[r] Reboot u-boot
[q] quit from menu
Enter your selection: 8
Start Linux ...
Copy linux kernel from 0x001f0000 to 0x30008000, size = 0x00200000 ... Copy Kern
el to SDRAM done,NOW, Booting Linux......
Uncompressing Linux.............................................................
............................. done, booting the kernel.
Linux version 2.6.25.8 (root@localhost.localdomain) (gcc version 4.3.3 (Sourcery
G++ Lite 2009q1-203) ) #1 Wed Aug 26 19:12:56 CST 2009
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
Machine: SMDK2440
ATAG_INITRD is deprecated; please update your bootloader.
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C244X: core 400.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz
S3C24XX Clocks, (c) 2004 Simtec Electronics
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0
irq: clearing pending ext status 00080000
irq: clearing subpending status 00000003
irq: clearing subpending status 00000002
PID hash table entries: 256 (order: 8, 1024 bytes)
timer tcon=00500000, tcnt a2c1, tcfg 00000200,00000000, usec 00001eb8
Console: colour dummy device 80x30
console [ttySAC0] enabled
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: 61964KB available (2548K code, 224K data, 108K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 152 bytes
NET: Registered protocol family 16
S3C2410 Power Management, (c) 2004 Simtec Electronics
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
DMA channel 0 at c4800000, irq 33
DMA channel 1 at c4800040, irq 34
DMA channel 2 at c4800080, irq 35
DMA channel 3 at c48000c0, irq 36
S3C244X: Clock Support, DVS off
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
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
NetWinder Floating Point Emulator V0.97 (double precision)
yaffs Aug 26 2009 19:09:16 Installing.
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Console: switching to colour frame buffer device 30x40
fb0: s3c2410fb frame buffer device
lp: driver loaded but no devices found
ppdev: user-space parallel port driver
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
s3c2440-uart.0: tq2440_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: tq2440_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: tq2440_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
brd: module loaded
loop: module loaded
dm9000 Ethernet Driver, V1.30
Uniform Multi-Platform E-IDE driver
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2440-nand s3c2440-nand: Tacls=2, 20ns Twrph0=3 30ns, Twrph1=2 20ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit
)
Scanning device for bad blocks
Bad eraseblock 893 at 0x00df4000
Bad eraseblock 965 at 0x00f14000
Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00040000 : "EmbedSky_Board_uboot"
0x00200000-0x00400000 : "EmbedSky_Board_kernel"
0x00400000-0x03ff8000 : "EmbedSky_Board_yaffs2"
usbmon: debugfs is not available
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
mice: PS/2 mouse device common for all mice
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 390 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
TCP cubic registered
NET: Registered protocol family 1
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
yaffs: block 637 is marked bad
block 638 is bad
yaffs: block 709 is marked bad
block 710 is bad
yaffs_read_super: isCheckpointed 0
VFS: Mounted root (yaffs filesystem).
Freeing init memory: 108K
亚瑟王 发表于 2009-9-3 15:08:28 | 显示全部楼层
根据你提供的打印信息已经启动了啊。
 楼主| buster 发表于 2009-9-3 20:59:19 | 显示全部楼层
但是到了Freeing init memory: 108K  就不动了 呀   麻烦再给分析一下  哈哈  谢谢了
 楼主| buster 发表于 2009-9-4 10:17:39 | 显示全部楼层
下面还缺少  please press Enter to acktivate console  这句话进入文件目录呀   这是怎么回事呢
亚瑟王 发表于 2009-9-4 12:28:09 | 显示全部楼层
前面的提问中你没有说这个哦,你检查文件系统中的/etc/inittab文件中的XXXX:askfirst:-/bin/sh中的XXXX和源码中的“drivers/serial/s3c2410.c”的949行中定义的设备名是否一致,不一致修改为一致即可。我们提供的文件系统的镜像中使用的是tq2440_serial
 楼主| buster 发表于 2009-9-5 10:34:10 | 显示全部楼层
我把etc/inittab 文件那设成s3c2410_serial0     2.6.25.8内核949设备名为s3c2410_serial   打印的信息和原来一样  还是差please press Enter to acktivate console
jsw2065 发表于 2009-9-5 13:21:59 | 显示全部楼层
第三版的手册用的是2.6.30.4的内核。
亚瑟王 发表于 2009-9-5 13:48:51 | 显示全部楼层
第三版的手册里面写的是兼容了2.6.30.4,移植方法都是一样的。/etc/inittab中的是s3c2410_serial0,要加端口号,从0开始的。
 楼主| buster 发表于 2009-9-5 14:02:54 | 显示全部楼层
前面我说了呀     我把etc/inittab 文件那设成s3c2410_serial0     2.6.25.8内核949设备名为s3c2410_serial   打印的信息和原来一样  还是差please press Enter to acktivate console

哈哈  还是不行呀  文件系统和内核镜像都是按手册自己做的   奇怪了
jsw2065 发表于 2009-9-5 14:07:49 | 显示全部楼层
把第二版的对比着看一下,我经常这么做。
 楼主| buster 发表于 2009-9-5 14:09:53 | 显示全部楼层
哈哈  你也在呀  好的   继续
jsw2065 发表于 2009-9-5 14:14:56 | 显示全部楼层
是啊,过两天开学了来得就少了,记得帮我顶帖子啊。
:lol
 楼主| buster 发表于 2009-9-5 14:55:25 | 显示全部楼层
好呀   没事多串门:lol
 楼主| buster 发表于 2009-9-6 21:06:32 | 显示全部楼层
还是没解决  郁闷呀
jsw2065 发表于 2009-9-6 23:57:58 | 显示全部楼层
要不要我的文件系统源码?
对照着你的看一下。
要的话在QQ上给我发消息!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-9-30 13:55 , Processed in 1.028360 second(s), 18 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表