From: Wolfgang Denk Date: Wed, 29 Mar 2006 00:20:22 +0200 Subject: [U-Boot-Users] custom loadable command shell In-Reply-To: Your message of "Tue, 28 Mar 2006 16:06:50 CDT." <4429A56A.30307@smiths-aerospace.com> Message-ID: <20060328222022.068323535F7@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <4429A56A.30307@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