tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Firmware compression

On Sun, May 04, 2008 at 03:53:03PM +0100, Andrew Doran wrote:
> We have a meg or two of firmware images in the i386 GENERIC kernel, which is
> insane. I was thinking of adding a function that would use kmem_alloc+zlib
> to decompress images, and another to optionally free the decompressed image.
> It would probably also be good to add a simple program under dev/microcode
> to take a blob and spit out a compressed array in a C file.

Maybe we could decompress it directly to DMA-safe memory ?
I guess in the general case, the firmware is going to be loaded
though DMA by the target system, isn't it ?

Manuel Bouyer <>
     NetBSD: 26 ans d'experience feront toujours la difference

Home | Main Index | Thread Index | Old Index