View previous topic :: View next topic |
Author |
Message |
wswartzendruber Veteran
Joined: 23 Mar 2004 Posts: 1261 Location: Idaho, USA
|
Posted: Thu Apr 29, 2010 2:21 pm Post subject: Gentoo on a Linksys WRT310N |
|
|
Is this doable? I'd need to use uclibc. The router is MIPS-based. Can I make a MIPS image that goesn't have GCC, Portage, and other large things on it? |
|
Back to top |
|
|
Mousee Apprentice
Joined: 29 Mar 2004 Posts: 291 Location: Illinois, USA
|
Posted: Thu Apr 29, 2010 3:16 pm Post subject: |
|
|
At first it looks do-able. Typically, so long as you can attach some form of additional storage device to it (ie. SD Memory Card or similar), you could toss your kernel and initrd image into FLASH memory and boot into Linux that way. Your problem however would be the small flash memory size that particular device has: only 4 megs. The kernel alone will probably take up at least that much space. If you can find a way around that then it might be possible. It does support the minimal and regular "dd-wrt" images so I can't imagine it's "impossible" - just a lot more work than it's worth. |
|
Back to top |
|
|
wswartzendruber Veteran
Joined: 23 Mar 2004 Posts: 1261 Location: Idaho, USA
|
Posted: Thu Apr 29, 2010 3:22 pm Post subject: |
|
|
Yeah I really want it, though.
My understanding is that you're supposed to setup a chroot environment and put the file system there. So I'd probably just build a VM for the cross development stuff. It seems like I'd maintain this chroot and then make a script that strips un-needed stuff out of it (Portage, Python, etc.) and then makes it into a bin image.
Anyone tried this? |
|
Back to top |
|
|
beandog Bodhisattva
Joined: 04 May 2003 Posts: 2072 Location: /usa/utah
|
|
Back to top |
|
|
beandog Bodhisattva
Joined: 04 May 2003 Posts: 2072 Location: /usa/utah
|
Posted: Thu Apr 29, 2010 3:49 pm Post subject: |
|
|
wswartzendruber wrote: | It seems like I'd maintain this chroot and then make a script that strips un-needed stuff out of it (Portage, Python, etc.) and then makes it into a bin image. |
Look into emerge -K and quickpkg, since that's what they do. _________________ If it ain't broke, tweak it. dvds | blurays | blog | wiki |
|
Back to top |
|
|
|