主题 : Superboot并不支持yaffs2格式的MLC2 Nand Flash烧写。 复制链接 | 浏览器收藏 | 打印
学海无涯
级别: 新手上路
UID: 51179
精华: 0
发帖: 27
金钱: 135 两
威望: 27 点
综合积分: 54 分
注册时间: 2011-06-30
最后登录: 2012-03-14
楼主  发表于: 2012-02-29 15:32

 Superboot并不支持yaffs2格式的MLC2 Nand Flash烧写。

请高手指点!Superboot并不支持yaffs2格式的MLC2 Nand Flash烧写。
但是烧写linux-2.6.36时,要用yaffs2格式的,它不支持rootfs_qtopia_qt4-mlc2.ubi的UBIFS文件系统,请问有何解决方法!
每次烧写都卡在这,网上说用linux-2.638,这我知道,也成功烧写了,但是我现在得用2.6.36的,求救!
/0x12c)
[<c02fef50>] (driver_register+0xa8/0x12c) from [<c001a814>] (s3c_nand_init+0x28/
0x3c)
[<c001a814>] (s3c_nand_init+0x28/0x3c) from [<c01674a4>] (do_one_initcall+0xbc/0
x190)
[<c01674a4>] (do_one_initcall+0xbc/0x190) from [<c0008af8>] (kernel_init+0x98/0x
14c)
[<c0008af8>] (kernel_init+0x98/0x14c) from [<c0168e54>] (kernel_thread_exit+0x0/
0x8)
自由,自强,共享,共创。
级别: 论坛版主
UID: 12573
精华: 27
发帖: 8838
金钱: 46490 两
威望: 9298 点
综合积分: 18216 分
注册时间: 2010-01-09
最后登录: 2019-07-16
1楼  发表于: 2012-02-29 15:43
2.6.36可以支持UBIFS
新手如何向我们反馈有效的信息,以便解决问题,见此贴:
http://www.arm9home.net/read.php?tid-14431.html

