Jump to content

[Framework] Build script improvement suggestions #1


Recommended Posts

I discovered the issue earlier sys/type.h while trying to compile a module. But I have libc6-dev

 

 

gr@server1404:~$ dpkg -l libc6-dev

||/ Name                          Version             Architecture        Description
+++-=============================-===================-===================-===============================================================
ii  libc6-dev:amd64               2.19-0ubuntu6.6     amd64               Embedded GNU C Library: Development Libraries and Header Files

testing

BUILD_DESKTOP="No"
RELEASE="trusty"
LANGUAGE="fr_FR:fr"
BOARD="lamobo-r1"
BRANCH="next"
PROGRESS_DISPLAY="plain"

I got this issue

root@bpi:/home2/src/test# ls
hello-1.c  hello-1.ko  hello-1.mod.c  hello-1.mod.o  hello-1.o  Makefile  Makefile~  modules.order  Module.symvers

root@bpi:/home2/src/test# modinfo hello-1.ko
filename:       /home2/src/test/hello-1.ko
depends:
vermagic:       4.3.3 SMP mod_unload ARMv7 p2v8

root@bpi:/home2/src/test# insmod hello-1.ko
insmod: ERROR: could not insert module hello-1.ko: Invalid module format

in dmesg => "4.3.3" in module instead of "4.3.3-sunxi"

[18273.986591] hello_1: version magic '4.3.3 SMP mod_unload ARMv7 p2v8 ' should be '4.3.3-sunxi SMP mod_unload ARMv7 p2v8 '

 

testing again

 

EDIT :

ok I have reinstalled the *.deb files and it is gone

so I guess there is a problem when I have compiled the "make scripts" in the headers

Link to comment
Share on other sites

Okay, this is starting to get crazy.

Fresh cubietruck jessie with next kernel, "make scripts" fails due to sys/types.h error. libc6-dev is installed.

apt-get install --reinstall libc6-dev

"make scripts" succeeded

 

I checked, it doesn't have any pre- or postinstall scripts, but something is broken when it is installed in chroot.

Link to comment
Share on other sites

Okay, I'm not crazy. Same image, reflashed

debsums libc6-dev

debsums: missing file /usr/include/arm-linux-gnueabihf/sys/acct.h (from libc6-dev:armhf package)
debsums: missing file /usr/include/arm-linux-gnueabihf/sys/auxv.h (from libc6-dev:armhf package)
... 
debsums: missing file /usr/include/arm-linux-gnueabihf/sys/xattr.h (from libc6-dev:armhf package)
# debsums libc6-dev 2>&1 | grep missing | wc -l
81

Edit: directory /usr/include/arm-linux-gnueabihf/sys/ is empty. All other files/directories are OK.

 

Edit 2:

tar cp --directory=$DEST/cache/sdcard/ --exclude='dev/*' --exclude='proc/*' --exclude='run/*' --exclude='tmp/*' \
--exclude='mnt/*' --exclude='sys/*' . | pv -p -b -r -s $(du -sb $DEST/cache/sdcard/ | cut -f1) -N "$RELEASE.tgz" | pigz > $DEST/cache/rootfs/$RELEASE.tgz
--exclude='sys/*'

Can this be a problem?  ;)

 

Edit 3: Oh no, it found another "sys" directory  :D

..
debsums: missing file /usr/lib/arm-linux-gnueabihf/perl/5.20.2/sys/ioctl.ph (from perl package)
debsums: missing file /usr/lib/arm-linux-gnueabihf/perl/5.20.2/sys/sysmacros.ph (from perl package)
debsums: missing file /usr/lib/arm-linux-gnueabihf/perl/5.20.2/sys/ucontext.ph (from perl package)
debsums: missing file /usr/lib/arm-linux-gnueabihf/perl/5.20.2/sys/select.ph (from perl package)
debsums: missing file /usr/lib/arm-linux-gnueabihf/perl/5.20.2/sys/types.ph (from perl package)
debsums: missing file /usr/lib/arm-linux-gnueabihf/perl/5.20.2/sys/cdefs.ph (from perl package)
...
Link to comment
Share on other sites

OK. Removing "sys" from tar seems to be o.k. no more problems found ...

 

Since now we won't have the "make scripts" I'll put "make" into headers package post install script ...that its' done auto if "make" exists.

Link to comment
Share on other sites

buddies,

 

ok, new test kernel 4.3.3-sunxi, built @18.15 Good :D Nice fixes. thanks

 

installing the Armbian kernel *.deb the  package installed dkms sources are removed completely, so they are not reinstalled/compiled for the next boot.

 

This very same process / package sources are working fine with Ubuntu 14.04 amd64

 

My workaround is "Unpacking frandom-dkms (1.1-0centrych4) over (1.1-0centrych4) ..." :rolleyes:

 

Where do I put a feature request, please? github?

 

 

gr@bpi:/armbian_kernel/kern_4.3.3_2$ sudo dpkg -i *.deb
(Reading database ... 165665 files and directories currently installed.)
Preparing to unpack linux-dtb-next-sunxi_5.00_armhf.deb ...
Unpacking linux-dtb-next-sunxi (5.00) over (5.00) ...
Preparing to unpack linux-firmware-image-next-sunxi_5.00_armhf.deb ...
Unpacking linux-firmware-image-next-sunxi (5.00) over (5.00) ...
Preparing to unpack linux-headers-next-sunxi_5.00_armhf.deb ...
Unpacking linux-headers-next-sunxi (5.00) over (5.00) ...
Preparing to unpack linux-image-next-sunxi_5.00_armhf.deb ...
dkms: removing: frandom 1.1 (4.3.3-sunxi) (armhf)

-------- Uninstall Beginning --------
Module:  frandom
Version: 1.1
Kernel:  4.3.3-sunxi (armhf)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

frandom.ko:
 - Uninstallation
   - Deleting from: /lib/modules/4.3.3-sunxi/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.

depmod....

DKMS: uninstall completed.

