Linux kernel 4.1 imx on Apalis imx6

Dear Toradex,
what are you current plan (estimated release date) for supporting 4.1-imx freescale kernel on apalis-imx6?

Thanks

As we are currently still in the process of stabilising our BSP V2.6 based on imx_3.14.52_1.1.0_ga updating to imx_4.1.15_1.0.0_ga won’t happen before the Q3 time frame.

That said you may have noticed that Apalis iMX6 support is actually part of mainline v4.6 which got released the day before yesterday.

Can I aspect full hardware support for Apalis imx6 on mainline kernel? I mean GPU/VPU/IPU, camera inputs, multiple video outputs, …

The main/immediate reason I was looking for kernel 4.1 is to avoid backport various driver I need on my carrier.

Regards,
Francesco

While the GPU and with it multiple video outputs are supported nowadays via mainline etnaviv driver et. al. unfortunately for the VPU/IPU and with it camera inputs there is currently no mainline solution that we know of.

However you could also just try using our down- or upstream device trees with imx_4.1.15_1.0.0_ga.

I tried Linux4.4 with the ixora devicetree new version. It is ok to compile but there is a lot of errors i didn’t understand. A lot of ressources were not good.

Regards,
G.Grange

link text

I am not quite sure what you are now trying to achieve but please note that unfortunately downstream kernels usually won’t play nice with upstream device trees and vice versa. So basically a device tree and with it all features and resources do have to match resp. kernel and getting to a point where something like that works nicely usually requires a lot of integration work which nobody has done with any 4.4 version I guess.

I am trying to build the kernel on my Apalis IMx6 but the kernel doesn’t seem to be starting properly:

CPU: Freescale i.MX6Q rev1.5 at 792 MHz

Reset cause: POR

I2C: ready

DRAM: 2 GiB

MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2

auto-detected panel vga-rgb

Display: vga-rgb (640x480)

In: serial

Out: serial

Err: serial

Model: Toradex Apalis iMX6 Quad 2GB IT V1.1A, Serial# 04875903

Net: using phy at 7

FEC [PRIME]

Hit any key to stop autoboot: 0

293 bytes read in 85 ms (2.9 KiB/s)

## Executing script at 10800000

Booting from internal eMMC chip...

44078 bytes read in 93 ms (461.9 KiB/s)

4087936 bytes read in 188 ms (20.7 MiB/s)

## Booting kernel from Legacy Image at 10800000 ...

Image Name: Linux-4.7.0-rc7-00092-g47ef4ad-d

Image Type: ARM Linux Kernel Image (uncompressed)

Data Size: 4087872 Bytes = 3.9 MiB

Load Address: 10008000

Entry Point: 10008000

Verifying Checksum ... OK

## Flattened Device Tree blob at 12000000

Booting using the fdt blob at 0x12000000

Loading Kernel Image ... OK

Using Device Tree in place at 12000000, end 1200dc2d

Starting kernel ...

It just hangs at “Starting kernel”.

my bootargs are:

Apalis iMX6 # printenv bootargs

bootargs=enable_wait_mode=off vmalloc=400M ip=off root=/dev/mmcblk1p2 rw,noatime rootfstype=ext3 rootwait fec_mac=00:14:2d:4a:66:7f consoleblank=0 no_console_suspend=1 console=tty1 console=ttymxc0,115200n8 mxc_hdmi.only_cea=1 video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off fbmem=32M init=/bin/bash

Any help is very much appreciated.

Edit: my carrier board is an Ixora V1.0A