zhaigf044 发表于 2009-12-12 13:19:34

使用FL2440光盘提供的Linux内核和文件系统镜像重新烧写后系统没法启动

本帖最后由 zhaigf044 于 2009-12-12 13:23 编辑

使用FL2440光盘提供的Linux内核和文件系统镜像重新烧写后系统没法启动
1.FL2440的光盘目录如下图所示:

2.其中提供的Linux内核和文件系统镜像在Linux文件夹中

3.一共提供了内核镜像zImage_1,zimage_2,以及文件系统qte_mouse.yaffs,qte_touch.yaffs
按照说明文档应该在下图的3kernel和5fs_yaffs分区烧写上面的镜像就可以了,但是烧写后Linux系统却没法启动。下面叙述一下烧写碰到的问题,希望斑竹能给些建议。我处理一个星期了,没能解决。

按排列组合一次烧写linux1.6.12文件夹的内核和文件系统
1.        内核zImage_1,文件系统qie_mouse.yaffs
Boot linux出现下列问题
NAND ID is 0xecf1
Set boot params = root=/dev/mtdblock3 init=/linuxrc load_ramdisk=0 console=ttySAC0,115200 mem=65536K devfs=mount display=sam320
Load Kernel...
Uncompressing Linux................................................................................................................... done, booting the kernel.
Linux version 2.6.12-h1940 (root@localhost.localdomain) (gcc version 3.4.1) #400 Fri Dec 5 12:16:19 CST 2008

CPU: ARM920Tid(wb) revision 0 (ARMv4T)

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

Machine: SMDK2410

ATAG_INITRD is deprecated; please update your bootloader.

Memory policy: ECC disabled, Data cache writeback

CPU S3C2440A (id 0x32440001)

S3C2440: core 400.000 MHz, memory 100.000 MHz, peripheral 50.000 MHz

S3C2410 Clocks, (c) 2004 Simtec Electronics

Built 1 zonelists

Kernel command line: root=/dev/mtdblock3 init=/linuxrc load_ramdisk=0 console=ttySAC0,115200 mem=65536K devfs=mount display=sam320

irq: clearing pending ext status 000c0000

irq: clearing subpending status 00000093

irq: clearing subpending status 00000092

PID hash table entries: 512 (order: 9, 8192 bytes)

timer tcon=00500d00, tcnt a2c1, tcfg 0000020f,00000030, usec 00001eb8

Console: colour dummy device 80x30

Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)

Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)

Memory: 64MB = 64MB total

Memory: 60800KB available (2966K code, 912K data, 160K init)

Mount-cache hash table entries: 512

CPU: Testing write buffer coherency: ok

NET: Registered protocol family 16

S3C2440: Initialising architecture

S3C2440: IRQ Support

S3C2440: Clock Support, UPLL 96.000 MHz

SCSI subsystem initialized

usbcore: registered new driver usbfs

usbcore: registered new driver hub

Bluetooth: Core ver 2.7

NET: Registered protocol family 31

Bluetooth: HCI device and connection manager initialized

Bluetooth: HCI socket layer initialized

S3C2410 DMA Driver, (c) 2003-2004 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

NetWinder Floating Point Emulator V0.97 (double precision)

devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)

中间有删节
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize

loop: loaded (max 8 devices)

nbd: registered device at major 43

ub: sizeof ub_scsi_cmd 68 ub_dev 2384 ub_lun 140

usbcore: registered new driver ub

PPP generic driver version 2.4.2

PPP Deflate Compression module registered

PPP BSD Compression module registered

NET: Registered protocol family 24

Cirrus Logic CS8900A driver for Linux (V0.02)

dev->base_addr=0xe0000300<3>line 689 passed,request_region() OK!success get IO port address!

eth0: incorrect signature 0x0000

dm9000 Ethernet Driver

eth0: dm9000 at c49b8300,c49ba304 IRQ 51 MAC: 00:12:34:56:80:49

STRIP: Version 1.3A-STUART.CHESHIRE (unlimited channels)

Linux video capture interface: v1.00

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2

ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx

SET CF & IDE WAIT!now BWSCON=225dd510

-1:no 0:ok ide_register_hw return -1

block2mtd: version $Revision: 1.23 $

S3C24XX NAND Driver, (c) 2004 Simtec Electronics

s3c2410-nand: mapped registers at c4b80000

s3c2410-nand: timing: Tacls 10ns, Twrph0 40ns, Twrph1 10ns

NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)

NAND_ECC_NONE selected by board driver. This is not recommended !!

Scanning device for bad blocks

Bad eraseblock 381 at 0x02fa0000

Bad eraseblock 859 at 0x06b60000

Creating 5 MTD partitions on "NAND 128MiB 3,3V 8-bit":

0x00000000-0x00100000 : "Boot"

0x00140000-0x00500000 : "MyApp"

0x00500000-0x00800000 : "Kernel"

0x00800000-0x04400000 : "fs_yaffs"

0x04400000-0x08000000 : "WINCE"

usbmon: debugs is not available

hello,enter new ohci-s3c2410.c

CLKDIVN = 0000000d

CLKSLOW = 00000004

CLKCON = 00f2e770

UPLLCON = 00038021

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: Product: S3C24XX OHCI

usb usb1: Manufacturer: Linux 2.6.12-h1940 ohci_hcd