------------------------------
Deleting module version: 1.1
completely from the DKMS tree.
------------------------------
Done.
Unpacking linux-image-next-sunxi (5.00) over (5.00) ...
Preparing to unpack linux-trusty-root-next-lamobo-r1_5.00_armhf.deb ...
Unpacking linux-trusty-root-next-lamobo-r1 (5.00) over (5.00) ...
Preparing to unpack linux-u-boot-next-lamobo-r1_5.00_armhf.deb ...
Unpacking linux-u-boot-lamobo-r1-next (5.00) over (5.00) ...
Setting up linux-dtb-next-sunxi (5.00) ...
Setting up linux-firmware-image-next-sunxi (5.00) ...
Setting up linux-headers-next-sunxi (5.00) ...
Setting up linux-image-next-sunxi (5.00) ...
update-initramfs: Generating /boot/initrd.img-4.3.3-sunxi
cryptsetup: WARNING: failed to detect canonical device of /dev/mmcblk0p1
cryptsetup: WARNING: could not determine root device from /etc/fstab
Setting up linux-trusty-root-next-lamobo-r1 (5.00) ...
Setting up linux-u-boot-lamobo-r1-next (5.00) ...
Processing triggers for ureadahead (0.100.0-16) ...

gr@bpi:~/frandom$ sudo dpkg -i frandom-dkms_1.1-0centrych4_armhf.deb
(Reading database ... 165665 files and directories currently installed.)
Preparing to unpack frandom-dkms_1.1-0centrych4_armhf.deb ...
 Removing any system startup links for /etc/init.d/frandom ...
   /etc/rc0.d/K20frandom
   /etc/rc1.d/K20frandom
   /etc/rc2.d/S99frandom
   /etc/rc3.d/S99frandom
   /etc/rc4.d/S99frandom
   /etc/rc5.d/S99frandom
   /etc/rc6.d/K20frandom
Unpacking frandom-dkms (1.1-0centrych4) over (1.1-0centrych4) ...
Setting up frandom-dkms (1.1-0centrych4) ...
 Adding system startup for /etc/init.d/frandom ...
   /etc/rc0.d/K20frandom -> ../init.d/frandom
   /etc/rc1.d/K20frandom -> ../init.d/frandom
   /etc/rc6.d/K20frandom -> ../init.d/frandom
   /etc/rc2.d/S99frandom -> ../init.d/frandom
   /etc/rc3.d/S99frandom -> ../init.d/frandom
   /etc/rc4.d/S99frandom -> ../init.d/frandom
   /etc/rc5.d/S99frandom -> ../init.d/frandom
Loading new frandom-1.1 DKMS files...
Building only for 4.3.3-sunxi
Building for architecture armhf
Building initial module for 4.3.3-sunxi
Done.

frandom:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/4.3.3-sunxi/updates/dkms/

depmod....

DKMS: install completed.
Processing triggers for initramfs-tools (0.103ubuntu4.2) ...
update-initramfs: Generating /boot/initrd.img-4.3.3-sunxi
cryptsetup: WARNING: failed to detect canonical device of /dev/mmcblk0p1
cryptsetup: WARNING: could not determine root device from /etc/fstab
Processing triggers for ureadahead (0.100.0-16) ...

gr@bpi:/var/lib/dkms/frandom/1.1/build$ cat dkms.conf
PACKAGE_NAME="frandom"
PACKAGE_VERSION="1.1"
BUILT_MODULE_NAME[0]=frandom
DEST_MODULE_LOCATION[0]=/updates/dkms
AUTOINSTALL=yes


 

Edited by wildcat_paris
Link to comment
Share on other sites

(see EDIT below first)

 

 

@wildcat_paris

Mainline kernel and headers packages probably don't have proper pre- and postinstall/remove scripts to properly trigger DKMS module recompilation. You can compare files in /var/lib/dpkg/info on your PC ubuntu and BPi

cd /var/lib/dpkg/info
ls | grep '^linux-'

 

 

I didn't find much comparing the file lists (that I could compare)

so I have tried a "grep dkms *"

but nothing much different even for the "frandom-dkms" related files

 

I had a look

gr@gr /var/lib/dpkg/info $ cat linux-image-extra-4.2.0-22-generic.postinst
#!/bin/sh
set -e

case "$0::$1" in
*.postinst::configure|*.postrm::remove)
        depmod -a -F /boot/System.map-4.2.0-22-generic 4.2.0-22-generic || true
        for dir in "/etc/kernel/postinst.d" "/etc/kernel/postinst.d/4.2.0-22-generic"
        do
                if [ -d "$dir" ]; then
                        run-parts --verbose --exit-on-error --arg="4.2.0-22-generic" --arg="/boot/vmlinuz-4.2.0-22-generic" "$dir"
                fi
        done
        ;;
esac

gr@gr /var/lib/dpkg/info $ ll /etc/kernel/postinst.d
total 24
-rwxr-xr-x 1 root root 2824 juil. 15  2014 apt-auto-removal
-rwxr-xr-x 1 root root 1120 juil. 14  2011 dkms
-rwxr-xr-x 1 root root  858 sept. 16  2011 initramfs-tools
-rwxr-xr-x 1 root root  481 mars   7  2011 nvidia-common.dpkg-remove
-rwxr-xr-x 1 root root  196 mars  18  2011 pm-utils
lrwxrwxrwx 1 root root   49 oct.   7  2014 update-notifier -> /usr/share/update-notifier/notify-reboot-required
-rwxr-xr-x 1 root root  641 mai    8  2014 zz-update-grub

on lamobo-r1

gr@bpi:/etc/kernel/postinst.d$ ll
total 20
drwxr-xr-x 2 root root 4096 Oct 11 00:02 ./
drwxr-xr-x 7 root root 4096 Dec 12 11:22 ../
-rwxr-xr-x 1 root root 2824 Apr 10  2014 apt-auto-removal*
-rwxr-xr-x 1 root root 1120 Jul 14  2011 dkms*
-rwxr-xr-x 1 root root  858 Jun  1  2012 initramfs-tools*
lrwxrwxrwx 1 root root   49 Oct  7  2014 update-notifier -> /usr/share/update-notifier/notify-reboot-required*

and the following file is the same "dkms autoinstall --kernelver $kernel"

gr@bpi:/etc/kernel/postinst.d$ cat /usr/lib/dkms/dkms_autoinstaller
#!/bin/sh
#
# dkms_autoinstaller        A service to automatically install DKMS modules
#                           for new kernels.
# chkconfig: 345 04 04
# description: An autoinstaller bootup service for DKMS
#
### BEGIN INIT INFO
# Provides: dkms_autoinstaller dkms
# Default-Start: 2 3 4 5
# Default-Stop:
# Required-Start: $local_fs
# Required-Stop: $null
# Short-Description: Automatically install DKMS modules for new kernels
# Description: A service to automatically install DKMS modules for new kernels.
### END INIT INFO

