Results 1 to 3 of 3
I have to fit a linux image(kernel + application + bootloader) currently in 8MB flash to 4MB flash. Can anyone suggest me what approach to follow other than removing applications....
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-31-2007 #1Just Joined!
- Join Date
- Jan 2007
- Posts
- 9
reducing linux image size
I have to fit a linux image(kernel + application + bootloader) currently in 8MB flash to 4MB flash. Can anyone suggest me what approach to follow other than removing applications.
- 01-31-2007 #2Linux Enthusiast
- Join Date
- Jun 2005
- Location
- The Hot Humid South
- Posts
- 602
Use a kernel from the 2.4.x tree and busybox with uClibc.
The 2.6 line of kernels are very large, so using a 2.4 series kernel can help in reducing size. But if you have the extra space, go with the 2.6 as it's more up-to-date.
Busybox and uClibc are actually 2 related projects. uClibc is a tiny implementation of the standard c library, and busybox includes most system application under a single executable.
Another approach would be to use Minix as opposed to Linux. The biggest problem with Minix is drivers, but it's very small."Today you are freer than ever to do what you want, provided you can pay for it!" --Bad Religion
- 02-03-2007 #3Just Joined!
- Join Date
- Jan 2007
- Posts
- 9
Thankx bidi,
I'm already using busybox utils, also FYI memory footprint is
kernel : 812 KB
rootfs : 2500 KB
kernel modules : 1500 KB
bootloader : 400(approx.)
Is there any scope in kernel image....?


Reply With Quote
