All of lore.kernel.org
 help / color / mirror / Atom feed
* basic questions on LINUX costomization for raspberrypi
@ 2014-12-18 19:10 abhishek srivastava
  2015-01-13 23:57 ` Andrei Gherzan
  0 siblings, 1 reply; 3+ messages in thread
From: abhishek srivastava @ 2014-12-18 19:10 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 482 bytes --]

Hi allPlease answer to these questions regarding LINUX kernel image build using yocto project:
1) What basic LINUX packages needed for raspberrypi ? any list for reference ? 
2) What if I want to add any package after my image is build ? Do i need to repeat the complete process again? 
3) How can i add any driver (ex: TFT driver) to the build kernel image? 
4) How to add any desired applications to packages?
Thank you for your help
regards
 Abhishek
         

[-- Attachment #2: Type: text/html, Size: 1539 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: basic questions on LINUX costomization for raspberrypi
  2014-12-18 19:10 basic questions on LINUX costomization for raspberrypi abhishek srivastava
@ 2015-01-13 23:57 ` Andrei Gherzan
  2015-01-14 17:13   ` Jim Rafert
  0 siblings, 1 reply; 3+ messages in thread
From: Andrei Gherzan @ 2015-01-13 23:57 UTC (permalink / raw)
  To: abhishek srivastava; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 1451 bytes --]

Hello,

Please read the meta-raspberrypi README for basic information and use .
http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/tree/README

1) it depends on the image you are baking. What do you mean by reference
list?
2) IMAGE_INSTALL_append
http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-IMAGE_INSTALL
What process are you talking about?
3) You modify the kernel config, recompile the kernel and then the image.
We are developing a better way to configure kernel. Is already in review -
hope to get some time for that soon.
4) Applications should be packages, right? Could you please rephrase your
question?

Cheers!

On Thu, Dec 18, 2014 at 8:10 PM, abhishek srivastava <
just_abhi22@yahoo.co.in> wrote:

> Hi allPlease answer to these questions regarding LINUX kernel image build
> using yocto project:
> 1) What basic LINUX packages needed for raspberrypi ? any list for
> reference ?
> 2) What if I want to add any package after my image is build ? Do i need
> to repeat the complete process again?
> 3) How can i add any driver (ex: TFT driver) to the build kernel image?
> 4) How to add any desired applications to packages?
>
> Thank you for your help
>
> regards
>
> Abhishek
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>


-- 
*Andrei Gherzan*

[-- Attachment #2: Type: text/html, Size: 3002 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: basic questions on LINUX costomization for raspberrypi
  2015-01-13 23:57 ` Andrei Gherzan
@ 2015-01-14 17:13   ` Jim Rafert
  0 siblings, 0 replies; 3+ messages in thread
From: Jim Rafert @ 2015-01-14 17:13 UTC (permalink / raw)
  To: Andrei Gherzan, abhishek srivastava; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 3844 bytes --]

Hello Abhishek,

Here's some more information to supplement what Andrei wrote.

The Yocto build system is based upon OpenEmbedded (OE), which depends upon
bitbake recipes to build everything from the kernel to applications.  Recipes are gathered
into layers,  which provide some aggregate functionality.  For example, the software required to support the Raspberry Pi hardware is collected in the meta-raspberrypi layer. So, if you want
to add something to your Linux build, it's generally just a a matter of finding the correct
recipe, and any recipes it may depend upon, and adding it into your IMAGE_INSTALL_append variable in the local.conf file.  If the recipe is not included in any of the layers that you are already using, you may have to create a custom layer of your own and add the recipe in there.
If you can't find the recipe that you need in any of the meta* directories, google can be of great help.

If you have not already, you should read the Yocto project quick start manual.
http://www.yoctoproject.org/docs/current/yocto-project-qs/yocto-project-qs.html

The process of configuring the kernel is covered in the kernel development manual.
http://www.yoctoproject.org/docs/1.6.1/kernel-dev/kernel-dev.html

When you make any changes to configuration or software, you will have to rebuild the particular
image that you are using, so that the changes will be incorporated into the filesystem images.
Because dependencies are generally well specified in Yocto, builds after the first build will be much
faster because much of the work is already done.

Speaking of images, you should do some research into which pre-configured image is closest to your
final desired result, without packing in too much stuff that you don't need.  The core-image-minimal
image can be a good start, but it is truly minimal, probably requiring a great deal of work to add
what you need for your desired configuration.  For instance, I found it convenient to start with core-image-full-cmdline, because I needed a fairly full command line experience for my applications, but did not need a graphical display.l


________________________________
From: Andrei Gherzan [andrei@gherzan.ro]
Sent: Tuesday, January 13, 2015 4:57 PM
To: abhishek srivastava
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] basic questions on LINUX costomization for raspberrypi

Hello,

Please read the meta-raspberrypi README for basic information and use .
http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/tree/README

1) it depends on the image you are baking. What do you mean by reference list?
2) IMAGE_INSTALL_append http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-IMAGE_INSTALL
What process are you talking about?
3) You modify the kernel config, recompile the kernel and then the image. We are developing a better way to configure kernel. Is already in review - hope to get some time for that soon.
4) Applications should be packages, right? Could you please rephrase your question?

Cheers!

On Thu, Dec 18, 2014 at 8:10 PM, abhishek srivastava <just_abhi22@yahoo.co.in<mailto:just_abhi22@yahoo.co.in>> wrote:
Hi allPlease answer to these questions regarding LINUX kernel image build using yocto project:
1) What basic LINUX packages needed for raspberrypi ? any list for reference ?
2) What if I want to add any package after my image is build ? Do i need to repeat the complete process again?
3) How can i add any driver (ex: TFT driver) to the build kernel image?
4) How to add any desired applications to packages?

Thank you for your help

regards

Abhishek


--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org<mailto:yocto@yoctoproject.org>
https://lists.yoctoproject.org/listinfo/yocto




--
Andrei Gherzan

[-- Attachment #2: Type: text/html, Size: 6630 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-01-14 17:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-18 19:10 basic questions on LINUX costomization for raspberrypi abhishek srivastava
2015-01-13 23:57 ` Andrei Gherzan
2015-01-14 17:13   ` Jim Rafert

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.