* Documentation update about machine conf files
@ 2009-08-17 18:59 Christian Gagneraud
2009-08-18 8:42 ` Steffen Sledz
0 siblings, 1 reply; 3+ messages in thread
From: Christian Gagneraud @ 2009-08-17 18:59 UTC (permalink / raw)
To: openembedded-devel
Hi all,
I'm willing to update the manual, especially the section "Adding a new
Machine". I would like to update the list or required variables (if it
needs to) and add a list of optional but useful variables (see my
previous post as well).
But i'm wondering if the the file conf/documentation.conf is a better
place and/or a new conf/machine/machine.conf.sample could be written
in the same way as the conf/local.conf.sample one.
Here is a list of things i would like to add for now:
* PACKAGE_EXTRA_ARCHS
By default your machine will support the following package
architectures: "all", "any", "noarch", "${TARGET_ARCH}" and
"${MACHINE}". If you machine support more architectures, add them to
this variable in order of priority
Default: empty
Example in conf/machine/at91sam9260ek.conf:
TARGET_ARCH = "arm"
PACKAGE_EXTRA_ARCHS = "armv4t armv5te"
* KERNEL_CONSOLE:
Specify if and where you want a kernel serial console (passed on the
kernel command line). The syntax is "<serial_device>,<speed>".
Default: "ttyS0"
Example in conf/machine/triton.conf:
KERNEL_CONSOLE = "ttys0,38400"
* SERIAL_CONSOLE:
Specify if and where you want a serial console (inittab), the syntax
is "<speed> <serial_device>".
TODO: it is supported by sysvinit, but is it still the case when
busybox is used for init?
Default: empty
Example in conf/machine/fic-gta02.conf:
SERIAL_CONSOLE = "115200 ttySAC2"
* USE_VT:
Specify if you want virtual consoles (/etc/inittab), 1 if you want,
empty or anything else if you don't.
TODO: it is supported by sysvinit, but is it still the case when
busybox is used for init?
Default: "1"
Example in conf/machine/htcblueangel.conf:
USE_VT = "0"
* UBOOT_MACHINE, UBOOT_ENTRYPOINT:
If your machine use das u-boot, set UBOOT_MACHINE to the name of your
machine as known by u-boot. UBOOT_ENTRYPOINT is used to generate your
linux kernel image with uboot-mkimage.
Example in conf/machine/include/gumstix.inc:
UBOOT_ENTRYPOINT = "a0008000"
Default value for UBOOT_ENTRYPOINT: 20008000
Default value for UBOOT_MACHINE: ${MACHINE}_config
* GUI_MACHINE_CLASS:
Specify if you machine has a big one or not! ;)
So use "bigscreen" if your machine has a big screen or "smallscreen"
if our machine has a small screen.
TODO: Guidelines for the definition of big or small.
Default value: empty
Example in conf/machine/nokia800.conf:
GUI_MACHINE_CLASS = "bigscreen"
* CMDLINE and CMDLINE_<machine>
TODO
* KERNEL_IMAGETYPE
Depending of what kind of kernel image your machine is using, the
distro you are running and the color of the 25369th pixel on your
screen, some voodoo incantation will happen.
Possible values are: "bzImage", "uImage", "zImage", "vmlinux",
"image", "linux"
Default: "zImage"
Example in conf/machine/epia.conf:
KERNEL_IMAGETYPE = "bzImage"
* KERNEL_IMAGE_MAXSIZE
Use this variable if your kernel has to fit within a maximum sixe. if
the generated kernel image is bigger than that you will get an error.
TODO: used only in linux.inc, does that mean that it's not checked
Default: empty
No example.
* module_autoload_<module_name>
TODO, not sure the machine.conf is a place for this kind of things.
* IMAGE_DEVICE_TABLES, IMAGE_DEVICE_TABLES:
TODO, already documented in image_class
* USE_DEVFS:
TODO
Any comments are welcome! :)
Regards,
Chris
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: Documentation update about machine conf files
2009-08-17 18:59 Documentation update about machine conf files Christian Gagneraud
@ 2009-08-18 8:42 ` Steffen Sledz
2009-08-20 19:25 ` Marcin Juszkiewicz
0 siblings, 1 reply; 3+ messages in thread
From: Steffen Sledz @ 2009-08-18 8:42 UTC (permalink / raw)
To: openembedded-devel
Christian Gagneraud schrieb:
> I'm willing to update the manual, especially the section "Adding a new
> Machine". I would like to update the list or required variables (if it
> needs to) and add a list of optional but useful variables (see my
> previous post as well).
> But i'm wondering if the the file conf/documentation.conf is a better
> place and/or a new conf/machine/machine.conf.sample could be written in
> the same way as the conf/local.conf.sample one.
> ...
I would be really happy about an index of *all* variables usable in the recipes together with a desciption or a reference to it. I would prefer such an index in the wiki, but manual or documentation.conf would be fine too.
Steffen
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-08-20 19:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-17 18:59 Documentation update about machine conf files Christian Gagneraud
2009-08-18 8:42 ` Steffen Sledz
2009-08-20 19:25 ` Marcin Juszkiewicz
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.