[meta-freescale] Image building and deployment to SMARC-sAMX6i

Heikki Sarkanen heikki.sarkanen at tamtron.fi
Thu Jul 9 07:13:08 PDT 2015


Hello Dirk,

If you are running something GPU intensive I would recommend upgrading at least to 3.10.53 kernel so then you could use the newer GPU drivers. With daisy/3.10.17 you cannot: https://lists.yoctoproject.org/pipermail/meta-freescale/2015-April/013234.html I have tried Qt 5.4 on X11 and Wayland. Both of them got some performance boost from that update. Although I have not tested how this benefits on FB. It's a bit hard to follow what have changed in Vivante GPU but documents like this one: http://cache.freescale.com/files/32bit/doc/support_info/IMX6YOCTOPATCHRN.pdf at Freescale listing: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX6Q&fpsp=1&tab=Documentation_Tab gives some hints. Also this: https://community.freescale.com/docs/DOC-104266 explains something about the compatible versions and all things around Yocto and iMX6.

I didn't have any big issues on the upgrade to 3.10.53 although I skipped some of the backlight related patches. Biggest thing for me was LVDS driver related changes in devicetree: http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/commit/arch/arm/boot/dts?h=imx_3.10.53_1.1.0_ga&id=b8a5656180f4eee73437263c58d1973a89454843 But following the Freescale and Congatec examples: https://git.congatec.com/arm/qmx6_kernel/commit/23ba00c5aeabc44decbaf151c733a1add38390cf it was easy though. I would be interested of the results especially if you go straigth to 3.14.28.

And let's hope that Kontron does the official update soonish.

BR,
Heikki

________________________________________
From: meta-freescale-bounces at yoctoproject.org <meta-freescale-bounces at yoctoproject.org> on behalf of Dirk Berar <d.berar at stagetec.com>
Sent: 09 July 2015 14:35
To: meta-freescale at yoctoproject.org
Subject: Re: [meta-freescale] Image building and deployment to SMARC-sAMX6i

Hello Heikki,

thank you for the informations!

Especially the link to the "gpu performance" thread is very interesting
for me, because we're running a javafx project on top of FB based opengl.

I didn't make the step to fido yet. So it's also interesting for me to
hear about your success.

Kind Regards
Dirk

Heikki Sarkanen schrieb:
> Hello Andreas and Dirk,
>
> Nice to see other SMARC-sAMX6i users. I have also tried to ask
> Kontron official support for FSL Community BSP but without luck yet.
> I hope if there is enough of us so we may get it someday.
>
> As I have understood there was some intention to add the FSL
> Community BSP support last December:
> https://lists.yoctoproject.org/pipermail/meta-freescale/2014-December/011842.html.
> But when Otavio asked for some more things like support for master
> branch and U-boot recipe they didn't continue.
>
> They did some experiments on March with newer meta-fsl-arm master,
> but for some reason they haven't released nothing more than the patch
> for daisy. Maybe the reason for that was this GPU performance gap
> between master(current fido) and dizzy branches:
> https://lists.yoctoproject.org/pipermail/meta-freescale/2015-March/013135.html.
> I have done my own experiment to rebase their daisy patch on top of
> fido and 3.10.53 kernel. It seems to work pretty well, just waiting
> if Kontron comes up with official patch someday.
>
> When you get access to their EMD Customer section you will find that
> PDF documentation provided with the patch is pretty good. I have
> found using NFS boot the easiest way to deploy the rootfs and device
> tree to eMMC. It is also well documented by Kontron (chapter 7.5).
> Also they have great support (must go through your HW supplier) for
> their own U-boot fork if you need to change something there. Good
> luck!
>
> BR, Heikki Sarkanen
>
> ________________________________________ From:
> meta-freescale-bounces at yoctoproject.org
> <meta-freescale-bounces at yoctoproject.org> on behalf of Andreas
> Enbacka <andreas.enbacka at gasera.fi> Sent: 08 July 2015 18:53 To: Dirk
> Berar Cc: meta-freescale at yoctoproject.org; Otavio Salvador Subject:
> Re: [meta-freescale] Image building and deployment to SMARC-sAMX6i
>
> Hello Dirk,
>
> Thank you very much for the detailed steps, it will be of great help.
> I have still to wait for access to the Kontron customer support
> section, will be able to test it out after that.
>
> Best regards, Andreas
>
>> 8 jul 2015 kl. 18:27 skrev Dirk Berar <d.berar at stagetec.com>:
>>
>> Hi Andreas,
>>
>> I asked Kontron to contribute to the community. Unfortunately they
>> didn't until today. Poor.
>>
>> I'll try to give you a little help from my documentation. Do the
>> following from scratch:
>>
>> # to install the repo tool (and a bunch of other software) under
>> Ubuntu # 12.04 or 14.04 $ sudo apt-get install phablet-tools
>>
>> $ mkdir fsl-community-bsp; cd fsl-community-bsp $ repo init -u
>> https://github.com/Freescale/fslcommunity-bsp-platform \ -b daisy
>>
>> # The Kontron BSP is based on daisy. I also tried dizzy
>> successfully.
>>
>> # pull the sources $ repo sync
>>
>> # apply the Kontron Patch for SMARC-sAMX6i $ cd
>> sources/meta-fsl-arm-extra $ patch -p1 <
>> /path/to/smarc-samx6i-support-R01.00.diff
>>
>> # initialise Yocto Build Environment $ cd ~/fsl-community-bsp $
>> MACHINE=smarc-samx6i . ./setup-environment [build-directory]
>>
>> # start Yocto Build $ bitbake core-image-full-cmdline
>>
>> I also tried "core-image-sato" successfully. Interesting, if you
>> have connected a LVDS display.
>>
>> To flash the Yocto image to the board, use the live media of the
>> Linaro based BSP (Linux_BSP_SMX6 1.2):
>> http://emdcustomersection.kontron.com/wp-content/plugins/download-monitor/download.php?id=1164
>>
>>
>> Good luck
>> Dirk
>>
>> Otavio Salvador schrieb:
>>> On Wed, Jul 8, 2015 at 11:00 AM, Andreas Enbacka
>>> <andreas.enbacka at gasera.fi> wrote:
>>>> I am currently trying to build a Yocto image for the
>>>> SMARC-sAMX6i (SMARC evaluation kit from Kontron), and have some
>>>> questions regarding it. First, what reference image recipe is
>>>> suitable for the SMARC-sAMX6i eval kit? And second, what is the
>>>> optimal way to deploy / flash the Yocto image to the board? Any
>>>> information would be greately appreciated.
>>> Kontron is not supported by the FSL Community BSP so the right
>>> place to ask for help is their support channel. Plus, pester them
>>> to add proper support to the community so your turn-key
>>> experience will be nicer next time ;)
>>>
> -- _______________________________________________ meta-freescale
> mailing list meta-freescale at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale

--
_______________________________________________
meta-freescale mailing list
meta-freescale at yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


More information about the meta-freescale mailing list