Re: Can't get a Linux 3.6-rc zImage smaller than 2MB

2013-03-23 Thread Rogério Brito
Hi. On Mar 20 2013, Chris Wilkinson wrote: File sizes are: Initrd.img/ramdisk.gz – 2425607 Just curious: Can you install the package advancecomp and run on that ramdisk the command: advdef -z -4 ramdisk.gz and report back the results? Just to be extra safe, you may want to test the

Re: Can't get a Linux 3.6-rc zImage smaller than 2MB

2013-03-23 Thread Maciej Soltysiak
Hi On Sat, Mar 23, 2013 at 4:47 PM, Rogério Brito rbr...@ime.usp.br wrote: Initrd.img/ramdisk.gz – 2425607 Just curious: Can you install the package advancecomp and run on that ramdisk the command: advdef -z -4 ramdisk.gz I've different files, but here goes. Less by 127 kB:

Re: Can't get a Linux 3.6-rc zImage smaller than 2MB

2013-03-23 Thread Rogério Brito
Hi, Maciej, On Mar 23 2013, Maciej Soltysiak wrote: Just curious: Can you install the package advancecomp and run on that ramdisk the command: advdef -z -4 ramdisk.gz I've different files, but here goes. Less by 127 kB: 3385295 3254732 96% initrd.img-3.8.3-iop32x Well,

Re: Can't get a Linux 3.6-rc zImage smaller than 2MB

2013-03-21 Thread Maciej Soltysiak
On Wed, Mar 20, 2013 at 10:20 PM, Chris Wilkinson kins...@verizon.netwrote: Sure. [...] #Reboot Redboot reset Thanks for describing this so well and simple. This creates the temptation to some of the modules into the kernel. Many years ago I've read that network drivers as modules can have

RE: Can't get a Linux 3.6-rc zImage smaller than 2MB

2013-03-20 Thread Chris Wilkinson
From: Maciej Soltysiak [mailto:mac...@soltysiak.com] Sent: Monday, March 18, 2013 4:25 PM To: Arnaud Patard; Luke Kenneth Casson Leighton Cc: Chris Wilkinson; debian-arm@lists.debian.org Subject: Re: Can't get a Linux 3.6-rc zImage smaller than 2MB On Mon, Mar 18, 2013 at 6:10 PM, Arnaud

Re: Can't get a Linux 3.6-rc zImage smaller than 2MB

2013-03-20 Thread Maciej Soltysiak
On Wed, Mar 20, 2013 at 3:42 PM, Chris Wilkinson kins...@verizon.netwrote: Excellent, This worked for me. ** ** File sizes are: Initrd.img/ramdisk.gz – 2425607 Vmlinuz/zImage – 1524976 Great! Glad to have helped! Which fit nicely in the flash. I redid the flash layout to

RE: Can't get a Linux 3.6-rc zImage smaller than 2MB

2013-03-20 Thread Chris Wilkinson
: Arnaud Patard; Luke Kenneth Casson Leighton; debian-arm@lists.debian.org Subject: Re: Can't get a Linux 3.6-rc zImage smaller than 2MB On Wed, Mar 20, 2013 at 3:42 PM, Chris Wilkinson kins...@verizon.net wrote: Excellent, This worked for me. File sizes are: Initrd.img/ramdisk.gz – 2425607

RE: Can't get a Linux 3.6-rc zImage smaller than 2MB

2013-03-19 Thread Chris Wilkinson
on? Am I understanding right? Chris -Original Message- From: Arnaud Patard (Rtp) [mailto:arnaud.pat...@rtp-net.org] Sent: Monday, March 18, 2013 1:11 PM To: Chris Wilkinson Cc: 'Maciej Soltysiak'; debian-arm@lists.debian.org Subject: Re: Can't get a Linux 3.6-rc zImage smaller than 2MB Chris

RE: Can't get a Linux 3.6-rc zImage smaller than 2MB

2013-03-18 Thread Chris Wilkinson
: debian-arm@lists.debian.org Subject: Re: Can't get a Linux 3.6-rc zImage smaller than 2MB On Sun, Mar 17, 2013 at 3:35 PM, Chris Wilkinson kins...@verizon.net wrote: Congrats! Do you think that dpkg –i … on the ss4000e would upgrade the installed stock kernel to a customized one compiled