usb usb1: SerialNumber: s3c24xx

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 2 ports detected

usbcore: registered new driver usblp

drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver

Initializing USB Mass Storage driver...

usb 1-1: new full speed USB device using s3c2410-ohci and address 2

usb 1-1: Product: Generic USB Hub

usb 1-1: Manufacturer: ALCOR

hub 1-1:1.0: USB hub found

hub 1-1:1.0: 4 ports detected

usbcore: registered new driver usb-storage

USB Mass Storage support registered.

usbcore: registered new driver usbhid

drivers/usb/input/hid-core.c: v2.01:USB HID core driver

pwc Philips webcam module version 9.0.2-unofficial loaded.

pwc Supports Philips PCA645/646, PCVC675/680/690, PCVC720/730/740/750 & PCVC830/840.

pwc Also supports the Askey VC010, various Logitech Quickcams, Samsung MPC-C10 and MPC-C30,

pwc the Creative WebCam 5 & Pro Ex, SOTEC Afina Eye and Visionite VCS-UC300 and VCS-UM100.

usbcore: registered new driver Philips webcam

usbcore: registered new driver gspca

drivers/usb/media/gspca/gspca_core.c: gspca driver 00.60.00 registered

mice: PS/2 mouse device common for all mice

i2c /dev entries driver

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

Bluetooth: HCI USB driver ver 2.8

usbcore: registered new driver hci_usb

hello,enter s3c2410sdi_probe()!!!!!!!!!!!!!!!!!!!!!!!!!

mmc->f_max =25000000

mmc->f_min =97656

mmci-s3c2410: probe: mapped sdi_base=c5000000 irq=37 irq_cd=62 dma=0.

mmci-s3c2410: initialisation done.

virtual address of s3c2410_va_iis=f0d00000.

next will do driver_register!

just enter s3c2410_uda1341_probe()

S3C2410-UDA1341 Probe

line 1314 passed! have set L3 mode=GPB2, dat=GPB3, clk=GPB4, output

line 1319 passed!

have set IISLRCK=GPE0, IISSCLK=GPE1, CDCLK=GPE2, IISSDI=GPE3, IISSDO=GPE4

line 1323 passed! have Enable IIS clock

success register irq: iisout_dma_done_handler

success register irq: iisin_dma_done_handler

UDA1341 audio driver initialized

driver uda1341 in /sound/oss/s3c2410-oss.c

NET: Registered protocol family 2

IP: routing cache hash table of 512 buckets, 4Kbytes

TCP established hash table entries: 4096 (order: 3, 32768 bytes)

TCP bind hash table entries: 4096 (order: 2, 16384 bytes)

TCP: Hash tables configured (established 4096 bind 4096)

NET: Registered protocol family 1

NET: Registered protocol family 17

Bluetooth: L2CAP ver 2.7

Bluetooth: L2CAP socket layer initialized

Bluetooth: RFCOMM ver 1.5

Bluetooth: RFCOMM socket layer initialized

Bluetooth: RFCOMM TTY layer initialized

Bluetooth: HIDP (Human Interface Emulation) ver 1.1

yaffs: dev is 32505859 name is "mtdblock3"

yaffs: passed flags ""

yaffs: Attempting MTD mount on 31.3, "mtdblock3"

yaffs: auto selecting yaffs2

yaffs: dev is 32505859 name is "mtdblock3"

yaffs: passed flags ""

yaffs: Attempting MTD mount on 31.3, "mtdblock3"

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)本人学习嵌入式时间不长,原因可能是内核能启动,但是文件系统却不能加载。主要信息就是红色字体。

2.        内核zImage_1,文件系统qie_touch.yaffs
Boot linux出现下列问题
和第1的错误一样
3.        内核zImage_2,文件系统qie_mouse.yaffs
Boot linux出现下列问题
和第1的错误一样
4.        内核zImage_2,文件系统qie_touch.yaffs
Boot linux出现下列问题
和第1的错误一样

现在操作了4遍Linux内核和文件系统烧写,计算机没有蓝屏。但是昨天晚上烧写过程中计算机蓝屏好多次。搞不清楚烧写过程中为什么计算机会蓝屏。
求各位大牛们给提点建议。我操作步骤应该没问题。飞凌公司提供的内核和文件系统有问题?我现在想恢复到出厂的设置怎么就不行了呢

phantom 发表于 2009-12-12 15:34:28

lfqsy 发表于 2010-3-13 17:47:18

u_showtime 发表于 2010-3-14 16:29:23

aggio 发表于 2010-4-3 16:15:01

yuziqiang 发表于 2010-4-4 14:57:53

yeah79 发表于 2010-5-8 19:41:49

遇到一样的问题,如何解决的啊?急急急

it1988 发表于 2010-10-24 22:07:40

ゞωǒ_飛.. 发表于 2011-1-3 00:37:23

ゞωǒ_飛.. 发表于 2011-1-3 00:39:25

emliker 发表于 2012-6-14 09:31:30

飞凌-develop 发表于 2012-6-15 08:52:38

楼上 yuziqiang朋友的建议大家试试看。

bbs598598 发表于 2012-6-21 08:46:23

页: [1]
查看完整版本: 使用FL2440光盘提供的Linux内核和文件系统镜像重新烧写后系统没法启动