12 Replies Latest reply on Dec 26, 2015 9:02 PM by John_Quin

    i2c speed reduction II: Grafting yocto kernel into ubilinux

    John_Quin

      Hi All

      There is finally someone responding over at Emutex Labs.

       

      I discussed the issue of i2c bus speed reduction and how the kernel needs to be recompiled with certain flags set as per Re: Changing the I2C Frequency

       

      Now while the obvious solution is for Emutex to do this I get the feeling that their position is that they are using the current yocto kernel and won't change until yocto does and even them I'm guessing it will be just a vanilla yocto.

       

      Now firstly it seems to me to be almost an oversight that yocto isn't compiled by default with these flags, well at least the yocto that intel uses for the edision anyway.

       

      However I did float the idea that if the kernel unbilinux is the same as the yocto one then perhaps if could be grafted into a ubilinux system.

      Now is this sane/possible??  I know this is Emutex's responsibility but can I get some advice as to whether this is an idea worth perusing. 

       

      Regards

      John

        • 1. Re: i2c speed reduction II: Grafting yocto kernel into ubilinux
          CMata_Intel

          Hi John

           

          Do you want to build the kernel using the BSP for Yocto and then use the filesystem and all the configurations to set Ubilinux?

          If this is the case, I think it is possible but you must spend some time while attaching the Ubilinux OS.
          Why you don’t try to build the image with the changes you mentioned?  I think it would be easier than including another OS to the BSP.

           

          Regards

            Charlie

          • 2. Re: i2c speed reduction II: Grafting yocto kernel into ubilinux
            Bunsen

            Yeah, it works; I've helped do it before.  I don't recall the steps exactly, since I was only half helping with this part of the project, but it involved setting up the kernel config you want in yocto, running the yocto build process, extracting the kernel and modules from the resulting yocto image, copying them to an Edison running ubilinux, and rebooting.

            • 3. Re: i2c speed reduction II: Grafting yocto kernel into ubilinux
              John_Quin

              Thanks guys

              I'll look into it

              • 4. Re: i2c speed reduction II: Grafting yocto kernel into ubilinux
                John_Quin

                Hi All

                As and update I have learnt that the yocto BSP 2.1 has the required CONFIG_I2C_DW_SPEED_MODE_DEBUG flag already set. Well the kernel's defconfig file has it set so I'm guessing that a default compile of the BSP will have it set.

                 

                So is there an easy way of telling which kernel the ubilinux used? I'm guessing it can't have had this flag set as there are missing files / directories on the system for changing the i2c speed.

                 

                I guess at least the good news is that I should be able to use a precompiled BSP for the grafting.

                 

                Any thoughts anyone?

                • 5. Re: i2c speed reduction II: Grafting yocto kernel into ubilinux
                  CMata_Intel

                  Hi John,

                   

                  You can run uname -a in the board, you should see the Kernel version of the board.

                  You can use the BSP for Yocto and check if you get improvements with it.

                   

                  Regards,

                  Charlie

                  • 6. Re: i2c speed reduction II: Grafting yocto kernel into ubilinux
                    John_Quin

                    Thanks. Yes that was a bone headed question as I found uname about 2sec after I made the last post.

                     

                    But now I'm confused as the kernel version is 3.10.17 in the BSP 2.1 (where supposedly the flag is set) and ubilinux also has 3.10.17

                    So now I'm beginning to question whether the ubilinux kernel has the ability to change the speed of the i2c bus or not.

                     

                    Ubilinux doesn't have the files/directories present for the step  [ write “std” to  < /sys/devices/pci0000:00/0000:00:09.1/i2c_dw_sysnode/mode > file ]

                     

                    There is no i2c_dw_sysnode directory

                    So what makes these directories? are they real or do they get mapped from the kernel on boot???

                    Any ideas. Perhaps I need to flash an edison back to std with the BSP to see if there is a difference.

                    • 7. Re: i2c speed reduction II: Grafting yocto kernel into ubilinux
                      CMata_Intel

                      Hi John,

                       

                      Have you tried another way to change the I2C speed? Did you contacted EmutexLabs with this?

                      What is the output of ls /sys/device ?

                       

                      Did you move to Yocto?

                       

                      Regards,

                      Charlie

                      • 8. Re: i2c speed reduction II: Grafting yocto kernel into ubilinux
                        John_Quin

                        Hi

                        I finally got around to reflashing yocto. The i2c speed change just works and the directory /sys/devices/pci0000:00/0000:00:09.1/i2c_dw_sysnode/mode is present

                        unlike ubilinux.

                         

                        Yes I contacted ubilinux but it seems all a bit beyond them. Their position was that that they use the intel yocto kernel. So beyond that they don't know.

                         

                        So I'm now just looking for people who might know anything about the issues. So where do the directories come from. Is it possible that ubilinux DOES have the correct flag set in the kernel but that the directories haven't been set up correctly? I don't know? I just don't know enough about linux to know what goes on.
                        Perhaps I'll have to stick with yocto for my application.

                         

                        Update

                        the output of uname -a is

                         

                         

                         

                        Ubilinux

                        3.10.17-poky-edison-ww42+ #4 SMP PREEMPT Wed Oct 29 12:41:25 GMT 2014 i686

                         

                         

                        BSP 2,1

                        3.10.17-poky-edison+ #1 SMP PREEMPT Fri Jun 19 12:06:40 CEST 2015 i686 GNU/Linux

                        • 9. Re: i2c speed reduction II: Grafting yocto kernel into ubilinux
                          CMata_Intel

                          Hi John,

                           

                          I’m glad to know that you have found a workaround for your situation.

                          Now, I encourage you to open a new discussion in our communities or in EmutexLabs where you and other makers that use the Ubilinux image could discuss about the image and it features.

                          As you know the supported image is Yocto but I know there are other makers that use Ubilinux and they could help you with this.

                           

                          Regards,

                          Charlie

                          • 10. Re: i2c speed reduction II: Grafting yocto kernel into ubilinux
                            John_Quin

                            So I have taken the plunge and swapped out the kernel.

                            It broke heaps of stuff but I have the new kernel in ubilinux. The directories ARE present to change the i2c speed. So when I get back to a CRO I'll test it.

                             

                            For anyone else who is interested how

                            - You download version 2.1 of the complete yocto image from intel
                            - unzip edison-iotdk-image-280915.zip

                            - copy edison-image-edison.ext4 onto a linux machine or the edison with WinSCP

                            - mount edison-image-edison.ext4 on a linux machine or the edison with

                            #  mkdir -p /tmp/mount_tmp/

                            # mount -o loop,rw,edison-image-edison.ext4 /tmp/mount_tmp

                             

                            - then extract the kernel file from /tmp/mount_tmp/boot (I can't remember the name of the file, I'll look and update this post)

                            - and copy it into /boot

                            - move vmlinuz (the current kernel file) to somewhere safe as a backup

                            - I then renamed the new kernel vmlinuz but this might not be necessary

                             

                            I'll keep people posted on any progress

                             

                             

                            P.S.

                            Here is my dmesg output for anyone interested to see the mess, but hey it boots!

                             

                            [    0.000000] Initializing cgroup subsys cpuset

                            [    0.000000] Initializing cgroup subsys cpu

                            [    0.000000] Initializing cgroup subsys cpuacct

                            [    0.000000] Linux version 3.10.17-poky-edison+ (sys_dswci@tlsndgbuild004) (gcc version 4.9.1 (GCC) ) #1 SMP PREEMPT Fri Jun 19 12:06:40 CEST 2015

                            [    0.000000] e820: BIOS-provided physical RAM map:

                            [    0.000000] BIOS-e820: [mem 0x0000000000000000-0x0000000000097fff] usable

                            [    0.000000] BIOS-e820: [mem 0x0000000000100000-0x0000000003ffffff] usable

                            [    0.000000] BIOS-e820: [mem 0x0000000004000000-0x0000000005ffffff] reserved

                            [    0.000000] BIOS-e820: [mem 0x0000000006000000-0x000000003f4fffff] usable

                            [    0.000000] BIOS-e820: [mem 0x000000003f500000-0x000000003fffffff] reserved

                            [    0.000000] BIOS-e820: [mem 0x00000000fec00000-0x00000000fec00fff] reserved

                            [    0.000000] BIOS-e820: [mem 0x00000000fec04000-0x00000000fec07fff] reserved

                            [    0.000000] BIOS-e820: [mem 0x00000000fee00000-0x00000000fee00fff] reserved

                            [    0.000000] BIOS-e820: [mem 0x00000000ff000000-0x00000000ffffffff] reserved

                            [    0.000000] NX (Execute Disable) protection: active

                            [    0.000000] SMBIOS 2.6 present.

                            [    0.000000] DMI: Intel Corporation Merrifield/BODEGA BAY, BIOS 466 2014.06.23:19.20.05

                            [    0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved

                            [    0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable

                            [    0.000000] e820: last_pfn = 0x3f500 max_arch_pfn = 0x1000000

                            [    0.000000] MTRR default type: uncachable

                            [    0.000000] MTRR fixed ranges enabled:

                            [    0.000000]   00000-9FFFF write-back

                            [    0.000000]   A0000-BFFFF uncachable

                            [    0.000000]   C0000-FFFFF write-back

                            [    0.000000] MTRR variable ranges enabled:

                            [    0.000000]   0 base 000000000 mask FC0000000 write-back

                            [    0.000000]   1 base 03F600000 mask FFFE00000 uncachable

                            [    0.000000]   2 base 03F800000 mask FFF800000 uncachable

                            [    0.000000]   3 base 004000000 mask FFE000000 uncachable

                            [    0.000000]   4 disabled

                            [    0.000000]   5 disabled

                            [    0.000000]   6 disabled

                            [    0.000000]   7 disabled

                            [    0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106

                            [    0.000000] original variable MTRRs

                            [    0.000000] reg 0, base: 0GB, range: 1GB, type WB

                            [    0.000000] reg 1, base: 1014MB, range: 2MB, type UC

                            [    0.000000] reg 2, base: 1016MB, range: 8MB, type UC

                            [    0.000000] reg 3, base: 64MB, range: 32MB, type UC

                            [    0.000000] total RAM covered: 982M

                            [    0.000000] Found optimal setting for mtrr clean up

                            [    0.000000]  gran_size: 64K  chunk_size: 512M        num_reg: 5      lose cover RAM: 0G

                            [    0.000000] New variable MTRRs

                            [    0.000000] reg 0, base: 0GB, range: 512MB, type WB

                            [    0.000000] reg 1, base: 64MB, range: 32MB, type UC

                            [    0.000000] reg 2, base: 512MB, range: 512MB, type WB

                            [    0.000000] reg 3, base: 1014MB, range: 2MB, type UC

                            [    0.000000] reg 4, base: 1016MB, range: 8MB, type UC

                            [    0.000000] e820: update [mem 0x04000000-0x05ffffff] usable ==> reserved

                            [    0.000000] initial memory mapped: [mem 0x00000000-0x023fffff]

                            [    0.000000] Base memory trampoline at [c0094000] 94000 size 16384

                            [    0.000000] init_memory_mapping: [mem 0x00000000-0x000fffff]

                            [    0.000000]  [mem 0x00000000-0x000fffff] page 4k

                            [    0.000000] init_memory_mapping: [mem 0x37800000-0x379fffff]

                            [    0.000000]  [mem 0x37800000-0x379fffff] page 2M

                            [    0.000000] init_memory_mapping: [mem 0x34000000-0x377fffff]

                            [    0.000000]  [mem 0x34000000-0x377fffff] page 2M

                            [    0.000000] init_memory_mapping: [mem 0x00100000-0x03ffffff]

                            [    0.000000]  [mem 0x00100000-0x001fffff] page 4k

                            [    0.000000]  [mem 0x00200000-0x03ffffff] page 2M

                            [    0.000000] init_memory_mapping: [mem 0x06000000-0x33ffffff]

                            [    0.000000]  [mem 0x06000000-0x33ffffff] page 2M

                            [    0.000000] init_memory_mapping: [mem 0x37a00000-0x37bfdfff]

                            [    0.000000]  [mem 0x37a00000-0x37bfdfff] page 4k

                            [    0.000000] BRK [0x01e27000, 0x01e27fff] PGTABLE

                            [    0.000000] 121MB HIGHMEM available.

                            [    0.000000] 891MB LOWMEM available.

                            [    0.000000]   mapped low ram: 0 - 37bfe000

                            [    0.000000]   low ram: 0 - 37bfe000

                            [    0.000000] BRK [0x01e28000, 0x01e28fff] PGTABLE

                            [    0.000000] Zone ranges:

                            [    0.000000]   DMA      [mem 0x00001000-0x00ffffff]

                            [    0.000000]   Normal   [mem 0x01000000-0x37bfdfff]

                            [    0.000000]   HighMem  [mem 0x37bfe000-0x3f4fffff]

                            [    0.000000] Movable zone start for each node

                            [    0.000000] Early memory node ranges

                            [    0.000000]   node   0: [mem 0x00001000-0x00097fff]

                            [    0.000000]   node   0: [mem 0x00100000-0x03ffffff]

                            [    0.000000]   node   0: [mem 0x06000000-0x3f4fffff]

                            [    0.000000] On node 0 totalpages: 251031

                            [    0.000000] free_area_init_node: node 0, pgdat c1c59e40, node_mem_map f740e020

                            [    0.000000]   DMA zone: 32 pages used for memmap

                            [    0.000000]   DMA zone: 0 pages reserved

                            [    0.000000]   DMA zone: 3991 pages, LIFO batch:0

                            [    0.000000]   Normal zone: 1752 pages used for memmap

                            [    0.000000]   Normal zone: 216062 pages, LIFO batch:31

                            [    0.000000]   HighMem zone: 243 pages used for memmap

                            [    0.000000]   HighMem zone: 30978 pages, LIFO batch:7

                            [    0.000000] Using APIC driver default

                            [    0.000000] SFI: Simple Firmware Interface v0.81 http://simplefirmware.org

                            [    0.000000] SFI: SYST E61F0, 0060 (v1  INTEL INTELFDK)

                            [    0.000000] SFI: CPUS E6296, 0020 (v1  INTEL INTELFDK)

                            [    0.000000] SFI: FREQ E62C2, 0030 (v1  INTEL INTELFDK)

                            [    0.000000] SFI: MMAP E62FE, 01A4 (v1  INTEL INTELFDK)

                            [    0.000000] SFI: XSDT E64B0, 002C (v1  INTEL INTELFDK)

                            [    0.000000] SFI: APIC E653E, 0020 (v1  INTEL INTELFDK)

                            [    0.000000] SFI: WAKE E656A, 0020 (v2  INTEL INTELFDK)

                            [    0.000000] SFI: DEVS E659E, 044B (v1  INTEL INTELFDK)

                            [    0.000000] SFI: GPIO E69F5, 0964 (v1  INTEL INTELFDK)

                            [    0.000000] SFI: OEMB E7365, 0060 (v5 UMGFDK CFGINFO!)

                            [    0.000000] SFI: registering lapic[0]

                            [    0.000000] SFI: registering lapic[2]

                            [    0.000000] IOAPIC[0]: apic_id 0, version 32, address 0xfec00000, GSI 0-54

                            [    0.000000] smpboot: Allowing 2 CPUs, 0 hotplug CPUs

                            [    0.000000] nr_irqs_gsi: 71

                            [    0.000000] e820: [mem 0x40000000-0xfebfffff] available for PCI devices

                            [    0.000000] setup_percpu: NR_CPUS:2 nr_cpumask_bits:2 nr_cpu_ids:2 nr_node_ids:1

                            [    0.000000] PERCPU: Embedded 14 pages/cpu @f73e8000 s33856 r0 d23488 u57344

                            [    0.000000] pcpu-alloc: s33856 r0 d23488 u57344 alloc=14*4096

                            [    0.000000] pcpu-alloc: [0] 0 [0] 1

                            [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 249247

                            [    0.000000] Kernel command line: root=PARTUUID=012b3303-34ac-284d-99b4-34e03a2335f4 rootfstype=ext4 console=ttyMFD2 earlyprintk=ttyMFD2,keep loglevel=4 systemd.unit=first-install.target hardware_id=00 g_multi.iSerialNumber=89cc930fcfb8b782967dbc9f70d64bb3 g_multi.dev_addr=02:00:86:d6:4b:b3

                            [    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] Initializing CPU#0

                            [    0.000000] Initializing HighMem for node 0 (00037bfe:0003f500)

                            [    0.000000] Memory: 982520k/1037312k available (7064k kernel code, 21604k reserved, 3679k data, 572k init, 123912k highmem)

                            [    0.000000] virtual kernel memory layout:

                            [    0.000000]     fixmap  : 0xfff8b000 - 0xfffff000   ( 464 kB)

                            [    0.000000]     pkmap   : 0xffc00000 - 0xffe00000   (2048 kB)

                            [    0.000000]     vmalloc : 0xf83fe000 - 0xffbfe000   ( 120 MB)

                            [    0.000000]     lowmem  : 0xc0000000 - 0xf7bfe000   ( 891 MB)

                            [    0.000000]       .init : 0xc1c7e000 - 0xc1d0d000   ( 572 kB)

                            [    0.000000]       .data : 0xc18e60e0 - 0xc1c7dfc0   (3679 kB)

                            [    0.000000]       .text : 0xc1200000 - 0xc18e60e0   (7064 kB)

                            [    0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.

                            [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1

                            [    0.000000] Preemptible hierarchical RCU implementation.

                            [    0.000000]  Additional per-CPU info printed with stalls.

                            [    0.000000] NR_IRQS:2304 nr_irqs:512 16

                            [    0.000000] CPU 0 irqstacks, hard=f6c08000 soft=f6c0a000

                            [    0.000000] Console: colour dummy device 80x25

                            [    0.000000] kmemleak: Kernel memory leak detector disabled

                            [    0.000000] tsc: Detected 499.200 MHz processor

                            [    0.000008] Calibrating delay loop (skipped), value calculated using timer frequency.. 998.40 BogoMIPS (lpj=4992000)

                            [    0.000032] pid_max: default: 32768 minimum: 301

                            [    0.000263] Security Framework initialized

                            [    0.000291] SELinux:  Initializing.

                            [    0.000354] SELinux:  Starting in permissive mode

                            [    0.000434] Mount-cache hash table entries: 512

                            [    0.001591] Initializing cgroup subsys devices

                            [    0.001616] Initializing cgroup subsys freezer

                            [    0.001634] Initializing cgroup subsys blkio

                            [    0.001650] Initializing cgroup subsys perf_event

                            [    0.001794] CPU: Physical Processor ID: 0

                            [    0.001810] CPU: Processor Core ID: 0

                            [    0.001828] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'

                            [    0.001828] ENERGY_PERF_BIAS: View and update with x86_energy_perf_policy(8)

                            [    0.001849] mce: CPU supports 6 MCE banks

                            [    0.001880] CPU0: Thermal monitoring enabled (TM1)

                            [    0.001923] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0

                            [    0.001923] Last level dTLB entries: 4KB 128, 2MB 0, 4MB 0

                            [    0.001923] tlb_flushall_shift: 6

                            [    0.002352] Freeing SMP alternatives: 28k freed

                            [    0.002406] SFI: MCFG E64F6, 003C (v1  INTEL INTELFDK)

                            [    0.002425] ftrace: allocating 28044 entries in 55 pages

                            [    0.069746] Enabling APIC mode:  Flat.  Using 1 I/O APICs

                            [    0.069826] smpboot: CPU0: Genuine Intel(R) CPU   4000  @  500MHz (fam: 06, model: 4a, stepping: 08)

                            [    0.069874] TSC deadline timer enabled

                            [    0.069936] Performance Events: no PEBS fmt2+, generic architected perfmon, Intel PMU driver.

                            [    0.069981] ... version:                3

                            [    0.069995] ... bit width:              40

                            [    0.070007] ... generic registers:      2

                            [    0.070020] ... value mask:             000000ffffffffff

                            [    0.070033] ... max period:             000000007fffffff

                            [    0.070045] ... fixed-purpose events:   3

                            [    0.070057] ... event mask:             0000000700000003

                            [    0.110416] ftrace: Allocated trace_printk buffers

                            [    0.161444] CPU 1 irqstacks, hard=f6f8c000 soft=f6f8e000

                            [    0.161465] smpboot: Booting Node   0, Processors  #1 OK

                            [    0.171674] Initializing CPU#1

                            [    0.172634] Skipped synchronization checks as TSC is reliable.

                            [    0.173084] NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter.

                            [    0.173166] Brought up 2 CPUs

                            [    0.173187] smpboot: Total of 2 processors activated (1996.80 BogoMIPS)

                            [    0.175127] devtmpfs: initialized

                            [    0.185692] SFI: SFI sysfs interfaces init success

                            [    0.186277] regulator-dummy: no parameters

                            [    0.186780] NET: Registered protocol family 16

                            [    0.188635] SFI OEMB Layout

                            [    0.188672]  OEMB signature               : OEMB

                            [    0.188672]  OEMB length                  : 96

                            [    0.188672]  OEMB revision                : 5

                            [    0.188672]  OEMB checksum                : 0x9F

                            [    0.188672]  OEMB oem_id                  : UMGFDK

                            [    0.188672]  OEMB oem_table_id            : CFGINFO!

                            [    0.188672]  OEMB board_id                : 0x02

                            [    0.188672]  OEMB iafw version            : 002.001

                            [    0.188672]  OEMB val_hooks version       : 002.001

                            [    0.188672]  OEMB ia suppfw version       : 000.000

                            [    0.188672]  OEMB scu runtime version     : 176.073

                            [    0.188672]  OEMB ifwi version            : 237.011

                            [    0.188774] intel_soc_thermal: IPC bus = 0, name =         soc_thrm, irq = 0x 1

                            [    0.188990] IPC bus, name =        bcove_adc, irq = 0x32

                            [    0.189192] IPC bus, name =       bcove_thrm, irq = 0x34

                            [    0.189401] IPC bus, name =  bcove_power_btn, irq = 0x1e

                            [    0.189573] IPC bus, name =        pmic_ccsm, irq = 0x1b

                            [    0.189815] SDIO bus = 1, name = bcm43xx_clk_vmmc, ref_clock = 26000000, addr =0x401

                            [    0.189831] Using generic wifi platform data

                            [    0.189847] wifi_platform_data: GPIO == 64

                            [    0.189992] IPC bus, name =        msic_gpio, irq = 0x31

                            [    0.190171] I2C bus = 1, name =      pcal9555a-1, irq = 0x 0, addr = 0x20

                            [    0.190207] I2C bus = 1, name =      pcal9555a-2, irq = 0x 0, addr = 0x21

                            [    0.190239] I2C bus = 1, name =      pcal9555a-3, irq = 0x 0, addr = 0x22

                            [    0.190270] I2C bus = 1, name =      pcal9555a-4, irq = 0x 0, addr = 0x23

                            [    0.190302] SPI bus=5, name=         ads7955, irq=0x 0, max_freq=20000000, cs=0

                            [    0.190325] SPI bus=5, name=          spidev, irq=0x 0, max_freq=25000000, cs=1

                            [    0.190376] pgrr = 000003d5

                            [    0.190842] PCI: MMCONFIG for domain 0000 [bus 00-00] at [mem 0x3f500000-0x3f5fffff] (base 0x3f500000)

                            [    0.190866] PCI: MMCONFIG at [mem 0x3f500000-0x3f5fffff] reserved in E820

                            [    0.190879] PCI: Using MMCONFIG for extended config space

                            [    0.190892] PCI: Using configuration type 1 for base access

                            [    0.204016] bio: create slab <bio-0> at 0

                            [    0.205353] vgaarb: loaded

                            [    0.206034] SCSI subsystem initialized

                            [    0.206389] usbcore: registered new interface driver usbfs

                            [    0.206486] usbcore: registered new interface driver hub

                            [    0.206724] usbcore: registered new device driver usb

                            [    0.207011] media: Linux media interface: v0.10

                            [    0.207102] Linux video capture interface: v2.00

                            [    0.207175] pps_core: LinuxPPS API ver. 1 registered

                            [    0.207191] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>

                            [    0.207231] PTP clock support registered

                            [    0.207731]  remoteproc0: intel_rproc_scu is available

                            [    0.207751]  remoteproc0: Note: remoteproc is still under development and considered experimental.

                            [    0.207766]  remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.

                            [    0.208179]  remoteproc0: registered virtio0 (type 7)

                            [    0.208427]  remoteproc0: powering up intel_rproc_scu

                            [    0.208455]  remoteproc0: Booting fw image intel_mid/intel_mid_remoteproc.fw, size 4456

                            [    0.208494] Started intel scu remote processor

                            [    0.208512]  remoteproc0: remote processor intel_rproc_scu is now up

                            [    0.208861] virtio_rpmsg_bus virtio0: creating channel rpmsg_bcove_adc addr 0x24

                            [    0.209040] virtio_rpmsg_bus virtio0: creating channel rpmsg_mrfl_thermal addr 0x25

                            [    0.209211] virtio_rpmsg_bus virtio0: creating channel rpmsg_mid_powerbtn addr 0x10

                            [    0.209390] virtio_rpmsg_bus virtio0: creating channel rpmsg_pmic_ccsm addr 0x19

                            [    0.209558] virtio_rpmsg_bus virtio0: creating channel rpmsg_msic_gpio addr 0x5

                            [    0.209723] virtio_rpmsg_bus virtio0: creating channel rpmsg_ipc_command addr 0xa0

                            [    0.209902] virtio_rpmsg_bus virtio0: creating channel rpmsg_ipc_simple_command addr 0xa1

                            [    0.210070] virtio_rpmsg_bus virtio0: creating channel rpmsg_ipc_raw_command addr 0xa2

                            [    0.210238] virtio_rpmsg_bus virtio0: creating channel rpmsg_pmic addr 0xff

                            [    0.210406] virtio_rpmsg_bus virtio0: creating channel rpmsg_mip addr 0xec

                            [    0.210585] virtio_rpmsg_bus virtio0: creating channel rpmsg_fw_update addr 0x13

                            [    0.210755] virtio_rpmsg_bus virtio0: creating channel rpmsg_ipc_util addr 0x12

                            [    0.210925] virtio_rpmsg_bus virtio0: creating channel rpmsg_flis addr 0xf5

                            [    0.211106] virtio_rpmsg_bus virtio0: creating channel rpmsg_watchdog addr 0xf8

                            [    0.211291] virtio_rpmsg_bus virtio0: creating channel rpmsg_umip addr 0x14

                            [    0.211462] virtio_rpmsg_bus virtio0: creating channel rpmsg_osip addr 0x15

                            [    0.211647] virtio_rpmsg_bus virtio0: creating channel rpmsg_vrtc addr 0xfa

                            [    0.211821] virtio_rpmsg_bus virtio0: creating channel rpmsg_fw_logging addr 0x27

                            [    0.211995] virtio_rpmsg_bus virtio0: creating channel rpmsg_kpd_led addr 0x23

                            [    0.212169] virtio_rpmsg_bus virtio0: creating channel rpmsg_modem_nvram addr 0xa2

                            [    0.212356] virtio_rpmsg_bus virtio0: creating channel rpmsg_mid_pwm addr 0x22

                            [    0.212529] virtio_rpmsg_bus virtio0: rpmsg host is online

                            [    0.212642] intel_mid_rpmsg rpmsg5: Probed rpmsg_ipc device rpmsg_ipc_command

                            [    0.212663] intel_mid_rpmsg rpmsg5: Allocating rpmsg_instance

                            [    0.212761] intel_mid_rpmsg rpmsg6: Probed rpmsg_ipc device rpmsg_ipc_simple_command

                            [    0.212783] intel_mid_rpmsg rpmsg6: Allocating rpmsg_instance

                            [    0.212838] intel_mid_rpmsg rpmsg7: Probed rpmsg_ipc device rpmsg_ipc_raw_command

                            [    0.212859] intel_mid_rpmsg rpmsg7: Allocating rpmsg_instance

                            [    0.213384] Advanced Linux Sound Architecture Driver Initialized.

                            [    0.213403] Intel MID platform detected, using MID PCI ops

                            [    0.213415] PCI: Probing PCI hardware

                            [    0.213431] PCI: root bus 00: using default resources

                            [    0.213446] PCI: Probing PCI hardware (bus 00)

                            [    0.213690] PCI host bridge to bus 0000:00

                            [    0.213717] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]

                            [    0.213740] pci_bus 0000:00: root bus resource [mem 0x00000000-0xfffffffff]

                            [    0.213760] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]

                            [    0.213820] pci 0000:00:00.0: [8086:1170] type 00 class 0x060000

                            [    0.214237] pci 0000:00:01.0: [8086:1190] type 00 class 0x080501

                            [    0.214307] pci 0000:00:01.0: reg 10: [mem 0xff3fc000-0xff3fc0ff]

                            [    0.214522] pci 0000:00:01.0: PME# supported from D0 D3hot

                            [    0.214857] pci 0000:00:01.2: [8086:1190] type 00 class 0x080501

                            [    0.214925] pci 0000:00:01.2: reg 10: [mem 0xff3fa000-0xff3fa0ff]

                            [    0.215137] pci 0000:00:01.2: PME# supported from D0 D3hot

                            [    0.215478] pci 0000:00:01.3: [8086:1190] type 00 class 0x080501

                            [    0.215546] pci 0000:00:01.3: reg 10: [mem 0xff3fb000-0xff3fb0ff]

                            [    0.215759] pci 0000:00:01.3: PME# supported from D0 D3hot

                            [    0.216107] pci 0000:00:02.0: [8086:1182] type 00 class 0x038000

                            [    0.216176] pci 0000:00:02.0: reg 10: [mem 0xc0000000-0xc1ffffff]

                            [    0.216239] pci 0000:00:02.0: reg 18: [mem 0x80000000-0x8fffffff]

                            [    0.216298] pci 0000:00:02.0: reg 20: [io  0x7ff8-0x7fff]

                            [    0.216724] pci 0000:00:04.0: [8086:1191] type 00 class 0x070002

                            [    0.216791] pci 0000:00:04.0: reg 10: [mem 0xff010000-0xff01007f]

                            [    0.217004] pci 0000:00:04.0: PME# supported from D0 D3hot

                            [    0.217347] pci 0000:00:04.1: [8086:1191] type 00 class 0x070002

                            [    0.217415] pci 0000:00:04.1: reg 10: [mem 0xff010080-0xff0100ff]

                            [    0.217628] pci 0000:00:04.1: PME# supported from D0 D3hot

                            [    0.217968] pci 0000:00:04.2: [8086:1191] type 00 class 0x070002

                            [    0.218035] pci 0000:00:04.2: reg 10: [mem 0xff010100-0xff01017f]

                            [    0.218248] pci 0000:00:04.2: PME# supported from D0 D3hot

                            [    0.218590] pci 0000:00:04.3: [8086:1191] type 00 class 0x070002

                            [    0.218657] pci 0000:00:04.3: reg 10: [mem 0xff010180-0xff0101ff]

                            [    0.218870] pci 0000:00:04.3: PME# supported from D0 D3hot

                            [    0.219214] pci 0000:00:05.0: [8086:1192] type 00 class 0x070002

                            [    0.219282] pci 0000:00:05.0: reg 10: [mem 0xff010400-0xff0107ff]

                            [    0.219495] pci 0000:00:05.0: PME# supported from D0 D3hot

                            [    0.219841] pci 0000:00:06.0: [8086:1193] type 00 class 0x088000

                            [    0.219909] pci 0000:00:06.0: reg 10: [mem 0xff2a0000-0xff2a0fff]

                            [    0.220121] pci 0000:00:06.0: PME# supported from D0 D3hot

                            [    0.220462] pci 0000:00:06.1: [8086:1193] type 00 class 0x088000

                            [    0.220528] pci 0000:00:06.1: reg 10: [mem 0xff2a1000-0xff2a1fff]

                            [    0.220741] pci 0000:00:06.1: PME# supported from D0 D3hot

                            [    0.221133] pci 0000:00:07.0: [8086:1194] type 00 class 0x088000

                            [    0.221201] pci 0000:00:07.0: reg 10: [mem 0xff188000-0xff188fff]

                            [    0.221414] pci 0000:00:07.0: PME# supported from D0 D3hot

                            [    0.221763] pci 0000:00:07.1: [8086:1194] type 00 class 0x088000

                            [    0.221831] pci 0000:00:07.1: reg 10: [mem 0xff189000-0xff189fff]

                            [    0.222044] pci 0000:00:07.1: PME# supported from D0 D3hot

                            [    0.222381] pci 0000:00:07.2: [8086:1194] type 00 class 0x088000

                            [    0.222449] pci 0000:00:07.2: reg 10: [mem 0xff18a000-0xff18afff]

                            [    0.222661] pci 0000:00:07.2: PME# supported from D0 D3hot

                            [    0.223053] pci 0000:00:08.0: [8086:1195] type 00 class 0x078000

                            [    0.223122] pci 0000:00:08.0: reg 10: [mem 0xff18b000-0xff18bfff]

                            [    0.223335] pci 0000:00:08.0: PME# supported from D0 D3hot

                            [    0.223676] pci 0000:00:08.1: [8086:1195] type 00 class 0x078000

                            [    0.223743] pci 0000:00:08.1: reg 10: [mem 0xff18c000-0xff18cfff]

                            [    0.223957] pci 0000:00:08.1: PME# supported from D0 D3hot

                            [    0.224284] pci 0000:00:08.2: [8086:1195] type 00 class 0x078000

                            [    0.224352] pci 0000:00:08.2: reg 10: [mem 0xff18d000-0xff18dfff]

                            [    0.224565] pci 0000:00:08.2: PME# supported from D0 D3hot

                            [    0.224904] pci 0000:00:08.3: [8086:1195] type 00 class 0x078000

                            [    0.224972] pci 0000:00:08.3: reg 10: [mem 0xff18e000-0xff18efff]

                            [    0.225184] pci 0000:00:08.3: PME# supported from D0 D3hot

                            [    0.225537] pci 0000:00:09.0: [8086:1196] type 00 class 0x078000

                            [    0.225606] pci 0000:00:09.0: reg 10: [mem 0xff18f000-0xff18ffff]

                            [    0.225819] pci 0000:00:09.0: PME# supported from D0 D3hot

                            [    0.226149] pci 0000:00:09.1: [8086:1196] type 00 class 0x078000

                            [    0.226217] pci 0000:00:09.1: reg 10: [mem 0xff190000-0xff190fff]

                            [    0.226429] pci 0000:00:09.1: PME# supported from D0 D3hot

                            [    0.226769] pci 0000:00:09.2: [8086:1196] type 00 class 0x078000

                            [    0.226836] pci 0000:00:09.2: reg 10: [mem 0xff191000-0xff191fff]

                            [    0.227049] pci 0000:00:09.2: PME# supported from D0 D3hot

                            [    0.227406] pci 0000:00:0a.0: [8086:1197] type 00 class 0x078000

                            [    0.227473] pci 0000:00:0a.0: reg 10: [mem 0xff3f8000-0xff3f8fff]

                            [    0.227687] pci 0000:00:0a.0: PME# supported from D0 D3hot

                            [    0.228017] pci 0000:00:0b.0: [8086:1198] type 00 class 0x108000

                            [    0.228084] pci 0000:00:0b.0: reg 10: [mem 0xf9038000-0xf903ffff]

                            [    0.228296] pci 0000:00:0b.0: PME# supported from D0 D3hot

                            [    0.228636] pci 0000:00:0c.0: [8086:1199] type 00 class 0x088000

                            [    0.228704] pci 0000:00:0c.0: reg 10: [mem 0xff008000-0xff008fff]

                            [    0.228747] pci 0000:00:0c.0: reg 14: [mem 0x000df570-0x000df57f]

                            [    0.228940] pci 0000:00:0c.0: PME# supported from D0 D3hot

                            [    0.229271] pci 0000:00:0d.0: [8086:119a] type 00 class 0x040100

                            [    0.229339] pci 0000:00:0d.0: reg 10: [mem 0x05e00000-0x05ffffff]

                            [    0.229382] pci 0000:00:0d.0: reg 14: [mem 0xff340000-0xff343fff]

                            [    0.229422] pci 0000:00:0d.0: reg 18: [mem 0xff344000-0xff344fff]

                            [    0.229463] pci 0000:00:0d.0: reg 1c: [mem 0xff2c0000-0xff2dffff]

                            [    0.229503] pci 0000:00:0d.0: reg 20: [mem 0xff300000-0xff33ffff]

                            [    0.229641] pci 0000:00:0d.0: PME# supported from D0 D3hot

                            [    0.229985] pci 0000:00:0e.0: [8086:119b] type 00 class 0x088000

                            [    0.230053] pci 0000:00:0e.0: reg 10: [mem 0xff298000-0xff29bfff]

                            [    0.230095] pci 0000:00:0e.0: reg 14: [mem 0xff2a2000-0xff2a2fff]

                            [    0.230288] pci 0000:00:0e.0: PME# supported from D0 D3hot

                            [    0.230642] pci 0000:00:11.0: [8086:119e] type 00 class 0x0c0320

                            [    0.230757] pci 0000:00:11.0: reg 10: [mem 0xf9100000-0xf911ffff]

                            [    0.230973] pci 0000:00:11.0: PME# supported from D0 D3hot

                            [    0.231309] pci 0000:00:12.0: [8086:119f] type 00 class 0x118000

                            [    0.231376] pci 0000:00:12.0: reg 10: [mem 0xf9009000-0xf9009fff]

                            [    0.231419] pci 0000:00:12.0: reg 14: [mem 0xf90a0000-0xf90affff]

                            [    0.231460] pci 0000:00:12.0: reg 18: [mem 0xfa000000-0xfaffffff]

                            [    0.231635] pci 0000:00:12.0: PME# supported from D0 D3hot

                            [    0.231991] pci 0000:00:13.0: [8086:11a0] type 00 class 0x0b4000

                            [    0.232059] pci 0000:00:13.0: reg 10: [mem 0xff009000-0xff009fff]

                            [    0.232272] pci 0000:00:13.0: PME# supported from D0 D3hot

                            [    0.232619] pci 0000:00:14.0: [8086:11a1] type 00 class 0x0b4000

                            [    0.232687] pci 0000:00:14.0: reg 10: [mem 0xff00b000-0xff00bfff]

                            [    0.232937] pci 0000:00:14.0: PME# supported from D0 D3hot

                            [    0.233276] pci 0000:00:15.0: [8086:11a2] type 00 class 0x088000

                            [    0.233344] pci 0000:00:15.0: reg 10: [mem 0xff192000-0xff192fff]

                            [    0.233557] pci 0000:00:15.0: PME# supported from D0 D3hot

                            [    0.233903] pci 0000:00:16.0: [8086:11a3] type 00 class 0x0b4000

                            [    0.233971] pci 0000:00:16.0: reg 10: [mem 0xff0d9000-0xff0d90ff]

                            [    0.234184] pci 0000:00:16.0: PME# supported from D0 D3hot

                            [    0.234519] pci 0000:00:16.1: [8086:11a4] type 00 class 0x0b4000

                            [    0.234587] pci 0000:00:16.1: reg 10: [mem 0x04819000-0x04898fff]

                            [    0.234629] pci 0000:00:16.1: reg 14: [mem 0x04919000-0x04920fff]

                            [    0.234822] pci 0000:00:16.1: PME# supported from D0 D3hot

                            [    0.235195] pci 0000:00:17.0: [8086:11a5] type 00 class 0x088000

                            [    0.235260] pci 0000:00:17.0: reg 10: [mem 0xff013000-0xff013fff]

                            [    0.235473] pci 0000:00:17.0: PME# supported from D0 D3hot

                            [    0.235848] pci 0000:00:18.0: [8086:11a6] type 00 class 0x038000

                            [    0.236101] pci 0000:00:18.0: PME# supported from D0 D3hot

                            [    0.236471] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00

                            [    0.236637] PCI: pci_cache_line_size set to 64 bytes

                            [    0.236903] e820: reserve RAM buffer [mem 0x00098000-0x0009ffff]

                            [    0.236923] e820: reserve RAM buffer [mem 0x3f500000-0x3fffffff]

                            [    0.237704] Bluetooth: Core ver 2.16

                            [    0.237789] NET: Registered protocol family 31

                            [    0.237805] Bluetooth: HCI device and connection manager initialized

                            [    0.237836] Bluetooth: HCI socket layer initialized

                            [    0.237862] Bluetooth: L2CAP socket layer initialized

                            [    0.237957] Bluetooth: SCO socket layer initialized

                            [    0.238663] cfg80211: Calling CRDA to update world regulatory domain

                            [    0.239740] intel_scu_flis platform device created

                            [    0.239820] hsu core clock 38 M

                            [    0.239993] intel_pmu_driver 0000:00:14.0: PMU DRIVER Probe called

                            [    0.241325] intel_pmu_driver 0000:00:14.0: after pmu initialization

                            [    0.241456] Switching to clocksource refined-jiffies

                            [    0.498540] intel_scu_flis rpmsg12: Probed flis rpmsg device

                            [    0.498566] intel_scu_flis rpmsg12: Allocating rpmsg_instance

                            [    0.498736] intel_scu_flis intel_scu_flis: scu flis probed

                            [    0.511227] pci_bus 0000:00: resource 4 [io  0x0000-0xffff]

                            [    0.511255] pci_bus 0000:00: resource 5 [mem 0x00000000-0xfffffffff]

                            [    0.511482] NET: Registered protocol family 2

                            [    0.512436] TCP established hash table entries: 8192 (order: 4, 65536 bytes)

                            [    0.512644] TCP bind hash table entries: 8192 (order: 5, 163840 bytes)

                            [    0.512938] TCP: Hash tables configured (established 8192 bind 8192)

                            [    0.513037] TCP: reno registered

                            [    0.513067] UDP hash table entries: 512 (order: 2, 24576 bytes)

                            [    0.513134] UDP-Lite hash table entries: 512 (order: 2, 24576 bytes)

                            [    0.513550] NET: Registered protocol family 1

                            [    0.514028] RPC: Registered named UNIX socket transport module.

                            [    0.514046] RPC: Registered udp transport module.

                            [    0.514059] RPC: Registered tcp transport module.

                            [    0.514071] RPC: Registered tcp NFSv4.1 backchannel transport module.

                            [    0.516569] PCI: CLS 0 bytes, default 64

                            [    0.516658] intel_scu_pmic rpmsg8: Probed pmic rpmsg device

                            [    0.516679] intel_scu_pmic rpmsg8: Allocating rpmsg_instance

                            [    0.517354] intel_scu_watchdog_evo rpmsg13: Probed watchdog rpmsg device

                            [    0.517377] intel_scu_watchdog_evo rpmsg13: Allocating rpmsg_instance

                            [    0.518027] intel_scu_ipcutil rpmsg11: Probed ipcutil rpmsg device

                            [    0.518050] intel_scu_ipcutil rpmsg11: Allocating rpmsg_instance

                            [    0.518200] (oshob) base addr = 0xfffff000

                            [    0.518216] (oshob) identified platform = INTEL_MID_CPU_CHIP_TANGIER

                            [    0.518232] (oshob) oshob version = 1.4

                            [    0.518283] (latest extend oshob) osnib ptr = 0xfffff800

                            [    0.518298] Using latest extended oshob structure size = 1024 bytes

                            [    0.518311] OSNIB Intel size = 32 bytes OEMNIB size = 96 bytes

                            [    0.518325] (extend oshob) SCU buffer size is 16 bytes

                            [    0.518393] [BOOT] RESETSRC0=0x00 RESETSRC1=0x00 (PMIT interrupt tree)

                            [    0.518466] [BOOT] SCU_TR[0]=0x00020001

                            [    0.518480] [BOOT] SCU_TR[1]=0x00000220

                            [    0.518493] [BOOT] SCU_TR[2]=0x00000000

                            [    0.518505] [BOOT] SCU_TR[3]=0x00000000

                            [    0.518517] [BOOT] IA_TR=0x00000000 (oshob)

                            [    0.518854] [BOOT] RR=[fastboot] WD=0x00 ALARM=0x00 (osnib)

                            [    0.518870] [BOOT] WAKESRC=[no matching osip entry] (osnib)

                            [    0.518884] [BOOT] RESETSRC0=0x00 RESETSRC1=0x00 (osnib)

                            [    0.518952] OEMNIB interface registered to debugfs

                            [    0.519312] iio_basincove_gpadc rpmsg0: Probed bcove_gpadc rpmsg device

                            [    0.519987] bcove_adc bcove_adc: bcove adc probed

                            [    0.520815] platform rtc_cmos: registered platform RTC device (no PNP device found)

                            [    0.522892] cryptomgr_test (31) used greatest stack depth: 7548 bytes left

                            [    0.525275] vprog1: 1500 <--> 2800 mV at 2800 mV normal

                            [    0.525999] vprog2: 1500 <--> 2850 mV at 2850 mV normal

                            [    0.526699] vprog3: 1050 <--> 2800 mV at 1050 mV normal

                            [    0.528028] audit: initializing netlink socket (disabled)

                            [    0.528092] type=2000 audit(946684807.450:1): initialized

                            [    0.676687] bounce pool size: 64 pages

                            [    0.694210] NFS: Registering the id_resolver key type

                            [    0.694276] Key type id_resolver registered

                            [    0.694293] Key type id_legacy registered

                            [    0.694325] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).

                            [    0.694804] fuse init (API version 7.22)

                            [    0.695598] msgmni has been set to 1677

                            [    0.696127] SELinux:  Registering netfilter hooks

                            [    0.697296] cryptomgr_test (48) used greatest stack depth: 7368 bytes left

                            [    0.699277] Key type asymmetric registered

                            [    0.699298] Asymmetric key parser 'x509' registered

                            [    0.699408] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)

                            [    0.699661] io scheduler noop registered

                            [    0.699962] io scheduler cfq registered (default)

                            [    0.699981] list_sort_test: start testing list_sort()

                            [    0.703197] intel_idle: MWAIT substates: 0x33000020

                            [    0.703217] intel_idle: v0.4 model 0x4A

                            [    0.703232] intel_idle: lapic_timer_reliable_states 0xffffffff

                            [    0.703496] intel_mid_dma 0000:00:0e.0: setting latency timer to 64

                            [    0.704124] intel_mid_dma 0000:00:15.0: setting latency timer to 64

                            [    0.705790] HSU DMA 0000:00:05.0: FUNC: 0 driver: 5 addr:ff010400 len:400

                            [    0.706042] HSU serial 0000:00:04.0: FUNC: 0 driver: 0 addr:ff010000 len:80

                            [    0.706098] HSU serial 0000:00:04.1: FUNC: 1 driver: 0 addr:ff010080 len:80

                            [    0.706174] Found a Intel HSU

                            [    0.707014] 0000:00:04.1: ttyMFD0 at MMIO 0xff010080 (irq = 28) is a hsu_bt_port_p

                            [    0.707545] HSU serial 0000:00:04.2: FUNC: 2 driver: 0 addr:ff010100 len:80

                            [    0.707623] Found a Intel HSU

                            [    0.708445] 0000:00:04.2: ttyMFD1 at MMIO 0xff010100 (irq = 29) is a hsu_uart1_port_p

                            [    0.709002] HSU serial 0000:00:04.3: FUNC: 3 driver: 0 addr:ff010180 len:80

                            [    0.709083] Found a Intel HSU

                            [    0.709749] 0000:00:04.3: ttyMFD2 at MMIO 0xff010180 (irq = 54) is a hsu_uart2_port_p

                            [    0.714174] console [ttyMFD2] enabled

                            [    0.715306] Non-volatile memory driver v1.3

                            [    0.715990] Linux agpgart interface v0.103

                            [    0.716499] [drm] Initialized drm 1.1.0 20060810

                            [    0.730496] brd: module loaded

                            [    0.737968] loop: module loaded

                            [    0.740871] emmc_ipanic: init success

                            [    0.741643] tun: Universal TUN/TAP device driver, 1.6

                            [    0.741662] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>

                            [    0.742095] usbcore: registered new interface driver asix

                            [    0.742177] usbcore: registered new interface driver cdc_subset

                            [    0.742307] usbcore: registered new interface driver cdc_ncm

                            [    0.742560] dwc3_otg 0000:00:11.0: setting latency timer to 64

                            [    0.744714] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

                            [    0.745033] usbcore: registered new interface driver cdc_acm

                            [    0.745050] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters

                            [    0.745166] usbcore: registered new interface driver usb-storage

                            [    0.745358] usbcore: registered new interface driver usbserial

                            [    0.745428] usbcore: registered new interface driver pl2303

                            [    0.745496] usbserial: USB Serial support registered for pl2303

                            [    0.746454] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0

                            [    0.746610] rtc_cmos rtc_cmos: alarms up to one day, 114 bytes nvram

                            [    0.746665] i2c /dev entries driver

                            [    0.747656] pca953x 1-0020: failed reading register

                            [    0.752490] pca953x: probe of 1-0020 failed with error -121

                            [    0.752795] pca953x 1-0021: failed reading register

                            [    0.752884] pca953x: probe of 1-0021 failed with error -121

                            [    0.753174] pca953x 1-0022: failed reading register

                            [    0.761674] pca953x: probe of 1-0022 failed with error -121

                            [    0.761973] pca953x 1-0023: failed reading register

                            [    0.762049] pca953x: probe of 1-0023 failed with error -121

                            [    0.902732] coretemp: Enabled Aux0/Aux1 interrupts for coretemp

                            [    0.902863] coretemp: Enabled Aux0/Aux1 interrupts for coretemp

                            [    1.002391] MCU detected and ready to used!

                            [    1.002517] bcove_thrm rpmsg1: Probed mrfl_thermal rpmsg device

                            [    1.008496] thermal thermal_zone0: failed to read out thermal zone 0

                            [    1.009645] thermal thermal_zone2: failed to read out thermal zone 2

                            [    1.012160] Bluetooth: HCI UART driver ver 2.2

                            [    1.012181] Bluetooth: HCI H4 protocol initialized

                            [    1.012696] cpuidle: using governor ladder

                            [    1.013308] cpuidle: using governor menu

                            [    1.013389] sdhci: Secure Digital Host Controller Interface driver

                            [    1.013404] sdhci: Copyright(c) Pierre Ossman

                            [    1.013478] sdhci-pci 0000:00:01.0: SDHCI controller found [8086:1190] (rev 1)

                            [    1.013569] flis_addr mapped addr: f8496900

                            [    1.013679] sdhci-pci 0000:00:01.0: rte_addr mapped addr: f849a000

                            [    1.013739] sdhci-pci 0000:00:01.0: setting latency timer to 64

                            [    1.013768] mmc0: no vqmmc regulator found

                            [    1.105651] mmc0: BKOPS_EN bit is not set

                            [    1.414456] mmc0: new HS200 MMC card at address 0001

                            [    1.415302] mmcblk0: mmc0:0001 H4G1d\x04 3.64 GiB

                            [    1.415776] mmcblk0boot0: mmc0:0001 H4G1d\x04 partition 1 4.00 MiB

                            [    1.416166] mmcblk0boot1: mmc0:0001 H4G1d\x04 partition 2 4.00 MiB

                            [    1.416529] mmcblk0rpmb: mmc0:0001 H4G1d\x04 partition 3 4.00 MiB

                            [    1.422415]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10

                            [    1.430681]  mmcblk0boot1: unknown partition table

                            [    1.434481]  mmcblk0boot0: unknown partition table

                            [    1.434902] mmc0: SDHCI controller on PCI [0000:00:01.0] using ADMA

                            [    1.454568] emmc_ipanic: panic partition found, label:panic, device:mmcblk0p6

                            [    1.524600] Switching to clocksource tsc

                            [    1.571661] emmc_ipanic: emmc_panic_notify_add: Data available in panic partition

                            [    1.571708] emmc_ipanic: emmc_panic_notify_add: proc entry created: emmc_ipanic_header

                            [    1.571730] emmc_ipanic: emmc_panic_notify_add: log file 0(1024, 104019)

                            [    1.571758] emmc_ipanic: emmc_panic_notify_add: proc entry created: emmc_ipanic_console

                            [    1.571775] emmc_ipanic: emmc_panic_notify_add: log file 1(4286578688, 0)

                            [    1.571788] emmc_ipanic: emmc_panic_notify_add: empty log file 1

                            [    1.571803] emmc_ipanic: emmc_panic_notify_add: log file 2(4286578688, 0)

                            [    1.571817] emmc_ipanic: emmc_panic_notify_add: empty log file 2

                            [    1.571907] sdhci-pci 0000:00:01.2: SDHCI controller found [8086:1190] (rev 1)

                            [    1.595196] sdhci-pci 0000:00:01.2: setting latency timer to 64

                            [    1.595237] mmc1: no vqmmc regulator found

                            [    1.595642] mmc1: SDHCI controller on PCI [0000:00:01.2] using ADMA

                            [    1.595827] sdhci-pci 0000:00:01.3: SDHCI controller found [8086:1190] (rev 1)

                            [    1.595941] vwlan gpio 96

                            [    1.596328] vwlan: 1800 mV

                            [    1.596562] sdhci-pci 0000:00:01.3: setting latency timer to 64

                            [    1.596592] mmc2: no vqmmc regulator found

                            [    1.597056] mmc2: SDHCI controller on PCI [0000:00:01.3] using ADMA

                            [    1.605597] hidraw: raw HID events driver (C) Jiri Kosina

                            [    1.606242] usbcore: registered new interface driver usbhid

                            [    1.606261] usbhid: USB HID core driver

                            [    1.606342] intel_scu_fw_update rpmsg10: Probed fw_update rpmsg device

                            [    1.606363] intel_scu_fw_update rpmsg10: Allocating rpmsg_instance

                            [    1.611429] usbcore: registered new interface driver snd-usb-audio

                            [    1.612105] snd_intel_sst: INFO: ******** SST DRIVER loading.. Ver: 3.0.8

                            [    1.612801] snd_intel_sst: Got drv data max stream 25

                            [    1.615714] snd_intel_sst: intel_sst_probe successfully done!

                            [    1.615777] snd_intel_sst: runtime_idle called

                            [    1.615798] snd_intel_sst: runtime_suspend called

                            [    1.616095] oprofile: using NMI interrupt.

                            [    1.616241] Netfilter messages via NETLINK v0.30.

                            [    1.616333] nf_conntrack version 0.5.0 (15352 buckets, 61408 max)

                            [    1.617204] NF_TPROXY: Transparent proxy support initialized, version 4.1.0

                            [    1.617221] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.

                            [    1.617810] ip_tables: (C) 2000-2006 Netfilter Core Team

                            [    1.618121] TCP: cubic registered

                            [    1.618137] Initializing XFRM netlink socket

                            [    1.620706] NET: Registered protocol family 10

                            [    1.622052] ip6_tables: (C) 2000-2006 Netfilter Core Team

                            [    1.622397] sit: IPv6 over IPv4 tunneling driver

                            [    1.623388] NET: Registered protocol family 17

                            [    1.623451] NET: Registered protocol family 15

                            [    1.623598] Bridge firewalling registered

                            [    1.623876] Bluetooth: RFCOMM TTY layer initialized

                            [    1.623937] Bluetooth: RFCOMM socket layer initialized

                            [    1.623954] Bluetooth: RFCOMM ver 1.11

                            [    1.623969] Bluetooth: BNEP (Ethernet Emulation) ver 1.3

                            [    1.623982] Bluetooth: BNEP filters: protocol multicast

                            [    1.624011] Bluetooth: BNEP socket layer initialized

                            [    1.624026] Bluetooth: HIDP (Human Interface Emulation) ver 1.2

                            [    1.624053] Bluetooth: HIDP socket layer initialized

                            [    1.624190] l2tp_core: L2TP core driver, V2.0

                            [    1.624287] Key type dns_resolver registered

                            [    1.625919] Using IPI No-Shortcut mode

                            [    1.625972] info[ 0]: name = power_btn, gpio = -1

                            [    1.625989] info[ 1]: name = SW1UI4, gpio = 61

                            [    1.631174] registered taskstats version 1

                            [    1.635209] intel_mid_ssp_spi_unified 0000:00:07.0: found PCI SSP controller (ID: 8086h:1194h cfg: 0dh)

                            [    1.636071] intel_mid_ssp_spi_unified 0000:00:07.0: register with SPI framework (bus spi3)

                            [    1.636246] intel_mid_ssp_spi_unified 0000:00:07.0: master is unqueued, this is deprecated

                            [    1.636277] intel_mid_ssp_spi_unified 0000:00:07.0: Unbalanced pm_runtime_enable!

                            [    1.644848] intel_mid_ssp_spi_unified 0000:00:07.1: found PCI SSP controller (ID: 8086h:1194h cfg: 15h)

                            [    1.645830] intel_mid_ssp_spi_unified 0000:00:07.1: register with SPI framework (bus spi5)

                            [    1.645996] intel_mid_ssp_spi_unified 0000:00:07.1: master is unqueued, this is deprecated

                            [    1.648170] intel_mid_ssp_spi_unified 0000:00:07.1: Unbalanced pm_runtime_enable!

                            [    1.655436] intel_mid_ssp_spi_unified 0000:00:07.2: found PCI SSP controller (ID: 8086h:1194h cfg: 19h)

                            [    1.656573] intel_mid_ssp_spi_unified 0000:00:07.2: register with SPI framework (bus spi6)

                            [    1.656765] intel_mid_ssp_spi_unified 0000:00:07.2: master is unqueued, this is deprecated

                            [    1.656795] intel_mid_ssp_spi_unified 0000:00:07.2: Unbalanced pm_runtime_enable!

                            [    1.665277] console [netcon0] enabled

                            [    1.665297] netconsole: network logging started

                            [    1.665927] input: gpio-keys as /devices/platform/gpio-keys/input/input0

                            [    1.666823] rtc_cmos rtc_cmos: setting system clock to 2000-01-01 00:00:09 UTC (946684809)

                            [    1.666905] pmic_ccsm rpmsg3: Probed pmic_ccsm rpmsg device

                            [    1.667203] pmic_ccsm pmic_ccsm: PMIC-ID: c9

                            [    1.667226] pmic_ccsm pmic_ccsm: Error reading battery profile from battid frmwrk

                            [    1.675937] pmic_ccsm pmic_ccsm: Battery Over heat exception

                            [    1.681675] pmic_ccsm pmic_ccsm: Battery Zone changed. Current zone is 5

                            [    1.684403] APIC ID: 0

                            [    1.684420] APIC ID: 2

                            [    1.684485] Num p-states 2

                            [    1.684503] State [0]: core_frequency[500] transition_latency[100] control[0x527]

                            [    1.684518] State [1]: core_frequency[500] transition_latency[100] control[0x527]

                            [    1.684763] Num p-states 2

                            [    1.684783] State [0]: core_frequency[500] transition_latency[100] control[0x527]

                            [    1.684798] State [1]: core_frequency[500] transition_latency[100] control[0x527]

                            [    1.685212] msic_power_btn rpmsg2: Probed mid_pb rpmsg device

                            [    1.685277] msic_power_btn mid_powerbtn: Probed mid powerbutton devivce

                            [    1.685633] input: mid_powerbtn as /devices/platform/mid_powerbtn/input/input1

                            [    1.687606] ALSA device list:

                            [    1.687627]   #0: Loopback 1

                            [    1.759504] EXT4-fs (mmcblk0p8): INFO: recovery required on readonly filesystem

                            [    1.759529] EXT4-fs (mmcblk0p8): write access will be enabled during recovery

                            [    1.829591] mmc1: new high speed SDHC card at address 59b4

                            [    1.830463] mmcblk1: mmc1:59b4 00000 14.9 GiB

                            [    1.832580]  mmcblk1: p1

                            [    1.833855] EXT4-fs (mmcblk0p8): recovery complete

                            [    1.835847] EXT4-fs (mmcblk0p8): mounted filesystem with ordered data mode. Opts: (null)

                            [    1.835941] VFS: Mounted root (ext4 filesystem) readonly on device 179:8.

                            [    1.837540] devtmpfs: mounted

                            [    1.838041] Freeing unused kernel memory: 572k freed

                            [    1.838907] Write protecting the kernel text: 7068k

                            [    1.839666] Write protecting the kernel read-only data: 2944k

                            [    1.839680] NX-protecting the kernel data: 5220k

                            [    2.158895] mmc2: queuing unknown CIS tuple 0x91 (3 bytes)

                            [    2.158935] mmc2: new ultra high speed DDR50 SDIO card at address 0001

                            [    2.225067] stty (98) used greatest stack depth: 6364 bytes left

                            [    2.654257] ps (186) used greatest stack depth: 6268 bytes left

                            [    2.777395] udevd[198]: starting version 175

                            [    3.463165] snd_intel_sst: request fw failed

                            [    5.554461] EXT4-fs (mmcblk0p8): re-mounted. Opts: (null)

                            [    7.872366] logsave (1063) used greatest stack depth: 6256 bytes left

                            [    8.132694] FAT-fs (mmcblk0p7): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

                            [    8.176579] EXT4-fs (mmcblk0p10): mounted filesystem with ordered data mode. Opts: (null)

                            [    8.283678] EXT4-fs (mmcblk1p1): mounted filesystem with ordered data mode. Opts: (null)

                            [    8.728584] grep (1136) used greatest stack depth: 6184 bytes left

                            [    9.198495] mountall.sh (1074) used greatest stack depth: 6176 bytes left

                            [    9.776090] ip (1337) used greatest stack depth: 5796 bytes left

                            [   16.243816] intel_scu_watchdog_evo: watchdog_stop

                            • 11. Re: i2c speed reduction II: Grafting yocto kernel into ubilinux
                              John_Quin

                              Right, so success!!! I have fixed the modules issues and confirmed that I can change the i2c speed on ubilinux To fix the modules issues you copy the /lib/modules files out of the new BSP from intel in the same way as the kernel an put them on the ubilinux device. Reboot and all should be well. I'll post the exact commands when I get a chance. So you can use STD FAST and HIGH modes but FAST and HIGH are both at 384kHz. STD is a solid 100kHz for i2c bus 1 # echo std > /sys/devices/pci0000:00/0000:00:08.0/i2c_dw_sysnode/mode for i2c bus 6 # echo std > /sys/devices/pci0000:00/0000:00:09.1/i2c_dw_sysnode/mode I can't guarantee that there are more things broken but basic drivers now work.

                              • 12. Re: i2c speed reduction II: Grafting yocto kernel into ubilinux
                                John_Quin

                                I just found out that the permissions on the tmp directory were all screwed up. sudo chmod 1777 /tmp sudo chown root:root /tmp ironically I have discovered that the device I was want to use will work at FAST speeds after all :(