嵌入式爱好者

查看: 13127|回复: 11

移植2.6.33内核需要用哪个文件系统?

[复制链接]

0

主题

0

帖子

36

积分

LS1012A通行证LS1043A\46A通行证A40i/T3/T507/T527通行证i.MX8MM通行证RK3399通行证LS1028A通行证i.MX8MP通行证AM5718通行证AM335x通行证i.MX6UL通行证i.MX RT通行证i.MX6Q通行证XX18通行证

扫一扫,手机访问本帖
发表于 2010-4-26 22:29:30 | 显示全部楼层 |阅读模式
光盘中有两个yaffs文件系统,请问对于2.6.33用哪个比较合适???
回复

使用道具 举报

0

主题

0

帖子

36

积分

LS1012A通行证LS1043A\46A通行证A40i/T3/T507/T527通行证i.MX8MM通行证RK3399通行证LS1028A通行证i.MX8MP通行证AM5718通行证AM335x通行证i.MX6UL通行证i.MX RT通行证i.MX6Q通行证XX18通行证

 楼主| 发表于 2010-4-26 22:39:14 | 显示全部楼层
还有几个问题,就是怎么测试移植的驱动有没有成功??新移植的操作系统应该是不支持QT的,所以LCD是花屏对么?新移植的操作系统是无法登陆的,怎么才能正常登陆??

大家要是有和我一样的疑问就把帖顶起来,知道就帮忙解答一下。

小弟在此谢谢了。
回复 支持 反对

使用道具 举报

0

主题

905

帖子

743

积分

i.MX6Q通行证i.MX6UL通行证TCU通行证AM335x通行证

发表于 2010-4-26 22:46:16 | 显示全部楼层
你用光盘上linux-2.6.28文件夹下的文件系统比较合适,驱动能够正常使用则算移植成功

新移植的操作系统应该是不支持QT的,所以LCD是花屏对么?
支持qt是看你是否移植了qt,跟是不是新移植的操作系统没什么关系,如果你使用光盘里28内核的文件系统适应该有桌面的。

新移植的操作系统是无法登陆的?
这是什么意思。

移植2.6.33内核,请看置顶帖中有关于2.6.33的详细移植步骤
回复 支持 反对

使用道具 举报

0

主题

0

帖子

36

积分

LS1012A通行证LS1043A\46A通行证A40i/T3/T507/T527通行证i.MX8MM通行证RK3399通行证LS1028A通行证i.MX8MP通行证AM5718通行证AM335x通行证i.MX6UL通行证i.MX RT通行证i.MX6Q通行证XX18通行证

 楼主| 发表于 2010-4-26 23:33:07 | 显示全部楼层