[注]: 此处签名链接仅为指引方向,而非解答问题本身.
学海无涯
级别: 新手上路
UID: 51179
精华: 0
发帖: 27
金钱: 135 两
威望: 27 点
综合积分: 54 分
注册时间: 2011-06-30
最后登录: 2012-03-14
2楼  发表于: 2012-02-29 15:52
开发板的硬件基本信息
(1)    开发板类型:    Tiny6410
(2)    RAM大小: 256M
(3)    NAND Flash类型和大小: 是MLC2
(4)    LCD类型: N43
(5)win7系统
按照pdf上步骤
安装Linux系统主要有以下步骤:
(1)对Nand Flash进行格式化,对应命令[f]
(2)安装Bootloader,对应命令[v]
(3)安装内核文件,对应命令[k]
(4)安装目标文件系统(yaffs2或ubifs格式),对应命令[y]或
我成功安装了linux-2.6.38,可是l同样方法inux-2.6.36就是安装不成功,纠结好久了,能帮我分析分析吗,谢谢
^很多问题的背后都是简单的原因......
级别: 荣誉会员
UID: 34780
精华: 0
发帖: 1219
金钱: 6230 两
威望: 1246 点
综合积分: 2438 分
注册时间: 2010-12-21
最后登录: 2017-09-18
3楼  发表于: 2012-02-29 16:07
建议贴上完整的调试信息让大家看看
学海无涯
级别: 新手上路
UID: 51179
精华: 0
发帖: 27
金钱: 135 两
威望: 27 点
综合积分: 54 分
注册时间: 2011-06-30
最后登录: 2012-03-14
4楼  发表于: 2012-02-29 16:10
这个就是调试信息,一直卡这
##### FriendlyARM Superboot for 6410 #####
[f] Format the nand flash
[p] Download superboot
[v] Download uboot.bin
[k] Download Linux/Android kernel
[y] Download root yaffs2 image
Download root ubifs image
[a] Download Absolute User Application
[n] Download Nboot.nb0 for WinCE
[l] Download WinCE bootlogo
[w] Download WinCE NK.bin
Boot the system
[s] Set the boot parameter of Linux
[d] Download and Run an Absolute User Application
Version: 1150, RAM 2048 MiB, NAND(MLC2) 2GiB
Please enter your Selection:b
Load Kernel...
Uncompressing Linux... done, booting the kernel.
Linux version 2.6.36-FriendlyARM (root@jensen) (gcc version 4.5.1 (ctng-1.8.1-FA
) ) #7 PREEMPT Wed Jan 12 18:29:13 HKT 2011
CPU: ARMv6-compatible processor [410fb766] revision 6 (ARMv7), cr=00c5387f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: MINI6410
Memory policy: ECC disabled, Data cache writeback
CPU S3C6410 (id 0x36410101)
S3C24XX Clocks, Copyright 2004 Simtec Electronics
camera: no parent clock specified
S3C64XX: PLL settings, A=532000000, M=266000000, E=84666666
S3C64XX: HCLK2=266000000, HCLK=133000000, PCLK=66500000
mout_apll: source is fout_apll (1), rate is 532000000
mout_epll: source is epll (1), rate is 84666666
mout_mpll: source is mpll (1), rate is 266000000
mmc_bus: source is mout_epll (0), rate is 42333333
mmc_bus: source is mout_epll (0), rate is 84666666
mmc_bus: source is mout_epll (0), rate is 84666666
usb-bus-host: source is clk_48m (0), rate is 48000000
uclk1: source is mout_epll (0), rate is 84666666
spi-bus: source is mout_epll (0), rate is 84666666
spi-bus: source is mout_epll (0), rate is 84666666
audio-bus: source is mout_epll (0), rate is 84666666
audio-bus: source is mout_epll (0), rate is 84666666
audio-bus: source is mout_epll (0), rate is 84666666
irda-bus: source is mout_epll (0), rate is 84666666
camera: no parent clock specified
s3c64xx: 10485760 bytes SDRAM reserved for fimc at 0x5f5f8000
s3c64xx: 8388608 bytes SDRAM reserved for pp at 0x5edf8000
s3c64xx: 8388608 bytes SDRAM reserved for tv at 0x5e5f8000
s3c64xx: 6291456 bytes SDRAM reserved for mfc at 0x5dff8000
s3c64xx: 4194304 bytes SDRAM reserved for jpeg at 0x5dbf8000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
Kernel command line: root=/dev/mtdblock2 console=ttySAC0,115200
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256MB = 256MB total
Memory: 215360k/215360k available, 46784k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xff600000 - 0xffe00000   (   8 MB)
    vmalloc : 0xd0800000 - 0xe0000000   ( 248 MB)
    lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc0167000   (1404 kB)
      .text : 0xc0167000 - 0xc06d5000   (5560 kB)
      .data : 0xc06f6000 - 0xc0735b60   ( 255 kB)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
        RCU-based detection of stalled CPUs is disabled.
        Verbose stalled-CPUs detection is disabled.
