Pull request from DoréDevelopment - New: Micro distro/image
Hello OE dev,
Please pull the changes from the following repository:
git pull git://dev.doredevelopment.dk/oe-micro.git master
This oe-micro repository adds the following files to current dev:
conf/distro/micro-uclibc.conf | 43 +++++++++++++++++ conf/distro/micro.conf | 100 +++++++++++++++++++++++++++++++++++++++++ recipes/images/micro-image.bb | 34 ++++++++++++++ 3 files changed, 177 insertions(+), 0 deletions(-)
There should be no conflicts with the current OE dev branch.
These files constitute a new distribution named "Micro" and a corresponding buildable image target: micro-image
The "Micro" distribution/image is created because we feel that there is a need for a truly tiny and clean distro and image definition in OE for those users out there that needs a _very_ tiny Linux rootfs with virtually nothing installed except busybox, libc, udev, and a few init scripts. On arm the jffs2 image size is only 1 MB (uclibc based). No bloat allowed.
The micro-image is ideal for users who wants this type of tiny Linux rootfs system with only a few custom applications added.
It has been tested to build and run on the following machine types:
* at91sam9263ek [glibc, uclibc]
* x86 [glibc]
As everything else OE it should build for most other machine types as well (no guarantee of course).
The micro distribution/image is inspired by the "minimal" distro and image configuration - but it takes that one step further as contents are heavily stripped down and non needed definitions removed. Thanks to those who contributed to minimal distro - good work.
More details on micro can be found in the following wiki:
http://dev.doredevelopment.dk/wiki/OpenEmbeddedMicro
Note: It is still work in progress and there are things to improve on the todo list (see wiki).
We intend to maintain this distro/image in the future - please pull :)
Thanks.
Best regards, DoréDevelopment
Signature · 4 lines
Martin Lund, Senior Software Consultant DoréDevelopment ApS, Ved Stranden 1, 9560 Hadsund, DK-Denmark Phone: +45 51 92 84 24, Email: [email protected] WWW: http://www.doredevelopment.dk
Great stuff -- glad to see this coming along.
:M:
Quoted 12 lines · Martin Lund
Hello OE dev,
Please pull the changes from the following repository:
git pull
git://dev.doredevelopment.dk/oe-micro.gitmasterThis oe-micro repository adds the following files to current dev:
conf/distro/micro-uclibc.conf| 43 +++++++++++++++++conf/distro/micro.conf| 100
+++++++++++++++++++++++++++++++++++++++++
recipes/images/micro-image.bb | 34 ++++++++++++++
Quoted 5 lines
3 files changed, 177 insertions(+), 0 deletions(-)There should be no conflicts with the current OE dev branch.
These files constitute a new distribution named "Micro" and a corresponding buildable image target: micro-image
Why can't we make the needed changes to the minimal distro? I'd hate to see us have minimal and really-minimal distros, when they are trying to do the same thing.
What changes did you make to minimal.conf to to get to micro.conf? I'll admit to not looking closely at the insides of the distro files, but I want to learn more.
I'm also curious what happens if you build the micro-image against Angstrom.
Philip
Quoted 27 lines
The "Micro" distribution/image is created because we feel that there is a need for a truly tiny and clean distro and image definition in OE for those users out there that needs a _very_ tiny Linux rootfs with virtually nothing installed except busybox, libc, udev, and a few init scripts. On arm the jffs2 image size is only 1 MB (uclibc based). No bloat allowed.
The micro-image is ideal for users who wants this type of tiny Linux rootfs system with only a few custom applications added.
It has been tested to build and run on the following machine types:
* at91sam9263ek [glibc, uclibc]
* x86 [glibc]As everything else OE it should build for most other machine types as well (no guarantee of course).
The micro distribution/image is inspired by the "minimal" distro and image configuration - but it takes that one step further as contents are heavily stripped down and non needed definitions removed. Thanks to those who contributed to minimal distro - good work.
More details on micro can be found in the following wiki:
http://dev.doredevelopment.dk/wiki/OpenEmbeddedMicroNote: It is still work in progress and there are things to improve on the todo list (see wiki).
We intend to maintain this distro/image in the future - please pull :)
Thanks.
Best regards, DoréDevelopment
minimal no longer is minimal, it's merely a copy of angstrom in an an attempt to sanitize (read structure in a more sane and comprehensible way) the settings from angstrom. Feel free to rename it to something else (generic... just as it was before :), and bring in the new one as minimal.
:M:
Quoted 15 lines · Philip Balister
Quoted 14 lines · Martin Lund
Hello OE dev,
Please pull the changes from the following repository:
git pull
git://dev.doredevelopment.dk/oe-micro.gitmasterThis oe-micro repository adds the following files to current dev:
conf/distro/micro-uclibc.conf| 43 +++++++++++++++++conf/distro/micro.conf| 100
+++++++++++++++++++++++++++++++++++++++++
recipes/images/micro-image.bb | 34 ++++++++++++++3 files changed, 177 insertions(+), 0 deletions(-)
Quoted 5 lines
Quoted 3 lines
There should be no conflicts with the current OE dev branch.
These files constitute a new distribution named "Micro" and a corresponding buildable image target: micro-image
Why can't we make the needed changes to the minimal distro? I'd hate to see us have minimal and really-minimal distros, when they are trying to do the same thing.
Yes - the two distro definitions are closely related.
The main goal of micro is to be able to build a _very_ tiny rootfs. A secondary goal is to do this with as little distro/image definition as possible - why make it complex if you can do it simple.
The downside of having one distro to build it all is that the distro configuration becomes fairly complex - and as we know complex includes more maintenance and configuration becomes difficult to read/customize for non OE maintainers.
Of course introducing too many distros is a bad idea but I do think we need a few good _generic_ distro choices to choose from - currently I dont see that.
I would like something small (micro), medium (mini), big (...), huge (angstrom) to choose from in terms of supported generic OE distro definitions. Actually, I would love to help out doing these generic distro choices - provided that they are kept clean and sane. Consider micro the first contribution in this direction.
Today I feel that OE users are kind of left behind if they do not choose Angstrom distro. For developers like me Angstrom is no option because I dont want everything-but-the-kitchen-sink - I want tiny!
Quoted 2 lines
What changes did you make to minimal.conf to to get to micro.conf? I'll admit to not looking closely at the insides of the distro files, but I want to learn more.
Please make a quick diff and have a look ;)
Quoted 2 lines
I'm also curious what happens if you build the micro-image against Angstrom.
Sorry, I never tried that and never intended to do so. You will most likely end up with a different image or the build might break.
Quoted 37 lines
Philip
Quoted 19 lines
The "Micro" distribution/image is created because we feel that there is a need for a truly tiny and clean distro and image definition in OE for those users out there that needs a _very_ tiny Linux rootfs with virtually nothing installed except busybox, libc, udev, and a few init scripts. On arm the jffs2 image size is only 1 MB (uclibc based). No bloat allowed.
The micro-image is ideal for users who wants this type of tiny Linux rootfs system with only a few custom applications added.
It has been tested to build and run on the following machine types:
* at91sam9263ek [glibc, uclibc]
* x86 [glibc]As everything else OE it should build for most other machine types as well (no guarantee of course).
The micro distribution/image is inspired by the "minimal" distro and image configuration - but it takes that one step further as contents are heavily stripped down and non needed definitions removed. Thanks to those who contributed to minimal distro - good work.
More details on micro can be found in the following wiki:
http://dev.doredevelopment.dk/wiki/OpenEmbeddedMicroQuoted 8 lines
Note: It is still work in progress and there are things to improve on the todo list (see wiki).
We intend to maintain this distro/image in the future - please pull :)
Thanks.
Best regards, DoréDevelopment
------------------------------------------------------------------------
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Quoted 5 lines · Martin Lund
Quoted 3 lines · Philip Balister
Martin Lund wrote:
I'm also curious what happens if you build the micro-image against Angstrom.Sorry, I never tried that and never intended to do so. You will most likely end up with a different image or the build might break.
I built micro-image for the omap5912osk with Angstrom (glibc) and it created a 2.5M jffs2 file. My OSK isn't working at the moment so I can't boot test it.
Should this image work when used on a nfsroot system?
Philip
Hello,
Quoted 8 lines · Martin Lund
git pull
git://dev.doredevelopment.dk/oe-micro.gitmasterThe "Micro" distribution/image is created because we feel that there is a need for a truly tiny and clean distro and image definition in OE for those users out there that needs a _very_ tiny Linux rootfs with virtually nothing installed except busybox, libc, udev, and a few init scripts. On arm the jffs2 image size is only 1 MB (uclibc based). No bloat allowed.
Agreed, this is more or less what I use OE for work-related (read-only Linux based firmware image).
Quoted 2 lines
We intend to maintain this distro/image in the future - please pull :)
Or you planning to directly maintain it in the OE upstream GIT repo?
I guess with the amount of ACKs now anyone can pull and commit;
I'm not sure what the exact GIT workflow is for such a pull, anyone?
Regards,
Signature · 1 line
Leon
Quoted 15 lines · Leon Woestenberg
Hello,
Quoted 8 lines · Martin Lund
git pull
git://dev.doredevelopment.dk/oe-micro.gitmasterThe "Micro" distribution/image is created because we feel that there is a need for a truly tiny and clean distro and image definition in OE for those users out there that needs a _very_ tiny Linux rootfs with virtually nothing installed except busybox, libc, udev, and a few init scripts. On arm the jffs2 image size is only 1 MB (uclibc based). No bloat allowed.
Agreed, this is more or less what I use OE for work-related (read-only Linux based firmware image).
Quoted 7 lines
Quoted 2 lines
We intend to maintain this distro/image in the future - please pull :)
Or you planning to directly maintain it in the OE upstream GIT repo?
I guess with the amount of ACKs now anyone can pull and commit;
I'm not sure what the exact GIT workflow is for such a pull, anyone?
I wouldn't be that hard to submit two patches, one for the distro and another for the image.
Philip
Hello,
Quoted 7 lines · Philip Balister
Quoted 2 lines · Leon Woestenberg
On Fri, May 1, 2009 at 2:21 PM, Martin Lund <[email protected]> I'm not sure what the exact GIT workflow is for such a pull, anyone?
I wouldn't be that hard to submit two patches, one for the distro and another for the image.
OK, do your thing :-)
I thought a pull neatly remembers the remote history, or links to it, or <magic here>?
At least that is what I would expect from a distributed version control system. :)
Regards,
Signature · 1 line
Leon
Quoted 2 lines
These files constitute a new distribution named "Micro" and a corresponding buildable image target: micro-image
wow...great!!!
That could be great for routers like the wrt or the asus ones... Denis.
Hello Martin,
Quoted 5 lines · Martin Lund
Hello OE dev,
Please pull the changes from the following repository:
git pull
git://dev.doredevelopment.dk/oe-micro.gitmaster
I believe it would be better if you could get commit access and just use the mailing list for review. So you can commit it yourself :-) What others think?
Besides that, after it gets in ... it would be nice to port it to our stable branch and propose it to get added to it. It is quite nice as basis for a system so please keep it going :-D
Signature · 3 lines
Otavio Salvador O.S. Systems E-mail: [email protected] http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
Hello Otavio and all,
Quoted 6 lines · Otavio Salvador
Hello Martin,
Quoted 2 lines · Martin Lund
Hello OE dev,
Quoted 10 lines
Quoted 4 lines
Please pull the changes from the following repository:
git pull
git://dev.doredevelopment.dk/oe-micro.gitmasterI believe it would be better if you could get commit access and just use the mailing list for review. So you can commit it yourself :-) What others think?
Starting with a pull request in this list seemed like the most sensible thing to do for a start :)
If someone grants me commit access surely I will maintain it.
Quoted 5 lines
Besides that, after it gets in ... it would be nice to port it to our stable branch and propose it to get added to it. It is quite nice as basis for a system so please keep it going :-D
Sounds like a good idea to me too =)
Dnia piątek, 1 maja 2009 o 14:21:35 Martin Lund napisał(a):
Quoted 6 lines
The "Micro" distribution/image is created because we feel that there is a need for a truly tiny and clean distro and image definition in OE for those users out there that needs a very tiny Linux rootfs with virtually nothing installed except busybox, libc, udev, and a few init scripts. On arm the jffs2 image size is only 1 MB (uclibc based). No bloat allowed.
You already mentioned that you have a bloat in that image - udev is not required as busybox-mdev can also populate /dev/ with nodes.
Regards,
Signature · 3 lines
JID: [email protected] Website: http://marcin.juszkiewicz.com.pl/ LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz
Quoted 10 lines · Marcin Juszkiewicz
Dnia piątek, 1 maja 2009 o 14:21:35 Martin Lund napisał(a):
Quoted 7 lines
The "Micro" distribution/image is created because we feel that there is a need for a truly tiny and clean distro and image definition in OE for those users out there that needs a very tiny Linux rootfs with virtually nothing installed except busybox, libc, udev, and a few init scripts. On arm the jffs2 image size is only 1 MB (uclibc based). No bloat allowed.
Quoted 5 lines
You already mentioned that you have a bloat in that image - udev is not required as busybox-mdev can also populate
/dev/with nodes.Regards,
Its still work in progress - thats why I wrote the following in my wiki todo list ;)
* Replace udev with mdev (a big maybe, depends on mdev maturity)
Initially udev is the one thing that I dont want to compromise too much on functionality - its important that the device nodes are created correctly. Disregarding code size, the real downside by picking mdev is that the implementation supports a different rule base (at least that was so last time I checked - be it some time ago and back then it was also quite buggy).
Im going to give mdev a new review soon - most likely I will go with mdev in the end for the sake of keeping things simple and tiny regardless of its limitations.
Actually I plan to review the whole busybox configuration to make sure its fit.
Br, Martin
Martin Lund ha scritto:
Quoted 44 lines
Hello OE dev,
Please pull the changes from the following repository:
git pull
git://dev.doredevelopment.dk/oe-micro.gitmasterThis oe-micro repository adds the following files to current dev:
conf/distro/micro-uclibc.conf| 43 +++++++++++++++++conf/distro/micro.conf| 100
+++++++++++++++++++++++++++++++++++++++++
recipes/images/micro-image.bb | 34 ++++++++++++++3 files changed, 177 insertions(+), 0 deletions(-)There should be no conflicts with the current OE dev branch.
These files constitute a new distribution named "Micro" and a corresponding buildable image target: micro-image
The "Micro" distribution/image is created because we feel that there is a need for a truly tiny and clean distro and image definition in OE for those users out there that needs a _very_ tiny Linux rootfs with virtually nothing installed except busybox, libc, udev, and a few init scripts. On arm the jffs2 image size is only 1 MB (uclibc based). No bloat allowed.
The micro-image is ideal for users who wants this type of tiny Linux rootfs system with only a few custom applications added.
It has been tested to build and run on the following machine types:
* at91sam9263ek [glibc, uclibc]
* x86 [glibc]As everything else OE it should build for most other machine types as well (no guarantee of course).
The micro distribution/image is inspired by the "minimal" distro and image configuration - but it takes that one step further as contents are heavily stripped down and non needed definitions removed. Thanks to those who contributed to minimal distro - good work.
Quoted 5 lines
More details on micro can be found in the following wiki:
http://dev.doredevelopment.dk/wiki/OpenEmbeddedMicroNote: It is still work in progress and there are things to improve on the todo list (see wiki).
It's a pleasure to see someone pursuing our ideas of having a *really* tiny image as we drawed when we joined OE :-)
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21188
+1 from me and I'll be glad to contribute with you to this effort.
Cordiali Saluti / Kindest Regards / mit freundlichen Grüssen --
Marco Cavallini | KOAN sas | Bergamo - Italia
embedded and real-time software engineering
Phone:+39-035-255.235 - Fax:+39-178-22.39.748
http://www.KoanSoftware.com
Hello,
Quoted 3 lines · Marco Cavallini
Martin Lund ha scritto:
+1 from me and I'll be glad to contribute with you to this effort.
Enough ACKs.
Although it touches (core) distro's, it does not affect anything we already have, so I pulled(/merged) and just pushed this into OE.
Thanks,
Signature · 1 line
Leon
Hello Leon and all,
Thanks for pulling and thanks for all the acks and positive responses.
Now that its included I will turn my attention to fine tuning the contents in the coming updates. Additionally I expect to reduce the image about 10-20%.
Regarding the hash lines I think maybe something less distracting can be introduced - its kind of an art issue for the artists out there :)
Regardless, I believe that some sort of section seperation helps to make conf files more readable.
Br, Martin
Quoted 15 lines · Leon Woestenberg
Hello,
Quoted 4 lines · Marco Cavallini
Martin Lund ha scritto:
+1 from me and I'll be glad to contribute with you to this effort.Enough ACKs.
Although it touches (core) distro's, it does not affect anything we already have, so I pulled(/merged) and just pushed this into OE.
Thanks,
Quoted 9 lines · Martin Lund
Hello Leon and all,
Thanks for pulling and thanks for all the acks and positive responses.
Now that its included I will turn my attention to fine tuning the contents in the coming updates. Additionally I expect to reduce the image about 10-20%.
Regarding the hash lines I think maybe something less distracting can be introduced - its kind of an art issue for the artists out there :)
Regardless, I believe that some sort of section seperation helps to make conf files more readable.
Vertical white space :)
Philip
Quoted 25 lines
Br, Martin
Quoted 8 lines · Leon Woestenberg
Hello,
Quoted 4 lines · Marco Cavallini
Martin Lund ha scritto:
+1 from me and I'll be glad to contribute with you to this effort.Quoted 7 lines
Enough ACKs.
Although it touches (core) distro's, it does not affect anything we already have, so I pulled(/merged) and just pushed this into OE.
Thanks,
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Re: Pull request from Dor?Development - New: Micro distro/image
In reply to Martin LundQuoted 8 lines · Martin Lund
The "Micro" distribution/image is created because we feel that there is a need for a truly tiny and clean distro and image definition in OE for those users out there that needs a _very_ tiny Linux rootfs with virtually nothing installed except busybox, libc, udev, and a few init scripts. On arm the jffs2 image size is only 1 MB (uclibc based). No bloat allowed.
The micro-image is ideal for users who wants this type of tiny Linux rootfs system with only a few custom applications added.
Hmm, about 7 years ago I was working on a project of a Linux-based DSL router, which had a filesystem of about 1 MB in size with all the possible networking apps plus some custom management, control and diagnostic apps... It was also busybox and uclibc based, but was squash+lzma to squeeze every bit out of it. And back then busybox didn't have all the networking tools integrated yet, as it has these days...
Signature · 1 line
Denys
Re: Pull request from Dor?Development - New: Micro distro/image
Hello Denys,
Quoted 5 lines · Denys Dmytriyenko
Quoted 2 lines
The micro-image is ideal for users who wants this type of tiny Linux rootfs system with only a few custom applications added.
Hmm, about 7 years ago I was working on a project of a Linux-based DSL router,
Your email reply didn't end up in the email thread. Maybe check your email client.
Regards,
Signature · 1 line
Leon
Re: Pull request from Dor?Development - New: Micro distro/image
Quoted 10 lines · Leon Woestenberg
Hello Denys,
Quoted 5 lines · Denys Dmytriyenko
Quoted 2 lines
The micro-image is ideal for users who wants this type of tiny Linux rootfs system with only a few custom applications added.
Hmm, about 7 years ago I was working on a project of a Linux-based DSL router,
Your email reply didn't end up in the email thread. Maybe check your email client.
My email had the correct header - In-reply-to: <[email protected]> And it is showing in the proper thread here... As well as at gmane,org:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/23319/focus=23342
May be you should check your email client? :)
Signature · 1 line
Denys
Quoted 6 lines · On Friday 01 May 2009 14:21:35 Martin Lund wrote:
The "Micro" distribution/image is created because we feel that there is a need for a truly tiny and clean distro and image definition in OE for those users out there that needs a _very_ tiny Linux rootfs with virtually nothing installed except busybox, libc, udev, and a few init scripts. On arm the jffs2 image size is only 1 MB (uclibc based). No bloat allowed.
Isn't "udev" already bloat? I have made something similar for a custom board, but there I used "mdev" from Busybox.
My whole avr32 image is just about 3 MB, and that includes a rather hefty libQtCore.so.4.5.0 with 1.1 MB.
As a side note, I also use busybox' init instead of sysvinit. And because my board is so tiny and has a very custom role to fulfill, I don't even have /etc/rcX.d, except /etc/rcS.d which I renamed to /etc/startup.d to avoid confusion.