天嵌 ARM开发社区

 找回密码
 注册
查看: 1999|回复: 4

按照教程做个了zImage.bin,遇到问题

[复制链接]
guolonghui 发表于 2011-12-14 09:33:07 | 显示全部楼层 |阅读模式
Start Linux ...
Copy linux kernel from 0x00200000 to 0x30008000, size = 0x00300000 ... Copy Kernel to SDRAM done,NOW, Booting Linux......
Uncompressing Linux......................................................................................................................... done, booting the kernel.
Linux version 2.6.30.4-EmbedSky (root@localhost.localdomain) (gcc version 4.5.1 (ctng-1.8.1-FA) ) #2 Wed Dec 14 09:20:17 CST 2011
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
CPU: VIVT data cache, VIVT instruction cache
Machine: SMDK2440
ATAG_INITRD is deprecated; please update your bootloader.
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C24XX Clocks, (c) 2004 Simtec Electronics
S3C244X: core 400.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0
NR_IRQS:85
irq: clearing subpending status 00000003
irq: clearing subpending status 00000002
PID hash table entries: 256 (order: 8, 1024 bytes)
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: 60828KB available (3408K code, 381K data, 124K init, 0K highmem)
Calibrating delay loop... 199.47 BogoMIPS (lpj=498688)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 936 bytes
NET: Registered protocol family 16
S3C Power Management, Copyright 2004 Simtec Electronics
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
DMA channel 0 at c4808000, irq 33
DMA channel 1 at c4808040, irq 34
DMA channel 2 at c4808080, irq 35
DMA channel 3 at c48080c0, irq 36
S3C244X: Clock Support, DVS off
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 97 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
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
NET: Registered protocol family 1
NetWinder Floating Point Emulator V0.97 (extended precision)
JFFS2 version 2.2. (NAND) (SUMMARY)  漏 2001-2006 Red Hat, Inc.
ROMFS MTD (C) 2007 Red Hat, Inc.
yaffs Dec 14 2011 09:15:52 Installing.
msgmni has been set to 118
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
GPIO-Control initialized
PWM-Test initialized
adc initialized
lp: driver loaded but no devices found
ppdev: user-space parallel port driver
Serial: 8250/16550 driver, 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
Uniform Multi-Platform E-IDE driver
ide-gd driver 1.18
ide-cd driver 5.00
Driver 'sd' needs updating - please use bus_type methods
dm9000 Ethernet Driver, V1.31
Now use the default MAC address: 10:23:45:67:89:ab
eth0 (dm9000): not using net_device_ops yet
eth0: dm9000e at c4872000,c4876004 IRQ 51 MAC: 10:23:45:67:89:ab (EmbedSky)
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: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 185 at 0x000001720000
Bad eraseblock 611 at 0x000004c60000
Bad eraseblock 1609 at 0x00000c920000
Bad eraseblock 1769 at 0x00000dd20000
Creating 3 MTD partitions on "NAND 256MiB 3,3V 8-bit":
0x000000000000-0x000000040000 : "EmbedSky_Board_uboot"
 楼主| guolonghui 发表于 2011-12-14 09:33:49 | 显示全部楼层
