Subject: Re: Intel HEX parser for firmload(9)
To: None <tech-kern@NetBSD.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: tech-kern
Date: 07/13/2007 18:14:55
On Fri, Jul 13, 2007 at 06:44:12AM -0600, Herb Peyerl wrote:
> Just jumping in the middle here without the background, but I've  
> written s-record and intel-hex parsers for other embedded systems and  
> they can be written with very little code which begets the question  
> why you'd support a proprietary parser over an industry standard parser?

I don't want to have to allocate two large chunks of memory in the
kernel to decode it. The image format should be directly usable from the
loaded buffer (heck, maybe even from the UBC). I don't know about
s-record, but intel-hex certainly doesn't fill that promise.

Joerg