For s2895, with CAS, -rw-r--r-- 1 root root 49930 Jun 3 17:51 linuxbios_ram.nrv2b -rw-r--r-- 1 root root 5688 Jun 3 17:51 crt0.o -rw-r--r-- 1 root root 30276 Jun 3 17:51 init.o (include auto.o and failover.o and memcpy.o) -rw-r--r-- 1 root root 16006 Jun 3 17:51 init.o.gz if the init.o can be compressed too, you can spare 14k.
YH
-----Original Message----- From: ebiederman@lnxi.com [mailto:ebiederman@lnxi.com] Sent: Friday, June 03, 2005 6:05 PM To: Ronald G. Minnich Cc: YhLu; LinuxBIOS Subject: Re: [BULK] RE: [LinuxBIOS] FYI: AMD support for cache as ram.
"Ronald G. Minnich" rminnich@lanl.gov writes:
On Fri, 3 Jun 2005, YhLu wrote:
but the cache only 64k, is it enough?
I think it is.
Currently we use 96 bytes I think we can fit it all in 64K. We might be able to run the normal C portion of LinuxBIOS if we decompressed it...
Heck you can even run a small Unix in 64K.....
Eric
YhLu YhLu@tyan.com writes:
For s2895, with CAS, -rw-r--r-- 1 root root 49930 Jun 3 17:51 linuxbios_ram.nrv2b -rw-r--r-- 1 root root 5688 Jun 3 17:51 crt0.o -rw-r--r-- 1 root root 30276 Jun 3 17:51 init.o (include auto.o and failover.o and memcpy.o) -rw-r--r-- 1 root root 16006 Jun 3 17:51 init.o.gz if the init.o can be compressed too, you can spare 14k.
certainly some significant parts of init.o cannot be compressed. You need to get at least far enough to do the cache as ram thing.
Currently the cpu designers Intel and AMD do not support running out of the cache so that is an issue.
However the size of a .o rarely has a strong correspondence to actual code size. Use size to find out the size of the .text and .data segments.
Eric