Re: Can't get a Linux 3.6-rc zImage smaller than 2MB

2013-03-18 Thread Rtp
Chris Wilkinson kins...@verizon.net writes: Is it necessary to flash-kernel? Once /boot on HD is populated with the new kernel, doesn’t it finally boot from that and it doesn’t matter what version is flashed? redboot is configured to read the kernel from the flash, so yes, you need

Re: Can't get a Linux 3.6-rc zImage smaller than 2MB

2013-03-18 Thread Maciej Soltysiak
On Mon, Mar 18, 2013 at 6:10 PM, Arnaud Patard arnaud.pat...@rtp-net.orgwrote: Chris Wilkinson kins...@verizon.net writes: Is it necessary to flash-kernel? Once /boot on HD is populated with the new kernel, doesn’t it finally boot from that and it doesn’t matter what version is flashed?

RE: Can't get a Linux 3.6-rc zImage smaller than 2MB

2013-03-17 Thread Chris Wilkinson
Subject: Re: Can't get a Linux 3.6-rc zImage smaller than 2MB Months passed and I finally made progress. I managed to compile and boot a 3.7.10 kernel on SS4000-E. I basically went through the ordeal of doing the compile on the box itself, instead of cross-compiling on an x86 VM, Took ages

Re: Can't get a Linux 3.6-rc zImage smaller than 2MB

2013-03-17 Thread Maciej Soltysiak
On Sun, Mar 17, 2013 at 3:35 PM, Chris Wilkinson kins...@verizon.netwrote: Congrats! ** ** Do you think that dpkg –i … on the ss4000e would upgrade the installed stock kernel to a customized one compiled by buildroot or make-kpkg? Sadly, for me, dpkg -i doesn't seem to update the

RE: Can't get a Linux 3.6-rc zImage smaller than 2MB

2013-03-17 Thread Chris Wilkinson
To: Chris Wilkinson Cc: debian-arm@lists.debian.org Subject: Re: Can't get a Linux 3.6-rc zImage smaller than 2MB On Sun, Mar 17, 2013 at 3:35 PM, Chris Wilkinson kins...@verizon.net wrote: Congrats! Do you think that dpkg –i … on the ss4000e would upgrade the installed stock kernel

Re: Can't get a Linux 3.6-rc zImage smaller than 2MB

2013-03-16 Thread Maciej Soltysiak
Months passed and I finally made progress. I managed to compile and boot a 3.7.10 kernel on SS4000-E. I basically went through the ordeal of doing the compile on the box itself, instead of cross-compiling on an x86 VM, Took ages, but it worked. One thing I noticed is that flash-kernel refuses to

Re: Can't get a Linux 3.6-rc zImage smaller than 2MB

2012-09-14 Thread Maciej Soltysiak
On Fri, Sep 14, 2012 at 3:15 AM, Eric Cooper e...@cmu.edu wrote: On Wed, Sep 12, 2012 at 04:47:42PM +0200, Maciej Soltysiak wrote: Also, .config is here: http://pastebin.com/mvnkW2DD Using this .config, and the arm-2012.03 cross-compiler from codesourcery, I get: Image Name:

Re: Can't get a Linux 3.6-rc zImage smaller than 2MB

2012-09-14 Thread Eric Cooper
On Fri, Sep 14, 2012 at 12:33:27PM +0200, Maciej Soltysiak wrote: Do you mean this cross-compiler? http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/ The lite-version of their product? Looks like codesourcery is now mentor graphics... Yes;

Re: Can't get a Linux 3.6-rc zImage smaller than 2MB

2012-09-14 Thread Maciej Soltysiak
On Fri, Sep 14, 2012 at 1:19 PM, Eric Cooper e...@cmu.edu wrote: On Fri, Sep 14, 2012 at 12:33:27PM +0200, Maciej Soltysiak wrote: Do you mean this cross-compiler? http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/ The lite-version of their

Re: Can't get a Linux 3.6-rc zImage smaller than 2MB

