[U-Boot] [PATCH 0/6 v2] Support for Bootstrap Code

Luigi 'Comio' Mantellini luigi.mantellini at idf-hit.com
Sat Dec 4 14:29:12 CET 2010


The following patch set add the support for Bootstrap code.
This permits to have a compressed full featured U-Boot binary.

See README file in the U-Boot root.

The patchset includes also the XZ format support and a fix to LZMA code.

Luigi 'Comio' Mantellini (6):
  Add support for XZ decompression algorithm.
  LZMA: Avoid free on null pointer
  Enable garbage collelction of unused input sections.
  Add support for Bootstrap infrastructure.
  Enable bootstrap support for MIPS architecture.
  Enable bootstrap code for QEMU-MIPS board.

 .gitignore                            |   25 +-
 Makefile                              |  175 +++++-
 README                                |   56 ++
 arch/mips/config.mk                   |    2 +-
 arch/mips/cpu/Makefile                |   28 +-
 arch/mips/cpu/cpu.c                   |   12 -
 arch/mips/cpu/reset.c                 |   39 ++
 arch/mips/cpu/reset_bootstrap.c       |   39 ++
 arch/mips/cpu/start_bootstrap.S       |  455 +++++++++++++
 arch/mips/lib/Makefile                |   15 +-
 arch/mips/lib/board_bootstrap.c       |  331 +++++++++
 board/qemu-mips/Makefile              |   15 +-
 board/qemu-mips/config.mk             |    7 +-
 board/qemu-mips/qemu-mips_bootstrap.c |   48 ++
 board/qemu-mips/u-boot-bootstrap.lds  |   73 ++
 common/Makefile                       |   16 +-
 common/cmd_bootm.c                    |   27 +-
 common/console_bootstrap.c            |   85 +++
 common/image.c                        |    1 +
 config.mk                             |   29 +
 include/bootstrap.h                   |   59 ++
 include/common.h                      |   21 +
 include/configs/qemu-mips.h           |   15 +-
 include/image.h                       |    1 +
 include/unxz.h                        |   16 +
 include/xz.h                          |  237 +++++++
 lib/Makefile                          |   29 +-
 lib/bootstrap.c                       |   97 +++
 lib/lzma/LzmaDec.c                    |    4 +-
 lib/lzma/Makefile                     |    4 +-
 lib/lzo/Makefile                      |    4 +-
 lib/xz/Makefile                       |   53 ++
 lib/xz/decompress_unxz.c              |  231 +++++++
 lib/xz/xz_dec_bcj.c                   |  564 ++++++++++++++++
 lib/xz/xz_dec_lzma2.c                 | 1175 +++++++++++++++++++++++++++++++++
 lib/xz/xz_dec_stream.c                |  823 +++++++++++++++++++++++
 lib/xz/xz_lzma2.h                     |  204 ++++++
 lib/xz/xz_private.h                   |  154 +++++
 lib/xz/xz_stream.h                    |   50 ++
 tools/xz_wrap.sh                      |   45 ++
 40 files changed, 5232 insertions(+), 32 deletions(-)
 create mode 100644 arch/mips/cpu/reset.c
 create mode 100644 arch/mips/cpu/reset_bootstrap.c
 create mode 100644 arch/mips/cpu/start_bootstrap.S
 create mode 100644 arch/mips/lib/board_bootstrap.c
 create mode 100644 board/qemu-mips/qemu-mips_bootstrap.c
 create mode 100644 board/qemu-mips/u-boot-bootstrap.lds
 create mode 100644 common/console_bootstrap.c
 create mode 100644 include/bootstrap.h
 create mode 100644 include/unxz.h
 create mode 100644 include/xz.h
 create mode 100644 lib/bootstrap.c
 create mode 100644 lib/xz/Makefile
 create mode 100644 lib/xz/decompress_unxz.c
 create mode 100644 lib/xz/xz_dec_bcj.c
 create mode 100644 lib/xz/xz_dec_lzma2.c
 create mode 100644 lib/xz/xz_dec_stream.c
 create mode 100644 lib/xz/xz_lzma2.h
 create mode 100644 lib/xz/xz_private.h
 create mode 100644 lib/xz/xz_stream.h
 create mode 100755 tools/xz_wrap.sh

-- 
1.7.3



More information about the U-Boot mailing list