Upstream kernel running on the Cubietruck

Hans de Goede and others did all the work, I’m just testing it …

The userspace is Fedora 20. The kernel tree is this one.

The bottom line is that everything I care about works except for KVM which will require a small U-Boot modification (to pass Hyp mode through to the kernel).

Boot messages after the break.

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.13.0-rc2+ (rjones@cube.home.annexia.org) (gcc version 4.8.2 20131017 (Red Hat 4.8.2-1) (GCC) ) #13 SMP Mon Dec 2 14:01:19 EST 2013
[    0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: Cubietech Cubietruck
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 524288
[    0.000000] free_area_init_node: node 0, pgdat c0ab39c0, node_mem_map c0bbb000
[    0.000000]   Normal zone: 1520 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 194560 pages, LIFO batch:31
[    0.000000]   HighMem zone: 2576 pages used for memmap
[    0.000000]   HighMem zone: 329728 pages, LIFO batch:31
[    0.000000] PERCPU: Embedded 9 pages/cpu @c1bcc000 s13056 r8192 d15616 u36864
[    0.000000] pcpu-alloc: s13056 r8192 d15616 u36864 alloc=9*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 522768
[    0.000000] Kernel command line: console=ttyS0,115200 loglevel=9 earlyprintk ro rootwait root=/dev/mmcblk0p3
[    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] allocated 4194304 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] Memory: 2063708K/2097152K available (6624K kernel code, 820K rwdata, 2888K rodata, 672K init, 966K bss, 33444K reserved, 1318912K highmem)
[    0.000000] Virtual 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 - 0xc0952578   (9514 kB)
      .init : 0xc0953000 - 0xc09fb300   ( 673 kB)
      .data : 0xc09fc000 - 0xc0ac90c0   ( 821 kB)
       .bss : 0xc0ac90c0 - 0xc0bba8d8   ( 967 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] 	RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 2863311519744ns
