View previous topic :: View next topic |
Author |
Message |
M1Sports20 Apprentice
Joined: 25 Mar 2004 Posts: 194 Location: Chicago, IL
|
Posted: Thu Dec 08, 2005 1:32 am Post subject: Gentoo on Embedded |
|
|
Does anyone think it is possible to fit a basic linux, apache, mono. fit in 90 megabytes. I only have 128 megs of ROM, and need about 20 megs free for my use.??
If so can I get some recommendations. Is gentoo the right distro to try? Once its up I don't need package management, but I will have to fix security flaws
thanks |
|
Back to top |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Thu Dec 08, 2005 1:38 am Post subject: |
|
|
Moved from Kernel & Hardware to Gentoo on Alternative Architectures. _________________ ~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF |
|
Back to top |
|
|
GenTimJS Guru
Joined: 03 May 2003 Posts: 406 Location: NH, USA
|
Posted: Fri Dec 09, 2005 9:31 pm Post subject: |
|
|
at my last job, we successfully squeezed a fully functional FreeBSD install onto a 128 meg stick of compact flash, for use in a router (pc talking to a T1-CSU/DSU through a pci card) which needed to boot quicker
had the base install, and all the utils needed for routing squeezed down to about 80 or 90 megs.
the big chor was manual removal of -every- file we could tell we would never need, and not running (and deleting) system services like logging and cron _________________ -Tim Smith |
|
Back to top |
|
|
ppoudrier n00b
Joined: 21 Dec 2005 Posts: 51
|
Posted: Wed Dec 21, 2005 2:36 pm Post subject: |
|
|
Follow this procedure, your will be able to build a fully functionnal gentoo system within 20Mb
[url]http://gentoo-wiki.com/TinyGentoo
[/url] |
|
Back to top |
|
|
Dr.Dran l33t
Joined: 08 Oct 2004 Posts: 766 Location: Imola - Italy
|
Posted: Sat Dec 24, 2005 11:48 am Post subject: |
|
|
WOW that's a cool profile, but I have another questions... I will make a gentoo stage3 running in a motherboard that runs a PXA255 Xscale... is possible with the /usr/portage/profile/embedded do that? _________________ :: [Dr.Dran] Details ::
- Linux User # 286282
- IT FreeLance Consultant
- President of ImoLUG [Imola & Faenza Linux User Group] |
|
Back to top |
|
|
SpanKY Developer
Joined: 18 Apr 2002 Posts: 321 Location: Somerville, MA
|
Posted: Sat Dec 31, 2005 2:57 am Post subject: |
|
|
DranXXX wrote: | I will make a gentoo stage3 running in a motherboard that runs a PXA255 Xscale |
why waste your time, we already have Gentoo/uClibc/armeb (hard/soft) float stages
DranXXX wrote: | ... is possible with the /usr/portage/profile/embedded do that? |
don't use that profile, it's dead |
|
Back to top |
|
|
Dr.Dran l33t
Joined: 08 Oct 2004 Posts: 766 Location: Imola - Italy
|
Posted: Sat Dec 31, 2005 9:12 am Post subject: |
|
|
@SpanKY
Wow... thanx, where I can find that?
Who is the mantainer?
Thanx very much _________________ :: [Dr.Dran] Details ::
- Linux User # 286282
- IT FreeLance Consultant
- President of ImoLUG [Imola & Faenza Linux User Group] |
|
Back to top |
|
|
SpanKY Developer
Joined: 18 Apr 2002 Posts: 321 Location: Somerville, MA
|
Posted: Sat Dec 31, 2005 9:20 am Post subject: |
|
|
DranXXX wrote: | Wow... thanx, where I can find that? |
on our mirrors ... in the experimental/arm/embedded/ tree
DranXXX wrote: | Who is the mantainer? |
the arm / embedded teams |
|
Back to top |
|
|
Dr.Dran l33t
Joined: 08 Oct 2004 Posts: 766 Location: Imola - Italy
|
Posted: Sat Dec 31, 2005 9:23 am Post subject: |
|
|
Thank you very much!!! _________________ :: [Dr.Dran] Details ::
- Linux User # 286282
- IT FreeLance Consultant
- President of ImoLUG [Imola & Faenza Linux User Group] |
|
Back to top |
|
|
Dr.Dran l33t
Joined: 08 Oct 2004 Posts: 766 Location: Imola - Italy
|
Posted: Sat Dec 31, 2005 9:33 am Post subject: |
|
|
Oops... last but not the list... eh eh eh
To begin develop or instaling software wich packages in portage did you suggest me?
I think first of all crossdev, and did you know a good emulator? Do you utilize another packages?
Thanx and excuse me for the double post _________________ :: [Dr.Dran] Details ::
- Linux User # 286282
- IT FreeLance Consultant
- President of ImoLUG [Imola & Faenza Linux User Group] |
|
Back to top |
|
|
chilla Apprentice
Joined: 12 Dec 2004 Posts: 203 Location: Heidelberg, Germy
|
Posted: Thu Feb 16, 2006 8:47 am Post subject: |
|
|
with gentoo, i built a complete rootfs including the following:
uclibc, baselayout-lite, busybox, perl, dropbear
to fit on a 6mb strataflash
in fact, the rootfs is about 14mb large, but i use jffs2 as the filesystem on my flash and that fs has a buildtin compression, so that all the stuff takes about 5,4mb (including some kernelmodues) on the strata-flash _________________ "Democracy is two wolves and a sheep voting on what to have for dinner. Liberty is two wolves attempting to have a sheep for dinner and finding a well-informed, well-armed sheep."
TU-BS Wiki |
|
Back to top |
|
|
Dr.Dran l33t
Joined: 08 Oct 2004 Posts: 766 Location: Imola - Italy
|
Posted: Mon Apr 03, 2006 7:26 pm Post subject: |
|
|
Here I am again
I look at that Guide in the Wiki; well, since I wanted to build a ARM development enviromet, I installed crossdev to build the cross-chains tools like gcc/uclib/gdb and now I don't know what to do.
In the guide the following steps are listed:
Quote: | 1. create a cross-compiler environment (binutils + libc + compiler) (use crossdev)
2. emerge the cross-compiled run-time environment (binutils + libc) to the staging area (use emerge or a stage-tarball)
3. emerge the basic root file system to the staging area (use emerge or a stage-tarball)
4. emerge/install other packages to the staging area (use emerge)
5. pack up the staging area file system and flash to your device |
I've done the first step to build the cross-complier:
Code: | crossdev -s4 --target armeb-softfloat-linux-uclibc |
Now I downloaded a stage3 armeb, but i don't know how to go step further.
P.S. I had no problem when using a x86 embedded; I look at the guide to learn how to build a core x86 embedded Gentoo and I succeded.
P.P.S. Every kind of help is welcome _________________ :: [Dr.Dran] Details ::
- Linux User # 286282
- IT FreeLance Consultant
- President of ImoLUG [Imola & Faenza Linux User Group] |
|
Back to top |
|
|
Dr.Dran l33t
Joined: 08 Oct 2004 Posts: 766 Location: Imola - Italy
|
Posted: Sun Jul 02, 2006 9:59 pm Post subject: |
|
|
Hi, I'm here again, I would like to know something: in the past I have readed that gentoo supporting the uclinux project with the kernel and the libs... Here was write that there is the uclinux-sources in the portage repository, but now there isn't true...
Well now I will begin to support a XILINX platform named MICROBLAZE and I know that the uclinux support that device, I'm interested to port gentoo on that architecture, is possible?
Cheers
Franco _________________ :: [Dr.Dran] Details ::
- Linux User # 286282
- IT FreeLance Consultant
- President of ImoLUG [Imola & Faenza Linux User Group] |
|
Back to top |
|
|
SpanKY Developer
Joined: 18 Apr 2002 Posts: 321 Location: Somerville, MA
|
Posted: Sun Jul 02, 2006 10:44 pm Post subject: |
|
|
it wouldnt really make sense at this time unless you feel like doing a lot of work
otherwise you should just fetch the sources from http://uclinux.org/ |
|
Back to top |
|
|
toysoft n00b
Joined: 20 Jun 2006 Posts: 17 Location: Switzerland
|
Posted: Wed Jul 12, 2006 10:43 am Post subject: Searching for compiling a linux in a small STB based on ST |
|
|
Hello everybody,
I am searching to fit on a STB box from ST, that is based on ST5100 or ST5514/5518 chips, a minimal Gentoo Linux version.
The hardware is from ST (I beleive 6805 at the origin but I can be wrong), and the box has 4 Mb of Flash and 64 Mb of Ram.
Thanks,
Jan
P.S. : See for hardware specs,
http://www.tsrme.com/PVR_1.jpg
http://www.tsrme.com/PVR_2.jpg
http://www.tsrme.com/PVR_Motherboard.jpg |
|
Back to top |
|
|
SpanKY Developer
Joined: 18 Apr 2002 Posts: 321 Location: Somerville, MA
|
Posted: Wed Jul 12, 2006 10:13 pm Post subject: Re: Searching for compiling a linux in a small STB based on |
|
|
toysoft wrote: | I am searching to fit on a STB box from ST, that is based on ST5100 or ST5514/5518 chips, a minimal Gentoo Linux version. |
i'm pretty sure those are based on SuperH, but dont quote me on that
i havent made any Gentoo/SuperH releases yet, hopefully i'll have some for 2006.1 |
|
Back to top |
|
|
longshot Tux's lil' helper
Joined: 04 Sep 2003 Posts: 90
|
Posted: Tue Aug 01, 2006 7:41 am Post subject: Re: Searching for compiling a linux in a small STB based on |
|
|
toysoft wrote: | Hello everybody,
I am searching to fit on a STB box from ST, that is based on ST5100 or ST5514/5518 chips, a minimal Gentoo Linux version.
|
I have an STB with ST5518 processor. Not sure what os it runs, but doesnt look like linux . I searched a lot to see if ppl were running linux on 5518s, and didnt really find anything. However, there is stlinux for the ST5528 which is as far I can work out is the successor to the 551* series. Seems these embedded processors are cpu+dsp combos, with the cpu often using quite mature ABIs. From memory (about a year ago I really looked into this), the 551* processors use an ST20 instruction set, whereas the ST552* are using ST40. Embedded stuff is not really something i know a lot about though, so could be very wrong,
I'm probably going to replace the stb with a media pc anyway, now that mainstream low power cpus are here (35 W athlon64) - no fans! But if I do find a commodity DVB STB running linux, I might change my mind ... |
|
Back to top |
|
|
toysoft n00b
Joined: 20 Jun 2006 Posts: 17 Location: Switzerland
|
Posted: Sat Aug 05, 2006 2:04 pm Post subject: Excellent, the new generation of boards is based on 5100 and |
|
|
Excellent, the new generation of boards is based on 5100 and 7100 (Mpeg4)... PVR receivers !
If you are interested by the hardware, let me know as I could get samples that could be really nice, based on the STi5100 and the STi7100.
TS |
|
Back to top |
|
|
toysoft n00b
Joined: 20 Jun 2006 Posts: 17 Location: Switzerland
|
|
Back to top |
|
|
egberts Guru
Joined: 04 Nov 2003 Posts: 357 Location: Dimmed Cathode Ray Tube
|
Posted: Sun Aug 13, 2006 6:43 am Post subject: |
|
|
I've gotten an embedded system that is almost 8MB that does Linux, http server and ssh server (with busybox).
You should check out an excellent cross-compile development, complete with toolchain, root file system and ten dozen packages for small system.
PTXDIST
http://www.pengutronix.de/software/ptxdist_en.html _________________ Clusters of Fry's Special, AMD 2200, 2 GB DDR, 220 GB (2008.1/desktop, stage 1, -O3) x8
HP Compaq Fry's SPecial, AMD 2100, 2 GB DDR, 260 GB (2008.0/server, stage 1, -O3)
Ultra Sparc 5, 256MB, 3GB (2006.1/server, stage 1, -O3) |
|
Back to top |
|
|
|