0x000000200000-0x000000500000 : "EmbedSky_Board_kernel"
0x000000500000-0x000010000000 : "EmbedSky_Board_yaffs2"
usbmon: debugfs is not available
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
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
usbcore: registered new interface driver libusual
usbcore: registered new interface driver usbserial
USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
usbserial: USB Serial Driver core
USB Serial support registered for FTDI USB Serial Device
usbcore: registered new interface driver ftdi_sio
ftdi_sio: v1.4.3:USB FTDI Serial Converters Driver
USB Serial support registered for pl2303
usbcore: registered new interface driver pl2303
pl2303: Prolific PL2303 USB to serial adaptor driver
mice: PS/2 mouse device common for all mice
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: starting watchdog timer
s3c2410-wdt s3c2410-wdt: watchdog active, reset abled, irq enabled
mapped channel 0 to 0
s3c2440-sdi s3c2440-sdi: powered down.
s3c2440-sdi s3c2440-sdi: initialisation done.
Advanced Linux Sound Architecture Driver Version 1.0.18a.
ALSA device list:
  No soundcards found.
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
s3c2410-rtc s3c2410-rtc: setting system clock to 2011-12-14 09:22:31 UTC (1323854551)
s3c2440-sdi s3c2440-sdi: powered down.
end_request: I/O error, dev mtdblock2, sector 256
isofs_fill_super: bread failed, dev=mtdblock2, iso_blknum=64, block=128
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
yaffs: auto selecting yaffs2
block 146 is bad
block 572 is bad
block 1570 is bad
block 1730 is bad
yaffs_read_super: isCheckpointed 0
VFS: Mounted root (yaffs filesystem) on device 31:2.
Freeing init memory: 124K
Unable to handle kernel paging request at virtual address 00200204
pgd = c3a78000
[00200204] *pgd=00000000
Internal error: Oops: 5 [#1]
Modules linked in:
CPU: 0    Not tainted  (2.6.30.4-EmbedSky #2)
PC is at get_page_from_freelist+0x180/0x3b8
LR is at get_page_from_freelist+0xc4/0x3b8
pc : [<c0071278>]    lr : [<c00711bc>]    psr: 00000093
sp : c3817da8  ip : 000038ec  fp : 00000002
r10: 001201d2  r9 : 00000000  r8 : 60000013
r7 : c03b6790  r6 : c3816000  r5 : c03b6cfc  r4 : c03b6770
r3 : 00200200  r2 : 00200200  r1 : 00000100  r0 : 002001e8
Flags: nzcv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment user
Control: c000717f  Table: 33a78000  DAC: 00000015
Process linuxrc (pid: 1, stack limit = 0xc3816268)
Stack: (0xc3817da8 to 0xc3818000)
7da0:                   00000044 00000000 00000000 00000000 c03b6cfc 00000001
7dc0: 00000000 00000100 c03b6770 c03b6770 00000000 001201d2 00000000 c03b6cf8
7de0: c3812c40 c03b6770 00000001 c382c1a0 00000000 c0071540 00000001 00000044
7e00: 00000000 00000010 c3816000 001201d2 00000000 00000000 00000000 00000000
7e20: 00000000 00000000 00000000 00000000 c34054d0 00000004 00000004 00000020
7e40: 000001cf c382c1a0 c34054d4 c007375c 00000000 00000020 c3817e58 c3817e58
7e60: c3817f0a c34054d0 c382c1a0 00000020 00000000 c03a0740 c3a6f56c 00000004
7e80: 00018000 c0073d50 00000000 c382c1a0 00000000 00000000 c382c1a0 c3817ef0
7ea0: c34054d0 c006c9d4 00000000 c391e1e0 00000000 c382c1e0 c340542c 00000000
7ec0: 00000000 c3a6f56c c3a6ede0 00018000 00000000 c3a6ede0 c3a78000 c3a6ede0
7ee0: 00018000 c007cadc 001d6908 c3817efc 00000000 00000010 00018000 00000000
7f00: 49ddd5a4 c3812c40 c3a6f56c 00018000 00000000 c3a6ede0 00000000 c3a6ede0
7f20: c3a78000 c007f5f4 00000010 00000000 00000000 c0092588 c3816000 00000000
7f40: c3a78000 00000060 00000018 c0397a40 c0397ac8 c3812c40 00018e00 c3817fb0
7f60: c3a6f56c c3a6ee14 00018000 c3a6ede0 00000000 c002e968 c3817f80 c002aec4
7f80: 00000000 00000000 00000000 ffffffff 00000000 00000000 00000000 00000000
7fa0: 00000000 00000000 00000000 c0027d1c 00000000 be908fd8 00000000 00000000
7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
7fe0: 00000000 be908f10 00000000 00018e00 00000010 ffffffff 00000000 00000000
[<c0071278>] (get_page_from_freelist+0x180/0x3b8) from [<c0071540>] (__alloc_pages_internal+0x90/0x3d8)
[<c0071540>] (__alloc_pages_internal+0x90/0x3d8) from [<c007375c>] (__do_page_cache_readahead+0xa4/0x1f8)
[<c007375c>] (__do_page_cache_readahead+0xa4/0x1f8) from [<c0073d50>] (do_page_cache_readahead+0x5c/0x60)
[<c0073d50>] (do_page_cache_readahead+0x5c/0x60) from [<c006c9d4>] (filemap_fault+0x158/0x35c)
[<c006c9d4>] (filemap_fault+0x158/0x35c) from [<c007cadc>] (__do_fault+0x50/0x380)
[<c007cadc>] (__do_fault+0x50/0x380) from [<c007f5f4>] (handle_mm_fault+0x23c/0x570)
[<c007f5f4>] (handle_mm_fault+0x23c/0x570) from [<c002e968>] (do_page_fault+0xdc/0x228)
[<c002e968>] (do_page_fault+0xdc/0x228) from [<c0027d1c>] (ret_from_exception+0x0/0x10)
Code: 0a000010 e2420018 e2803018 e1530007 (e590201c)
---[ end trace 7c487e50a9d31656 ]---
Kernel panic - not syncing: Attempted to kill init!
[<c002d5f8>] (unwind_backtrace+0x0/0xd0) from [<c02946bc>] (panic+0x3c/0x108)
[<c02946bc>] (panic+0x3c/0x108) from [<c004931c>] (do_exit+0x64/0x580)
[<c004931c>] (do_exit+0x64/0x580) from [<c002bcb8>] (die+0x144/0x164)
[<c002bcb8>] (die+0x144/0x164) from [<c002e87c>] (__do_kernel_fault+0x64/0x74)
[<c002e87c>] (__do_kernel_fault+0x64/0x74) from [<c002ea94>] (do_page_fault+0x208/0x228)
[<c002ea94>] (do_page_fault+0x208/0x228) from [<c00271cc>] (do_DataAbort+0x2c/0x94)
[<c00271cc>] (do_DataAbort+0x2c/0x94) from [<c0027948>] (__dabt_svc+0x48/0x60)
Exception stack(0xc3817d60 to 0xc3817da8)
7d60: 002001e8 00000100 00200200 00200200 c03b6770 c03b6cfc c3816000 c03b6790
7d80: 60000013 00000000 001201d2 00000002 000038ec c3817da8 c00711bc c0071278
7da0: 00000093 ffffffff                                                      
[<c0027948>] (__dabt_svc+0x48/0x60) from [<c00711bc>] (get_page_from_freelist+0xc4/0x3b8)
[<c00711bc>] (get_page_from_freelist+0xc4/0x3b8) from [<c0071540>] (__alloc_pages_internal+0x90/0x3d8)
[<c0071540>] (__alloc_pages_internal+0x90/0x3d8) from [<c007375c>] (__do_page_cache_readahead+0xa4/0x1f8)
[<c007375c>] (__do_page_cache_readahead+0xa4/0x1f8) from [<c0073d50>] (do_page_cache_readahead+0x5c/0x60)
[<c0073d50>] (do_page_cache_readahead+0x5c/0x60) from [<c006c9d4>] (filemap_fault+0x158/0x35c)
[<c006c9d4>] (filemap_fault+0x158/0x35c) from [<c007cadc>] (__do_fault+0x50/0x380)
[<c007cadc>] (__do_fault+0x50/0x380) from [<c007f5f4>] (handle_mm_fault+0x23c/0x570)
[<c007f5f4>] (handle_mm_fault+0x23c/0x570) from [<c002e968>] (do_page_fault+0xdc/0x228)
[<c002e968>] (do_page_fault+0xdc/0x228) from [<c0027d1c>] (ret_from_exception+0x0/0x10)
请大牛看看是什么问题?
embedsky_lhh 发表于 2011-12-14 09:57:48 | 显示全部楼层
你编译内核和文件系统里边的busybox的编译器是不是同一个?
 楼主| guolonghui 发表于 2011-12-14 11:07:42 | 显示全部楼层
我是在同一台电脑上面编译的,也会不一样的,如何看不一样
亚瑟王 发表于 2011-12-19 10:44:05 | 显示全部楼层
亲,你用光盘里面天嵌科技做好的文件系统试试呢。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

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

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

GMT+8, 2024-6-16 19:57 , Processed in 1.109375 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

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