RE: [U-Boot-Users] Compressed U-Boot image

-----Original Message----- From: wd@denx.de [mailto:wd@denx.de] Sent: Thursday, November 04, 2004 9:25 AM To: VanBaren, Gerald (AGRE) Cc: u-boot-users@lists.sourceforge.net Subject: Re: [U-Boot-Users] Compressed U-Boot image
In message <065ACD8E84315E4394C835E398C8D5EB9A601B@COSSMGMBX02.email.corp .tld> you wrote:
...
write). The command parser and commands make up a pretty
large chunk
-- obviously that can be minimized and possibly eliminated.
If you eliminate the command parser I wonder why you don't simply replace U-Boot by a simple "return" instruction
- no more than 4 bytes needed for that ;-)
Best regards,
Wolfgang Denk
-- See us @ Embedded/Electronica Munich, Nov 09 - 12, Hall A.6 Booth 513 Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de I know engineers. They love to change things. - Dr. McCoy
Hi WD, I like your .sig, very appropriate today :-)
I acknowledge the wink in your response, but my thought here is that, if you _really_ need to fit in 32K, you may want to run "tftpboot" (or equiv) instead of hush so that all the gutted u-boot knows how to do is boot linux over the network. Kind of equivalent to replacing "init" in a linux disk image so that it runs your application directly.
There were only two requirements specified by Terry: net boot and fit in 32K. Hopefully he is an engineer per Dr. McCoy ;-).
gvb
****************************************** The following messages are brought to you by the Lawyers' League of IdioSpeak:
****************************************** The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege. If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager. Please do not copy it for any purpose, or disclose its contents to any other person. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email. ******************************************

In message 065ACD8E84315E4394C835E398C8D5EB9A60F3@COSSMGMBX02.email.corp.tld you wrote:
I acknowledge the wink in your response, but my thought here is that, if you _really_ need to fit in 32K, you may want to run "tftpboot" (or equiv) instead of hush so that all the gutted u-boot knows how to do is
If you don't need hush, then just don't enable it an use the simple command line parser (which is significantly smaller).
There were only two requirements specified by Terry: net boot and fit in 32K. Hopefully he is an engineer per Dr. McCoy ;-).
I'm afraid it still will not fit. 32 kB is just too small. The design limit of U-Boot that I've always had in mind was 128 kB.
Best regards,
Wolfgang Denk
participants (2)
-
VanBaren, Gerald (AGRE)
-
Wolfgang Denk