test -f /usr/sbin/dkms || exit 0

if [ -f /lib/lsb/init-functions ]; then
    . /lib/lsb/init-functions
fi
#We only have these functions on debian/ubuntu
# so on other distros just stub them out
if [ ! -f /etc/debian_version ]; then
    alias log_daemon_msg=/bin/echo
    log_end_msg() { if [ "$1" = "0" ]; then echo " Done. "; else echo " Failed. "; fi }
    alias log_action_begin_msg=log_daemon_msg
    alias log_action_end_msg=log_end_msg
fi

if [ -n "$2" ]; then
    kernel="$2"
else
    kernel=`uname -r`
fi

# See how we were called.
case "$1" in
  start)
    log_daemon_msg "dkms: running auto installation service for kernel $kernel"
    dkms autoinstall --kernelver $kernel
    log_end_msg $?
    ;;
  stop|restart|force-reload|status|reload)
    # ignore
    ;;
  *)
    echo "Usage: $0 {start}"
esac

exit 0

but

gr@bpi:/var/lib/dpkg/info$ cat linux-image-next-sunxi.postinst
#!/bin/sh

set -e

# Pass maintainer script parameters to hook scripts

export DEB_MAINT_PARAMS="$*"

# Tell initramfs builder whether it's wanted

export INITRD=Yes

test -d /etc/kernel/postinst.d && run-parts --arg="4.3.3-sunxi" --arg="/boot/vmlinuz-4.3.3-sunxi" /etc/kernel/postinst.d

if [ "$(grep nand /proc/partitions)" != "" ] && [ "$(grep mmc /proc/partitions)" = "" ]; then
mkimage -A arm -O linux -T kernel -C none -a "0x40008000" -e "0x40008000" -n "Linux kernel" -d /boot/vmlinuz-4.3.3-sunxi /boot/uImage  > /dev/null 2>&1
rm -f /boot/vmlinuz-4.3.3-sunxi /boot/zImage
else
ln -sf /boot/vmlinuz-4.3.3-sunxi /boot/zImage > /dev/null 2>&1 || mv /boot/vmlinuz-4.3.3-sunxi /boot/zImage
fi
touch /boot/.next
exit 0

so maybe a fix is needed to run all the scripts like

bpi:
test -d /etc/kernel/postinst.d && run-parts --arg="4.3.3-sunxi" --arg="/boot/vmlinuz-4.3.3-sunxi" /etc/kernel/postinst.d


amd64:
for dir in "/etc/kernel/postinst.d" "/etc/kernel/postinst.d/4.2.0-22-generic"
        do
                if [ -d "$dir" ]; then
                        run-parts --verbose --exit-on-error --arg="4.2.0-22-generic" --arg="/boot/vmlinuz-4.2.0-22-generic" "$dir"
                fi
        done

 

EDIT:

The call to recompile the dkms script is probably fine :) ok

 

in fact the mistake, the pre-remove "image" script shall not remove all the dkms sources

because when the recompile dkms script is started, there is not any dkms to compile at all :-)

Edited by wildcat_paris
Link to comment
Share on other sites

I almost finished adding support for building images with F2FS root filesystem (and it's relatively easy to add support for other filesystems, though I don't see the reason to do it for now), but there is small obstacle in the way - partition resizing in firstrun and resize2fs scripts.

Igor, can you change these scripts so it's possible to disable resizing operation (while executing everything else, plus if no resizing is needed, you need to start resize2fs script right away at first boot instead of reboot)?

 

Logic for disable resizing can look like this:

local root_partition=$(findmnt --target / -o SOURCE -n)
local rootfstype=$(blkid -s TYPE -o value $root_partition)
if [[ $rootfstype != ext4 ]]; then
...

Edit: or it can be just a file, i.e. /etc/.no_rootfs_resize

 

Plus next time you will be checking kernel configs, some of them don't have f2fs enabled or it's enabled as a module, which won't work for rootfs.

linux-cubox-default.config(5506): # CONFIG_F2FS_FS is not set
linux-guitar-default.config(3334): # CONFIG_F2FS_FS is not set
linux-odroid-default.config(3873): CONFIG_F2FS_FS=m
linux-odroid-next.config(3481): CONFIG_F2FS_FS=m
linux-s500-default.config(3334): # CONFIG_F2FS_FS is not set
linux-udoo-default.config(3482): # CONFIG_F2FS_FS is not set
linux-udoo-neo.config(3707): # CONFIG_F2FS_FS is not set
linux-udoo-next.config(4171): # CONFIG_F2FS_FS is not set
Link to comment
Share on other sites

It could be possible to add it to 3.4 too I guess. But let's leave this for "once".

 

I left behind boot script mod because this area is a mess. I'll be happy to see one general boot script for all boards but it's not possible without u-boot fixing: cubox, udoo, neo, guitar, odroid, ... they are all (very) different.

 

Let's focus on bug fixing into two major tasks: to build images with default settings and to build a kernel for all builds in a batch.

 

I promise update "this year" ;)

Link to comment
Share on other sites

Sure, let's postpone this part a bit since I suspect it will bring many new exceptions. Not all boot loaders are capable of this kind of scripting without fixing them first.

 

Is audio operational in 4.3.3 on all audio capable boards by default or extra work needs to be done?

 

I'll fix the "build_all" part.

Link to comment
Share on other sites

I pushed out an kernel update, so building images can wait, perhaps to fix the boot script part ... and to fix bugs which will surface in next days / weeks.

 

Now the script part ... extra clarification in manual, what else remain urgent & important? Now it's the time for some drastic changes - renaming scripts etc. ?:) 

Next I was thinking to rename branches - what do u think? master -> 2016.01 [default] , second -> 2015.10 , next -> 2016.09 ?

Link to comment
Share on other sites

Next I was thinking to rename branches - what do u think? master -> 2016.01 [default] , second -> 2015.10 , next -> 2016.09 ?

I think you can rename second and next to mark their "expiration dates", while master branch can stay master, and you can mark more or less stable points with git tags and use these tags in compile.sh to check out stable version to users while still pushing changes to master (like kernel and mainline u-boot do).

 

Now the script part ... extra clarification in manual, what else remain urgent & important? Now it's the time for some drastic changes - renaming scripts etc. ? :) 

Maybe some refactoring? I noticed that install_distribution_specific, install_kernel and install_board_specific functions all have general non-board, distribution or kernel related tweaks, so maybe move all general tweaks to one function?

Also I think I'll push new debootstrap/image creation code later today or tomorrow. While it's designed to be an option parallel to old process (it replaces custom_debootstrap and closing_image functions), I'll still wait until you tag current version of the master branch.

Link to comment
Share on other sites

hello,

=> compiled dev-sunxi for lamobo

 

1/ I am investigating so => just FYI for the moment

2/ the b53 module is not present. 2 patch warning @compile

2a/ either a patch problem of mine

2b/ either a patch problem of Armbian

 

let's see

 

 

Broadcast message from gr@bpi
        (/dev/ttyS0) at 21:18 ...

The system is going down for reboot NOW!
gr@bpi:/$
U-Boot SPL 2016.01-rc3-armbian (Jan 01 2016 - 16:01:46)
DRAM: 1024 MiB
CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
Trying to boot from MMC


U-Boot 2016.01-rc3-armbian (Jan 01 2016 - 16:01:46 +0100) Allwinner Technology

CPU:   Allwinner A20 (SUN7I)
I2C:   ready
DRAM:  1 GiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

Setting up a 720x576i composite-pal console (overscan 32x20)
In:    serial
Out:   vga
Err:   vga
SCSI:  SUNXI SCSI INIT
Target spinup took 0 ms.
AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part ccc apst
Net:   eth0: ethernet@01c50000
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB OHCI 1.0
USB2:   USB EHCI 1.00
USB3:   USB OHCI 1.0
scanning bus 0 for devices... 5 USB Device(s) found
scanning bus 2 for devices... 2 USB Device(s) found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
1973 bytes read in 191 ms (9.8 KiB/s)
## Executing script at 43100000
0 bytes read in 151 ms (0 Bytes/s)
28403 bytes read in 746 ms (37.1 KiB/s)
5956408 bytes read in 520 ms (10.9 MiB/s)
Kernel image @ 0x46000000 [ 0x000000 - 0x5ae338 ]
## Flattened Device Tree blob at 49000000
   Booting using the fdt blob at 0x49000000
   Using Device Tree in place at 49000000, end 49009ef2

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

Ubuntu 14.04.3 LTS bpi ttyS0

bpi login: gr
Password:
Last login: Fri Jan  1 20:59:00 CET 2016 on ttyS0

 _                          _             ____  _
| |    __ _ _ __ ___   ___ | |__   ___   |  _ \/ |
| |   / _` | '_ ` _ \ / _ \| '_ \ / _ \  | |_) | |
| |__| (_| | | | | | | (_) | |_) | (_) | |  _ <| |
|_____\__,_|_| |_| |_|\___/|_.__/ \___/  |_| \_\_|

Welcome to ARMBIAN (Ubuntu trusty 4.4.0-rc6-sunxi)

You have new mail.

Load: 0.84, 0.44, 0.17 - Board: 35.1°C - Memory: 906Mb

[ Restart is required ]

rm: remove write-protected regular empty file â/tmp/.reboot_requiredâ? y
rm: cannot remove â/tmp/.reboot_requiredâ: Operation not permitted
gr@bpi:~$ dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.0-rc6-sunxi (root@server1404) (gcc version 4.8.2 (Ubuntu/Linaro 4.8.2-16ubuntu4) ) #7 SMP Fri Jan 1 16:12:29 CET 2016
[    0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: Lamobo R1
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 261738
[    0.000000] free_area_init_node: node 0, pgdat c0b1a680, node_mem_map ef6f8000
[    0.000000]   Normal zone: 1728 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 196608 pages, LIFO batch:31
[    0.000000]   HighMem zone: 65130 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] PERCPU: Embedded 12 pages/cpu @ef6c6000 s19008 r8192 d21952 u49152
[    0.000000] pcpu-alloc: s19008 r8192 d21952 u49152 alloc=12*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260010
[    0.000000] Kernel command line: console=tty1 root=/dev/mmcblk0p1 rootwait rootfstype=ext4 sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_no_mali_mem_reserve sunxi_fb_mem_reserve=16 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 enforcing=0 loglevel=1
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1025008K/1046952K available (8395K kernel code, 373K rwdata, 2204K rodata, 364K init, 313K bss, 21944K reserved, 0K cma-reserved, 260520K highmem)
[    0.000000] Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    modules : 0xbf000000 - 0xbfe00000   (  14 MB)
      .text : 0xc0008000 - 0xc0a62114   (10601 kB)
      .init : 0xc0a63000 - 0xc0abe000   ( 364 kB)
      .data : 0xc0abe000 - 0xc0b1b660   ( 374 kB)
       .bss : 0xc0b1e000 - 0xc0b6c738   ( 314 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000017] Switching to timer-based delay loop, resolution 41ns
