idandavidi Posted October 23, 2016 Posted October 23, 2016 Hello, I am trying to compile some firmware to recognize a DVB-T USB device. The compilation process raises an error as following: /home/idan/media_build/v4l/sunxi-cir.c:26:25: fatal error: linux/reset.h: No such file or directory #include <linux/reset.h> ^compilation terminated. I was trying to to build kernel headers again: $ cd /usr/src/linux-headers-3.4.112-sun8i $ make headers_check $ make headers_install $ make scripts And then I run this command in the source directory: $ make ARCH=arm KSRC=/usr/src/linux-headers-3.4.112-sun8i this is the output: make -C /home/idan/media_build/v4lmake[1]: Entering directory '/home/idan/media_build/v4l'creating symbolic links...make -C firmware prepmake[2]: Entering directory '/home/idan/media_build/v4l/firmware'make[2]: Leaving directory '/home/idan/media_build/v4l/firmware'make -C firmwaremake[2]: Entering directory '/home/idan/media_build/v4l/firmware'make[2]: Nothing to be done for 'default'.make[2]: Leaving directory '/home/idan/media_build/v4l/firmware'Kernel build directory is /lib/modules/3.4.112-sun8i/buildmake -C ../linux apply_patchesmake[2]: Entering directory '/home/idan/media_build/linux'Syncing with dir ../media/Patches for 3.4.112-sun8i already applied.make[2]: Leaving directory '/home/idan/media_build/linux'make -C /lib/modules/3.4.112-sun8i/build SUBDIRS=/home/idan/media_build/v4l modulesmake[2]: Entering directory '/usr/src/linux-headers-3.4.112-sun8i' make ARCH=arm KSRC= CC [M] /home/idan/media_build/v4l/sunxi-cir.oIn file included from <command-line>:0:0:/home/idan/media_build/v4l/compat.h:1573:0: warning: "writel_relaxed" redefined #define writel_relaxed writel ^In file included from include/linux/scatterlist.h:10:0, from /home/idan/media_build/v4l/compat.h:1260, from <command-line>:0:/usr/src/linux-headers-3.4.112-sun8i/arch/arm/include/asm/io.h:235:0: note: this is the location of the previous definition #define writel_relaxed(v,c) ((void)__raw_writel((__force u32) \ ^/home/idan/media_build/v4l/sunxi-cir.c:26:25: fatal error: linux/reset.h: No such file or directory #include <linux/reset.h> ^compilation terminated.scripts/Makefile.build:313: recipe for target '/home/idan/media_build/v4l/sunxi-cir.o' failedmake[3]: *** [/home/idan/media_build/v4l/sunxi-cir.o] Error 1Makefile:1368: recipe for target '_module_/home/idan/media_build/v4l' failedmake[2]: *** [_module_/home/idan/media_build/v4l] Error 2make[2]: Leaving directory '/usr/src/linux-headers-3.4.112-sun8i'Makefile:51: recipe for target 'default' failedmake[1]: *** [default] Error 2make[1]: Leaving directory '/home/idan/media_build/v4l'Makefile:26: recipe for target 'all' failedmake: *** [all] Error 2 This is the same error from the compilation process. How can I solve this problem? Any help will be appreciated.
jernej Posted October 23, 2016 Posted October 23, 2016 You are trying to build backported drivers which warned you in the first place that they might not work properly and IMO this includes compilation. That being said, you can build these drivers by excluding sunxi-cir driver, which is provided by the Armbian anyway. Be very careful when you are mixing old and new drivers/frameworks. Maybe you will have to blacklist or remove some of the old drivers.
idandavidi Posted October 24, 2016 Author Posted October 24, 2016 You are trying to build backported drivers which warned you in the first place that they might not work properly and IMO this includes compilation. That being said, you can build these drivers by excluding sunxi-cir driver, which is provided by the Armbian anyway. Be very careful when you are mixing old and new drivers/frameworks. Maybe you will have to blacklist or remove some of the old drivers. How can I exclude sunxi-cir driver?
jernej Posted October 24, 2016 Posted October 24, 2016 How can I exclude sunxi-cir driver? With the following command: sed -i '3i IR_SUNXI' v4l/versions.txt Of course, it has to be executed inside media_build folder. You may or may not bump into the issue with "NEED_WRITEL_RELAXED". If you do, you have to apply this patch: https://github.com/jernejsk/OpenELEC-OPi2/blob/f83e46cf65c71c2a4c9b5f1394d27474000f6abf/projects/H3/patches/media_build/media_build-00-build-fix.patch And rebuild again.
idandavidi Posted October 25, 2016 Author Posted October 25, 2016 (edited) With the following command: sed -i '3i IR_SUNXI' v4l/versions.txt Of course, it has to be executed inside media_build folder. You may or may not bump into the issue with "NEED_WRITEL_RELAXED". If you do, you have to apply this patch: https://github.com/jernejsk/OpenELEC-OPi2/blob/f83e46cf65c71c2a4c9b5f1394d27474000f6abf/projects/H3/patches/media_build/media_build-00-build-fix.patch And rebuild again. Hello, After running the command, it finally built!!!! You don't know how happy I was!! I am trying to get to this point for a week now. Then I did sudo make install and everything looks good. Unfortunately, the OS still does not recognize the tuner (w_scan gives FATAL: ***** NO USEABLE TERRESTRIAL CARD FOUND. *****) It seems the there is a problem while connecting the tuner to the board, please check out this mseg log: (I have marked in red the lines that the log marked in red as well) root@orangepipc:/home/idan/media_build# dmesg -c [32m[ 0.000000] [0mBooting Linux on physical CPU 0 [32m[ 0.000000] [0mInitializing cgroup subsys cpuset [32m[ 0.000000] [0mInitializing cgroup subsys cpu [32m[ 0.000000] [0mLinux version 3.4.112-sun8i (root@xenial) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.1) ) #8 SMP PREEMPT Sat Oct 22 19:20:57 CEST 2016 [32m[ 0.000000] [0m[33mCPU[0m: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d [32m[ 0.000000] [0m[33mCPU[0m: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [32m[ 0.000000] [0m[33mMachine[0m: sun8i [32m[ 0.000000] [0m[33mcma[0m: CMA: reserved 256 MiB at 50000000 [32m[ 0.000000] [0m[33mMemory policy[0m: ECC disabled, Data cache writealloc [32m[ 0.000000] [0m[33mOn node 0 totalpages[0m: 262144 [32m[ 0.000000] [0m[33mfree_area_init_node[0m: node 0, pgdat c0a22a00, node_mem_map c0b5c000 [32m[ 0.000000] [0m[33m Normal zone[0m: 1710 pages used for memmap [32m[ 0.000000] [0m[33m Normal zone[0m: 0 pages reserved [32m[ 0.000000] [0m[33m Normal zone[0m: 192850 pages, LIFO batch:31 [32m[ 0.000000] [0m[33m HighMem zone[0m: 594 pages used for memmap [32m[ 0.000000] [0m[33m HighMem zone[0m: 66990 pages, LIFO batch:15 [32m[ 0.000000] [0mscript_init enter! [32m[ 0.000000] [0mscript_init exit! [32m[ 0.000000] [0m[33mPERCPU[0m: Embedded 8 pages/cpu @c1472000 s11968 r8192 d12608 u32768 [32m[ 0.000000] [0m[33mpcpu-alloc[0m: s11968 r8192 d12608 u32768 alloc=8*4096 [32m[ 0.000000] [0m[33mpcpu-alloc[0m: [0] 0 [0] 1 [0] 2 [0] 3 [32m[ 0.000000] [0m[33mBuilt 1 zonelists in Zone order, mobility grouping on. Total pages[0m: 259840 [32m[ 0.000000] [0m[33mKernel command line[0m: console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p1 rootwait rootfstype=ext4 cgroup_enable=memory swapaccount=1 sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_no_mali_mem_reserve sunxi_fb_mem_reserve=16 panic=10 consoleblank=0 enforcing=0 loglevel=1 [32m[ 0.000000] [0m[33mPID hash table entries[0m: 4096 (order: 2, 16384 bytes) [32m[ 0.000000] [0m[33mDentry cache hash table entries[0m: 131072 (order: 7, 524288 bytes) [32m[ 0.000000] [0m[33mInode-cache hash table entries[0m: 65536 (order: 6, 262144 bytes) [32m[ 0.000000] [0mallocated 2097152 bytes of page_cgroup [32m[ 0.000000] [0mplease try 'cgroup_disable=memory' option if you don't want memory cgroups [32m[ 0.000000] [0m[33mMemory[0m: 1024MB = 1024MB total [32m[ 0.000000] [0m[33mMemory[0m: 758708k/758708k available, 289868k reserved, 270336K highmem [32m[ 0.000000] [0mVirtual kernel memory layout: [32m[ 0.000000] [0m[33m vector [0m: 0xffff0000 - 0xffff1000 ( 4 kB) [32m[ 0.000000] [0m[33m fixmap [0m: 0xfff00000 - 0xfffe0000 ( 896 kB) [32m[ 0.000000] [0m[33m vmalloc [0m: 0xf0000000 - 0xff000000 ( 240 MB) [32m[ 0.000000] [0m[33m lowmem [0m: 0xc0000000 - 0xef800000 ( 760 MB) [32m[ 0.000000] [0m[33m pkmap [0m: 0xbfe00000 - 0xc0000000 ( 2 MB) [32m[ 0.000000] [0m[33m modules [0m: 0xbf000000 - 0xbfe00000 ( 14 MB) [32m[ 0.000000] [0m[33m .text [0m: 0xc0008000 - 0xc095ad38 (9548 kB) [32m[ 0.000000] [0m[33m .init [0m: 0xc095b000 - 0xc09adec0 ( 332 kB) [32m[ 0.000000] [0m[33m .data [0m: 0xc09ae000 - 0xc0a27850 ( 487 kB) [32m[ 0.000000] [0m[33m .bss [0m: 0xc0a28004 - 0xc0b5b090 (1229 kB) [32m[ 0.000000] [0mPreemptible hierarchical RCU implementation. [32m[ 0.000000] [0m Additional per-CPU info printed with stalls. [32m[ 0.000000] [0mNR_IRQS:544 [32m[ 0.000000] [0mArchitected local timer running at 24.00MHz. [32m[ 0.000000] [0mSwitching to timer-based delay loop [32m[ 0.000000] [0m[33msched_clock[0m: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms [32m[ 0.000000] [0m[33mConsole[0m: colour dummy device 80x30 [32m[ 0.000000] [0mconsole [tty1] enabled [32m[ 0.000265] [0mCalibrating delay loop (skipped), value calculated using timer frequency.. 4800.00 BogoMIPS (lpj=24000000) [32m[ 0.000289] [0m[33mpid_max[0m: default: 32768 minimum: 301 [32m[ 0.000625] [0m[33mMount-cache hash table entries[0m: 512 [32m[ 0.001589] [0mInitializing cgroup subsys cpuacct [32m[ 0.001604] [0mInitializing cgroup subsys memory [32m[ 0.001649] [0mInitializing cgroup subsys devices [32m[ 0.001661] [0mInitializing cgroup subsys freezer [32m[ 0.001672] [0mInitializing cgroup subsys blkio [32m[ 0.001696] [0mInitializing cgroup subsys perf_event [32m[ 0.001776] [0m[33mCPU[0m: Testing write buffer coherency: ok [32m[ 0.001820] [0m[33mftrace[0m: allocating 25741 entries in 76 pages [32m[ 0.030296] [0m[33mCPU0[0m: thread -1, cpu 0, socket 0, mpidr 80000000 [32m[ 0.030314] [0m[sunxi_smp_prepare_cpus] enter [32m[ 0.030350] [0mSetting up static identity map for 0x40691778 - 0x406917d0 [32m[ 0.031287] [0m[33mCPU1[0m: Booted secondary processor [32m[ 0.031287] [0m[33mCPU1[0m: thread -1, cpu 1, socket 0, mpidr 80000001 [32m[ 0.031419] [0m[33mCPU2[0m: Booted secondary processor [32m[ 0.031419] [0m[33mCPU2[0m: thread -1, cpu 2, socket 0, mpidr 80000002 [32m[ 0.040479] [0m[33mCPU3[0m: Booted secondary processor [32m[ 0.040479] [0m[33mCPU3[0m: thread -1, cpu 3, socket 0, mpidr 80000003 [32m[ 0.040599] [0mBrought up 4 CPUs [32m[ 0.040599] [0m[33mSMP[0m: Total of 4 processors activated (19200.00 BogoMIPS). [32m[ 0.040900] [0m[33mdevtmpfs[0m: initialized [32m[ 0.050886] [0m[33mwakeup src cnt is [0m: 2. [32m[ 0.050899] [0m[33m[exstandby]leave extended_standby_enable_wakeup_src [0m: event 0x800000 [32m[ 0.050910] [0m[33m[exstandby]leave extended_standby_enable_wakeup_src [0m: wakeup_gpio_map 0x0 [32m[ 0.050921] [0m[33m[exstandby]leave extended_standby_enable_wakeup_src [0m: wakeup_gpio_group 0x40 [32m[ 0.050932] [0m[33m[exstandby]leave extended_standby_enable_wakeup_src [0m: event 0x800000 [32m[ 0.050942] [0m[33m[exstandby]leave extended_standby_enable_wakeup_src [0m: wakeup_gpio_map 0x8 [32m[ 0.050953] [0m[33m[exstandby]leave extended_standby_enable_wakeup_src [0m: wakeup_gpio_group 0x40 [32m[ 0.050964] [0msunxi pm init [32m[ 0.051102] [0m[33mpinctrl core[0m: initialized pinctrl subsystem [32m[ 0.061151] [0m[33mNET[0m: Registered protocol family 16 [32m[ 0.062074] [0m[33mDMA[0m: preallocated 2048 KiB pool for atomic coherent allocations [32m[ 0.062074] [0mscript_sysfs_init success [32m[ 0.062074] [0msunxi_dump_init success [32m[ 0.062446] [0m[33mgpiochip_add[0m: registered GPIOs 0 to 383 on device: sunxi-pinctrl [32m[ 0.062446] [0m[33msunxi-pinctrl sunxi-pinctrl[0m: initialized sunXi PIO driver [32m[ 0.062446] [0m[33mplat[0m: add bmp085 device [32m[ 0.062446] [0m[33mplat[0m: add pcf8591 device [32m[ 0.062446] [0m[33mhw-breakpoint[0m: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [32m[ 0.062446] [0m[33mhw-breakpoint[0m: maximum watchpoint size is 8 bytes. [32m[ 0.062446] [0mscript config pll_video to 297 Mhz [32m[ 0.062446] [0mscript config pll_de to 864 Mhz [32m[ 0.062446] [0mscript config pll_ve to 402 Mhz [32m[ 0.062446] [0msunxi_default_clk_init [32m[ 0.062446] [0mtry to set pll6ahb1 to 200000000 [32m[ 0.062446] [0mtry to set ahb clk source to pll6ahb1 [32m[ 0.062446] [0mset ahb clk source to pll6ahb1 [32m[ 0.062446] [0mtry to set ahb1 to 200000000 [32m[ 0.062446] [0mtry to set apb1 to 100000000 [32m[ 0.070234] [0m[33mbio[0m: create slab <bio-0> at 0 [32m[ 0.070312] [0m[ARISC] :sunxi-arisc driver v1.04 [32m[ 0.090804] [0m[33m[ARISC] :arisc version[0m: [v0.1.58] [32m[ 0.181046] [0m[ARISC] :sunxi-arisc driver v1.04 startup succeeded [32m[ 0.182636] [0mSCSI subsystem initialized [32m[ 0.182636] [0m[33musbcore[0m: registered new interface driver usbfs [32m[ 0.182636] [0m[33musbcore[0m: registered new interface driver hub [32m[ 0.182636] [0m[33musbcore[0m: registered new device driver usb [32m[ 0.182636] [0m[1mtwi_chan_cfg()340 - [twi0] has no twi_regulator.[0m [32m[ 0.182636] [0m[1mtwi_chan_cfg()340 - [twi1] has no twi_regulator.[0m [32m[ 0.182636] [0m[1mtwi_chan_cfg()340 - [twi2] has no twi_regulator.[0m [32m[ 0.182636] [0m[33mLinux video capture interface[0m: v2.00 [32m[ 0.182636] [0mAdvanced Linux Sound Architecture Driver Version 1.0.25. [32m[ 0.182636] [0m[33mcfg80211[0m: Calling CRDA to update world regulatory domain [32m[ 0.182636] [0mSwitching to clocksource arch_sys_counter [32m[ 0.193964] [0m[33mFS-Cache[0m: Loaded [32m[ 0.194253] [0m[33mCacheFiles[0m: Loaded [32m[ 0.205419] [0m[33mNET[0m: Registered protocol family 2 [32m[ 0.216637] [0m[33mIP route cache hash table entries[0m: 32768 (order: 5, 131072 bytes) [32m[ 0.217246] [0m[33mTCP established hash table entries[0m: 131072 (order: 8, 1048576 bytes) [32m[ 0.219006] [0m[33mTCP bind hash table entries[0m: 65536 (order: 7, 786432 bytes) [32m[ 0.220098] [0m[33mTCP[0m: Hash tables configured (established 131072 bind 65536) [32m[ 0.220109] [0m[33mTCP[0m: reno registered [32m[ 0.220123] [0m[33mUDP hash table entries[0m: 512 (order: 2, 16384 bytes) [32m[ 0.220161] [0m[33mUDP-Lite hash table entries[0m: 512 (order: 2, 16384 bytes) [32m[ 0.220523] [0m[33mNET[0m: Registered protocol family 1 [32m[ 0.220938] [0m[33mRPC[0m: Registered named UNIX socket transport module. [32m[ 0.220950] [0m[33mRPC[0m: Registered udp transport module. [32m[ 0.220958] [0m[33mRPC[0m: Registered tcp transport module. [32m[ 0.220967] [0m[33mRPC[0m: Registered tcp NFSv4.1 backchannel transport module. [32m[ 0.221158] [0mTrying to unpack rootfs image as initramfs... [32m[ 0.407519] [0m[33mFreeing initrd memory[0m: 3044K [32m[ 0.408061] [0m[33mhw perfevents[0m: enabled with ARMv7 Cortex_A7 PMU driver, 5 counters available [32m[ 0.408188] [0msunxi_reg_init enter [32m[ 0.409104] [0m[33maudit[0m: initializing netlink socket (disabled) [32m[ 0.409152] [0m[33mtype=2000 audit(0.400:1)[0m: initialized [32m[ 0.410303] [0m[33mhighmem bounce pool size[0m: 64 pages [32m[ 0.411183] [0m[33msquashfs[0m: version 4.0 (2009/01/31) Phillip Lougher [32m[ 0.411363] [0mmisc fatfs initialized [32m[ 0.412082] [0m[33mNFS[0m: Registering the id_resolver key type [32m[ 0.412459] [0m[33mnfs4filelayout_init[0m: NFSv4 File Layout Driver Registering... [32m[ 0.412473] [0mInstalling knfsd (copyright © 1996 okir@monad.swb.de). [32m[ 0.413240] [0m[33mNTFS driver 2.1.30 [Flags[0m: R/W]. [32m[ 0.413573] [0mfuse init (API version 7.18) [32m[ 0.414285] [0mBtrfs loaded [32m[ 0.414311] [0mmsgmni has been set to 1471 [32m[ 0.415721] [0mBlock layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [32m[ 0.415740] [0mio scheduler noop registered [32m[ 0.415749] [0mio scheduler deadline registered [32m[ 0.415816] [0mio scheduler cfq registered (default) [32m[ 0.416235] [0m[DISP]disp_module_init [32m[ 0.416535] [0mcmdline,init_disp= [32m[ 0.416566] [0mcmdline,disp= [32m[ 0.424331] [0m[1m[DISP] Fb_map_kernel_logo,line:932:Fb_map_kernel_logo failed![0m [32m[ 0.440820] [0m[33mConsole[0m: switching to colour frame buffer device 160x45 [32m[ 0.458140] [0m[DISP]disp_module_init finish [32m[ 0.458366] [0m[1msw_uart_get_devinfo()1503 - uart0 has no uart_regulator.[0m [32m[ 0.458680] [0m[33muart0[0m: ttyS0 at MMIO 0x1c28000 (irq = 32) is a SUNXI [32m[ 0.458694] [0m[1msw_uart_pm()890 - uart0 clk is already enable[0m [32m[ 0.458713] [0m[1msw_console_setup()1233 - console setup baud 115200 parity n bits 8, flow n[0m [32m[ 0.459048] [0mconsole [ttyS0] enabled [32m[ 0.459583] [0msunxi_cmatest_init enter [32m[ 0.459628] [0msunxi_cmatest_init success [32m[ 0.463782] [0m[33mbrd[0m: module loaded [32m[ 0.467662] [0m[33mloop[0m: module loaded [32m[ 0.467942] [0m[1msunxi_spi_chan_cfg()1376 - [spi-0] has no spi_regulator.[0m [32m[ 0.467956] [0m[1msunxi_spi_chan_cfg()1376 - [spi-1] has no spi_regulator.[0m [32m[ 0.468553] [0m[33mspi spi0[0m: master is unqueued, this is deprecated [32m[ 0.468859] [0m[33mtun[0m: Universal TUN/TAP device driver, 1.6 [32m[ 0.468869] [0m[33mtun[0m: © 1999-2004 Max Krasnyansky <maxk@qualcomm.com> [32m[ 0.469809] [0mPPP generic driver version 2.4.2 [32m[ 0.470047] [0mPPP BSD Compression module registered [32m[ 0.470057] [0mPPP Deflate Compression module registered [32m[ 0.472813] [0mPPP MPPE Compression module registered [32m[ 0.472831] [0m[33mNET[0m: Registered protocol family 24 [32m[ 0.472909] [0m[33mehci_hcd[0m: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [32m[ 0.493013] [0m[33msunxi-ehci sunxi-ehci.1[0m: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [32m[ 0.493048] [0m[33msunxi-ehci sunxi-ehci.1[0m: new USB bus registered, assigned bus number 1 [32m[ 0.493622] [0m[33msunxi-ehci sunxi-ehci.1[0m: irq 104, io mem 0xf1c1a000 [32m[ 0.510036] [0m[33msunxi-ehci sunxi-ehci.1[0m: USB 0.0 started, EHCI 1.00 [32m[ 0.510650] [0m[33mhub 1-0:1.0[0m: USB hub found [32m[ 0.510674] [0m[33mhub 1-0:1.0[0m: 1 port detected [32m[ 0.531046] [0m[33msunxi-ehci sunxi-ehci.2[0m: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [32m[ 0.531076] [0m[33msunxi-ehci sunxi-ehci.2[0m: new USB bus registered, assigned bus number 2 [32m[ 0.531474] [0m[33msunxi-ehci sunxi-ehci.2[0m: irq 106, io mem 0xf1c1b000 [32m[ 0.550043] [0m[33msunxi-ehci sunxi-ehci.2[0m: USB 0.0 started, EHCI 1.00 [32m[ 0.550584] [0m[33mhub 2-0:1.0[0m: USB hub found [32m[ 0.550612] [0m[33mhub 2-0:1.0[0m: 1 port detected [32m[ 0.570984] [0m[33msunxi-ehci sunxi-ehci.3[0m: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [32m[ 0.571013] [0m[33msunxi-ehci sunxi-ehci.3[0m: new USB bus registered, assigned bus number 3 [32m[ 0.571397] [0m[33msunxi-ehci sunxi-ehci.3[0m: irq 108, io mem 0xf1c1c000 [32m[ 0.590030] [0m[33msunxi-ehci sunxi-ehci.3[0m: USB 0.0 started, EHCI 1.00 [32m[ 0.590568] [0m[33mhub 3-0:1.0[0m: USB hub found [32m[ 0.590592] [0m[33mhub 3-0:1.0[0m: 1 port detected [32m[ 0.610955] [0m[33msunxi-ehci sunxi-ehci.4[0m: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [32m[ 0.610984] [0m[33msunxi-ehci sunxi-ehci.4[0m: new USB bus registered, assigned bus number 4 [32m[ 0.611375] [0m[33msunxi-ehci sunxi-ehci.4[0m: irq 110, io mem 0xf1c1d000 [32m[ 0.630030] [0m[33msunxi-ehci sunxi-ehci.4[0m: USB 0.0 started, EHCI 1.00 [32m[ 0.630564] [0m[33mhub 4-0:1.0[0m: USB hub found [32m[ 0.630588] [0m[33mhub 4-0:1.0[0m: 1 port detected [32m[ 0.630963] [0m[33mohci_hcd[0m: USB 1.1 'Open' Host Controller (OHCI) Driver [32m[ 0.651067] [0m[33msunxi-ohci sunxi-ohci.1[0m: SW USB2.0 'Open' Host Controller (OHCI) Driver [32m[ 0.651096] [0m[33msunxi-ohci sunxi-ohci.1[0m: new USB bus registered, assigned bus number 5 [32m[ 0.651131] [0m[33msunxi-ohci sunxi-ohci.1[0m: irq 105, io mem 0xf1c1a400 [32m[ 0.714551] [0m[33mhub 5-0:1.0[0m: USB hub found [32m[ 0.714573] [0m[33mhub 5-0:1.0[0m: 1 port detected [32m[ 0.734947] [0m[33msunxi-ohci sunxi-ohci.2[0m: SW USB2.0 'Open' Host Controller (OHCI) Driver [32m[ 0.734976] [0m[33msunxi-ohci sunxi-ohci.2[0m: new USB bus registered, assigned bus number 6 [32m[ 0.735009] [0m[33msunxi-ohci sunxi-ohci.2[0m: irq 107, io mem 0xf1c1b400 [32m[ 0.794586] [0m[33mhub 6-0:1.0[0m: USB hub found [32m[ 0.794612] [0m[33mhub 6-0:1.0[0m: 1 port detected [32m[ 0.814994] [0m[33msunxi-ohci sunxi-ohci.3[0m: SW USB2.0 'Open' Host Controller (OHCI) Driver [32m[ 0.815022] [0m[33msunxi-ohci sunxi-ohci.3[0m: new USB bus registered, assigned bus number 7 [32m[ 0.815055] [0m[33msunxi-ohci sunxi-ohci.3[0m: irq 109, io mem 0xf1c1c400 [32m[ 0.874567] [0m[33mhub 7-0:1.0[0m: USB hub found [32m[ 0.874588] [0m[33mhub 7-0:1.0[0m: 1 port detected [32m[ 0.894957] [0m[33msunxi-ohci sunxi-ohci.4[0m: SW USB2.0 'Open' Host Controller (OHCI) Driver [32m[ 0.894985] [0m[33msunxi-ohci sunxi-ohci.4[0m: new USB bus registered, assigned bus number 8 [32m[ 0.895017] [0m[33msunxi-ohci sunxi-ohci.4[0m: irq 111, io mem 0xf1c1d400 [32m[ 0.954532] [0m[33mhub 8-0:1.0[0m: USB hub found [32m[ 0.954553] [0m[33mhub 8-0:1.0[0m: 1 port detected [32m[ 0.954892] [0mInitializing USB Mass Storage driver... [32m[ 0.955122] [0m[33musbcore[0m: registered new interface driver usb-storage [32m[ 0.955132] [0mUSB Mass Storage support registered. [32m[ 0.955189] [0m[33musbcore[0m: registered new interface driver ums-alauda [32m[ 0.955236] [0m[33musbcore[0m: registered new interface driver ums-cypress [32m[ 0.955291] [0m[33musbcore[0m: registered new interface driver ums-datafab [32m[ 0.955342] [0m[33musbcore[0m: registered new interface driver ums_eneub6250 [32m[ 0.955392] [0m[33musbcore[0m: registered new interface driver ums-freecom [32m[ 0.955440] [0m[33musbcore[0m: registered new interface driver ums-isd200 [32m[ 0.955487] [0m[33musbcore[0m: registered new interface driver ums-jumpshot [32m[ 0.955532] [0m[33musbcore[0m: registered new interface driver ums-karma [32m[ 0.955582] [0m[33musbcore[0m: registered new interface driver ums-onetouch [32m[ 0.955647] [0m[33musbcore[0m: registered new interface driver ums-realtek [32m[ 0.955699] [0m[33musbcore[0m: registered new interface driver ums-sddr09 [32m[ 0.955748] [0m[33musbcore[0m: registered new interface driver ums-sddr55 [32m[ 0.955795] [0m[33musbcore[0m: registered new interface driver ums-usbat [32m[ 0.956001] [0m uinput result 0 , vmouse_init [32m[ 0.956604] [0m[33mmousedev[0m: PS/2 mouse device common for all mice [32m[ 0.956832] [0m[31msunxikbd_init failed. [0m [32m[ 0.957586] [0m[33mls_fetch_sysconfig_para[0m[31m: type err device_used = -1073060220. [0m [32m[ 0.957598] [0m=========script_get_err============ [32m[ 0.957606] [0m[33mltr_init[0m: ls_fetch_sysconfig_para err. [32m[ 0.958162] [0m[33msunxi-rtc sunxi-rtc[0m: rtc core: registered sunxi-rtc as rtc0 [32m[ 0.958211] [0mi2c /dev entries driver [32m[ 0.958612] [0mIR RC5(x) protocol handler initialized [32m[ 0.958741] [0msunxi cedar version 0.1 [32m[ 0.958789] [0m[33m[cedar][0m: install start!!! [32m[ 0.958982] [0m[33m[cedar][0m: install end!!! [32m[ 0.959221] [0m[33msunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status[0m[1m: 0x20, dev addr: 0x18)[0m [32m[ 0.959393] [0m[33msunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status[0m[1m: 0x20, dev addr: 0x19)[0m [32m[ 0.959562] [0m[33msunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status[0m[1m: 0x20, dev addr: 0x1a)[0m [32m[ 0.959730] [0m[33msunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status[0m[1m: 0x20, dev addr: 0x29)[0m [32m[ 0.959898] [0m[33msunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status[0m[1m: 0x20, dev addr: 0x2a)[0m [32m[ 0.960094] [0m[33msunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status[0m[1m: 0x20, dev addr: 0x2b)[0m [32m[ 0.960263] [0m[33msunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status[0m[1m: 0x20, dev addr: 0x4c)[0m [32m[ 0.960432] [0m[33msunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status[0m[1m: 0x20, dev addr: 0x4d)[0m [32m[ 0.960600] [0m[33msunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status[0m[1m: 0x20, dev addr: 0x4e)[0m [32m[ 0.960799] [0m[33msunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status[0m[1m: 0x20, dev addr: 0x18)[0m [32m[ 0.960995] [0m[33msunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status[0m[1m: 0x20, dev addr: 0x19)[0m [32m[ 0.961190] [0m[33msunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status[0m[1m: 0x20, dev addr: 0x1a)[0m [32m[ 0.961385] [0m[33msunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status[0m[1m: 0x20, dev addr: 0x29)[0m [32m[ 0.961580] [0m[33msunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status[0m[1m: 0x20, dev addr: 0x2a)[0m [32m[ 0.961774] [0m[33msunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status[0m[1m: 0x20, dev addr: 0x2b)[0m [32m[ 0.961970] [0m[33msunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status[0m[1m: 0x20, dev addr: 0x4c)[0m [32m[ 0.962165] [0m[33msunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status[0m[1m: 0x20, dev addr: 0x4d)[0m [32m[ 0.962360] [0m[33msunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status[0m[1m: 0x20, dev addr: 0x4e)[0m [32m[ 0.962375] [0m[33msunxi_wdt_init_module[0m: sunxi WatchDog Timer Driver v1.0 [32m[ 0.962537] [0m[33msunxi_wdt_probe[0m: devm_ioremap return wdt_reg 0xf1c20ca0, res->start 0x01c20ca0, res->end 0x01c20cbf [32m[ 0.962717] [0m[33msunxi_wdt_probe[0m: initialized (g_timeout=16s, g_nowayout=0) [32m[ 0.962730] [0mwdt_enable, write reg 0xf1c20cb8 val 0x00000000 [32m[ 0.962740] [0mtimeout_to_interv, line 167 [32m[ 0.962748] [0minterv_to_timeout, line 189 [32m[ 0.962758] [0mwdt_set_tmout, write 0x000000b0 to mode reg 0xf1c20cb8, actual timeout 16 sec [32m[ 0.963166] [0m[33mdevice-mapper[0m: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com [32m[ 0.963385] [0m[33mcalibrat[0m: max_cpufreq 1200Mhz Type 0! [32m[ 0.963696] [0m[33m[mmc][0m: SD/MMC/SDIO Host Controller Driver(v1.111 2015-4-13 15:24) Compiled in Oct 22 2016 at 19:19:09 [32m[ 0.963729] [0m[33m[mmc][0m: get mmc0's sdc_power is null! [32m[ 0.963756] [0m[33m[mmc][0m: get mmc1's sdc_power is null! [32m[ 0.963765] [0m[33m[mmc][0m: get mmc1's 2xmode ok, val = 1 [32m[ 0.963774] [0m[33m[mmc][0m: get mmc1's ddrmode ok, val = 1 [32m[ 0.963790] [0m[33m[mmc][0m: MMC host used card: 0x3, boot card: 0x0, io_card 2 [32m[ 0.967340] [0m[33m[mmc][0m: sdc0 power_supply is null [32m[ 0.969210] [0m[31mno blue_led, ignore it![0m [32m[ 0.969433] [0m[33mRegistered led device[0m: red_led [32m[ 0.969547] [0m[33mRegistered led device[0m: green_led [32m[ 0.969562] [0m[31mno led_0, ignore it![0m [32m[ 0.969570] [0m[31mno led_1, ignore it![0m [32m[ 0.969577] [0m[31mno led_2, ignore it![0m [32m[ 0.969584] [0m[31mno led_3, ignore it![0m [32m[ 0.969591] [0m[31mno led_4, ignore it![0m [32m[ 0.969598] [0m[31mno led_5, ignore it![0m [32m[ 0.969605] [0m[31mno led_6, ignore it![0m [32m[ 0.969611] [0m[31mno led_7, ignore it![0m [32m[ 0.970462] [0m[33musbcore[0m: registered new interface driver usbhid [32m[ 0.970475] [0m[33musbhid[0m: USB HID core driver [32m[ 0.974822] [0m[33masoc[0m: sndcodec <-> sunxi-codec mapping ok [32m[ 0.975684] [0m[31m[DAUDIO]sunxi-daudio cannot find any using configuration for controllers, return directly![0m [32m[ 0.975868] [0m[31m[i2S]snddaudio cannot find any using configuration for controllers, return directly![0m [32m[ 0.975883] [0m[1m[DAUDIO0] driver not init,just return.[0m [32m[ 0.979292] [0m[33masoc[0m: sndhdmi <-> sunxi-hdmiaudio.0 mapping ok [32m[ 0.980369] [0m[33moprofile[0m: using arm/armv7-ca7 [32m[ 0.980560] [0mu32 classifier [32m[ 0.980570] [0m Performance counters on [32m[ 0.980577] [0m input device check on [32m[ 0.980585] [0m Actions configured [32m[ 0.980771] [0mIPv4 over IPv4 tunneling driver [32m[ 0.981401] [0m[33mTCP[0m: bic registered [32m[ 0.981413] [0m[33mTCP[0m: cubic registered [32m[ 0.981421] [0m[33mTCP[0m: westwood registered [32m[ 0.981428] [0m[33mTCP[0m: highspeed registered [32m[ 0.981436] [0m[33mTCP[0m: hybla registered [32m[ 0.981443] [0m[33mTCP[0m: htcp registered [32m[ 0.981450] [0m[33mTCP[0m: vegas registered [32m[ 0.981458] [0m[33mTCP[0m: veno registered [32m[ 0.981465] [0m[33mTCP[0m: scalable registered [32m[ 0.981472] [0m[33mTCP[0m: lp registered [32m[ 0.981480] [0m[33mTCP[0m: yeah registered [32m[ 0.981487] [0m[33mTCP[0m: illinois registered [32m[ 0.981494] [0mInitializing XFRM netlink socket [32m[ 0.981731] [0m[33mNET[0m: Registered protocol family 10 [32m[ 0.982901] [0m[33mNET[0m: Registered protocol family 17 [32m[ 0.982932] [0m[33mNET[0m: Registered protocol family 15 [32m[ 0.982976] [0mRegistering the dns_resolver key type [32m[ 0.983485] [0m[33mVFP support v0.3[0m: implementor 41 architecture 2 part 30 variant 7 rev 5 [32m[ 0.983508] [0mThumbEE CPU extension supported. [32m[ 0.983529] [0mRegistering SWP/SWPB emulation handler [32m[ 0.984089] [0mregistered taskstats version 1 [32m[ 0.984539] [0mcmdline,disp= [32m[ 0.984842] [0m[HDMI] power vcc-hdmi-18 [32m[ 1.015550] [0m[33mths_fetch_sysconfig_para[0m[31m: type err device_used = 1. [0m [32m[ 1.016808] [0mCPU Budget:corekeeper enabled [32m[ 1.017038] [0mCPU Budget:Register notifier [32m[ 1.017049] [0mCPU Budget:register Success [32m[ 1.017062] [0m[33msunxi-budget-cooling sunxi-budget-cooling[0m: Cooling device registered: thermal-budget-0 [32m[ 1.020289] [0m[33m[rf_pm][0m: module power0 name vcc-wifi-33 [32m[ 1.020305] [0m[33m[rf_pm][0m: Did not config module_power1 in sys_config [32m[ 1.020315] [0m[33m[rf_pm][0m: Did not config module_power2 in sys_config [32m[ 1.020325] [0m[33m[rf_pm][0m: Did not config module_power3 in sys_config [32m[ 1.020335] [0m[33m[rf_pm][0m: mod has no chip_en gpio [32m[ 1.020343] [0m[33m[rf_pm][0m: failed to fetch lpo_use_apclk [32m[ 1.020351] [0m[33m[rf_pm][0m: regulator on. [32m[ 1.020361] [0m[33m[wifi_pm][0m: no wifi used in configuration [32m[ 1.020371] [0m[33m[rfkill][0m: init no bt used in configuration [32m[ 1.020379] [0mALSA device list: [32m[ 1.020386] [0m[33m #0[0m: audiocodec [32m[ 1.020393] [0m[33m #1[0m: sndhdmi [32m[ 1.021275] [0m[33mFreeing init memory[0m: 328K [32m[ 1.032985] [0m[33mmmc0[0m: new high speed SDXC card at address 0001 [32m[ 1.033562] [0m[33mmmcblk0[0m: mmc0:0001 00000 59.6 GiB [32m[ 1.034891] [0m[33m mmcblk0[0m: p1 [32m[ 1.035562] [0m[33mmmcblk mmc0:0001[0m: Card claimed for testing. [32m[ 1.035579] [0m[33mmmc0:0001[0m: 00000 59.6 GiB [32m[ 1.067368] [0m[33msystemd-udevd[98][0m: starting version 215 [32m[ 1.620052] [0m[1m[DISP] disp_device_attached_and_enable,line:159:attched ok, mgr0<-->device0, type=4, mode=5[0m [32m[ 2.482338] [0m[33mEXT4-fs (mmcblk0p1)[0m: mounted filesystem with writeback data mode. Opts: (null) [32m[ 3.550313] [0m[33msystemd[1][0m: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR) [32m[ 3.550638] [0m[33msystemd[1][0m: Detected architecture 'arm'. [32m[ 3.568803] [0m[33msystemd[1][0m: Set hostname to <orangepipc>. [32m[ 3.964263] [0m[33msystemd[1][0m[1m: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.[0m [32m[ 3.966966] [0m[33msystemd[1][0m: Expecting device dev-ttyS0.device... [32m[ 3.967700] [0m[33msystemd[1][0m: Starting Forward Password Requests to Wall Directory Watch. [32m[ 3.967927] [0m[33msystemd[1][0m: Started Forward Password Requests to Wall Directory Watch. [32m[ 3.967998] [0m[33msystemd[1][0m: Starting Remote File Systems (Pre). [32m[ 3.968395] [0m[33msystemd[1][0m: Reached target Remote File Systems (Pre). [32m[ 3.968511] [0m[33msystemd[1][0m: Starting Dispatch Password Requests to Console Directory Watch. [32m[ 3.968709] [0m[33msystemd[1][0m: Started Dispatch Password Requests to Console Directory Watch. [32m[ 3.968771] [0m[33msystemd[1][0m: Starting Paths. [32m[ 3.969089] [0m[33msystemd[1][0m: Reached target Paths. [32m[ 3.969207] [0m[33msystemd[1][0m: Starting Arbitrary Executable File Formats File System Automount Point. [32m[ 3.970173] [0m[33msystemd[1][0m: Set up automount Arbitrary Executable File Formats File System Automount Point. [32m[ 3.970260] [0m[33msystemd[1][0m: Starting Encrypted Volumes. [32m[ 3.970611] [0m[33msystemd[1][0m: Reached target Encrypted Volumes. [32m[ 3.970692] [0m[33msystemd[1][0m: Starting Root Slice. [32m[ 3.971123] [0m[33msystemd[1][0m: Created slice Root Slice. [32m[ 3.971186] [0m[33msystemd[1][0m: Starting User and Session Slice. [32m[ 3.971670] [0m[33msystemd[1][0m: Created slice User and Session Slice. [32m[ 3.971733] [0m[33msystemd[1][0m: Starting /dev/initctl Compatibility Named Pipe. [32m[ 3.972283] [0m[33msystemd[1][0m: Listening on /dev/initctl Compatibility Named Pipe. [32m[ 3.972346] [0m[33msystemd[1][0m: Starting Delayed Shutdown Socket. [32m[ 3.972805] [0m[33msystemd[1][0m: Listening on Delayed Shutdown Socket. [32m[ 3.972869] [0m[33msystemd[1][0m: Starting Journal Socket (/dev/log). [32m[ 3.973326] [0m[33msystemd[1][0m: Listening on Journal Socket (/dev/log). [32m[ 3.973413] [0m[33msystemd[1][0m: Starting udev Control Socket. [32m[ 3.973805] [0m[33msystemd[1][0m: Listening on udev Control Socket. [32m[ 3.973879] [0m[33msystemd[1][0m: Starting udev Kernel Socket. [32m[ 3.974258] [0m[33msystemd[1][0m: Listening on udev Kernel Socket. [32m[ 3.974345] [0m[33msystemd[1][0m: Starting Journal Socket. [32m[ 3.974770] [0m[33msystemd[1][0m: Listening on Journal Socket. [32m[ 3.974886] [0m[33msystemd[1][0m: Starting System Slice. [32m[ 3.975347] [0m[33msystemd[1][0m: Created slice System Slice. [32m[ 3.975437] [0m[33msystemd[1][0m: Started File System Check on Root Device. [32m[ 3.975491] [0m[33msystemd[1][0m: Starting system-serial\x2dgetty.slice. [32m[ 3.976065] [0m[33msystemd[1][0m: Created slice system-serial\x2dgetty.slice. [32m[ 3.976127] [0m[33msystemd[1][0m: Starting system-getty.slice. [32m[ 3.976635] [0m[33msystemd[1][0m: Created slice system-getty.slice. [32m[ 3.976767] [0m[33msystemd[1][0m: Starting Increase datagram queue length... [32m[ 4.060854] [0m[33msystemd[1][0m: Starting Restore / save the current clock... [32m[ 4.160908] [0m[33msystemd[1][0m: Starting udev Coldplug all Devices... [32m[ 4.220932] [0m[33msystemd[1][0m: Mounted Huge Pages File System. [32m[ 4.221383] [0m[33msystemd[1][0m: Starting Create list of required static device nodes for the current kernel... [32m[ 4.270961] [0m[33msystemd[1][0m: Mounting POSIX Message Queue File System... [32m[ 4.342152] [0m[33msystemd[1][0m: Started Set Up Additional Binary Formats. [32m[ 4.342666] [0m[33msystemd[1][0m: Mounting Debug File System... [32m[ 4.423419] [0m[33msystemd[1][0m: Starting Load Kernel Modules... [32m[ 4.500811] [0m[33msystemd[1][0m: Starting LSB: Set keymap... [32m[ 4.590677] [0m[33msystemd[1][0m: Starting Slices. [32m[ 4.591232] [0m[33msystemd[1][0m: Reached target Slices. [32m[ 4.594238] [0m[33msystemd[1][0m: Mounted Debug File System. [32m[ 4.594915] [0m[33msystemd[1][0m: Mounted POSIX Message Queue File System. [32m[ 4.624651] [0m[33m[mmc][0m: sdc1 power_supply is null [32m[ 4.635178] [0m[33msystemd[1][0m: Started Increase datagram queue length. [32m[ 4.675210] [0m[33m[mmc][0m: sdc1 power_supply is null [32m[ 4.679327] [0m[33m[mmc][0m: sdc1 power_supply is null [32m[ 4.695033] [0m[33msystemd[1][0m: Started Restore / save the current clock. [32m[ 4.723110] [0m[33m[wifi_pm][0m: set wl_reg_on 1 ! [32m[ 4.738619] [0m[33m[mmc][0m: sdc1 power_supply is null [32m[ 4.742660] [0m[33m[mmc][0m: sdc1 power_supply is null [32m[ 4.805376] [0m[33m[mmc][0m: sdc1 power_supply is null [32m[ 4.809489] [0m[33m[mmc][0m: sdc1 power_supply is null [32m[ 4.825344] [0m[33msystemd[1][0m: Started Create list of required static device nodes for the current kernel. [32m[ 4.882012] [0m[33m[mmc][0m: sdc1 power_supply is null [32m[ 4.955327] [0m[33msystemd[1][0m: Started Load Kernel Modules. [32m[ 5.034887] [0m[33msystemd[1][0m: Started LSB: Set keymap. [32m[ 5.124800] [0m[33msystemd[1][0m: Started udev Coldplug all Devices. [32m[ 5.126865] [0m[33msystemd[1][0m: Time has been changed [32m[ 5.127444] [0m[33msystemd[1][0m: Mounted Configuration File System. [32m[ 5.127545] [0m[33msystemd[1][0m: Mounting FUSE Control File System... [32m[ 5.230526] [0m[33msystemd[1][0m: Starting Apply Kernel Variables... [32m[ 5.311074] [0m[33msystemd[1][0m: Starting Create Static Device Nodes in /dev... [32m[ 5.400797] [0m[33msystemd[1][0m: Starting Syslog Socket. [32m[ 5.405687] [0m[33msystemd[1][0m: Listening on Syslog Socket. [32m[ 5.405824] [0m[33msystemd[1][0m: Starting Journal Service... [32m[ 5.505549] [0m[33msystemd[1][0m: Started Journal Service. [32m[ 5.865394] [0m[33msystemd-udevd[177][0m: starting version 215 [32m[ 6.079939] [0m[33msunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status[0m[1m: 0x20, dev addr: 0x48)[0m [32m[ 6.080365] [0m[33msunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status[0m[1m: 0x48, dev addr: 0x48)[0m [32m[ 6.173753] [0m[33msunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status[0m[1m: 0x20, dev addr: 0x77)[0m [32m[ 6.173799] [0m[33mbmp085[0m[1m: probe of 0-0077 failed with error -70[0m [32m[ 6.656428] [0m[33mEXT4-fs (mmcblk0p1)[0m: re-mounted. Opts: commit=600,errors=remount-ro [32m[ 6.885914] [0mAdding 131068k swap on /var/swap. Priority:-1 extents:1 across:131068k SS [32m[ 8.345496] [0m[33msystemd-journald[176][0m: Received request to flush runtime journal from PID 1 [32m[ 8.526550] [0m[33mgmac0[0m: probed [32m[ 8.526907] [0m[33mgmac0 gmac0[0m: eth0: eth0: PHY ID 00441400 at 0 IRQ poll (gmac0-0:00) [32m[ 9.895302] [0mRegistered IR keymap rc-empty [32m[ 9.897555] [0m[33mrc0[0m: sunxi-ir as /devices/virtual/rc/rc0 [32m[ 9.903869] [0m[33mrc rc0[0m: lirc_dev: driver ir-lirc-codec (sunxi-ir) registered at minor = 0 [32m[ 11.520284] [0m[33mPHY[0m: gmac0-0:00 - Link is Up - 100/Full [32m[ 19.140054] [0m[33meth0[0m: no IPv6 routers present [32m[ 1261.533107] [0m[33mehci_irq[0m: highspeed device connect [32m[ 1261.550092] [0m[33mehci_irq[0m: highspeed device disconnect [32m[ 1261.775604] [0m[33mehci_irq[0m: highspeed device connect [32m[ 1262.050128] [0m[33musb 2-1[0m: new high-speed USB device number 2 using sunxi-ehci [32m[ 1262.337855] [0m[33mmedia[0m: Linux media interface: v0.10 [32m[ 1262.342181] [0m[33mWARNING[0m[31m: You are using an experimental version of the media stack.[0m [32m[ 1262.342190] [0m[31m As the driver is backported to an older kernel, it doesn't offer[0m [32m[ 1262.342197] [0m[31m enough quality for its usage in production.[0m [32m[ 1262.342202] [0m[31m Use it with care.[0m [32m[ 1262.342206] [0m[31mLatest git patches (needed if you report a bug to linux-media@vger.kernel.org):[0m [32m[ 1262.342213] [0m[33m d52879196556001ca7e8d05811d18c93e3c30576 si2183[0m[31m: Minor fix.[0m [32m[ 1262.342218] [0m[33m 9842fabcbf29234949fb4ffe18bcc71019810c2c cx231xx[0m[31m: Minor fix.[0m [32m[ 1262.342224] [0m[33m 59e3a304e12a1ba6d78458455f5de373edb5aef8 cxusb[0m[31m: Fixed RC map table for T230/T230C.[0m [32m[ 1262.343766] [0m[33mdvb_usb[0m: disagrees about version of symbol rc_register_device [32m[ 1262.343786] [0m[33mdvb_usb[0m[1m: Unknown symbol rc_register_device (err -22)[0m [32m[ 1262.343830] [0m[33mdvb_usb[0m: disagrees about version of symbol rc_free_device [32m[ 1262.343841] [0m[33mdvb_usb[0m[1m: Unknown symbol rc_free_device (err -22)[0m [32m[ 1262.343877] [0m[33mdvb_usb[0m: disagrees about version of symbol rc_allocate_device [32m[ 1262.343888] [0m[33mdvb_usb[0m[1m: Unknown symbol rc_allocate_device (err -22)[0m [32m[ 1262.343959] [0m[33mdvb_usb[0m: disagrees about version of symbol rc_unregister_device [32m[ 1262.343971] [0m[33mdvb_usb[0m[1m: Unknown symbol rc_unregister_device (err -22) [0mroot@orangepipc:/home/idan/media_build# dmesg -c // Disconnect and connected the device again [32m[ 1323.661516] [0m[33mehci_irq[0m: highspeed device disconnect [32m[ 1323.661718] [0m[33musb 2-1[0m: USB disconnect, device number 2 [32m[ 1327.719629] [0m[33mehci_irq[0m: highspeed device connect [32m[ 1327.980140] [0m[33musb 3-1[0m: new high-speed USB device number 2 using sunxi-ehci [32m[ 1328.149179] [0m[33mdvb_usb[0m: disagrees about version of symbol rc_register_device [32m[ 1328.149429] [0m[33mdvb_usb[0m[1m: Unknown symbol rc_register_device (err -22)[0m [32m[ 1328.149531] [0m[33mdvb_usb[0m: disagrees about version of symbol rc_free_device [32m[ 1328.149562] [0m[33mdvb_usb[0m[1m: Unknown symbol rc_free_device (err -22)[0m [32m[ 1328.149641] [0m[33mdvb_usb[0m: disagrees about version of symbol rc_allocate_device [32m[ 1328.149665] [0m[33mdvb_usb[0m[1m: Unknown symbol rc_allocate_device (err -22)[0m [32m[ 1328.149806] [0m[33mdvb_usb[0m: disagrees about version of symbol rc_unregister_device [32m[ 1328.149831] [0m[33mdvb_usb[0m[1m: Unknown symbol rc_unregister_device (err -22) [0mroot@orangepipc:/home/idan/media_build# w_scan w_scan version 20130331 (compiled for DVB API 5.4) WARNING: could not guess your country. Falling back to 'DE' guessing country 'DE', use -c <country> to override using settings for GERMANY DVB aerial DVB-T Europe scan type TERRESTRIAL, channellist 4 output format vdr-2.0 WARNING: could not guess your codepage. Falling back to 'UTF-8' output charset 'UTF-8', use -C <charset> to override Info: using DVB adapter auto detection. main:3228: FATAL: ***** NO USEABLE TERRESTRIAL CARD FOUND. ***** Please check wether dvb driver is loaded and verify that no dvb application (i.e. vdr) is running. . @qualcomm.com> you can see full log include the build and install process here: https://filetea.me/default/#t1sNqyhWJFyRDeRM3eVICM5Lw Does it have something to do with the patch you mentioned? Should I try to apply it? Thank you very much, I really appreciate your help. Edited October 25, 2016 by idandavidi Added spoiler tags
jernej Posted October 25, 2016 Posted October 25, 2016 Please add spoiler tag to your log, as mentioned in forum rules for long logs. It was long ago when I compiled media_build package, so I don't remember exactly when patch is needed and it may be that they already fixed the issue. You can certainly try to apply it. If it won't apply, they probably most likely fixed this already. About your issue: I already warned you that you must be careful when mixing old and new drivers. Usually, this can give you headaches. I really don't now how good is installation script here. I guess you already tried just to restart the board? Secondly, run "sudo depmod" and reboot again. Third, search through /lib/modules for *.ko files with the same name (ones build with media_build), no matter in which folder they are and remove the old ones. Then you have to run "sudo depmod" and reboot. I hope this will help. Otherwise, we can take a look specifically to your case and leave other drivers alone.
idandavidi Posted October 25, 2016 Author Posted October 25, 2016 Please add spoiler tag to your log, as mentioned in forum rules for long logs. It was long ago when I compiled media_build package, so I don't remember exactly when patch is needed and it may be that they already fixed the issue. You can certainly try to apply it. If it won't apply, they probably most likely fixed this already. About your issue: I already warned you that you must be careful when mixing old and new drivers. Usually, this can give you headaches. I really don't now how good is installation script here. I guess you already tried just to restart the board? Secondly, run "sudo depmod" and reboot again. Third, search through /lib/modules for *.ko files with the same name (ones build with media_build), no matter in which folder they are and remove the old ones. Then you have to run "sudo depmod" and reboot. I hope this will help. Otherwise, we can take a look specifically to your case and leave other drivers alone. Hello, I did what you had suggested: 1. I have restarted the device. dmesg still the same 2. Tried "sudo depmod" ant reboot - still the same 3. There are a lot of *.ko files in /lib/modules. I have ran a script that search for duplicate file names recursively and found 0 results (the script was tested and works) I even tried to delete the whole content of /lib/modules/3.4.112-sun8i/kernel/drivers/media/ and installed media_build again. Then tried the suggestions above and the result is the same. I must say: this orangepi pc board purpose is to serve as a local tvheadend server, and that is all it's purpose, so I have no problem to try fresh installation of the OS and rebuild media_build if that might help. Do you have any other suggestions for me? Thank you again.
jernej Posted October 25, 2016 Posted October 25, 2016 Ok, so installation scripts done it's job properly. Unfortunatelly that means that probably some built in driver causes issues. From what I see you have to rebuild the kernel, with one important change - set https://github.com/igorpecovnik/lib/blob/master/config/kernel/linux-sun8i-default.config#L2272to "m" instead of "y". This also means that you will lose support for onboard IR, but you will have support for IR on your dongle. After you rebuilt and installed new kernel, reinstall media_build again.
idandavidi Posted October 26, 2016 Author Posted October 26, 2016 (edited) Ok, so installation scripts done it's job properly. Unfortunatelly that means that probably some built in driver causes issues. From what I see you have to rebuild the kernel, with one important change - set https://github.com/igorpecovnik/lib/blob/master/config/kernel/linux-sun8i-default.config#L2272to "m" instead of "y". This also means that you will lose support for onboard IR, but you will have support for IR on your dongle. After you rebuilt and installed new kernel, reinstall media_build again. Hello, I am pretty new to Linux and knows nothing about building kernels. I am following the instruction in gibhub documentation. The required Ubuntu was installed, and I cloned the repository: apt-get -y install git git clone https://github.com/igorpecovnik/lib --depth 1 cp lib/compile.sh . I changed line value of ./lib/config/kernel/linux-sun8i-default.config #2272 from "y" to "m" Then changed the compole.sh: KERNEL_CONFIGURE="yes" And then ran: ./compile.sh This warning was showed: I pressed enter to continue, and now it runs. Is that all good? Edit: Ok, the building of the kernel was done: I burnt the img to the SD card and Armbian was loaded. Cloned media_build, did sed -i '3i IR_SUNXI' v4l/versions.txt and ./build --main-git The build was succeeded and then I did make install, succeeded as well Unfortunately dmesg and w_scan present the same result: root@orangepipc:/home/idan/media_build# dmesg -c [ 3075.199643] ehci_irq: highspeed device disconnect [ 3075.199869] usb 3-1: USB disconnect, device number 4 [ 3077.688858] ehci_irq: highspeed device connect [ 3077.694833] ehci_irq: highspeed device disconnect [ 3077.931359] ehci_irq: highspeed device connect [ 3078.210108] usb 3-1: new high-speed USB device number 5 using sunxi-ehci root@orangepipc:/home/idan/media_build# w_scan w_scan version 20130331 (compiled for DVB API 5.4) WARNING: could not guess your country. Falling back to 'DE' guessing country 'DE', use -c <country> to override using settings for GERMANY DVB aerial DVB-T Europe scan type TERRESTRIAL, channellist 4 output format vdr-2.0 WARNING: could not guess your codepage. Falling back to 'UTF-8' output charset 'UTF-8', use -C <charset> to override Info: using DVB adapter auto detection. main:3228: FATAL: ***** NO USEABLE TERRESTRIAL CARD FOUND. ***** Please check wether dvb driver is loaded and verify that no dvb application (i.e. vdr) is running. Maybe I did something wrong? Edited October 26, 2016 by idandavidi
jernej Posted October 26, 2016 Posted October 26, 2016 Please do not shorten dmesg output. Some interested bits might be in there.
idandavidi Posted October 26, 2016 Author Posted October 26, 2016 Please do not shorten dmesg output. Some interested bits might be in there. Sorry for that, The terminal is still open, this is the end of the installation + lsusb + dmesg /: media.ko cec-edid.ko usb/siano/: smsusb.ko dvb-core/: dvb-core.ko /sbin/depmod -a 3.4.112-sun8i make -C firmware install make[2]: Entering directory '/home/idan/media_build/v4l/firmware' Installing firmwares at /lib/firmware: vicam/firmware.fw ttusb-budget/dspbootcode.bin cpia2/stv0672_vp4.bin av7110/bootcode.bin dvb-demod-si2168-02.fw dvb-usb-dibusb-6.0.0.8.fw dvb-tuner-si2158-a20-01.fw dvb-usb-bluebird-01.fw dvb-usb-sb340.fw dvb-usb-tbsqbox-id5921.fw v4l-cx25840.fw v4l-cx23418-cpu.fw dvb-fe-tda10071.fw dvb-usb-terratec-h5-drxk.fw dvb-usb-wt220u-02.fw dvb-usb-tbsqbox-id5880.fw dvb-usb-dw2101.fw dvb-fe-bcm3510-01.fw v4l-cx23418-apu.fw dvb-usb-pctv-400e-01.fw dvb-fe-ds3103.fw dvb-usb-tbsqbox-id5927.fw dvb-usb-p1100-old.fw dvb-demod-si2168-d60-01.fw dvb-fe-or51132-vsb.fw dvb-usb-terratec-h7-az6007.fw dvb-usb-tbsqbox-id2601.fw dvb-fe-rs6000.fw v4l-cx231xx-avcore-01.fw sms1xxx-nova-b-dvbt-01.fw dvb-usb-dib0700-1.20.fw dvb-usb-tbsqbox-id5920.fw dvb-usb-dw3101.fw dvb-usb-avertv-a800-02.fw dvb-usb-dibusb-5.0.0.11.fw dvb-demod-si2168-a20-01.fw dvb-usb-it9135-01.fw dvb-demod-mn88472-02.fw dvb-usb-p7500.fw dvb-demod-si2168-b40-01.fw dvb-fe-tda10048-1.0.fw dvb-fe-ds300x.fw dvb-fe-mxl5xx.fw dvb-fe-or51132-qam.fw dvb-demod-drxk-pctv.fw dvb-fe-tda10045.fw dvb-fe-cx24116.fw v4l-cx23885-enc.fw dvb-usb-SkyStar_USB_HD_FW_v17_63.HEX.fw dvb-usb-tt-s2400-01.fw dvb-demod-si2183-b60-01.fw dvb-tuner-si2141-a10-01.fw dvb-usb-tbsqbox-id5928.fw dvb-fe-xc5000-1.6.114.fw dvb-usb-wt220u-01.fw sms1xxx-hcw-55xxx-isdbt-02.fw dvb-usb-dw2104.fw dvb-fe-drxj-mc-1.0.8.fw dvb-usb-vp702x-01.fw dvb-usb-tbsqbox-id5220.fw dvb-usb-vp7045-01.fw dvb-fe-drxj-mc-vsb-qam-1.0.8.fw dvb-usb-s620.fw sms1xxx-stellar-dvbt-01.fw v4l-cx23418-dig.fw dvb-fe-cx24117.fw v4l-cx23885-avcore-01.fw sms1xxx-nova-a-dvbt-01.fw dvb-usb-umt-010-02.fw sms1xxx-hcw-55xxx-dvbt-02.fw dvb-usb-tbsqbox-id5922.fw dvb-usb-tbsqbox-id5980.fw dvb-usb-tbsqbox-dvbc.fw dvb-usb-tbsqbox-id5520.fw dvb-usb-dtt200u-01.fw dvb-usb-tbsqbox-id5910.fw dvb-usb-s630.fw dvb-fe-ds3000.fw dvb-fe-xc4000-1.4.1.fw dvb-demod-si2168-a30-01.fw dvb-fe-drxj-mc-vsb-1.0.8.fw dvb-usb-tbsqbox-id5925.fw dvb-demod-si2168-01.fw dvb-demod-mn88473-01.fw dvb-fe-xc5000c-4.1.30.7.fw dvb-usb-pctv-450e-01.fw dvb-usb-terratec-h7-drxk.fw dvb-fe-tda10046.fw dvb-usb-dw2102.fw dvb-usb-tbsqbox-id5680.fw dvb-usb-s660.fw dvb-fe-or51211.fw dvb-usb-tbsqbox-id5881.fw v4l-cx23885-enc-broken.fw dvb-usb-it9135-02.fw dvb-usb-p1100.fw dvb-usb-pctv-452e-01.fw make[2]: Leaving directory '/home/idan/media_build/v4l/firmware' make[1]: Leaving directory '/home/idan/media_build/v4l' root@orangepipc:/home/idan/media_build# lsusb Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 003: ID 0572:c689 Conexant Systems (Rockwell), Inc. Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub root@orangepipc:/home/idan/media_build# dmesg [ 0.000000] Booting Linux on physical CPU 0 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 3.4.112-sun8i (root@ubuntu) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.1) ) #2 SMP PREEMPT Wed Oct 26 16:09:47 IDT 2016 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Machine: sun8i [ 0.000000] cma: CMA: reserved 256 MiB at 50000000 [ 0.000000] Memory policy: ECC disabled, Data cache writealloc [ 0.000000] On node 0 totalpages: 262144 [ 0.000000] free_area_init_node: node 0, pgdat c0a0f700, node_mem_map c0b48000 [ 0.000000] Normal zone: 1710 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 192850 pages, LIFO batch:31 [ 0.000000] HighMem zone: 594 pages used for memmap [ 0.000000] HighMem zone: 66990 pages, LIFO batch:15 [ 0.000000] script_init enter! [ 0.000000] script_init exit! [ 0.000000] PERCPU: Embedded 8 pages/cpu @c145e000 s11968 r8192 d12608 u32768 [ 0.000000] pcpu-alloc: s11968 r8192 d12608 u32768 alloc=8*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 259840 [ 0.000000] Kernel command line: root=UUID=2552b647-a365-4262-aeb4-cb0446ef8028 rootwait rootfstype=ext4 console=tty1 console=ttyS0,115200 cgroup_enable=memory swapaccount=1 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 enforcing=0 loglevel=1 ubootpart=a7f538db-01 sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16 [ 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] allocated 2097152 bytes of page_cgroup [ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups [ 0.000000] Memory: 1024MB = 1024MB total [ 0.000000] Memory: 758792k/758792k available, 289784k reserved, 270336K highmem [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] vmalloc : 0xf0000000 - 0xff000000 ( 240 MB) [ 0.000000] lowmem : 0xc0000000 - 0xef800000 ( 760 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc0951e88 (9512 kB) [ 0.000000] .init : 0xc0952000 - 0xc09a2ec0 ( 324 kB) [ 0.000000] .data : 0xc09a4000 - 0xc0a14550 ( 450 kB) [ 0.000000] .bss : 0xc0a14d04 - 0xc0b47d10 (1229 kB) [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Additional per-CPU info printed with stalls. [ 0.000000] NR_IRQS:544 [ 0.000000] Architected local timer running at 24.00MHz. [ 0.000000] Switching to timer-based delay loop [ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms [ 0.000000] Console: colour dummy device 80x30 [ 0.000000] console [tty1] enabled [ 0.000267] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.00 BogoMIPS (lpj=24000000) [ 0.000290] pid_max: default: 32768 minimum: 301 [ 0.000628] Mount-cache hash table entries: 512 [ 0.001590] Initializing cgroup subsys cpuacct [ 0.001605] Initializing cgroup subsys memory [ 0.001652] Initializing cgroup subsys devices [ 0.001664] Initializing cgroup subsys freezer [ 0.001674] Initializing cgroup subsys blkio [ 0.001698] Initializing cgroup subsys perf_event [ 0.001777] CPU: Testing write buffer coherency: ok [ 0.001821] ftrace: allocating 25661 entries in 76 pages [ 0.030297] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.030315] [sunxi_smp_prepare_cpus] enter [ 0.030351] Setting up static identity map for 0x4068c098 - 0x4068c0f0 [ 0.031299] CPU1: Booted secondary processor [ 0.031299] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.031430] CPU2: Booted secondary processor [ 0.031430] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002 [ 0.040485] CPU3: Booted secondary processor [ 0.040485] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003 [ 0.040605] Brought up 4 CPUs [ 0.040605] SMP: Total of 4 processors activated (19200.00 BogoMIPS). [ 0.040909] devtmpfs: initialized [ 0.051011] wakeup src cnt is : 2. [ 0.051025] [exstandby]leave extended_standby_enable_wakeup_src : event 0x800000 [ 0.051036] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_map 0x0 [ 0.051047] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_group 0x40 [ 0.051058] [exstandby]leave extended_standby_enable_wakeup_src : event 0x800000 [ 0.051068] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_map 0x8 [ 0.051079] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_group 0x40 [ 0.051090] sunxi pm init [ 0.051229] pinctrl core: initialized pinctrl subsystem [ 0.061241] NET: Registered protocol family 16 [ 0.062210] DMA: preallocated 2048 KiB pool for atomic coherent allocations [ 0.062210] script_sysfs_init success [ 0.062210] sunxi_dump_init success [ 0.062449] gpiochip_add: registered GPIOs 0 to 383 on device: sunxi-pinctrl [ 0.062449] sunxi-pinctrl sunxi-pinctrl: initialized sunXi PIO driver [ 0.062449] plat: add bmp085 device [ 0.062449] plat: add pcf8591 device [ 0.062449] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.062449] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.062449] script config pll_video to 297 Mhz [ 0.062449] script config pll_de to 864 Mhz [ 0.062449] script config pll_ve to 402 Mhz [ 0.062449] sunxi_default_clk_init [ 0.062449] try to set pll6ahb1 to 200000000 [ 0.062449] try to set ahb clk source to pll6ahb1 [ 0.062449] set ahb clk source to pll6ahb1 [ 0.062449] try to set ahb1 to 200000000 [ 0.062449] try to set apb1 to 100000000 [ 0.070233] bio: create slab <bio-0> at 0 [ 0.070309] [ARISC] :sunxi-arisc driver v1.04 [ 0.090968] [ARISC] :arisc version: [v0.1.58] [ 0.181208] [ARISC] :sunxi-arisc driver v1.04 startup succeeded [ 0.182799] SCSI subsystem initialized [ 0.182799] usbcore: registered new interface driver usbfs [ 0.182799] usbcore: registered new interface driver hub [ 0.182799] usbcore: registered new device driver usb [ 0.182799] twi_chan_cfg()340 - [twi0] has no twi_regulator. [ 0.182799] twi_chan_cfg()340 - [twi1] has no twi_regulator. [ 0.182799] twi_chan_cfg()340 - [twi2] has no twi_regulator. [ 0.182799] Linux video capture interface: v2.00 [ 0.182799] Advanced Linux Sound Architecture Driver Version 1.0.25. [ 0.182799] cfg80211: Calling CRDA to update world regulatory domain [ 0.182799] Switching to clocksource arch_sys_counter [ 0.193887] FS-Cache: Loaded [ 0.194176] CacheFiles: Loaded [ 0.205406] NET: Registered protocol family 2 [ 0.216759] IP route cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.217360] TCP established hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.219121] TCP bind hash table entries: 65536 (order: 7, 786432 bytes) [ 0.220208] TCP: Hash tables configured (established 131072 bind 65536) [ 0.220220] TCP: reno registered [ 0.220236] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 0.220274] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 0.220623] NET: Registered protocol family 1 [ 0.221031] RPC: Registered named UNIX socket transport module. [ 0.221043] RPC: Registered udp transport module. [ 0.221052] RPC: Registered tcp transport module. [ 0.221060] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.221252] Trying to unpack rootfs image as initramfs... [ 0.407878] Freeing initrd memory: 3040K [ 0.408464] hw perfevents: enabled with ARMv7 Cortex_A7 PMU driver, 5 counters available [ 0.408592] sunxi_reg_init enter [ 0.409514] audit: initializing netlink socket (disabled) [ 0.409563] type=2000 audit(0.400:1): initialized [ 0.410753] highmem bounce pool size: 64 pages [ 0.411633] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.411816] misc fatfs initialized [ 0.412532] NFS: Registering the id_resolver key type [ 0.412924] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 0.412938] Installing knfsd (copyright © 1996 okir@monad.swb.de). [ 0.413710] NTFS driver 2.1.30 [Flags: R/W]. [ 0.414026] fuse init (API version 7.18) [ 0.414768] Btrfs loaded [ 0.414794] msgmni has been set to 1471 [ 0.416206] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 0.416224] io scheduler noop registered [ 0.416233] io scheduler deadline registered [ 0.416300] io scheduler cfq registered (default) [ 0.416715] [DISP]disp_module_init [ 0.417016] cmdline,init_disp= [ 0.417046] cmdline,disp= [ 0.424866] [DISP] Fb_map_kernel_logo,line:932:Fb_map_kernel_logo failed! [ 0.441283] Console: switching to colour frame buffer device 160x45 [ 0.458599] [DISP]disp_module_init finish [ 0.458822] sw_uart_get_devinfo()1503 - uart0 has no uart_regulator. [ 0.459134] uart0: ttyS0 at MMIO 0x1c28000 (irq = 32) is a SUNXI [ 0.459149] sw_uart_pm()890 - uart0 clk is already enable [ 0.459167] sw_console_setup()1233 - console setup baud 115200 parity n bits 8, flow n [ 0.459303] console [ttyS0] enabled [ 0.459835] sunxi_cmatest_init enter [ 0.459878] sunxi_cmatest_init success [ 0.464016] brd: module loaded [ 0.467910] loop: module loaded [ 0.468192] sunxi_spi_chan_cfg()1376 - [spi-0] has no spi_regulator. [ 0.468206] sunxi_spi_chan_cfg()1376 - [spi-1] has no spi_regulator. [ 0.468810] spi spi0: master is unqueued, this is deprecated [ 0.469122] tun: Universal TUN/TAP device driver, 1.6 [ 0.469132] tun: © 1999-2004 Max Krasnyansky <maxk@qualcomm.com> [ 0.470117] PPP generic driver version 2.4.2 [ 0.470337] PPP BSD Compression module registered [ 0.470349] PPP Deflate Compression module registered [ 0.473121] PPP MPPE Compression module registered [ 0.473139] NET: Registered protocol family 24 [ 0.473214] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.493317] sunxi-ehci sunxi-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.493352] sunxi-ehci sunxi-ehci.1: new USB bus registered, assigned bus number 1 [ 0.493911] sunxi-ehci sunxi-ehci.1: irq 104, io mem 0xf1c1a000 [ 0.510037] sunxi-ehci sunxi-ehci.1: USB 0.0 started, EHCI 1.00 [ 0.510658] hub 1-0:1.0: USB hub found [ 0.510682] hub 1-0:1.0: 1 port detected [ 0.531058] sunxi-ehci sunxi-ehci.2: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.531087] sunxi-ehci sunxi-ehci.2: new USB bus registered, assigned bus number 2 [ 0.531481] sunxi-ehci sunxi-ehci.2: irq 106, io mem 0xf1c1b000 [ 0.550034] sunxi-ehci sunxi-ehci.2: USB 0.0 started, EHCI 1.00 [ 0.550570] hub 2-0:1.0: USB hub found [ 0.550598] hub 2-0:1.0: 1 port detected [ 0.570964] sunxi-ehci sunxi-ehci.3: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.570992] sunxi-ehci sunxi-ehci.3: new USB bus registered, assigned bus number 3 [ 0.571376] sunxi-ehci sunxi-ehci.3: irq 108, io mem 0xf1c1c000 [ 0.590032] sunxi-ehci sunxi-ehci.3: USB 0.0 started, EHCI 1.00 [ 0.590049] ehci_irq: highspeed device connect [ 0.590556] hub 3-0:1.0: USB hub found [ 0.590581] hub 3-0:1.0: 1 port detected [ 0.610945] sunxi-ehci sunxi-ehci.4: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver [ 0.610974] sunxi-ehci sunxi-ehci.4: new USB bus registered, assigned bus number 4 [ 0.611364] sunxi-ehci sunxi-ehci.4: irq 110, io mem 0xf1c1d000 [ 0.630031] sunxi-ehci sunxi-ehci.4: USB 0.0 started, EHCI 1.00 [ 0.630556] hub 4-0:1.0: USB hub found [ 0.630581] hub 4-0:1.0: 1 port detected [ 0.630948] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 0.651063] sunxi-ohci sunxi-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 0.651091] sunxi-ohci sunxi-ohci.1: new USB bus registered, assigned bus number 5 [ 0.651125] sunxi-ohci sunxi-ohci.1: irq 105, io mem 0xf1c1a400 [ 0.714548] hub 5-0:1.0: USB hub found [ 0.714569] hub 5-0:1.0: 1 port detected [ 0.734936] sunxi-ohci sunxi-ohci.2: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 0.734964] sunxi-ohci sunxi-ohci.2: new USB bus registered, assigned bus number 6 [ 0.734998] sunxi-ohci sunxi-ohci.2: irq 107, io mem 0xf1c1b400 [ 0.794601] hub 6-0:1.0: USB hub found [ 0.794622] hub 6-0:1.0: 1 port detected [ 0.815003] sunxi-ohci sunxi-ohci.3: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 0.815030] sunxi-ohci sunxi-ohci.3: new USB bus registered, assigned bus number 7 [ 0.815072] sunxi-ohci sunxi-ohci.3: irq 109, io mem 0xf1c1c400 [ 0.850040] ehci_irq: highspeed device disconnect [ 0.874576] hub 7-0:1.0: USB hub found [ 0.874594] hub 7-0:1.0: 1 port detected [ 0.894964] sunxi-ohci sunxi-ohci.4: SW USB2.0 'Open' Host Controller (OHCI) Driver [ 0.894992] sunxi-ohci sunxi-ohci.4: new USB bus registered, assigned bus number 8 [ 0.895024] sunxi-ohci sunxi-ohci.4: irq 111, io mem 0xf1c1d400 [ 0.954522] hub 8-0:1.0: USB hub found [ 0.954543] hub 8-0:1.0: 1 port detected [ 0.954883] Initializing USB Mass Storage driver... [ 0.955111] usbcore: registered new interface driver usb-storage [ 0.955123] USB Mass Storage support registered. [ 0.955178] usbcore: registered new interface driver ums-alauda [ 0.955227] usbcore: registered new interface driver ums-cypress [ 0.955279] usbcore: registered new interface driver ums-datafab [ 0.955328] usbcore: registered new interface driver ums_eneub6250 [ 0.955375] usbcore: registered new interface driver ums-freecom [ 0.955430] usbcore: registered new interface driver ums-isd200 [ 0.955480] usbcore: registered new interface driver ums-jumpshot [ 0.955526] usbcore: registered new interface driver ums-karma [ 0.955575] usbcore: registered new interface driver ums-onetouch [ 0.955635] usbcore: registered new interface driver ums-realtek [ 0.955686] usbcore: registered new interface driver ums-sddr09 [ 0.955733] usbcore: registered new interface driver ums-sddr55 [ 0.955781] usbcore: registered new interface driver ums-usbat [ 0.956003] uinput result 0 , vmouse_init [ 0.956611] mousedev: PS/2 mouse device common for all mice [ 0.956825] sunxikbd_init failed. [ 0.957572] ls_fetch_sysconfig_para: type err device_used = -1073060220. [ 0.957583] =========script_get_err============ [ 0.957591] ltr_init: ls_fetch_sysconfig_para err. [ 0.958145] sunxi-rtc sunxi-rtc: rtc core: registered sunxi-rtc as rtc0 [ 0.958194] i2c /dev entries driver [ 0.958582] sunxi cedar version 0.1 [ 0.958622] [cedar]: install start!!! [ 0.958813] [cedar]: install end!!! [ 0.959061] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x18) [ 0.959233] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x19) [ 0.959403] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x1a) [ 0.959573] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x29) [ 0.959742] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x2a) [ 0.959911] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x2b) [ 0.960083] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x4c) [ 0.960248] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x4d) [ 0.960413] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x4e) [ 0.960610] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x18) [ 0.960801] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x19) [ 0.960993] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x1a) [ 0.961184] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x29) [ 0.961375] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x2a) [ 0.961567] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x2b) [ 0.961758] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x4c) [ 0.961950] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x4d) [ 0.962141] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x4e) [ 0.962156] sunxi_wdt_init_module: sunxi WatchDog Timer Driver v1.0 [ 0.962315] sunxi_wdt_probe: devm_ioremap return wdt_reg 0xf1c20ca0, res->start 0x01c20ca0, res->end 0x01c20cbf [ 0.962475] sunxi_wdt_probe: initialized (g_timeout=16s, g_nowayout=0) [ 0.962488] wdt_enable, write reg 0xf1c20cb8 val 0x00000000 [ 0.962499] timeout_to_interv, line 167 [ 0.962507] interv_to_timeout, line 189 [ 0.962516] wdt_set_tmout, write 0x000000b0 to mode reg 0xf1c20cb8, actual timeout 16 sec [ 0.962959] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com [ 0.963176] calibrat: max_cpufreq 1200Mhz Type 0! [ 0.963483] [mmc]: SD/MMC/SDIO Host Controller Driver(v1.111 2015-4-13 15:24) Compiled in Oct 26 2016 at 15:52:46 [ 0.963519] [mmc]: get mmc0's sdc_power is null! [ 0.963546] [mmc]: get mmc1's sdc_power is null! [ 0.963555] [mmc]: get mmc1's 2xmode ok, val = 1 [ 0.963564] [mmc]: get mmc1's ddrmode ok, val = 1 [ 0.963580] [mmc]: MMC host used card: 0x3, boot card: 0x0, io_card 2 [ 0.967156] [mmc]: sdc0 power_supply is null [ 0.968999] no blue_led, ignore it! [ 0.969237] Registered led device: red_led [ 0.969349] Registered led device: green_led [ 0.969366] no led_0, ignore it! [ 0.969374] no led_1, ignore it! [ 0.969381] no led_2, ignore it! [ 0.969388] no led_3, ignore it! [ 0.969395] no led_4, ignore it! [ 0.969402] no led_5, ignore it! [ 0.969409] no led_6, ignore it! [ 0.969416] no led_7, ignore it! [ 0.970336] usbcore: registered new interface driver usbhid [ 0.970347] usbhid: USB HID core driver [ 0.974678] asoc: sndcodec <-> sunxi-codec mapping ok [ 0.975532] [DAUDIO]sunxi-daudio cannot find any using configuration for controllers, return directly! [ 0.975719] [i2S]snddaudio cannot find any using configuration for controllers, return directly! [ 0.975733] [DAUDIO0] driver not init,just return. [ 0.979140] asoc: sndhdmi <-> sunxi-hdmiaudio.0 mapping ok [ 0.980193] oprofile: using arm/armv7-ca7 [ 0.980392] u32 classifier [ 0.980402] Performance counters on [ 0.980409] input device check on [ 0.980417] Actions configured [ 0.980600] IPv4 over IPv4 tunneling driver [ 0.981242] TCP: bic registered [ 0.981255] TCP: cubic registered [ 0.981263] TCP: westwood registered [ 0.981270] TCP: highspeed registered [ 0.981278] TCP: hybla registered [ 0.981285] TCP: htcp registered [ 0.981292] TCP: vegas registered [ 0.981299] TCP: veno registered [ 0.981307] TCP: scalable registered [ 0.981314] TCP: lp registered [ 0.981321] TCP: yeah registered [ 0.981329] TCP: illinois registered [ 0.981336] Initializing XFRM netlink socket [ 0.981567] NET: Registered protocol family 10 [ 0.982740] NET: Registered protocol family 17 [ 0.982772] NET: Registered protocol family 15 [ 0.982817] Registering the dns_resolver key type [ 0.983381] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.983404] ThumbEE CPU extension supported. [ 0.983426] Registering SWP/SWPB emulation handler [ 0.983997] registered taskstats version 1 [ 0.984443] cmdline,disp= [ 0.984755] [HDMI] power vcc-hdmi-18 [ 1.015461] ths_fetch_sysconfig_para: type err device_used = 1. [ 1.016716] CPU Budget:corekeeper enabled [ 1.016937] CPU Budget:Register notifier [ 1.016950] CPU Budget:register Success [ 1.016964] sunxi-budget-cooling sunxi-budget-cooling: Cooling device registered: thermal-budget-0 [ 1.020172] [rf_pm]: module power0 name vcc-wifi-33 [ 1.020189] [rf_pm]: Did not config module_power1 in sys_config [ 1.020199] [rf_pm]: Did not config module_power2 in sys_config [ 1.020209] [rf_pm]: Did not config module_power3 in sys_config [ 1.020220] [rf_pm]: mod has no chip_en gpio [ 1.020228] [rf_pm]: failed to fetch lpo_use_apclk [ 1.020235] [rf_pm]: regulator on. [ 1.020246] [wifi_pm]: no wifi used in configuration [ 1.020255] [rfkill]: init no bt used in configuration [ 1.020263] ALSA device list: [ 1.020270] #0: audiocodec [ 1.020277] #1: sndhdmi [ 1.021220] Freeing init memory: 320K [ 1.033938] mmc0: new high speed SDHC card at address 59b4 [ 1.034509] mmcblk0: mmc0:59b4 USD00 14.7 GiB [ 1.035851] mmcblk0: p1 [ 1.036505] mmcblk mmc0:59b4: Card claimed for testing. [ 1.036522] mmc0:59b4: USD00 14.7 GiB [ 1.066001] systemd-udevd[96]: starting version 215 [ 1.250078] usb 7-1: new full-speed USB device number 2 using sunxi-ohci [ 1.496613] logitech-djreceiver 0003:046D:C52B.0003: hiddev0,hidraw0: USB HID v1.11 Device [Logitech USB Receiver] on usb-sunxi-ohci-1/input2 [ 1.501722] logitech-djdevice 0003:046D:C52B.0004: input,hidraw1: USB HID v1.11 Mouse [Logitech Unifying Device. Wireless PID:101b] on usb-sunxi-ohci-1:1 [ 1.504719] logitech-djdevice 0003:046D:C52B.0005: input,hidraw2: USB HID v1.11 Keyboard [Logitech Unifying Device. Wireless PID:2008] on usb-sunxi-ohci-1:2 [ 1.507261] logitech-djdevice 0003:046D:C52B.0006: input,hidraw3: USB HID v1.11 Keyboard [Logitech Unifying Device. Wireless PID:2008] on usb-sunxi-ohci-1:3 [ 1.620054] [DISP] disp_device_attached_and_enable,line:159:attched ok, mgr0<-->device0, type=4, mode=5 [ 2.728911] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null) [ 3.930318] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR) [ 3.930638] systemd[1]: Detected architecture 'arm'. [ 3.971568] systemd[1]: Set hostname to <orangepipc>. [ 4.298245] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory. [ 4.301002] systemd[1]: Expecting device dev-ttyS0.device... [ 4.320160] systemd[1]: Starting Forward Password Requests to Wall Directory Watch. [ 4.320405] systemd[1]: Started Forward Password Requests to Wall Directory Watch. [ 4.320485] systemd[1]: Starting Remote File Systems (Pre). [ 4.340111] systemd[1]: Reached target Remote File Systems (Pre). [ 4.340286] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point. [ 4.360132] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. [ 4.360225] systemd[1]: Starting Encrypted Volumes. [ 4.380120] systemd[1]: Reached target Encrypted Volumes. [ 4.380215] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch. [ 4.380438] systemd[1]: Started Dispatch Password Requests to Console Directory Watch. [ 4.380500] systemd[1]: Starting Paths. [ 4.400118] systemd[1]: Reached target Paths. [ 4.400190] systemd[1]: Starting Root Slice. [ 4.420123] systemd[1]: Created slice Root Slice. [ 4.420190] systemd[1]: Starting User and Session Slice. [ 4.440115] systemd[1]: Created slice User and Session Slice. [ 4.440182] systemd[1]: Starting Delayed Shutdown Socket. [ 4.460122] systemd[1]: Listening on Delayed Shutdown Socket. [ 4.460190] systemd[1]: Starting /dev/initctl Compatibility Named Pipe. [ 4.480116] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. [ 4.480185] systemd[1]: Starting Journal Socket (/dev/log). [ 4.500119] systemd[1]: Listening on Journal Socket (/dev/log). [ 4.500210] systemd[1]: Starting udev Control Socket. [ 4.520115] systemd[1]: Listening on udev Control Socket. [ 4.520193] systemd[1]: Starting udev Kernel Socket. [ 4.540136] systemd[1]: Listening on udev Kernel Socket. [ 4.540228] systemd[1]: Starting Journal Socket. [ 4.560117] systemd[1]: Listening on Journal Socket. [ 4.560248] systemd[1]: Starting System Slice. [ 4.580122] systemd[1]: Created slice System Slice. [ 4.580220] systemd[1]: Started File System Check on Root Device. [ 4.580275] systemd[1]: Starting system-getty.slice. [ 4.600119] systemd[1]: Created slice system-getty.slice. [ 4.600185] systemd[1]: Starting system-serial\x2dgetty.slice. [ 4.620120] systemd[1]: Created slice system-serial\x2dgetty.slice. [ 4.620258] systemd[1]: Starting Increase datagram queue length... [ 4.750763] systemd[1]: Starting Restore / save the current clock... [ 4.820883] systemd[1]: Starting udev Coldplug all Devices... [ 4.881252] systemd[1]: Starting Create list of required static device nodes for the current kernel... [ 4.950979] systemd[1]: Mounted Huge Pages File System. [ 4.951371] systemd[1]: Mounting Debug File System... [ 5.016110] systemd[1]: Starting Load Kernel Modules... [ 5.102629] systemd[1]: Started Set Up Additional Binary Formats. [ 5.102847] systemd[1]: Mounting POSIX Message Queue File System... [ 5.211385] [mmc]: sdc1 power_supply is null [ 5.220541] systemd[1]: Starting LSB: Set keymap... [ 5.265226] [mmc]: sdc1 power_supply is null [ 5.269337] [mmc]: sdc1 power_supply is null [ 5.309814] [wifi_pm]: set wl_reg_on 1 ! [ 5.328564] [mmc]: sdc1 power_supply is null [ 5.332606] [mmc]: sdc1 power_supply is null [ 5.340660] systemd[1]: Starting Slices. [ 5.360191] systemd[1]: Reached target Slices. [ 5.380166] systemd[1]: Mounted POSIX Message Queue File System. [ 5.395295] [mmc]: sdc1 power_supply is null [ 5.399403] [mmc]: sdc1 power_supply is null [ 5.400177] systemd[1]: Mounted Debug File System. [ 5.471979] [mmc]: sdc1 power_supply is null [ 5.510152] systemd[1]: Started Increase datagram queue length. [ 5.600145] systemd[1]: Started Restore / save the current clock. [ 5.800190] systemd[1]: Started Create list of required static device nodes for the current kernel. [ 5.890148] systemd[1]: Started Load Kernel Modules. [ 5.970145] systemd[1]: Started LSB: Set keymap. [ 6.090143] systemd[1]: Started udev Coldplug all Devices. [ 6.092233] systemd[1]: Time has been changed [ 6.092572] systemd[1]: Mounting FUSE Control File System... [ 6.180503] systemd[1]: Starting Apply Kernel Variables... [ 6.281104] systemd[1]: Mounted Configuration File System. [ 6.281455] systemd[1]: Starting Create Static Device Nodes in /dev... [ 6.370840] systemd[1]: Starting Syslog Socket. [ 6.390590] systemd[1]: Listening on Syslog Socket. [ 6.390762] systemd[1]: Starting Journal Service... [ 6.570243] systemd[1]: Started Journal Service. [ 6.925681] systemd-udevd[178]: starting version 215 [ 7.137571] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x48) [ 7.138306] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x48) [ 7.139912] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x77) [ 7.139955] bmp085: probe of 0-0077 failed with error -70 [ 7.772763] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro [ 7.976560] Adding 131068k swap on /var/swap. Priority:-1 extents:1 across:131068k SS [ 9.307690] systemd-journald[177]: Received request to flush runtime journal from PID 1 [ 9.653670] gmac0: probed [ 9.653991] gmac0 gmac0: eth0: eth0: PHY ID 00441400 at 0 IRQ poll (gmac0-0:00) [ 11.997521] Registered IR keymap rc-empty [ 11.999753] rc0: sunxi-ir as /devices/virtual/rc/rc0 [ 12.023198] IR RC5(x) protocol handler initialized [ 12.125043] rc s_cir0: lirc_dev: driver ir-lirc-codec (sunxi-ir) registered at minor = 0 [ 12.650255] PHY: gmac0-0:00 - Link is Up - 100/Full [ 20.520062] eth0: no IPv6 routers present [ 72.781066] ohci_irq: fullspeed or lowspeed device disconnect [ 72.781094] ehci_irq: highspeed device connect [ 72.781281] usb 7-1: USB disconnect, device number 2 [ 72.800131] ehci_irq: highspeed device disconnect [ 72.934471] ehci_irq: highspeed device disconnect [ 600.244912] ehci_irq: highspeed device connect [ 600.260062] ehci_irq: highspeed device disconnect [ 600.487424] ehci_irq: highspeed device connect [ 600.760105] usb 3-1: new high-speed USB device number 3 using sunxi-ehci
idandavidi Posted October 26, 2016 Author Posted October 26, 2016 I have posted it in the spoiler tag. here it is again: /: media.ko cec-edid.kousb/siano/: smsusb.kodvb-core/: dvb-core.ko/sbin/depmod -a 3.4.112-sun8imake -C firmware installmake[2]: Entering directory '/home/idan/media_build/v4l/firmware'Installing firmwares at /lib/firmware: vicam/firmware.fw ttusb-budget/dspbootcode.bin cpia2/stv0672_vp4.bin av7110/bootcode.bin dvb-demod-si2168-02.fw dvb-usb-dibusb-6.0.0.8.fw dvb-tuner-si2158-a20-01.fw dvb-usb-bluebird-01.fw dvb-usb-sb340.fw dvb-usb-tbsqbox-id5921.fw v4l-cx25840.fw v4l-cx23418-cpu.fw dvb-fe-tda10071.fw dvb-usb-terratec-h5-drxk.fw dvb-usb-wt220u-02.fw dvb-usb-tbsqbox-id5880.fw dvb-usb-dw2101.fw dvb-fe-bcm3510-01.fw v4l-cx23418-apu.fw dvb-usb-pctv-400e-01.fw dvb-fe-ds3103.fw dvb-usb-tbsqbox-id5927.fw dvb-usb-p1100-old.fw dvb-demod-si2168-d60-01.fw dvb-fe-or51132-vsb.fw dvb-usb-terratec-h7-az6007.fw dvb-usb-tbsqbox-id2601.fw dvb-fe-rs6000.fw v4l-cx231xx-avcore-01.fw sms1xxx-nova-b-dvbt-01.fw dvb-usb-dib0700-1.20.fw dvb-usb-tbsqbox-id5920.fw dvb-usb-dw3101.fw dvb-usb-avertv-a800-02.fw dvb-usb-dibusb-5.0.0.11.fw dvb-demod-si2168-a20-01.fw dvb-usb-it9135-01.fw dvb-demod-mn88472-02.fw dvb-usb-p7500.fw dvb-demod-si2168-b40-01.fw dvb-fe-tda10048-1.0.fw dvb-fe-ds300x.fw dvb-fe-mxl5xx.fw dvb-fe-or51132-qam.fw dvb-demod-drxk-pctv.fw dvb-fe-tda10045.fw dvb-fe-cx24116.fw v4l-cx23885-enc.fw dvb-usb-SkyStar_USB_HD_FW_v17_63.HEX.fw dvb-usb-tt-s2400-01.fw dvb-demod-si2183-b60-01.fw dvb-tuner-si2141-a10-01.fw dvb-usb-tbsqbox-id5928.fw dvb-fe-xc5000-1.6.114.fw dvb-usb-wt220u-01.fw sms1xxx-hcw-55xxx-isdbt-02.fw dvb-usb-dw2104.fw dvb-fe-drxj-mc-1.0.8.fw dvb-usb-vp702x-01.fw dvb-usb-tbsqbox-id5220.fw dvb-usb-vp7045-01.fw dvb-fe-drxj-mc-vsb-qam-1.0.8.fw dvb-usb-s620.fw sms1xxx-stellar-dvbt-01.fw v4l-cx23418-dig.fw dvb-fe-cx24117.fw v4l-cx23885-avcore-01.fw sms1xxx-nova-a-dvbt-01.fw dvb-usb-umt-010-02.fw sms1xxx-hcw-55xxx-dvbt-02.fw dvb-usb-tbsqbox-id5922.fw dvb-usb-tbsqbox-id5980.fw dvb-usb-tbsqbox-dvbc.fw dvb-usb-tbsqbox-id5520.fw dvb-usb-dtt200u-01.fw dvb-usb-tbsqbox-id5910.fw dvb-usb-s630.fw dvb-fe-ds3000.fw dvb-fe-xc4000-1.4.1.fw dvb-demod-si2168-a30-01.fw dvb-fe-drxj-mc-vsb-1.0.8.fw dvb-usb-tbsqbox-id5925.fw dvb-demod-si2168-01.fw dvb-demod-mn88473-01.fw dvb-fe-xc5000c-4.1.30.7.fw dvb-usb-pctv-450e-01.fw dvb-usb-terratec-h7-drxk.fw dvb-fe-tda10046.fw dvb-usb-dw2102.fw dvb-usb-tbsqbox-id5680.fw dvb-usb-s660.fw dvb-fe-or51211.fw dvb-usb-tbsqbox-id5881.fw v4l-cx23885-enc-broken.fw dvb-usb-it9135-02.fw dvb-usb-p1100.fw dvb-usb-pctv-452e-01.fwmake[2]: Leaving directory '/home/idan/media_build/v4l/firmware'make[1]: Leaving directory '/home/idan/media_build/v4l'root@orangepipc:/home/idan/media_build# lsusbBus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubBus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubBus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubBus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hubBus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubBus 003 Device 003: ID 0572:c689 Conexant Systems (Rockwell), Inc.Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubBus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubBus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubroot@orangepipc:/home/idan/media_build# dmesg[ 0.000000] Booting Linux on physical CPU 0[ 0.000000] Initializing cgroup subsys cpuset[ 0.000000] Initializing cgroup subsys cpu[ 0.000000] Linux version 3.4.112-sun8i (root@ubuntu) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.1) ) #2 SMP PREEMPT Wed Oct 26 16:09:47 IDT 2016[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache[ 0.000000] Machine: sun8i[ 0.000000] cma: CMA: reserved 256 MiB at 50000000[ 0.000000] Memory policy: ECC disabled, Data cache writealloc[ 0.000000] On node 0 totalpages: 262144[ 0.000000] free_area_init_node: node 0, pgdat c0a0f700, node_mem_map c0b48000[ 0.000000] Normal zone: 1710 pages used for memmap[ 0.000000] Normal zone: 0 pages reserved[ 0.000000] Normal zone: 192850 pages, LIFO batch:31[ 0.000000] HighMem zone: 594 pages used for memmap[ 0.000000] HighMem zone: 66990 pages, LIFO batch:15[ 0.000000] script_init enter![ 0.000000] script_init exit![ 0.000000] PERCPU: Embedded 8 pages/cpu @c145e000 s11968 r8192 d12608 u32768[ 0.000000] pcpu-alloc: s11968 r8192 d12608 u32768 alloc=8*4096[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 259840[ 0.000000] Kernel command line: root=UUID=2552b647-a365-4262-aeb4-cb0446ef8028 rootwait rootfstype=ext4 console=tty1 console=ttyS0,115200 cgroup_enable=memory swapaccount=1 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 enforcing=0 loglevel=1 ubootpart=a7f538db-01 sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16[ 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] allocated 2097152 bytes of page_cgroup[ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups[ 0.000000] Memory: 1024MB = 1024MB total[ 0.000000] Memory: 758792k/758792k available, 289784k reserved, 270336K highmem[ 0.000000] Virtual kernel memory layout:[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)[ 0.000000] vmalloc : 0xf0000000 - 0xff000000 ( 240 MB)[ 0.000000] lowmem : 0xc0000000 - 0xef800000 ( 760 MB)[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)[ 0.000000] .text : 0xc0008000 - 0xc0951e88 (9512 kB)[ 0.000000] .init : 0xc0952000 - 0xc09a2ec0 ( 324 kB)[ 0.000000] .data : 0xc09a4000 - 0xc0a14550 ( 450 kB)[ 0.000000] .bss : 0xc0a14d04 - 0xc0b47d10 (1229 kB)[ 0.000000] Preemptible hierarchical RCU implementation.[ 0.000000] Additional per-CPU info printed with stalls.[ 0.000000] NR_IRQS:544[ 0.000000] Architected local timer running at 24.00MHz.[ 0.000000] Switching to timer-based delay loop[ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms[ 0.000000] Console: colour dummy device 80x30[ 0.000000] console [tty1] enabled[ 0.000267] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.00 BogoMIPS (lpj=24000000)[ 0.000290] pid_max: default: 32768 minimum: 301[ 0.000628] Mount-cache hash table entries: 512[ 0.001590] Initializing cgroup subsys cpuacct[ 0.001605] Initializing cgroup subsys memory[ 0.001652] Initializing cgroup subsys devices[ 0.001664] Initializing cgroup subsys freezer[ 0.001674] Initializing cgroup subsys blkio[ 0.001698] Initializing cgroup subsys perf_event[ 0.001777] CPU: Testing write buffer coherency: ok[ 0.001821] ftrace: allocating 25661 entries in 76 pages[ 0.030297] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000[ 0.030315] [sunxi_smp_prepare_cpus] enter[ 0.030351] Setting up static identity map for 0x4068c098 - 0x4068c0f0[ 0.031299] CPU1: Booted secondary processor[ 0.031299] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001[ 0.031430] CPU2: Booted secondary processor[ 0.031430] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002[ 0.040485] CPU3: Booted secondary processor[ 0.040485] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003[ 0.040605] Brought up 4 CPUs[ 0.040605] SMP: Total of 4 processors activated (19200.00 BogoMIPS).[ 0.040909] devtmpfs: initialized[ 0.051011] wakeup src cnt is : 2.[ 0.051025] [exstandby]leave extended_standby_enable_wakeup_src : event 0x800000[ 0.051036] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_map 0x0[ 0.051047] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_group 0x40[ 0.051058] [exstandby]leave extended_standby_enable_wakeup_src : event 0x800000[ 0.051068] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_map 0x8[ 0.051079] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_group 0x40[ 0.051090] sunxi pm init[ 0.051229] pinctrl core: initialized pinctrl subsystem[ 0.061241] NET: Registered protocol family 16[ 0.062210] DMA: preallocated 2048 KiB pool for atomic coherent allocations[ 0.062210] script_sysfs_init success[ 0.062210] sunxi_dump_init success[ 0.062449] gpiochip_add: registered GPIOs 0 to 383 on device: sunxi-pinctrl[ 0.062449] sunxi-pinctrl sunxi-pinctrl: initialized sunXi PIO driver[ 0.062449] plat: add bmp085 device[ 0.062449] plat: add pcf8591 device[ 0.062449] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.[ 0.062449] hw-breakpoint: maximum watchpoint size is 8 bytes.[ 0.062449] script config pll_video to 297 Mhz[ 0.062449] script config pll_de to 864 Mhz[ 0.062449] script config pll_ve to 402 Mhz[ 0.062449] sunxi_default_clk_init[ 0.062449] try to set pll6ahb1 to 200000000[ 0.062449] try to set ahb clk source to pll6ahb1[ 0.062449] set ahb clk source to pll6ahb1[ 0.062449] try to set ahb1 to 200000000[ 0.062449] try to set apb1 to 100000000[ 0.070233] bio: create slab at 0[ 0.070309] [ARISC] :sunxi-arisc driver v1.04[ 0.090968] [ARISC] :arisc version: [v0.1.58][ 0.181208] [ARISC] :sunxi-arisc driver v1.04 startup succeeded[ 0.182799] SCSI subsystem initialized[ 0.182799] usbcore: registered new interface driver usbfs[ 0.182799] usbcore: registered new interface driver hub[ 0.182799] usbcore: registered new device driver usb[ 0.182799] twi_chan_cfg()340 - [twi0] has no twi_regulator.[ 0.182799] twi_chan_cfg()340 - [twi1] has no twi_regulator.[ 0.182799] twi_chan_cfg()340 - [twi2] has no twi_regulator.[ 0.182799] Linux video capture interface: v2.00[ 0.182799] Advanced Linux Sound Architecture Driver Version 1.0.25.[ 0.182799] cfg80211: Calling CRDA to update world regulatory domain[ 0.182799] Switching to clocksource arch_sys_counter[ 0.193887] FS-Cache: Loaded[ 0.194176] CacheFiles: Loaded[ 0.205406] NET: Registered protocol family 2[ 0.216759] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)[ 0.217360] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)[ 0.219121] TCP bind hash table entries: 65536 (order: 7, 786432 bytes)[ 0.220208] TCP: Hash tables configured (established 131072 bind 65536)[ 0.220220] TCP: reno registered[ 0.220236] UDP hash table entries: 512 (order: 2, 16384 bytes)[ 0.220274] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)[ 0.220623] NET: Registered protocol family 1[ 0.221031] RPC: Registered named UNIX socket transport module.[ 0.221043] RPC: Registered udp transport module.[ 0.221052] RPC: Registered tcp transport module.[ 0.221060] RPC: Registered tcp NFSv4.1 backchannel transport module.[ 0.221252] Trying to unpack rootfs image as initramfs...[ 0.407878] Freeing initrd memory: 3040K[ 0.408464] hw perfevents: enabled with ARMv7 Cortex_A7 PMU driver, 5 counters available[ 0.408592] sunxi_reg_init enter[ 0.409514] audit: initializing netlink socket (disabled)[ 0.409563] type=2000 audit(0.400:1): initialized[ 0.410753] highmem bounce pool size: 64 pages[ 0.411633] squashfs: version 4.0 (2009/01/31) Phillip Lougher[ 0.411816] misc fatfs initialized[ 0.412532] NFS: Registering the id_resolver key type[ 0.412924] nfs4filelayout_init: NFSv4 File Layout Driver Registering...[ 0.412938] Installing knfsd (copyright © 1996 okir@monad.swb.de).[ 0.413710] NTFS driver 2.1.30 [Flags: R/W].[ 0.414026] fuse init (API version 7.18)[ 0.414768] Btrfs loaded[ 0.414794] msgmni has been set to 1471[ 0.416206] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)[ 0.416224] io scheduler noop registered[ 0.416233] io scheduler deadline registered[ 0.416300] io scheduler cfq registered (default)[ 0.416715] [DISP]disp_module_init[ 0.417016] cmdline,init_disp=[ 0.417046] cmdline,disp=[ 0.424866] [DISP] Fb_map_kernel_logo,line:932:Fb_map_kernel_logo failed![ 0.441283] Console: switching to colour frame buffer device 160x45[ 0.458599] [DISP]disp_module_init finish[ 0.458822] sw_uart_get_devinfo()1503 - uart0 has no uart_regulator.[ 0.459134] uart0: ttyS0 at MMIO 0x1c28000 (irq = 32) is a SUNXI[ 0.459149] sw_uart_pm()890 - uart0 clk is already enable[ 0.459167] sw_console_setup()1233 - console setup baud 115200 parity n bits 8, flow n[ 0.459303] console [ttyS0] enabled[ 0.459835] sunxi_cmatest_init enter[ 0.459878] sunxi_cmatest_init success[ 0.464016] brd: module loaded[ 0.467910] loop: module loaded[ 0.468192] sunxi_spi_chan_cfg()1376 - [spi-0] has no spi_regulator.[ 0.468206] sunxi_spi_chan_cfg()1376 - [spi-1] has no spi_regulator.[ 0.468810] spi spi0: master is unqueued, this is deprecated[ 0.469122] tun: Universal TUN/TAP device driver, 1.6[ 0.469132] tun: © 1999-2004 Max Krasnyansky [ 0.470117] PPP generic driver version 2.4.2[ 0.470337] PPP BSD Compression module registered[ 0.470349] PPP Deflate Compression module registered[ 0.473121] PPP MPPE Compression module registered[ 0.473139] NET: Registered protocol family 24[ 0.473214] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver[ 0.493317] sunxi-ehci sunxi-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver[ 0.493352] sunxi-ehci sunxi-ehci.1: new USB bus registered, assigned bus number 1[ 0.493911] sunxi-ehci sunxi-ehci.1: irq 104, io mem 0xf1c1a000[ 0.510037] sunxi-ehci sunxi-ehci.1: USB 0.0 started, EHCI 1.00[ 0.510658] hub 1-0:1.0: USB hub found[ 0.510682] hub 1-0:1.0: 1 port detected[ 0.531058] sunxi-ehci sunxi-ehci.2: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver[ 0.531087] sunxi-ehci sunxi-ehci.2: new USB bus registered, assigned bus number 2[ 0.531481] sunxi-ehci sunxi-ehci.2: irq 106, io mem 0xf1c1b000[ 0.550034] sunxi-ehci sunxi-ehci.2: USB 0.0 started, EHCI 1.00[ 0.550570] hub 2-0:1.0: USB hub found[ 0.550598] hub 2-0:1.0: 1 port detected[ 0.570964] sunxi-ehci sunxi-ehci.3: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver[ 0.570992] sunxi-ehci sunxi-ehci.3: new USB bus registered, assigned bus number 3[ 0.571376] sunxi-ehci sunxi-ehci.3: irq 108, io mem 0xf1c1c000[ 0.590032] sunxi-ehci sunxi-ehci.3: USB 0.0 started, EHCI 1.00[ 0.590049] ehci_irq: highspeed device connect[ 0.590556] hub 3-0:1.0: USB hub found[ 0.590581] hub 3-0:1.0: 1 port detected[ 0.610945] sunxi-ehci sunxi-ehci.4: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver[ 0.610974] sunxi-ehci sunxi-ehci.4: new USB bus registered, assigned bus number 4[ 0.611364] sunxi-ehci sunxi-ehci.4: irq 110, io mem 0xf1c1d000[ 0.630031] sunxi-ehci sunxi-ehci.4: USB 0.0 started, EHCI 1.00[ 0.630556] hub 4-0:1.0: USB hub found[ 0.630581] hub 4-0:1.0: 1 port detected[ 0.630948] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver[ 0.651063] sunxi-ohci sunxi-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver[ 0.651091] sunxi-ohci sunxi-ohci.1: new USB bus registered, assigned bus number 5[ 0.651125] sunxi-ohci sunxi-ohci.1: irq 105, io mem 0xf1c1a400[ 0.714548] hub 5-0:1.0: USB hub found[ 0.714569] hub 5-0:1.0: 1 port detected[ 0.734936] sunxi-ohci sunxi-ohci.2: SW USB2.0 'Open' Host Controller (OHCI) Driver[ 0.734964] sunxi-ohci sunxi-ohci.2: new USB bus registered, assigned bus number 6[ 0.734998] sunxi-ohci sunxi-ohci.2: irq 107, io mem 0xf1c1b400[ 0.794601] hub 6-0:1.0: USB hub found[ 0.794622] hub 6-0:1.0: 1 port detected[ 0.815003] sunxi-ohci sunxi-ohci.3: SW USB2.0 'Open' Host Controller (OHCI) Driver[ 0.815030] sunxi-ohci sunxi-ohci.3: new USB bus registered, assigned bus number 7[ 0.815072] sunxi-ohci sunxi-ohci.3: irq 109, io mem 0xf1c1c400[ 0.850040] ehci_irq: highspeed device disconnect[ 0.874576] hub 7-0:1.0: USB hub found[ 0.874594] hub 7-0:1.0: 1 port detected[ 0.894964] sunxi-ohci sunxi-ohci.4: SW USB2.0 'Open' Host Controller (OHCI) Driver[ 0.894992] sunxi-ohci sunxi-ohci.4: new USB bus registered, assigned bus number 8[ 0.895024] sunxi-ohci sunxi-ohci.4: irq 111, io mem 0xf1c1d400[ 0.954522] hub 8-0:1.0: USB hub found[ 0.954543] hub 8-0:1.0: 1 port detected[ 0.954883] Initializing USB Mass Storage driver...[ 0.955111] usbcore: registered new interface driver usb-storage[ 0.955123] USB Mass Storage support registered.[ 0.955178] usbcore: registered new interface driver ums-alauda[ 0.955227] usbcore: registered new interface driver ums-cypress[ 0.955279] usbcore: registered new interface driver ums-datafab[ 0.955328] usbcore: registered new interface driver ums_eneub6250[ 0.955375] usbcore: registered new interface driver ums-freecom[ 0.955430] usbcore: registered new interface driver ums-isd200[ 0.955480] usbcore: registered new interface driver ums-jumpshot[ 0.955526] usbcore: registered new interface driver ums-karma[ 0.955575] usbcore: registered new interface driver ums-onetouch[ 0.955635] usbcore: registered new interface driver ums-realtek[ 0.955686] usbcore: registered new interface driver ums-sddr09[ 0.955733] usbcore: registered new interface driver ums-sddr55[ 0.955781] usbcore: registered new interface driver ums-usbat[ 0.956003] uinput result 0 , vmouse_init[ 0.956611] mousedev: PS/2 mouse device common for all mice[ 0.956825] sunxikbd_init failed.[ 0.957572] ls_fetch_sysconfig_para: type err device_used = -1073060220.[ 0.957583] =========script_get_err============[ 0.957591] ltr_init: ls_fetch_sysconfig_para err.[ 0.958145] sunxi-rtc sunxi-rtc: rtc core: registered sunxi-rtc as rtc0[ 0.958194] i2c /dev entries driver[ 0.958582] sunxi cedar version 0.1[ 0.958622] [cedar]: install start!!![ 0.958813] [cedar]: install end!!![ 0.959061] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x18)[ 0.959233] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x19)[ 0.959403] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x1a)[ 0.959573] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x29)[ 0.959742] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x2a)[ 0.959911] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x2b)[ 0.960083] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x4c)[ 0.960248] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x4d)[ 0.960413] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x4e)[ 0.960610] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x18)[ 0.960801] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x19)[ 0.960993] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x1a)[ 0.961184] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x29)[ 0.961375] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x2a)[ 0.961567] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x2b)[ 0.961758] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x4c)[ 0.961950] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x4d)[ 0.962141] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x4e)[ 0.962156] sunxi_wdt_init_module: sunxi WatchDog Timer Driver v1.0[ 0.962315] sunxi_wdt_probe: devm_ioremap return wdt_reg 0xf1c20ca0, res->start 0x01c20ca0, res->end 0x01c20cbf[ 0.962475] sunxi_wdt_probe: initialized (g_timeout=16s, g_nowayout=0)[ 0.962488] wdt_enable, write reg 0xf1c20cb8 val 0x00000000[ 0.962499] timeout_to_interv, line 167[ 0.962507] interv_to_timeout, line 189[ 0.962516] wdt_set_tmout, write 0x000000b0 to mode reg 0xf1c20cb8, actual timeout 16 sec[ 0.962959] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com[ 0.963176] calibrat: max_cpufreq 1200Mhz Type 0![ 0.963483] [mmc]: SD/MMC/SDIO Host Controller Driver(v1.111 2015-4-13 15:24) Compiled in Oct 26 2016 at 15:52:46[ 0.963519] [mmc]: get mmc0's sdc_power is null![ 0.963546] [mmc]: get mmc1's sdc_power is null![ 0.963555] [mmc]: get mmc1's 2xmode ok, val = 1[ 0.963564] [mmc]: get mmc1's ddrmode ok, val = 1[ 0.963580] [mmc]: MMC host used card: 0x3, boot card: 0x0, io_card 2[ 0.967156] [mmc]: sdc0 power_supply is null[ 0.968999] no blue_led, ignore it![ 0.969237] Registered led device: red_led[ 0.969349] Registered led device: green_led[ 0.969366] no led_0, ignore it![ 0.969374] no led_1, ignore it![ 0.969381] no led_2, ignore it![ 0.969388] no led_3, ignore it![ 0.969395] no led_4, ignore it![ 0.969402] no led_5, ignore it![ 0.969409] no led_6, ignore it![ 0.969416] no led_7, ignore it![ 0.970336] usbcore: registered new interface driver usbhid[ 0.970347] usbhid: USB HID core driver[ 0.974678] asoc: sndcodec <-> sunxi-codec mapping ok[ 0.975532] [DAUDIO]sunxi-daudio cannot find any using configuration for controllers, return directly![ 0.975719] [i2S]snddaudio cannot find any using configuration for controllers, return directly![ 0.975733] [DAUDIO0] driver not init,just return.[ 0.979140] asoc: sndhdmi <-> sunxi-hdmiaudio.0 mapping ok[ 0.980193] oprofile: using arm/armv7-ca7[ 0.980392] u32 classifier[ 0.980402] Performance counters on[ 0.980409] input device check on[ 0.980417] Actions configured[ 0.980600] IPv4 over IPv4 tunneling driver[ 0.981242] TCP: bic registered[ 0.981255] TCP: cubic registered[ 0.981263] TCP: westwood registered[ 0.981270] TCP: highspeed registered[ 0.981278] TCP: hybla registered[ 0.981285] TCP: htcp registered[ 0.981292] TCP: vegas registered[ 0.981299] TCP: veno registered[ 0.981307] TCP: scalable registered[ 0.981314] TCP: lp registered[ 0.981321] TCP: yeah registered[ 0.981329] TCP: illinois registered[ 0.981336] Initializing XFRM netlink socket[ 0.981567] NET: Registered protocol family 10[ 0.982740] NET: Registered protocol family 17[ 0.982772] NET: Registered protocol family 15[ 0.982817] Registering the dns_resolver key type[ 0.983381] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5[ 0.983404] ThumbEE CPU extension supported.[ 0.983426] Registering SWP/SWPB emulation handler[ 0.983997] registered taskstats version 1[ 0.984443] cmdline,disp=[ 0.984755] [HDMI] power vcc-hdmi-18[ 1.015461] ths_fetch_sysconfig_para: type err device_used = 1.[ 1.016716] CPU Budget:corekeeper enabled[ 1.016937] CPU Budget:Register notifier[ 1.016950] CPU Budget:register Success[ 1.016964] sunxi-budget-cooling sunxi-budget-cooling: Cooling device registered: thermal-budget-0[ 1.020172] [rf_pm]: module power0 name vcc-wifi-33[ 1.020189] [rf_pm]: Did not config module_power1 in sys_config[ 1.020199] [rf_pm]: Did not config module_power2 in sys_config[ 1.020209] [rf_pm]: Did not config module_power3 in sys_config[ 1.020220] [rf_pm]: mod has no chip_en gpio[ 1.020228] [rf_pm]: failed to fetch lpo_use_apclk[ 1.020235] [rf_pm]: regulator on.[ 1.020246] [wifi_pm]: no wifi used in configuration[ 1.020255] [rfkill]: init no bt used in configuration[ 1.020263] ALSA device list:[ 1.020270] #0: audiocodec[ 1.020277] #1: sndhdmi[ 1.021220] Freeing init memory: 320K[ 1.033938] mmc0: new high speed SDHC card at address 59b4[ 1.034509] mmcblk0: mmc0:59b4 USD00 14.7 GiB[ 1.035851] mmcblk0: p1[ 1.036505] mmcblk mmc0:59b4: Card claimed for testing.[ 1.036522] mmc0:59b4: USD00 14.7 GiB[ 1.066001] systemd-udevd[96]: starting version 215[ 1.250078] usb 7-1: new full-speed USB device number 2 using sunxi-ohci[ 1.496613] logitech-djreceiver 0003:046D:C52B.0003: hiddev0,hidraw0: USB HID v1.11 Device [Logitech USB Receiver] on usb-sunxi-ohci-1/input2[ 1.501722] logitech-djdevice 0003:046D:C52B.0004: input,hidraw1: USB HID v1.11 Mouse [Logitech Unifying Device. Wireless PID:101b] on usb-sunxi-ohci-1:1[ 1.504719] logitech-djdevice 0003:046D:C52B.0005: input,hidraw2: USB HID v1.11 Keyboard [Logitech Unifying Device. Wireless PID:2008] on usb-sunxi-ohci-1:2[ 1.507261] logitech-djdevice 0003:046D:C52B.0006: input,hidraw3: USB HID v1.11 Keyboard [Logitech Unifying Device. Wireless PID:2008] on usb-sunxi-ohci-1:3[ 1.620054] [DISP] disp_device_attached_and_enable,line:159:attched ok, mgr0<-->device0, type=4, mode=5[ 2.728911] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null)[ 3.930318] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)[ 3.930638] systemd[1]: Detected architecture 'arm'.[ 3.971568] systemd[1]: Set hostname to .[ 4.298245] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.[ 4.301002] systemd[1]: Expecting device dev-ttyS0.device...[ 4.320160] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.[ 4.320405] systemd[1]: Started Forward Password Requests to Wall Directory Watch.[ 4.320485] systemd[1]: Starting Remote File Systems (Pre).[ 4.340111] systemd[1]: Reached target Remote File Systems (Pre).[ 4.340286] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.[ 4.360132] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.[ 4.360225] systemd[1]: Starting Encrypted Volumes.[ 4.380120] systemd[1]: Reached target Encrypted Volumes.[ 4.380215] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.[ 4.380438] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.[ 4.380500] systemd[1]: Starting Paths.[ 4.400118] systemd[1]: Reached target Paths.[ 4.400190] systemd[1]: Starting Root Slice.[ 4.420123] systemd[1]: Created slice Root Slice.[ 4.420190] systemd[1]: Starting User and Session Slice.[ 4.440115] systemd[1]: Created slice User and Session Slice.[ 4.440182] systemd[1]: Starting Delayed Shutdown Socket.[ 4.460122] systemd[1]: Listening on Delayed Shutdown Socket.[ 4.460190] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.[ 4.480116] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.[ 4.480185] systemd[1]: Starting Journal Socket (/dev/log).[ 4.500119] systemd[1]: Listening on Journal Socket (/dev/log).[ 4.500210] systemd[1]: Starting udev Control Socket.[ 4.520115] systemd[1]: Listening on udev Control Socket.[ 4.520193] systemd[1]: Starting udev Kernel Socket.[ 4.540136] systemd[1]: Listening on udev Kernel Socket.[ 4.540228] systemd[1]: Starting Journal Socket.[ 4.560117] systemd[1]: Listening on Journal Socket.[ 4.560248] systemd[1]: Starting System Slice.[ 4.580122] systemd[1]: Created slice System Slice.[ 4.580220] systemd[1]: Started File System Check on Root Device.[ 4.580275] systemd[1]: Starting system-getty.slice.[ 4.600119] systemd[1]: Created slice system-getty.slice.[ 4.600185] systemd[1]: Starting system-serial\x2dgetty.slice.[ 4.620120] systemd[1]: Created slice system-serial\x2dgetty.slice.[ 4.620258] systemd[1]: Starting Increase datagram queue length...[ 4.750763] systemd[1]: Starting Restore / save the current clock...[ 4.820883] systemd[1]: Starting udev Coldplug all Devices...[ 4.881252] systemd[1]: Starting Create list of required static device nodes for the current kernel...[ 4.950979] systemd[1]: Mounted Huge Pages File System.[ 4.951371] systemd[1]: Mounting Debug File System...[ 5.016110] systemd[1]: Starting Load Kernel Modules...[ 5.102629] systemd[1]: Started Set Up Additional Binary Formats.[ 5.102847] systemd[1]: Mounting POSIX Message Queue File System...[ 5.211385] [mmc]: sdc1 power_supply is null[ 5.220541] systemd[1]: Starting LSB: Set keymap...[ 5.265226] [mmc]: sdc1 power_supply is null[ 5.269337] [mmc]: sdc1 power_supply is null[ 5.309814] [wifi_pm]: set wl_reg_on 1 ![ 5.328564] [mmc]: sdc1 power_supply is null[ 5.332606] [mmc]: sdc1 power_supply is null[ 5.340660] systemd[1]: Starting Slices.[ 5.360191] systemd[1]: Reached target Slices.[ 5.380166] systemd[1]: Mounted POSIX Message Queue File System.[ 5.395295] [mmc]: sdc1 power_supply is null[ 5.399403] [mmc]: sdc1 power_supply is null[ 5.400177] systemd[1]: Mounted Debug File System.[ 5.471979] [mmc]: sdc1 power_supply is null[ 5.510152] systemd[1]: Started Increase datagram queue length.[ 5.600145] systemd[1]: Started Restore / save the current clock.[ 5.800190] systemd[1]: Started Create list of required static device nodes for the current kernel.[ 5.890148] systemd[1]: Started Load Kernel Modules.[ 5.970145] systemd[1]: Started LSB: Set keymap.[ 6.090143] systemd[1]: Started udev Coldplug all Devices.[ 6.092233] systemd[1]: Time has been changed[ 6.092572] systemd[1]: Mounting FUSE Control File System...[ 6.180503] systemd[1]: Starting Apply Kernel Variables...[ 6.281104] systemd[1]: Mounted Configuration File System.[ 6.281455] systemd[1]: Starting Create Static Device Nodes in /dev...[ 6.370840] systemd[1]: Starting Syslog Socket.[ 6.390590] systemd[1]: Listening on Syslog Socket.[ 6.390762] systemd[1]: Starting Journal Service...[ 6.570243] systemd[1]: Started Journal Service.[ 6.925681] systemd-udevd[178]: starting version 215[ 7.137571] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x48)[ 7.138306] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x48)[ 7.139912] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x77)[ 7.139955] bmp085: probe of 0-0077 failed with error -70[ 7.772763] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro[ 7.976560] Adding 131068k swap on /var/swap. Priority:-1 extents:1 across:131068k SS[ 9.307690] systemd-journald[177]: Received request to flush runtime journal from PID 1[ 9.653670] gmac0: probed[ 9.653991] gmac0 gmac0: eth0: eth0: PHY ID 00441400 at 0 IRQ poll (gmac0-0:00)[ 11.997521] Registered IR keymap rc-empty[ 11.999753] rc0: sunxi-ir as /devices/virtual/rc/rc0[ 12.023198] IR RC5(x) protocol handler initialized[ 12.125043] rc s_cir0: lirc_dev: driver ir-lirc-codec (sunxi-ir) registered at minor = 0[ 12.650255] PHY: gmac0-0:00 - Link is Up - 100/Full[ 20.520062] eth0: no IPv6 routers present[ 72.781066] ohci_irq: fullspeed or lowspeed device disconnect[ 72.781094] ehci_irq: highspeed device connect[ 72.781281] usb 7-1: USB disconnect, device number 2[ 72.800131] ehci_irq: highspeed device disconnect[ 72.934471] ehci_irq: highspeed device disconnect[ 600.244912] ehci_irq: highspeed device connect[ 600.260062] ehci_irq: highspeed device disconnect[ 600.487424] ehci_irq: highspeed device connect[ 600.760105] usb 3-1: new high-speed USB device number 3 using sunxi-ehci @qualcomm.com>
jernej Posted October 26, 2016 Posted October 26, 2016 This doesn't appear to be whole dmesg. Anyway, one issue seems to be apparent. I forget to tell you to set those https://github.com/igorpecovnik/lib/blob/master/config/kernel/linux-sun8i-default.config#L2273-L2283also to "m". Other, more straight forward approach would be to set https://github.com/igorpecovnik/lib/blob/master/config/kernel/linux-sun8i-default.config#L2272 to "# CONFIG_RC_CORE is not set" without quotes. Maybe you should try this second approach first. You will probably get systemd complaints that it can't load sunxi-cir module during boot, but that can be fixed later.
idandavidi Posted October 26, 2016 Author Posted October 26, 2016 This doesn't appear to be whole dmesg. Anyway, one issue seems to be apparent. I forget to tell you to set those https://github.com/igorpecovnik/lib/blob/master/config/kernel/linux-sun8i-default.config#L2273-L2283also to "m". Other, more straight forward approach would be to set https://github.com/igorpecovnik/lib/blob/master/config/kernel/linux-sun8i-default.config#L2272 to "# CONFIG_RC_CORE is not set" without quotes. Maybe you should try this second approach first. You will probably get systemd complaints that it can't load sunxi-cir module during boot, but that can be fixed later. ok, so I will build the kernel again Just let me make sure I understand: replace line 2272: CONFIG_RC_CORE=y with this line : # CONFIG_RC_CORE is not set And one more question - during build process I saw that I can choose Ubuntu Xenial 16.04.1 and a newer kernel (dev) The tuner worked good for me in VMWare Ubuntu 16.04.1 (media_build just ran smooth), it may not be relevant, but perhaps I should compile Armbian as Ubuntu Xenial 16.04.1 with the latest dev kernel?
jernej Posted October 26, 2016 Posted October 26, 2016 Yes, that should do it. You can use newer kernel, which should have all these drivers included, but AFAIK you will not have any video output. If you need this only to stream to other devices, this solution might work even better.
idandavidi Posted October 26, 2016 Author Posted October 26, 2016 Ok, I am compiling the kernel right now In the meantime I used another img the I built (with "m" option on #l2272): Armbian_5.23_Orangepipc_Ubuntu_xenial_3.4.112.img media_build was installed as we discussed - first ran "sed -i '3i IR_SUNXI' v4l/versions.txt" now dmesg has some intersting output: [ 117.497746] ohci_irq: fullspeed or lowspeed device disconnect[ 117.497916] usb 8-1: USB disconnect, device number 2[ 153.774588] ehci_irq: highspeed device disconnect[ 6385.206275] ehci_irq: highspeed device disconnect[ 6385.206500] usb 3-1: USB disconnect, device number 3[ 6388.023060] ehci_irq: highspeed device connect[ 6388.040107] ehci_irq: highspeed device disconnect[ 6388.265560] ehci_irq: highspeed device connect[ 6388.540089] usb 3-1: new high-speed USB device number 4 using sunxi-ehci[ 6388.718049] WARNING: You are using an experimental version of the media stack.[ 6388.718069] As the driver is backported to an older kernel, it doesn't offer[ 6388.718085] enough quality for its usage in production.[ 6388.718095] Use it with care.[ 6388.718103] Latest git patches (needed if you report a bug to linux-media@vger.kernel.org):[ 6388.718118] d52879196556001ca7e8d05811d18c93e3c30576 si2183: Minor fix.[ 6388.718130] 9842fabcbf29234949fb4ffe18bcc71019810c2c cx231xx: Minor fix.[ 6388.718143] 59e3a304e12a1ba6d78458455f5de373edb5aef8 cxusb: Fixed RC map table for T230/T230C.[ 6388.872752] media: Linux media interface: v0.10[ 6388.877896] WARNING: You are using an experimental version of the media stack.[ 6388.877905] As the driver is backported to an older kernel, it doesn't offer[ 6388.877912] enough quality for its usage in production.[ 6388.877917] Use it with care.[ 6388.877921] Latest git patches (needed if you report a bug to linux-media@vger.kernel.org):[ 6388.877928] d52879196556001ca7e8d05811d18c93e3c30576 si2183: Minor fix.[ 6388.877934] 9842fabcbf29234949fb4ffe18bcc71019810c2c cx231xx: Minor fix.[ 6388.877940] 59e3a304e12a1ba6d78458455f5de373edb5aef8 cxusb: Fixed RC map table for T230/T230C.[ 6388.985620] dvb-usb: found a 'Mygica T230C DVB-T/T2/C' in warm state.[ 6389.230451] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.[ 6389.230736] DVB: registering new adapter (Mygica T230C DVB-T/T2/C)[ 6389.230761] usb 3-1: media controller created[ 6389.241705] dvb_create_media_entity: media entity 'dvb-demux' registered.[ 6389.260851] dvb-usb: no frontend was attached by 'Mygica T230C DVB-T/T2/C'[ 6389.276482] dvb-usb: schedule remote query interval to 100 msecs.[ 6389.276695] dvb-usb: Mygica T230C DVB-T/T2/C successfully initialized and connected.[ 6389.276811] usbcore: registered new interface driver dvb_usb_cxusb # RECONNECTED DEVICE [ 6478.876206] ehci_irq: highspeed device disconnect[ 6478.876366] usb 3-1: USB disconnect, device number 4[ 6478.944059] dvb-usb: Mygica T230C DVB-T/T2/C successfully deinitialized and disconnected.[ 6483.072460] ehci_irq: highspeed device connect[ 6483.090076] ehci_irq: highspeed device disconnect[ 6483.314965] ehci_irq: highspeed device connect[ 6483.590114] usb 3-1: new high-speed USB device number 5 using sunxi-ehci[ 6483.743149] dvb-usb: found a 'Mygica T230C DVB-T/T2/C' in warm state.[ 6483.990861] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.[ 6483.991181] DVB: registering new adapter (Mygica T230C DVB-T/T2/C)[ 6483.991224] usb 3-1: media controller created[ 6483.993938] dvb_create_media_entity: media entity 'dvb-demux' registered.[ 6484.008070] dvb-usb: no frontend was attached by 'Mygica T230C DVB-T/T2/C'[ 6484.029439] dvb-usb: schedule remote query interval to 100 msecs.[ 6484.029608] dvb-usb: Mygica T230C DVB-T/T2/C successfully initialized and connected. but still w_scan seems to not recognize the device: root@orangepipc:/home/idan/media_build# w_scanw_scanw_scan version 20141122 (compiled for DVB API 5.10)WARNING: could not guess your country. Falling back to 'DE'guessing country 'DE', use -c <country> to overrideusing settings for GERMANYDVB aerialDVB-T Europescan type TERRESTRIAL, channellist 4output format vdr-2.0WARNING: could not guess your codepage. Falling back to 'UTF-8'output charset 'UTF-8', use -C <charset> to overrideInfo: using DVB adapter auto detection.main:3904: FATAL: ***** NO USEABLE TERRESTRIAL CARD FOUND. *****Please check wether dvb driver is loaded andverify that no dvb application (i.e. vdr) is running. btw, this is dmesg after reboot, hope this is a full one: [ 0.000000] Booting Linux on physical CPU 0[ 0.000000] Initializing cgroup subsys cpuset[ 0.000000] Initializing cgroup subsys cpu[ 0.000000] Linux version 3.4.112-sun8i (root@ubuntu) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.1) ) #4 SMP PREEMPT Wed Oct 26 17:37:50 IDT 2016[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache[ 0.000000] Machine: sun8i[ 0.000000] cma: CMA: reserved 256 MiB at 50000000[ 0.000000] Memory policy: ECC disabled, Data cache writealloc[ 0.000000] On node 0 totalpages: 262144[ 0.000000] free_area_init_node: node 0, pgdat c0a0f700, node_mem_map c0b48000[ 0.000000] Normal zone: 1710 pages used for memmap[ 0.000000] Normal zone: 0 pages reserved[ 0.000000] Normal zone: 192850 pages, LIFO batch:31[ 0.000000] HighMem zone: 594 pages used for memmap[ 0.000000] HighMem zone: 66990 pages, LIFO batch:15[ 0.000000] script_init enter![ 0.000000] script_init exit![ 0.000000] PERCPU: Embedded 8 pages/cpu @c145e000 s11968 r8192 d12608 u32768[ 0.000000] pcpu-alloc: s11968 r8192 d12608 u32768 alloc=8*4096[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 259840[ 0.000000] Kernel command line: root=UUID=fa3ff068-a863-4110-976f-4b9407639fdb rootwait rootfstype=ext4 console=tty1 console=ttyS0,115200 cgroup_enable=memory swapaccount=1 hdmi.audio=EDID:0 disp.screen0_output_mode=1920x1080p60 panic=10 consoleblank=0 enforcing=0 loglevel=1 ubootpart=eabda35b-01 sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_fb_mem_reserve=16[ 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] allocated 2097152 bytes of page_cgroup[ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups[ 0.000000] Memory: 1024MB = 1024MB total[ 0.000000] Memory: 757460k/757460k available, 291116k reserved, 270336K highmem[ 0.000000] Virtual kernel memory layout:[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)[ 0.000000] vmalloc : 0xf0000000 - 0xff000000 ( 240 MB)[ 0.000000] lowmem : 0xc0000000 - 0xef800000 ( 760 MB)[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)[ 0.000000] .text : 0xc0008000 - 0xc0951e88 (9512 kB)[ 0.000000] .init : 0xc0952000 - 0xc09a2ec0 ( 324 kB)[ 0.000000] .data : 0xc09a4000 - 0xc0a14550 ( 450 kB)[ 0.000000] .bss : 0xc0a14d04 - 0xc0b47d10 (1229 kB)[ 0.000000] Preemptible hierarchical RCU implementation.[ 0.000000] Additional per-CPU info printed with stalls.[ 0.000000] NR_IRQS:544[ 0.000000] Architected local timer running at 24.00MHz.[ 0.000000] Switching to timer-based delay loop[ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms[ 0.000000] Console: colour dummy device 80x30[ 0.000000] console [tty1] enabled[ 0.000262] Calibrating delay loop (skipped), value calculated using timer frequency.. 4800.00 BogoMIPS (lpj=24000000)[ 0.000285] pid_max: default: 32768 minimum: 301[ 0.000622] Mount-cache hash table entries: 512[ 0.001587] Initializing cgroup subsys cpuacct[ 0.001601] Initializing cgroup subsys memory[ 0.001648] Initializing cgroup subsys devices[ 0.001660] Initializing cgroup subsys freezer[ 0.001671] Initializing cgroup subsys blkio[ 0.001694] Initializing cgroup subsys perf_event[ 0.001774] CPU: Testing write buffer coherency: ok[ 0.001818] ftrace: allocating 25661 entries in 76 pages[ 0.030294] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000[ 0.030311] [sunxi_smp_prepare_cpus] enter[ 0.030347] Setting up static identity map for 0x4068c098 - 0x4068c0f0[ 0.031290] CPU1: Booted secondary processor[ 0.031290] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001[ 0.031421] CPU2: Booted secondary processor[ 0.031421] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002[ 0.040483] CPU3: Booted secondary processor[ 0.040483] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003[ 0.040603] Brought up 4 CPUs[ 0.040603] SMP: Total of 4 processors activated (19200.00 BogoMIPS).[ 0.040904] devtmpfs: initialized[ 0.050990] wakeup src cnt is : 2.[ 0.051003] [exstandby]leave extended_standby_enable_wakeup_src : event 0x800000[ 0.051015] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_map 0x0[ 0.051026] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_group 0x40[ 0.051037] [exstandby]leave extended_standby_enable_wakeup_src : event 0x800000[ 0.051047] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_map 0x8[ 0.051058] [exstandby]leave extended_standby_enable_wakeup_src : wakeup_gpio_group 0x40[ 0.051069] sunxi pm init[ 0.051206] pinctrl core: initialized pinctrl subsystem[ 0.061230] NET: Registered protocol family 16[ 0.062198] DMA: preallocated 2048 KiB pool for atomic coherent allocations[ 0.062198] script_sysfs_init success[ 0.062198] sunxi_dump_init success[ 0.062444] gpiochip_add: registered GPIOs 0 to 383 on device: sunxi-pinctrl[ 0.062444] sunxi-pinctrl sunxi-pinctrl: initialized sunXi PIO driver[ 0.062444] plat: add bmp085 device[ 0.062444] plat: add pcf8591 device[ 0.062444] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.[ 0.062444] hw-breakpoint: maximum watchpoint size is 8 bytes.[ 0.062444] script config pll_video to 297 Mhz[ 0.062444] script config pll_de to 864 Mhz[ 0.062444] script config pll_ve to 402 Mhz[ 0.062444] sunxi_default_clk_init[ 0.062444] try to set pll6ahb1 to 200000000[ 0.062444] try to set ahb clk source to pll6ahb1[ 0.062444] set ahb clk source to pll6ahb1[ 0.062444] try to set ahb1 to 200000000[ 0.062444] try to set apb1 to 100000000[ 0.070237] bio: create slab at 0[ 0.070311] [ARISC] :sunxi-arisc driver v1.04[ 0.090950] [ARISC] :arisc version: [v0.1.58][ 0.181196] [ARISC] :sunxi-arisc driver v1.04 startup succeeded[ 0.182786] SCSI subsystem initialized[ 0.182786] usbcore: registered new interface driver usbfs[ 0.182786] usbcore: registered new interface driver hub[ 0.182786] usbcore: registered new device driver usb[ 0.182786] twi_chan_cfg()340 - [twi0] has no twi_regulator.[ 0.182786] twi_chan_cfg()340 - [twi1] has no twi_regulator.[ 0.182786] twi_chan_cfg()340 - [twi2] has no twi_regulator.[ 0.182786] Linux video capture interface: v2.00[ 0.182786] Advanced Linux Sound Architecture Driver Version 1.0.25.[ 0.182786] cfg80211: Calling CRDA to update world regulatory domain[ 0.182786] Switching to clocksource arch_sys_counter[ 0.193898] FS-Cache: Loaded[ 0.194190] CacheFiles: Loaded[ 0.205397] NET: Registered protocol family 2[ 0.216749] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)[ 0.217352] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)[ 0.219114] TCP bind hash table entries: 65536 (order: 7, 786432 bytes)[ 0.220201] TCP: Hash tables configured (established 131072 bind 65536)[ 0.220213] TCP: reno registered[ 0.220227] UDP hash table entries: 512 (order: 2, 16384 bytes)[ 0.220265] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)[ 0.220628] NET: Registered protocol family 1[ 0.221043] RPC: Registered named UNIX socket transport module.[ 0.221055] RPC: Registered udp transport module.[ 0.221063] RPC: Registered tcp transport module.[ 0.221072] RPC: Registered tcp NFSv4.1 backchannel transport module.[ 0.221264] Trying to unpack rootfs image as initramfs...[ 0.498785] Freeing initrd memory: 4372K[ 0.499380] hw perfevents: enabled with ARMv7 Cortex_A7 PMU driver, 5 counters available[ 0.499508] sunxi_reg_init enter[ 0.500482] audit: initializing netlink socket (disabled)[ 0.500530] type=2000 audit(0.500:1): initialized[ 0.501665] highmem bounce pool size: 64 pages[ 0.502550] squashfs: version 4.0 (2009/01/31) Phillip Lougher[ 0.502735] misc fatfs initialized[ 0.503452] NFS: Registering the id_resolver key type[ 0.503850] nfs4filelayout_init: NFSv4 File Layout Driver Registering...[ 0.503863] Installing knfsd (copyright © 1996 okir@monad.swb.de).[ 0.504621] NTFS driver 2.1.30 [Flags: R/W].[ 0.504939] fuse init (API version 7.18)[ 0.505681] Btrfs loaded[ 0.505706] msgmni has been set to 1471[ 0.507132] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)[ 0.507151] io scheduler noop registered[ 0.507160] io scheduler deadline registered[ 0.507228] io scheduler cfq registered (default)[ 0.507641] [DISP]disp_module_init[ 0.507938] cmdline,init_disp=[ 0.507969] cmdline,disp=[ 0.515832] [DISP] Fb_map_kernel_logo,line:932:Fb_map_kernel_logo failed![ 0.532227] Console: switching to colour frame buffer device 160x45[ 0.549545] [DISP]disp_module_init finish[ 0.549763] sw_uart_get_devinfo()1503 - uart0 has no uart_regulator.[ 0.550108] uart0: ttyS0 at MMIO 0x1c28000 (irq = 32) is a SUNXI[ 0.550121] sw_uart_pm()890 - uart0 clk is already enable[ 0.550140] sw_console_setup()1233 - console setup baud 115200 parity n bits 8, flow n[ 0.550275] console [ttyS0] enabled[ 0.550821] sunxi_cmatest_init enter[ 0.550866] sunxi_cmatest_init success[ 0.554955] brd: module loaded[ 0.558824] loop: module loaded[ 0.559106] sunxi_spi_chan_cfg()1376 - [spi-0] has no spi_regulator.[ 0.559121] sunxi_spi_chan_cfg()1376 - [spi-1] has no spi_regulator.[ 0.559715] spi spi0: master is unqueued, this is deprecated[ 0.560055] tun: Universal TUN/TAP device driver, 1.6[ 0.560065] tun: © 1999-2004 Max Krasnyansky [ 0.561017] PPP generic driver version 2.4.2[ 0.561222] PPP BSD Compression module registered[ 0.561233] PPP Deflate Compression module registered[ 0.563995] PPP MPPE Compression module registered[ 0.564012] NET: Registered protocol family 24[ 0.564090] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver[ 0.584193] sunxi-ehci sunxi-ehci.1: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver[ 0.584227] sunxi-ehci sunxi-ehci.1: new USB bus registered, assigned bus number 1[ 0.584790] sunxi-ehci sunxi-ehci.1: irq 104, io mem 0xf1c1a000[ 0.600040] sunxi-ehci sunxi-ehci.1: USB 0.0 started, EHCI 1.00[ 0.600665] hub 1-0:1.0: USB hub found[ 0.600692] hub 1-0:1.0: 1 port detected[ 0.621071] sunxi-ehci sunxi-ehci.2: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver[ 0.621103] sunxi-ehci sunxi-ehci.2: new USB bus registered, assigned bus number 2[ 0.621500] sunxi-ehci sunxi-ehci.2: irq 106, io mem 0xf1c1b000[ 0.640032] sunxi-ehci sunxi-ehci.2: USB 0.0 started, EHCI 1.00[ 0.640577] hub 2-0:1.0: USB hub found[ 0.640605] hub 2-0:1.0: 1 port detected[ 0.660967] sunxi-ehci sunxi-ehci.3: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver[ 0.660994] sunxi-ehci sunxi-ehci.3: new USB bus registered, assigned bus number 3[ 0.661380] sunxi-ehci sunxi-ehci.3: irq 108, io mem 0xf1c1c000[ 0.680031] sunxi-ehci sunxi-ehci.3: USB 0.0 started, EHCI 1.00[ 0.680048] ehci_irq: highspeed device connect[ 0.680563] hub 3-0:1.0: USB hub found[ 0.680588] hub 3-0:1.0: 1 port detected[ 0.700953] sunxi-ehci sunxi-ehci.4: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver[ 0.700982] sunxi-ehci sunxi-ehci.4: new USB bus registered, assigned bus number 4[ 0.701373] sunxi-ehci sunxi-ehci.4: irq 110, io mem 0xf1c1d000[ 0.720033] sunxi-ehci sunxi-ehci.4: USB 0.0 started, EHCI 1.00[ 0.720571] hub 4-0:1.0: USB hub found[ 0.720595] hub 4-0:1.0: 1 port detected[ 0.720971] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver[ 0.741061] sunxi-ohci sunxi-ohci.1: SW USB2.0 'Open' Host Controller (OHCI) Driver[ 0.741089] sunxi-ohci sunxi-ohci.1: new USB bus registered, assigned bus number 5[ 0.741122] sunxi-ohci sunxi-ohci.1: irq 105, io mem 0xf1c1a400[ 0.804555] hub 5-0:1.0: USB hub found[ 0.804576] hub 5-0:1.0: 1 port detected[ 0.824945] sunxi-ohci sunxi-ohci.2: SW USB2.0 'Open' Host Controller (OHCI) Driver[ 0.824973] sunxi-ohci sunxi-ohci.2: new USB bus registered, assigned bus number 6[ 0.825005] sunxi-ohci sunxi-ohci.2: irq 107, io mem 0xf1c1b400[ 0.884606] hub 6-0:1.0: USB hub found[ 0.884626] hub 6-0:1.0: 1 port detected[ 0.905005] sunxi-ohci sunxi-ohci.3: SW USB2.0 'Open' Host Controller (OHCI) Driver[ 0.905034] sunxi-ohci sunxi-ohci.3: new USB bus registered, assigned bus number 7[ 0.905076] sunxi-ohci sunxi-ohci.3: irq 109, io mem 0xf1c1c400[ 0.964573] hub 7-0:1.0: USB hub found[ 0.964592] hub 7-0:1.0: 1 port detected[ 0.984963] sunxi-ohci sunxi-ohci.4: SW USB2.0 'Open' Host Controller (OHCI) Driver[ 0.984991] sunxi-ohci sunxi-ohci.4: new USB bus registered, assigned bus number 8[ 0.985025] sunxi-ohci sunxi-ohci.4: irq 111, io mem 0xf1c1d400[ 1.000040] usb 3-1: new high-speed USB device number 2 using sunxi-ehci[ 1.044541] hub 8-0:1.0: USB hub found[ 1.044563] hub 8-0:1.0: 1 port detected[ 1.044911] Initializing USB Mass Storage driver...[ 1.045140] usbcore: registered new interface driver usb-storage[ 1.045152] USB Mass Storage support registered.[ 1.045209] usbcore: registered new interface driver ums-alauda[ 1.045255] usbcore: registered new interface driver ums-cypress[ 1.045305] usbcore: registered new interface driver ums-datafab[ 1.045352] usbcore: registered new interface driver ums_eneub6250[ 1.045402] usbcore: registered new interface driver ums-freecom[ 1.045459] usbcore: registered new interface driver ums-isd200[ 1.045507] usbcore: registered new interface driver ums-jumpshot[ 1.045554] usbcore: registered new interface driver ums-karma[ 1.045601] usbcore: registered new interface driver ums-onetouch[ 1.045661] usbcore: registered new interface driver ums-realtek[ 1.045711] usbcore: registered new interface driver ums-sddr09[ 1.045761] usbcore: registered new interface driver ums-sddr55[ 1.045808] usbcore: registered new interface driver ums-usbat[ 1.046017] uinput result 0 , vmouse_init[ 1.046628] mousedev: PS/2 mouse device common for all mice[ 1.046843] sunxikbd_init failed.[ 1.047591] ls_fetch_sysconfig_para: type err device_used = -1073060220.[ 1.047602] =========script_get_err============[ 1.047611] ltr_init: ls_fetch_sysconfig_para err.[ 1.048166] sunxi-rtc sunxi-rtc: rtc core: registered sunxi-rtc as rtc0[ 1.048214] i2c /dev entries driver[ 1.048610] sunxi cedar version 0.1[ 1.048653] [cedar]: install start!!![ 1.048844] [cedar]: install end!!![ 1.049091] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x18)[ 1.049264] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x19)[ 1.049433] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x1a)[ 1.049602] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x29)[ 1.049771] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x2a)[ 1.049940] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x2b)[ 1.050107] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x4c)[ 1.050274] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x4d)[ 1.050438] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x4e)[ 1.050635] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x18)[ 1.050827] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x19)[ 1.051019] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x1a)[ 1.051210] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x29)[ 1.051402] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x2a)[ 1.051593] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x2b)[ 1.051785] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x4c)[ 1.051977] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x4d)[ 1.052168] sunxi_i2c_do_xfer()985 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x4e)[ 1.052183] sunxi_wdt_init_module: sunxi WatchDog Timer Driver v1.0[ 1.052345] sunxi_wdt_probe: devm_ioremap return wdt_reg 0xf1c20ca0, res->start 0x01c20ca0, res->end 0x01c20cbf[ 1.052507] sunxi_wdt_probe: initialized (g_timeout=16s, g_nowayout=0)[ 1.052520] wdt_enable, write reg 0xf1c20cb8 val 0x00000000[ 1.052531] timeout_to_interv, line 167[ 1.052539] interv_to_timeout, line 189[ 1.052548] wdt_set_tmout, write 0x000000b0 to mode reg 0xf1c20cb8, actual timeout 16 sec[ 1.052982] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com[ 1.053200] calibrat: max_cpufreq 1200Mhz Type 0![ 1.053514] [mmc]: SD/MMC/SDIO Host Controller Driver(v1.111 2015-4-13 15:24) Compiled in Oct 26 2016 at 17:33:31[ 1.053549] [mmc]: get mmc0's sdc_power is null![ 1.053577] [mmc]: get mmc1's sdc_power is null![ 1.053587] [mmc]: get mmc1's 2xmode ok, val = 1[ 1.053596] [mmc]: get mmc1's ddrmode ok, val = 1[ 1.053613] [mmc]: MMC host used card: 0x3, boot card: 0x0, io_card 2[ 1.057178] [mmc]: sdc0 power_supply is null[ 1.059019] no blue_led, ignore it![ 1.059256] Registered led device: red_led[ 1.059369] Registered led device: green_led[ 1.059384] no led_0, ignore it![ 1.059392] no led_1, ignore it![ 1.059399] no led_2, ignore it![ 1.059406] no led_3, ignore it![ 1.059413] no led_4, ignore it![ 1.059420] no led_5, ignore it![ 1.059428] no led_6, ignore it![ 1.059435] no led_7, ignore it![ 1.060352] usbcore: registered new interface driver usbhid[ 1.060363] usbhid: USB HID core driver[ 1.064670] asoc: sndcodec <-> sunxi-codec mapping ok[ 1.065490] [DAUDIO]sunxi-daudio cannot find any using configuration for controllers, return directly![ 1.065679] [i2S]snddaudio cannot find any using configuration for controllers, return directly![ 1.065693] [DAUDIO0] driver not init,just return.[ 1.069061] asoc: sndhdmi <-> sunxi-hdmiaudio.0 mapping ok[ 1.070132] oprofile: using arm/armv7-ca7[ 1.070330] u32 classifier[ 1.070339] Performance counters on[ 1.070347] input device check on[ 1.070354] Actions configured[ 1.070538] IPv4 over IPv4 tunneling driver[ 1.071173] TCP: bic registered[ 1.071186] TCP: cubic registered[ 1.071193] TCP: westwood registered[ 1.071201] TCP: highspeed registered[ 1.071209] TCP: hybla registered[ 1.071216] TCP: htcp registered[ 1.071223] TCP: vegas registered[ 1.071231] TCP: veno registered[ 1.071238] TCP: scalable registered[ 1.071246] TCP: lp registered[ 1.071253] TCP: yeah registered[ 1.071260] TCP: illinois registered[ 1.071268] Initializing XFRM netlink socket[ 1.071508] NET: Registered protocol family 10[ 1.072683] NET: Registered protocol family 17[ 1.072714] NET: Registered protocol family 15[ 1.072761] Registering the dns_resolver key type[ 1.073275] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5[ 1.073298] ThumbEE CPU extension supported.[ 1.073320] Registering SWP/SWPB emulation handler[ 1.073881] registered taskstats version 1[ 1.074335] cmdline,disp=[ 1.074646] [HDMI] power vcc-hdmi-18[ 1.105345] ths_fetch_sysconfig_para: type err device_used = 1.[ 1.106602] CPU Budget:corekeeper enabled[ 1.106822] CPU Budget:Register notifier[ 1.106835] CPU Budget:register Success[ 1.106849] sunxi-budget-cooling sunxi-budget-cooling: Cooling device registered: thermal-budget-0[ 1.110053] [rf_pm]: module power0 name vcc-wifi-33[ 1.110071] [rf_pm]: Did not config module_power1 in sys_config[ 1.110081] [rf_pm]: Did not config module_power2 in sys_config[ 1.110091] [rf_pm]: Did not config module_power3 in sys_config[ 1.110101] [rf_pm]: mod has no chip_en gpio[ 1.110109] [rf_pm]: failed to fetch lpo_use_apclk[ 1.110117] [rf_pm]: regulator on.[ 1.110128] [wifi_pm]: no wifi used in configuration[ 1.110138] [rfkill]: init no bt used in configuration[ 1.110146] ALSA device list:[ 1.110154] #0: audiocodec[ 1.110161] #1: sndhdmi[ 1.111106] Freeing init memory: 320K[ 1.124000] mmc0: new high speed SDHC card at address 59b4[ 1.124606] mmcblk0: mmc0:59b4 USD00 14.7 GiB[ 1.126000] mmcblk0: p1[ 1.126693] mmcblk mmc0:59b4: Card claimed for testing.[ 1.126717] mmc0:59b4: USD00 14.7 GiB[ 1.403020] vmouse_input_dev_open[ 1.490179] vmouse_input_dev_close[ 1.710054] [DISP] disp_device_attached_and_enable,line:159:attched ok, mgr0<-->device0, type=4, mode=5[ 2.364142] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null)[ 2.899354] systemd[1]: System time before build time, advancing clock.[ 3.340327] 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)[ 3.340658] systemd[1]: Detected architecture arm.[ 3.370943] systemd[1]: Set hostname to .[ 3.839282] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.[ 3.860361] systemd[1]: Listening on fsck to fsckd communication Socket.[ 3.880163] systemd[1]: Reached target Encrypted Volumes.[ 3.900602] systemd[1]: Created slice User and Session Slice.[ 3.920463] systemd[1]: Created slice System Slice.[ 3.940353] systemd[1]: Listening on udev Control Socket.[ 3.960791] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.[ 3.980290] systemd[1]: Listening on udev Kernel Socket.[ 4.000602] systemd[1]: Created slice system-serial\x2dgetty.slice.[ 4.020389] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.[ 4.040540] systemd[1]: Listening on Journal Audit Socket.[ 4.060386] systemd[1]: Listening on Journal Socket.[ 4.190670] systemd[1]: Starting Load Kernel Modules...[ 4.360892] systemd[1]: Starting Set console keymap...[ 4.380052] [mmc]: sdc1 power_supply is null[ 4.435214] [mmc]: sdc1 power_supply is null[ 4.439331] [mmc]: sdc1 power_supply is null[ 4.478489] [wifi_pm]: set wl_reg_on 1 ![ 4.498927] [mmc]: sdc1 power_supply is null[ 4.502633] [mmc]: sdc1 power_supply is null[ 4.565577] [mmc]: sdc1 power_supply is null[ 4.569707] [mmc]: sdc1 power_supply is null[ 4.580810] systemd[1]: Starting Create list of required static device nodes for the current kernel...[ 4.642025] [mmc]: sdc1 power_supply is null[ 4.700362] systemd[1]: Mounting Debug File System...[ 4.780677] systemd[1]: Starting Remount Root and Kernel File Systems...[ 4.862217] EXT4-fs (mmcblk0p1): re-mounted. Opts: commit=600,errors=remount-ro[ 4.920663] systemd[1]: Starting Restore / save the current clock...[ 4.940270] systemd[1]: Reached target Remote File Systems (Pre).[ 4.960246] systemd[1]: Reached target Remote File Systems.[ 5.020455] systemd[1]: Starting Nameserver information manager...[ 5.040463] systemd[1]: Listening on Journal Socket (/dev/log).[ 5.150359] systemd[1]: Mounting POSIX Message Queue File System...[ 5.170585] systemd[1]: Started Forward Password Requests to Wall Directory Watch.[ 5.190441] systemd[1]: Listening on Syslog Socket.[ 5.210189] systemd[1]: Reached target Slices.[ 5.353234] systemd[1]: Mounted Debug File System.[ 5.370321] systemd[1]: Mounted POSIX Message Queue File System.[ 5.540119] systemd[1]: Started Load Kernel Modules.[ 5.680131] systemd[1]: Started Set console keymap.[ 5.830123] systemd[1]: Started Create list of required static device nodes for the current kernel.[ 5.980145] systemd[1]: Started Remount Root and Kernel File Systems.[ 6.130129] systemd[1]: Started Restore / save the current clock.[ 6.354672] systemd[1]: Time has been changed[ 6.510535] systemd[1]: Started Nameserver information manager.[ 6.640847] systemd[1]: Starting udev Coldplug all Devices...[ 6.790416] systemd[1]: Activating swap /var/swap...[ 6.920731] systemd[1]: Starting Load/Save Random Seed...[ 6.934296] Adding 131068k swap on /var/swap. Priority:-1 extents:2 across:139260k SS[ 7.140726] systemd[1]: Starting Create Static Device Nodes in /dev...[ 7.330392] systemd[1]: Mounting FUSE Control File System...[ 7.510780] systemd[1]: Starting Apply Kernel Variables...[ 7.531039] systemd[1]: Activated swap /var/swap.[ 7.553136] systemd[1]: Mounted FUSE Control File System.[ 8.150245] systemd[1]: Started Load/Save Random Seed.[ 8.290157] systemd[1]: Started Create Static Device Nodes in /dev.[ 8.430134] systemd[1]: Started Apply Kernel Variables.[ 8.570122] systemd[1]: Started udev Coldplug all Devices.[ 8.603904] systemd[1]: Reached target Local File Systems (Pre).[ 8.680320] systemd[1]: Mounting /tmp...[ 8.760680] systemd[1]: Starting udev Kernel Device Manager...[ 8.780307] systemd[1]: Reached target Swap.[ 8.857625] systemd[1]: Mounted /tmp.[ 8.960766] systemd[1]: Started Entropy daemon using the HAVEGE algorithm.[ 9.050903] systemd[1]: Starting Journal Service...[ 9.070517] systemd[1]: Reached target Local File Systems.[ 9.189848] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x48)[ 9.190079] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x48, dev addr: 0x48)[ 9.190606] systemd[1]: Starting Raise network interfaces...[ 9.213674] vmouse_input_dev_open[ 9.260341] vmouse_input_dev_close[ 9.262053] sunxi_i2c_do_xfer()985 - [i2c0] incomplete xfer (status: 0x20, dev addr: 0x77)[ 9.262086] bmp085: probe of 0-0077 failed with error -70[ 9.310947] systemd[1]: Starting Set console font and keymap...[ 9.372956] WARNING: You are using an experimental version of the media stack.[ 9.372968] As the driver is backported to an older kernel, it doesn't offer[ 9.372976] enough quality for its usage in production.[ 9.372982] Use it with care.[ 9.372987] Latest git patches (needed if you report a bug to linux-media@vger.kernel.org):[ 9.372995] d52879196556001ca7e8d05811d18c93e3c30576 si2183: Minor fix.[ 9.373001] 9842fabcbf29234949fb4ffe18bcc71019810c2c cx231xx: Minor fix.[ 9.373007] 59e3a304e12a1ba6d78458455f5de373edb5aef8 cxusb: Fixed RC map table for T230/T230C.[ 9.435617] systemd[1]: Started udev Kernel Device Manager.[ 9.451726] media: Linux media interface: v0.10[ 9.468703] WARNING: You are using an experimental version of the media stack.[ 9.468715] As the driver is backported to an older kernel, it doesn't offer[ 9.468724] enough quality for its usage in production.[ 9.468731] Use it with care.[ 9.468736] Latest git patches (needed if you report a bug to linux-media@vger.kernel.org):[ 9.468744] d52879196556001ca7e8d05811d18c93e3c30576 si2183: Minor fix.[ 9.468752] 9842fabcbf29234949fb4ffe18bcc71019810c2c cx231xx: Minor fix.[ 9.468760] 59e3a304e12a1ba6d78458455f5de373edb5aef8 cxusb: Fixed RC map table for T230/T230C.[ 9.560821] dvb-usb: found a 'Mygica T230C DVB-T/T2/C' in warm state.[ 9.700507] systemd[1]: Started Journal Service.[ 9.810599] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.[ 9.810875] DVB: registering new adapter (Mygica T230C DVB-T/T2/C)[ 9.810903] usb 3-1: media controller created[ 9.812474] dvb_create_media_entity: media entity 'dvb-demux' registered.[ 9.834446] dvb-usb: no frontend was attached by 'Mygica T230C DVB-T/T2/C'[ 9.844907] dvb-usb: schedule remote query interval to 100 msecs.[ 9.845071] dvb-usb: Mygica T230C DVB-T/T2/C successfully initialized and connected.[ 9.845198] usbcore: registered new interface driver dvb_usb_cxusb[ 10.190966] gmac0: probed[ 10.191328] gmac0 gmac0: eth0: eth0: PHY ID 00441400 at 0 IRQ poll (gmac0-0:00)[ 10.455578] systemd-journald[219]: Received request to flush runtime journal from PID 1[ 13.190277] PHY: gmac0-0:00 - Link is Up - 100/Full[ 21.170023] eth0: no IPv6 routers present @qualcomm.com> What should I do now?
jernej Posted October 26, 2016 Posted October 26, 2016 Not really sure. It is encouraging nevertheless. According to this working output: https://www.linuxtv.org/wiki/index.php/Geniatech_T230It seems that I2C mux is missing. Change this line https://github.com/igorpecovnik/lib/blob/master/config/kernel/linux-sun8i-default.config#L1871 to CONFIG_I2C_MUX=y Developing can sometimes be very tedious, but rewarding at the end
idandavidi Posted October 26, 2016 Author Posted October 26, 2016 I am compiling the new kernel right now with: #2272: # CONFIG_RC_CORE is not set (although the dmesg log above is with img that was built while this line was equal to "m") #1871: CONFIG_I2C_MUX=y I ask again, is it ok that this warning shows? I pressed enter for this one: And this was showed up (new - because #1871?), is that ok to mark all "y"?
Igor Posted October 27, 2016 Posted October 27, 2016 I ask again, is it ok that this warning shows? I pressed enter for this one: Warnings are usually safe to ignore. In this case it warns you, that you have made changes to the tools. This means that the changed files won't be updating. You should make use of directory userpatches. If you will just compile kernel, just proceed since even if we will change config upstream, this won't break you anything. Proper way is to copy kernel config there and edit. I think we wrote all this in manual.
idandavidi Posted October 27, 2016 Author Posted October 27, 2016 I am so excited right now. It looks like that i2c mux is recognized! dmesg -c after reconnecting: [ 3046.784801] ehci_irq: highspeed device disconnect[ 3046.785030] usb 3-1: USB disconnect, device number 3[ 3048.578703] ehci_irq: highspeed device connect[ 3048.584684] ehci_irq: highspeed device disconnect[ 3048.821209] ehci_irq: highspeed device connect[ 3049.100118] usb 3-1: new high-speed USB device number 4 using sunxi-ehci[ 3049.316935] media: Linux media interface: v0.10[ 3049.322228] WARNING: You are using an experimental version of the media stack.[ 3049.322249] As the driver is backported to an older kernel, it doesn't offer[ 3049.322265] enough quality for its usage in production.[ 3049.322279] Use it with care.[ 3049.322288] Latest git patches (needed if you report a bug to linux-media@vger.kernel.org):[ 3049.322305] d52879196556001ca7e8d05811d18c93e3c30576 si2183: Minor fix.[ 3049.322317] 9842fabcbf29234949fb4ffe18bcc71019810c2c cx231xx: Minor fix.[ 3049.322330] 59e3a304e12a1ba6d78458455f5de373edb5aef8 cxusb: Fixed RC map table for T230/T230C.[ 3049.474617] WARNING: You are using an experimental version of the media stack.[ 3049.474635] As the driver is backported to an older kernel, it doesn't offer[ 3049.474648] enough quality for its usage in production.[ 3049.474659] Use it with care.[ 3049.474667] Latest git patches (needed if you report a bug to linux-media@vger.kernel.org):[ 3049.474681] d52879196556001ca7e8d05811d18c93e3c30576 si2183: Minor fix.[ 3049.474694] 9842fabcbf29234949fb4ffe18bcc71019810c2c cx231xx: Minor fix.[ 3049.474706] 59e3a304e12a1ba6d78458455f5de373edb5aef8 cxusb: Fixed RC map table for T230/T230C.[ 3049.584596] dvb-usb: found a 'Mygica T230C DVB-T/T2/C' in warm state.[ 3049.830525] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.[ 3049.830793] DVB: registering new adapter (Mygica T230C DVB-T/T2/C)[ 3049.830835] usb 3-1: media controller created[ 3049.833664] dvb_create_media_entity: media entity 'dvb-demux' registered.[ 3049.860651] i2c i2c-2: Added multiplexed i2c bus 3[ 3049.860686] si2168 2-0064: Silicon Labs Si2168-D60 successfully identified[ 3049.860713] si2168 2-0064: firmware version: D 6.0.1[ 3049.875243] si2157 3-0060: Silicon Labs Si2141/2151 successfully attached[ 3049.875345] usb 3-1: DVB: registering adapter 0 frontend 0 (Silicon Labs Si2168)...[ 3049.875415] dvb_create_media_entity: media entity 'Silicon Labs Si2168' registered.[ 3049.879621] dvb-usb: schedule remote query interval to 100 msecs.[ 3049.879864] dvb-usb: Mygica T230C DVB-T/T2/C successfully initialized and connected.[ 3049.880292] usbcore: registered new interface driver dvb_usb_cxusb dmesg seems to recognize the right firmware files: root@orangepipc:/home/idan/media_build# dmesg[ 3063.584047] si2168 2-0064: downloading firmware from file 'dvb-demod-si2168-d60-01.fw'[ 3064.014651] si2168 2-0064: firmware version: D 6.0.2[ 3064.033639] si2157 3-0060: Si2141/2151 reset attempts 1[ 3064.042403] si2157 3-0060: found a 'Silicon Labs Si2141-A10'[ 3064.042649] si2157 3-0060: downloading firmware from file 'dvb-tuner-si2141-a10-01.fw'[ 3064.538375] si2157 3-0060: firmware version: 1.1.10 and w_scan works! root@orangepipc:/home/idan/media_build# w_scanw_scanw_scan version 20141122 (compiled for DVB API 5.10)WARNING: could not guess your country. Falling back to 'DE'guessing country 'DE', use -c <country> to overrideusing settings for GERMANYDVB aerialDVB-T Europescan type TERRESTRIAL, channellist 4output format vdr-2.0WARNING: could not guess your codepage. Falling back to 'UTF-8'output charset 'UTF-8', use -C <charset> to overrideInfo: using DVB adapter auto detection. /dev/dvb/adapter0/frontend0 -> TERRESTRIAL "Silicon Labs Si2168": very good :-))Using TERRESTRIAL frontend (adapter /dev/dvb/adapter0/frontend0)_ _ Getting frontend capabilities-_ _-_Using DVB API 5.10frontend 'Silicon Labs Si2168' supportsDVB-T2INVERSION_AUTOQAM_AUTOTRANSMISSION_MODE_AUTOGUARD_INTERVAL_AUTOHIERARCHY_AUTOFEC_AUTOFREQ (42.00MHz ... 870.00MHz)Scanning DVB-T...Scanning 7MHz frequencies...177500: (time: 00:00.009)184500: (time: 00:02.049)191500: (time: 00:04.079)198500: (time: 00:06.119) ^CERROR: interrupted by SIGINT, dumping partial result...(time: 00:06.459) dumping lists (0 services)..Done, scan time: 00:06.459 Now all is left is to test it in tvheadend to see if the device is really recognized by the system and I can catch some broadcasts. I will try that later and keep you updated! Thank you so much for that help! I really appreciate it!
jernej Posted October 27, 2016 Posted October 27, 2016 So maybe you could make a pull request to change kernel settings, so others can do this more easily? Just don't disable anything. Mark as "m".
idandavidi Posted October 28, 2016 Author Posted October 28, 2016 I tested it again with marking "m" at #2272 CONFIG_RC_CORE and "y" at #1871 CONFIG_I2C_MUX=y. It does seems to work well as expected. I opened a pull request, you can check it out here if you like: https://github.com/igorpecovnik/lib/pull/523 Thank you for your great help buddy ! 1
Recommended Posts