找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 2236|回复: 2

trunk运行出错

[复制链接]
发表于 2014-12-10 14:34 | 显示全部楼层 |阅读模式
买了一块MT762的开发板,下了个PandoraBox的源码编译不过,下载trunk,又不过,大家都是一样编译的差距太大了,,,,,求指点!!!!!!!!!!!!!!!!!!
8R[E[[S~`XYT0VUYJQ$VQMH.jpg (77.75 KB, 下载次数: 0)

trunk

内核运行.jpg (73.27 KB, 下载次数: 0)

PandoraBox



 楼主| 发表于 2015-1-9 17:42 | 显示全部楼层
这个在dts的xx.dts文件里加chosen={ root=/dev/mtdblock}就ok了
 楼主| 发表于 2015-1-9 17:43 | 显示全部楼层
又出现新问题了
Press Reset button enter upgrade mode!
## Booting image at bc040000 ...
   Image Name:   MIPS OpenWrt Linux-3.14.25
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1105029 Bytes =  1.1 MB
   Load Address: 80000000
   Entry Point:  80000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 256

Starting kernel ...

[    0.000000] Linux version 3.14.25 (nb@nb) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r43552) ) #22 Sun Jan 4 14:50:50 CST 2015
[    0.000000] Board has DDR2
[    0.000000] Analog PMU set to hw control
[    0.000000] Digital PMU set to hw control
[    0.000000] SoC Type: Ralink MT7620A ver:2 eco:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019650 (MIPS 24KEc)
[    0.000000] MIPS: machine is Lenovo Y1
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 10000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x0fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x0fffffff]
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: root=/dev/mtdblock3 rootfstype=squashfs init=/sbin/init noinitrd console=ttyS0,115200 console=ttyS0,115200
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Writing ErrCtl register=00042800
[    0.000000] Readback ErrCtl register=00042800
[    0.000000] Memory: 256424K/262144K available (2398K kernel code, 124K rwdata, 488K rodata, 180K init, 184K bss, 5720K reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] CPU Clock: 580MHz
[    0.000000] systick: running - mult: 214748, shift: 32
[    0.000000] genirq: Flags mismatch irq 7. 00014600 (timer) vs. 00014600 (systick)
[    0.000000] Calibrating delay loop... 766.77 BogoMIPS (lpj=3833856)
[    0.040000] pid_max: default: 32768 minimum: 301
[    0.040000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.040000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.050000] pinctrl core: initialized pinctrl subsystem
[    0.050000] NET: Registered protocol family 16
[    0.380000] mt7620-pci 10140000.pcie: PCIE0 no card, disable it(RST&CLK)
[    0.390000] mt7620-pci: probe of 10140000.pcie failed with error -1
[    0.390000] bio: create slab <bio-0> at 0
[    0.390000] rt2880_gpio 10000600.gpio: registering 24 gpios
[    0.400000] rt2880_gpio 10000600.gpio: registering 24 irq handlers
[    0.400000] rt2880_gpio 10000660.gpio: registering 32 gpios
[    0.400000] rt2880_gpio 10000660.gpio: registering 32 irq handlers
[    0.400000] rt2880_gpio 10000688.gpio: registering 1 gpios
[    0.410000] rt2880_gpio 10000688.gpio: registering 1 irq handlers
[    0.410000] Switched to clocksource systick
[    0.410000] NET: Registered protocol family 2
[    0.420000] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.420000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.420000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.440000] TCP: reno registered
[    0.440000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.440000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.450000] NET: Registered protocol family 1
[    0.460000] rt-timer 10000100.timer: maximum frequency is 2441Hz
[    0.460000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.480000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.500000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.500000] msgmni has been set to 500
[    0.500000] io scheduler noop registered
[    0.500000] io scheduler deadline registered (default)
[    0.500000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.500000] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a 16550A
[    0.500000] console [ttyS0] enabled
[    0.500000] console [ttyS0] enabled
[    0.500000] bootconsole [early0] disabled
[    0.500000] bootconsole [early0] disabled
[    0.500000] m25p80 spi32766.0: found w25q256, expected w25q128
[    0.500000] m25p80 spi32766.0: w25q256 (32768 Kbytes)
[    0.500000] 4 ofpart partitions found on MTD device spi32766.0
[    0.500000] Creating 4 MTD partitions on "spi32766.0":
[    0.500000] 0x000000000000-0x000000030000 : "u-boot"
[    0.500000] 0x000000030000-0x000000040000 : "u-boot-env"
[    0.500000] 0x000000040000-0x000000050000 : "factory"
[    0.500000] 0x000000050000-0x000001000000 : "firmware"
[    0.500000] gsw: setting port4 to ephy mode
[    0.500000] ralink_soc_eth 10100000.ethernet (unregistered net_device): port 2 link up (100Mbps/Full duplex)
[    0.500000] ralink_soc_eth 10100000.ethernet: loaded mt7620 driver
[    0.500000] ralink_soc_eth 10100000.ethernet eth0: ralink at 0xb0100000, irq 5
[    0.500000] rt3xxx-usbphy usbphy.3: loaded
[    0.500000] rt2880_wdt 10000120.watchdog: Initialized
[    0.500000] TCP: cubic registered
[    0.500000] NET: Registered protocol family 17
[    0.500000] 8021q: 802.1Q VLAN Support v1.8
[    0.500000] List of all partitions:
[    0.500000] 1f00             192 mtdblock0  (driver?)
[    0.500000] 1f01              64 mtdblock1  (driver?)
[    0.500000] 1f02              64 mtdblock2  (driver?)
[    0.500000] 1f03           16064 mtdblock3  (driver?)
[    0.500000] No filesystem could mount root, tried:  squashfs
[    0.500000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
[  103.980000] random: nonblocking pool is initialized
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-6-7 12:59

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com

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