Jump to content

Neo2 usually doesn't cold start on first attempt


Lope

Recommended Posts

I'm testing the nightly image: Armbian_5.32.170704_Nanopineo2_Ubuntu_xenial_dev_4.11.8.img

 

I've got it running nice and stable as a router and wifi AP, with 2 USB ports, one wifi adapter on each port.

 

But when it's been off for a while and I power it on, it doesn't boot on the first powerup, only if I disconnect power and then wait a few seconds then power again.

I've tried 2 different 2A 5v power supplies, one that I've successfully powered RbPi 2s and other Linux SBC's for months at a time, no problems. The voltage is good.
I also tried a beast 10 port USB charger that has 6x 2A ports. Same behavior for all power supplies I've tried, and I've never experienced this problem with any other Linux SBC.

Is anyone else experiencing this?
I'm wondering if maybe it's a bug maybe with the watchdog or some special hardware registers, I'm theorizing that if it's not run recently it reads some value that causes an infinite loop of some kind.

 

It happened with the image before I changed anything at all.

I suppose I could also try different microSD cards.
 

Link to comment
Share on other sites

Armbian & Khadas are rewarding contributors

43 minutes ago, Lope said:

Is anyone else experiencing this?

It happens on manufacturer Image also... I suspect this is the bug but have not done any research... as of the link @zador.blood.stained pointed,  neo plus2 is not affected by this "supposed" (or confirmed) bug, at least when i tried some time ago with my experiments.

Link to comment
Share on other sites

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.

Edited by @lex
I can grab tty output
Link to comment
Share on other sites

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:~# 

 

Edited by @lex
Explanation:
Link to comment
Share on other sites

* First reboot failed on

Trying to boot from MMC1 (hung)

 

* Turned off, second boot failed

Trying to boot from MMC1 (hung)

 

* Third try is OK

 

* Next reboot failed, same symptom

* Turned off and boot failed

* next attempt is OK

Link to comment
Share on other sites

17 hours ago, @lex said:

It happens on manufacturer Image also... I suspect this is the bug but have not done any research... as of the link @zador.blood.stained pointed,  neo plus2 is not affected by this "supposed" (or confirmed) bug, at least when i tried some time ago with my experiments.

 

Main difference wrt stability between NEO2 and NEO Plus 2 is: no voltage regulation on the former (all the time at 1.1V) while the latter can switch between 1.1V and 1.3V. Since Icenowy reported instabilities with NEO2 when exceeding 816 MHz (that's according to Allwinner the H5 limit at 1.1V) we should limit max cpufreq to this value everywhere:

  • part 1: this is the cpufreq used until cpufrequtils take over
  • part 2: these are new cpufrequtils settings

FriendlyELEC allows 1008 MHz with their kernel, no idea whether they did any reliability testing so far... I think Armbian could also use 912 MHz but that would require extensive testing with a lot of users and since this usually does not happen IMO we should stick with Allwinner defaults and limit NEO2 to 816 MHz from now on.

 

@zador.blood.stained I fail to find where we lower DRAM clockspeed for NEO2 to 408 MHz (for whatever reasons 672MHz are set in upstream u-boot)

Link to comment
Share on other sites

1 minute ago, @lex said:

But this issue is on u-boot, isn't?

Well, both DRAM and CPU 'overclocking' can cause instabilities. And we had CPU overclocking until today and we still have DRAM overclocking (FriendlyELEC's first setting for NEO2 DRAM clockspeed was 504 MHz while we and the rest of the world use 672 MHz for exactly no reason other than dealing with upstream ignorance/weirdness -- for the same reason upstream u-boot defconfig uses 408 MHz DRAM clockspeed on NanoPi M1 Plus while it should be 576 MHz in reality but device maintainer does not even answer to emails)

 

IMO it's just a waste of time babbling about instabilities unless DRAM overclocking is also fixed. I think we should use 576 MHz for all NanoPi with dual bank DRAM config and 408 MHz for single bank devices (following FriendlyELEC's own defaults)

Link to comment
Share on other sites

Ok, if someone prepare the u-boot with 504 Mhz and/or 408 Mhz i test here. I posted additional info that could help, 672 Mhz is used in old u-boot ans SYS_CLK is at 1008 Mhz and it just boot fine, i thinl this is relevant.

Link to the u-boot changes and i give some feedback. Please dd command to write the u-boot also.

Link to comment
Share on other sites

1 minute ago, @lex said:

I posted additional info that could help, 672 Mhz is used in old u-boot ans SYS_CLK is at 1008 Mhz and it just boot fine, i thinl this is relevant.

 

Can you elaborate on that? What does 'old u-boot' mean? Do you have a full boot log from FriendlyELEC image?

Link to comment
Share on other sites

FE suffers the same symptoms, u-boot legacy not.

 

to be precise: u-boot 2014.7 (672 Mhz DRAM and 1008 Mhz SYS_CLK) works

u-boot 2017.05 (FE) with previous pos configuration does not always works.

last night Armbian u-boot: same symptoms as FE u-boot.

Edited by @lex
update info
Link to comment
Share on other sites

11 minutes ago, @lex said:

to be precise: u-boot 2014.7 (672 Mhz DRAM and 1008 Mhz SYS_CLK) works

What's this for an image? AFAIK Allwinner legacy u-boot relies on sys_config.fex stuff (at least with H3 legacy u-boot it's like that) and DRAM initialization code uses all the settings encoded in sys_config.fex as well as cpufreq information (boot_clock and dvfs_table and if present/defined the ths/cooler_table as well being able to limit max cpufreq)

Link to comment
Share on other sites

H3 uses FEX, H5 uses DT, lats time i changed to boot with 504 Mhz kernel complained and printed some errors that it was not set at 672 Mhz, so at least in u-boot DT is working. Maybe BOOT0 is hard-coded at 672 Mhz.

