[Buildroot] [PATCH v3 2/6] board: icorem6: Add Qt5 configs for 800x480 LVDS display

Jagan Teki jagan at amarulasolutions.com
Thu Sep 28 05:02:03 UTC 2017


On Thu, Sep 28, 2017 at 3:33 AM, Arnout Vandecappelle <arnout at mind.be> wrote:
>  I was about to apply, but...
>
> On 13-09-17 13:42, Jagan Teki wrote:
>> From: Jagan Teki <jagan at amarulasolutions.com>
>>
>> i.CoreM6 Starter Kit has 800x480 LVDS display, this patch adds
>> relevant qt5 configs with supports opensource Etnaviv graphical stack.
>>
>> Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
> [snip]
>> diff --git a/board/engicam/icorem6/linux_qt5.fragment b/board/engicam/icorem6/linux_qt5.fragment
>> new file mode 100644
>> index 0000000..5c0505e
>> --- /dev/null
>> +++ b/board/engicam/icorem6/linux_qt5.fragment
>> @@ -0,0 +1,4 @@
>> +# Currently kernel mainline exhibits issues when running cpufreq as ondemand
>> +# governor on mx6.
>> +# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
>> +CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
>
>  This is the same as board/freescale/imx6-sabresd/linux_qt5.fragment, perhaps
> that file could be used directly?

I thought the same, but since it's different board and made it local to board.

>
>> diff --git a/board/engicam/icorem6/readme.txt b/board/engicam/icorem6/readme.txt
>
> [snip]
>> diff --git a/board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore.json b/board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore.json
>> new file mode 100644
>> index 0000000..ac139a3
>> --- /dev/null
>> +++ b/board/engicam/icorem6/rootfs_overlay/root/imx6qdl-icore.json
>> @@ -0,0 +1,11 @@
>> +{
>> +  "device": "/dev/dri/card1",
>
>  Fabio (in Cc) changed this to card0 with the bump to Linux 4.13.3. For the
> iCore this is not needed?
>
>> +  "hwcursor": false,
>> +  "pbuffers": true,
>> +  "outputs": [
>> +    {
>> +      "name": "LVDS-1",
>> +      "mode": "800x480"
>> +    }
>
>  Fabio explicitly turns off HDMI. Not needed?

HDMI not supporting this board yet.

>
>> +  ]
>> +}
>
> [snip]
>
>> +BR2_TARGET_UBOOT_CUSTOM_VERSION=y
>> +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2017.07"
>> +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="imx6qdl_icore_mmc"
>
>  Fabio converted the imx6-sabresd to SPL boot, so that the same defconfig can be
> used for different boards. Could the enigcam boards use the same defconfig?

No, it used different defconfig.

thanks!
-- 
Jagan Teki
Senior Linux Kernel Engineer | Amarula Solutions
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.



More information about the buildroot mailing list