On Tue, Apr 15, 2008 at 12:14 PM, Myles Watson <<a href="mailto:mylesgw@gmail.com">mylesgw@gmail.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><br>
><br>
> Code isn't interesting anyway; design / architecture is the problem<br>
> here.<br>
><br>
<br>
</div>Agreed.<br>
<div class="Ih2E3d"><br>
> > We are all professionals - we can come to a consensus.  Right now,<br>
> > we're trying to figure out if we can make ELF perform the way we need<br>
> > it to perform.  If we can be satisfied that it can, then we move on.<br>
> > If we cannot be satisfied, then the core team will have to make a<br>
> > decision to move on to another alternative, and then we can debate the<br>
> > details of SELF or something similar.<br>
><br>
> I agree.<br>
><br>
> So, what exactly *do* we need here, and *why*?<br>
><br>
<br>
</div>I think a discussion of where we are and where we want to go would be<br>
helpful.  Feel free to correct my status summary.<br>
<br>
Right now:<br>
1. LAR format supports inclusion of:<br>
        a. bootblock<br>
                1. Can be copied out, but only re-used in same size ROM file<br>
        b. ELF segments (multiple segments with one entry point, from an<br>
ELF)<br>
                1. Can't be extracted without losing entry point</blockquote><div><br>This is something I don't understand, and probably would need a deeper understanding of elf to understand, but maybe someone can explain it in a nutshell. LAR parses the elf, extracts and manipulates the segments, and in the process moves the entry point, right? But LAR has to have some sort of entry point. So why can't we re-extract those segments, in LAR's new order, and generate an elf header with LAR's entry point? So the elf file isn't a binary equal to the original, but it runs just like it?<br>
<br>The other option, in my simple mind, would be to have LAR work like a one-way archiver. If you want the LARchive's payload, LAR doesn't actually extract the payload, it hands you a LARchive of just the payload, which can then be added to another LARchive. Could that work?<br>
</div></div><br>Thanks,<br>Corey<br>