lzma loader patch from oleg, great thanks good work, saves another 300 kb flashmemory
[openwrt.git] / openwrt / package / linux / kernel-source / arch / mips / brcm-boards / bcm947xx / compressed / README.mjn3
1
2 FIRST... See the dedication in the decompress_bunzip2.c file as it applies
3 here too. Donations to hospice in Toni's memory would be appreciated.
4
5 As far as the code goes... the bzImage is just a bzip'd kernel image with
6 a small gzip'd decompressor/loader stuck on front. CFE ungzip's the loader
7 app which then relocates the bunzip decompressor into higher memory and
8 bunzip's the compressed kernel directly from flash. Then the instruction
9 cache is flushed (to remove traces of the loader) and the kernel is executed.
10
11 Of course, a better approach would be to add bunzip decompression to CFE.
12
13 Notes...
14 1) Instruction cache size and linesize are hardcoded (see the #warning).
15 2) Currently assumes at least 16M or ram.
16 3) Thanks to Mike Baker mbm at alt dot org for bouncing ideas back
17 and forth as well as diagnosing the last (icache) bug.
18
19 Manuel Novoa III <mjn3@codepoet.org> May 30, 2004
20
This page took 0.043226 seconds and 5 git commands to generate.