查看: 4237|回复: 2

bananapi编译3.10.25内核启动失败问题求助

[复制链接]

该用户从未签到

发表于 2014-10-21 10:36:24 | 显示全部楼层 |阅读模式
分享到:
启动日志

U-Boot SPL 2014.04-10694-g2ae8b32-dirty (Oct 09 2014 - 09:39:38)
Board: Bananapi
DRAM: 1024 MiB
CPU: 960000000Hz, AXI/AHB/APB: 3/2/2
spl: not an uImage at 1600


U-Boot 2014.04-10694-g2ae8b32-dirty (Oct 09 2014 - 09:39:38) Allwinner Technology

CPU:   Allwinner A20 (SUN7I)
Board: Bananapi
I2C:   ready
DRAM:  1 GiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   dwmac.1c50000
Hit any key to stop autoboot:  0
reading uEnv.txt
** Unable to read file uEnv.txt **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
reading boot.scr
312 bytes read in 16 ms (18.6 KiB/s)
Jumping to boot.scr
## Executing script at 44000000
reading /uImage
4711928 bytes read in 254 ms (17.7 MiB/s)
reading /bananapi.dtb
7870 bytes read in 28 ms (274.4 KiB/s)
## Booting kernel from Legacy Image at 46000000 ...
   Image Name:   Linux-3.10.25
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4711864 Bytes = 4.5 MiB
   Load Address: 40008000
   Entry Point:  40008000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 49000000
   Booting using the fdt blob at 0x49000000
   Loading Kernel Image ... OK
   Loading Device Tree to 4fffb000, end 4ffffebd ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
6Booting Linux on physical CPU 0x0
6Initializing cgroup subsys cpuset
6Initializing cgroup subsys cpu
6Initializing cgroup subsys cpuacct
5Linux version 3.10.25 (root@xiongjie-Lenovo) (gcc version 4.8.2 (Ubuntu/Linaro 4.8.2-16ubuntu4) ) #1 SMP PREEMPT Fri Oct 10 11:03:29 CST 2014
CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
6Machine: Allwinner A1X (Device Tree), model: Lemaker BananaPi
Memory policy: ECC disabled, Data cache writealloc
7On node 0 totalpages: 262144
7free_area_init_node: node 0, pgdat c08b96c0, node_mem_map c097b000
7  Normal zone: 1520 pages used for memmap
7  Normal zone: 0 pages reserved
7  Normal zone: 194560 pages, LIFO batch:31
7  HighMem zone: 528 pages used for memmap
7  HighMem zone: 67584 pages, LIFO batch:15
6PERCPU: Embedded 8 pages/cpu @c1185000 s9024 r8192 d15552 u32768
7pcpu-alloc: s9024 r8192 d15552 u32768 alloc=8*4096
7pcpu-alloc: [0] 0 [0] 1
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260624
5Kernel command line: console=ttyS0,115200 noinitrd init=/init root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait panic=10
6PID hash table entries: 4096 (order: 2, 16384 bytes)
6Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
6Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
6Memory: 1024MB = 1024MB total
5Memory: 1029768k/1029768k available, 18808k reserved, 270336K highmem
5Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
    lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc083212c   (8361 kB)
      .init : 0xc0833000 - 0xc086c340   ( 229 kB)
      .data : 0xc086e000 - 0xc08c04a0   ( 330 kB)
       .bss : 0xc08c04a0 - 0xc097a4ec   ( 745 kB)
6SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
6Preemptible hierarchical RCU implementation.
6       RCU dyntick-idle grace-period acceleration is enabled.
6       Additional per-CPU info printed with stalls.
6NR_IRQS:16 nr_irqs:16 16
6sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
6Console: colour dummy device 80x30
6Calibrating delay loop... 1915.28 BogoMIPS (lpj=9576448)
6pid_max: default: 32768 minimum: 301
6Mount-cache hash table entries: 512
6Initializing cgroup subsys devices
6Initializing cgroup subsys freezer
6Initializing cgroup subsys blkio
6Initializing cgroup subsys perf_event
6CPU: Testing write buffer coherency: ok
3/cpus/cpu@0 missing clock-frequency property
3/cpus/cpu@1 missing clock-frequency property
6CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
6Setting up static identity map for 0xc05a6390 - 0xc05a63e8
3CPU1: failed to boot: -38
6Brought up 1 CPUs
6SMP: Total of 1 processors activated (1915.28 BogoMIPS).
6CPU: All CPU(s) started in SVC mode.
6devtmpfs: initialized
6pinctrl core: initialized pinctrl subsystem
6regulator-dummy: no parameters
6NET: Registered protocol family 16
6DMA: preallocated 256 KiB pool for atomic coherent allocations
6No ATAGs?6hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
6hw-breakpoint: maximum watchpoint size is 8 bytes.
6bio: create slab <bio-0> at 0
5SCSI subsystem initialized
7libata version 3.00 loaded.
6usbcore: registered new interface driver usbfs
6usbcore: registered new interface driver hub
6usbcore: registered new device driver usb
6pps_core: LinuxPPS API ver. 1 registered
6pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
6PTP clock support registered
6Advanced Linux Sound Architecture Driver Initialized.
6Switching to clocksource timer
6cfg80211: Calling CRDA to update world regulatory domain
5FS-Cache: Loaded
6CacheFiles: Loaded
6NET: Registered protocol family 2
6TCP established hash table entries: 8192 (order: 4, 65536 bytes)
6TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
6TCP: Hash tables configured (established 8192 bind 8192)
6TCP: reno registered
6UDP hash table entries: 512 (order: 2, 16384 bytes)
6UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
6NET: Registered protocol family 1
6RPC: Registered named UNIX socket transport module.
6RPC: Registered udp transport module.
6RPC: Registered tcp transport module.
6RPC: Registered tcp NFSv4.1 backchannel transport module.
6audit: initializing netlink socket (disabled)
5type=2000 audit(0.330:1): initialized
bounce pool size: 64 pages
5VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
6squashfs: version 4.0 (2009/01/31) Phillip Lougher
5NFS: Registering the id_resolver key type
5Key type id_resolver registered
5Key type id_legacy registered
5Key type cifs.spnego registered
5Key type cifs.idmap registered
6NTFS driver 2.1.30 [Flags: R/W].
6fuse init (API version 7.22)
6msgmni has been set to 1483
6alg: No test for stdrng (krng)
6Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
6io scheduler noop registered
6io scheduler deadline registered (default)
6io scheduler cfq registered
sunxi-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
6Serial: 8250/16550 driver, 32 ports, IRQ sharing disabled
6brd: module loaded
6loop: module loaded
6libphy: Fixed MDIO Bus: probed
6PPP generic driver version 2.4.2
6PPP BSD Compression module registered
6PPP Deflate Compression module registered
6NET: Registered protocol family 24
6mousedev: PS/2 mouse device common for all mice
6i2c /dev entries driver
6Driver for 1-wire Dallas network protocol.
6device-mapper: uevent: version 1.0.3
6device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: dm-devel@redhat.com
6cpuidle: using governor ladder
6cpuidle: using governor menu
6ledtrig-cpu: registered to indicate activity on CPUs
6hidraw: raw HID events driver (C) Jiri Kosina
6usbcore: registered new interface driver usbhid
6usbhid: USB HID core driver
6ashmem: initialized
6logger: created 256K log 'log_main'
6logger: created 256K log 'log_events'
6logger: created 256K log 'log_radio'
6logger: created 256K log 'log_system'
6ipip: IPv4 over IPv4 tunneling driver
6TCP: bic registered
6TCP: cubic registered
6TCP: westwood registered
6TCP: highspeed registered
6TCP: hybla registered
6TCP: htcp registered
6TCP: vegas registered
6TCP: veno registered
6TCP: scalable registered
6TCP: lp registered
6TCP: yeah registered
6TCP: illinois registered
6Initializing XFRM netlink socket
6NET: Registered protocol family 10
6NET: Registered protocol family 17
6NET: Registered protocol family 15
5Key type dns_resolver registered
6VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4
5Registering SWP/SWPB emulation handler
6registered taskstats version 1
6console [netcon0] enabled
6netconsole: network logging started
启动到这里就结束了,敲击键盘不能进入命令提示光标,麻烦大侠们看看问题可能出在哪里?
另外是否有大虾编译过3.4.90以上的内核,是否有文档指导一下,网上都是3.4.90以下的,没有设备树的编译指导
回复

使用道具 举报

  • TA的每日心情
    奋斗
    2015-10-8 09:49
  • 签到天数: 430 天

    连续签到: 1 天

    [LV.9]以坛为家II

    发表于 2014-10-21 10:49:45 | 显示全部楼层
    你这个3.10的内核从哪里下载的?看上面的log,有些参数不正确
    reading uEnv.txt
    ** Unable to read file uEnv.txt **
    Failed to mount ext2 filesystem...
    ** Unrecognized filesystem type **
    Failed to mount ext2 filesystem...
    ** Unrecognized filesystem type **

    能说下你怎么编译的么?
    我现在用的官方3.4内核
    回复 支持 反对

    使用道具 举报

    该用户从未签到

     楼主| 发表于 2014-10-21 10:56:44 | 显示全部楼层
    源码是从这下的 https://github.com/LeMaker/linux ... rimental/sunxi-3.10 编译同https://www.cirmall.com/bbs/thread-38770-1-2.html      但还需要编译dtb文件,uEnv.txt 文件被我去掉了,内核从boot.scr 文件加载的
    回复 支持 反对

    使用道具 举报

    您需要登录后才可以回帖 注册/登录

    本版积分规则

    关闭

    站长推荐上一条 /4 下一条



    手机版|小黑屋|与非网

    GMT+8, 2024-11-15 20:28 , Processed in 0.131161 second(s), 18 queries , MemCache On.

    ICP经营许可证 苏B2-20140176  苏ICP备14012660号-2   苏州灵动帧格网络科技有限公司 版权所有.

    苏公网安备 32059002001037号

    Powered by Discuz! X3.4

    Copyright © 2001-2024, Tencent Cloud.