Created
November 11, 2016 02:11
-
-
Save apritzel/c128b29c601d180d32d68ee4c9ed8f47 to your computer and use it in GitHub Desktop.
Booting 4.9-rc2 on the Allwinner H5 based OrangePi PC 2 (via FEL)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
U-Boot SPL 2016.11-rc3-00019-g5c2dad5-dirty (Nov 11 2016 - 01:27:06) | |
DRAM:DRAM BOOT DRIVE INFO: V0.6 | |
the chip id is 0x1 | |
the chip id is 0x1 | |
the chip id is 0x1 | |
the chip id is 0x1 | |
the chip id is 0x1 | |
DRAM CLK =672 MHZ | |
DRAM Type =3 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3) | |
DRAM zq value: 0x3b3bf9 | |
DRAM SIZE =1024 M | |
DRAM simple test OK. | |
1024 MiB | |
Trying to boot from FEL | |
NOTICE: BL3-1: Running on H5 (1718) in SRAM A2 (@0x44000) | |
NOTICE: Configuring SPC Controller | |
NOTICE: BL3-1: v1.0(debug):687e191 | |
NOTICE: BL3-1: Built : 01:40:42, Nov 11 2016 | |
NOTICE: GIC setup | |
NOTICE: plat_setup_topology | |
NOTICE: sunxi_setup_clocks | |
NOTICE: PLL_PERIPH0: 90041811 | |
NOTICE: PLL_CPUX: 90001b21 | |
NOTICE: no voltage setup for H5 | |
INFO: BL3-1: Initializing runtime services | |
INFO: BL3-1: Preparing for EL3 exit to normal world | |
INFO: BL3-1: Next image address: 0x4a000000, SPSR: 0x3c9 | |
U-Boot 2016.11-rc3-00019-g5c2dad5-dirty (Nov 11 2016 - 01:14:04 +0000) Allwinner | |
Technology | |
CPU: Allwinner H5 (SUN50I) | |
Model: OrangePi PC 2 | |
DRAM: 1 GiB | |
MMC: SUNXI SD/MMC: 0 | |
MMC: no card present | |
*** Warning - MMC init failed, using default environment | |
In: serial | |
Out: serial | |
Err: serial | |
Net: phy interface7 | |
eth0: ethernet@1c30000 | |
starting USB... | |
USB0: USB EHCI 1.00 | |
USB1: USB OHCI 1.0 | |
scanning bus 0 for devices... 1 USB Device(s) found | |
Hit any key to stop autoboot: 1 | |
=> setenv bootargs "console=ttyS0,115200n8 earlycon=uart,mmio32,0x1c28000" | |
=> booti $kernel_addr_r - $fdt_addr_r | |
## Flattened Device Tree blob at 4fa00000 | |
Booting using the fdt blob at 0x4fa00000 | |
Loading Device Tree to 0000000049ffb000, end 0000000049fffbfe ... OK | |
Starting kernel ... | |
[ 0.000000] Booting Linux on physical CPU 0x0 | |
[ 0.000000] Linux version 4.9.0-rc2 (aprzywara@slackpad) (gcc version 6.2.0 ( | |
GCC) ) #252 SMP PREEMPT Fri Nov 11 01:48:11 GMT 2016 | |
[ 0.000000] Boot CPU: AArch64 Processor [410fd034] | |
[ 0.000000] earlycon: uart0 at MMIO32 0x0000000001c28000 (options '') | |
[ 0.000000] bootconsole [uart0] enabled | |
[ 0.000000] efi: Getting EFI parameters from FDT: | |
[ 0.000000] efi: UEFI not found. | |
[ 0.000000] cma: Reserved 16 MiB at 0x000000007f000000 | |
[ 0.000000] psci: probing for conduit method from DT. | |
[ 0.000000] psci: PSCIv0.2 detected in firmware. | |
[ 0.000000] psci: Using standard PSCI v0.2 function IDs | |
[ 0.000000] psci: Trusted OS migration not required | |
[ 0.000000] percpu: Embedded 22 pages/cpu @ffff80003ef7d000 s51144 r8192 d307 | |
76 u90112 | |
[ 0.000000] Detected VIPT I-cache on CPU0 | |
[ 0.000000] CPU features: enabling workaround for ARM erratum 845719 | |
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag | |
es: 258048 | |
[ 0.000000] Kernel command line: console=ttyS0,115200n8 earlycon=uart,mmio32, | |
0x1c28000 | |
[ 0.000000] log_buf_len individual max cpu contribution: 4096 bytes | |
[ 0.000000] log_buf_len total cpu_extra contributions: 12288 bytes | |
[ 0.000000] log_buf_len min size: 16384 bytes | |
[ 0.000000] log_buf_len: 32768 bytes | |
[ 0.000000] early log buf free: 14728(89%) | |
[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes) | |
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes) | |
[ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes) | |
[ 0.000000] Memory: 988000K/1048576K available (7740K kernel code, 936K rwdat | |
a, 3456K rodata, 512K init, 12944K bss, 44192K reserved, 16384K cma-reserved) | |
[ 0.000000] Virtual kernel memory layout: | |
[ 0.000000] modules : 0xffff000000000000 - 0xffff000008000000 ( 128 M | |
B) | |
[ 0.000000] vmalloc : 0xffff000008000000 - 0xffff7dffbfff0000 (129022 G | |
B) | |
[ 0.000000] .text : 0xffff000008080000 - 0xffff000008810000 ( 7744 K | |
B) | |
[ 0.000000] .rodata : 0xffff000008810000 - 0xffff000008b80000 ( 3520 K | |
B) | |
[ 0.000000] .init : 0xffff000008b80000 - 0xffff000008c00000 ( 512 K | |
B) | |
[ 0.000000] .data : 0xffff000008c00000 - 0xffff000008cea200 ( 937 K | |
B) | |
[ 0.000000] .bss : 0xffff000008cea200 - 0xffff00000998e3a0 ( 12945 K | |
B) | |
[ 0.000000] fixed : 0xffff7dfffe7fd000 - 0xffff7dfffec00000 ( 4108 K | |
B) | |
[ 0.000000] PCI I/O : 0xffff7dfffee00000 - 0xffff7dffffe00000 ( 16 M | |
B) | |
[ 0.000000] vmemmap : 0xffff7e0000000000 - 0xffff800000000000 ( 2048 G | |
B maximum) | |
[ 0.000000] 0xffff7e0000000000 - 0xffff7e0001000000 ( 16 M | |
B actual) | |
[ 0.000000] memory : 0xffff800000000000 - 0xffff800040000000 ( 1024 M | |
B) | |
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 | |
[ 0.000000] Running RCU self tests | |
[ 0.000000] Preemptible hierarchical RCU implementation. | |
[ 0.000000] RCU lockdep checking is enabled. | |
[ 0.000000] Build-time adjustment of leaf fanout to 64. | |
[ 0.000000] RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=4. | |
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=64, nr_cpu_ids=4 | |
[ 0.000000] NR_IRQS:64 nr_irqs:64 0 | |
[ 0.000000] GIC: Using split EOI/Deactivate mode | |
[ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (ph | |
ys). | |
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: | |
0x588fe9dc0, max_idle_ns: 440795202592 ns | |
[ 0.000004] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 43980 | |
46511097ns | |
[ 0.008321] Console: colour dummy device 80x25 | |
[ 0.012785] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo | |
Molnar | |
[ 0.020521] ... MAX_LOCKDEP_SUBCLASSES: 8 | |
[ 0.024615] ... MAX_LOCK_DEPTH: 48 | |
[ 0.028795] ... MAX_LOCKDEP_KEYS: 8191 | |
[ 0.033149] ... CLASSHASH_SIZE: 4096 | |
[ 0.037502] ... MAX_LOCKDEP_ENTRIES: 32768 | |
[ 0.041943] ... MAX_LOCKDEP_CHAINS: 65536 | |
[ 0.046382] ... CHAINHASH_SIZE: 32768 | |
[ 0.050822] memory used by lock dependency info: 8159 kB | |
[ 0.056216] per task-struct memory footprint: 1920 bytes | |
[ 0.061628] Calibrating delay loop (skipped), value calculated using timer fr | |
equency.. 48.00 BogoMIPS (lpj=96000) | |
[ 0.071892] pid_max: default: 32768 minimum: 301 | |
[ 0.076694] Security Framework initialized | |
[ 0.080877] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes) | |
[ 0.087577] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes) | |
[ 0.096904] ASID allocator initialised with 65536 entries | |
[ 0.136316] EFI services will not be available. | |
[ 0.181982] Detected VIPT I-cache on CPU1 | |
[ 0.182045] CPU1: Booted secondary processor [410fd034] | |
[ 0.213718] Detected VIPT I-cache on CPU2 | |
[ 0.213755] CPU2: Booted secondary processor [410fd034] | |
[ 0.245842] Detected VIPT I-cache on CPU3 | |
[ 0.245876] CPU3: Booted secondary processor [410fd034] | |
[ 0.246016] Brought up 4 CPUs | |
[ 0.276640] SMP: Total of 4 processors activated. | |
[ 0.281345] CPU features: detected feature: 32-bit EL0 Support | |
[ 0.287244] CPU: All CPU(s) started at EL2 | |
[ 0.291418] alternatives: patching kernel code | |
[ 0.297254] devtmpfs: initialized | |
[ 0.305731] DMI not present or invalid. | |
[ 0.310031] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma | |
x_idle_ns: 7645041785100000 ns | |
[ 0.320442] pinctrl core: initialized pinctrl subsystem | |
[ 0.328254] NET: Registered protocol family 16 | |
[ 0.348832] cpuidle: using governor menu | |
[ 0.352951] vdso: 2 pages (1 code @ ffff000008817000, 1 data @ ffff000008c040 | |
00) | |
[ 0.360356] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. | |
[ 0.369136] DMA: preallocated 256 KiB pool for atomic allocations | |
[ 0.375358] Serial: AMBA PL011 UART driver | |
[ 0.428818] HugeTLB registered 2 MB page size, pre-allocated 0 pages | |
[ 0.438119] SCSI subsystem initialized | |
[ 0.442933] usbcore: registered new interface driver usbfs | |
[ 0.448568] usbcore: registered new interface driver hub | |
[ 0.454044] usbcore: registered new device driver usb | |
[ 0.459744] pps_core: LinuxPPS API ver. 1 registered | |
[ 0.464718] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome | |
tti <giometti@linux.it> | |
[ 0.473883] PTP clock support registered | |
[ 0.478128] dmi: Firmware registration failed. | |
[ 0.482828] Advanced Linux Sound Architecture Driver Initialized. | |
[ 0.490937] clocksource: Switched to clocksource arch_sys_counter | |
[ 0.497463] VFS: Disk quotas dquot_6.6.0 | |
[ 0.501475] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) | |
[ 0.526534] NET: Registered protocol family 2 | |
[ 0.532249] TCP established hash table entries: 8192 (order: 4, 65536 bytes) | |
[ 0.539380] TCP bind hash table entries: 8192 (order: 7, 524288 bytes) | |
[ 0.547764] TCP: Hash tables configured (established 8192 bind 8192) | |
[ 0.554312] UDP hash table entries: 512 (order: 4, 81920 bytes) | |
[ 0.560479] UDP-Lite hash table entries: 512 (order: 4, 81920 bytes) | |
[ 0.567622] NET: Registered protocol family 1 | |
[ 0.572924] RPC: Registered named UNIX socket transport module. | |
[ 0.578853] RPC: Registered udp transport module. | |
[ 0.583561] RPC: Registered tcp transport module. | |
[ 0.588266] RPC: Registered tcp NFSv4.1 backchannel transport module. | |
[ 0.595846] kvm [1]: 8-bit VMID | |
[ 0.599001] kvm [1]: IDMAP page: 40804000 | |
[ 0.603020] kvm [1]: HYP VA range: 800000000000:ffffffffffff | |
[ 0.615783] kvm [1]: Hyp mode initialized successfully | |
[ 0.620968] kvm [1]: vgic-v2@1c84000 | |
[ 0.624728] kvm [1]: vgic interrupt IRQ1 | |
[ 0.628679] kvm [1]: virtual timer IRQ4 | |
[ 0.638424] futex hash table entries: 1024 (order: 5, 131072 bytes) | |
[ 0.645032] audit: initializing netlink subsys (disabled) | |
[ 0.650568] audit: type=2000 audit(0.548:1): initialized | |
[ 0.657195] workingset: timestamp_bits=46 max_order=18 bucket_order=0 | |
[ 0.692928] squashfs: version 4.0 (2009/01/31) Phillip Lougher | |
[ 0.701619] NFS: Registering the id_resolver key type | |
[ 0.706860] Key type id_resolver registered | |
[ 0.711056] Key type id_legacy registered | |
[ 0.715456] fuse init (API version 7.26) | |
[ 0.720339] 9p: Installing v9fs 9p2000 file system support | |
[ 0.730156] io scheduler noop registered | |
[ 0.734584] io scheduler cfq registered (default) | |
[ 0.747576] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver | |
[ 0.756506] xenfs: not registering filesystem on non-xen platform | |
[ 0.769751] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled | |
[ 0.781472] console [ttyS0] disabled | |
[ 0.805476] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 8, base_baud = 150 | |
0000) is a U6_16550A | |
[ 0.814506] console [ttyS0] enabled | |
[ 0.814506] console [ttyS0] enabled | |
[ 0.821485] bootconsole [uart0] disabled | |
[ 0.821485] bootconsole [uart0] disabled | |
[ 0.830848] [drm] Initialized | |
[ 0.835695] Unable to detect cache hierarchy from DT for CPU 0 | |
[ 0.854694] loop: module loaded | |
[ 0.860127] libphy: Fixed MDIO Bus: probed | |
[ 0.865154] tun: Universal TUN/TAP device driver, 1.6 | |
[ 0.870218] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> | |
[ 0.879544] usbcore: registered new interface driver catc | |
[ 0.885044] usbcore: registered new interface driver kaweth | |
[ 0.890627] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet dri | |
ver | |
[ 0.898110] usbcore: registered new interface driver pegasus | |
[ 0.903860] usbcore: registered new interface driver rtl8150 | |
[ 0.909635] usbcore: registered new interface driver r8152 | |
[ 0.915207] usbcore: registered new interface driver lan78xx | |
[ 0.920980] usbcore: registered new interface driver asix | |
[ 0.926461] usbcore: registered new interface driver ax88179_178a | |
[ 0.932635] usbcore: registered new interface driver cdc_ether | |
[ 0.938553] usbcore: registered new interface driver cdc_eem | |
[ 0.944297] usbcore: registered new interface driver dm9601 | |
[ 0.949956] usbcore: registered new interface driver sr9700 | |
[ 0.955640] usbcore: registered new interface driver CoreChips | |
[ 0.961600] usbcore: registered new interface driver smsc75xx | |
[ 0.967459] usbcore: registered new interface driver smsc95xx | |
[ 0.973292] usbcore: registered new interface driver gl620a | |
[ 0.978967] usbcore: registered new interface driver net1080 | |
[ 0.984711] usbcore: registered new interface driver plusb | |
[ 0.990284] usbcore: registered new interface driver rndis_host | |
[ 0.996289] usbcore: registered new interface driver cdc_subset | |
[ 1.002295] usbcore: registered new interface driver zaurus | |
[ 1.007962] usbcore: registered new interface driver MOSCHIP usb-ethernet dri | |
ver | |
[ 1.015480] usbcore: registered new interface driver cdc_ncm | |
[ 1.021651] VFIO - User Level meta-driver version: 0.3 | |
[ 1.028567] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver | |
[ 1.035145] ehci-platform: EHCI generic platform driver | |
[ 1.040483] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver | |
[ 1.046688] ohci-platform: OHCI generic platform driver | |
[ 1.052137] usbcore: registered new interface driver cdc_acm | |
[ 1.057808] cdc_acm: USB Abstract Control Model driver for USB modems and ISD | |
N adapters | |
[ 1.065931] usbcore: registered new interface driver usblp | |
[ 1.071515] usbcore: registered new interface driver cdc_wdm | |
[ 1.077259] usbcore: registered new interface driver uas | |
[ 1.082692] usbcore: registered new interface driver usb-storage | |
[ 1.088800] usbcore: registered new interface driver ums-realtek | |
[ 1.095015] usbcore: registered new interface driver usbserial | |
[ 1.100922] usbcore: registered new interface driver usbserial_generic | |
[ 1.107821] usbserial: USB Serial support registered for generic | |
[ 1.113912] usbcore: registered new interface driver cp210x | |
[ 1.119568] usbserial: USB Serial support registered for cp210x | |
[ 1.125566] usbcore: registered new interface driver cypress_m8 | |
[ 1.131562] usbserial: USB Serial support registered for DeLorme Earthmate US | |
B | |
[ 1.138865] usbserial: USB Serial support registered for HID->COM RS232 Adapt | |
er | |
[ 1.146251] usbserial: USB Serial support registered for Nokia CA-42 V2 Adapt | |
er | |
[ 1.153641] usbcore: registered new interface driver ftdi_sio | |
[ 1.159465] usbserial: USB Serial support registered for FTDI USB Serial Devi | |
ce | |
[ 1.166851] usbcore: registered new interface driver mos7720 | |
[ 1.172589] usbserial: USB Serial support registered for Moschip 2 port adapt | |
er | |
[ 1.179972] usbcore: registered new interface driver mos7840 | |
[ 1.185709] usbserial: USB Serial support registered for Moschip 7840/7820 US | |
B Serial Driver | |
[ 1.194222] usbcore: registered new interface driver oti6858 | |
[ 1.199958] usbserial: USB Serial support registered for oti6858 | |
[ 1.206048] usbcore: registered new interface driver pl2303 | |
[ 1.211699] usbserial: USB Serial support registered for pl2303 | |
[ 1.217705] usbcore: registered new interface driver usb_serial_simple | |
[ 1.224311] usbserial: USB Serial support registered for carelink | |
[ 1.230492] usbserial: USB Serial support registered for zio | |
[ 1.236227] usbserial: USB Serial support registered for funsoft | |
[ 1.242316] usbserial: USB Serial support registered for flashloader | |
[ 1.248749] usbserial: USB Serial support registered for google | |
[ 1.254751] usbserial: USB Serial support registered for vivopay | |
[ 1.260839] usbserial: USB Serial support registered for moto_modem | |
[ 1.267186] usbserial: USB Serial support registered for novatel_gps | |
[ 1.273616] usbserial: USB Serial support registered for hp4x | |
[ 1.279441] usbserial: USB Serial support registered for suunto | |
[ 1.285439] usbserial: USB Serial support registered for siemens_mpi | |
[ 1.291880] usbcore: registered new interface driver spcp8x5 | |
[ 1.297618] usbserial: USB Serial support registered for SPCP8x5 | |
[ 1.303705] usbcore: registered new interface driver ti_usb_3410_5052 | |
[ 1.310223] usbserial: USB Serial support registered for TI USB 3410 1 port a | |
dapter | |
[ 1.317962] usbserial: USB Serial support registered for TI USB 5052 2 port a | |
dapter | |
[ 1.325704] usbcore: registered new interface driver emi26 - firmware loader | |
[ 1.332847] usbcore: registered new interface driver emi62 - firmware loader | |
[ 1.339979] usbcore: registered new interface driver usbsevseg | |
[ 1.347008] usbip_core: USB/IP Core v1.0.0 | |
[ 1.352063] vhci_hcd vhci_hcd: USB/IP Virtual Host Controller | |
[ 1.357900] vhci_hcd vhci_hcd: new USB bus registered, assigned bus number 1 | |
[ 1.365058] BUG: key ffff80003cd12518 not in .data! | |
[ 1.369946] DEBUG_LOCKS_WARN_ON(1)[ 1.373188] ------------[ cut here ]---- | |
-------- | |
[ 1.377813] WARNING: CPU: 0 PID: 1 at /data/src/linux/kernel/locking/lockdep. | |
c:3131 lockdep_init_map+0x1c0/0x1c8 | |
[ 1.387968] Modules linked in: | |
[ 1.391029] | |
[ 1.392522] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.9.0-rc2 #252 | |
[ 1.398865] Hardware name: Xunlong Orange Pi PC 2 (DT) | |
[ 1.403994] task: ffff80003d880000 task.stack: ffff80003d888000 | |
[ 1.409906] PC is at lockdep_init_map+0x1c0/0x1c8 | |
[ 1.414603] LR is at lockdep_init_map+0x1c0/0x1c8 | |
[ 1.419301] pc : [<ffff0000081053b8>] lr : [<ffff0000081053b8>] pstate: 60000 | |
045 | |
[ 1.426674] sp : ffff80003d88b8d0 | |
[ 1.429983] x29: ffff80003d88b8d0 x28: 0000000000000000 | |
[ 1.435310] x27: 00000000ffffee4b x26: 00000000000011b4 | |
[ 1.440635] x25: ffff80003dbfb820 x24: 0000000000001000 | |
[ 1.445962] x23: 0000000000000000 x22: 0000000000000000 | |
[ 1.451289] x21: ffff000009947000 x20: ffff80003cd12518 | |
[ 1.456616] x19: ffff80003d3e4858 x18: 0000000000000010 | |
[ 1.461941] x17: ffff000009665000 x16: ffff000009751e50 | |
[ 1.467267] x15: 0000000000000006 x14: ffff000089946f07 | |
[ 1.472593] x13: ffff000009946f15 x12: 00000000000000e7 | |
[ 1.477920] x11: 0000000000000006 x10: 00000000000000e8 | |
[ 1.483247] x9 : ffff80003d88b6d0 x8 : 000000000005a51a | |
[ 1.488573] x7 : 0000000000000001 x6 : ffff000008111f50 | |
[ 1.493899] x5 : 0000000000000000 x4 : 0000000000000001 | |
[ 1.499224] x3 : 0000000000000001 x2 : ffff000008111f68 | |
[ 1.504551] x1 : ffff80003d880000 x0 : 0000000000000016 | |
[ 1.509876] | |
[ 1.511368] ---[ end trace 55e149c342f9367c ]--- | |
[ 1.515977] Call trace: | |
[ 1.518421] Exception stack(0xffff80003d88b6f0 to 0xffff80003d88b820) | |
[ 1.524851] b6e0: ffff80003d3e4858 00010000 | |
00000000 | |
[ 1.532669] b700: ffff80003d88b8d0 ffff0000081053b8 0000000060000045 00000000 | |
0000003d | |
[ 1.540487] b720: 0000000000000000 0000000000000000 ffff000008a64c50 00000000 | |
00000004 | |
[ 1.548304] b740: ffff00000811256c 0000000009946000 ffff80003d88b7f0 ffff0000 | |
08112878 | |
[ 1.556123] b760: ffff80003d3e4858 ffff80003cd12518 ffff000009947000 00000000 | |
00000000 | |
[ 1.563940] b780: 0000000000000000 0000000000001000 ffff80003dbfb820 00000000 | |
000011b4 | |
[ 1.571759] b7a0: 0000000000000016 ffff80003d880000 ffff000008111f68 00000000 | |
00000001 | |
[ 1.579577] b7c0: 0000000000000001 0000000000000000 ffff000008111f50 00000000 | |
00000001 | |
[ 1.587395] b7e0: 000000000005a51a ffff80003d88b6d0 00000000000000e8 00000000 | |
00000006 | |
[ 1.595213] b800: 00000000000000e7 ffff000009946f15 ffff000089946f07 00000000 | |
00000006 | |
[ 1.603031] [<ffff0000081053b8>] lockdep_init_map+0x1c0/0x1c8 | |
[ 1.608774] [<ffff000008272f7c>] __kernfs_create_file+0x6c/0xf8 | |
[ 1.614685] [<ffff00000827396c>] sysfs_add_file_mode_ns+0xac/0x1d8 | |
[ 1.620856] [<ffff0000082747f0>] internal_create_group+0xe0/0x2b0 | |
[ 1.626941] [<ffff0000082749d4>] sysfs_create_group+0x14/0x20 | |
[ 1.632681] [<ffff000008632ce0>] vhci_start+0x1c8/0x258 | |
[ 1.637901] [<ffff0000085a27b8>] usb_add_hcd+0x2b0/0x8a0 | |
[ 1.643205] [<ffff00000863181c>] vhci_hcd_probe+0x5c/0x120 | |
[ 1.648687] [<ffff0000084c5510>] platform_drv_probe+0x58/0xc0 | |
[ 1.654426] [<ffff0000084c369c>] driver_probe_device+0x27c/0x430 | |
[ 1.660423] [<ffff0000084c3a1c>] __device_attach_driver+0xac/0x158 | |
[ 1.666594] [<ffff0000084c1370>] bus_for_each_drv+0x58/0x98 | |
[ 1.672159] [<ffff0000084c327c>] __device_attach+0xcc/0x160 | |
[ 1.677724] [<ffff0000084c3b18>] device_initial_probe+0x10/0x18 | |
[ 1.683635] [<ffff0000084c2494>] bus_probe_device+0x94/0xa0 | |
[ 1.689200] [<ffff0000084c0128>] device_add+0x2d0/0x598 | |
[ 1.694417] [<ffff0000084c51ac>] platform_device_add+0x104/0x288 | |
[ 1.700416] [<ffff0000084c5e88>] platform_device_register_full+0xf8/0x128 | |
[ 1.707198] [<ffff000008bac864>] vhci_hcd_init+0xdc/0x148 | |
[ 1.712591] [<ffff0000080838d8>] do_one_initcall+0x38/0x128 | |
[ 1.718158] [<ffff000008b80ca4>] kernel_init_freeable+0x144/0x1e8 | |
[ 1.724245] [<ffff0000087fb4a8>] kernel_init+0x10/0x100 | |
[ 1.729463] [<ffff000008083680>] ret_from_fork+0x10/0x50 | |
[ 1.734797] vhci_hcd: created sysfs vhci_hcd | |
[ 1.739227] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 | |
[ 1.746022] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber= | |
1 | |
[ 1.753243] usb usb1: Product: USB/IP Virtual Host Controller | |
[ 1.758994] usb usb1: Manufacturer: Linux 4.9.0-rc2 vhci_hcd | |
[ 1.764657] usb usb1: SerialNumber: vhci_hcd | |
[ 1.769744] hub 1-0:1.0: USB hub found | |
[ 1.773530] hub 1-0:1.0: 8 ports detected | |
[ 1.778631] vhci_hcd: USB/IP 'Virtual' Host Controller (VHCI) Driver v1.0.0 | |
[ 1.785731] usbcore: registered new device driver usbip-host | |
[ 1.791410] usbip_host: USB/IP Host Driver v1.0.0 | |
[ 1.797300] mousedev: PS/2 mouse device common for all mice | |
[ 1.804201] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0 | |
[ 1.811008] sun6i-rtc 1f00000.rtc: RTC enabled | |
[ 1.815542] i2c /dev entries driver | |
[ 1.820963] sdhci: Secure Digital Host Controller Interface driver | |
[ 1.827160] sdhci: Copyright(c) Pierre Ossman | |
[ 1.831611] Synopsys Designware Multimedia Card Interface Driver | |
[ 1.838807] sunxi-mmc 1c0f000.mmc: Got CD GPIO | |
[ 1.882952] sunxi-mmc 1c0f000.mmc: base:0xffff000008062000 irq:10 | |
[ 1.890173] sdhci-pltfm: SDHCI platform and OF driver helper | |
[ 1.896171] ledtrig-cpu: registered to indicate activity on CPUs | |
[ 1.903240] usbcore: registered new interface driver usbhid | |
[ 1.908822] usbhid: USB HID core driver | |
[ 1.914157] NET: Registered protocol family 17 | |
[ 1.918717] 9pnet: Installing 9P2000 support | |
[ 1.923146] Key type dns_resolver registered | |
[ 1.928167] registered taskstats version 1 | |
[ 1.939395] sun6i-rtc 1f00000.rtc: setting system clock to 1970-01-01 00:11:2 | |
7 UTC (687) | |
[ 1.947699] vcc3v3: disabling | |
[ 1.950665] ALSA device list: | |
[ 1.953646] No soundcards found. | |
[ 1.957513] VFS: Cannot open root device "(null)" or unknown-block(0,0): erro | |
r -6 | |
[ 1.965000] Please append a correct "root=" boot option; here are the availab | |
le partitions: | |
[ 1.973358] Kernel panic - not syncing: VFS: Unable to mount root fs on unkno | |
wn-block(0,0) | |
[ 1.981612] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 4.9.0-rc2 | |
#252 | |
[ 1.989168] Hardware name: Xunlong Orange Pi PC 2 (DT) | |
[ 1.994297] Call trace: | |
[ 1.996750] [<ffff0000080890c0>] dump_backtrace+0x0/0x1e0 | |
[ 2.002144] [<ffff0000080892b4>] show_stack+0x14/0x20 | |
[ 2.007193] [<ffff00000839a2c4>] dump_stack+0xb4/0xf0 | |
[ 2.012242] [<ffff000008179070>] panic+0x11c/0x274 | |
[ 2.017031] [<ffff000008b810e8>] mount_block_root+0x184/0x25c | |
[ 2.022769] [<ffff000008b812dc>] mount_root+0x11c/0x134 | |
[ 2.027988] [<ffff000008b81430>] prepare_namespace+0x13c/0x184 | |
[ 2.033813] [<ffff000008b80d24>] kernel_init_freeable+0x1c4/0x1e8 | |
[ 2.039900] [<ffff0000087fb4a8>] kernel_init+0x10/0x100 | |
[ 2.045118] [<ffff000008083680>] ret_from_fork+0x10/0x50 | |
[ 2.050422] SMP: stopping secondary CPUs | |
[ 2.054341] Kernel Offset: disabled | |
[ 2.057823] Memory Limit: none | |
[ 2.060879] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs |
Hi, sorry for the delay, just found your message.
Yes, the Cortex-A53 cores in the H5 SoC are fully virtualization capable, also the GIC and timer support it.
If you are using mainline U-Boot (and ATF), KVM should work out of the box. It needs to be enabled in the kernel (CONFIG_KVM=y), but for AArch64 this is typically done by default (in defconfig and by distributions).
I don't know for sure about the BSP firmware, but for the A64 EL2 was disabled in Arm Trusted Firmware (ATF), but was easy enough to enable: apritzel/arm-trusted-firmware@b2bd13c
Please note that if you don't desperately need the BSP kernel for whatever reason, you should go with a full mainline software stack (SPL, ATF, U-Boot, kernel), especially on any H5 board.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi, I saw the kvm is already open.
did you open the kvm feature by yourself, or the kvm feature is turned on by default?
is the h5 support Virtualization feature?