| Summary: | A small common BSP with graphics for as many platforms as possible (x86) | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] BSPs | Reporter: | Song Liu <song.liu> | ||||||
| Component: | bsps-configuration | Assignee: | Ross Burton <ross.burton> | ||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||
| Severity: | enhancement | ||||||||
| Priority: | High | CC: | corneliux.stoicescu, david.c.stewart, dvhart, jessica.zhang, m.cavallini, richard.purdie, sgw, yp.bsp.watcher, yp.watcher | ||||||
| Version: | 1.3 | ||||||||
| Target Milestone: | 1.5 M4 | ||||||||
| Hardware: | All | ||||||||
| OS: | x86 | ||||||||
| Whiteboard: | |||||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||||
| Verified: | Documentation change: | Yes (doc changes required) | |||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 4693 | ||||||||
| Attachments: |
|
||||||||
|
Description
Song Liu
2012-04-16 23:30:07 UTC
Need info on which platforms need to be supported. What does "with graphics" mean. Full Sato desktop for multiple systems in under 50MB isn't going to happen in 1.3. What about a multi-target install image. It would be relatively huge, fit on a DVD for example, with all the meta-intel BSPs with an integrated installer. Syslinux can change the default target based on cpu type which could help with this. Consider a boot menu: +----------------------- | Syslinux 4.03 | Yocto Project : Hydra Installer | | Select your platform: | atom-pc | crownbay | n450 | fri2 | pegasus | sys940x | uranus +----------------------- I don't think that would fit the suggested usecase well. I think the intend of the usecase would be to ship an image which would run on a suitably wide range of hardware (say i686 optimised only) with support for fbdev, vesa and i915 Xorg drivers and auto selecting xorg.conf. I put together a proof of concept here: http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=rpurdie/x11updater which boots into X11 on a variety of different pieces of hardware I had lying around (laptop, desktop, selection of netbooks). (In reply to comment #1) > Need info on which platforms need to be supported. What does "with graphics" > mean. Full Sato desktop for multiple systems in under 50MB isn't going to > happen in 1.3. Er, see my branch, its not that hard ;-). (In reply to comment #0) > Background: > Some projects need to have a small embedded Linux BSP to run on many > hardware platforms (mainly x86)... [snip] I'd like it too. IMHO having a generic x86 VESA based graphics BSP would be useful to use Yocto on most of the industrial motherboards. Please talk to me (RP) about this, importance is increasing... Some obvious initial thoughts: - call it generic-x86 to indicate that it's generic and for x86. Also do generic-x86-64? - CPU tune for atom: powerful CPUs can do more re-ordering on the die rather than at compile time, unlike Atom. - fbdev, vesa, intel kernel and X drivers integrated That gets us booting and seeing something. It gets more fun with network stacks. If we assume that this is intended to boot on lots of hardware and for a known target another BSP would be used (potentially a custom one based on this) then we can build and ship the main free networking drivers for wifi and wired, and the relevant firmware. Sadly there isn't a list of "upstream networking drivers that are also stable". I'd suggest to start with a more 'basic' cpu like a 486 just to widen the supported targets. Supporting something like a 486 sounds like a BSP of its own - I can see a generic image having issues booting on something like a 486 with 8M of RAM. poky-contrib:ross/genericx86 has an expanded atom-pc machine - kernel 3.4, more X drivers, more Mesa drivers, all firmware. Next step is to build more modules and actually test it. Please provide information for testing this when it is available. Please use bug 4693 for this. Kernel changes are queued up with Bruce, and the meta-yocto-bsp changes have been sent to poky@. Updated patch series sent to the poky list. *** Bug 4211 has been marked as a duplicate of this bug. *** Issue found for genericx86-64 standby: bug 5117 I got some fails on ABAT test similar to bug 2793 tipical to -noemgd images. Does the genericx86-64 image have 3D acceleration enabled? Note: I see this is in poky already. Should the bug be set to RESOLVED? genericx86 is fully open so doesn't have EMGD. Any failures on specific hardware that reproduce with the -nonemgd are almost certainly the same problem. "No sound card detected" showed up during boot. Also this: root@genericx86-64:~# amixer amixer: Mixer attach default error: No such file or directory Should sound work on genericx86-64 images? Yes, what hardware? lspci or something similar please too. Created attachment 1462 [details]
lspci output on sugarbay hardware using core-image-sato-sdk-genericx86-64 image
Tested on sugarbay hardware.
Please note that I looked again for the "No sound cards found" message but it seems I did not see it here. Please ignore that report.
I created a wiki page that contains results of testing for generic images: https://wiki.yoctoproject.org/wiki/User:Corneliu_Stoicescu/genericx86 The page will be updated as more results come in and tested builds change. audio bug 5130 Created attachment 1492 [details]
logs from a sugarbay machine
I have tried to install the generic x86_64 image on a Sugarbay machine.
The build is 1.5 M5 rc1:
master:566ca1e4769b4ec7e3f6c6a98bb817db2221cf82
Ross, can you close this with the understanding that any remaining issues have been opened as independent bugs? Yes. generic images can be built and work to some degree on multiple x86 and x86-64 hardware (Sugarbay, atom-pc, NUC, jasperforest). All issues with the generic images have separate bugs from the main feature. Setting to VERIFIED in master:566ca1e4769b4ec7e3f6c6a98bb817db2221cf82 (1.5 M5 RC1) Please note that also the generic images have been added to the Full pass testing cycle. For now we are testing genericx86 on atom-pc hardware and genericx86-64 on Sugarbay hardware. |