On Mon, Jan 22, 2001 at 06:19:45PM -0000, Richard Lancaster wrote:
> OK I've got size problems with C libs and would be grateful for some
> suggestions. The problem is that my StrongARM 1100 based computer is
> sitting on the end of a noisy 9K6 radio link which is only accessible for
> around 45 minutes each day. Hence when it comes to uploading the operating
> system and C libs to it I really need the compressed upload package to be
> significantly less than 1Mb.
>
> Now using the following components:
>
> binutils-2.9.5.0.22
>
> gcc-2.95.2
> gcc-2.95.2-diff-991022
> gcc-fold-const.patch
>
> glibc-2.1.2
> glibc-crypt-2.0.111
> glibc-linuxthreads-2.1.2
>
> linux-2.4.0-test9
> patch-2.4.0-test9-rmk1
> diff-2.4.0-test9-rmk1-np3
>
> and building an "arm-linux" toolchain I get files of the following sizes:
>
> vmlinux 0.3Mb
>
> libc-2.1.2.so uncompressed 3.8Mb
> libc-2.1.2.so compressed 1.0Mb
>
> libm-2.1.2.so uncompressed 0.6Mb
> libm-2.1.2.so compressed 0.1Mb
>
> So the size of the kernel is fine but the C libs just take the piss. I
> really need the combination of libc and libm to be no more than 500Kb when
> compressed and an uncompressed footprint of really no more than 1Mb.
> Although the uncompressed footprint is if necessary negotiable.
As far as I understand your problem is that each of the packages need
to be smaller than 1MB to get them transmitted to the SA1100. So why
don't you just split up the files and transmit it in parts? Something
like:
dd if=libc-2.1.2.tgz of=libc-part1 bs=1k count=500
dd if=libc-2.1.2.tgz of=libc-part2 bs=1k skip=500 count=500
Send each of the parts, reassemble them at the SA1100 board using cat:
cat libc-part1 libc-part2 > libc-2.1.2.tgz
Use md5sum to verify if the packages arrived in the correct order, and
you should be safe.
Erik
--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
Phone: +31-15-2783635 Fax: +31-15-2781843 Email: [EMAIL PROTECTED]
WWW: http://www-ict.its.tudelft.nl/~erik/
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.