Removing linux-firmware from the build
Kevin Gordon
kgordon420 at gmail.com
Thu Jul 28 16:05:17 EDT 2011
I think this might be the same issue, if not, please forgive:
On all of our deployed XO 1.0 machines, immediately after reflashing, we
run one of Mavrothal's scripts that pretty much removes everything from that
directory on the XO 1's. The script saves one file only: USB8388.bin If
one deletes that file, I believe networking ceases to function. The code he
uses is here:
mv /versions/pristine/"$OSVER"/lib/firmware/usb8388.bin
rm -rf /versions/pristine/"$OSVER"/lib/firmware/*
mv usb8388.bin /versions/pristine/"$OSVER"/lib/firmware/
mv usb8388.bin /versions/run/"$OSVER"/lib/firmware/
rm -rf /versions/pristine/"$OSVER"/lib/firmware/*
mv usb8388.bin /versions/run/"$OSVER"/lib/firmware/
The script also removes a bunch of dri/lib,icon 256, and language versions.
Frees up about 60Mb on our machines. His full script, along with a swap
script, and some bad/ugly installs script is in this thread
http://www.olpcnews.com/forum/index.php?topic=4965.15
O, and most importantly, the USB microscopes and Vernier sensors continue to
work after deleting all those files. I still haven't been able to get a
USB2VGA projector to work on any 11-2 builds even beofre the firmware
removal, so I cant comment on that part.
Cheers
KG
On Thu, Jul 28, 2011 at 1:49 PM, Martin Langhoff
<martin.langhoff at gmail.com>wrote:
> On Thu, Jul 28, 2011 at 12:04 PM, Daniel Drake <dsd at laptop.org> wrote:
> > Thanks for your input. USB VGA and USB storage devices do not draw
> > firmware from Linux, so they would be unaffected. I am fairly sure
> > that the same is true for robotics.
>
> +10 on removal :-)
>
>
> m
> --
> martin.langhoff at gmail.com
> martin at laptop.org -- Software Architect - OLPC
> - ask interesting questions
> - don't get distracted with shiny stuff - working code first
> - http://wiki.laptop.org/go/User:Martinlanghoff
> _______________________________________________
> Devel mailing list
> Devel at lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/devel/attachments/20110728/f9e2d9bd/attachment.html>
More information about the Devel
mailing list