NAND ID is 0xecf1
Set boot params = root=/dev/mtdblock3 init=/linuxrc load_ramdisk=0 console=ttySAC0,115200 mem=65536K devfs=mount display=sam320 0
Load Kernel...
Uncompressing Linux... done, booting the kernel.
Linux version 2.6.33 (root@localhost.localdomain) (gcc version 3.4.1) #4 Mon Apr 26 23:22:57 CST 2010
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
CPU: VIVT data cache, VIVT instruction cache
Machine: SMDK2410
ATAG_INITRD is deprecated; please update your bootloader.
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C24XX Clocks, Copyright 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: root=/dev/mtdblock3 init=/linuxrc load_ramdisk=0 console=ttySAC0,115200 mem=65536K devfs=mount display=sam320 0
PID hash table entries: 256 (order: -2, 1024 bytes)
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: 60908KB available (3480K code, 319K data, 164K init, 0K highmem)
Hierarchical RCU implementation.
NR_IRQS:99
irq: clearing pending ext status 000dfe00
irq: clearing subpending status 00000093
irq: clearing subpending status 00000092
Console: colour dummy device 80x30
console [ttySAC0] enabled
Calibrating delay loop... 199.47 BogoMIPS (lpj=498688)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
S3C Power Management, Copyright 2004 Simtec Electronics
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C24XX DMA Driver, Copyright 2003-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
s3c-i2c s3c2440-i2c: slave address 0x10
s3c-i2c s3c2440-i2c: bus frequency set to 97 KHz
s3c-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
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 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 (extended precision)
ROMFS MTD (C) 2007 Red Hat, Inc.
yaffs Apr 22 2010 23:28:18 Installing.
msgmni has been set to 119
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
s3c2410-lcd s3c2410-lcd: no platform data for lcd, cannot attach
s3c2410-lcd: probe of s3c2410-lcd failed with error -22
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: 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
brd: module loaded
loop: module loaded
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c24xx-nand s3c2440-nand: Tacls=2, 20ns Twrph0=6 60ns, Twrph1=2 20ns
s3c24xx-nand s3c2440-nand: NAND soft ECC
NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 370 at 0x000002e40000
Creating 8 MTD partitions on "NAND 128MiB 3,3V 8-bit":
0x000000000000-0x000000100000 : "boot"
0x000000100000-0x000000140000 : "bootParam"
0x000000140000-0x000000240000 : "pic"
0x000000240000-0x000000500000 : "MyApp"
0x000000500000-0x000000800000 : "kernel"
0x000000800000-0x000004400000 : "fs_yaffs"
0x000004400000-0x000008000000 : "wince"
0x000000000000-0x000008000000 : "(null)"
dm9000 Ethernet Driver, V1.31
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
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.5.0: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 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
TCP cubic registered
NET: Registered protocol family 17
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
uncorrectable error :
end_request: I/O error, dev mtdblock3, sector 2
EXT3-fs (mtdblock3): error: unable to read superblock
uncorrectable error :
end_request: I/O error, dev mtdblock3, sector 2
EXT2-fs (mtdblock3): error: unable to read superblock
uncorrectable error :
end_request: I/O error, dev mtdblock3, sector 0
Buffer I/O error on device mtdblock3, logical block 0
uncorrectable error :
end_request: I/O error, dev mtdblock3, sector 0
Buffer I/O error on device mtdblock3, logical block 0
uncorrectable error :
end_request: I/O error, dev mtdblock3, sector 8
Buffer I/O error on device mtdblock3, logical block 1
uncorrectable error :
end_request: I/O error, dev mtdblock3, sector 8
Buffer I/O error on device mtdblock3, logical block 1
end_request: I/O error, dev mtdblock3, sector 16
Buffer I/O error on device mtdblock3, logical block 2
end_request: I/O error, dev mtdblock3, sector 16
Buffer I/O error on device mtdblock3, logical block 2
uncorrectable error :
end_request: I/O error, dev mtdblock3, sector 24
Buffer I/O error on device mtdblock3, logical block 3
uncorrectable error :
end_request: I/O error, dev mtdblock3, sector 24
Buffer I/O error on device mtdblock3, logical block 3
uncorrectable error :
end_request: I/O error, dev mtdblock3, sector 0
FAT: unable to read boot sector
VFS: Cannot open root device "mtdblock3" or unknown-block(31,3)
Please append a correct "root=" boot option; here are the available partitions:
1f00            1024 mtdblock0 (driver?)
1f01             256 mtdblock1 (driver?)
1f02            1024 mtdblock2 (driver?)
1f03            2816 mtdblock3 (driver?)
1f04            3072 mtdblock4 (driver?)
1f05           61440 mtdblock5 (driver?)
1f06           61440 mtdblock6 (driver?)
1f07          131072 mtdblock7 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
Backtrace:
[<c00359cc>] (dump_backtrace+0x0/0x104) from [<c0035ae8>] (dump_stack+0x18/0x1c)
r7:c3886000 r6:c3886037 r5:00000000 r4:c381bf5c
[<c0035ad0>] (dump_stack+0x0/0x1c) from [<c00556c0>] (panic+0x3c/0x124)
[<c0055684>] (panic+0x0/0x124) from [<c0009044>] (mount_block_root+0x1d8/0x21c)
r3:00000000 r2:20000013 r1:c381bf5c r0:c03407fc
[<c0008e6c>] (mount_block_root+0x0/0x21c) from [<c0009254>] (mount_root+0xd0/0xf0)
[<c0009184>] (mount_root+0x0/0xf0) from [<c00093e4>] (prepare_namespace+0x170/0x1d0)
r6:00000000 r5:c0028a0c r4:c03becf4
[<c0009274>] (prepare_namespace+0x0/0x1d0) from [<c0008c1c>] (kernel_init+0xd8/0x10c)
r5:c0027700 r4:c03bead8
[<c0008b44>] (kernel_init+0x0/0x10c) from [<c0057ecc>] (do_exit+0x0/0x5a4)
r5:00000000 r4:00000000
这是Uart输出的信息,好像是flash有问题。
回复 支持 反对

使用道具 举报

0

主题

0

帖子

36

积分

LS1012A通行证LS1043A\46A通行证A40i/T3/T507/T527通行证i.MX8MM通行证RK3399通行证LS1028A通行证i.MX8MP通行证AM5718通行证AM335x通行证i.MX6UL通行证i.MX RT通行证i.MX6Q通行证XX18通行证

 楼主| 发表于 2010-4-26 23:47:48 | 显示全部楼层
正常pwd会显示路径,这个好像没认出分区。分区格式按照“开贴详述linux-2.6.33内核的移植”的格式改也是一样。
FAT: unable to read boot sector
VFS: Cannot open root device "mtdblock3" or unknown-block(31,3)
Please append a correct "root=" boot option; here are the available partitions:
1f00            1024 mtdblock0 (driver?)
1f01            2816 mtdblock1 (driver?)
1f02            3072 mtdblock2 (driver?)
1f03           61440 mtdblock3 (driver?)
1f04           61440 mtdblock4 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
Backtrace:
[<c00359cc>] (dump_backtrace+0x0/0x104) from [<c0035ae8>] (dump_stack+0x18/0x1c)
r7:c3886000 r6:c3886037 r5:00000000 r4:c381bf5c
[<c0035ad0>] (dump_stack+0x0/0x1c) from [<c00556c0>] (panic+0x3c/0x124)
[<c0055684>] (panic+0x0/0x124) from [<c0009044>] (mount_block_root+0x1d8/0x21c)
r3:00000000 r2:20000013 r1:c381bf5c r0:c03407fc
[<c0008e6c>] (mount_block_root+0x0/0x21c) from [<c0009254>] (mount_root+0xd0/0xf0)
[<c0009184>] (mount_root+0x0/0xf0) from [<c00093e4>] (prepare_namespace+0x170/0x1d0)
r6:00000000 r5:c0028a0c r4:c03bec94
[<c0009274>] (prepare_namespace+0x0/0x1d0) from [<c0008c1c>] (kernel_init+0xd8/0x10c)
r5:c0027700 r4:c03bea78
[<c0008b44>] (kernel_init+0x0/0x10c) from [<c0057ecc>] (do_exit+0x0/0x5a4)
r5:00000000 r4:00000000
回复 支持 反对

使用道具 举报

29

主题

9048

帖子

5593

积分

发表于 2010-4-27 08:16:39 | 显示全部楼层
没打yaffs2补丁?
回复 支持 反对

使用道具 举报

0

主题

0

帖子

36

积分

LS1012A通行证LS1043A\46A通行证A40i/T3/T507/T527通行证i.MX8MM通行证RK3399通行证LS1028A通行证i.MX8MP通行证AM5718通行证AM335x通行证i.MX6UL通行证i.MX RT通行证i.MX6Q通行证XX18通行证

 楼主| 发表于 2010-4-27 11:04:32 | 显示全部楼层
有打啊,而且配置单里也有这个配置选项。
回复 支持 反对

使用道具 举报

0

主题

905

帖子

743

积分

i.MX6Q通行证i.MX6UL通行证TCU通行证AM335x通行证

发表于 2010-4-27 18:19:15 | 显示全部楼层
你的分区文件是不是搞错了,文件系统挂的是第3块,显然你的文件系统不是第三块,请参考置顶帖移植
回复 支持 反对

使用道具 举报

0

主题

905

帖子

743

积分

i.MX6Q通行证i.MX6UL通行证TCU通行证AM335x通行证

发表于 2010-4-27 18:19:25 | 显示全部楼层
你的分区文件是不是搞错了,文件系统挂的是第3块,显然你的文件系统不是第三块,请参考置顶帖移植
回复 支持 反对

使用道具 举报

0

主题

0

帖子

36

积分

LS1012A通行证LS1043A\46A通行证A40i/T3/T507/T527通行证i.MX8MM通行证RK3399通行证LS1028A通行证i.MX8MP通行证AM5718通行证AM335x通行证i.MX6UL通行证i.MX RT通行证i.MX6Q通行证XX18通行证

 楼主| 发表于 2010-4-27 19:13:20 | 显示全部楼层
文件系统挂载在第三块“[3]”,还是一样问题才按照bootloader改成这个样子的。
回复 支持 反对

使用道具 举报

0

主题

905

帖子

743

积分

i.MX6Q通行证i.MX6UL通行证TCU通行证AM335x通行证

发表于 2010-4-27 23:53:36 | 显示全部楼层
bootloader的参数7的值就是内核所要挂在的文件系统所在的分区,现在boot已经给固定在3了。所以你改成那样肯定是不行的。
回复 支持 反对

使用道具 举报

0

主题

0

帖子

36

积分

LS1012A通行证LS1043A\46A通行证A40i/T3/T507/T527通行证i.MX8MM通行证RK3399通行证LS1028A通行证i.MX8MP通行证AM5718通行证AM335x通行证i.MX6UL通行证i.MX RT通行证i.MX6Q通行证XX18通行证

 楼主| 发表于 2010-4-28 11:28:10 | 显示全部楼层
解决了,不像是分区的问题。应该是nand就没驱动成功到。具体原因晚上查找看看......
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2025-1-8 20:13

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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