Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save codekipper/e188f9ab36ae7869afa7 to your computer and use it in GitHub Desktop.
Save codekipper/e188f9ab36ae7869afa7 to your computer and use it in GitHub Desktop.
U-Boot SPL 2015.10-00058-g8034408 (Oct 21 2015 - 13:48:20)
DRAM: 1024 MiB
Failed to set core voltage! Can't set CPU frequency
U-Boot 2015.10-00058-g8034408 (Oct 21 2015 - 13:48:20 +0200) Allwinner Technology
CPU: Allwinner H3 (SUN8I)
DRAM: 1 GiB
MMC: SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
reading /boot.scr
1329 bytes read in 22 ms (58.6 KiB/s)
## Executing script at 43100000
reading uImage
3121416 bytes read in 542 ms (5.5 MiB/s)
reading sun8i-h3-orangepi-plus.dtb
10761 bytes read in 30 ms (349.6 KiB/s)
## Booting kernel from Legacy Image at 42000000 ...
Image Name: Linux-4.3.0-rc6-next-20151021-00
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3121352 Bytes = 3 MiB
Load Address: 40008000
Entry Point: 40008000
Verifying Checksum ... OK
## Flattened Device Tree blob at 43000000
Booting using the fdt blob at 0x43000000
Loading Kernel Image ... OK
Using Device Tree in place at 43000000, end 43005a08
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.3.0-rc6-next-20151021-00008-gf5eed6f (marcus@coopshtp5
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cae
[ 0.000000] Machine model: Xunlong Orange Pi Plus
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] PERCPU: Embedded 12 pages/cpu @ef7bc000 s17536 r8192 d23424 u49152
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8
[ 0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblt
[ 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] Memory: 1032940K/1048576K available (4342K kernel code, 198K rwdata, )
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0583df4 (5616 kB)
[ 0.000000] .init : 0xc0584000 - 0xc05ca000 ( 280 kB)
[ 0.000000] .data : 0xc05ca000 - 0xc05fb860 ( 199 kB)
[ 0.000000] .bss : 0xc05fe000 - 0xc063e9dc ( 259 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=4
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x5s
[ 0.000013] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 439804651s
[ 0.000037] Switching to timer-based delay loop, resolution 41ns
[ 0.000355] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idles
[ 0.000700] Console: colour dummy device 80x30
[ 0.000746] Calibrating delay loop (skipped), value calculated using timer freque)
[ 0.000773] pid_max: default: 32768 minimum: 301
[ 0.000958] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000982] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.002063] CPU: Testing write buffer coherency: ok
[ 0.002498] /cpus/cpu@0 missing clock-frequency property
[ 0.002529] /cpus/cpu@1 missing clock-frequency property
[ 0.002553] /cpus/cpu@2 missing clock-frequency property
[ 0.002578] /cpus/cpu@3 missing clock-frequency property
[ 0.002602] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.002689] Setting up static identity map for 0x40008280 - 0x400082d8
[ 0.005781] Brought up 1 CPUs
[ 0.005811] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.005824] CPU: All CPU(s) started in SVC mode.
[ 0.006858] devtmpfs: initialized
[ 0.012620] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev5
[ 0.013147] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_ids
[ 0.013579] pinctrl core: initialized pinctrl subsystem
[ 0.015230] NET: Registered protocol family 16
[ 0.015745] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.020742] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint regi.
[ 0.020764] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.035602] SCSI subsystem initialized
[ 0.036491] usbcore: registered new interface driver usbfs
[ 0.036620] usbcore: registered new interface driver hub
[ 0.036752] usbcore: registered new device driver usb
[ 0.037018] pps_core: LinuxPPS API ver. 1 registered
[ 0.037034] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti >
[ 0.037092] PTP clock support registered
[ 0.038948] clocksource: Switched to clocksource arch_sys_counter
[ 0.059071] NET: Registered protocol family 2
[ 0.060038] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.060236] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.060516] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.060642] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.060728] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.061066] NET: Registered protocol family 1
[ 0.061769] RPC: Registered named UNIX socket transport module.
[ 0.061791] RPC: Registered udp transport module.
[ 0.061805] RPC: Registered tcp transport module.
[ 0.061818] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.064599] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.086674] NFS: Registering the id_resolver key type
[ 0.086760] Key type id_resolver registered
[ 0.086776] Key type id_legacy registered
[ 0.088707] bounce: pool size: 64 pages
[ 0.089246] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 0.089288] io scheduler noop registered
[ 0.089317] io scheduler deadline registered
[ 0.089394] io scheduler cfq registered (default)
[ 0.214087] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.220181] CAN device driver interface
[ 0.220787] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.220818] ehci-platform: EHCI generic platform driver
[ 0.220980] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.221023] ohci-platform: OHCI generic platform driver
[ 0.221678] i2c /dev entries driver
[ 0.224094] usbcore: registered new interface driver usbhid
[ 0.224111] usbhid: USB HID core driver
[ 0.225440] NET: Registered protocol family 17
[ 0.225490] can: controller area network core (rev 20120528 abi 9)
[ 0.225622] NET: Registered protocol family 29
[ 0.225654] can: raw protocol (rev 20120528)
[ 0.225681] can: broadcast manager protocol (rev 20120528 t)
[ 0.225716] can: netlink gateway (rev 20130117) max_hops=1
[ 0.226371] Key type dns_resolver registered
[ 0.226872] cpu cpu0: failed to get cpu0 clock: -2
[ 0.226911] cpufreq-dt: probe of cpufreq-dt failed with error -2
[ 0.226983] Registering SWP/SWPB emulation handler
[ 0.231609] Couldn't find a device for node '/clocks/clk@01c20060'
[ 0.232381] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.232622] Couldn't find a device for node '/clocks/clk@01c20060'
[ 0.239707] Couldn't find a device for node '/clocks/clk@01c20060'
[ 0.240838] console [ttyS0] disabled
[ 0.261200] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 27, base_baud = 150000A
[ 0.916568] console [ttyS0] enabled
[ 0.921464] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0
[ 0.928262] sun6i-rtc 1f00000.rtc: RTC enabled
[ 0.933697] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayou)
[ 0.942366] sunxi-mmc 1c0f000.mmc: No vqmmc regulator found
[ 0.947973] Couldn't find a device for node '/clocks/clk@01c20060'
[ 0.954211] Couldn't find a device for node '/clocks/clk@01c20088'
[ 0.960436] Couldn't find a device for node '/clocks/clk@01c20088'
[ 0.966636] Couldn't find a device for node '/clocks/clk@01c20088'
[ 0.973289] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[ 1.008963] sunxi-mmc 1c0f000.mmc: base:0xf087a000 irq:22
[ 1.014625] sun6i-rtc 1f00000.rtc: setting system clock to 1970-01-01 00:00:23 UT)
[ 1.027716] vcc3v0: disabling
[ 1.030809] vcc5v0: disabling
[ 1.035232] Waiting for root device /dev/mmcblk0p2...
[ 1.076419] mmc0: host does not support reading read-only switch, assuming write-e
[ 1.087113] mmc0: new high speed SDHC card at address 1234
[ 1.093653] mmcblk0: mmc0:1234 SA16G 14.6 GiB
[ 1.100467] mmcblk0: p1 p2
[ 1.150725] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibs
[ 1.160417] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibs
[ 1.180834] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null)
[ 1.188373] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 1.196728] devtmpfs: mounted
[ 1.200425] Freeing unused kernel memory: 280K (c0584000 - c05ca000)
[ 1.310645] init: Console is alive
[ 1.314318] init: - watchdog -
[ 2.318205] init: - preinit -
Detected generic // Xunlong Orange Pi Plus
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 5.547174] mount_root: mounting /dev/root
[ 6.195320] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 6.210586] procd: - early -
[ 6.213587] procd: - watchdog -
[ 7.409711] procd: - ubus -
[ 7.510523] random: nonblocking pool is initialized
[ 8.420372] procd: - init -
Please press Enter to activate this console.
BusyBox v1.23.2 (2015-10-02 15:48:42 CEST) built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
DESIGNATED DRIVER (Bleeding Edge, r47081)
-----------------------------------------------------
* 2 oz. Orange Juice Combine all juices in a
* 2 oz. Pineapple Juice tall glass filled with
* 2 oz. Grapefruit Juice ice, stir well.
* 2 oz. Cranberry Juice
-----------------------------------------------------
root@(none):/# cat /proc/version
Linux version 4.3.0-rc6-next-20151021-00008-gf5eed6f (marcus@coopshtpc) (gcc version5
root@OpenWrt:/# cat /proc/cpu
cpu/ cpuinfo
root@OpenWrt:/# cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 48.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 5
Hardware : Allwinner sun8i Family
Revision : 0000
Serial : 0000000000000000
root@OpenWrt:/#
@IvanPizhenko
Copy link

Hi, how did you do that? Can you please publish somewhere an instruction on how to build custom OpenWRT image for OrangePi from sources or how to adopt some exiting prebuilt image for OrangePi? That will be very useful, not only for me, but I beleive for many other people as well. OrangePi is great hardware, but unfortunately, software support "could be much better", no good tutorials for newbies like me.

@IvanPizhenko
Copy link

Also I can see "Net: No ethernet found. " in your log, but I need ethernet. Is it possiblt to use Linux kernel for OrangePi from @loboris (which is some 3.x, but has necessary drivers) instead of 4.x kernel?

@IvanPizhenko
Copy link

I was looking at this page https://wiki.openwrt.org/doc/hardware/soc/soc.allwinner.sunxi, but it states allwinner H3 which is found in my OrangePi is not supported yet...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment