[U-Boot] alpr U-Boot image too big
Stefan Roese
sr at denx.de
Tue Dec 9 20:05:52 CET 2008
Hi Pieter,
On Tuesday 09 December 2008, Pieter Voorthuijsen wrote:
> I think I missed the previous mail during my holiday. I quickly checked the
> header file, here what can be undefined from the CONFIG_CMD_xx's:
>
> #define CONFIG_CMD_REGINFO
> #define CONFIG_CMD_NFS
> #define CONFIG_CMD_PCI
Are you really sure that you want to drop the PCI commands? IIRC then the ALPR
has some PCI devices and it might be handy to access them from within U-Boot
(for debugging etc).
> I also believe CMD_ELF is not needed for only booting a kernel, but not
> sure.
Yes, CMD_ELF is not needed for Linux kernel booting.
> I'm sure that disabling these will save enough kilobytes to make it fit....
I just checked and by disabling these features we fit into the 256k again:
#undef CONFIG_CMD_NFS
#undef CONFIG_CMD_REGINFO
#undef CONFIG_CMD_ELF
I'll submit a patch in a sec. Please send your ack if you think this is ok.
Thanks.
Best regards,
Stefan
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
More information about the U-Boot
mailing list