RFC: MACHINE_ namespace
During usage of progear device (now packed due to lack of space) I found a problems related to how we use machine configs and X11.
1. We have "alsa" as one of machine features but no way to control kernel modules for it - all are added into machine config as MACHINE_EXTRA_RRECOMMENDS. Same goes to other features.
2. Progear device use X.org instead of KDrive so I had to create own images for it because by default we do not have a way to tell which X drivers need to be present in images.
Proposed solution is adding MACHINE_ namespaces:
MACHINE_KERNEL_ALSA = "kernel-module-snd-ali5451"MACHINE_KERNEL_PCMCIA = "kernel-module-yenta-socket"
And other MACHINE_KERNEL_feature to control stuff used in task-base.
MACHINE_X11_SERVER = "xserver-xorg"MACHINE_X11_DRIVERS = "xf86-video-siliconmotion xf86-input-mutouch"
MACHINE_X11_SERVER will replace XSERVER used now, MACHINE_X11_DRIVERS will allow to add needed drivers to X11 images for device without creating custom ones.
What do you think about this proposal?
Signature · 5 lines
JID: hrw-jabber.org
OpenEmbedded developer/consultant
You can logoff, but you can never leave.
-- Nina Liedtke, "CyberJoly Drim"-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Marcin Juszkiewicz schreef:
Quoted 19 lines
During usage of progear device (now packed due to lack of space) I found a problems related to how we use machine configs and X11.
1. We have "alsa" as one of machine features but no way to control kernel modules for it - all are added into machine config as
MACHINE_EXTRA_RRECOMMENDS. Same goes to other features.2. Progear device use X.org instead of KDrive so I had to create own images for it because by default we do not have a way to tell which X drivers need to be present in images.
Proposed solution is adding
MACHINE_namespaces:
MACHINE_KERNEL_ALSA= "kernel-module-snd-ali5451"MACHINE_KERNEL_PCMCIA= "kernel-module-yenta-socket"And other
MACHINE_KERNEL_featureto control stuff used in task-base.
Quoted 8 lines
MACHINE_X11_SERVER= "xserver-xorg"MACHINE_X11_DRIVERS= "xf86-video-siliconmotion xf86-input-mutouch"
MACHINE_X11_SERVERwill replace XSERVER used now,MACHINE_X11_DRIVERSwill allow to add needed drivers to X11 images for device without creating custom ones.What do you think about this proposal?
Sounds pretty good, do you have a patch for it?
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFGWaY7MkyGM64RGpERAo7vAJ9XGOvAsqKq4cLXv1nhCIH0JCts9ACfVAMr gb542366W8K6bgr2tOxroV8=
=iSVA
-----END PGP SIGNATURE-----
Hello Marcin,
Quoted 12 lines · you
During usage of progear device (now packed due to lack of space) I found a problems related to how we use machine configs and X11.
1. We have "alsa" as one of machine features but no way to control kernel modules for it - all are added into machine config as
MACHINE_EXTRA_RRECOMMENDS. Same goes to other features.2. Progear device use X.org instead of KDrive so I had to create own images for it because by default we do not have a way to tell which X drivers need to be present in images.
Quoted 4 lines
Proposed solution is adding
MACHINE_namespaces:
MACHINE_KERNEL_ALSA= "kernel-module-snd-ali5451"MACHINE_KERNEL_PCMCIA= "kernel-module-yenta-socket"
This sounds good, especially if we anticipate from the start
that there may be several modules there. And generally, we need to add more modules into task-base subtasks, targetting at aim when machine configs will truly contain only machine-specific bits (like hardware drivers), while other modules will be in task-base.
[]
Signature · 2 lines
Best regards, Paul mailto:[email protected]