2012-09-14 Thread Maciej Soltysiak
the ss4000e is using redboot not uboot. You'll have to check but I think that redboot doesn't handle uImage format so you're about to brick your system. Thanks for the warning! I see that I have in arch/arm/boot these 3 files -rwxr-xr-x 1 root root 3459268 Sep 14 09:33 arch/arm/boot/Image

Re: Can't get a Linux 3.6-rc zImage smaller than 2MB

2012-09-14 Thread Rtp
Maciej Soltysiak mac...@soltysiak.com writes: the ss4000e is using redboot not uboot. You'll have to check but I think that redboot doesn't handle uImage format so you're about to brick your system. Thanks for the warning! I see that I have in arch/arm/boot these 3 files -rwxr-xr-x 1 root

Re: Can't get a Linux 3.6-rc zImage smaller than 2MB

2012-09-13 Thread martinwguy
On 12 September 2012 19:46, Luke Kenneth Casson Leighton l...@lkcl.net wrote: I went down from whopping 5MB to 2.1MB i was expecting a large number but not that large. I also tried to use a .config file from linux-image-3.2.0-3-iop32x_3.2.23-1_armel.deb and it's still is a big image.

Re: Can't get a Linux 3.6-rc zImage smaller than 2MB

2012-09-13 Thread Luke Kenneth Casson Leighton
On Thu, Sep 13, 2012 at 8:10 PM, martinwguy martinw...@gmail.com wrote: On 12 September 2012 19:46, Luke Kenneth Casson Leighton l...@lkcl.net wrote: I went down from whopping 5MB to 2.1MB i was expecting a large number but not that large. I also tried to use a .config file from

Re: Can't get a Linux 3.6-rc zImage smaller than 2MB

2012-09-13 Thread Eric Cooper
On Wed, Sep 12, 2012 at 04:47:42PM +0200, Maciej Soltysiak wrote: Also, .config is here: http://pastebin.com/mvnkW2DD Using this .config, and the arm-2012.03 cross-compiler from codesourcery, I get: Image Name: Linux-3.6.0-rc5mks1+ Created: Thu Sep 13 21:13:46 2012 Image Type:

Re: Can't get a Linux 3.6-rc zImage smaller than 2MB

2012-09-12 Thread Maciej Soltysiak
On Wed, Sep 12, 2012 at 1:50 AM, Luke Kenneth Casson Leighton l...@lkcl.net wrote: On Tue, Sep 11, 2012 at 9:46 PM, Maciej Soltysiak mac...@soltysiak.com wrote: Hi, Was anyone successful in getting a 3.6-rc5 kernel zImage smaller than 2MB? I'm trying to fit this onto SS4000-e and I've been

Re: Can't get a Linux 3.6-rc zImage smaller than 2MB

2012-09-12 Thread Luke Kenneth Casson Leighton
On Wed, Sep 12, 2012 at 3:47 PM, Maciej Soltysiak mac...@soltysiak.com wrote: On Wed, Sep 12, 2012 at 1:50 AM, Luke Kenneth Casson Leighton l...@lkcl.net wrote: On Tue, Sep 11, 2012 at 9:46 PM, Maciej Soltysiak mac...@soltysiak.com wrote: Hi, Was anyone successful in getting a 3.6-rc5

Re: Can't get a Linux 3.6-rc zImage smaller than 2MB

2012-09-12 Thread Aaro Koskinen
On Tue, Sep 11, 2012 at 10:46:24PM +0200, Maciej Soltysiak wrote: Was anyone successful in getting a 3.6-rc5 kernel zImage smaller than 2MB? Just a thought, but you could also look into kexec if your bootloader has limitations for kernel size. I.e. build a very minimal kernel/initramfs that is

Re: Can't get a Linux 3.6-rc zImage smaller than 2MB

2012-09-11 Thread Luke Kenneth Casson Leighton
On Tue, Sep 11, 2012 at 9:46 PM, Maciej Soltysiak mac...@soltysiak.com wrote: Hi, Was anyone successful in getting a 3.6-rc5 kernel zImage smaller than 2MB? I'm trying to fit this onto SS4000-e and I've been failing desperately for the last couple of days. isn't there a parameter which