Novice questions

Robert Schwebel r.schwebel at pengutronix.de
Fri Jul 2 03:11:29 EDT 2010


On Fri, Jul 02, 2010 at 05:03:27AM +0200, Jose Luis Zabalza wrote:
> I'm trying write some code into barebox and  I have seen things that
> caught my attention.
>
> 1.- Modules on barebox. lsmod, insmod commands, EXPORT_SYMBOL() macro.
> What is the purpouse of these ? Modules have no means less memory
> footprint ;-??

There are people out there who want to be able to add functionality
later. Think about a product which was delivered in large quantities;
then you decide that you need a new functionality in the bootloader.
Modules make a nice interface for doing so.

rsc
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list