How can I compile a minimal image for the imx6dqscm-1gb-qwks board?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How can I compile a minimal image for the imx6dqscm-1gb-qwks board?

1,158 Views
matthewbach
Contributor II

I've installed yocto and all required dependencies on an Ubuntu 14.04 LTS build.

I walked through the setup instructions for the fsl-community-bsp.

imx6dqscm-1gb-qwks source fsl-setup-release.sh -b build-fsl-arm-yocto

bitbake core-image-minimal

I don't want / need the gui based distro's that are offered on the Freescale bsp for this board. Is there some way to get a core-image-minimal built for this board. Every time I set the distro I want, it still revers to the x11 / qt5 / wayland distro's anyways.

Is there an easy way to add just the layer I need? I believe this layer would work:

GitHub - juan-gutierrez/meta-nxp-imx-scm: SCM Yocto Meta layer 

But how do I add that layer to either the FSL-Community source or the Freescale provided source?

Is there no official support for the SCM line? There's a disturbing lack of documentation online about this chipset.

Thanks!

Labels (1)
0 Kudos
5 Replies

714 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Matthew Bach,

Have you tried following the document bellow? It covers how to build for this machine and you should be able to bake the core-image-minimal with it.

https://community.nxp.com/docs/DOC-333955

The distro configuration would be ignored when baking the core-image-minimal image as it does not have a GUI. If you have already created a build directory with certain local.conf configurations you may initialize the environment using:

$ source setup-environment <Existing_BUILD_DIR>

This way your build directory configuration won’t be overwritten.

I hope this information helps!

Regards,

0 Kudos

714 Views
matthewbach
Contributor II

It's failing to find this manifest:

Get https://gerrit.googlesource.com/git-repo/clone.bundle

Get https://gerrit.googlesource.com/git-repo

Get git://git.freescale.com/imx/fsl-arm-yocto-bsp.git

fatal: Couldn't find remote ref refs/heads/scm-imx-4.1-krogoth

fatal: Couldn't find remote ref refs/heads/scm-imx-4.1-krogoth

fatal: cannot obtain manifest git://git.freescale.com/imx/fsl-arm-yocto-bsp.git


0 Kudos

714 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Matthew Bach,

Were you able to get the git to work? Sometimes they fail but it's usually temporary.

I was able to run it with:

$ repo init -u git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-4.1-krogoth -m scm-imx-4.1.15-2.0.0.xml

$ repo sync

Regards,

714 Views
matthewbach
Contributor II

Yes, it is working for me now, thanks.

0 Kudos

714 Views
matthewbach
Contributor II

I believe so, but I can't confirm it completely yet. The document looks

identical to the pdf included with the imx6dqscm-1gb-qwks board

documentation, but the link to the repo could be slightly different. I'll

give this a shot and get back to you. If it is the same one, then it does

not allow you to compile for core-image-minimal.

0 Kudos