NR_IRQS:246
VIC @f4000000: id 0x00041192, vendor 0x41
VIC @f4010000: id 0x00041192, vendor 0x41
Console: colour dummy device 80x30
console [ttySAC0] enabled
Calibrating delay loop... 530.84 BogoMIPS (lpj=2654208)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
s3c64xx_dma_init: Registering DMA channels
s3c64xx_dma_init1: registering DMA 0 (d0808100)
s3c64xx_dma_init1: registering DMA 1 (d0808120)
s3c64xx_dma_init1: registering DMA 2 (d0808140)
s3c64xx_dma_init1: registering DMA 3 (d0808160)
s3c64xx_dma_init1: registering DMA 4 (d0808180)
s3c64xx_dma_init1: registering DMA 5 (d08081a0)
s3c64xx_dma_init1: registering DMA 6 (d08081c0)
s3c64xx_dma_init1: registering DMA 7 (d08081e0)
PL080: IRQ 73, at d0808000
s3c64xx_dma_init1: registering DMA 8 (d080c100)
s3c64xx_dma_init1: registering DMA 9 (d080c120)
s3c64xx_dma_init1: registering DMA 10 (d080c140)
s3c64xx_dma_init1: registering DMA 11 (d080c160)
s3c64xx_dma_init1: registering DMA 12 (d080c180)
s3c64xx_dma_init1: registering DMA 13 (d080c1a0)
s3c64xx_dma_init1: registering DMA 14 (d080c1c0)
s3c64xx_dma_init1: registering DMA 15 (d080c1e0)
PL080: IRQ 74, at d080c000
S3C6410: Initialising architecture
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
s3c-i2c s3c2440-i2c: slave address 0x10
s3c-i2c s3c2440-i2c: bus frequency set to 64 KHz
s3c-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
Advanced Linux Sound Architecture Driver Version 1.0.23.
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 5, 163840 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
UDP hash table entries: 128 (order: 0, 6144 bytes)
UDP-Lite hash table entries: 128 (order: 0, 6144 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
NetWinder Floating Point Emulator V0.97 (double precision)
squashfs: version 4.0 (2009/01/31) Phillip Lougher
msgmni has been set to 420
io scheduler noop registered (default)
S3C_LCD clock got enabled :: 133.000 Mhz
LCD TYPE :: N43 will be initialized
Window[0] - FB1: map_video_memory: clear ff600000:0007f800
            FB1: map_video_memory: dma=5d780000 cpu=ff600000 size=0007f800
Window[0] - FB2: map_video_memory: clear ff63fc00:0003fc00
            FB2: map_video_memory: dma=5d7bfc00 cpu=ff63fc00 size=0003fc00
Console: switching to colour frame buffer device 60x34
fb0: s3cfb frame buffer device
Window[1] - FB1: map_video_memory: clear ff700000:0007f800
            FB1: map_video_memory: dma=5cc00000 cpu=ff700000 size=0007f800
Window[1] - FB2: map_video_memory: clear ff73fc00:0003fc00
            FB2: map_video_memory: dma=5cc3fc00 cpu=ff73fc00 size=0003fc00
fb1: s3cfb frame buffer device
Window[2] - FB1: map_video_memory: clear ff680000:0003fc00
            FB1: map_video_memory: dma=5d740000 cpu=ff680000 size=0003fc00
fb2: s3cfb frame buffer device
Window[3] - FB1: map_video_memory: clear ff780000:0003fc00
            FB1: map_video_memory: dma=5cc80000 cpu=ff780000 size=0003fc00
fb3: s3cfb frame buffer device
backlight       initialized
leds    initialized
buttons initialized
pwm     initialized
adc     initialized
s3c6400-uart.0: s3c2410_serial0 at MMIO 0x7f005000 (irq = 16) is a S3C6400/10
s3c6400-uart.1: s3c2410_serial1 at MMIO 0x7f005400 (irq = 20) is a S3C6400/10
s3c6400-uart.2: s3c2410_serial2 at MMIO 0x7f005800 (irq = 24) is a S3C6400/10
s3c6400-uart.3: s3c2410_serial3 at MMIO 0x7f005c00 (irq = 28) is a S3C6400/10
loop: module loaded
S3C NAND Driver, (c) 2008 Samsung Electronics
S3C NAND Driver is using hardware ECC.
NAND device: Manufacturer ID: 0xec, Chip ID: 0xd5 (Samsung NAND 2GiB 3,3V 8-bit)

Creating 3 MTD partitions on "NAND 2GiB 3,3V 8-bit":
0x000000000000-0x000000080000 : "Bootloader"
0x000000080000-0x000000580000 : "Kernel"
0x000000580000-0x000080000000 : "File System"
mtd: partition "File System" doesn't start on an erase block boundary -- force r
ead-only
kernel BUG at drivers/mtd/nand/nand_base.c:217!
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c0004000
[00000000] *pgd=00000000
Internal error: Oops: 805 [#1] PREEMPT
last sysfs file:
Modules linked in:
CPU: 0    Not tainted  (2.6.36-FriendlyARM #7)
PC is at __bug+0x1c/0x28
LR is at __bug+0x18/0x28
pc : [<c016b50c>]    lr : [<c016b508>]    psr: 60000013
sp : cd429e50  ip : 00002f00  fp : 00000000
r10: 00000001  r9 : 00000002  r8 : 0000003f
r7 : ccccc000  r6 : ccccc1a8  r5 : 00000000  r4 : 00000001
r3 : 00000000  r2 : cd429e44  r1 : c064ea36  r0 : 00000036
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 00c5387d  Table: 50004008  DAC: 00000017
Process swapper (pid: 1, stack limit = 0xcd428268)
Stack: (0xcd429e50 to 0xcd42a000)
9e40:                                     c031c26c c031c2a4 c031c26c c031eb24
9e60: 00000000 00000001 00000000 ccccc000 cd41cc50 000001b0 7fa00000 c031c888
9e80: 00000001 00000000 7ff80000 00100000 cd71f600 c031c8d4 00000001 00000000
9ea0: 7ff80000 c0318158 80000000 00000000 c068303c c01d5070 c06f87a4 00000003
9ec0: ccccc1a8 ccccc1a8 00000000 c0713318 c0765bc8 cd448200 00000000 c0712f10
9ee0: c03211a4 c0321c9c 00000000 00000002 cd429e80 c06fdff8 c06fdff8 c07134a4
9f00: c07134a4 00000000 00000000 00000000 00000000 c02ffa08 c02ff9f4 c02febf4
9f20: 00000000 c06fdff8 c06fe02c c07134a4 00000000 c02fed04 c07134a4 cd429f48
9f40: c02feca4 c02fdec8 cd401dc8 cd44a040 c07134a4 c07134a4 cd739120 c0711870
9f60: 00000000 c02fe57c c0650755 c0650755 cd429f68 c07134a4 c0025570 c0168e54
9f80: c001a7ec 00000000 00000000 c02fef50 00000000 c07133f8 c0025570 c0168e54
9fa0: c001a7ec 00000000 00000000 c001a814 c0025280 c01674a4 00000000 c0160000
9fc0: 00000013 000000f5 c0708434 c0025280 c0025570 c0168e54 00000013 00000000
9fe0: 00000000 c0008af8 00000000 00000000 c0008a60 c0168e54 ffffffff ffffffff
[<c016b50c>] (__bug+0x1c/0x28) from [<c031c2a4>] (nand_select_chip+0x38/0x3c)
[<c031c2a4>] (nand_select_chip+0x38/0x3c) from [<c031eb24>] (nand_block_bad+0x88
/0x138)
[<c031eb24>] (nand_block_bad+0x88/0x138) from [<c031c888>] (nand_block_checkbad+
0x28/0x40)
[<c031c888>] (nand_block_checkbad+0x28/0x40) from [<c031c8d4>] (nand_block_isbad
+0x34/0x40)
[<c031c8d4>] (nand_block_isbad+0x34/0x40) from [<c0318158>] (add_mtd_partitions+
0x5ac/0x6b4)
[<c0318158>] (add_mtd_partitions+0x5ac/0x6b4) from [<c0321c9c>] (s3c_nand_probe+
0x348/0x3dc)
[<c0321c9c>] (s3c_nand_probe+0x348/0x3dc) from [<c02ffa08>] (platform_drv_probe+
0x14/0x18)
[<c02ffa08>] (platform_drv_probe+0x14/0x18) from [<c02febf4>] (driver_probe_devi
ce+0xa8/0x158)
[<c02febf4>] (driver_probe_device+0xa8/0x158) from [<c02fed04>] (__driver_attach
+0x60/0x84)
[<c02fed04>] (__driver_attach+0x60/0x84) from [<c02fdec8>] (bus_for_each_dev+0x4
c/0x78)
[<c02fdec8>] (bus_for_each_dev+0x4c/0x78) from [<c02fe57c>] (bus_add_driver+0x94
/0x210)
[<c02fe57c>] (bus_add_driver+0x94/0x210) from [<c02fef50>] (driver_register+0xa8
/0x12c)
[<c02fef50>] (driver_register+0xa8/0x12c) from [<c001a814>] (s3c_nand_init+0x28/
0x3c)
[<c001a814>] (s3c_nand_init+0x28/0x3c) from [<c01674a4>] (do_one_initcall+0xbc/0
x190)
[<c01674a4>] (do_one_initcall+0xbc/0x190) from [<c0008af8>] (kernel_init+0x98/0x
14c)
[<c0008af8>] (kernel_init+0x98/0x14c) from [<c0168e54>] (kernel_thread_exit+0x0/
0x8)
Code: e59f0010 e1a01003 eb0e44ff e3a03000 (e5833000)
---[ end trace b3ee1e4a0f63a7c0 ]---
Kernel panic - not syncing: Attempted to kill init!
[<c016d464>] (unwind_backtrace+0x0/0xe4) from [<c04fc7ec>] (panic+0x58/0x174)
[<c04fc7ec>] (panic+0x58/0x174) from [<c0187848>] (do_exit+0x68/0x5cc)
[<c0187848>] (do_exit+0x68/0x5cc) from [<c016ba40>] (die+0x190/0x1c0)
[<c016ba40>] (die+0x190/0x1c0) from [<c016e368>] (__do_kernel_fault+0x64/0x84)
[<c016e368>] (__do_kernel_fault+0x64/0x84) from [<c016e560>] (do_page_fault+0x1d
8/0x1f4)
[<c016e560>] (do_page_fault+0x1d8/0x1f4) from [<c0167218>] (do_DataAbort+0x30/0x
98)
[<c0167218>] (do_DataAbort+0x30/0x98) from [<c01679ec>] (__dabt_svc+0x4c/0x60)
Exception stack(0xcd429e08 to 0xcd429e50)
9e00:                   00000036 c064ea36 cd429e44 00000000 00000001 00000000
9e20: ccccc1a8 ccccc000 0000003f 00000002 00000001 00000000 00002f00 cd429e50
9e40: c016b508 c016b50c 60000013 ffffffff
[<c01679ec>] (__dabt_svc+0x4c/0x60) from [<c016b50c>] (__bug+0x1c/0x28)
[<c016b50c>] (__bug+0x1c/0x28) from [<c031c2a4>] (nand_select_chip+0x38/0x3c)
[<c031c2a4>] (nand_select_chip+0x38/0x3c) from [<c031eb24>] (nand_block_bad+0x88
/0x138)
[<c031eb24>] (nand_block_bad+0x88/0x138) from [<c031c888>] (nand_block_checkbad+
0x28/0x40)
[<c031c888>] (nand_block_checkbad+0x28/0x40) from [<c031c8d4>] (nand_block_isbad
+0x34/0x40)
[<c031c8d4>] (nand_block_isbad+0x34/0x40) from [<c0318158>] (add_mtd_partitions+
0x5ac/0x6b4)
[<c0318158>] (add_mtd_partitions+0x5ac/0x6b4) from [<c0321c9c>] (s3c_nand_probe+
0x348/0x3dc)
[<c0321c9c>] (s3c_nand_probe+0x348/0x3dc) from [<c02ffa08>] (platform_drv_probe+
0x14/0x18)
[<c02ffa08>] (platform_drv_probe+0x14/0x18) from [<c02febf4>] (driver_probe_devi
ce+0xa8/0x158)
[<c02febf4>] (driver_probe_device+0xa8/0x158) from [<c02fed04>] (__driver_attach
+0x60/0x84)
[<c02fed04>] (__driver_attach+0x60/0x84) from [<c02fdec8>] (bus_for_each_dev+0x4
c/0x78)
[<c02fdec8>] (bus_for_each_dev+0x4c/0x78) from [<c02fe57c>] (bus_add_driver+0x94
/0x210)
[<c02fe57c>] (bus_add_driver+0x94/0x210) from [<c02fef50>] (driver_register+0xa8
/0x12c)
[<c02fef50>] (driver_register+0xa8/0x12c) from [<c001a814>] (s3c_nand_init+0x28/
0x3c)
[<c001a814>] (s3c_nand_init+0x28/0x3c) from [<c01674a4>] (do_one_initcall+0xbc/0
x190)
[<c01674a4>] (do_one_initcall+0xbc/0x190) from [<c0008af8>] (kernel_init+0x98/0x
14c)
[<c0008af8>] (kernel_init+0x98/0x14c) from [<c0168e54>] (kernel_thread_exit+0x0/
0x8)
级别: 新手上路
UID: 71615
精华: 0
发帖: 9
金钱: 45 两
威望: 9 点
综合积分: 18 分
注册时间: 2012-06-07
最后登录: 2012-06-11
5楼  发表于: 2012-06-09 14:33
hao