[    0.000000] Switching to timer-based delay loop
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956969942ns
[    0.000000] Console: colour dummy device 80x30
[    0.000458] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000473] pid_max: default: 32768 minimum: 301
[    0.000664] Security Framework initialized
[    0.000720] SELinux:  Initializing.
[    0.000763] SELinux:  Starting in permissive mode
[    0.000988] Mount-cache hash table entries: 512
[    0.004669] Initializing cgroup subsys memory
[    0.004728] Initializing cgroup subsys devices
[    0.004739] Initializing cgroup subsys freezer
[    0.004749] Initializing cgroup subsys net_cls
[    0.004758] Initializing cgroup subsys blkio
[    0.004766] Initializing cgroup subsys perf_event
[    0.004894] CPU: Testing write buffer coherency: ok
[    0.004942] ftrace: allocating 27684 entries in 55 pages
[    0.042020] /cpus/cpu@0 missing clock-frequency property
[    0.042049] /cpus/cpu@1 missing clock-frequency property
[    0.042065] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.042236] Setting up static identity map for 0x406422d8 - 0x40642370
[    0.061893] CPU1: Booted secondary processor
[    0.061941] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.062095] Brought up 2 CPUs
[    0.062115] SMP: Total of 2 processors activated.
[    0.062122] CPU: All CPU(s) started in SVC mode.
[    0.063166] devtmpfs: initialized
[    0.067855] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4
[    0.074413] atomic64 test passed
[    0.074435] pinctrl core: initialized pinctrl subsystem
[    0.074960] regulator-dummy: no parameters
[    0.075501] NET: Registered protocol family 16
[    0.075949] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.079029] No ATAGs?
[    0.079070] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.079084] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.079764] Serial: AMBA PL011 UART driver
[    0.086988] bio: create slab  at 0
[    0.088116] edma-dma-engine edma-dma-engine.0: Can't allocate PaRAM dummy slot
[    0.088156] edma-dma-engine: probe of edma-dma-engine.0 failed with error -5
[    0.088337] reg-fixed-voltage ahci-5v.4: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/ahci_pwr_pin@0, deferring probe
[    0.088355] platform ahci-5v.4: Driver reg-fixed-voltage requests probe deferral
[    0.088542] vcc_3v3: 3300 mV 
[    0.089293] vgaarb: loaded
[    0.090038] SCSI subsystem initialized
[    0.090359] libata version 3.00 loaded.
[    0.090637] usbcore: registered new interface driver usbfs
[    0.090697] usbcore: registered new interface driver hub
[    0.090856] usbcore: registered new device driver usb
[    0.091121] pps_core: LinuxPPS API ver. 1 registered
[    0.091131] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti 
[    0.091156] PTP clock support registered
[    0.092436] NetLabel: Initializing
[    0.092449] NetLabel:  domain hash size = 128
[    0.092455] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.092517] NetLabel:  unlabeled traffic allowed by default
[    0.092788] Switched to clocksource arch_sys_counter
[    0.147521] NET: Registered protocol family 2
[    0.148501] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.148595] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.148719] TCP: Hash tables configured (established 8192 bind 8192)
[    0.148808] TCP: reno registered
[    0.148826] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.148887] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.149265] NET: Registered protocol family 1
[    0.149857] RPC: Registered named UNIX socket transport module.
[    0.149871] RPC: Registered udp transport module.
[    0.149878] RPC: Registered tcp transport module.
[    0.149884] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.149899] PCI: CLS 0 bytes, default 64
[    0.151971] audit: initializing netlink socket (disabled)
[    0.152032] type=2000 audit(0.130:1): initialized
[    0.347257] bounce pool size: 64 pages
[    0.354075] zbud: loaded
[    0.354579] VFS: Disk quotas dquot_6.5.2
[    0.354868] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.357245] NFS: Registering the id_resolver key type
[    0.357336] Key type id_resolver registered
[    0.357344] Key type id_legacy registered
[    0.357364] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.357734] msgmni has been set to 1454
[    0.358128] SELinux:  Registering netfilter hooks
[    0.361010] alg: No test for stdrng (krng)
[    0.361045] NET: Registered protocol family 38
[    0.361382] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[    0.361567] io scheduler noop registered
[    0.361579] io scheduler deadline registered
[    0.361816] io scheduler cfq registered (default)
[    0.364964] sunxi-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.366159] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.388044] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 33, base_baud = 1500000) is a U6_16550A
[    1.124241] console [ttyS0] enabled
[    1.128102] Serial: AMBA driver
[    1.131311] Serial: IMX driver
[    1.135444] [drm] Initialized drm 1.1.0 20060810
[    1.141496] Lets probe!
[    1.144054] platform 1c18000.ahci: Driver sunxi-ahci requests probe deferral
[    1.151522] libphy: Fixed MDIO Bus: probed
[    1.156059] Sunxi extensions to stmmac
[    1.159889]  Ring mode enabled
[    1.162966]  No HW DMA feature register supported
[    1.167491]  Normal descriptors
[    1.170812]  Wake-Up On Lan supported
[    1.176288] libphy: stmmac: probed
[    1.179703] eth0: PHY ID 001cc915 at 1 IRQ 0 (stmmac-0:01) active
[    1.186399] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.192979] ehci-pci: EHCI PCI platform driver
[    1.197500] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.203710] ohci-pci: OHCI PCI platform driver
[    1.208199] ohci-omap3: OHCI OMAP3 driver
[    1.212284] uhci_hcd: USB Universal Host Controller Interface driver
[    1.219039] usbcore: registered new interface driver usbserial
[    1.224933] usbcore: registered new interface driver usbserial_generic
[    1.231494] usbserial: USB Serial support registered for generic
[    1.237797] mousedev: PS/2 mouse device common for all mice
[    1.244652] device-mapper: uevent: version 1.0.3
[    1.249721] device-mapper: ioctl: 4.27.0-ioctl (2013-10-30) initialised: dm-devel@redhat.com
[    1.342832] [mmc]: sdc0 Probe: base:0xf00ae000 irq:64 sg_cpu:f00b0000(6ebb2000) ret 0.
[    1.350929] hidraw: raw HID events driver (C) Jiri Kosina
[    1.357020] usbcore: registered new interface driver usbhid
[    1.362587] usbhid: USB HID core driver
[    1.366856] drop_monitor: Initializing network drop monitor service
[    1.373456] ip_tables: (C) 2000-2006 Netfilter Core Team
[    1.378837] TCP: cubic registered
[    1.382152] Initializing XFRM netlink socket
[    1.387194] NET: Registered protocol family 10
[    1.392735] mip6: Mobile IPv6
[    1.395777] NET: Registered protocol family 17
[    1.400337] Key type dns_resolver registered
[    1.404814] ThumbEE CPU extension supported.
[    1.409097] Registering SWP/SWPB emulation handler
[    1.414707] registered taskstats version 1
[    1.419621] ahci-5v: 5000 mV 
[    1.423023] Lets probe!
[    1.425560] device ahci allocated
[    1.428882] got ahb_sata clk
[    1.431762] got pll6_sata clk
[    1.434752] device matched 
[    1.437542] got mem res
[    1.439985] got irq res
[    1.442429] registered resources
[    1.445664] added data
[    1.473496] ahci sunxi-ahci: controller can't do PMP, turning off CAP_PMP
[    1.480284] ahci sunxi-ahci: forcing PORTS_IMPL to 0x1
[    1.485490] ahci sunxi-ahci: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[    1.493768] ahci sunxi-ahci: flags: ncq sntf pm led clo only pio slum part ccc 
[    1.501941] scsi0 : ahci_platform
[    1.505689] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 88
[    1.513674] added device
[    1.516443] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    1.522710] sr_init: No PMIC hook to init smartreflex
[    1.527873] sr_init: platform driver register failed for SR
[    1.862823] ata1: SATA link down (SStatus 0 SControl 300)
[    1.868367] md: Waiting for all devices to be available before autodetect
[    1.875206] md: If you don't use raid, use raid=noautodetect
[    1.881864] md: Autodetecting RAID arrays.
[    1.886000] md: Scanned 0 and added 0 devices.
[    1.890438] md: autorun ...
[    1.893245] md: ... autorun DONE.
[    1.896644] Waiting for root device /dev/mmcblk0p3...
[    2.843620] [mmc]: *** sunxi_mmc_dump_errinfo(L365): smc 0 err, cmd 52,  RTO !!
[    2.851772] [mmc]: *** sunxi_mmc_dump_errinfo(L365): smc 0 err, cmd 52,  RTO !!
[    2.973755] [mmc]: *** sunxi_mmc_dump_errinfo(L365): smc 0 err, cmd 5,  RTO !!
[    2.981804] [mmc]: *** sunxi_mmc_dump_errinfo(L365): smc 0 err, cmd 5,  RTO !!
[    2.989851] [mmc]: *** sunxi_mmc_dump_errinfo(L365): smc 0 err, cmd 5,  RTO !!
[    2.997898] [mmc]: *** sunxi_mmc_dump_errinfo(L365): smc 0 err, cmd 5,  RTO !!
[    3.173425] mmc0: Skipping voltage switch
[    3.517513] mmc0: new high speed SDHC card at address aaaa
[    3.523537] isa bounce pool size: 16 pages
[    3.527824] mmcblk0: mmc0:aaaa SU16G 14.8 GiB 
[    3.533790]  mmcblk0: p1 p2 p3
[    3.543954] EXT4-fs (mmcblk0p3): couldn't mount as ext3 due to feature incompatibilities
[    3.553086] EXT4-fs (mmcblk0p3): couldn't mount as ext2 due to feature incompatibilities
[    3.578536] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
[    3.586781] VFS: Mounted root (ext4 filesystem) readonly on device 179:3.
[    3.598148] devtmpfs: mounted
[    3.601926] Freeing unused kernel memory: 672K (c0953000 - c09fb000)
[    4.031430] type=1404 audit(4.010:2): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295
[    5.130140] SELinux: 2048 avtab hash slots, 102947 rules.
[    5.233790] SELinux: 2048 avtab hash slots, 102947 rules.
[    5.437385] SELinux:  8 users, 82 roles, 4603 types, 261 bools, 1 sens, 1024 cats
[    5.444959] SELinux:  83 classes, 102947 rules
[    5.484672] SELinux:  Completing initialization.
[    5.489300] SELinux:  Setting up existing superblocks.
[    5.494542] SELinux: initialized (dev sysfs, type sysfs), uses genfs_contexts
[    5.501696] SELinux: initialized (dev rootfs, type rootfs), uses genfs_contexts
[    5.509051] SELinux: initialized (dev bdev, type bdev), uses genfs_contexts
[    5.516051] SELinux: initialized (dev proc, type proc), uses genfs_contexts
[    5.523061] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
[    5.530360] SELinux: initialized (dev devtmpfs, type devtmpfs), uses transition SIDs
[    5.539652] SELinux: initialized (dev debugfs, type debugfs), uses genfs_contexts
[    5.555584] SELinux: initialized (dev sockfs, type sockfs), uses task SIDs
[    5.562476] SELinux: initialized (dev pipefs, type pipefs), uses task SIDs
[    5.569437] SELinux: initialized (dev anon_inodefs, type anon_inodefs), uses genfs_contexts
[    5.577814] SELinux: initialized (dev aio, type aio), not configured for labeling
[    5.585315] SELinux: initialized (dev devpts, type devpts), uses transition SIDs
[    5.592867] SELinux: initialized (dev mqueue, type mqueue), uses transition SIDs
[    5.600315] SELinux: initialized (dev selinuxfs, type selinuxfs), uses genfs_contexts
[    5.608276] SELinux: initialized (dev mmcblk0p3, type ext4), uses xattr
[    5.615827] SELinux: initialized (dev sysfs, type sysfs), uses genfs_contexts
[    5.623042] SELinux: initialized (dev securityfs, type securityfs), uses genfs_contexts
[    5.722602] type=1403 audit(5.700:3): policy loaded auid=4294967295 ses=4294967295
[    5.772707] systemd[1]: Successfully loaded SELinux policy in 1.755613s.
[    5.941508] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
[    5.953807] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
[    5.964032] SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
[    5.973335] SELinux: initialized (dev cgroup, type cgroup), uses genfs_contexts
[    5.984910] SELinux: initialized (dev pstore, type pstore), uses genfs_contexts
[    6.085360] systemd[1]: Relabelled /dev and /run in 91.845ms.
[    6.116828] SELinux: initialized (dev cgroup, type cgroup), uses genfs_contexts
[    6.126195] SELinux: initialized (dev cgroup, type cgroup), uses genfs_contexts
[    6.136279] SELinux: initialized (dev cgroup, type cgroup), uses genfs_contexts
[    6.145622] SELinux: initialized (dev cgroup, type cgroup), uses genfs_contexts
[    6.154794] SELinux: initialized (dev cgroup, type cgroup), uses genfs_contexts
[    6.163998] SELinux: initialized (dev cgroup, type cgroup), uses genfs_contexts
[    6.173412] SELinux: initialized (dev cgroup, type cgroup), uses genfs_contexts
[    6.182497] SELinux: initialized (dev cgroup, type cgroup), uses genfs_contexts
[    6.190662] systemd[1]: systemd 208 running in system mode. (+PAM +LIBWRAP +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ)
[    6.234001] systemd[1]: No hostname configured.
[    6.238573] systemd[1]: Set hostname to .
[    6.270628] random: systemd urandom read with 34 bits of entropy available
[    7.025517] systemd[1]: [/usr/lib/systemd/system/rtkit-daemon.service:32] Unknown lvalue 'ControlGroup' in section 'Service'
[    7.224922] systemd[1]: Starting Collect Read-Ahead Data...
[    7.259218] systemd[1]: Starting Replay Read-Ahead Data...
[    7.286612] systemd[1]: Expecting device dev-ttyS0.device...
[    7.299586] systemd-readahead[79]: Bumped block_nr parameter of 179:0 to 20480. This is a temporary hack and should be removed one day.
[    7.313168] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[    7.323578] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    7.331424] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[    7.353133] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    7.361066] systemd[1]: Starting Delayed Shutdown Socket.
[    7.393107] systemd[1]: Listening on Delayed Shutdown Socket.
[    7.400578] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
[    7.412173] SELinux: initialized (dev autofs, type autofs), uses genfs_contexts
[    7.443174] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    7.452937] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
[    7.462548] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    7.470765] systemd[1]: Starting Journal Socket.
[    7.503237] systemd[1]: Listening on Journal Socket.
[    7.509009] systemd[1]: Mounted Huge Pages File System.
[    7.514896] systemd[1]: Mounting POSIX Message Queue File System...
[    7.537328] systemd[1]: Mounting Debug File System...
[    7.568855] systemd[1]: Started Create list of required static device nodes for the current kernel.
[    7.580306] systemd[1]: Starting Create static device nodes in /dev...
[    7.606951] systemd[1]: Starting Journal Service...
[    7.679755] systemd[1]: Started Journal Service.
[    7.693651] systemd-journald[83]: Vacuuming done, freed 0 bytes
[    8.311704] systemd-udevd[93]: starting version 208
[    8.371236] SELinux: initialized (dev configfs, type configfs), uses genfs_contexts
[    9.438712] EXT4-fs (mmcblk0p3): re-mounted. Opts: (null)
[   10.241997] EXT4-fs (mmcblk0p1): mounting ext3 file system using the ext4 subsystem
[   10.293756] Adding 499996k swap on /dev/mmcblk0p2.  Priority:-1 extents:1 across:499996k SSFS
[   10.327238] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[   10.346984] SELinux: initialized (dev mmcblk0p1, type ext3), uses xattr
[   10.742664] type=1305 audit(10.720:4): audit_pid=164 old=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:auditd_t:s0 res=1
[   13.156376] random: nonblocking pool is initialized
[   14.703434] eth0: device MAC address 12:df:f1:51:b9:5b
[   14.719618]  No MAC Management Counters available
[   14.724403] stmmac_open: failed PTP initialisation
[   16.702960] libphy: stmmac-0:01 - Link is Up - 100/Full
[   44.646036] SELinux: initialized (dev 0:31, type nfs4), uses genfs_contexts
[   44.674481] SELinux: initialized (dev 0:32, type nfs4), uses genfs_contexts
[   44.705632] SELinux: initialized (dev 0:33, type nfs4), uses genfs_contexts
[   44.891532] SELinux: initialized (dev 0:34, type nfs4), uses genfs_contexts
[   45.154828] systemd-journald[83]: Received request to flush runtime journal from PID 1

