You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Waldemar Brodkorb 8f80e98934 lzma loader patch from oleg, great thanks good work, saves another 300 kb flashmemory
SVN-Revision: 513
19 years ago
..
Makefile lzma loader patch from oleg, great thanks good work, saves another 300 kb flashmemory 19 years ago
README.mjn3 add all source code from linksys/broadcom which is free, to cvs for better maintainence inside openwrt. this gives us the ability to better support different hardware models, without changing any external tar-balls. only et.o and wl.o is missing and is fetched from my webserver. 20 years ago
data.lds add all source code from linksys/broadcom which is free, to cvs for better maintainence inside openwrt. this gives us the ability to better support different hardware models, without changing any external tar-balls. only et.o and wl.o is missing and is fetched from my webserver. 20 years ago
decompress_bunzip2.c add all source code from linksys/broadcom which is free, to cvs for better maintainence inside openwrt. this gives us the ability to better support different hardware models, without changing any external tar-balls. only et.o and wl.o is missing and is fetched from my webserver. 20 years ago
decompress_bunzip2.lds add all source code from linksys/broadcom which is free, to cvs for better maintainence inside openwrt. this gives us the ability to better support different hardware models, without changing any external tar-balls. only et.o and wl.o is missing and is fetched from my webserver. 20 years ago
decompress_bunzip2.lds.in add all source code from linksys/broadcom which is free, to cvs for better maintainence inside openwrt. this gives us the ability to better support different hardware models, without changing any external tar-balls. only et.o and wl.o is missing and is fetched from my webserver. 20 years ago
head.S add all source code from linksys/broadcom which is free, to cvs for better maintainence inside openwrt. this gives us the ability to better support different hardware models, without changing any external tar-balls. only et.o and wl.o is missing and is fetched from my webserver. 20 years ago
vmlinux.lds add all source code from linksys/broadcom which is free, to cvs for better maintainence inside openwrt. this gives us the ability to better support different hardware models, without changing any external tar-balls. only et.o and wl.o is missing and is fetched from my webserver. 20 years ago
vmlinux.lds.in add all source code from linksys/broadcom which is free, to cvs for better maintainence inside openwrt. this gives us the ability to better support different hardware models, without changing any external tar-balls. only et.o and wl.o is missing and is fetched from my webserver. 20 years ago

README.mjn3

FIRST... See the dedication in the decompress_bunzip2.c file as it applies
here too.  Donations to hospice in Toni's memory would be appreciated.

As far as the code goes... the bzImage is just a bzip'd kernel image with
a small gzip'd decompressor/loader stuck on front.  CFE ungzip's the loader
app which then relocates the bunzip decompressor into higher memory and
bunzip's the compressed kernel directly from flash.  Then the instruction
cache is flushed (to remove traces of the loader) and the kernel is executed.

Of course, a better approach would be to add bunzip decompression to CFE.

Notes...
  1) Instruction cache size and linesize are hardcoded (see the #warning).
  2) Currently assumes at least 16M or ram.
  3) Thanks to Mike Baker   mbm at alt dot org  for bouncing ideas back
     and forth as well as diagnosing the last (icache) bug.

Manuel Novoa III   <mjn3@codepoet.org>        May 30, 2004