[    0.000386] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000562] clocksource: hstimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 12741736309 ns
[    0.000743] Console: colour dummy device 80x30
[    0.000885] console [tty1] enabled
[    0.000911] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000925] pid_max: default: 32768 minimum: 301
[    0.001053] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001065] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001802] Initializing cgroup subsys io
[    0.001836] Initializing cgroup subsys memory
[    0.001868] Initializing cgroup subsys devices
[    0.001883] Initializing cgroup subsys freezer
[    0.001896] Initializing cgroup subsys net_cls
[    0.001908] Initializing cgroup subsys perf_event
[    0.001954] CPU: Testing write buffer coherency: ok
[    0.002328] /cpus/cpu@0 missing clock-frequency property
[    0.002348] /cpus/cpu@1 missing clock-frequency property
[    0.002361] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002423] Setting up static identity map for 0x400082c0 - 0x40008318
[    0.004386] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.004482] Brought up 2 CPUs
[    0.004505] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[    0.004512] CPU: All CPU(s) started in HYP mode.
[    0.004517] CPU: Virtualization extensions available.
[    0.005376] devtmpfs: initialized
[    0.013478] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 4
[    0.013854] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.014159] xor: measuring software checksum speed
[    0.109967]    arm4regs  :  1243.600 MB/sec
[    0.210023]    8regs     :   772.000 MB/sec
[    0.310078]    32regs    :   792.400 MB/sec
[    0.410132]    neon      :  1162.400 MB/sec
[    0.410142] xor: using function: arm4regs (1243.600 MB/sec)
[    0.410170] prandom: seed boundary self test passed
[    0.413304] prandom: 100 self tests passed
[    0.413414] pinctrl core: initialized pinctrl subsystem
[    0.414541] NET: Registered protocol family 16
[    0.415166] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.440209] cpuidle: using governor ladder
[    0.470231] cpuidle: using governor menu
[    0.477097] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.477115] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.650719] raid6: int32x1  gen()   138 MB/s
[    0.820859] raid6: int32x1  xor()   111 MB/s
[    0.990808] raid6: int32x2  gen()   185 MB/s
[    1.160849] raid6: int32x2  xor()   119 MB/s
[    1.331168] raid6: int32x4  gen()   197 MB/s
[    1.501192] raid6: int32x4  xor()   122 MB/s
[    1.671413] raid6: int32x8  gen()   179 MB/s
[    1.841554] raid6: int32x8  xor()   116 MB/s
[    2.011647] raid6: neonx1   gen()   437 MB/s
[    2.181735] raid6: neonx1   xor()   324 MB/s
[    2.351793] raid6: neonx2   gen()   577 MB/s
[    2.521961] raid6: neonx2   xor()   425 MB/s
[    2.692085] raid6: neonx4   gen()   706 MB/s
[    2.862248] raid6: neonx4   xor()   480 MB/s
[    3.032417] raid6: neonx8   gen()   639 MB/s
[    3.202533] raid6: neonx8   xor()   450 MB/s
[    3.202541] raid6: using algorithm neonx4 gen() 706 MB/s
[    3.202547] raid6: .... xor() 480 MB/s, rmw enabled
[    3.202554] raid6: using intx1 recovery algorithm
[    3.202898] reg-fixed-voltage ahci-5v: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/ahci_pwr_pin@0, deferring probe
[    3.202950] reg-fixed-voltage usb1-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb1_vbus_pin@0, deferring probe
[    3.202981] reg-fixed-voltage usb2-vbus: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/usb2_vbus_pin@0, deferring probe
[    3.203766] reg-fixed-voltage gmac-3v3: could not find pctldev for node /soc@01c00000/pinctrl@01c20800/gmac_power_pin@0, deferring probe
[    3.204712] SCSI subsystem initialized
[    3.205033] libata version 3.00 loaded.
[    3.205369] usbcore: registered new interface driver usbfs
[    3.205440] usbcore: registered new interface driver hub
[    3.205514] usbcore: registered new device driver usb
[    3.205787] media: Linux media interface: v0.10
[    3.205848] Linux video capture interface: v2.00
[    3.205965] pps_core: LinuxPPS API ver. 1 registered
[    3.205974] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    3.206004] PTP clock support registered
[    3.208434] clocksource: Switched to clocksource arch_sys_counter
[    3.209456] simple-framebuffer 7fe79000.framebuffer: framebuffer at 0x7fe79000, 0x178e00 bytes, mapped to 0xf0900000
[    3.209475] simple-framebuffer 7fe79000.framebuffer: format=x8r8g8b8, mode=656x536x32, linelength=2880
[    3.216289] Console: switching to colour frame buffer device 82x33
[    3.222361] simple-framebuffer 7fe79000.framebuffer: fb0: simplefb registered!
[    3.232467] NET: Registered protocol family 2
[    3.233191] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    3.233284] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    3.233411] TCP: Hash tables configured (established 8192 bind 8192)
[    3.233501] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    3.233565] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    3.233841] NET: Registered protocol family 1
[    3.234278] RPC: Registered named UNIX socket transport module.
[    3.234292] RPC: Registered udp transport module.
[    3.234299] RPC: Registered tcp transport module.
[    3.234305] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    3.235270] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    3.238160] futex hash table entries: 512 (order: 3, 32768 bytes)
[    3.238752] Initialise system trusted keyring
[    3.249989] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    3.251841] NFS: Registering the id_resolver key type
[    3.251908] Key type id_resolver registered
[    3.251916] Key type id_legacy registered
[    3.252601] Key type cifs.idmap registered
[    3.252902] fuse init (API version 7.23)
[    3.254014] JFS: nTxBlock = 8007, nTxLock = 64063
[    3.264466] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    3.275967] bounce: pool size: 64 pages
[    3.276098] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    3.276293] io scheduler noop registered
[    3.276313] io scheduler deadline registered (default)
[    3.276371] io scheduler cfq registered
[    3.279119] sun7i-a20-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    3.286948] sun4i-dma 1c02000.dma-controller: Successfully probed SUN4I_DMA
[    3.346935] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    3.370504] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 41, base_baud = 1500000) is a U6_16550A
[    3.391731] 1c28c00.serial: ttyS1 at MMIO 0x1c28c00 (irq = 42, base_baud = 1500000) is a U6_16550A
[    3.415149] 1c29c00.serial: ttyS2 at MMIO 0x1c29c00 (irq = 43, base_baud = 1500000) is a U6_16550A
[    3.423715] loop: module loaded
[    3.424037] Loading iSCSI transport class v2.0-870.
[    3.488503] ahci-sunxi 1c18000.sata: controller can't do PMP, turning off CAP_PMP
[    3.488555] ahci-sunxi 1c18000.sata: SSS flag set, parallel bus scan disabled
[    3.488589] ahci-sunxi 1c18000.sata: AHCI 0001.0100 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[    3.488606] ahci-sunxi 1c18000.sata: flags: ncq sntf stag pm led clo only pio slum part ccc
[    3.489660] scsi host0: ahci-sunxi
[    3.490038] ata1: SATA max UDMA/133 mmio [mem 0x01c18000-0x01c18fff] port 0x100 irq 31
[    3.491442] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[    3.494051] tun: Universal TUN/TAP device driver, 1.6
[    3.494068] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    3.494727] PPP generic driver version 2.4.2
[    3.494955] PPP BSD Compression module registered
[    3.494970] PPP Deflate Compression module registered
[    3.495019] PPP MPPE Compression module registered
[    3.495041] NET: Registered protocol family 24
[    3.495216] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.495231] ehci-platform: EHCI generic platform driver
[    3.495611] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    3.495646] ohci-platform: OHCI generic platform driver
[    3.496193] usbcore: registered new interface driver cdc_acm
[    3.496203] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    3.496306] usbcore: registered new interface driver usb-storage
[    3.496322] ftdi_elan: driver ftdi-elan
[    3.496779] usbcore: registered new interface driver ftdi-elan
[    3.497902] sunxi-rtc 1c20d00.rtc: rtc core: registered rtc-sunxi as rtc0
[    3.497918] sunxi-rtc 1c20d00.rtc: RTC enabled
[    3.498044] i2c /dev entries driver
[    3.499124] axp20x 0-0034: AXP20x variant AXP209 found
[    3.512112] input: axp20x-pek as /devices/platform/soc@01c00000/1c2ac00.i2c/i2c-0/0-0034/axp20x-pek/input/input0
[    3.512418] axp20x 0-0034: AXP20X driver loaded
[    3.514121] IR NEC protocol handler initialized
[    3.514138] IR RC5(x/sz) protocol handler initialized
[    3.514149] IR RC6 protocol handler initialized
[    3.514159] IR JVC protocol handler initialized
[    3.514170] IR Sony protocol handler initialized
[    3.514180] IR SANYO protocol handler initialized
[    3.514191] IR Sharp protocol handler initialized
[    3.514201] IR MCE Keyboard/mouse protocol handler initialized
[    3.514212] IR XMP protocol handler initialized
[    3.516714] sunxi-wdt 1c20c90.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    3.517508] sunxi-mmc 1c0f000.mmc: No vqmmc regulator found
[    3.517995] sunxi-mmc 1c0f000.mmc: Got CD GPIO
[    3.548673] sunxi-mmc 1c0f000.mmc: base:0xf08ca000 irq:27
[    3.549563] ledtrig-cpu: registered to indicate activity on CPUs
[    3.549739] sun4i-ss 1c15000.crypto-engine: no reset control found
[    3.551270] sun4i-ss 1c15000.crypto-engine: Die ID 0
[    3.552328] sun4i-ss 1c15000.crypto-engine: sun4i-ss PRNG loaded
[    3.552786] usbcore: registered new interface driver usbhid
[    3.552794] usbhid: USB HID core driver
[    3.553823] ipip: IPv4 over IPv4 tunneling driver
[    3.554641] Initializing XFRM netlink socket
[    3.555817] NET: Registered protocol family 10
[    3.557065] NET: Registered protocol family 17
[    3.557113] NET: Registered protocol family 15
[    3.557181] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    3.557197] can: controller area network core (rev 20120528 abi 9)
[    3.557281] NET: Registered protocol family 29
[    3.557371] 8021q: 802.1Q VLAN Support v1.8
[    3.557463] Key type dns_resolver registered
[    3.568215] cpu cpu0: running cpufreq without cooling device: -38
[    3.568293] Registering SWP/SWPB emulation handler
[    3.569188] registered taskstats version 1
[    3.569209] Loading compiled-in X.509 certificates
[    3.569695] zswap: default zpool zbud not available
[    3.569707] zswap: pool creation failed
[    3.572502] Btrfs loaded
[    3.573877] Key type encrypted registered
[    3.581402] vcc3v0: disabling
[    3.581435] vcc5v0: disabling
[    3.581443] ahci-5v: disabling
[    3.581455] usb1-vbus: disabling
[    3.581464] usb2-vbus: disabling
[    3.581472] gmac-3v3: disabling
[    3.595295] mmc0: host does not support reading read-only switch, assuming write-enable
[    3.598267] mmc0: new high speed SDHC card at address e624
[    3.599058] mmcblk0: mmc0:e624 SP16G 14.8 GiB
[    3.600179]  mmcblk0: p1
[    3.838559] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    3.839541] ata1.00: ATA-9: SanDisk SDSSDP128G, 3.2.0, max UDMA/133
[    3.839579] ata1.00: 246162672 sectors, multi 1: LBA48 NCQ (depth 31/32)
[    3.840920] ata1.00: configured for UDMA/133
[    3.842320] scsi 0:0:0:0: Direct-Access     ATA      SanDisk SDSSDP12 0    PQ: 0 ANSI: 5
[    3.844915] sd 0:0:0:0: [sda] 246162672 512-byte logical blocks: (126 GB/117 GiB)
[    3.846295] sd 0:0:0:0: [sda] Write Protect is off
[    3.846347] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    3.846722] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    3.850809]  sda: sda1
[    3.854232] sd 0:0:0:0: [sda] Attached SCSI disk
[    3.872790] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null)
[    3.872934] VFS: Mounted root (ext4 filesystem) readonly on device 179:1.
[    3.881732] devtmpfs: mounted
[    3.883002] Freeing unused kernel memory: 364K (c0a63000 - c0abe000)
[    4.547924] random: init urandom read with 9 bits of entropy available
[    5.908199] systemd-udevd[340]: starting version 204
[    6.639953] Key type asymmetric registered
[    6.651824] Asymmetric key parser 'x509' registered
[    6.659715] pkcs7_message: module license 'unspecified' taints kernel.
[    6.659740] Disabling lock debugging due to kernel taint
[    6.659924] pkcs7_message: Unknown symbol asymmetric_key_id_same (err 0)
[    6.659950] pkcs7_message: Unknown symbol x509_free_certificate (err 0)
[    6.659969] pkcs7_message: Unknown symbol look_up_OID (err 0)
[    6.659990] pkcs7_message: Unknown symbol mpi_read_raw_data (err 0)
[    6.660012] pkcs7_message: Unknown symbol sprint_oid (err 0)
[    6.660030] pkcs7_message: Unknown symbol crypto_destroy_tfm (err 0)
[    6.660045] pkcs7_message: Unknown symbol x509_cert_parse (err 0)
[    6.660057] pkcs7_message: Unknown symbol x509_get_sig_params (err 0)
[    6.660069] pkcs7_message: Unknown symbol x509_decode_time (err 0)
[    6.660088] pkcs7_message: Unknown symbol public_key_verify_signature (err 0)
[    6.660103] pkcs7_message: Unknown symbol crypto_shash_update (err 0)
[    6.660131] pkcs7_message: Unknown symbol hash_algo_name (err 0)
[    6.660142] pkcs7_message: Unknown symbol x509_check_signature (err 0)
[    6.660158] pkcs7_message: Unknown symbol asymmetric_key_generate_id (err 0)
[    6.660169] pkcs7_message: Unknown symbol crypto_shash_finup (err 0)
[    6.660182] pkcs7_message: Unknown symbol mpi_free (err 0)
[    6.660193] pkcs7_message: Unknown symbol x509_request_asymmetric_key (err 0)
[    6.660212] pkcs7_message: Unknown symbol verify_signature (err 0)
[    6.660224] pkcs7_message: Unknown symbol asn1_ber_decoder (err 0)
[    6.660238] pkcs7_message: Unknown symbol crypto_alloc_shash (err 0)
[    6.691967] ehci-platform 1c14000.usb: EHCI Host Controller
[    6.692024] ehci-platform 1c14000.usb: new USB bus registered, assigned bus number 1
[    6.692250] ehci-platform 1c14000.usb: irq 28, io mem 0x01c14000
[    6.708577] ehci-platform 1c14000.usb: USB 2.0 started, EHCI 1.00
[    6.708945] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    6.708965] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.708976] usb usb1: Product: EHCI Host Controller
[    6.708986] usb usb1: Manufacturer: Linux 4.4.0-rc6-sunxi ehci_hcd
[    6.708994] usb usb1: SerialNumber: 1c14000.usb
[    6.711943] hub 1-0:1.0: USB hub found
[    6.712562] hub 1-0:1.0: 1 port detected
[    6.713612] ehci-platform 1c1c000.usb: EHCI Host Controller
[    6.713671] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 2
[    6.713924] ehci-platform 1c1c000.usb: irq 32, io mem 0x01c1c000
[    6.728555] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[    6.728925] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    6.728944] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.728954] usb usb2: Product: EHCI Host Controller
[    6.728964] usb usb2: Manufacturer: Linux 4.4.0-rc6-sunxi ehci_hcd
[    6.728973] usb usb2: SerialNumber: 1c1c000.usb
[    6.730472] hub 2-0:1.0: USB hub found
[    6.730911] hub 2-0:1.0: 1 port detected
[    6.731979] ohci-platform 1c14400.usb: Generic Platform OHCI controller
[    6.732046] ohci-platform 1c14400.usb: new USB bus registered, assigned bus number 3
[    6.732261] ohci-platform 1c14400.usb: irq 29, io mem 0x01c14400
[    6.751040] pkcs7_message: Unknown symbol asymmetric_key_id_same (err 0)
[    6.751078] pkcs7_message: Unknown symbol x509_free_certificate (err 0)
[    6.751099] pkcs7_message: Unknown symbol look_up_OID (err 0)
[    6.751120] pkcs7_message: Unknown symbol mpi_read_raw_data (err 0)
[    6.751142] pkcs7_message: Unknown symbol sprint_oid (err 0)
[    6.751160] pkcs7_message: Unknown symbol crypto_destroy_tfm (err 0)
[    6.751176] pkcs7_message: Unknown symbol x509_cert_parse (err 0)
[    6.751189] pkcs7_message: Unknown symbol x509_get_sig_params (err 0)
[    6.751201] pkcs7_message: Unknown symbol x509_decode_time (err 0)
[    6.751220] pkcs7_message: Unknown symbol public_key_verify_signature (err 0)
[    6.751236] pkcs7_message: Unknown symbol crypto_shash_update (err 0)
[    6.751265] pkcs7_message: Unknown symbol hash_algo_name (err 0)
[    6.751277] pkcs7_message: Unknown symbol x509_check_signature (err 0)
[    6.751294] pkcs7_message: Unknown symbol asymmetric_key_generate_id (err 0)
[    6.751306] pkcs7_message: Unknown symbol crypto_shash_finup (err 0)
[    6.751319] pkcs7_message: Unknown symbol mpi_free (err 0)
[    6.751331] pkcs7_message: Unknown symbol x509_request_asymmetric_key (err 0)
[    6.751351] pkcs7_message: Unknown symbol verify_signature (err 0)
[    6.751363] pkcs7_message: Unknown symbol asn1_ber_decoder (err 0)
[    6.751377] pkcs7_message: Unknown symbol crypto_alloc_shash (err 0)
[    6.792939] usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
[    6.792963] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.792975] usb usb3: Product: Generic Platform OHCI controller
[    6.792984] usb usb3: Manufacturer: Linux 4.4.0-rc6-sunxi ohci_hcd
[    6.792993] usb usb3: SerialNumber: 1c14400.usb
[    6.794612] hub 3-0:1.0: USB hub found
[    6.794695] hub 3-0:1.0: 1 port detected
[    6.795642] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[    6.795694] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 4
[    6.795925] ohci-platform 1c1c400.usb: irq 33, io mem 0x01c1c400
[    6.852942] usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
[    6.852965] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    6.852976] usb usb4: Product: Generic Platform OHCI controller
[    6.852986] usb usb4: Manufacturer: Linux 4.4.0-rc6-sunxi ohci_hcd
[    6.852994] usb usb4: SerialNumber: 1c1c400.usb
[    6.854905] hub 4-0:1.0: USB hub found
[    6.855003] hub 4-0:1.0: 1 port detected
[    6.939768] sun7i-dwmac 1c50000.ethernet: no reset control found
[    6.939796]  Ring mode enabled
[    6.939804]  No HW DMA feature register supported
[    6.939812]  Normal descriptors
[    6.939818]  TX Checksum insertion supported
[    6.944613] async_tx: api initialized (async)
[    7.027362] EXT4-fs (mmcblk0p1): re-mounted. Opts: data=writeback,commit=600,errors=remount-ro
[    7.033573] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    7.058648] usb 2-1: new high-speed USB device number 2 using ehci-platform
[    7.180734] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    7.180757] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    7.180768] usb 1-1: Product: USB2.0 Hub
[    7.182221] hub 1-1:1.0: USB hub found
[    7.182716] hub 1-1:1.0: 4 ports detected
[    7.207380] libphy: stmmac: probed
[    7.207411] eth0: PHY ID 03625f24 at 0 IRQ POLL (stmmac-0:00) active
[    7.207420] eth0: PHY ID 03625f24 at 1 IRQ POLL (stmmac-0:01)
[    7.207429] eth0: PHY ID 03625f24 at 2 IRQ POLL (stmmac-0:02)
[    7.207437] eth0: PHY ID 03625f24 at 3 IRQ POLL (stmmac-0:03)
[    7.207445] eth0: PHY ID 03625f24 at 4 IRQ POLL (stmmac-0:04)
[    7.207453] eth0: PHY ID 00000000 at 30 IRQ POLL (stmmac-0:1e)
[    7.211042] usb 2-1: New USB device found, idVendor=0bda, idProduct=8178
[    7.211065] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    7.211076] usb 2-1: Product: 802.11n WLAN Adapter
[    7.211084] usb 2-1: Manufacturer: Realtek
[    7.211093] usb 2-1: SerialNumber: 00e04c000001
[    7.348793] usbcore: registered new interface driver uas
[    7.458658] usb 1-1.1: new high-speed USB device number 3 using ehci-platform
[    7.488187] usbcore: registered new interface driver chaoskey
[    7.585668] usb 1-1.1: New USB device found, idVendor=2001, idProduct=3c1a
[    7.585691] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    7.585701] usb 1-1.1: Product: 11n Adapter
[    7.585710] usb 1-1.1: Manufacturer: Ralink
[    7.585719] usb 1-1.1: SerialNumber: 1.0
[    7.668641] usb 1-1.2: new high-speed USB device number 4 using ehci-platform
[    7.780448] usb 1-1.2: New USB device found, idVendor=0bda, idProduct=8812
[    7.780471] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    7.780481] usb 1-1.2: Product: 802.11n NIC
[    7.780490] usb 1-1.2: Manufacturer: Realtek
[    7.780499] usb 1-1.2: SerialNumber: 123456
[    7.783131] xz_dec_test: module loaded
[    7.783157] xz_dec_test: Create a device node with 'mknod xz_dec_test c 248 0' and write .xz files to it.
[    7.858650] usb 1-1.4: new high-speed USB device number 5 using ehci-platform
[    7.894776] cfg80211: World regulatory domain updated:
[    7.894807] cfg80211:  DFS Master region: unset
[    7.894815] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[    7.894828] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[    7.894838] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[    7.894847] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm), (N/A)
[    7.894856] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[    7.894865] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
[    7.976016] usb 1-1.4: New USB device found, idVendor=0b95, idProduct=1790
[    7.976040] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    7.976051] usb 1-1.4: Product: AX88179
[    7.976060] usb 1-1.4: Manufacturer: ASIX Elec. Corp.
[    7.976069] usb 1-1.4: SerialNumber: 00000000000080
[    8.805589] EXT4-fs (sda1): mounted filesystem with writeback data mode. Opts: data=writeback,commit=600,discard
[    9.638389] Adding 1953120k swap on /home2/swap.  Priority:-1 extents:2 across:2084192k SSFS
[   10.288656] usb 1-1.1: reset high-speed USB device number 3 using ehci-platform
[   10.408882] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5592, rev 0222 detected
[   10.459445] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 000f detected
[   10.499521]  RX IPC Checksum Offload disabled
[   10.499549]  No MAC Management Counters available
[   10.500889] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   10.502973] usbcore: registered new interface driver rt2800usb
[   10.523892] rt2800usb 1-1.1:1.0 wlan2: renamed from wlan0
[   10.559083] systemd-udevd[360]: renamed network interface wlan0 to wlan2
[   10.565585] ax88179_178a 1-1.4:1.0 eth1: register 'ax88179_178a' at usb-1c14000.usb-1.4, ASIX AX88179 USB 3.0 Gigabit Ethernet, 00:0e:c6:c0:06:f2
[   10.565809] usbcore: registered new interface driver ax88179_178a
[   10.625860] device eth0.102 entered promiscuous mode
[   10.641958] device eth0 entered promiscuous mode
[   12.320124] br0: port 1(eth0.102) entered listening state
[   12.320202] br0: port 1(eth0.102) entered listening state
[   12.464766] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[   12.478767] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.33
[   13.041807] br0: port 1(eth0.102) entered disabled state
[   13.753785] device-mapper: uevent: version 1.0.3
[   13.754360] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
[   15.130453] random: nonblocking pool is initialized
[   16.422506] ax88179_178a 1-1.4:1.0 eth1: ax88179 - Link status is: 1
[   17.202354] init: bluetooth-touch main process (1786) terminated with status 127
[   17.665088] Bluetooth: Core ver 2.21
[   17.665215] NET: Registered protocol family 31
[   17.665225] Bluetooth: HCI device and connection manager initialized
[   17.665252] Bluetooth: HCI socket layer initialized
[   17.665269] Bluetooth: L2CAP socket layer initialized
[   17.665304] Bluetooth: SCO socket layer initialized
[   17.701451] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   17.701472] Bluetooth: BNEP filters: protocol multicast
[   17.701499] Bluetooth: BNEP socket layer initialized
[   17.753380] Bluetooth: RFCOMM TTY layer initialized
[   17.753429] Bluetooth: RFCOMM socket layer initialized
[   17.753465] Bluetooth: RFCOMM ver 1.11
[   37.880896] init: failsafe main process (1756) killed by TERM signal
[   38.044175] ip_tables: (C) 2000-2006 Netfilter Core Team
[   39.823371] init: irqbalance main process (2204) terminated with status 127
[   39.983722] zram: Added device: zram0
[   39.997887] zram: Added device: zram1
[   40.079089] zram0: detected capacity change from 0 to 105000960
[   40.206232] Adding 102536k swap on /dev/zram0.  Priority:5 extents:1 across:102536k SSFS
[   40.208869] zram1: detected capacity change from 0 to 105000960
[   40.304975] Adding 102536k swap on /dev/zram1.  Priority:5 extents:1 across:102536k SSFS
[   41.360165] nf_conntrack version 0.5.0 (16021 buckets, 64084 max)
[  108.400542] cgroup: systemd-logind (1798) created nested cgroup for controller "memory" which has incomplete hierarchy support. Nested cgroups may change behavior in the future.
[  108.400563] cgroup: "memory" requires setting use_hierarchy to 1 on the root

 

 

Link to comment
Share on other sites

@Igor @Zador

 

I am testing... I guess there is a reason why "0013-lamobo_r1_dts.patch" & "bananapi-r1-switch-driver.patch" are missing in patch/kernel/sunxi-dev :)

root@server1404:~/armtest/lib/patch/kernel/sunxi-next# ls *r1*
0012-bananapi_r1_dts.patch  0013-lamobo_r1_dts.patch  bananapi-r1-switch-driver.patch

NOTE: all the changes you have made recently are making "Armbian tool" really easy to use/debug/etc.

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