• «
  • 1
  • 2
  • »
  • Pages: 1/2     Go
主题 : linux 6.2.38移植到tiny6410问题 复制链接 | 浏览器收藏 | 打印
级别: 侠客
UID: 53362
精华: 0
发帖: 110
金钱: 570 两
威望: 114 点
综合积分: 220 分
注册时间: 2011-08-06
最后登录: 2013-05-21
楼主  发表于: 2011-09-16 08:32

 linux 6.2.38移植到tiny6410问题


我是按照论坛里的帖子移植的,,结果内核跑到半路就跑不下去了。。不知道为什么,,,,,求救,,,,,,


Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Linux version 2.6.38 (root@localhost.localdomain) (gcc version 4.5.1 (ctng-1.8.1
-FA) ) #1 Fri Sep 16 08:10:05 CST 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=532000000, E=24000000
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 24000000
mout_mpll: source is mpll (1), rate is 532000000
mmc_bus: source is mout_epll (0), rate is 24000000
mmc_bus: source is mout_epll (0), rate is 24000000
mmc_bus: source is mout_epll (0), rate is 24000000
usb-bus-host: source is clk_48m (0), rate is 48000000
uclk1: source is dout_mpll (1), rate is 66500000
spi-bus: source is mout_epll (0), rate is 24000000
spi-bus: source is mout_epll (0), rate is 24000000
audio-bus: source is mout_epll (0), rate is 24000000
audio-bus: source is mout_epll (0), rate is 24000000
audio-bus: source is mout_epll (0), rate is 24000000
irda-bus: source is mout_epll (0), rate is 24000000
camera: no parent clock specified
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
Kernel command line: init=/linuxrc rootfstype=ubifs root=ubi0:FriendlyARM-root u
bi.mtd=2 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: 257168k/257168k available, 4976k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xff600000 - 0xffe00000   (   8 MB)
    vmalloc : 0xd0800000 - 0xf6000000   ( 600 MB)
    lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc0020000   (  96 kB)
      .text : 0xc0020000 - 0xc02455b4   (2198 kB)
      .data : 0xc0246000 - 0xc0266d80   ( 132 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:246
VIC @f6000000: id 0x00041192, vendor 0x41
VIC @f6010000: 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
MINI6410: Option string mini6410=0
MINI6410: selected LCD display is 480x272
s3c64xx_dma_init: Registering DMA channels
PL080: IRQ 73, at d0808000, channels 0..8
PL080: IRQ 74, at d080c000, channels 8..16
S3C6410: Initialising architecture
bio: create slab <bio-0> at 0
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ROMFS MTD (C) 2007 Red Hat, Inc.
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
s3c-fb s3c-fb: window 0: fb
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
s3c6400-uart.0: ttySAC0 at MMIO 0x7f005000 (irq = 16) is a S3C6400/10
s3c6400-uart.1: ttySAC1 at MMIO 0x7f005400 (irq = 20) is a S3C6400/10
s3c6400-uart.2: ttySAC2 at MMIO 0x7f005800 (irq = 24) is a S3C6400/10
s3c6400-uart.3: ttySAC3 at MMIO 0x7f005c00 (irq = 28) is a S3C6400/10
brd: module loaded
loop: module loaded
S3C NAND Driver, (c) 2008 Samsung Electronics
MLC nand initialized, 2011 ported by FriendlyARM
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-0x000000400000 : "Bootloader"
0x000000400000-0x000000c00000 : "Kernel"
0x000000c00000-0x000080000000 : "File System"
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 79, io mem 0x74300000
s3c2410-ohci s3c2410-ohci: init err (00000000 0000)
ohci_hcd: can't start s3c24xx
s3c2410-ohci s3c2410-ohci: startup error -75
s3c2410-ohci s3c2410-ohci: USB bus 1 deregistered
s3c2410-ohci: probe of s3c2410-ohci failed with error -75
mousedev: PS/2 mouse device common for all mice
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
i2c /dev entries driver
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
s3c-sdhci s3c-sdhci.0: clock source 0: hsmmc (133000000 Hz)
s3c-sdhci s3c-sdhci.0: clock source 1: hsmmc (133000000 Hz)
s3c-sdhci s3c-sdhci.0: clock source 2: mmc_bus (24000000 Hz)
mmc0: SDHCI controller on samsung-hsmmc [s3c-sdhci.0] using ADMA
s3c-sdhci s3c-sdhci.1: clock source 0: hsmmc (133000000 Hz)
s3c-sdhci s3c-sdhci.1: clock source 1: hsmmc (133000000 Hz)
s3c-sdhci s3c-sdhci.1: clock source 2: mmc_bus (24000000 Hz)
mmc0: mmc_rescan_try_freq: trying to init card at 400000 Hz
mmc1: SDHCI controller on samsung-hsmmc [s3c-sdhci.1] using ADMA
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
VFS: Cannot open root device "ubi0:FriendlyARM-root" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00            4096 mtdblock0  (driver?)
1f01            8192 mtdblock1  (driver?)
1f02         2084864 mtdblock2  (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[<c002aadc>] (unwind_backtrace+0x0/0xe4) from [<c01aa80c>] (panic+0x50/0x16c)
[<c01aa80c>] (panic+0x50/0x16c) from [<c0008ea8>] (mount_block_root+0x238/0x288)

[<c0008ea8>] (mount_block_root+0x238/0x288) from [<c00090e0>] (prepare_namespace
+0x88/0x1b4)
[<c00090e0>] (prepare_namespace+0x88/0x1b4) from [<c0008b2c>] (kernel_init+0x108
/0x148)
[<c0008b2c>] (kernel_init+0x108/0x148) from [<c00264e8>] (kernel_thread_exit+0x0
/0x8)



我是按照论坛里的帖子移植的,,结果内核跑到半路就跑不下去了。。不知道为什么,,,,,求救,,,,,,
^很多问题的背后都是简单的原因......
级别: 荣誉会员
UID: 34780
精华: 0
发帖: 1219
金钱: 6230 两
威望: 1246 点
综合积分: 2438 分
注册时间: 2010-12-21
最后登录: 2017-09-18
1楼  发表于: 2011-09-16 10:59
你烧文件系统到板子上了吗?
级别: 侠客
UID: 53362
精华: 0
发帖: 110
金钱: 570 两
威望: 114 点
综合积分: 220 分
注册时间: 2011-08-06
最后登录: 2013-05-21
2楼  发表于: 2011-09-16 22:51
烧了也不行,,卡在这了,,但我把友善的默认的配置文件COPY过来就行,,,是配置不对,,但我不知我什么地方没有配置对,,毕竟我是按照S3C6400作为配置模板的,,,
级别: 新手上路
UID: 15894
精华: 0
发帖: 44
金钱: 220 两
威望: 44 点
综合积分: 88 分
注册时间: 2010-03-11
最后登录: 2017-09-13
3楼  发表于: 2011-09-17 09:58
“VFS: Cannot open root device "ubi0:FriendlyARM-root" or unknown-block(0,0)”
我觉得最好不要用ubi这个文件系统,前几周我也被它卡了,也遇到过你这个情况
改用yaffs之后,就没这个问题了。
一路走好,下辈子再也不做程序员
级别: 侠客
UID: 32071
精华: 6
发帖: 38
金钱: 490 两
威望: 98 点
综合积分: 196 分
注册时间: 2010-11-09
最后登录: 2019-10-18
4楼  发表于: 2011-09-19 13:22
晕,你只做了nand flash驱动,其他什么都没有加,怎么能看见文件系统?
要么添加文件系统的支持要么移植网卡驱动,然后挂nfs
一路走好,下辈子再也不做程序员
级别: 侠客
UID: 53362
精华: 0
发帖: 110
金钱: 570 两
威望: 114 点
综合积分: 220 分
注册时间: 2011-08-06
最后登录: 2013-05-21
5楼  发表于: 2011-09-21 12:37
呵呵,,不好意思,我菜鸟,,,不知道还要添加文件系统的支持,,现在还不知道怎么添加,,,。。。。。还请指点,,,,,,在这里要感谢你啊,,,多谢你的这几篇文章,,,,,,,,不然的话我就惨了哦,,,,,,,,,,,,,,,,谢谢兄台,,,,,
级别: 侠客
UID: 53362
精华: 0
发帖: 110
金钱: 570 两
威望: 114 点
综合积分: 220 分
注册时间: 2011-08-06
最后登录: 2013-05-21
6楼  发表于: 2011-09-21 12:46
root= 的参数我都填写了,,但不知道为什么不行,,,,,,不过关系文件系统,,我在make menconfig里面没做任何配置,,,,不知道是不是要再里面做配置,,,,,,,,,,,,,,,,,??
级别: 侠客
UID: 16811
精华: 0
发帖: 112
金钱: 560 两
威望: 112 点
综合积分: 224 分
注册时间: 2010-03-22
最后登录: 2018-06-27
7楼  发表于: 2011-09-21 12:59
文件系统入口位置不对
级别: 侠客
UID: 53362
精华: 0
发帖: 110
金钱: 570 两
威望: 114 点
综合积分: 220 分
注册时间: 2011-08-06
最后登录: 2013-05-21
8楼  发表于: 2011-09-21 21:28
那该怎么改呢,,急啊
级别: 侠客
UID: 16811
精华: 0
发帖: 112
金钱: 560 两
威望: 112 点
综合积分: 224 分
注册时间: 2010-03-22
最后登录: 2018-06-27
9楼  发表于: 2011-09-22 08:37
看资料
  • «
  • 1
  • 2
  • »
  • Pages: 1/2     Go