Jump to content

@lex

Members
  • Posts

    530
  • Joined

  • Last visited

Posts posted by @lex

  1. 1 hour ago, Nuno Goncalves said:

    Great. But Ethernet support is already on 4.14.0?

    Yes, fully working. I have not done any benchmark or stress test. I tried to make DT from  scratch for DUO without success and now it is based  on opi pc.  BTW i have not heard there was any issue with ethernet in 32 bit.

    PS: If you mean wifi, i am giving a try now.

  2. Ok!, finally... Ready for the mainline experiments.

     

    Spoiler

    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.14.0-119590-gcb31337-dirty (alex@svn) (gcc version 7.1.1 20170707 (Linaro GCC 7.1-2017.08)) #1 SMP Thu Nov 16 12:25:11 -02 2017
    [    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] OF: fdt: Machine model: Xunlong Orange Pi PC
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] On node 0 totalpages: 65536
    [    0.000000] free_area_init_node: node 0, pgdat c0a60540, node_mem_map cfdfa000
    [    0.000000]   Normal zone: 512 pages used for memmap
    [    0.000000]   Normal zone: 0 pages reserved
    [    0.000000]   Normal zone: 65536 pages, LIFO batch:15
    [    0.000000] psci: probing for conduit method from DT.
    [    0.000000] psci: Using PSCI v0.1 Function IDs from DT
    [    0.000000] random: fast init done
    [    0.000000] percpu: Embedded 16 pages/cpu @cfda7000 s33740 r8192 d23604 u65536
    [    0.000000] pcpu-alloc: s33740 r8192 d23604 u65536 alloc=16*4096
    [    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 65024
    [    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait fsck.repair=yes panic=10
    [    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    [    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    [    0.000000] Memory: 248640K/262144K available (6144K kernel code, 388K rwdata, 1428K rodata, 1024K init, 254K bss, 13504K reserved, 0K cma-reserved, 0K highmem)
    [    0.000000] Virtual kernel memory layout:
                       vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                       fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                       vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
                       lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
                       pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                       modules : 0xbf000000 - 0xbfe00000   (  14 MB)
                         .text : 0xc0008000 - 0xc0700000   (7136 kB)
                         .init : 0xc0900000 - 0xc0a00000   (1024 kB)
                         .data : 0xc0a00000 - 0xc0a61120   ( 389 kB)
                          .bss : 0xc0a6807c - 0xc0aa798c   ( 255 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    [    0.000000] Hierarchical RCU implementation.
    [    0.000000]     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
    [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
    [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [    0.000000] GIC: Using split EOI/Deactivate mode
    [    0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000000] arch_timer: 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.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
    [    0.000018] Switching to timer-based delay loop, resolution 41ns
    [    0.000198] Console: colour dummy device 80x30
    [    0.000232] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
    [    0.000245] pid_max: default: 32768 minimum: 301
    [    0.000367] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000380] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [    0.000960] CPU: Testing write buffer coherency: ok
    [    0.001336] CPU0: update cpu_capacity 1024
    [    0.001347] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.001663] Setting up static identity map for 0x40100000 - 0x40100060
    [    0.001762] Hierarchical SRCU implementation.
    [    0.002252] smp: Bringing up secondary CPUs ...
    [    0.012873] CPU1: update cpu_capacity 1024
    [    0.012878] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.023565] CPU2: update cpu_capacity 1024
    [    0.023570] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
    [    0.034215] CPU3: update cpu_capacity 1024
    [    0.034220] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
    [    0.034287] smp: Brought up 1 node, 4 CPUs
    [    0.034312] SMP: Total of 4 processors activated (192.00 BogoMIPS).
    [    0.034318] CPU: All CPU(s) started in HYP mode.
    [    0.034322] CPU: Virtualization extensions available.
    [    0.035030] devtmpfs: initialized
    [    0.039678] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
    [    0.039897] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.039920] futex hash table entries: 1024 (order: 4, 65536 bytes)
    [    0.040196] pinctrl core: initialized pinctrl subsystem
    [    0.041014] NET: Registered protocol family 16
    [    0.041399] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.042218] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.042229] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.054483] SCSI subsystem initialized
    [    0.054718] libata version 3.00 loaded.
    [    0.054886] usbcore: registered new interface driver usbfs
    [    0.054929] usbcore: registered new interface driver hub
    [    0.054997] usbcore: registered new device driver usb
    [    0.055183] pps_core: LinuxPPS API ver. 1 registered
    [    0.055190] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.055208] PTP clock support registered
    [    0.055406] Advanced Linux Sound Architecture Driver Initialized.
    [    0.056137] clocksource: Switched to clocksource arch_sys_counter
    [    0.062580] NET: Registered protocol family 2
    [    0.063067] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.063101] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
    [    0.063138] TCP: Hash tables configured (established 2048 bind 2048)
    [    0.063258] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    0.063300] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    0.063477] NET: Registered protocol family 1
    [    0.063831] RPC: Registered named UNIX socket transport module.
    [    0.063841] RPC: Registered udp transport module.
    [    0.063847] RPC: Registered tcp transport module.
    [    0.063852] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.064120] Unpacking initramfs...
    [    0.106468] Freeing initrd memory: 960K
    [    0.108085] workingset: timestamp_bits=30 max_order=16 bucket_order=0
    [    0.113005] NFS: Registering the id_resolver key type
    [    0.113051] Key type id_resolver registered
    [    0.113059] Key type id_legacy registered
    [    0.113874] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
    [    0.113888] io scheduler noop registered
    [    0.113895] io scheduler deadline registered
    [    0.114099] io scheduler cfq registered (default)
    [    0.114107] io scheduler mq-deadline registered
    [    0.114113] io scheduler kyber registered
    [    0.114681] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
    [    0.118187] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
    [    0.119586] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
    [    0.162555] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
    [    0.164825] console [ttyS0] disabled
    [    0.184987] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 43, base_baud = 1500000) is a U6_16550A
    [    0.818795] console [ttyS0] enabled
    [    0.825085] libphy: Fixed MDIO Bus: probed
    [    0.829231] CAN device driver interface
    [    0.833578] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
    [    0.839384] dwmac-sun8i 1c30000.ethernet: No regulator found
    [    0.845077] dwmac-sun8i 1c30000.ethernet: Will use internal PHY
    [    0.851200] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
    [    0.856873] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
    [    0.864086] dwmac-sun8i 1c30000.ethernet: Normal descriptors
    [    0.869747] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
    [    0.876966] dwmac-sun8i 1c30000.ethernet: COE Type 2
    [    0.881924] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
    [    0.888812] libphy: stmmac: probed
    [    0.893706] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    0.900253] ehci-platform: EHCI generic platform driver
    [    0.905663] ehci-platform 1c1a000.usb: EHCI Host Controller
    [    0.911268] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
    [    0.919171] ehci-platform 1c1a000.usb: irq 28, io mem 0x01c1a000
    [    0.946147] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
    [    0.952915] hub 1-0:1.0: USB hub found
    [    0.956720] hub 1-0:1.0: 1 port detected
    [    0.961249] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [    0.967468] ohci-platform: OHCI generic platform driver
    [    0.972861] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
    [    0.979508] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
    [    0.987348] ohci-platform 1c1a400.usb: irq 29, io mem 0x01c1a400
    [    1.060700] hub 2-0:1.0: USB hub found
    [    1.064488] hub 2-0:1.0: 1 port detected
    [    1.072226] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0
    [    1.079047] sun6i-rtc 1f00000.rtc: RTC enabled
    [    1.083646] i2c /dev entries driver
    [    1.087947] IR NEC protocol handler initialized
    [    1.092473] IR RC5(x/sz) protocol handler initialized
    [    1.097551] IR RC6 protocol handler initialized
    [    1.102075] IR JVC protocol handler initialized
    [    1.106614] IR Sony protocol handler initialized
    [    1.111223] IR SANYO protocol handler initialized
    [    1.115919] IR Sharp protocol handler initialized
    [    1.120632] IR MCE Keyboard/mouse protocol handler initialized
    [    1.126472] IR XMP protocol handler initialized
    [    1.131503] Registered IR keymap rc-empty
    [    1.135604] rc rc0: sunxi-ir as /devices/platform/soc/1f02000.ir/rc/rc0
    [    1.142349] input: sunxi-ir as /devices/platform/soc/1f02000.ir/rc/rc0/input0
    [    1.149885] input: MCE IR Keyboard/Mouse (sunxi-ir) as /devices/virtual/input/input1
    [    1.157835] sunxi-ir 1f02000.ir: initialized sunXi IR driver
    [    1.164175] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
    [    1.173241] sunxi-mmc 1c0f000.mmc: Got CD GPIO
    [    1.246155] sunxi-mmc 1c0f000.mmc: base:0xd0883000 irq:26
    [    1.252652] usbcore: registered new interface driver usbhid
    [    1.258255] usbhid: USB HID core driver
    [    1.263235] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01f015c0 not registered
    [    1.271192] sun4i-codec 1c22c00.codec: Failed to register our card
    [    1.278016] NET: Registered protocol family 17
    [    1.282483] can: controller area network core (rev 20170425 abi 9)
    [    1.288759] NET: Registered protocol family 29
    [    1.293200] can: raw protocol (rev 20170425)
    [    1.297487] can: broadcast manager protocol (rev 20170425 t)
    [    1.303143] can: netlink gateway (rev 20170425) max_hops=1
    [    1.308850] Key type dns_resolver registered
    [    1.313254] Registering SWP/SWPB emulation handler
    [    1.328005] ehci-platform 1c1b000.usb: EHCI Host Controller
    [    1.333618] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 3
    [    1.341565] ehci-platform 1c1b000.usb: irq 30, io mem 0x01c1b000
    [    1.376155] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
    [    1.382969] hub 3-0:1.0: USB hub found
    [    1.386802] hub 3-0:1.0: 1 port detected
    [    1.391440] ehci-platform 1c1c000.usb: EHCI Host Controller
    [    1.397055] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 4
    [    1.404909] ehci-platform 1c1c000.usb: irq 32, io mem 0x01c1c000
    [    1.417712] mmc0: host does not support reading read-only switch, assuming write-enable
    [    1.429311] mmc0: new high speed SDHC card at address aaaa
    [    1.435190] mmcblk0: mmc0:aaaa SL16G 14.8 GiB 
    [    1.439858] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
    [    1.446917] hub 4-0:1.0: USB hub found
    [    1.450735]  mmcblk0: p1 p2
    [    1.453661] hub 4-0:1.0: 1 port detected
    [    1.458803] ehci-platform 1c1d000.usb: EHCI Host Controller
    [    1.464392] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 5
    [    1.472282] ehci-platform 1c1d000.usb: irq 34, io mem 0x01c1d000
    [    1.506146] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00
    [    1.512822] hub 5-0:1.0: USB hub found
    [    1.516620] hub 5-0:1.0: 1 port detected
    [    1.521136] ohci-platform 1c1b400.usb: Generic Platform OHCI controller
    [    1.527781] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 6
    [    1.535656] ohci-platform 1c1b400.usb: irq 31, io mem 0x01c1b400
    [    1.610722] hub 6-0:1.0: USB hub found
    [    1.614499] hub 6-0:1.0: 1 port detected
    [    1.619018] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
    [    1.625643] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 7
    [    1.633483] ohci-platform 1c1c400.usb: irq 33, io mem 0x01c1c400
    [    1.710668] hub 7-0:1.0: USB hub found
    [    1.714443] hub 7-0:1.0: 1 port detected
    [    1.718955] ohci-platform 1c1d400.usb: Generic Platform OHCI controller
    [    1.725587] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus number 8
    [    1.733427] ohci-platform 1c1d400.usb: irq 35, io mem 0x01c1d400
    [    1.810686] hub 8-0:1.0: USB hub found
    [    1.814460] hub 8-0:1.0: 1 port detected
    [    1.819020] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
    [    1.830092] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
    [    1.835840] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 9
    [    1.843721] usb 4-1: new high-speed USB device number 2 using ehci-platform
    [    1.851465] hub 9-0:1.0: USB hub found
    [    1.855246] hub 9-0:1.0: 1 port detected
    [    1.860570] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01f015c0 not registered
    [    1.868509] sun4i-codec 1c22c00.codec: Failed to register our card
    [    1.874985] sun6i-rtc 1f00000.rtc: setting system clock to 1970-01-01 00:00:10 UTC (10)
    [    1.883282] vcc3v0: disabling
    [    1.886267] vcc5v0: disabling
    [    1.889233] usb0-vbus: disabling
    [    1.892456] ALSA device list:
    [    1.895418]   No soundcards found.
    [    1.900466] Freeing unused kernel memory: 1024K
    [    1.916248] usb 5-1: new high-speed USB device number 2 using ehci-platform
    [    1.986345] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
    [    1.994971] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
    [    2.015529] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null)
    [    2.049189] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01f015c0 not registered
    [    2.057140] sun4i-codec 1c22c00.codec: Failed to register our card
    [    2.127449] hub 5-1:1.0: USB hub found
    [    2.131324] hub 5-1:1.0: 4 ports detected
    [    2.137354] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01f015c0 not registered
    [    2.145279] sun4i-codec 1c22c00.codec: Failed to register our card
    [    2.407053] systemd[1]: System time before build time, advancing clock.
    [    2.441930] systemd[1]: Failed to insert module 'autofs4': No such file or directory
    [    2.480279] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
    [    2.498856] systemd[1]: Detected architecture arm.
    [    2.537302] systemd[1]: Set hostname to <nanopi-duo>.
    [    2.823907] systemd[1]: Listening on fsck to fsckd communication Socket.
    [    2.856489] systemd[1]: Listening on Journal Socket (/dev/log).
    [    2.886263] systemd[1]: Reached target Swap.
    [    2.916352] systemd[1]: Listening on udev Kernel Socket.
    [    2.946236] systemd[1]: Reached target Encrypted Volumes.
    [    2.976486] systemd[1]: Created slice System Slice.
    [    3.006457] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [    3.376485] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [    4.147896] systemd-journald[99]: Received request to flush runtime journal from PID 1
    [    5.463568] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
    [    5.708824] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01f015c0 not registered
    [    5.716836] sun4i-codec 1c22c00.codec: Failed to register our card
    [    5.719010] Generic PHY stmmac-0:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=stmmac-0:01, irq=POLL)
    [    5.720928] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available
    [    5.720941] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW
    [    8.876722] dwmac-sun8i 1c30000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx

     

  3. 1 hour ago, Robert LabTeam said:

    Hi @lex,
    To reach 60 FPS, or more, just changa VTS/HTS value. I created some tool (I launch it in DevC++) that shows what is the end FPS and some other parameters. Just play with the registers:
     

    
    #define MCLK (20*1000*1000)  --> usually 24 MHz is used
    #define MCLK_DIV 1
    
    #define REG_3034  0x18
    #define REG_3037  0x4
    #define REG_3036 (4*20)
    #define REG_3035 0x11
    #define REG_3108 0x01

    And VTS /HTS values here:
     

    
      hts_high = 0x07;    // 0x380c
      hts_low =0xf4;        // 0x380d
    
      vts_high = 0x07;    //0x380e,
      vts_low = 0xac;     //0x380f

    I have also noticed that almost all drivers are not appropriate for OV5640 (it seems they wrtitten based on OV5642 software application note - for example max lines is different for both sensors: 1964/1968). I found this doc for OV5640 and fixed some things. You can also find there 90 FPS for VGA configuration:

    https://wenku.baidu.com/view/6b48a191f90f76c661371afa.html

    main.cpp

     

    Hi @Robert LabTeam, thank you, good work.  Let's see how far we can go.

    @lvmc, there is some work with CSI on mainline kernel for a different board but maybe this could help: https://groups.google.com/forum/#!topic/linux-sunxi/GQC-cXOB1U4[26-50]

     

  4. 19 hours ago, lvmc said:

    I don't have the board yet, it's on the way. Nora Lee has kindly sent one, so i will try to help here with some hints.

    Below are the hints to fix the errors (or warnings):

     

    
    [    0.000000] cma: dma_declare_contiguous(266): ION reserve size should be 4m align! adjust size to 128MBytes

    Try to increase ion_memsize: Change #define DEFAULT_SUNXI_ION_RESERVE_SIZE    96 to 128

    
    [    0.786562] mousedev: PS/2 mouse device common for all mice
    [    0.786807] sunxikbd_init failed.
    [    0.787376] ls_fetch_sysconfig_para: type err  device_used = -1073057264.
    [    0.787388] =========script_get_err============
    [    0.787397] ltr_init: ls_fetch_sysconfig_para err.

    Change Kernel config to:

    CONFIG_KEYBOARD_SUNXI=m

    CONFIG_INPUT_LTR501ALS=m

    
    [    0.789001] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x18)
    [    0.789171] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x19)
    [    0.789338] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x1a)
    [    0.789503] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x29)
    [    0.789669] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x2a)
    [    0.789835] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x2b)
    [    0.790001] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x4c)
    [    0.790201] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x4d)
    [    0.790371] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x4e)
    [    0.790574] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x18)
    [    0.790771] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x19)
    [    0.790968] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x1a)
    [    0.791164] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x29)
    [    0.791360] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x2a)
    [    0.791555] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x2b)
    [    0.791751] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x4c)
    [    0.791948] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x4d)
    [    0.792144] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x4e)

    If i recall correctly, FE has this fixed on their kernel but there was some complain about breaking I2C compatibility with some device/protocol, or something like that, so i am not sure how to fix this.

    Or just comment the line but you won't please the hw guys, so leave it as is.

    
    [    0.799377] no green_led, ignore it!
    [    0.799386] no blue_led, ignore it!
    [    0.799651] Registered led device: red_led
    [    0.799668] no led_0, ignore it!
    [    0.799676] no led_1, ignore it!
    [    0.799683] no led_2, ignore it!
    [    0.799690] no led_3, ignore it!
    [    0.799697] no led_4, ignore it!
    [    0.799704] no led_5, ignore it!
    [    0.799711] no led_6, ignore it!
    [    0.799718] no led_7, ignore it!

    Change kernel config to:

    CONFIG_SUNXI_LEDS=m
    CONFIG_SUNXI_LEDS_COM=m
     

    and load at boot time the sunxi-leds module or just chose one of the two and mark one as built in. (=y)

    If you choose sunxi-leds-com, make sure you setup led_x in script.bin correctly.

     

    
    [    0.800622] usbcore: registered new interface driver usbhid
    [    0.800634] usbhid: USB HID core driver
    [    0.801827] [DAUDIO]sunxi-daudio cannot find any using configuration for controllers, return directly!
    [    0.802002] [I2S]snddaudio cannot find any using configuration for controllers, return directly!
    [    0.802016] [DAUDIO0] driver not init,just return.

    This is just a message telling you DAUDIO and I2S are not in use, it's harmless.

    
    [    0.811799] [HDMI] power vcc-hdmi-18
    [    0.842954] ths_fetch_sysconfig_para: type err  device_used = 1.
    [    0.844386] CPU Budget:corekeeper enabled
    [    0.844639] CPU Budget:Register notifier
    [    0.844654] CPU Budget:register Success


    Try this in your FEX:

    [ths_para]
    ths_trend = 0
     


     

     

    BTW, banana pi zero and nano pi air makes a perfect board for using OV5640 sensor, so i would like to ask @Robert LabTeam if you are going to share your work on the OV5640 to be able to reach 60 fps or 90 fps, will you?

     

     

  5. I am not sure if i understand you correctly, do you mean we can't disable Btrfs due to dependencies (or have Btrfs as a  module if possible) in kernel 4.13.12 and above?

    Unless there have been significant  changes from 4.11 to 4.13 but i can see kernel 4.11 there is no raid6 algorithm , so no ~3 secs delay.

     

    Sorry if i did not understand, i am doing some research on 4.13 and 4.14 for the H2+....

     

    See cnxsoft kernel log:

    https://www.cnx-software.com/2017/10/30/nanopi-duo-quick-start-guide-ubuntu-breadboard-mini-shield-msata-ssd/

     

     

  6. 54 minutes ago, tkaiser said:

    u-boot: defaults or per board CONFIG_SYS_CLK_FREQ setting (here you could get 480 vs 1008 MHz depending on default or not)

    Good hint, both build with Kernel is 4.13.12 with same defconfig, but u-boot is different, FE u-boot vs Mainline u-boot, that explains a lot. Thanks.

  7. 20 minutes ago, tkaiser said:

    What are the differences between the builds and which board are you talking about?

    duo, same defconfig, but seems the numbers are higher (faster?) when Jmicron is not detected (maybe wrong DTS), maybe more power available to the board soc, thus faster numbers?

     

    [    0.060968] xor: measuring software checksum speed
    [    0.158147]    arm4regs  :   598.000 MB/sec
    [    0.258271]    8regs     :   356.400 MB/sec
    [    0.358397]    32regs    :   364.800 MB/sec
    [    0.458522]    neon      :   605.600 MB/sec
     

    [    0.046909] xor: measuring software checksum speed
    [    0.144802]    arm4regs  :  1260.000 MB/sec
    [    0.244866]    8regs     :   750.800 MB/sec
    [    0.344929]    32regs    :   874.800 MB/sec
    [    0.444993]    neon      :   735.200 MB/sec
     

  8. Out of curiosity, i have two different builds for the same board, burned it to the same sdcard and ran on the same board and the raid6 numbers are twice as fast for one case.

    Can anyone give some explanation what this numbers mean (if that means something running a SBC with sdcard)? I am curious to know what settings (or wrong settings) would give such a boost on this?

     

    Build one:

    Spoiler

    [    0.625230] raid6: int32x1  gen()   189 MB/s
    [    0.795324] raid6: int32x1  xor()   169 MB/s
    [    0.965393] raid6: int32x2  gen()   204 MB/s
    [    1.135559] raid6: int32x2  xor()   166 MB/s
    [    1.305616] raid6: int32x4  gen()   186 MB/s
    [    1.475707] raid6: int32x4  xor()   138 MB/s
    [    1.645902] raid6: int32x8  gen()   150 MB/s
    [    1.815993] raid6: int32x8  xor()   111 MB/s
    [    1.985984] raid6: neonx1   gen()   492 MB/s
    [    2.156147] raid6: neonx1   xor()   375 MB/s
    [    2.326253] raid6: neonx2   gen()   660 MB/s
    [    2.496311] raid6: neonx2   xor()   481 MB/s
    [    2.666444] raid6: neonx4   gen()   714 MB/s
    [    2.836481] raid6: neonx4   xor()   508 MB/s
    [    3.006635] raid6: neonx8   gen()   485 MB/s
    [    3.176747] raid6: neonx8   xor()   378 MB/s
    [    3.176752] raid6: using algorithm neonx4 gen() 714 MB/s
    [    3.176755] raid6: .... xor() 508 MB/s, rmw enabled
    [    3.176758] raid6: using intx1 recovery algorithm
    [    3.178152] SCSI subsystem initialized

     

    Build two:

    Spoiler

    [    0.669363] raid6: int32x1  gen()    90 MB/s
    [    0.839099] raid6: int32x1  xor()    76 MB/s
    [    1.009438] raid6: int32x2  gen()   121 MB/s
    [    1.179528] raid6: int32x2  xor()    92 MB/s
    [    1.349628] raid6: int32x4  gen()   123 MB/s
    [    1.520081] raid6: int32x4  xor()    91 MB/s
    [    1.690468] raid6: int32x8  gen()   117 MB/s
    [    1.860516] raid6: int32x8  xor()    82 MB/s
    [    2.030483] raid6: neonx1   gen()   235 MB/s
    [    2.200598] raid6: neonx1   xor()   174 MB/s
    [    2.370813] raid6: neonx2   gen()   316 MB/s
    [    2.540996] raid6: neonx2   xor()   227 MB/s
    [    2.711182] raid6: neonx4   gen()   378 MB/s
    [    2.881357] raid6: neonx4   xor()   253 MB/s
    [    3.051596] raid6: neonx8   gen()   335 MB/s
    [    3.221758] raid6: neonx8   xor()   231 MB/s
    [    3.221766] raid6: using algorithm neonx4 gen() 378 MB/s
    [    3.221772] raid6: .... xor() 253 MB/s, rmw enabled
    [    3.221779] raid6: using intx1 recovery algorithm
    [    3.224888] SCSI subsystem initialized

     

  9. @lvmc,

    You probably know there is no CSI/VFE subsystem in kernel 4.xx , to have full control over DVP interface for OV5640 you should rely on legacy kernel or develop your own subsystem which is... well... overkill.

    As a start, you could look into ./config/boards and change from a current H2 board config file and modify/add  information, since all H2 seems to be very similar with little changes. You just need to find  the correct gpio/port  pins for the ./config/fex (if legacy).

    Nora Lee from Foxconn has always provided information when asked,  seems to be part of the business, need more information... just ask me. (you get the picture! :)

     

    Hope this helps.

     

     

     

  10. 46 minutes ago, tkaiser said:

    And BTW: I still think your assumption from above is wrong:

    I am pretty sure, take a look:

    Spoiler

     

    HELLO! BOOT0 is starting!
    boot0 commit : d9a1c028aa599cd244d2b627df5bb0aa77ad3a7e
     
    boot0 version : 4.0
    set pll start
    set pll end
    rtc[0] value = 0x00000000
    rtc[1] value = 0x00000000
    rtc[2] value = 0x00000000
    rtc[3] value = 0x00000000
    rtc[4] value = 0x00000000
    rtc[5] value = 0x00000000
    DRAM BOOT DRIVE INFO: V0.6
    the chip id is 0x00000001
    the chip id is 0x00000001
    the chip id is 0x00000001
    the chip id is 0x00000001
    the chip id is 0x00000001
    axp not exist
    DRAM CLK =672 MHZ
    DRAM Type =3 (2:DDR2,3:DDR3,6:LPDDR2,7:LPDDR3)
    DRAM zq value: 0x003b3bf9
    DRAM SIZE =512 M
    DRAM simple test OK.
    dram size =512
    card no is 0
    sdcard 0 line count 4
    [mmc]: mmc driver ver 2016-03-15 20:40
    [mmc]: sdc0 spd mode error, 2
    [mmc]: Wrong media type 0x00000000
    [mmc]: ***[2]Try SD card 0***
    [mmc]: HSSDR52/SDR25 4 bit
    [mmc]: 50000000 Hz
    [mmc]: 3827 MB
    [mmc]: ***SD/MMC 0 init OK!!!***
    sum=73fbc13d
    src_sum=73fbc13d
    read boot-pkg from emmc 32800 sector
    Succeed in loading uboot from sdmmc flash.
    Entry_name        = u-boot
    Entry_name        = monitor
    Entry_name        = scp
    set arisc reset to de-assert state
    Ready to disable icache.
    Jump to secend Boot.
    ŠINFO:    Configuring SPC Controller
    NOTICE:  BL3-1: v1.0(debug):3ffd944
    NOTICE:  BL3-1: Built : 11:09:10, Aug 30 2016
    NOTICE:  BL3-1 commit: 3ffd9442d4769d7fc0002770e3b69b55150a288e

    INFO:    BL3-1: Initializing runtime services
    ERROR:   Error initializing runtime service tspd_fast
    INFO:    BL3-1: Preparing for EL3 exit to normal world
    INFO:    BL3-1: Next image address = 0x4a000000
    INFO:    BL3-1: Next image spsr = 0x1d3


    U-Boot 2014.07-gd9a1c02-dirty (Oct 28 2017 - 09:00:46) Allwinner Technology 

    uboot commit : d9a1c028aa599cd244d2b627df5bb0aa77ad3a7e
     
    secure enable bit: 0
    i2c: secure monitor exist
    [      0.714]pmbus:   ready
    u0:48105000
    [      0.718][ARISC] :arisc initialize
    [      0.749][ARISC] :arisc para ok
    [SCP] :sunxi-arisc driver begin startup 2
    [SCP] :arisc version: [sun8iw5_v0.03.00-244-gb750b8e]
    [SCP] :sunxi-arisc driver v1.20 is starting
    [      0.765][ARISC] :sunxi-arisc driver startup succeeded
    axp: get node[charger0] error
    [SCP ERROR] :message process error
    [SCP ERROR] :message addr   : 48105080
    [SCP ERROR] :message state  : 5
    [SCP ERROR] :message attr   : 2
    [SCP ERROR] :message type   : 80
    [SCP ERROR] :message result : f3
    [SCP WARING] :callback not install
    [SCP ERROR] :arisc twi read pmu reg 0x3 err
    probe axp806 failed
    axp_probe error
    [      0.799]PMU: cpux 1008 Mhz,AXI=336 Mhz
    PLL6=600 Mhz,AHB1=200 Mhz, APB1=100Mhz MBus=400Mhz
    run key detect
    no key found
    no uart input
    DRAM:  512 MiB
    fdt addr: 0x56ea1f80
    Relocation Offset is: 15ef5000
    axp: get node[charger0] error
    In:    serial
    Out:   serial
    Err:   serial
    gic: sec monitor mode
    [box standby] read rtc = 0x0
    [box standby] start_type = 0x1
    [box standby] to kernel
    boot_init_gpio used
    ir boot recovery not used
    workmode = 0,storage type = 1
    [      1.025]MMC:     0
    [mmc]: mmc driver ver 2016-05-20 17:18:00-test0
    [mmc]: get card2_boot_para:sdc_ex_dly_used 0
    [mmc]: no mmc-hs400-1_8v!
    [mmc]: no mmc-hs200-1_8v!
    [mmc]: no mmc-ddr-1_8v!
    [mmc]: delete max-frequency from dtb
    SUNXI SD/MMC: 0
    [mmc]: 50 MHz...
    [mmc]: sample: 63 - 158(ps)
    [mmc]: 100 MHz...
    [mmc]: sample: 32 - 156(ps)
    [mmc]: 200 MHz...
    [mmc]: sample: 16 - 156(ps)
    [mmc]: media type 0x0
    [mmc]: Wrong media type 0x0
    [mmc]: ************Try SD card 0************
    [mmc]: host caps: 0x27
    [mmc]: MID 73 PSN 177a374b
    [mmc]: PNM NCard -- 0x4e-43-61-72-64
    [mmc]: PRV 1.0
    [mmc]: MDT m-7 y-2011
    [mmc]: speed mode     : HSSDR52/SDR25 
    [mmc]: clock          : 50000000 Hz
    [mmc]: bus_width      : 4 bit
    [mmc]: user capacity  : 3827 MB
    [mmc]: ************SD/MMC 0 init OK!!!************
    [mmc]: erase_grp_size      : 0x1WrBlk*0x200=0x200 Byte
    [mmc]: secure_feature      : 0x0
    [mmc]: secure_removal_type : 0x0
    [      1.227]sunxi flash init ok
    [      1.243]start
    drv_disp_init
    tv_init:
    tv_init:
    fetch tv1 err.
    drv_disp_init finish
    hdcp is closed by sys config.
    no the part:Reserve0
    hpd_dev_num=2, id of def_output_dev is 0
    hdmi hpd out, force open?
    fdt_setprop_u32 disp.init_disp(0x20b0404) code:<no error>
    fb_id=0, size=3686400, gd->ram_size=536870912, SUNXI_DISPLAY_FRAME_BUFFER_SIZE=16777216
    [      1.803]end
    PowerBus = 0( 2:vBus 3:acBus other: not exist)
    no battery, limit to dc
    no battery exist
    sunxi_bmp_logo_display
    [boot disp] can not find the partition Reserve0
    bmp_name=bootlogo.bmp
    [mmc]: MMC Device 2 not found
    ** Bad device mmc 2 **
    sunxi_bmp_display: sunxi bmp info error : unable to open logo file bootlogo.bmp
    fail to find part named env
    Using default environment

    --------fastboot partitions--------
    mbr not exist
    base bootcmd=run mmcbootcmd
    bootcmd set setargs_mmc
    no misc partition is found
    to be run cmd=run mmcbootcmd
    cann't get the boot_base from the env
    read item0 copy0
    Item0 (Map) magic is bad
    the secure storage item0 copy0 is bad
    read item0 copy1
    Item0 (Map) magic is bad
    the secure storage item0 copy0 == copy1, the data is good
    the secure storage map is empty
    check user data form private
    the private part isn't exist
    update dtb dram start
    update dtb dram  end
    serial is: 34005035c200243b0a4c
    [      1.978]inter uboot shell
    Hit any key to stop autoboot:  1 0 
    Loading NANOPI uEnv.txt from 40000000 (0:1) ...
    139 bytes read in 5 ms (26.4 KiB/s)
    Loading boot environment ...
    ** File not found boot.scr **
    Booting with defaults ...
    Loading NANOPI nanopi/neo2-h5.dtb from 44000000 ...
    73112 bytes read in 20 ms (3.5 MiB/s)
    Loading NANOPI nanopi/uImage from 4007ffc0 ...
    12135328 bytes read in 651 ms (17.8 MiB/s)
    1105191 bytes read in 62 ms (17 MiB/s)
    Loading NANOPI initrd.img from 44300000 ...
    bootm kernel:4007ffc0 initrd:44300000 ...
    bootm initd_size:10dd27 fdt_addr:44000000 ...
    ## Booting kernel from Legacy Image at 4007ffc0 ...
       Image Name:   nanopi-neo2
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    12135264 Bytes = 11.6 MiB
       Load Address: 40080000
       Entry Point:  40080000
       Verifying Checksum ... OK
       XIP Kernel Image ... OK
       reserving fdt memory region: addr=40020000 size=800
       reserving fdt memory region: addr=48000000 size=1000000
       reserving fdt memory region: addr=48100000 size=4000
       reserving fdt memory region: addr=48104000 size=1000
       reserving fdt memory region: addr=48105000 size=1000
       Loading Ramdisk to 56d84000, end 56e91d27 ... OK
       Using Device Tree in place at 44000000, end 44015f1f

    Starting kernel ...

    INFO:    BL3-1: Next image address = 0x40080000
    INFO:    BL3-1: Next image spsr = 0x3c5
    [    0.000000] Initializing cgroup subsys cpuset
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 3.10.65-h5-4 (alex@svn) (gcc version 7.1.1 20170707 (Linaro GCC 7.1-2017.08) ) #3 SMP PREEMPT Sat Oct 28 21:50:18 BRST 2017
    [    0.000000] CPU: AArch64 Processor [410fd034] revision 4
    [    0.000000] Machine: sun50iw2
    [    0.000000] cma: CMA: reserved 16 MiB at 5f000000
    [    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] PERCPU: Embedded 12 pages/cpu @ffffffc01ef98000 s20224 r8192 d20736 u49152
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129280
    [    0.000000] Kernel command line: console=tty0 console=ttyS0,115200n8 no_console_suspend earlycon=uart,mmio32,0x01c28000 mac_addr=36:c9:e3:f1:b8:26 root=/dev/mmcblk0p2 ro rootwait
    [    0.000000] PID hash table entries: 2048 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes)
    [    0.000000] Memory: 512MB = 512MB total
    [    0.000000] Memory: 461756k/461756k available, 62532k reserved
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vmalloc : 0xffffff8000000000 - 0xffffffbbffff0000   (245759 MB)
    [    0.000000]     vmemmap : 0xffffffbc00e00000 - 0xffffffbc01500000   (     7 MB)
    [    0.000000]     modules : 0xffffffbffc000000 - 0xffffffc000000000   (    64 MB)
    [    0.000000]     memory  : 0xffffffc000000000 - 0xffffffc020000000   (   512 MB)
    [    0.000000]       .init : 0xffffffc000ac2000 - 0xffffffc000b4bf00   (   552 kB)
    [    0.000000]       .text : 0xffffffc000080000 - 0xffffffc000ac1824   ( 10503 kB)
    [    0.000000]       .data : 0xffffffc000b4c000 - 0xffffffc000c12b60   (   795 kB)
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000] NR_IRQS:64 nr_irqs:64 0
    [    0.000000] Architected cp15 timer(s) running at 24.00MHz (virt).
    [    0.000000] Console: colour dummy device 80x25
    [    0.000000] console [tty0] enabled
    [    4.309683] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
    [    4.309714] pid_max: default: 32768 minimum: 301
    [    4.310236] Security Framework initialized
    [    4.310260] SELinux:  Initializing.
    [    4.310661] Mount-cache hash table entries: 256
    [    4.312831] Initializing cgroup subsys debug
    [    4.312855] Initializing cgroup subsys freezer
    [    4.313086] ftrace: allocating 28525 entries in 112 pages
    [    4.350910] CPU0: update cpu_power 1024
    [    4.350946] hw perfevents: enabled with arm/armv8-pmuv3 PMU driver, 7 counters available
    [    4.352786] virtual base = 0xffffff800000a000. 
    [    4.352813] gicd_base = 0xffffff800000c000. 
    [    4.352827] gicc_base = 0xffffff800000e000. 
    [    4.354922] CPU1: Booted secondary processor
    [    4.354947] CPU1: update cpu_power 1024
    [    4.356861] CPU2: Booted secondary processor
    [    4.356873] CPU2: update cpu_power 1024
    [    4.358761] CPU3: Booted secondary processor
    [    4.358773] CPU3: update cpu_power 1024
    [    4.358850] Brought up 4 CPUs
    [    4.358931] SMP: Total of 4 processors activated (192.00 BogoMIPS).
    [    4.360297] devtmpfs: initialized
    [    4.393649] atomic64 test passed
    [    4.393679] pinctrl core: initialized pinctrl subsystem
    [    4.396683] NET: Registered protocol family 16
    [    4.399573] dump_class_init,839, success
    [    4.400854] vdso: 2 pages (1 code, 1 data) at base ffffffc000b59000
    [    4.400896] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
    [    4.402647] software IO TLB [mem 0x5d000000-0x5d400000] (4MB) mapped at [ffffffc01d000000-ffffffc01d3fffff]
    [    4.403888] DMA: preallocated 256 KiB pool for atomic allocations
    [    4.404593] pll_audio-set_default_rate=24576000 success!
    [    4.404635] pll_video-set_default_rate=297000000 success!
    [    4.404688] pll_ve-set_default_rate=420000000 success!
    [    4.404808] pll_de-set_default_rate=864000000 success!
    [    4.405113] ahb1-set_default_rate=200000000 success!
    [    4.406002] de-set_default_source=pll_de success!
    [    4.406018] de-set_default_rate=432000000 success!
    [    4.406087] tcon0-set_default_source=pll_video success!
    [    4.406184] tve-set_default_source=pll_de success!
    [    4.406491] hdmi-set_default_source=pll_video success!
    [    4.410543] sun50iw2p1-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
    [    4.413860] sun50iw2p1-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
    [    4.415994] sunxi hwspinlock vbase:0xffffff800005c000
    [    4.499931] bio: create slab <bio-0> at 0
    [    4.501071] pwm module init!
    [    4.509007] SCSI subsystem initialized
    [    4.510109] usbcore: registered new interface driver usbfs
    [    4.510349] usbcore: registered new interface driver hub
    [    4.510652] usbcore: registered new device driver usb
    [    4.513013] Linux video capture interface: v2.00
    [    4.519973] [ARISC] :sunxi-arisc driver v1.20
    [    4.520892] [ARISC] :sunxi-arisc driver v1.20 startup succeeded
    [    4.521600] Advanced Linux Sound Architecture Driver Initialized.
    [    4.524453] Bluetooth: Core ver 2.16
    [    4.524706] NET: Registered protocol family 31
    [    4.524722] Bluetooth: HCI device and connection manager initialized
    [    4.524768] Bluetooth: HCI socket layer initialized
    [    4.524808] Bluetooth: L2CAP socket layer initialized
    [    4.524881] Bluetooth: SCO socket layer initialized
    [    4.525837] cfg80211: Calling CRDA to update world regulatory domain
    [    4.526655] [pm]aw_pm_init!
    [    4.526781] np name = /soc@01c00000/rtc@01f00000. 
    [    4.526798] base = ffffff800006c100, len = 4.
    [    4.526812] pmu name: pmic0 .
    [    4.526906] Warning: can not find np for pmic0. 
    [    4.526920] pmu name: pmic1 .
    [    4.526950] Warning: can not find np for pmic1. 
    [    4.527039] add_sys_pwr_dm: get ldo name  for id: vcc-lpddr failed
    [    4.527058] add_sys_pwr_dm: get ldo name  for id: vcc-pl failed
    [    4.527075] add_sys_pwr_dm: axpdummy_ldo6 ldo already alwayson.
    [    4.527107] add_sys_pwr_dm: vcc-pc not sys id.
    [    4.527120] after inited: sys_mask config = 0x4855. 
    [    4.527154] Warning: can not find np for dynamic_standby_para. 
    [    4.527299] [pm]valid
    [    4.527309] [pm]valid
    [    4.527319] Notice: sun9i & sun8iw5 & sun50i not need support normal standby,                 change to super standby.
    [    4.527360] [DISP]disp_module_init
    [    4.528281] [DISP] disp_boot_para_parse,line:347:of_property_read disp.init_disp fail
    [    4.528307] [DISP] init_disp:0x0
    [    4.528323] [DISP] boot_disp:0x0
    [    4.528884] [DISP] fb_base:0x0
    [    4.530958] [DISP]disp_module_init finish
    [    4.532074] sunxi budget cooling probe start !
    [    4.532111] CPU freq cooling register Success
    [    4.532136] CPU hotplug cooling register Success
    [    4.532511] CPU budget cooling register Success
    [    4.534272] input: sunxi-ths as /devices/virtual/input/input0
    [    4.534322] thermal thermal_zone0: failed to read out thermal zone 0
    [    4.534854] Switching to clocksource arch_sys_counter
    [    4.581246] FS-Cache: Loaded
    [    4.581852] CacheFiles: Loaded
    [    4.608087] sunxi udc is no enable
    [    4.610070] NET: Registered protocol family 2
    [    4.611701] TCP established hash table entries: 4096 (order: 4, 65536 bytes)
    [    4.611809] TCP bind hash table entries: 4096 (order: 4, 65536 bytes)
    [    4.611890] TCP: Hash tables configured (established 4096 bind 4096)
    [    4.612603] TCP: reno registered
    [    4.612621] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [    4.612650] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [    4.613444] NET: Registered protocol family 1
    [    4.614607] RPC: Registered named UNIX socket transport module.
    [    4.614628] RPC: Registered udp transport module.
    [    4.614642] RPC: Registered tcp transport module.
    [    4.614655] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    4.615732] Unpacking initramfs...
    [    4.661979] Freeing initrd memory: 1076K (ffffffc016d84000 - ffffffc016e91000)
    [    4.663225] lock super standby defaultly!
    [    4.663256] lookup_scene_lock_name: new scene lock super_standby
    [    4.663272] scene_lock_init name=super_standby
    [    4.663288] scene_lock: super_standby, type 5, count 1
    [    4.664624] audit: initializing netlink socket (disabled)
    [    4.664752] type=2000 audit(0.340:1): initialized
    [    4.670077] FS-Cache: Netfs 'nfs' registered for caching
    [    4.671490] FS-Cache: Netfs 'cifs' registered for caching
    [    4.672490] NTFS driver 2.1.30 [Flags: R/W].
    [    4.673541] fuse init (API version 7.22)
    [    4.674653] msgmni has been set to 935
    [    4.677552] io scheduler noop registered
    [    4.677572] io scheduler deadline registered
    [    4.677710] io scheduler cfq registered (default)
    [    4.679231] sunxi_bootup_extend_probe: bootup extend state 1
    [    4.679250] bootup extend probe ok
    [    4.679876] gpio_pin_1(362) gpio_is_valid
    [    4.680213] gpio_pin_2(10) gpio_is_valid
    [    4.680572] gpio name is PL10, ret = 0
    [    4.681093] gpio name is PA10, ret = 0
    [    4.681582] gpio_init finish with uesd
    [    4.683792] uart0: ttyS0 at MMIO 0x1c28000 (irq = 32) is a SUNXI
    [    4.683832] sw_console_setup()1268 - console setup baud 115200 parity n bits 8, flow n
    [    5.583208] console [ttyS0] enabled
    [    5.588036] uart1: ttyS1 at MMIO 0x1c28400 (irq = 33) is a SUNXI
    [    5.595231] uart2: ttyS2 at MMIO 0x1c28800 (irq = 34) is a SUNXI
    [    5.603811] misc dump reg init
    [    5.615468] loop: module loaded
    [    5.618996] Get boot type cmd line fail
    [    5.626207] spi spi0: master is unqueued, this is deprecated
    [    5.635231] tun: Universal TUN/TAP device driver, 1.6
    [    5.640798] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
    [    5.650070] PPP generic driver version 2.4.2
    [    5.655293] PPP BSD Compression module registered
    [    5.660457] PPP Deflate Compression module registered
    [    5.665997] PPP MPPE Compression module registered
    [    5.671242] NET: Registered protocol family 24
    [    5.676152] PPTP driver version 0.8.5
    [    5.680447] hso: drivers/net/usb/hso.c: Option Wireless
    [    5.686841] usbcore: registered new interface driver hso
    [    5.692877] usbcore: registered new interface driver asix
    [    5.699018] usbcore: registered new interface driver ax88179_178a
    [    5.705917] usbcore: registered new interface driver cdc_ether
    [    5.712503] usbcore: registered new interface driver net1080
    [    5.718991] usbcore: registered new interface driver cdc_subset
    [    5.725687] usbcore: registered new interface driver zaurus
    [    5.732041] usbcore: registered new interface driver cdc_ncm
    [    5.738242] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [    5.745668] get ehci0-controller, regulator_io is no nocare
    [    5.751762] sunxi ehci0-controller is no enable
    [    5.756739] sunxi-ehci 1c1a000.ehci0-controller: init_sunxi_hci is fail
    [    5.763985] sunxi-ehci: probe of 1c1a000.ehci0-controller failed with error -1
    [    5.771965] get drv_vbus is fail, 84
    [    5.775886] get ehci1-controller, regulator_io is no nocare
    [    5.782047] [sunxi-ehci1]: probe, pdev->name: 1c1b000.ehci1-controller, sunxi_ehci: 0xffffffc000d08590, 0x:ffffff80003a2000, irq_no:6a
    [    5.795349] sunxi-ehci 1c1b000.ehci1-controller: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
    [    5.805284] sunxi-ehci 1c1b000.ehci1-controller: new USB bus registered, assigned bus number 1
    [    5.815283] sunxi-ehci 1c1b000.ehci1-controller: irq 106, io mem 0xffffffc000471ca0
    [    5.833810] sunxi-ehci 1c1b000.ehci1-controller: USB 0.0 started, EHCI 1.00
    [    5.841580] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [    5.849022] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    5.856939] usb usb1: Product: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
    [    5.865137] usb usb1: Manufacturer: Linux 3.10.65-h5-4 ehci_hcd
    [    5.871614] usb usb1: SerialNumber: sunxi-ehci
    [    5.877512] hub 1-0:1.0: USB hub found
    [    5.881642] hub 1-0:1.0: 1 port detected
    [    5.886351] get drv_vbus is fail, 84
    [    5.890262] get ehci2-controller, regulator_io is no nocare
    [    5.896422] [sunxi-ehci2]: probe, pdev->name: 1c1c000.ehci2-controller, sunxi_ehci: 0xffffffc000d08810, 0x:ffffff8000430000, irq_no:6c
    [    5.909722] sunxi-ehci 1c1c000.ehci2-controller: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
    [    5.919651] sunxi-ehci 1c1c000.ehci2-controller: new USB bus registered, assigned bus number 2
    [    5.929494] sunxi-ehci 1c1c000.ehci2-controller: irq 108, io mem 0xffffffc000471ca0
    [    5.951883] sunxi-ehci 1c1c000.ehci2-controller: USB 0.0 started, EHCI 1.00
    [    5.959618] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    [    5.967060] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    5.974974] usb usb2: Product: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
    [    5.983206] usb usb2: Manufacturer: Linux 3.10.65-h5-4 ehci_hcd
    [    5.989684] usb usb2: SerialNumber: sunxi-ehci
    [    5.995479] hub 2-0:1.0: USB hub found
    [    5.999616] hub 2-0:1.0: 1 port detected
    [    6.004318] get drv_vbus is fail, 84
    [    6.008228] get ehci3-controller, regulator_io is no nocare
    [    6.014386] [sunxi-ehci3]: probe, pdev->name: 1c1d000.ehci3-controller, sunxi_ehci: 0xffffffc000d08a90, 0x:ffffff8000438000, irq_no:6e
    [    6.027680] sunxi-ehci 1c1d000.ehci3-controller: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
    [    6.037611] sunxi-ehci 1c1d000.ehci3-controller: new USB bus registered, assigned bus number 3
    [    6.047434] sunxi-ehci 1c1d000.ehci3-controller: irq 110, io mem 0xffffffc000471ca0
    [    6.069962] sunxi-ehci 1c1d000.ehci3-controller: USB 0.0 started, EHCI 1.00
    [    6.077709] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
    [    6.085150] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    6.093070] usb usb3: Product: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
    [    6.101299] usb usb3: Manufacturer: Linux 3.10.65-h5-4 ehci_hcd
    [    6.107778] usb usb3: SerialNumber: sunxi-ehci
    [    6.113575] hub 3-0:1.0: USB hub found
    [    6.117703] hub 3-0:1.0: 1 port detected
    [    6.122738] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [    6.129736] get ohci0-controller, regulator_io is no nocare
    [    6.135831] sunxi ohci0-controller is no enable
    [    6.140799] ohci0-controller get usb clk_usbohci12m clk failed.
    [    6.147276] ohci0-controller get usb clk_hoscx2 clk failed.
    [    6.153381] ohci0-controller get usb clk_hosc failed.
    [    6.158915] ohci0-controller get usb clk_losc clk failed.
    [    6.164820] hci: ERR: sunxi_ohci is null
    [    6.169114] hci: ERR: sunxi_ohci_hcd_probe, sunxi_ohci is null
    [    6.175504] sunxi-ohci: probe of 1c1a000.ohci0-controller failed with error -1
    [    6.183468] get drv_vbus is fail, 84
    [    6.187377] get ohci1-controller, regulator_io is no nocare
    [    6.193532] ohci1-controller get usb clk_usbohci12m clk failed.
    [    6.200020] ohci1-controller get usb clk_hoscx2 clk failed.
    [    6.206116] ohci1-controller get usb clk_hosc failed.
    [    6.211650] ohci1-controller get usb clk_losc clk failed.
    [    6.217599] [sunxi-ohci1]: probe, pdev->name: 1c1b000.ohci1-controller, sunxi_ohci: 0xffffffc000d07b90
    [    6.227851] sunxi-ohci 1c1b000.ohci1-controller: SW USB2.0 'Open' Host Controller (OHCI) Driver
    [    6.237402] sunxi-ohci 1c1b000.ohci1-controller: new USB bus registered, assigned bus number 4
    [    6.246914] sunxi-ohci 1c1b000.ohci1-controller: irq 107, io mem 0xffffffc000821e60
    [    6.310177] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
    [    6.317620] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    6.325525] usb usb4: Product: SW USB2.0 'Open' Host Controller (OHCI) Driver
    [    6.333502] usb usb4: Manufacturer: Linux 3.10.65-h5-4 ohci_hcd
    [    6.339992] usb usb4: SerialNumber: sunxi-ohci
    [    6.345812] hub 4-0:1.0: USB hub found
    [    6.349943] hub 4-0:1.0: 1 port detected
    [    6.354608] get drv_vbus is fail, 84
    [    6.358530] get ohci2-controller, regulator_io is no nocare
    [    6.364676] ohci2-controller get usb clk_usbohci12m clk failed.
    [    6.371165] ohci2-controller get usb clk_hoscx2 clk failed.
    [    6.377269] ohci2-controller get usb clk_hosc failed.
    [    6.382796] ohci2-controller get usb clk_losc clk failed.
    [    6.388710] [sunxi-ohci2]: probe, pdev->name: 1c1c000.ohci2-controller, sunxi_ohci: 0xffffffc000d07e10
    [    6.398958] sunxi-ohci 1c1c000.ohci2-controller: SW USB2.0 'Open' Host Controller (OHCI) Driver
    [    6.408509] sunxi-ohci 1c1c000.ohci2-controller: new USB bus registered, assigned bus number 5
    [    6.418017] sunxi-ohci 1c1c000.ohci2-controller: irq 109, io mem 0xffffffc000821e60
    [    6.487295] usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
    [    6.494738] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    6.502644] usb usb5: Product: SW USB2.0 'Open' Host Controller (OHCI) Driver
    [    6.510462] usb usb5: Manufacturer: Linux 3.10.65-h5-4 ohci_hcd
    [    6.516948] usb usb5: SerialNumber: sunxi-ohci
    [    6.522880] hub 5-0:1.0: USB hub found
    [    6.527005] hub 5-0:1.0: 1 port detected
    [    6.531669] get drv_vbus is fail, 84
    [    6.535592] get ohci3-controller, regulator_io is no nocare
    [    6.541739] ohci3-controller get usb clk_usbohci12m clk failed.
    [    6.548228] ohci3-controller get usb clk_hoscx2 clk failed.
    [    6.554332] ohci3-controller get usb clk_hosc failed.
    [    6.559859] ohci3-controller get usb clk_losc clk failed.
    [    6.565773] [sunxi-ohci3]: probe, pdev->name: 1c1d000.ohci3-controller, sunxi_ohci: 0xffffffc000d08090
    [    6.576022] sunxi-ohci 1c1d000.ohci3-controller: SW USB2.0 'Open' Host Controller (OHCI) Driver
    [    6.585573] sunxi-ohci 1c1d000.ohci3-controller: new USB bus registered, assigned bus number 6
    [    6.595079] sunxi-ohci 1c1d000.ohci3-controller: irq 111, io mem 0xffffffc000821e60
    [    6.664402] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
    [    6.671845] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [    6.679750] usb usb6: Product: SW USB2.0 'Open' Host Controller (OHCI) Driver
    [    6.687569] usb usb6: Manufacturer: Linux 3.10.65-h5-4 ohci_hcd
    [    6.694054] usb usb6: SerialNumber: sunxi-ohci
    [    6.699865] hub 6-0:1.0: USB hub found
    [    6.703994] hub 6-0:1.0: 1 port detected
    [    6.709321] usbcore: registered new interface driver usb-storage
    [    6.716122] usbcore: registered new interface driver ums-alauda
    [    6.722824] usbcore: registered new interface driver ums-cypress
    [    6.729631] usbcore: registered new interface driver ums-datafab
    [    6.736406] usbcore: registered new interface driver ums_eneub6250
    [    6.743386] usbcore: registered new interface driver ums-freecom
    [    6.750175] usbcore: registered new interface driver ums-isd200
    [    6.756862] usbcore: registered new interface driver ums-jumpshot
    [    6.763744] usbcore: registered new interface driver ums-karma
    [    6.770346] usbcore: registered new interface driver ums-onetouch
    [    6.777255] usbcore: registered new interface driver ums-realtek
    [    6.784045] usbcore: registered new interface driver ums-sddr09
    [    6.790734] usbcore: registered new interface driver ums-sddr55
    [    6.797417] usbcore: registered new interface driver ums-usbat
    [    6.804702] usbcore: registered new interface driver usbserial
    [    6.811305] usbcore: registered new interface driver option
    [    6.817597] usbserial: USB Serial support registered for GSM modem (1-port)
    [    6.826789] mousedev: PS/2 mouse device common for all mice
    [    6.833769] usbcore: registered new interface driver xpad
    [    6.839905] usbcore: registered new interface driver usb_acecad
    [    6.846607] usbcore: registered new interface driver aiptek
    [    6.852931] usbcore: registered new interface driver gtco
    [    6.859073] usbcore: registered new interface driver hanwang
    [    6.865475] usbcore: registered new interface driver kbtab
    [    6.871732] usbcore: registered new interface driver wacom
    [    6.879320] Set vaild hardware RTC date 2017-01-01
    [    6.885215] sunxi-rtc 1f00000.rtc: rtc core: registered sunxi-rtc as rtc0
    [    6.892703] sunxi-rtc 1f00000.rtc: RTC enabled
    [    6.898279] IR NEC protocol handler initialized
    [    6.903235] IR RC5(x) protocol handler initialized
    [    6.908483] IR RC6 protocol handler initialized
    [    6.913437] IR JVC protocol handler initialized
    [    6.918398] IR Sony protocol handler initialized
    [    6.923447] IR RC5 (streamzap) protocol handler initialized
    [    6.929549] IR SANYO protocol handler initialized
    [    6.934693] IR MCE Keyboard/mouse protocol handler initialized
    [    6.941079] sunxi cedar version 0.1 
    [    6.945086] [cedar]: install start!!!
    [    6.949196] cedar_ve: cedar-ve the get irq is 90
    [    6.954892] [cedar]: install end!!!
    [    6.971771] sunxi gpu cooling probe start !
    [    6.976393] CPU gpu cooling register Success
    [    6.981504] device-mapper: uevent: version 1.0.3
    [    6.987076] device-mapper: ioctl: 4.24.0-ioctl (2013-01-15) initialised: dm-devel@redhat.com
    [    6.996514] Bluetooth: HCI UART driver ver 2.2
    [    7.001376] Bluetooth: HCI H4 protocol initialized
    [    7.006625] Bluetooth: HCI Realtek H5 protocol initialized
    [    7.012626] rtk_btcoex: rtk_uart_coex_init, version: 1.1
    [    7.018447] rtk_btcoex: create workqueue
    [    7.023813] cpuidle: using governor ladder
    [    7.028314] cpuidle: using governor menu
    [    7.034531] sunxi-mmc 1c0f000.sdmmc: SD/MMC/SDIO Host Controller Driver(v0.54 2016-05-11 21:04) Compiled in Oct 28 2017 at 20:43:37
    [    7.047572] sunxi-mmc 1c0f000.sdmmc: regulator prop vmmc,str vcc-sdcv
    [    7.054634] sunxi-mmc 1c0f000.sdmmc: regulator prop vqmmc,str vcc-sdcvq33
    [    7.062066] sunxi-mmc 1c0f000.sdmmc: regulator prop vdmmc,str vcc-sdcvd
    [    7.069328] sunxi-mmc 1c0f000.sdmmc: No vmmc regulator found
    [    7.075529] sunxi-mmc 1c0f000.sdmmc: No vqmmc regulator found
    [    7.081815] sunxi-mmc 1c0f000.sdmmc: No vdmmc regulator found
    [    7.088589] sunxi-mmc 1c0f000.sdmmc: Got CD GPIO #166.
    [    7.094658] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
    [    7.122848] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
    [    7.152750] sunxi-mmc 1c0f000.sdmmc: base:0xffffff8000454000 irq:92
    [    7.154366] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
    [    7.156749] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
    [    7.161927] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 16 width 1 timing LEGACY(SDR12) dt B
    [    7.161969] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 16 width 1 timing LEGACY(SDR12) dt B
    [    7.164344] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 16 width 1 timing LEGACY(SDR12) dt B
    [    7.188880] mmc0: host does not support reading read-only switch. assuming write-enable.
    [    7.190682] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 16 width 1 timing SD-HS(SDR25) dt B
    [    7.190725] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 50000000Hz bm PP pm ON vdd 16 width 1 timing SD-HS(SDR25) dt B
    [    7.191350] sunxi-mmc 1c0f000.sdmmc: sdc set ios: clk 50000000Hz bm PP pm ON vdd 16 width 4 timing SD-HS(SDR25) dt B
    [    7.191649] mmc0: new high speed SDHC card at address b368
    [    7.266577] sunxi-mmc 1c10000.sdmmc: SD/MMC/SDIO Host Controller Driver(v0.54 2016-05-11 21:04) Compiled in Oct 28 2017 at 20:43:37
    [    7.279575] mmcblk0: mmc0:b368 NCard 3.73 GiB 
    [    7.279614] sunxi-mmc 1c10000.sdmmc: Can't get vmmc regulator string
    [    7.279619] sunxi-mmc 1c10000.sdmmc: Can't get vqmmc regulator string
    [    7.279624] sunxi-mmc 1c10000.sdmmc: Can't get vdmmc regulator string
    [    7.279627] get() with no identifier
    [    7.279628] get() with no identifier
    [    7.279629] get() with no identifier
    [    7.279634] sunxi-mmc 1c10000.sdmmc: No vmmc regulator found
    [    7.279637] sunxi-mmc 1c10000.sdmmc: No vqmmc regulator found
    [    7.279641] sunxi-mmc 1c10000.sdmmc: No vdmmc regulator found
    [    7.336858] sunxi-mmc 1c10000.sdmmc: sdc set ios: clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
    [    7.348061] sunxi-mmc 1c10000.sdmmc: no vqmmc,Check if there is regulator
    [    7.348745]  mmcblk0: p1 p2
    [    7.368845] sunxi-mmc 1c10000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
    [    7.398390] sunxi-mmc 1c10000.sdmmc: base:0xffffff800045c000 irq:93
    [    7.399986] sunxi-mmc 1c10000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
    [    7.402362] sunxi-mmc 1c10000.sdmmc: sdc set ios: clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
    [    7.410594] sunxi-mmc 1c10000.sdmmc: sdc set ios: clk 400000Hz bm OD pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
    [    7.411439] sunxi-mmc 1c10000.sdmmc: sdc set ios: clk 0Hz bm OD pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
    [    7.451726] ledtrig-cpu: registered to indicate activity on CPUs
    [    7.458951] hidraw: raw HID events driver (C) Jiri Kosina
    [    7.479188] usbcore: registered new interface driver usbhid
    [    7.485300] usbhid: USB HID core driver
    [    7.490763] zram: Created 1 device(s) ...
    [    7.496180] ashmem: initialized
    [    7.502992] AUDIO :get regulator name failed .
    [    7.513252] sunxi-codec-machine sound.5:  sun50iw2codec <-> 1c22c00.cpudai0-controller mapping ok
    [    7.526432] sndhdmi sound.6:  sndhdmi <-> 1c22800.daudio mapping ok
    [    7.535899] u32 classifier
    [    7.538908]     Actions configured
    [    7.542629] Netfilter messages via NETLINK v0.30.
    [    7.547917] nf_conntrack version 0.5.0 (3743 buckets, 14972 max)
    [    7.554996] ctnetlink v0.93: registering with nfnetlink.
    [    7.563378] NF_TPROXY: Transparent proxy support initialized, version 4.1.0
    [    7.571013] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.
    [    7.578794] xt_time: kernel timezone is -0000
    [    7.583697] ipip: IPv4 over IPv4 tunneling driver
    [    7.590051] gre: GRE over IPv4 demultiplexor driver
    [    7.595403] ip_gre: GRE over IPv4 tunneling driver
    [    7.603296] ip_tables: (C) 2000-2006 Netfilter Core Team
    [    7.609654] arp_tables: (C) 2002 David S. Miller
    [    7.614852] TCP: bic registered
    [    7.618285] TCP: cubic registered
    [    7.621908] TCP: westwood registered
    [    7.625823] TCP: htcp registered
    [    7.629351] Initializing XFRM netlink socket
    [    7.634415] NET: Registered protocol family 10
    [    7.642322] mip6: Mobile IPv6
    [    7.645683] ip6_tables: (C) 2000-2006 Netfilter Core Team
    [    7.652136] sit: IPv6 over IPv4 tunneling driver
    [    7.658713] NET: Registered protocol family 17
    [    7.663653] NET: Registered protocol family 15
    [    7.669069] Bluetooth: RFCOMM TTY layer initialized
    [    7.674468] Bluetooth: RFCOMM socket layer initialized
    [    7.680088] Bluetooth: RFCOMM ver 1.11
    [    7.684199] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
    [    7.690008] Bluetooth: BNEP filters: protocol multicast
    [    7.695764] Bluetooth: BNEP socket layer initialized
    [    7.701195] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
    [    7.707708] Bluetooth: HIDP socket layer initialized
    [    7.713797] Registering SWP/SWPB emulation handler
    [    7.721446] usb_serial_number:20080411
    [    7.726090] init: failed to probe driver -19
    [    7.731018] sunxi-rtc 1f00000.rtc: setting system clock to 2017-01-01 00:00:08 UTC (1483228808)
    [    7.750108] ALSA device list:
    [    7.753397]   #0: audiocodec
    [    7.756544]   #1: sndhdmi
    [    7.760117] Freeing unused kernel memory: 548K (ffffffc000ac2000 - ffffffc000b4b000)
    Kernel params: console=tty0 console=ttyS0,115200n8 no_console_suspend earlycon=uart,mmio32,0x01c28000 mac_addr=36:c9:e3:f1:b8:26 root=/dev/mmcblk0p2 ro rootwait
    Waiting for root system /dev/mmcblk0p2, countdown : 5
    Rootfs: /dev/mmcblk0p2
    [    7.880312] EXT2-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (240)
    [    7.891393] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
    [    7.914897] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null)
    [    8.411765] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
    [    8.432622] systemd[1]: Detected architecture arm64.

    Welcome to [1mUbuntu 16.04.3 LTS[0m!

    [    8.462217] systemd[1]: Set hostname to <nanopi-neo2-h5>.
    [    8.896205] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [[0;32m  OK  [0m] Started Forward Password Requests to Wall Directory Watch.
    [    8.924122] systemd[1]: Listening on udev Control Socket.
    [[0;32m  OK  [0m] Listening on udev Control Socket.
    [    8.953367] systemd[1]: Listening on udev Kernel Socket.
    [[0;32m  OK  [0m] Listening on udev Kernel Socket.
    [    8.983214] systemd[1]: Created slice System Slice.
    [[0;32m  OK  [0m] Created slice System Slice.
    [    9.002720] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [[0;32m  OK  [0m] Created slice system-serial\x2dgetty.slice.
    [    9.032539] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [[0;32m  OK  [0m] Listening on /dev/initctl Compatibility Named Pipe.
    [    9.061394] systemd[1]: Reached target Swap.
    [[0;32m  OK  [0m] Reached target Swap.
    [    9.081786] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [[0;32m  OK  [0m] Started Dispatch Password Requests to Console Directory Watch.
    [    9.110609] systemd[1]: Reached target Paths.
    [[0;32m  OK  [0m] Reached target Paths.
    [    9.130270] systemd[1]: Reached target Remote File Systems (Pre).
    [[0;32m  OK  [0m] Reached target Remote File Systems (Pre).
    [    9.159783] systemd[1]: Reached target Remote File Systems.
    [[0;32m  OK  [0m] Reached target Remote File Systems.
    [    9.189314] systemd[1]: Reached target Slices.
    [[0;32m  OK  [0m] Reached target Slices.
    [    9.208990] systemd[1]: Reached target Encrypted Volumes.
    [[0;32m  OK  [0m] Reached target Encrypted Volumes.
    [    9.238963] systemd[1]: Listening on Journal Socket.
    [[0;32m  OK  [0m] Listening on Journal Socket.
    [    9.263574] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    9.305875] systemd[1]: Starting Create list of required static device nodes for the current kernel...
             Starting Create list of required st... nodes for the current kernel...
    [    9.341380] systemd[1]: Mounting Debug File System...
             Mounting Debug File System...
    [    9.366911] systemd[1]: Listening on fsck to fsckd communication Socket.
    [[0;32m  OK  [0m] Listening on fsck to fsckd communication Socket.
    [    9.396541] systemd[1]: Listening on Journal Socket (/dev/log).
    [[0;32m  OK  [0m] Listening on Journal Socket (/dev/log).
    [    9.426456] systemd[1]: Created slice system-systemd\x2dfsck.slice.
    [[0;32m  OK  [0m] Created slice system-systemd\x2dfsck.slice.
    [    9.458817] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [    9.485611] systemd[1]: Reached target Sockets.
    [[0;32m  OK  [0m] Reached target Sockets.
    [    9.496301] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [    9.508051] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    9.535437] systemd[1]: Created slice system-getty.slice.
    [[0;32m  OK  [0m] Created slice system-getty.slice.
    [    9.572581] systemd[1]: Mounted Debug File System.
    [[0;32m  OK  [0m] Mounted Debug File System.
    [    9.595165] systemd[1]: Started Load Kernel Modules.
    [[0;32m  OK  [0m] Started Load Kernel Modules.
    [    9.625058] systemd[1]: Started Create list of required static device nodes for the current kernel.
    [[0;32m  OK  [0m] Started Create list of required sta...ce nodes for the current kernel.
    [    9.664402] systemd[1]: Started Remount Root and Kernel File Systems.
    [[0;32m  OK  [0m] Started Remount Root and Kernel File Systems.
    [    9.748597] systemd[1]: Starting udev Coldplug all Devices...
             Starting udev Coldplug all Devices...
    [    9.773996] systemd[1]: Starting Load/Save Random Seed...
             Starting Load/Save Random Seed...
    [    9.803644] systemd[1]: Starting Create Static Device Nodes in /dev...
             Starting Create Static Device Nodes in /dev...
    [    9.833358] systemd[1]: Mounting FUSE Control File System...
             Mounting FUSE Control File System...
    [    9.862649] systemd[1]: Starting Apply Kernel Variables...
             Starting Apply Kernel Variables...
    [    9.895142] systemd[1]: Mounting Configuration File System...
             Mounting Configuration File System...
    [[0;32m  OK  [0m] Mounted FUSE Control File System.
    [[0;32m  OK  [0m] Mounted Configuration File System.
    [[0;32m  OK  [0m] Started Journal Service.
    [[0;32m  OK  [0m] Started Load/Save Random Seed.
    [[0;32m  OK  [0m] Started Create Static Device Nodes in /dev.
    [[0;32m  OK  [0m] Started Apply Kernel Variables.
    [[0;32m  OK  [0m] Reached target Local File Systems (Pre).
             Starting udev Kernel Device Manager...
             Starting Flush Journal to Persistent Storage...
    [[0;32m  OK  [0m] Started Flush Journal to Persistent Storage.
    [[0;32m  OK  [0m] Started udev Kernel Device Manager.
    [[0;32m  OK  [0m] Started udev Coldplug all Devices.
    [[0;32m  OK  [0m] Found device /dev/ttyS0.
    [[0;32m  OK  [0m] Found device /dev/mmcblk0p1.
    [[0;32m  OK  [0m] Reached target Sound Card.
             Starting File System Check on /dev/mmcblk0p1...
    [[0;32m  OK  [0m] Started File System Check Daemon to report status.
    [[0;32m  OK  [0m] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
    [[0;32m  OK  [0m] Found device /sys/subsystem/net/devices/eth0.

    Checking in progress on 1 disk (0.0% complete)

    Checking in progress on 1 disk (100.0% complete)

    Checking in progress on 0 disks (100.0% complete)
    [[0;32m  OK  [0m] Started File System Check on /dev/mmcblk0p1.
             Mounting /boot...
    [[0;32m  OK  [0m] Mounted /boot.
    [[0;32m  OK  [0m] Reached target Local File Systems.
             Starting Raise network interfaces...
    [[0;32m  OK  [0m] Started ifup for eth0.
             Starting Create Volatile Files and Directories...
    [[0;32m  OK  [0m] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [[0;32m  OK  [0m] Started Update UTMP about System Boot/Shutdown.
    [[0;32m  OK  [0m] Started Network Time Synchronization.
    [[0;32m  OK  [0m] Reached target System Time Synchronized.
    [[0;32m  OK  [0m] Reached target System Initialization.
    [[0;32m  OK  [0m] Reached target Basic System.
             Starting LSB: Set the CPU Frequency Scaling governor to "ondemand"...
    [[0;32m  OK  [0m] Started Daily Cleanup of Temporary Directories.
             Starting getty on tty2-tty6 if dbus and logind are not available...
    [[0;32m  OK  [0m] Started Daily apt download activities.
    [[0;32m  OK  [0m] Started Daily apt upgrade and clean activities.
    [[0;32m  OK  [0m] Reached target Timers.
             Starting Permit User Sessions...
    [[0;32m  OK  [0m] Started Permit User Sessions.
    [[0;32m  OK  [0m] Started LSB: Set the CPU Frequency Scaling governor to "ondemand".
    [[0;32m  OK  [0m] Started getty on tty2-tty6 if dbus and logind are not available.
    [[0;32m  OK  [0m] Started Raise network interfaces.
    [[0;32m  OK  [0m] Reached target Network.
             Starting OpenBSD Secure Shell server...
             Starting /etc/rc.local Compatibility...
    [[0;32m  OK  [0m] Started /etc/rc.local Compatibility.
    [[0;32m  OK  [0m] Started Getty on tty4.
    [[0;32m  OK  [0m] Started Getty on tty5.
    [[0;32m  OK  [0m] Started Getty on tty1.
    [[0;32m  OK  [0m] Started Getty on tty2.
    [[0;32m  OK  [0m] Started Serial Getty on ttyS0.
    [[0;32m  OK  [0m] Started Getty on tty6.
    [[0;32m  OK  [0m] Started Getty on tty3.
    [[0;32m  OK  [0m] Reached target Login Prompts.
    [[0;32m  OK  [0m] Started OpenBSD Secure Shell server.
    [[0;32m  OK  [0m] Reached target Multi-User System.
    [[0;32m  OK  [0m] Reached target Graphical Interface.
             Starting Update UTMP about System Runlevel Changes...
    [[0;32m  OK  [0m] Started Update UTMP about System Runlevel Changes.


    Ubuntu 16.04.3 LTS nanopi-neo2-h5 ttyS0

    nanopi-neo2-h5 login: ubuntu

    Password: 
    Last login: Sun Oct 29 18:44:40 UTC 2017 from 192.168.254.253 on pts/0
    Welcome to Ubuntu 16.04.3 LTS (GNU/Linux 3.10.65-h5-4 aarch64)

     * Documentation: https://help.ubuntu.com
     * Management:     https://landscape.canonical.com
     * Support:       https://ubuntu.com/advantage
    ubuntu@nanopi-neo2-h5:~$ 

     

                                                       
     

  11. 3 hours ago, tkaiser said:

    Ouch, i wasn't...

     

    Anyway, here is the log, but i don't think it helps much, but trying to boot from MMC1 (?):

    Ubuntu 16.04.3 LTS nanopineo2 ttyS0
    root@nanopineo2:~# sudo reboot
    [[0;32m  OK  [0m] Stopped target Timers.
             Stopping Authenticate and Authorize Users to Run Privileged Tasks...
    [[0;32m  OK  [0m] Stopped target Graphical Interface.
    [[0;32m  OK  [0m] Stopped target Multi-User System.
             Stopping LSB: Advanced IEEE 802.11 management daemon...
             Stopping LSB: Armbian gathering hardware information...
             Stopping Unattended Upgrades Shutdown...
                    Stopping LSB: Start NTP daemon...
    [[0;32m  OK  [0m] Stopped Session 1 of user root.
    [[0;32m  OK  [0m] Stopped User Manager for UID 0.
    [[0;32m  OK  [0m] Removed slice User Slice of root.
             Stopping Login Service...
             Stopping Permit User Sessions...
    [[0;32m  OK  [0m] Stopped Login Service.
    [[0;32m  OK  [0m] Stopped Permit User Sessions.
    [[0;32m  OK  [0m] Stopped target Remote File Systems.
    [[0;32m  OK  [0m] Stopped target Remote File Systems (Pre).
    [[0;32m  OK  [0m] Stopped Unattended Upgrades Shutdown.
    [[0;32m  OK  [0m] Stopped target Network.
             Stopping Raise network interfaces...
             Stopping Network Manager...
    [[0;32m  OK  [0m] Stopped LSB: Armbian gathering hardware information.
    [[0;32m  OK  [0m] Stopped Raise network interfaces.
    [[0;32m  OK  [0m] Stopped Network Manager.
             Stopping D-Bus System Message Bus...
    [[0;32m  OK  [0m] Stopped target Network (Pre).
    [[0;32m  OK  [0m] Stopped D-Bus System Message Bus.
    [[0;32m  OK  [0m] Stopped target Basic System.
    [[0;32m  OK  [0m] Stopped target Paths.
    [[0;32m  OK  [0m] Stopped Forward Password Requests to Wall Directory Watch.
    [[0;32m  OK  [0m] Stopped Dispatch Password Requests to Console Directory Watch.
    [[0;32m  OK  [0m] Stopped target Sockets.
    [[0;32m  OK  [0m] Closed Syslog Socket.
    [[0;32m  OK  [0m] Stopped target Slices.
    [[0;32m  OK  [0m] Removed slice User and Session Slice.
    [[0;32m  OK  [0m] Closed D-Bus System Message Bus Socket.
    [[0;32m  OK  [0m] Stopped target System Initialization.
             Stopping Entropy daemon using the HAVEGE algorithm...
             Stopping Armbian enhanced Log2Ram...
             Stopping Restore / save the current clock...
    [[0;32m  OK  [0m] Stopped target Encrypted Volumes.
    [[0;32m  OK  [0m] Stopped target Swap.
             Deactivating swap /var/swap...
    [[0;32m  OK  [0m] Stopped Create Volatile Files and Directories.
    [[0;32m  OK  [0m] Stopped Apply Kernel Variables.
    [[0;32m  OK  [0m] Stopped Load Kernel Modules.
    [[0;32m  OK  [0m] Stopped Entropy daemon using the HAVEGE algorithm.
             Stopping Load/Save Random Seed...
    [[0;32m  OK  [0m] Stopped Restore / save the current clock.
    [[0;32m  OK  [0m] Stopped Load/Save Random Seed.
    [[0;32m  OK  [0m] Unmounted /var/log.
    [[0;32m  OK  [0m] Deactivated swap /var/swap.
    [[0;32m  OK  [0m] Unmounted /var/log.hdd.
    [[0;32m  OK  [0m] Stopped Armbian enhanced Log2Ram.
    [[0;32m  OK  [0m] Stopped target Local File Systems.
             Unmounting /run/user/0...
             Unmounting /tmp...
    [[0;32m  OK  [0m] Unmounted /run/user/0.
    [[0;32m  OK  [0m] Unmounted /tmp.
    [[0;32m  OK  [0m] Reached target Unmount All Filesystems.
    [[0;32m  OK  [0m] Stopped target Local File Systems (Pre).
    [[0;32m  OK  [0m] Stopped Create Static Device Nodes in /dev.
    [[0;32m  OK  [0m] Stopped Remount Root and Kernel File Systems.
    [[0;32m  OK  [0m] Reached target Shutdown.
    [  407.528460] reboot: Restarting system
    INFO:    PSCI Affinity Map:
    INFO:      AffInst: Level 0, MPID 0x0, State ON
    INFO:      AffInst: Level 0, MPID 0x1, State ON
    INFO:      AffInst: Level 0, MPID 0x2, State ON
    INFO:      AffInst: Level 0, MPID 0x3, State ON
    U-Boot SPL 2017.09-armbian (Oct 31 2017 - 01:49:36)
    DRAM: 512 MiB
    Trying to boot from MMC1
    U-Boot SPL 2017.09-armbian (Oct 31 2017 - 01:49:36)
    DRAM: 512 MiB
    Trying to boot from MMC1
    U-Boot SPL 2017.09-armbian (Oct 31 2017 - 01:49:36)
    DRAM: 512 MiB
    Trying to boot from MMC1
    NOTICE:  BL3-1: Running on H5 (1718) in SRAM A2 (@0x44000)
    NOTICE:  Configuring SPC Controller
    NOTICE:  BL3-1: v1.0(debug):aa75c8d
    NOTICE:  BL3-1: Built : 01:49:29, Oct 31 2017
    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 2017.09-armbian (Oct 31 2017 - 01:49:36 +0100) Allwinner Technology
    CPU:   Allwinner H5 (SUN50I)
    Model: FriendlyARM NanoPi NEO 2
    DRAM:  512 MiB
    MMC:   SUNXI SD/MMC: 0
    *** Warning - bad CRC, using default environment
    In:    serial
    Out:   serial
    Err:   serial
    Net:   No ethernet found.
    230454 bytes read in 157 ms (1.4 MiB/s)
    starting USB...
    No controllers found
    Autoboot in 1 seconds, press <Space> to stop
    switch to partitions #0, OK
    mmc0 is current device
    Scanning mmc 0:1...
    Found U-Boot script /boot/boot.scr
    3100 bytes read in 213 ms (13.7 KiB/s)
    ## Executing script at 4fc00000
    U-boot loaded from SD
    Boot script loaded from mmc
    165 bytes read in 179 ms (0 Bytes/s)
    28577 bytes read in 344 ms (81.1 KiB/s)
    4179 bytes read in 482 ms (7.8 KiB/s)
    Applying kernel provided DT fixup script (sun50i-h5-fixup.scr)
    ## Executing script at 44000000
    5253976 bytes read in 584 ms (8.6 MiB/s)
    12957704 bytes read in 973 ms (12.7 MiB/s)
    ## Loading init Ramdisk from Legacy Image at 4fe00000 ...
       Image Name:   uInitrd
       Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
       Data Size:    5253912 Bytes = 5 MiB
       Load Address: 00000000
       Entry Point:  00000000
       Verifying Checksum ... OK
    ## Flattened Device Tree blob at 4fa00000
       Booting using the fdt blob at 0x4fa00000
       Loading Ramdisk to 49afd000, end 49fffb18 ... OK
       reserving fdt memory region: addr=4fa00000 size=6d000
       Loading Device Tree to 0000000049a8d000, end 0000000049afcfff ... OK
    Starting kernel ...
    Loading, please wait...
    starting version 229
    Begin: Loading essential drivers ... done.
    Begin: Running /scripts/init-premount ... done.
    Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
    Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
    done.
    Begin: Will now check root file system ... fsck from util-linux 2.27.1
    [/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1 
    /dev/mmcblk0p1: clean, 35895/220416 files, 326978/912384 blocks
    done.
    done.
    Begin: Running /scripts/local-bottom ... done.
    Begin: Running /scripts/init-bottom ... done.
    Welcome to [1mUbuntu 16.04.3 LTS[0m!
    root@nanopineo2:~# sudo shutdown -h now
    [[0;32m  OK  [0m] Stopped target Graphical Interface.
    [[0;32m  OK  [0m] Stopped target Multi-User System.
             Stopping OpenBSD Secure Shell server...
             Stopping Unattended Upgrades Shutdown...
             Stopping LSB: Advanced IEEE 802.11 management daemon...
             Stopping User Manager for UID 0...
             Stopping LSB: disk temperature monitoring daemon...
    [[0;32m  OK  [0m] Stopped target Login Prompts.
             Stopping Serial Getty on ttyS0...
    [[0;32m  OK  [0m] St         Stopping LSB: Start/stop sysstat's sadc...
             Stopping LSB: Set sysfs variables from /etc/sysfs.conf...
             Stopping System Logging Service...
    [[0;32m  OK  [0m] Stopped target Timers.
    [[0;32m  OK  [0m] Stopped Daily apt upgrade and clean activities.
    [[0;32m  OK  [0m] Stopped Serial Getty on ttyGS0.
    [[0;32m  OK  [0m] Stopped Daily Cleanup of Temporary Directories.
             Stopping LSB: Start NTP daemon...
             Stopping Authenticate and Authorize Users to Run Privileged Tasks...
             Stopping Getty on tty1...
             Stopping LSB: Armbian gathering hardware information...
             Stopping Regular background program processing daemon...
    [[0;32m  OK  [0m] Stopped System Logging Service.
    [[0;32m  OK  [0m] Stopped Regular background program processing daemon.
    [[0;32m  OK  [0m] Stopped Authenticate and Authorize Users to Run Privileged Tasks.
    [[0;32m  OK  [0m] Stopped Daily apt download activities.
    [[0;32m  OK  [0m] Stopped Getty on tty1.
    [[0;32m  OK  [0m] Stopped Serial Getty on ttyS0.
    [[0;32m  OK  [0m] Stopped Session 1 of user root.
    [[0;32m  OK  [0m] Stopped LSB: Set sysfs variables from /etc/sysfs.conf.
             Stopping LSB: set CPUFreq kernel parameters...
    [[0;32m  OK  [0m] Removed slice system-serial\x2dgetty.slice.
    [[0;32m  OK  [0m] Stopped /etc/rc.local Compatibility.
    [[0;32m  OK  [0m] Removed slice system-getty.slice.
    [[0;32m  OK  [0m] Stopped Daily apt download activities.
    [[0;32m  OK  [0m] Stopped target System Time Synchronized.
    [[0;32m  OK  [0m] Stopped LSB: set CPUFreq kernel parameters.
             Stopping LSB: Load kernel modules needed to enable cpufreq scaling...
    [[0;32m  OK  [0m] Stopped LSB: Advanced IEEE 802.11 management daemon.
    [[0;32m  OK  [0m] Stopped LSB: Start/stop sysstat's sadc.
    [[0;32m  OK  [0m] Stopped LSB: disk temperature monitoring daemon.
    [[0;32m  OK  [0m] Stopped LSB: Load kernel modules needed to enable cpufreq scaling.
    [[0;32m  OK  [0m] Stopped OpenBSD Secure Shell server.
    [[0;32m  OK  [0m] Stopped User Manager for UID 0.
    [[0;32m  OK  [0m] Removed slice User Slice of root.
             Stopping Login Service...
             Stopping Permit User Sessions...
    [[0;32m  OK  [0m] Unmounted /run/user/0.
    [[0;32m  OK  [0m] Stopped Login Service.
    [[0;32m  OK  [0m] Stopped LSB: Start NTP daemon.
    [[0;32m  OK  [0m] Stopped target Network is Online.
    [[0;32m  OK  [0m] Stopped Network Manager Wait Online.
    [[0;32m  OK  [0m] Stopped Permit User Sessions.
    [[0;32m  OK  [0m] Stopped target Remote File Systems.
    [[0;32m  OK  [0m] Stopped target Remote File Systems (Pre).
    [[0;32m  OK  [0m] Stopped LSB: Armbian gathering hardware information.
    [[0;32m  OK  [0m] Stopped Unattended Upgrades Shutdown.
    [[0;32m  OK  [0m] Stopped target Network.
             Stopping Raise network interfaces...
             Stopping Network Manager...
    [[0;32m  OK  [0m] Stopped Raise network interfaces.
    [[0;32m  OK  [0m] Stopped Network Manager.
             Stopping D-Bus System Message Bus...
    [[0;32m  OK  [0m] Stopped target Network (Pre).
    [[0;32m  OK  [0m] Stopped D-Bus System Message Bus.
    [[0;32m  OK  [0m] Stopped target Basic System.
    [[0;32m  OK  [0m] Stopped target Paths.
    [[0;32m  OK  [0m] Stopped Dispatch Password Requests to Console Directory Watch.
    [[0;32m  OK  [0m] Stopped Forward Password Requests to Wall Directory Watch.
    [[0;32m  OK  [0m] Stopped target Sockets.
    [[0;32m  OK  [0m] Closed Syslog Socket.
    [[0;32m  OK  [0m] Stopped target Slices.
    [[0;32m  OK  [0m] Removed slice User and Session Slice.
    [[0;32m  OK  [0m] Closed D-Bus System Message Bus Socket.
    [[0;32m  OK  [0m] Stopped target System Initialization.
    [[0;32m  OK  [0m] Stopped target Encrypted Volumes.
             Stopping Armbian enhanced Log2Ram...
             Stopping Entropy daemon using the HAVEGE algorithm...
    [[0;32m  OK  [0m] Stopped Apply Kernel Variables.
             Stopping Restore / save the current clock...
    [[0;32m  OK  [0m] Stopped Load Kernel Modules.
    [[0;32m  OK  [0m] Stopped Create Volatile Files and Directories.
    [[0;32m  OK  [0m] Stopped target Swap.
             Deactivating swap /var/swap...
    [[0;32m  OK  [0m] Stopped Entropy daemon using the HAVEGE algorithm.
             Stopping Load/Save Random Seed...
    [[0;32m  OK  [0m] Stopped Load/Save Random Seed.
    [[0;32m  OK  [0m] Deactivated swap /var/swap.
    [[0;32m  OK  [0m] Stopped Restore / save the current clock.
    [[0;32m  OK  [0m] Unmounted /var/log.
             Starting Update UTMP about System Runlevel Changes...
    [[0;32m  OK  [0m] Unmounted /var/log.hdd.
    [[0;32m  OK  [0m] Stopped Armbian enhanced Log2Ram.
    [[0;32m  OK  [0m] Started Update UTMP about System Runlevel Changes.
    [[0;32m  OK  [0m] Stopped target Local File Systems.
             Unmounting /tmp...
    [[0;32m  OK  [0m] Unmounted /tmp.
    [[0;32m  OK  [0m] Reached target Unmount All Filesystems.
    [[0;32m  OK  [0m] Stopped target Local File Systems (Pre).
    [[0;32m  OK  [0m] Stopped Create Static Device Nodes in /dev.
    [[0;32m  OK  [0m] Stopped Remount Root and Kernel File Systems.
    [[0;32m  OK  [0m] Reached target Shutdown.
    [[0;32m  OK  [0m] Reached target Final Step.
             Starting Power-Off...
    [   78.439939] reboot: Power down
    INFO:    PSCI Affinity Map:
    INFO:      AffInst: Level 0, MPID 0x0, State ON
    INFO:      AffInst: Level 0, MPID 0x1, State ON
    INFO:      AffInst: Level 0, MPID 0x2, State ON
    INFO:      AffInst: Level 0, MPID 0x3, State ON
    ERROR:   PSCI system shutdown: still alive ...
    U-Boot SPL 2017.09-armbian (Oct 31 2017 - 01:49:36)
    DRAM: 512 MiB
    Trying to boot from MMC1
    NOTICE:  BL3-1: Running on H5 (1718) in SRAM A2 (@0x44000)
    NOTICE:  Configuring SPC Controller
    NOTICE:  BL3-1: v1.0(debug):aa75c8d
    NOTICE:  BL3-1: Built : 01:49:29, Oct 31 2017
    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 2017.09-armbian (Oct 31 2017 - 01:49:36 +0100) Allwinner Technology
    CPU:   Allwinner H5 (SUN50I)
    Model: FriendlyARM NanoPi NEO 2
    DRAM:  512 MiB
    MMC:   SUNXI SD/MMC: 0
    *** Warning - bad CRC, using default environment
    In:    serial
    Out:   serial
    Err:   serial
    Net:   No ethernet found.
    230454 bytes read in 157 ms (1.4 MiB/s)
    starting USB...
    No controllers found
    Autoboot in 1 seconds, press <Space> to stop
    switch to partitions #0, OK
    mmc0 is current device
    Scanning mmc 0:1...
    Found U-Boot script /boot/boot.scr
    3100 bytes read in 214 ms (13.7 KiB/s)
    ## Executing script at 4fc00000
    U-boot loaded from SD
    Boot script loaded from mmc
    165 bytes read in 178 ms (0 Bytes/s)
    28577 bytes read in 344 ms (81.1 KiB/s)
    4179 bytes read in 482 ms (7.8 KiB/s)
    Applying kernel provided DT fixup script (sun50i-h5-fixup.scr)
    ## Executing script at 44000000
    5253976 bytes read in 582 ms (8.6 MiB/s)
    12957704 bytes read in 973 ms (12.7 MiB/s)
    ## Loading init Ramdisk from Legacy Image at 4fe00000 ...
       Image Name:   uInitrd
       Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
       Data Size:    5253912 Bytes = 5 MiB
       Load Address: 00000000
       Entry Point:  00000000
       Verifying Checksum ... OK
    ## Flattened Device Tree blob at 4fa00000
       Booting using the fdt blob at 0x4fa00000
       Loading Ramdisk to 49afd000, end 49fffb18 ... OK
       reserving fdt memory region: addr=4fa00000 size=6d000
       Loading Device Tree to 0000000049a8d000, end 0000000049afcfff ... OK
    Starting kernel ...
    Loading, please wait...
    starting version 229
    Begin: Loading essential drivers ... done.
    Begin: Running /scripts/init-premount ... done.
    Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
    Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
    done.
    Begin: Will now check root file system ... fsck from util-linux 2.27.1
    [/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1 
    /dev/mmcblk0p1: clean, 35908/220416 files, 349681/912384 blocks
    done.
    done.
    Begin: Running /scripts/local-bottom ... done.
    Begin: Running /scripts/init-bottom ... done.
    Welcome to [1mUbuntu 16.04.3 LTS[0m!
    root@nanopineo2:~# sudo shutdown -h now
             Stopping Hostname Service...
             Starting Reboot...
    [   51.491935] reboot: Restarting system
    INFO:    PSCI Affinity Map:
    INFO:      AffInst: Level 0, MPID 0x0, State ON
    INFO:      AffInst: Level 0, MPID 0x1, State ON
    INFO:      AffInst: Level 0, MPID 0x2, State ON
    INFO:      AffInst: Level 0, MPID 0x3, State ON
    U-Boot SPL 2017.09-armbian (Oct 31 2017 - 01:49:36)
    DRAM: 512 MiB
    Trying to boot from MMC1
    U-Boot SPL 2017.09-armbian (Oct 31 2017 - 01:49:36)
    DRAM: 512 MiB
    Trying to boot from MMC1
    NOTICE:  BL3-1: Running on H5 (1718) in SRAM A2 (@0x44000)
    NOTICE:  Configuring SPC Controller
    NOTICE:  BL3-1: v1.0(debug):aa75c8d
    NOTICE:  BL3-1: Built : 01:49:29, Oct 31 2017
    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 2017.09-armbian (Oct 31 2017 - 01:49:36 +0100) Allwinner Technology
    CPU:   Allwinner H5 (SUN50I)
    Model: FriendlyARM NanoPi NEO 2
    DRAM:  512 MiB
    MMC:   SUNXI SD/MMC: 0
    *** Warning - bad CRC, using default environment
    In:    serial
    Out:   serial
    Err:   serial
    Net:   No ethernet found.
    230454 bytes read in 157 ms (1.4 MiB/s)
    starting USB...
    No controllers found
    Autoboot in 1 seconds, press <Space> to stop
    switch to partitions #0, OK
    mmc0 is current device
    Scanning mmc 0:1...
    Found U-Boot script /boot/boot.scr
    3100 bytes read in 213 ms (13.7 KiB/s)
    ## Executing script at 4fc00000
    U-boot loaded from SD
    Boot script loaded from mmc
    165 bytes read in 178 ms (0 Bytes/s)
    28577 bytes read in 344 ms (81.1 KiB/s)
    4179 bytes read in 482 ms (7.8 KiB/s)
    Applying kernel provided DT fixup script (sun50i-h5-fixup.scr)
    ## Executing script at 44000000
    5253976 bytes read in 583 ms (8.6 MiB/s)
    12957704 bytes read in 973 ms (12.7 MiB/s)
    ## Loading init Ramdisk from Legacy Image at 4fe00000 ...
       Image Name:   uInitrd
       Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
       Data Size:    5253912 Bytes = 5 MiB
       Load Address: 00000000
       Entry Point:  00000000
       Verifying Checksum ... OK
    ## Flattened Device Tree blob at 4fa00000
       Booting using the fdt blob at 0x4fa00000
       Loading Ramdisk to 49afd000, end 49fffb18 ... OK
       reserving fdt memory region: addr=4fa00000 size=6d000
       Loading Device Tree to 0000000049a8d000, end 0000000049afcfff ... OK
    Starting kernel ...
    Loading, please wait...
    starting version 229
    Begin: Loading essential drivers ... done.
    Begin: Running /scripts/init-premount ... done.
    Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
    Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
    done.
    Begin: Will now check root file system ... fsck from util-linux 2.27.1
    [/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1 
    /dev/mmcblk0p1: clean, 35908/220416 files, 349711/912384 blocks
    done.
    done.
    Begin: Running /scripts/local-bottom ... done.
    Begin: Running /scripts/init-bottom ... done.
    Welcome to [1mUbuntu 16.04.3 LTS[0m!
    root@nanopineo2:~# dmesg|grep mmc
    [    1.736605] sunxi-[01;31m[Kmmc[m[K 1c0f000.[01;31m[Kmmc[m[K: Got CD GPIO
    [    1.776055] sunxi-[01;31m[Kmmc[m[K 1c0f000.[01;31m[Kmmc[m[K: base:0xffff000008f3b000 irq:7
    [    1.834298] [01;31m[Kmmc[m[K0: host does not support reading read-only switch, assuming write-enable
    [    1.837944] [01;31m[Kmmc[m[K0: new high speed SDHC card at address 1234
    [    1.838332] [01;31m[Kmmc[m[Kblk0: [01;31m[Kmmc[m[K0:1234 SA04G 3.68 GiB 
    [    1.839671]  [01;31m[Kmmc[m[Kblk0: p1
    [    2.350241] [01;31m[Kmmc[m[Kblk0: r/w command failed, status = 0x80000900
    [    2.625894] [01;31m[Kmmc[m[Kblk0: r/w command failed, status = 0x80000900
    [    3.127510] EXT4-fs ([01;31m[Kmmc[m[Kblk0p1): mounted filesystem with writeback data mode. Opts: (null)
    [    5.025975] EXT4-fs ([01;31m[Kmmc[m[Kblk0p1): re-mounted. Opts: commit=600,errors=remount-ro
    root@nanopineo2:~# 

     

  12. 55 minutes ago, zador.blood.stained said:

    so this (and lowering the default DRAM frequency) has to be tested IMO

    You are right, i tested their configuration:

    Spoiler

    config DRAM_CLK
        int "sunxi dram clock speed"
        default 792 if MACH_SUN9I
        default 648 if MACH_SUN8I_R40
        default 312 if MACH_SUN6I || MACH_SUN8I
        default 360 if MACH_SUN4I || MACH_SUN5I || MACH_SUN7I
        default 672 if MACH_SUN50I

     

    Spoiler

    config SYS_CLK_FREQ
        default 1008000000 if MACH_SUN4I
        default 1008000000 if MACH_SUN5I
        default 1008000000 if MACH_SUN6I
        default 912000000 if MACH_SUN7I
        default 1008000000 if MACH_SUN8I
        default 1008000000 if MACH_SUN9I
        default 816000000 if MACH_SUN50I


    And surprisingly the same configuration on old u-boot works.

    Upd: If someone build next image with lower dram clk i can test here.

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines