Hello all,

I've been lurking in the background for a while watching the progress being 
made on the H3 based boards, specifically the OrangePi Plus that I have. 
 Thanks to all those kernel devs who've been making progress on this.

I've managed to get my system to boot on a 4.x kernel using:
1. U-boot 
    sunxi-wip branch from https://github.com/jwrdegoede/u-boot-sunxi
    orangepi_plus_defconfig

2. Kernel
    sunxi/for-next branch from 
https://git.kernel.org/cgit/linux/kernel/git/mripard/linux.git
    sunxi_defconfig

So it successfully boots, but USB devices don't seem to be recognised or 
have any power, I think the following lines during boot could have 
something to do with it:

[    0.940356] vcc3v0: disabling
[    0.943359] vcc5v0: disabling

There's a pretty good chance that there is something I should have enabled 
in the kernel config to make this work, but I'm not sure what.  Any advice 
on how to progress would be greatly appreciated.

I've attached the u-boot and kernel boot log.

Thanks,
    Troy

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.
U-Boot SPL 2016.03-rc1-g746a5ae (Feb 28 2016 - 23:28:08)
DRAM: 1024 MiB
Trying to boot from MMC


U-Boot 2016.03-rc1-g746a5ae (Feb 28 2016 - 23:28:08 +1100) Allwinner Technology

