主题 : 2.6.19启动yaffs2问题 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 2051
精华: 0
发帖: 11
金钱: 110 两
威望: 11 点
综合积分: 22 分
注册时间: 2008-10-22
最后登录: 2017-09-13
楼主  发表于: 2008-11-10 00:05

 2.6.19启动yaffs2问题

大家好,我自己配置好的2.6.19的内核,还有yaffs2系统文件,烧到Friendlyarm2440去启动,
启动出现下面的信息,找不出原因,请教下论坛的朋友是什么问题,好想自己能配置烧下linux
进去起动,搞了那么久都没成功.望高手指点下

Enter your selection: b
Copy linux kernel from 0x00050000 to 0x30008000, size = 0x00200000 ... done
zImage magic = 0x016f2818
Setup linux parameters at 0x30000100
linux command line is: "noinitrd root=/dev/mtdblock2 init=linuxrc console=ttySAC
0"
MACH_TYPE = 362
NOW, Booting Linux......
Uncompressing Linux.............................................................
................................ done, booting the kernel.
Linux version 2.6.19 (root@cyou) (gcc version 3.4.1) #1 Wed Nov 5 21:06:34 CST 2
008
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 405.000 MHz, memory 101.250 MHz, peripheral 50.625 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.  Total pages: 16256
Kernel command line: noinitrd root=/dev/mtdblock2 init=linuxrc console=ttySAC0
irq: clearing subpending status 00000003
irq: clearing subpending status 00000002
PID hash table entries: 256 (order: 8, 1024 bytes)
timer tcon=00000000, tcnt a4ca, tcfg 00000200,00000000, usec 00001e57
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: 64MB = 64MB total
Memory: 61836KB available (2384K code, 506K data, 116K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
Registering sysclass
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
NET: Registered protocol family 16
S3C2410 Power Management, (c) 2004 Simtec Electronics
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C2440: Clock Support, DVS off
0:              xdreq0, channels 0---
1:              xdreq1, channels -1--
2:                  sdi, channels 0123
3:                spi0, channels -1--
4:                spi1, channels ---3
5:                uart0, channels 0---
6:                uart1, channels -1--
7:                uart2, channels ---3
8:                timer, channels 0-23
9:              i2s-sdi, channels -12-
10:              i2s-sdo, channels 0-2-
11:              pcm-in, channels 0-2-
12:              pcm-out, channels -1-3
13:              mic-in, channels --23
14:              usb-ep1, channels 0---
15:              usb-ep2, channels -1--
16:              usb-ep3, channels --2-
17:              usb-ep4, channels ---3
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: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 2048 bind 1024)
TCP reno registered
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS version 1.0, (C) 1999, 2000  Axis Communications AB
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
yaffs Nov  5 2008 21:00:01 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
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
s3c2440-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
dm9000 Ethernet Driver
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
BAST NOR-Flash Driver, (c) 2004 Simtec Electronics
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2440-nand s3c2440-nand: Tacls=3, 29ns Twrph0=7 69ns, Twrph1=3 29ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit
)
NAND_ECC_NONE selected by board driver. This is not recommended !!
Scanning device for bad blocks
Bad eraseblock 150 at 0x00258000
Bad eraseblock 151 at 0x0025c000
Bad eraseblock 152 at 0x00260000
Bad eraseblock 153 at 0x00264000
Bad eraseblock 154 at 0x00268000
Bad eraseblock 155 at 0x0026c000
Bad eraseblock 156 at 0x00270000
Bad eraseblock 157 at 0x00274000
Bad eraseblock 158 at 0x00278000
Bad eraseblock 159 at 0x0027c000
Bad eraseblock 160 at 0x00280000
Bad eraseblock 161 at 0x00284000
Bad eraseblock 162 at 0x00288000
Bad eraseblock 163 at 0x0028c000
Bad eraseblock 164 at 0x00290000
Bad eraseblock 165 at 0x00294000
Bad eraseblock 166 at 0x00298000
Bad eraseblock 167 at 0x0029c000
Bad eraseblock 168 at 0x002a0000
Bad eraseblock 169 at 0x002a4000
Bad eraseblock 170 at 0x002a8000
Bad eraseblock 171 at 0x002ac000
Bad eraseblock 172 at 0x002b0000
Bad eraseblock 173 at 0x002b4000
Bad eraseblock 174 at 0x002b8000
Bad eraseblock 175 at 0x002bc000
Bad eraseblock 176 at 0x002c0000
Bad eraseblock 177 at 0x002c4000
Bad eraseblock 178 at 0x002c8000
Bad eraseblock 179 at 0x002cc000
Bad eraseblock 180 at 0x002d0000
Bad eraseblock 181 at 0x002d4000
Bad eraseblock 182 at 0x002d8000
Bad eraseblock 183 at 0x002dc000
Bad eraseblock 184 at 0x002e0000
Bad eraseblock 186 at 0x002e8000
Bad eraseblock 187 at 0x002ec000
Bad eraseblock 188 at 0x002f0000
Bad eraseblock 189 at 0x002f4000
Bad eraseblock 190 at 0x002f8000
Bad eraseblock 191 at 0x002fc000
Bad eraseblock 192 at 0x00300000
Bad eraseblock 193 at 0x00304000
Bad eraseblock 194 at 0x00308000
Bad eraseblock 195 at 0x0030c000
Bad eraseblock 196 at 0x00310000
Bad eraseblock 197 at 0x00314000
Bad eraseblock 198 at 0x00318000
Bad eraseblock 199 at 0x0031c000
Bad eraseblock 200 at 0x00320000
Bad eraseblock 201 at 0x00324000
Bad eraseblock 202 at 0x00328000
Bad eraseblock 203 at 0x0032c000
Bad eraseblock 204 at 0x00330000
Bad eraseblock 205 at 0x00334000
Bad eraseblock 206 at 0x00338000
Bad eraseblock 207 at 0x0033c000
Bad eraseblock 208 at 0x00340000
Bad eraseblock 209 at 0x00344000
Bad eraseblock 210 at 0x00348000
Bad eraseblock 211 at 0x0034c000
Bad eraseblock 212 at 0x00350000
Bad eraseblock 213 at 0x00354000
Bad eraseblock 1372 at 0x01570000
Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00050000 : "supervivi"
0x00050000-0x002a0000 : "kernel"
0x00250000-0x04250000 : "myroot"
mtd: partition "myroot" extends beyond the end of device "NAND 64MiB 3,3V 8-bit"
-- size truncated to 0x3db0000
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 98 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
TCP cubic registered
NET: Registered protocol family 1
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
jffs_scan_falsh():Free size accounting screwed
jfffs_scan_flash():free_chunk_size1 == 0x11bb800, free_chunk_size2 == 0x0, fmc->
free_size == 0x11bf800
JFFS: Failed to mount device mtdblock2.
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
yaffs: block 2 is marked bad
block 3 is bad
yaffs: block 3 is marked bad
block 4 is bad
yaffs: block 4 is marked bad
block 5 is bad
yaffs: block 5 is marked bad
block 6 is bad
yaffs: block 6 is marked bad
block 7 is bad
yaffs: block 7 is marked bad
block 8 is bad
yaffs: block 8 is marked bad
block 9 is bad
yaffs: block 9 is marked bad
block 10 is bad
yaffs: block 10 is marked bad
block 11 is bad
yaffs: block 11 is marked bad
block 12 is bad
yaffs: block 12 is marked bad
block 13 is bad
yaffs: block 13 is marked bad
block 14 is bad
yaffs: block 14 is marked bad
block 15 is bad
yaffs: block 15 is marked bad
block 16 is bad
yaffs: block 16 is marked bad
block 17 is bad
yaffs: block 17 is marked bad
block 18 is bad
yaffs: block 18 is marked bad
block 19 is bad
yaffs: block 19 is marked bad
block 20 is bad
yaffs: block 20 is marked bad
block 21 is bad
yaffs: block 21 is marked bad
block 22 is bad
yaffs: block 22 is marked bad
block 23 is bad
yaffs: block 23 is marked bad
block 24 is bad
yaffs: block 24 is marked bad
block 25 is bad
yaffs: block 25 is marked bad
block 26 is bad
yaffs: block 26 is marked bad
block 27 is bad
yaffs: block 27 is marked bad
block 28 is bad
yaffs: block 28 is marked bad
block 29 is bad
yaffs: block 29 is marked bad
block 30 is bad
yaffs: block 30 is marked bad
block 31 is bad
yaffs: block 31 is marked bad
block 32 is bad
yaffs: block 32 is marked bad
block 33 is bad
yaffs: block 33 is marked bad
block 34 is bad
yaffs: block 34 is marked bad
block 35 is bad
yaffs: block 35 is marked bad
block 36 is bad
yaffs: block 36 is marked bad
block 37 is bad
yaffs: block 38 is marked bad
block 39 is bad
yaffs: block 39 is marked bad
block 40 is bad
yaffs: block 40 is marked bad
block 41 is bad
yaffs: block 41 is marked bad
block 42 is bad
yaffs: block 42 is marked bad
block 43 is bad
yaffs: block 43 is marked bad
block 44 is bad
yaffs: block 44 is marked bad
block 45 is bad
yaffs: block 45 is marked bad
block 46 is bad
yaffs: block 46 is marked bad
block 47 is bad
yaffs: block 47 is marked bad
block 48 is bad
yaffs: block 48 is marked bad
block 49 is bad
yaffs: block 49 is marked bad
block 50 is bad
yaffs: block 50 is marked bad
block 51 is bad
yaffs: block 51 is marked bad
block 52 is bad
yaffs: block 52 is marked bad
block 53 is bad
yaffs: block 53 is marked bad
block 54 is bad
yaffs: block 54 is marked bad
block 55 is bad
yaffs: block 55 is marked bad
block 56 is bad
yaffs: block 56 is marked bad
block 57 is bad
yaffs: block 57 is marked bad
block 58 is bad
yaffs: block 58 is marked bad
block 59 is bad
yaffs: block 59 is marked bad
block 60 is bad
yaffs: block 60 is marked bad
block 61 is bad
yaffs: block 61 is marked bad
block 62 is bad
yaffs: block 62 is marked bad
block 63 is bad
yaffs: block 63 is marked bad
block 64 is bad
yaffs: block 64 is marked bad
block 65 is bad
yaffs: block 65 is marked bad
block 66 is bad
yaffs: block 1224 is marked bad
block 1225 is bad
VFS: Mounted root (yaffs filesystem).
Freeing init memory: 116K
Warning: unable to open an initial console.
Failed to execute linuxrc.  Attempting defaults...
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.
级别: 新手上路
UID: 2051
精华: 0
发帖: 11
金钱: 110 两
威望: 11 点
综合积分: 22 分
注册时间: 2008-10-22
最后登录: 2017-09-13
1楼  发表于: 2008-11-10 17:16
都没有朋友碰到这样的问题么,有没有朋友移植内核成功了呢.怎么做的啊
用哪个版本的linux,友善之臂里的资料都没说到怎么配置一个内核
还有yaffs怎么制作也没说明,都是厂家生成的镜像,好没意思啊
级别: 新手上路
UID: 1851
精华: 0
发帖: 12
金钱: 120 两
威望: 12 点
综合积分: 24 分
注册时间: 2008-10-06
最后登录: 2008-11-17
2楼  发表于: 2008-11-10 17:52
我移植vivi+linux内核(2.6.26)+cramfs+yaffs2整套花费了差不多一个月,还不算其它驱动的
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
3楼  发表于: 2008-11-10 19:25
珍惜生命,远离YAFFS
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 2051
精华: 0
发帖: 11
金钱: 110 两
威望: 11 点
综合积分: 22 分
注册时间: 2008-10-22
最后登录: 2017-09-13
4楼  发表于: 2008-11-10 19:36
哈楼上也太幽默了吧
是啊,我在学习中也发现学嵌入式要学好多内容,要查,单单配置内核就要几天,友善的资料还说一般2周就可以入门呢,却都没有怎么配置linux的部分

请教下qzq:你的是cramfs+yaffs2的文件系统吗,cramfs是不是比yaffs2好搞一点呢,能不能分享下你的移植笔记呢
级别: 新手上路
UID: 1851
精华: 0
发帖: 12
金钱: 120 两
威望: 12 点
综合积分: 24 分
注册时间: 2008-10-06
最后登录: 2008-11-17
5楼  发表于: 2008-11-10 20:15
本人太懒,一般没笔记的,我这也是赶鸭子上架,给逼着学这个的,不过现在有点喜欢上了