This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Various Redboot patches


Hi Folks

Here are a collection of redboot patches from my recent work on an
project.

1) There is CDL to set the default IP address, network mask etc, but not the
   server. I added this. Also the CYGSEM_REDBOOT_DEFAULT_NO_BOOTP was not
   being respected when the fconfig information was invalid. It always 
   tried to use bootp.

2) When loading an image from jffs2 the buffer size used by getc has a big
   impact on performance. It was taking 33 seconds to load Linux on my
   target. I made the buffer size a CDL option which changes from the
   old default of 256 to 4096 when the fileio package is loaded. The load
   then takes 3 seconds! 

3) I needed to load an elf image produced by a broken toolchain. The
   elf headers contain two addresses to load to, the physical and the
   virtual address. Redboot by default uses the physical address but
   the image i had only had valid virtual addresses. I added CDL so
   redboot can be configured to use one or the other. GCC/binutils
   gets both right to it does not affect eCos application or Linux either
   way.

4) Added an ls command when fileio is loaded so you can look inside
   mounted filesystems and decide what you want to load.


   Andrew

Attachment: redboot.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]