On Fri, Oct 16, 2015 at 3:05 AM, Harpreet Atwal <[email protected]> wrote: > Dear Daiane, > > Thanks for quick reply and your responses are really helpful. > > Do we have some documentation for changes one would need to do in existing > configuration files to introduce a custom board for the repo source?
I don't understand what you mean by "repo source". But assuming you meat meta-fsl-arm-extra, it is a good idea to copy over the board which looks like yours (same SoC), and change it. Please, take a look on commit log/history and you will see it may be very straight forward: https://github.com/Freescale/meta-fsl-arm-extra Basically you have one patch for machine config file, one for adjusting u-boot-fslc and one for adjusting linux-fslc. So the real work is to get your board ported to u-boot and kernel. Daiane > > Regards, > Harpreet Singh > > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf Of Daiane > Angolini > Sent: Thursday, 15 October 2015 7:29 PM > To: Harpreet Atwal > Cc: [email protected] > Subject: Re: [meta-freescale] alsa utils > > On Thu, Oct 15, 2015 at 12:31 AM, Harpreet Atwal <[email protected]> > wrote: >> Hi Friends, >> >> >> >> I just started working on iMx6 based target platform. >> >> >> >> I am using yocto to build binaries for the target platform. >> >> >> >> I am able to compile core-image-minimal. (but it does not contain alsa >> utils like aplay etc…) >> >> >> >> I have these layers in my sources folder. >> >> >> >> harpreet.atwal:~/fsl-release-bsp/sources$ ll >> >> total 52 >> >> drwxr-xr-x 13 harpreet.atwal domain^users 4096 Oct 13 17:44 ./ >> >> drwxr-xr-x 7 harpreet.atwal domain^users 4096 Oct 15 09:44 ../ >> >> drwxr-xr-x 4 harpreet.atwal domain^users 4096 Oct 6 12:34 base/ >> >> drwxr-xr-x 15 harpreet.atwal domain^users 4096 Oct 6 12:34 >> meta-fsl-arm/ >> >> drwxr-xr-x 7 harpreet.atwal domain^users 4096 Oct 6 12:34 >> meta-fsl-arm-extra/ >> >> drwxr-xr-x 4 harpreet.atwal domain^users 4096 Oct 6 12:34 >> meta-fsl-bsp-release/ >> >> drwxr-xr-x 8 harpreet.atwal domain^users 4096 Oct 6 12:34 >> meta-fsl-demos/ >> >> drwxr-xr-x 18 harpreet.atwal domain^users 4096 Oct 6 12:34 >> meta-openembedded/ >> >> drwxr-xr-x 7 harpreet.atwal domain^users 4096 Oct 6 12:34 meta-qt5/ >> >> drwxr-xr-x 11 harpreet.atwal domain^users 4096 Oct 6 12:34 poky/ >> > > Please, take a look at the documentation: > http://freescale.github.io/ > http://freescale.github.io/doc/release-notes/1.8/ > > >> >> >> >> >> I have tried using IMAGE_INSTALL_append = " alsa-utils" in >> build/conf/local.conf > > I would replace "core-image-minimal" by "core-image-base" and I would use > "CORE_IMAGE_EXTRA_INSTALL +=" instead of "IMAGE_INSTALL_append" > > core-image-minimal does not include firmware files, and I think they are > important for alsa-utils, as it is only a tool for audio which uses DMA > firmware. > >> >> >> >> But the build gets stuck and never exits. >> >> >> >> Anyone successfully able to compile alsa utilities in final image. >> Please guide me. > > In case you are using a Freescale reference board, you can download the > pre-built image http://ci.ossystems.com.br/public/fsl-community-bsp/ and have > a taste. > > > Daiane > >> >> >> >> Thanks in Advance. >> >> >> >> Harpreet >> >> Harpreet Atwal | Senior Embedded Software Engineer >> >> DTI Group Ltd | Transit Security & Surveillance >> >> 31 Affleck Road, Perth Airport, WA 6105, AU >> >> P | F +61 8 9479 1190 | [email protected] >> >> >> >> Visit our website www.dti.com.au >> >> The information contained in this email is confidential. If you >> receive this email in error, please inform DTI Group Ltd via the above >> contact details. >> If you are not the intended recipient, you may not use or disclose the >> information contained in this email or attachments. >> >> >> -- >> _______________________________________________ >> meta-freescale mailing list >> [email protected] >> https://lists.yoctoproject.org/listinfo/meta-freescale >> -- _______________________________________________ meta-freescale mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-freescale