Link to comment
Share on other sites

30 minutes ago, @lex said:

H3 uses FEX, H5 uses DT

 

Sorry, I'm not talking about what we think the kernel uses but Allwinner BSP stuff (sys_config.fex -- there's also a tool to convert this proprietary crap to the Allwinner proprietary DT format we've to deal with 3.10 BSP kernel and of course other BSP components also use this)

 

https://github.com/friendlyarm/h5_lichee/search?utf8=✓&q=dram_clk&type= (u-boot, ATF, 'basic loader'... and also kernel of course)

https://github.com/friendlyarm/h5_lichee/search?utf8=✓&q=dram_para1&type= (just another example how/whether this sys_config.fex stuff is used)

 

So sorry, I still don't understand what you're testing. Maybe provide a boot log?

Link to comment
Share on other sites

1 hour ago, @lex said:

That fixed the issue, reboot and cold boot works!

 

Hmm... the u-boot package included now both the cpufreq decrease from 1008 MHz to 816 MHz and DRAM from 672 MHz to 408 MHz. Would be interesting to test this stuff individually but on the other hand there's really no need to drop sane defaults (and that's 816 MHz -- or maybe 912MHz -- cpufreq and 408 MHz DRAM)

 

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

3 hours ago, @lex said:

to be precise: u-boot 2014.7 (672 Mhz DRAM and 1008 Mhz SYS_CLK) works

 

Allwinner's BSP u-boot most probably ignores these settings since the sys_config.fex has higher priority (never looked into details, I had the H5 BSP on my disk a year ago but deleted it pretty fast when Xunlong's 'Buddy drama' started)

Link to comment
Share on other sites

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:~$ 

 

                                                   
 

Link to comment
Share on other sites

1 hour ago, tkaiser said:

Hmm... the u-boot package included now both the cpufreq decrease from 1008 MHz to 816 MHz and DRAM from 672 MHz to 408 MHz. Would be interesting to test this stuff individually but on the other hand there's really no need to drop sane defaults (and that's 816 MHz -- or maybe 912MHz -- cpufreq and 408 MHz DRAM)

At least one of these changes seems to have fixed cold boot issues on Zero+2 H5 and PC2 for me, though it's still not a perfect solution for boards with SY8106A regulator, and currently making it more reliable by including SY8106A driver in SPL is not possible due to SPL size limitation, even with GCC7

/home/zador/armbian/cache/toolchains/gcc-linaro-7.1.1-2017.08-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-ld.bfd: region `.sram' overflowed by 376 bytes
scripts/Makefile.spl:346: recipe for target 'spl/u-boot-spl' failed

 

Link to comment
Share on other sites

2 minutes ago, zador.blood.stained said:

At least one of these changes seems to have fixed cold boot issues on Zero+2 H5 and PC2 for me

 

Can then be only cpufreq reducation since there was no DRAM change for these two boards? And where's the problem if these boards boot with 816 MHz instead of 1008 MHz, as soon as kernel + cpufrequtils take over it's not an issue any more and 200 MHz difference in early boot stage were negligible when I did some tests on H3 boards last year.

 

Ah, ok. You decreased DRAM clockspeed slightly on the Orange Pi boards too...

Link to comment
Share on other sites

2 minutes ago, tkaiser said:

And where's the problem if these boards boot with 816 MHz instead of 1008 MHz, as soon as kernel + cpufrequtils take over it's not an issue any more and 200 MHz difference in early boot stage were negligible when I did some tests on H3 boards last year.

Compared to a simple GPIO regulator (where GPIO is reset with the system anyway, and even in the worst case voltage won't be lower than 1.1V) SY8106A is not reset with the whole system, so it can be left at 1V or even lower.

Link to comment
Share on other sites

9 minutes ago, zador.blood.stained said:

SY8106A is not reset with the whole system, so it can be left at 1V or even lower.

 

You're right, totally forgot about this. What about an ugly workaround in armhwinfo's stop case adjusting cpufreq to 1008MHz based on ${LINUXFAMILY} to ensure 1.1V at startup? Due to release date that soon I vote for this as 'hack' that can be removed once SY8106A SPL driver works later.

 

Hmm... but this would be only a reboot workaround but you reported cold boot issues being gone...

 

1 hour ago, @lex said:

I am pretty sure

 

I was talking one year ago shortly with jemk about DRAM initialization comparing BSP stuff with mainline and almost forgot everything already. But IIRC he mentioned that BSP does a lot more here and I wouldn't be surprised if there's even some sort of auto calibration (to allow TV box vendors sourcing DRAM chips from the bin and then letting the bootloader do the job to downclock everything until the board does not crash any more).

 

Anyway: IMO a waste of time to look what the BSP stuff is doing. Though if you want to spend some more time on this I would be interested in tinymembench numbers done with BSP and mainline (cpufreq set to exactly 816 MHz with both tries)

Link to comment
Share on other sites

39 minutes ago, tkaiser said:

Due to release date that soon I vote for this as 'hack' that can be removed once SY8106A SPL driver works later.

I already voted to not include H3/H5/A64 in the next stable release. I would prefer to have this stable release with 4.13 for other boards and have first stable H3/H5 releases with 4.14 and u-boot 2017.11 (and after we and @jernej adapt the DRM driver to 4.14).

Link to comment
Share on other sites

5 minutes ago, zador.blood.stained said:

I already voted to not include H3/H5/A64 in the next stable release. I would prefer to have this stable release with 4.13 for other boards and have first stable H3/H5 releases with 4.14 and u-boot 2017.11 (and after we and @jernej adapt the DRM driver to 4.14).

 

Fine with this!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines