Chinaunix
标题:
关于linux2.6.14.7在at91rm9200上启动的问题
[打印本页]
作者:
audi78
时间:
2006-12-14 16:27
标题:
关于linux2.6.14.7在at91rm9200上启动的问题
小弟第一次在9200dk上移植linux2.6.14.7的系统,出现了以下现象,且从bootloader不停重启整个系统
启动信息:
Starting kernel ...
Linux version 2.6.14.7 (root@Linux-Server) (gcc version 3.4.1) #12 Thu Dec 14 16:04:49 CST 2006
CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)
Machine: Atmel AT91RM9200-DK
Memory policy: ECC disabled, Data cache writeback
Clocks: CPU 179 MHz, master 59 MHz, main 18.432 MHz
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
Kernel command line: initrd=0x21100000,6000000 root=/dev/ram init=/linuxrc console=ttyS0,115200 mem=32M
AT91: 128 gpio irqs in 4 banks
PID hash table entries: 256 (order: 8, 4096 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 32MB = 32MB total
Memory: 24576KB available (1514K code, 339K data, 88K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
softlockup thread 0 started up.
Freeing initrd memory: 5859K
NET: Registered protocol family 16
usbcore: registered new driver usbfs
usbcore: registered new driver hub
NetWinder Floating Point Emulator V0.97 (double precision)
AT91 Real Time Clock driver.
AT91 SPI driver loaded
AT91 Watchdog Timer enabled (5 seconds)
ttyS0 at MMIO 0xfefff200 (irq = 1) is a AT91_SERIAL
ttyS1 at MMIO 0xfefc4000 (irq = 7) is a AT91_SERIAL
io scheduler noop registered
io scheduler anticipatory registered
RAMDISK driver initialized: 1 RAM disks of 15360K size 1024 blocksize
loop: loaded (max 8 devices)
at91_ether: Your bootloader did not configure a MAC address.
eth0: Link now 10-HalfDuplex
eth0: AT91 ethernet at 0xfefbc000 int=24 10-HalfDuplex (00:00:00:00:00:00)
eth0: Davicom 9196 PHY (Copper)
NAND device: Manufacturer ID: 0x98, Chip ID: 0x39 (Toshiba NAND 8MiB 1,8V 8-bit)
flash size: 8 MiB
page size: 512 bytes
OOB area size: 16 bytes
sector size: 8 KiB
pages number: 16384
pages per sector: 16
bus width: 8
bits in sector size: 13
bits in page size: 9
bits in OOB size: 4
flash size with OOB: 8448 KiB
page address bytes: 3
sector address bytes: 2
options: 0x62
Scanning device for bad blocks
Creating 1 MTD partitions on "NAND 8MiB 1,8V 8-bit":
0x00000000-0x00800000 : "NAND simulator partition"
ftl_cs: FTL header not found.
SmartMedia card inserted.
NAND device: Manufacturer ID: 0xec, Chip ID: 0x75 (Samsung NAND 32MiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 6 MTD partitions on "NAND 32MiB 3,3V 8-bit":
0x00000000-0x00100000 : "AT91 NAND partition 1, kernel"
ftl_cs: FTL header not found.
0x00100000-0x01100000 : "AT91 NAND partition 2, filesystem"
ftl_cs: FTL header not found.
0x01100000-0x01200000 : "AT91 NAND partition 3a, storage"
ftl_cs: FTL header not found.
0x01200000-0x01300000 : "AT91 NAND partition 3b, storage"
ftl_cs: FTL header not found.
0x01300000-0x01400000 : "AT91 NAND partition 3c, storage"
ftl_cs: FTL header not found.
0x01400000-0x01500000 : "AT91 NAND partition 3d, storage"
ftl_cs: FTL header not found.
at91_cf: irqs det #64, io #0
usbmon: debugfs is not available
at91rm9200-ohci at91rm9200-ohci: AT91RM9200 OHCI
at91rm9200-ohci at91rm9200-ohci: new USB bus registered, assigned bus number 1
at91rm9200-ohci at91rm9200-ohci: irq 23, io mem 0x00300000
usb usb1: Product: AT91RM9200 OHCI
usb usb1: Manufacturer: Linux 2.6.14.7 ohci_hcd
usb usb1: SerialNumber: at91rm9200
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
udc: at91_udc version 8 March 2005
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
Found AT91 i2c
AT91RM9200 MCI initialized
NET: Registered protocol family 2
-I- AT91F_LowLevelInit(): Debug channel initialized
我制作的过程是:下载linux2.6.14.6源码和补丁:patch-2.6.14.6和patch-2.6.14.7以及9200的补丁:2.6.14-at91.patch.编译器用的是:3.4.1的。
不知什么原因出现了以上错误,望大侠们指点下,谢谢!
作者:
audi78
时间:
2006-12-15 08:55
怎么没有人回复呀,在线等。。。。
作者:
flylonginsky
时间:
2006-12-17 12:34
AT91F_LowLevelInit(): Debug channel initialized
你用了这个函数?
作者:
audi78
时间:
2006-12-18 09:36
没有用这个函数。
运行到这里,终端出现的,然后马上从bootloader开始重新启动,运行到内核后,出现这个函数后重启,反复如此。不知那里出现了问题。
欢迎光临 Chinaunix (http://bbs.chinaunix.net/)
Powered by Discuz! X3.2