README - U-boot HiKey board =========================== This is release_r1 of hikey hi6220 u-boot port. This document is heavily based on Linus Juno port doc [1] and the 96boards docs [2] and [3]. Currently the u-boot port supports: - 1)eMMC (only tested read) 2)USB (asix networking adapter works, no usb mass storage) 3)gpio 4)serial [1]http://www.df.lth.se/~triad/krad/junoboard/ [2]https://github.com/96boards/documentation/wiki/HiKeyGettingStarted [3]https://github.com/96boards/documentation/wiki/UEFI #Build the kernel To have all 8 cores enabled you need the latest PSCI work from leo-yan. Currently this is located on the hikey-psci branch, but may well have been merged to trunk when you read this (so check first). Checkout the 'hikey-psci' branch from the 96boards repo: - git clone https://github.com/96boards/linux.git git checkout hikey-psci make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- defconfig make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j`getconf _NPROCESSORS_ONLN` Image modules dtbs #Get and build u-boot for hikey git clone https://github.com/96boards/u-boot/tree/hikey-rebase git checkout hikey-rebase make -f hikey-u-boot.mak build #Get and compile arm trusted firmware with PSCI enabled git clone https://github.com/96boards/arm-trusted-firmware.git #Again you might just want HEAD, but I tested with the following commit (which was HEAD at the time) git checkout 9a97502e8b3247dee95d4f0b48fc5d7154f40609 #Use Linus based makefile to build ATF see http://people.linaro.org/~peter.griffin/hikey/hikey-u-boot-release_r1/build-tf.mak #and check that the hikey-u-boot.bin at etc point at the correct location (default is ~/aarch64/). make -f build-tf.mak build # Get and compile l-loader (the scripts referenced below are only on hikey-v0.2.2 branch) git clone https://github.com/96boards/l-loader.git git checkout hikey-v0.2.2 cd /home/griffinp/Software/hikey/software/l-loader #make sym links to bip / fip binaries (this closely follows instructions in [3] so have a #read there if this isn't making any sense :-) ln -s /home/griffinp/aarch64/bl1-hikey.bin bl1.bin ln -s /home/griffinp/aarch64/fip-hikey.bin fip.bin arm-linux-gnueabihf-gcc -c -o start.o start.S arm-linux-gnueabihf-gcc -c -o debug.o debug.S arm-linux-gnueabihf-ld -Bstatic -Tl-loader.lds -Ttext 0xf9800800 start.o debug.o -o loader arm-linux-gnueabihf-objcopy -O binary loader temp python gen_loader.py -o l-loader.bin --img_loader=temp --img_bl1=bl1.bin sudo bash -x generate_ptable.sh python gen_loader.py -o ptable.img --img_prm_ptable=prm_ptable.img --img_sec_ptable=sec_ptable.img [continue generating filesystem etc if you want to have rootfs in eMMC see [3] FLASHING ======== #Connect jumper J2 to go into recovery mode and flash a l-loader.bin that contains fastboot support sudo python /home/griffinp/Software/hikey/software/burn-boot/hisi-idt.py -d /dev/ttyUSB0 --img1=/tmp/l-loader.bin #Once LED 0 comes on solid, it should be detected as a fasboot device sudo fastboot devices #flash the images cd /home/griffinp/Software/hikey/software/l-loader sudo fastboot flash ptable ptable.img sudo fastboot flash fastboot fip.bin sudo fastboot flash nvme nvme.img #Disconnect jumper J2, and reset the board and you will now have ATF, booting u-boot from eMMC :-) debug EMMC boot: print init OK debug EMMC boot: send RST_N . debug EMMC boot: start eMMC boot...... load fastboot1! Switch to aarch64 mode. CPU0 executes at 0xf9801000! NOTICE: Booting Trusted Firmware NOTICE: BL1: v1.1(release):9a97502 NOTICE: BL1: Built : 08:13:36, Mar 10 2015 NOTICE: succeed to init lpddr3 rank0 dram phy INFO: lpddr3_freq_init, set ddrc 533mhz INFO: init ddr3 rank0 in 533MHz INFO: ddr3 rank1 init pass in 533MHz INFO: Elpida DDR NOTICE: BL1: Booting BL2 NOTICE: BL2: v1.1(debug):9a97502 NOTICE: BL2: Built : 12:03:04, Mar 16 2015 INFO: BL2: Loading BL3-1 INFO: Using FIP INFO: Loading file 'bl31.bin' at address 0xf9858000 INFO: File 'bl31.bin' loaded: 0xf9858000 - 0xf985f010 INFO: BL2: Loading BL3-3 INFO: Using FIP INFO: Loading file 'bl33.bin' at address 0x37000000 INFO: File 'bl33.bin' loaded: 0x37000000 - 0x3703dc90 NOTICE: BL1: Booting BL3-1 NOTICE: BL3-1: v1.1(debug):9a97502 NOTICE: BL3-1: Built : 12:03:07, Mar 16 2015 INFO: BL3-1: Initializing runtime services INFO: BL3-1: Preparing for EL3 exit to normal world INFO: BL3-1: Next image address = 0x37000000 INFO: BL3-1: Next image spsr = 0x3c9 U-Boot 2015.04-rc1-00029-g697f10b-dirty (Mar 16 2015 - 12:01:59) hikey_aemv8a DRAM: 1 GiB MMC: HiKey DWMMC: 0 Using default environment In: serial Out: serial Err: serial Net: Net Initialization Skipped No ethernet found. Hit any key to stop autoboot: 0 #To enable USB networking, plug a ASIX networking adapter into USB Host 1 or 2 HiKey64# usb start HiKey64# setenv ipaddr 192.168.0.200 HiKey64# setenv ipaddr 192.168.0.10 HiKey64# tftpboot 0x00000000 Image HiKey64# 0x03000000 hi6220-hikey.dtb HiKey64# booti 0x10000000 - 0x13000000 #The kernel will now be loaded over tftp into DDR and boot (see trace below) U-Boot 2015.04-rc1-00029-g697f10b-dirty (Mar 16 2015 - 12:01:59) hikey_aemv8a DRAM: 1 GiB MMC: HiKey DWMMC: 0 Using default environment In: serial Out: serial Err: serial Net: Net Initialization Skipped No ethernet found. Hit any key to stop autoboot: 0 HiKey64# HiKey64# HiKey64# HiKey64# HiKey64# HiKey64# usb start starting USB... USB0: Core Release: 3.00a scanning bus 0 for devices... 3 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found scanning usb for ethernet devices... Warning: asx0 using MAC address from net device 1 Ethernet Device(s) found HiKey64# HiKey64# setenv ipaddr 192.168.0.200 HiKey64# HiKey64# setenv serverip 192.168.0.10 HiKey64# HiKey64# tftpboot 0x10000000 Image Using asx0 device TFTP from server 192.168.0.10; our IP address is 192.168.0.200 Filename 'Image'. Load address: 0x10000000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ######################################################T ########### ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ############################################## 238.3 KiB/s done Bytes transferred = 12214232 (ba5fd8 hex) HiKey64# tftpboot 0x13000000 hi6220-hikey.dtb Using asx0 device TFTP from server 192.168.0.10; our IP address is 192.168.0.200 Filename 'hi6220-hikey.dtb'. Load address: 0x13000000 Loading: ################# 237.3 KiB/s done Bytes transferred = 85319 (14d47 hex) HiKey64# �ooti 0x10000000 - 0x13000000 Unknown command '�ooti' - try 'help' HiKey64# Unknown command '�ooti' - try 'help' HiKey64# booti 0x10000000 - 0x13000000 ## Flattened Device Tree blob at 13000000 Booting using the fdt blob at 0x13000000 Using Device Tree in place at 0000000013000000, end 0000000013017d46 Starting kernel ... [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Initializing cgroup subsys cpuacct [ 0.000000] Linux version 3.18.0+ (griffinp@griffinp-ThinkPad-X1-Carbon-2nd) (gcc version 4.9.2 20140904 (prerelease) (crosstool-NG linaro-1.13.1-4.9-2014.09 - Linaro GCC 4.9-2014.09) ) #5 SMP PREEMPT Tue Mar 17 08:21:27 GMT 2015 [ 0.000000] CPU: AArch64 Processor [410fd033] revision 3 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] efi: Getting EFI parameters from FDT: [ 0.000000] efi: UEFI not found. [ 0.000000] cma: Reserved 16 MiB at 0x000000003f000000 [ 0.000000] On node 0 totalpages: 262144 [ 0.000000] DMA zone: 3584 pages used for memmap [ 0.000000] DMA zone: 0 pages reserved [ 0.000000] DMA zone: 262144 pages, LIFO batch:31 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] PERCPU: Embedded 14 pages/cpu @ffffffc03eefc000 s18688 r8192 d30464 u57344 [ 0.000000] pcpu-alloc: s18688 r8192 d30464 u57344 alloc=14*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 258560 [ 0.000000] Kernel command line: console=ttyAMA0,115200n8 root=/dev/sda1 rw earlyprintk=pl011,0x7ff80000 debug user_debug=31 loglevel=9 [ 0.000000] log_buf_len individual max cpu contribution: 4096 bytes [ 0.000000] log_buf_len total cpu_extra contributions: 28672 bytes [ 0.000000] log_buf_len min size: 16384 bytes [ 0.000000] log_buf_len: 65536 bytes [ 0.000000] early log buf free: 14752(90%) [ 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: 994464K/1048576K available (7777K kernel code, 651K rwdata, 3116K rodata, 376K init, 492K bss, 54112K reserved) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vmalloc : 0xffffff8000000000 - 0xffffffbdffff0000 ( 247 GB) [ 0.000000] vmemmap : 0xffffffbe00000000 - 0xffffffbfc0000000 ( 7 GB maximum) [ 0.000000] 0xffffffbe00000000 - 0xffffffbe00e00000 ( 14 MB actual) [ 0.000000] PCI I/O : 0xffffffbffa000000 - 0xffffffbffb000000 ( 16 MB) [ 0.000000] fixed : 0xffffffbffbdfe000 - 0xffffffbffbdff000 ( 4 KB) [ 0.000000] modules : 0xffffffbffc000000 - 0xffffffc000000000 ( 64 MB) [ 0.000000] memory : 0xffffffc000000000 - 0xffffffc040000000 ( 1024 MB) [ 0.000000] .init : 0xffffffc000b25000 - 0xffffffc000b83000 ( 376 KB) [ 0.000000] .text : 0xffffffc000080000 - 0xffffffc000b24564 ( 10898 KB) [ 0.000000] .data : 0xffffffc000b83000 - 0xffffffc000c25fd8 ( 652 KB) [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=8. [ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=8 [ 0.000000] NR_IRQS:64 nr_irqs:64 16 [ 0.000000] hisi_clk_register_stub: base=0xffffff8000002af4, comm_base=0xffffff8000008000 [ 0.000000] hisi_clk_init: base ffffff800000a000 [ 0.000000] hisi_clk_init: base ffffff800000c000 [ 0.000000] hisi_clk_init: base ffffff800000e000 [ 0.000000] hisi_clk_init: base ffffff8000010000 [ 0.000000] Architected cp15 timer(s) running at 1.20MHz (phys). [ 0.000005] sched_clock: 56 bits at 1200kHz, resolution 833ns, wraps every 3579139414016ns [ 0.000422] Console: colour dummy device 80x25 [ 0.001558] allocated 4194304 bytes of page_cgroup [ 0.001562] please try 'cgroup_disable=memory' option if you don't want memory cgroups [ 0.001575] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.40 BogoMIPS (lpj=12000) [ 0.001584] pid_max: default: 32768 minimum: 301 [ 0.001694] Security Framework initialized [ 0.001710] SELinux: Initializing. [ 0.001737] SELinux: Starting in permissive mode [ 0.001787] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes) [ 0.001794] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes) [ 0.002309] Initializing cgroup subsys memory [ 0.002333] Initializing cgroup subsys freezer [ 0.002343] Initializing cgroup subsys hugetlb [ 0.002352] Initializing cgroup subsys debug [ 0.004190] /cpus/cpu@0: Missing clock-frequency property [ 0.004230] /cpus/cpu@1: Missing clock-frequency property [ 0.004269] /cpus/cpu@2: Missing clock-frequency property [ 0.004309] /cpus/cpu@3: Missing clock-frequency property [ 0.004350] /cpus/cpu@4: Missing clock-frequency property [ 0.004393] /cpus/cpu@5: Missing clock-frequency property [ 0.004437] /cpus/cpu@6: Missing clock-frequency property [ 0.004481] /cpus/cpu@7: Missing clock-frequency property [ 0.004517] hw perfevents: enabled with arm/armv8-pmuv3 PMU driver, 7 counters available [ 0.004545] EFI services will not be available. [ 0.079936] CPU1: Booted secondary processor [ 0.079944] Detected VIPT I-cache on CPU1 [ 0.099879] CPU2: Booted secondary processor [ 0.099882] Detected VIPT I-cache on CPU2 [ 0.119886] CPU3: Booted secondary processor [ 0.119889] Detected VIPT I-cache on CPU3 [ 0.139922] CPU4: Booted secondary processor [ 0.139929] Detected VIPT I-cache on CPU4 [ 0.159920] CPU5: Booted secondary processor [ 0.159924] Detected VIPT I-cache on CPU5 [ 0.179929] CPU6: Booted secondary processor [ 0.179932] Detected VIPT I-cache on CPU6 [ 0.199941] CPU7: Booted secondary processor [ 0.199944] Detected VIPT I-cache on CPU7 [ 0.200014] Brought up 8 CPUs [ 0.200049] SMP: Total of 8 processors activated. [ 0.200626] devtmpfs: initialized [ 0.204994] xor: measuring software checksum speed [ 0.299605] 8regs : 2381.600 MB/sec [ 0.399639] 8regs_prefetch: 2176.000 MB/sec [ 0.499674] 32regs : 2639.200 MB/sec [ 0.599708] 32regs_prefetch: 2321.600 MB/sec [ 0.599714] xor: using function: 32regs (2639.200 MB/sec) [ 0.599734] pinctrl core: initialized pinctrl subsystem [ 0.600078] regulator-dummy: no parameters [ 0.616492] NET: Registered protocol family 16 [ 0.618737] vdso: 2 pages (1 code @ ffffffc000b89000, 1 data @ ffffffc000b88000) [ 0.618786] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.619964] software IO TLB [mem 0x3c800000-0x3cc00000] (4MB) mapped at [ffffffc03c800000-ffffffc03cbfffff] [ 0.620758] DMA: preallocated 256 KiB pool for atomic allocations [ 0.620839] Serial: AMBA PL011 UART driver [ 0.621799] uart-pl011 f8015000.uart: ttyAMA0 at MMIO 0xf8015000 (irq = 68, base_baud = 0) is a PL011 rev2 [ 1.228765] console [ttyAMA0] enabled [ 1.233121] uart-pl011 f7111000.uart: could not find pctldev for node /smb/pinmux@f7010000/UART1_CTS_N_pmx_func, deferring probe [ 1.244704] amba f7111000.uart: Driver uart-pl011 requests probe deferral [ 1.251784] uart-pl011 f7112000.uart: could not find pctldev for node /smb/pinmux@f7010000/UART2_CTS_N_pmx_func, deferring probe [ 1.263359] amba f7112000.uart: Driver uart-pl011 requests probe deferral [ 1.478949] raid6: int64x1 481 MB/s [ 1.648927] raid6: int64x2 700 MB/s [ 1.818985] raid6: int64x4 1005 MB/s [ 1.989044] raid6: int64x8 1032 MB/s [ 2.159155] raid6: neonx1 768 MB/s [ 2.329194] raid6: neonx2 1184 MB/s [ 2.499210] raid6: neonx4 1549 MB/s [ 2.669286] raid6: neonx8 1542 MB/s [ 2.673031] raid6: using algorithm neonx4 (1549 MB/s) [ 2.678084] raid6: using intx1 recovery algorithm [ 2.683147] platform regulator@0: Driver reg-fixed-voltage requests probe deferral [ 2.690810] platform fixedregulator@1: Driver reg-fixed-voltage requests probe deferral [ 2.699006] vgaarb: loaded [ 2.701994] SCSI subsystem initialized [ 2.705905] libata version 3.00 loaded. [ 2.710012] usbcore: registered new interface driver usbfs [ 2.715551] usbcore: registered new interface driver hub [ 2.720939] usbcore: registered new device driver usb [ 2.726163] i2c_designware f7102000.i2c: could not find pctldev for node /smb/pinmux@f7010000/I2C2_SCL_pmx_func, deferring probe [ 2.737739] platform f7102000.i2c: Driver i2c_designware requests probe deferral [ 2.745218] Linux video capture interface: v2.00 [ 2.750103] Advanced Linux Sound Architecture Driver Initialized. [ 2.756645] NetLabel: Initializing [ 2.760050] NetLabel: domain hash size = 128 [ 2.764401] NetLabel: protocols = UNLABELED CIPSOv4 [ 2.769395] NetLabel: unlabeled traffic allowed by default [ 2.775188] Switched to clocksource arch_sys_counter [ 2.812280] NET: Registered protocol family 2 [ 2.817182] TCP established hash table entries: 8192 (order: 4, 65536 bytes) [ 2.824303] TCP bind hash table entries: 8192 (order: 5, 131072 bytes) [ 2.830964] TCP: Hash tables configured (established 8192 bind 8192) [ 2.837389] TCP: reno registered [ 2.840618] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 2.846562] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 2.853117] NET: Registered protocol family 1 [ 2.857811] RPC: Registered named UNIX socket transport module. [ 2.863727] RPC: Registered udp transport module. [ 2.868437] RPC: Registered tcp transport module. [ 2.873136] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 2.879591] PCI: CLS 0 bytes, default 64 [ 2.883705] Trying to unpack rootfs image as initramfs... [ 2.889267] rootfs image is not initramfs (junk in compressed archive); looks like an initrd [ 2.915068] Freeing initrd memory: 8192K (ffffffc00ae00000 - ffffffc00b600000) [ 2.922714] kvm [1]: Using HYP init bounce page @3bd7e000 [ 2.929009] kvm [1]: interrupt-controller@f6804000 IRQ25 [ 2.934897] kvm [1]: timer IRQ27 [ 2.938158] kvm [1]: Hyp mode initialized successfully [ 2.945881] futex hash table entries: 2048 (order: 5, 131072 bytes) [ 2.952252] audit: initializing netlink subsys (disabled) [ 2.957702] audit: type=2000 audit(2.759:1): initialized [ 2.963490] HugeTLB registered 2 MB page size, pre-allocated 0 pages [ 2.970292] VFS: Disk quotas dquot_6.5.2 [ 2.974259] Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 2.981453] NFS: Registering the id_resolver key type [ 2.986548] Key type id_resolver registered [ 2.990727] Key type id_legacy registered [ 2.994915] fuse init (API version 7.23) [ 2.999070] 9p: Installing v9fs 9p2000 file system support [ 3.004587] msgmni has been set to 1990 [ 3.008539] SELinux: Registering netfilter hooks [ 3.014685] io scheduler noop registered [ 3.018643] io scheduler cfq registered (default) [ 3.024052] pinctrl-single f7010000.pinmux: 159 pins at pa ffffff8000090000 size 636 [ 3.032089] pinctrl-single f7010800.pinmux: 163 pins at pa ffffff8000092800 size 652 [ 3.039970] pinctrl-single f8001800.pinmux: 30 pins at pa ffffff8000094800 size 120 [ 3.048086] pl061_gpio f8011000.gpio: PL061 GPIO chip @0x00000000f8011000 registered [ 3.056005] pl061_gpio f8012000.gpio: PL061 GPIO chip @0x00000000f8012000 registered [ 3.063889] pl061_gpio f8013000.gpio: PL061 GPIO chip @0x00000000f8013000 registered [ 3.071789] pl061_gpio f8014000.gpio: PL061 GPIO chip @0x00000000f8014000 registered [ 3.079679] pl061_gpio f7020000.gpio: PL061 GPIO chip @0x00000000f7020000 registered [ 3.087575] pl061_gpio f7021000.gpio: PL061 GPIO chip @0x00000000f7021000 registered [ 3.095470] pl061_gpio f7022000.gpio: PL061 GPIO chip @0x00000000f7022000 registered [ 3.103352] pl061_gpio f7023000.gpio: PL061 GPIO chip @0x00000000f7023000 registered [ 3.111254] pl061_gpio f7024000.gpio: PL061 GPIO chip @0x00000000f7024000 registered [ 3.119144] pl061_gpio f7025000.gpio: PL061 GPIO chip @0x00000000f7025000 registered [ 3.127044] pl061_gpio f7026000.gpio: PL061 GPIO chip @0x00000000f7026000 registered [ 3.134931] pl061_gpio f7027000.gpio: PL061 GPIO chip @0x00000000f7027000 registered [ 3.142827] pl061_gpio f7028000.gpio: PL061 GPIO chip @0x00000000f7028000 registered [ 3.150720] pl061_gpio f7029000.gpio: PL061 GPIO chip @0x00000000f7029000 registered [ 3.158616] pl061_gpio f702a000.gpio: PL061 GPIO chip @0x00000000f702a000 registered [ 3.166513] pl061_gpio f702b000.gpio: PL061 GPIO chip @0x00000000f702b000 registered [ 3.174401] pl061_gpio f702c000.gpio: PL061 GPIO chip @0x00000000f702c000 registered [ 3.182294] pl061_gpio f702d000.gpio: PL061 GPIO chip @0x00000000f702d000 registered [ 3.190190] pl061_gpio f702e000.gpio: PL061 GPIO chip @0x00000000f702e000 registered [ 3.198086] pl061_gpio f702f000.gpio: PL061 GPIO chip @0x00000000f702f000 registered [ 3.207864] k3-dma f7370000.dma: initialized [ 3.214749] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled [ 3.221937] of_dma_request_slave_channel: dma-names property of node '/smb/uart@f8015000' missing or empty [ 3.231605] uart-pl011 f8015000.uart: no DMA platform data [ 3.237385] [drm] Initialized drm 1.1.0 20060810 [ 3.246444] brd: module loaded [ 3.251546] loop: module loaded [ 3.256264] ldo2: Operation of current configuration missing [ 3.261929] ldo2: 2500 <--> 3200 mV at 2500 mV 2500 <--> 3200 mA normal [ 3.268871] ldo7: Operation of current configuration missing [ 3.274531] ldo7: 1800 <--> 3300 mV at 2850 mV 1800 <--> 3300 mA normal standby [ 3.282074] ldo10: Operation of current configuration missing [ 3.287832] ldo10: 1800 <--> 3000 mV at 2850 mV 1800 <--> 3000 mA normal standby [ 3.295448] ldo13: Operation of current configuration missing [ 3.301195] ldo13: 1600 <--> 1950 mV at 1800 mV 1600 <--> 1950 mA normal standby [ 3.308821] ldo14: Operation of current configuration missing [ 3.314567] ldo14: 2500 <--> 3200 mV at 2800 mV 2500 <--> 3200 mA normal [ 3.321579] ldo15: Operation of current configuration missing [ 3.327457] ldo15: 1600 <--> 1950 mV at 1800 mV 1600 <--> 1950 mA normal standby [ 3.335074] ldo17: Operation of current configuration missing [ 3.340829] ldo17: 2500 <--> 3200 mV at 2500 mV 2500 <--> 3200 mA normal [ 3.347841] ldo19: Operation of current configuration missing [ 3.353589] ldo19: 1800 <--> 3000 mV at 3000 mV 1800 <--> 3000 mA normal standby [ 3.361204] ldo22: Operation of current configuration missing [ 3.367080] ldo22: 900 <--> 1200 mV at 900 mV 900 <--> 1200 mA normal [ 3.374546] mtdoops: mtd device (mtddev=name/number) must be supplied [ 3.381019] tun: Universal TUN/TAP device driver, 1.6 [ 3.386074] tun: (C) 1999-2004 Max Krasnyansky [ 3.392653] PPP generic driver version 2.4.2 [ 3.397038] PPP BSD Compression module registered [ 3.401741] PPP Deflate Compression module registered [ 3.406817] PPP MPPE Compression module registered [ 3.411607] NET: Registered protocol family 24 [ 3.416119] usbcore: registered new interface driver asix [ 3.421569] usbcore: registered new interface driver ax88179_178a [ 3.427704] usbcore: registered new interface driver cdc_ether [ 3.433572] usbcore: registered new interface driver net1080 [ 3.439276] usbcore: registered new interface driver cdc_subset [ 3.445236] usbcore: registered new interface driver zaurus [ 3.450875] usbcore: registered new interface driver cdc_ncm [ 3.457183] f72c0000.usb supply vusb_d not found, using dummy regulator [ 3.463834] f72c0000.usb supply vusb_a not found, using dummy regulator [ 3.505220] dwc2 f72c0000.usb: EPs: 16, dedicated fifos, 1920 entries in SPRAM [ 4.355610] dwc2 f72c0000.usb: DWC OTG Controller [ 4.360333] dwc2 f72c0000.usb: new USB bus registered, assigned bus number 1 [ 4.367497] dwc2 f72c0000.usb: irq 109, io mem 0x00000000 [ 4.373478] hub 1-0:1.0: USB hub found [ 4.377270] hub 1-0:1.0: 1 port detected [ 4.381446] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 4.387984] ehci-pci: EHCI PCI platform driver [ 4.392490] ehci-platform: EHCI generic platform driver [ 4.397865] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 4.404059] ohci-pci: OHCI PCI platform driver [ 4.408548] ohci-platform: OHCI generic platform driver [ 4.414083] usbcore: registered new interface driver usb-storage [ 4.420470] mousedev: PS/2 mouse device common for all mice [ 4.426525] i2c /dev entries driver [ 4.430338] device-mapper: ioctl: 4.28.0-ioctl (2014-09-17) initialised: dm-devel@redhat.com [ 4.438977] cpu cpu0: get_cluster_clk_and_freq_table: clk: ffffffc03d814100 & freq table: ffffffc03db54240, cluster: 0 [ 4.450248] sdhci: Secure Digital Host Controller Interface driver [ 4.456434] sdhci: Copyright(c) Pierre Ossman [ 4.460822] Synopsys Designware Multimedia Card Interface Driver [ 4.468057] dwmmc_k3 f723d000.dwmmc0: fifo-depth property not found, using value of FIFOTH register as default [ 4.478381] dwmmc_k3 f723d000.dwmmc0: Using internal DMA controller. [ 4.484739] dwmmc_k3 f723d000.dwmmc0: Version ID is 250a [ 4.490189] dwmmc_k3 f723d000.dwmmc0: DW MMC controller at irq 104, 32 bit host data width, 8 deep fifo [ 4.499719] dwmmc_k3 f723d000.dwmmc0: No vqmmc regulator found [ 4.505696] dwmmc_k3 f723d000.dwmmc0: failed to set rate 0Hz [ 4.525205] dwmmc_k3 f723d000.dwmmc0: failed to set rate 400000Hz [ 4.545240] dwmmc_k3 f723d000.dwmmc0: 1 slots initialized [ 4.548811] dwmmc_k3 f723d000.dwmmc0: failed to set rate 400000Hz [ 4.551113] dwmmc_k3 f723d000.dwmmc0: failed to set rate 400000Hz [ 4.563476] dwmmc_k3 f723e000.dwmmc1: fifo-depth property not found, using value of FIFOTH register as default [ 4.566360] dwmmc_k3 f723d000.dwmmc0: failed to set rate 400000Hz [ 4.566930] dwmmc_k3 f723d000.dwmmc0: failed to set rate 400000Hz [ 4.566936] dwmmc_k3 f723d000.dwmmc0: failed to set rate 400000Hz [ 4.569232] dwmmc_k3 f723d000.dwmmc0: failed to set rate 400000Hz [ 4.587335] dwmmc_k3 f723d000.dwmmc0: failed to set rate 400000Hz [ 4.604145] dwmmc_k3 f723e000.dwmmc1: Using internal DMA controller. [ 4.610512] dwmmc_k3 f723e000.dwmmc1: Version ID is 250a [ 4.611442] mmc0: BKOPS_EN bit is not set [ 4.611451] dwmmc_k3 f723d000.dwmmc0: failed to set rate 25000000Hz [ 4.611459] mmc_host mmc0: Bus speed (slot 0) = 200000000Hz (slot req 25000000Hz, actual 25000000HZ div = 4) [ 4.611937] mmc0: new MMC card at address 0001 [ 4.612260] mmcblk0: mmc0:0001 MMC04G 3.65 GiB [ 4.612360] mmcblk0boot0: mmc0:0001 MMC04G partition 1 1.00 MiB [ 4.612465] mmcblk0boot1: mmc0:0001 MMC04G partition 2 1.00 MiB [ 4.644660] GPT:Primary header thinks Alt. header is not at the end of the disk. [ 4.644664] GPT:7553023 != 7667711 [ 4.644666] GPT:Alternate GPT header not at the end of the disk. [ 4.644668] GPT:7553023 != 7667711 [ 4.644670] GPT: Use GNU Parted to correct GPT errors. [ 4.644701] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 [ 4.687187] dwmmc_k3 f723e000.dwmmc1: DW MMC controller at irq 105, 32 bit host data width, 128 deep fifo [ 4.697153] dwmmc_k3 f723e000.dwmmc1: Got CD GPIO [ 4.701964] dwmmc_k3 f723e000.dwmmc1: failed to set rate 0Hz [ 4.725198] dwmmc_k3 f723e000.dwmmc1: failed to set rate 400000Hz [ 4.745372] dwmmc_k3 f723e000.dwmmc1: 1 slots initialized [ 4.751628] dwmmc_k3 f723f000.dwmmc2: fifo-depth property not found, using value of FIFOTH register as default [ 4.754850] dwmmc_k3 f723e000.dwmmc1: failed to set rate 400000Hz [ 4.757619] dwmmc_k3 f723e000.dwmmc1: failed to set rate 400000Hz [ 4.774044] dwmmc_k3 f723f000.dwmmc2: Using internal DMA controller. [ 4.780410] dwmmc_k3 f723f000.dwmmc2: Version ID is 250a [ 4.785854] dwmmc_k3 f723f000.dwmmc2: DW MMC controller at irq 106, 32 bit host data width, 128 deep fifo [ 4.795675] platform f723f000.dwmmc2: Driver dwmmc_k3 requests probe deferral [ 4.796554] dwmmc_k3 f723e000.dwmmc1: failed to set rate 400000Hz [ 4.800765] dwmmc_k3 f723e000.dwmmc1: failed to set rate 0Hz [ 4.814670] sdhci-pltfm: SDHCI platform and OF driver helper [ 4.821703] ledtrig-cpu: registered to indicate activity on CPUs [ 4.827950] usbcore: registered new interface driver usbhid [ 4.833517] usbhid: USB HID core driver [ 4.837405] u32 classifier [ 4.840107] Actions configured [ 4.843512] Netfilter messages via NETLINK v0.30. [ 4.848271] nf_conntrack version 0.5.0 (7961 buckets, 31844 max) [ 4.854523] ctnetlink v0.93: registering with nfnetlink. [ 4.860279] xt_time: kernel timezone is -0000 [ 4.864893] ip_tables: (C) 2000-2006 Netfilter Core Team [ 4.870348] arp_tables: (C) 2002 David S. Miller [ 4.875025] TCP: cubic registered [ 4.875230] usb 1-1: new full-speed USB device number 2 using dwc2 [ 4.884535] Initializing XFRM netlink socket [ 4.888912] NET: Registered protocol family 10 [ 4.894036] mip6: Mobile IPv6 [ 4.897035] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 4.902631] NET: Registered protocol family 17 [ 4.907100] NET: Registered protocol family 15 [ 4.911606] 9pnet: Installing 9P2000 support [ 4.915963] Key type dns_resolver registered [ 4.920860] registered taskstats version 1 [ 4.925686] Btrfs loaded [ 4.929286] uart-pl011 f7111000.uart: ttyAMA1 at MMIO 0xf7111000 (irq = 69, base_baud = 0) is a PL011 rev2 [ 4.939763] uart-pl011 f7112000.uart: ttyAMA2 at MMIO 0xf7112000 (irq = 70, base_baud = 0) is a PL011 rev2 [ 4.949768] fixed_5v_hub: 5000 mV [ 5.025197] wlan-en-regulator: 1800 mV [ 5.031563] dwmmc_k3 f723f000.dwmmc2: fifo-depth property not found, using value of FIFOTH register as default [ 5.041822] dwmmc_k3 f723f000.dwmmc2: Using internal DMA controller. [ 5.048189] dwmmc_k3 f723f000.dwmmc2: Version ID is 250a [ 5.053650] dwmmc_k3 f723f000.dwmmc2: DW MMC controller at irq 106, 32 bit host data width, 64 deep fifo [ 5.063272] dwmmc_k3 f723f000.dwmmc2: No vqmmc regulator found [ 5.069240] dwmmc_k3 f723f000.dwmmc2: failed to set rate 0Hz [ 5.085200] dwmmc_k3 f723f000.dwmmc2: failed to set rate 400000Hz [ 5.085381] usb 1-1: not running at top speed; connect to a high speed hub [ 5.086064] hub 1-1:1.0: USB hub found [ 5.086156] hub 1-1:1.0: 3 ports detected [ 5.125260] dwmmc_k3 f723f000.dwmmc2: 1 slots initialized [ 5.130707] drivers/rtc/hctosys.c: unable to open rtc device (rtc0) [ 5.134735] dwmmc_k3 f723f000.dwmmc2: failed to set rate 400000Hz [ 5.137517] dwmmc_k3 f723f000.dwmmc2: failed to set rate 400000Hz [ 5.144260] dwmmc_k3 f723f000.dwmmc2: card claims to support voltages below defined range [ 5.189730] dwmmc_k3 f723f000.dwmmc2: failed to set rate 25000000Hz [ 5.196033] mmc_host mmc2: Bus speed (slot 0) = 100000000Hz (slot req 25000000Hz, actual 25000000HZ div = 2) [ 5.208357] hisi_thermal f7030700.tsensor: THERMAL ALARM: T > 80 [ 5.214450] dwmmc_k3 f723f000.dwmmc2: failed to set rate 25000000Hz [ 5.222762] mmc2: queuing unknown CIS tuple 0x91 (3 bytes) [ 5.230195] mmc2: new SDIO card at address 0001 [ 5.274760] ALSA device list: [ 5.277760] No soundcards found. �[ 5.281542] RAMDISK: Couldn't find valid RAM disk image starting at 0. [ 5.288211] VFS: Cannot open root device "sda1" or unknown-block(0,0): error -6 [ 5.299080] Please append a correct "root=" boot option; here are the available partitions: [ 5.307510] b300 3833856 mmcblk0 driver: mmcblk [ 5.312872] b301 1024 mmcblk0p1 496847ab-56a1-4cd5-a1ad-47f4acf055c9 [ 5.320373] b302 1024 mmcblk0p2 61a36fc1-8efb-4899-84d8-b61642efa723 [ 5.327884] b303 1024 mmcblk0p3 65007411-962d-4781-9b2c-51dd7df22cc3 [ 5.335421] b304 8192 mmcblk0p4 496847ab-56a1-4cd5-a1ad-47f4acf055c9 [ 5.342908] b305 2048 mmcblk0p5 00354bcd-bbcb-4cb3-b5ae-cdefcb5dac43 [ 5.350403] b306 65536 mmcblk0p6 5c0f213c-17e1-4149-88c8-8b50fb4ec70e [ 5.357897] b307 262144 mmcblk0p7 bed8ebdc-298e-4a7a-b1f1-2500d98453b7 [ 5.365394] b308 262144 mmcblk0p8 a092c620-d178-4ca7-b540-c4e26bd6d2e2 [ 5.372880] b309 1572864 mmcblk0p9 fc56e345-2e8e-49ae-b2f8-5b9d263fe377 [ 5.380372] b30a 1572864 mmcblk0p10 064111f6-463b-4ce1-876b-13f3684ce164 --THE END--