CPU:   Allwinner H3 (SUN8I)
I2C:   ready
DRAM:  1 GiB
MMC:   SUNXI SD/MMC: 0
In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB EHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 1 for devices... 1 USB Device(s) 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
454 bytes read in 17 ms (25.4 KiB/s)
## Executing script at 43100000
reading uImage
3343952 bytes read in 3247 ms (1004.9 KiB/s)
reading sun8i-h3-orangepi-plus.dtb
13112 bytes read in 42 ms (304.7 KiB/s)
## Booting kernel from Legacy Image at 42000000 ...
   Image Name:   Linux-4.5.0-rc1-00061-g19fb6ae
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3343888 Bytes = 3.2 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 43006337

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.5.0-rc1-00061-g19fb6ae (troy@build-box) (gcc 
version 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu1) ) #6 SMP Sun Feb 28 23:32:08 
AEDT 2016
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing 
instruction cache
[    0.000000] Machine model: Xunlong Orange Pi Plus
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] PERCPU: Embedded 12 pages/cpu @ef7ba000 s17536 r8192 d23424 
u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total 
pages: 260608
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk 
root=/dev/mmcblk0p2 rootwait
[    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: 1032420K/1048576K available (4656K kernel code, 248K 
rwdata, 1388K rodata, 296K init, 263K bss, 16156K reserved, 0K cma-reserved, 
262140K highmem)
[    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 - 0xc05ef414   (6046 kB)
[    0.000000]       .init : 0xc05f0000 - 0xc063a000   ( 296 kB)
[    0.000000]       .data : 0xc063a000 - 0xc0678040   ( 249 kB)
[    0.000000]        .bss : 0xc067b000 - 0xc06bcd04   ( 264 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: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 
4398046511097ns
[    0.000017] Switching to timer-based delay loop, resolution 41ns
[    0.000168] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, 
max_idle_ns: 79635851949 ns
[    0.000346] Console: colour dummy device 80x30
[    0.000371] Calibrating delay loop (skipped), value calculated using timer 
frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000383] pid_max: default: 32768 minimum: 301
[    0.000469] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000478] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001015] CPU: Testing write buffer coherency: ok
[    0.001267] /cpus/cpu@0 missing clock-frequency property
[    0.001281] /cpus/cpu@1 missing clock-frequency property
[    0.001292] /cpus/cpu@2 missing clock-frequency property
[    0.001303] /cpus/cpu@3 missing clock-frequency property
[    0.001312] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001362] Setting up static identity map for 0x40008280 - 0x400082d8
[    0.002658] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.003230] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.003771] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.003814] Brought up 4 CPUs
[    0.003836] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.003841] CPU: All CPU(s) started in HYP mode.
[    0.003846] CPU: Virtualization extensions available.
[    0.004430] devtmpfs: initialized
[    0.007524] VFP support v0.3: implementor 41 architecture 2 part 30 variant 
7 rev 5
[    0.007769] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, 
max_idle_ns: 19112604462750000 ns
[    0.007971] pinctrl core: initialized pinctrl subsystem
[    0.008768] NET: Registered protocol family 16
[    0.009007] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.011835] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint 
registers.
[    0.011845] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.018976] SCSI subsystem initialized
[    0.019405] usbcore: registered new interface driver usbfs
[    0.019463] usbcore: registered new interface driver hub
[    0.019516] usbcore: registered new device driver usb
[    0.019732] pps_core: LinuxPPS API ver. 1 registered
[    0.019741] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo 
Giometti <[email protected]>
[    0.019765] PTP clock support registered
[    0.020047] Advanced Linux Sound Architecture Driver Initialized.
[    0.020746] clocksource: Switched to clocksource arch_sys_counter
[    0.029033] NET: Registered protocol family 2
[    0.029491] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.029575] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.029688] TCP: Hash tables configured (established 8192 bind 8192)
[    0.029744] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.029798] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.029974] NET: Registered protocol family 1
[    0.030314] RPC: Registered named UNIX socket transport module.
[    0.030324] RPC: Registered udp transport module.
[    0.030330] RPC: Registered tcp transport module.
[    0.030335] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.031684] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.040539] NFS: Registering the id_resolver key type
[    0.040591] Key type id_resolver registered
[    0.040597] Key type id_legacy registered
[    0.041418] bounce: pool size: 64 pages
[    0.041618] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 
250)
[    0.041633] io scheduler noop registered
[    0.041644] io scheduler deadline registered
[    0.041672] io scheduler cfq registered (default)
[    0.043590] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.044069] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[    0.097147] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.099702] console [ttyS0] disabled
[    0.119864] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 27, base_baud = 
1500000) is a U6_16550A
[    0.717910] console [ttyS0] enabled
[    0.722618] CAN device driver interface
[    0.726774] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.733321] ehci-platform: EHCI generic platform driver
[    0.738618] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.744823] ohci-platform: OHCI generic platform driver
[    0.750899] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0
[    0.757682] sun6i-rtc 1f00000.rtc: RTC enabled
[    0.762261] i2c /dev entries driver
[    0.766401] IR NEC protocol handler initialized
[    0.770957] IR RC5(x/sz) protocol handler initialized
[    0.776005] IR RC6 protocol handler initialized
[    0.780531] IR JVC protocol handler initialized
[    0.785068] IR Sony protocol handler initialized
[    0.789682] IR SANYO protocol handler initialized
[    0.794395] IR Sharp protocol handler initialized
[    0.799096] IR MCE Keyboard/mouse protocol handler initialized
[    0.804936] IR XMP protocol handler initialized
[    0.809928] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, 
nowayout=0)
[    0.818460] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[    0.860763] sunxi-mmc 1c0f000.mmc: base:0xf0882000 irq:22
[    0.867230] usbcore: registered new interface driver usbhid
[    0.872828] usbhid: USB HID core driver
[    0.877949] NET: Registered protocol family 17
[    0.882436] can: controller area network core (rev 20120528 abi 9)
[    0.888667] NET: Registered protocol family 29
[    0.893128] can: raw protocol (rev 20120528)
[    0.897398] can: broadcast manager protocol (rev 20120528 t)
[    0.903069] can: netlink gateway (rev 20130117) max_hops=1
[    0.908820] Key type dns_resolver registered
[    0.913355] cpu cpu0: failed to get cpu0 clock: -2
[    0.918150] cpufreq-dt: probe of cpufreq-dt failed with error -2
[    0.924195] Registering SWP/SWPB emulation handler
[    0.929883] sun6i-rtc 1f00000.rtc: setting system clock to 1970-01-01 
00:00:12 UTC (12)
[    0.940356] vcc3v0: disabling
[    0.943359] vcc5v0: disabling
[    0.946393] ALSA device list:
[    0.949355]   No soundcards found.
[    0.954488] Waiting for root device /dev/mmcblk0p2...
[    1.009355] mmc0: host does not support reading read-only switch, assuming 
write-enable
[    1.021179] mmc0: new high speed SDHC card at address aaaa
[    1.027156] mmcblk0: mmc0:aaaa SS16G 14.8 GiB
[    1.033004]  mmcblk0: p1 p2
[    1.072549] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature 
incompatibilities
[    1.081187] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature 
incompatibilities
[    1.108054] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. 
Opts: (null)
[    1.116213] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.125702] devtmpfs: mounted
[    1.128965] Freeing unused kernel memory: 296K (c05f0000 - c063a000)
[    1.303746] random: systemd urandom read with 2 bits of entropy available
[    1.311844] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT 
+SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
[    1.325382] systemd[1]: Detected architecture 'arm'.

Welcome to Debian GNU/Linux 8 (jessie)!
opi@opiplus:~$ 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 
vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xc07
CPU revision    : 5

processor       : 1
model name      : ARMv7 Processor rev 5 (v7l)
BogoMIPS        : 48.00
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt 
vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xc07
CPU revision    : 5

processor       : 2
model name      : ARMv7 Processor rev 5 (v7l)
BogoMIPS        : 48.00
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt 
vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xc07
CPU revision    : 5

processor       : 3
model name      : ARMv7 Processor rev 5 (v7l)
BogoMIPS        : 48.00
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt 
vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xc07
CPU revision    : 5

Hardware        : Allwinner sun8i Family
Revision        : 0000
Serial          : 0000000000000000
o

Reply via email to