6 Comments

Filed under Uncategorized

6 responses to “Upstream kernel running on the Cubietruck

  1. problemchild68

    Nice are you parking the Odroid XU stuff whilst you are doing this or are things going on in Parallel?

    Keep up the good work

  2. thefroyo

    Wow, nice! Are there plans to have a F-20 image for the cubietruck in the future?

    • rich

      This is running Fedora 20, which I made by starting with Hans’s Fedora 19 remix, and simply yum update-ing it to F20.

      I then built the upstream kernel from source (see link in the article):

      LOADADDR=0x40008000 make uImage dtbs
      make modules
      

      and copied the built kernel to /boot:

      sudo cp arch/arm/boot/uImage /boot/uImage.sunxi-test
      sudo cp arch/arm/boot/dts/sun7i-a20-cubietruck.dtb /boot/sun7i-a20-cubietruck.dtb.sunxi-test
      sudo make modules install
      

      I left the original u-boot configuration in place. When I want to boot into the upstream kernel, I interrupt the boot and do:

      setenv bootargs console=ttyS0,115200 loglevel=9 earlyprintk ro rootwait root=/dev/mmcblk0p3
      ext2load mmc 0 0x46000000 uImage.sunxi-test
      ext2load mmc 0 0x4b000000 sun7i-a20-cubietruck.dtb.sunxi-test
      env set fdt_high ffffffff
      bootm 0x46000000 - 0x4b000000
      

      I hope we can have Fedora supporting the AllWinner boards normally, but probably not in time for Fedora 20.

      • Yan

        hello,
        thanks for your blog.
        But I wrote the following into boot.cmd and compiled it into boot.src.In this way I cannot boot up. I don’t have serial cable.So i cannont interrupt uboot and know what’s wrong.
        Could you give me some hint?

        I just copied your command.But it cannont work.
        boot.cmd:
        setenv bootargs console=ttyS0,115200 loglevel=9 earlyprintk ro rootwait root=/dev/mmcblk0p3
        ext2load mmc 0 0x46000000 uImage.sunxi-test
        ext2load mmc 0 0x4b000000 sun7i-a20-cubietruck.dtb.sunxi-test
        env set fdt_high ffffffff
        bootm 0x46000000 – 0x4b000000

        thanks
        Best Regards

      • Yan

        Hello,

        for the link you gave me, https://groups.google.com/forum/#!topic/linux-sunxi/QTOAvp7_H_U, I download configfile from it.Does the config work for cubietruck?

        Thanks a lot.🙂
        Best Regards

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s