CubieBoard中文论坛

 找回密码
 立即注册
搜索
热搜: unable
查看: 10093|回复: 4

Wow! Cubieboard上运行linux-3.9

[复制链接]
发表于 2013-3-22 21:31:45 | 显示全部楼层 |阅读模式
折腾了一下,终于把linux-3.9跑起来了,挺不错的学习过程。不过驱动还太少了~

http://linux-sunxi.org/Cubieboard/Cubieboard_Linux-3.9

U-Boot 2011.09-rc1-00000-ga044d4f-dirty (Mar 22 2013 - 20:03:43) Allwinner Technology
CPU:   SUNXI Family
Board: A10-EVB
DRAM:  1 GiB
boot type: 2
NAND:  3896 MiB
MMC:   SUNXI SD/MMC: 0
In:    serial
Out:   serial
Err:   serial
--------fastboot partitions--------
-total partitions:5-
-name-        -start-       -size-
bootloader  : 1000000       2000000
env         : 3000000       1000000
boot        : 4000000       1000000
rootfs      : 5000000       20000000
UDISK       : 25000000      ce800000
-----------------------------------
no misc partition is found
Hit any key to stop autoboot:  0
reading linux/cb.dtb
2091 bytes read
reading linux/rootfs.uboot
2243422 bytes read
NAND read: device 0 offset 0x4000000, size 0x1000000
16777216 bytes read: OK
## Booting kernel from Legacy Image at 40007800 ...
   Image Name:   Linux-3.9.0-rc1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1032688 Bytes = 1008.5 KiB
   Load Address: 40008000
   Entry Point:  40008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 46000000 ...
   Image Name:   uboot ext2 ramdisk rootfs
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    2243358 Bytes = 2.1 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 45000000
   Booting using the fdt blob at 0x45000000
   Loading Kernel Image ... OK
OK
   Loading Ramdisk to 69e11000, end 6a034b1e ... OK
   Loading Device Tree to 69e0d000, end 69e1082a ... OK
Starting kernel ...
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.9.0-rc1 (build@ubt) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #20 PREEMPT Fri Mar 22 19:42:11 CST 2013
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: Allwinner A1X (Device Tree), model: Cubietech Cubieboard
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260624
[    0.000000] Kernel command line: console=ttyS0,115200 init=/init loglevel=7
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] __ex_table already sorted, skipping sort
[    0.000000] Memory: 1024MB = 1024MB total
[    0.000000] Memory: 1035196k/1035196k available, 13380k reserved, 270336K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc01b8724   (1730 kB)
[    0.000000]       .init : 0xc01b9000 - 0xc01d28b4   ( 103 kB)
[    0.000000]       .data : 0xc01d4000 - 0xc01eb200   (  93 kB)
[    0.000000]        .bss : 0xc01eb200 - 0xc0215b04   ( 171 kB)
[    0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms
[    0.000000] Console: colour dummy device 80x30
[    0.060000] Calibrating delay loop... 669.28 BogoMIPS (lpj=3346432)
[    0.060000] pid_max: default: 32768 minimum: 301
[    0.060000] Mount-cache hash table entries: 512
[    0.060000] CPU: Testing write buffer coherency: ok
[    0.060000] Setting up static identity map for 0xc014afd0 - 0xc014b004
[    0.060000] pinctrl core: initialized pinctrl subsystem
[    0.060000] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.060000] bio: create slab <bio-0> at 0
[    0.060000] Trying to unpack rootfs image as initramfs...
[    0.200000] Freeing initrd memory: 2188K
[    0.200000] bounce pool size: 64 pages
[    0.200000] io scheduler noop registered (default)
[    0.200000] sunxi-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.200000] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.210000] 1c28000.uart: ttyS0 at MMIO 0x1c28000 (irq = 17) is a U6_16550A
[    0.430000] console [ttyS0] enabled
[    0.440000] brd: module loaded
[    0.440000] loop: module loaded
[    0.450000] mousedev: PS/2 mouse device common for all mice
[    0.450000] Freeing init memory: 100K
mount: mounting none on /dev failed: No such device
e2fsck 1.41.14 (22-Dec-2010)
e2fsck: No such file or directory while trying to open /dev/nandd
Possibly non-existent device?
mount: mounting /dev/nandd o
Welcome to sun4i System
cubieboard login: root
login[27]: root login on 'ttyS0'
# uname -a
Linux cubieboard 3.9.0-rc1 #20 PREEMPT Fri Mar 22 19:42:11 CST 2013 armv7l GNU/Linux
#



回复

使用道具 举报

发表于 2013-4-24 18:45:42 | 显示全部楼层
试了一下, 需要手动把u-boot.bin复制到out文件夹里。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2013-4-24 23:45:06 | 显示全部楼层
zeront 发表于 2013-4-24 18:45
试了一下, 需要手动把u-boot.bin复制到out文件夹里。

已经merge。后续仓库会挪到github.com/cubieboard/sunxi-tools.git上,分支是sunxi-3.9-cb
回复 支持 反对

使用道具 举报

发表于 2013-5-25 16:24:28 | 显示全部楼层
3.9 OMG 步子太大了会扯到蛋的
回复 支持 反对

使用道具 举报

发表于 2013-7-23 22:07:18 | 显示全部楼层
先mark一下
回复 支持 反对

使用道具 举报

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

本版积分规则

QQ|Archiver|手机版|粤ICP备13051116号|cubie.cc---深刻的嵌入式技术讨论社区

GMT+8, 2024-5-3 11:04 , Processed in 0.022920 second(s), 15 queries .

Powered by Discuz! X3.4

© 2001-2012 Comsenz Inc. | Style by Coxxs

返回顶部