Kernel 3.18.x, 4.0.x, 4.2.x and 4.4.x

Discussion in 'Kernels' started by patrykk, Dec 24, 2014.

  1. patrykk

    patrykk Member

    Joined:
    Dec 10, 2014
    Messages:
    52
    Likes Received:
    9
    Hi all,
    I started work on kernel 3.17 for the udoo. I released the source code on github in my git repo (https://github.com/patrykk/linux-udoo).

    This has been tested with gpu viv version 3.10.31 so you will need this version of binaries for vivante.

    uboot-udoo-quad 2014.04,
    libcec-imx6 13.20141201
    xf86-video-imx-viv 3.10.31_1.1.0 beta
    gst-imx 0.9.9
    imx-lib 3.10.31_1.1.0
    imx-vpu 3.10.31_1.1.0
    firmware-imx 3.10.31_1.1.0
    Xorg 1.16
    arch linux latest

    What Works:

    wifi (stable)
    VPU
    GPU
    HDMI video
    Xorg driver with xrandr
    OpenCL
    HDMI audio
    ASRC
    sam3x port
    i2c (no tested - could be unstable)
    OTG (f.ex. modprobe g_mass_storage file=/dev/mmcblk0p1)
    imx watchdog
    imx thermal
    XBMC
    gstream vpu

    Doesn't Work:

    CAAM (very unstable)
    PCIe
    freescale camera (no tested)


    best regards,
     
  2. mmeinert

    mmeinert Member

    Joined:
    Jun 17, 2014
    Messages:
    61
    Likes Received:
    1
    Re: Kernel 3.17.x

    Great work, thank you !
     
  3. delba

    delba Administrator Staff Member

    Joined:
    May 8, 2013
    Messages:
    1,063
    Likes Received:
    9
    Re: Kernel 3.17.x

    Awesome, Thanks!!! :D
     
  4. osingla

    osingla New Member

    Joined:
    Jan 15, 2015
    Messages:
    1
    Likes Received:
    0
    Re: Kernel 3.17.x

    This is great, but where can I download these 2 libraries?
    imx-lib 3.10.31_1.1.0
    imx-vpu 3.10.31_1.1.0

    TIA!
     
  5. hamidsani

    hamidsani New Member

    Joined:
    Oct 17, 2014
    Messages:
    4
    Likes Received:
    0
    Re: Kernel 3.17.x

    Thanks, but a more detailed instructions would be really appreciated.
     
  6. patrykk

    patrykk Member

    Joined:
    Dec 10, 2014
    Messages:
    52
    Likes Received:
    9
    Re: Kernel 3.18.x

    HI
    I created new branch with kernel 3.18 and gpu viv based on 3.10.53_ga with vivante 5.0.11p4.1 :)
    you need:

    uboot-udoo-quad 2014.10
    libcec-imx6 13.20141201
    xf86-video-imx-viv 3.10.53_1.1.0 (for lxdm need some patch)
    gst-imx 0.10.0
    imx-lib 3.10.53_1.1.0
    imx-vpu 5.4.27-1
    firmware-imx 3.10.31_1.1.0
    imx-gpu-viv-g2d 5.0.11.p4.1 (previous name: gpu-viv-g2d)
    imx-gpu-viv-(x11|fb) 5.0.11.p4.1 (previous name: gpu-viv-bin-mx6q)
    libfslvpuwrap 1.0.57
    libimxvpuapi
    Xorg server 1.16.x
    libcec-imx6 13.20141201

    links to binaries :

    http://www.freescale.com/lgfiles/NMG/MA ... 1.0.tar.gz
    http://www.freescale.com/lgfiles/NMG/MA ... .1-hfp.bin
    http://www.freescale.com/lgfiles/NMG/MA ... 5.4.27.bin
    http://www.freescale.com/lgfiles/NMG/MA ... -1.1.0.bin

    best regards,
     
  7. igorpec

    igorpec UDOOer

    Joined:
    Jan 25, 2015
    Messages:
    26
    Likes Received:
    8
    One quick question, maybe is related ... I compiled latest mainline (linux.org) (3.19.0 RC5) using "suppose to work" configuration + mainline uboot, default and patched.

    UDOO Q4 boots fine, lan is working, wifi too, ... but I got only 256MB of memory.

    Any ideas?
     
  8. patrykk

    patrykk Member

    Joined:
    Dec 10, 2014
    Messages:
    52
    Likes Received:
    9
    Please supply link with your dmesg, lsmod and /proc/interrupts.

    best regards,
     
  9. igorpec

    igorpec UDOOer

    Joined:
    Jan 25, 2015
    Messages:
    26
    Likes Received:
    8
  10. patrykk

    patrykk Member

    Joined:
    Dec 10, 2014
    Messages:
    52
    Likes Received:
    9
    I dont know where is the problem but you could try compile my kernel or compile vanilla kernel without imx-drm. It could be related to imx-drm and vpu support or uboot configuration. Please check your CMA configuration in kernel too.
     
  11. vpeter

    vpeter Active Member

    Joined:
    Nov 29, 2014
    Messages:
    303
    Likes Received:
    62
    Udoo team posted linux kernel 3.10.9 linux_imx_3.10.9_1.0.0_alpha with a driver VT1613 Audio Codec driver (vt1613.c/h, imx-ac97-vt1613.c, ...). I'm trying to port this driver to kernel 3.14 and having difficulties because the diff is pretty big (even on 3.10.9). Maybe this could be useful for 3.17/18 too (and then I can backport).
     
  12. patrykk

    patrykk Member

    Joined:
    Dec 10, 2014
    Messages:
    52
    Likes Received:
    9
    I investigate this topic for now.
     
  13. patrykk

    patrykk Member

    Joined:
    Dec 10, 2014
    Messages:
    52
    Likes Received:
    9
    Hi, I have released kernel 4.0. Please make tests and update your machines. Any feedback will be welcome.
    link: https://github.com/patrykk/linux-udoo
    changes: https://github.com/patrykk/linux-udoo/commits/4.0

    This kernel has been tested with:
    • uboot-udoo-quad 2015.1
    • libcec-imx6 13.20141201
    • xf86-video-imx-viv 3.10.53_1.1.0 (for lxdm need some patch)
    • gst-imx 0.10.1.r7
    • imx-lib 3.14.28_1.0.0
    • imx-vpu 5.4.28-1 (3.14.28)
    • firmware-imx 3.14.28_1.0.0
    • imx-gpu-viv-g2d 5.0.11.p4.4 (previous name: gpu-viv-g2d)
    • imx-gpu-viv-(x11|fb) 5.0.11.p4.4 (previous name: gpu-viv-bin-mx6q)
    • libfslvpuwrap 1.0.58 (3.14.28)
    • libimxvpuapi
    • Xorg server 1.16.x
    • libcec-imx6 13.20141201

    best regards,
    P.
     
  14. theb0rg

    theb0rg New Member

    Joined:
    Nov 3, 2013
    Messages:
    4
    Likes Received:
    0
    Hi!

    I would like to test the kernel on Udoo Quad. Is it possible to package a snapshot to an image or similar?

    I will try to fetch the files and configure manually, but it will take time due to not having the enviroment setup. An image would be an immense timesaver.
    (Using windows, need to virtualize linux and jerk around with SD-USB adapter and such)

    Best regards,
    Oscar
     
  15. patrykk

    patrykk Member

    Joined:
    Dec 10, 2014
    Messages:
    52
    Likes Received:
    9
    Something for you: Its a kernel image , tarball with modules and dtb for quad udoo. : Kernel base on tag "v4.0.0".
    http://kowalczyk.ws/imx/4.0/

    best regards,
     
  16. theb0rg

    theb0rg New Member

    Joined:
    Nov 3, 2013
    Messages:
    4
    Likes Received:
    0
    Thanks! I have successfully booted ArchLinux-latest with the provided files, although i was just guessing where to put the files.

    Following sequence was used:
    1. http://archlinuxarm.org/platforms/armv7/freescale/udoo install as base
    2. Download the modules (which are no longer available) and put them in 'usr\lib\modules\4.0.0'
    3. Download DTB and zImage from http://kowalczyk.ws/imx/kernel/4.0/ and put them in 'boot'

    No configuration was made e.g env variables and such.
    I will report back when i have done more.

    Boot log:
    http://pastebin.com/uGJnhqS6

    Best regards,
    Oscar
     
  17. theb0rg

    theb0rg New Member

    Joined:
    Nov 3, 2013
    Messages:
    4
    Likes Received:
    0
    Status update:

    Been running a web, samba and ftp server quite stable and fast now.
    Using LAN, Wifi untested.

    Idle CPU temp=39.4C

    total used free shared buff/cache available
    Mem: 998 35 778 1 185 934 MB
    Swap: 0 0 0

    I have also installed some of the packages above (the ones available in packagemanager). No deskop manager yet. I am however at loss at how to install the best install the following packages:
    • imx-lib
    • imx-gpu-viv-g2d
    • imx-gpu-viv-(x11|fb)
    I have downloaded the latest binaries from freescale.com. Any pointers on how to best apply these ? Install the older versions via package manager and replace the ones provided there?

    Best regards,
    Oscar Andrén
     
  18. patrykk

    patrykk Member

    Joined:
    Dec 10, 2014
    Messages:
    52
    Likes Received:
    9
  19. sirrab

    sirrab UDOOer

    Joined:
    Jul 26, 2014
    Messages:
    256
    Likes Received:
    31
    Awesome!
     
  20. patrykk

    patrykk Member

    Joined:
    Dec 10, 2014
    Messages:
    52
    Likes Received:
    9
    igorpec and cyrilf like this.

Share This Page