[U-Boot-Users] custom loadable command shell

Wolfgang Denk wd at denx.de
Wed Mar 29 00:20:22 CEST 2006


In message <4429A56A.30307 at smiths-aerospace.com> you wrote:
>
> My first thought is:
> * Make the command table in u-boot longer than necessary (pad it with 
> empty elements)

No need to do that. Just read the docs.

> * Better alternative(?): add a "add an extension table" ABI with a 
> pointer to an extension table.  If the parser doesn't find the command 
> in the built-in table, it searches the add-on table (if provided). 
> Disadvantage: only one add-on table would be supported.

No need to do that. Just read the docs.

> I have not looked very closely at how difficult it would be to do this 
> but it appears to be possible.

More, it already has been done.

> * It would require an extension of the ABI.

Wrong.


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Hegel was right when he said that we learn from history that man  can
never learn anything from history.              - George Bernard Shaw




More information about the U-Boot mailing list