From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: barebox@lists.infradead.org
Subject: [PATCH 00/12 v3] Add Pre-Bootloader support
Date: Mon, 30 Jul 2012 12:00:22 +0200 [thread overview]
Message-ID: <20120730100022.GD19759@game.jcrosoft.org> (raw)
Hi,
v3:
drop
ARM: Separate assembler functions into their own section
drop already applied
decompress_unlzo: define decompress_unlzo as decompress
update early malloc to the end of the malloc space
v2:
add custom cppflags to pbl
on arm always the garbage collector
please pull
The following changes since commit d8ddfd069f99428244aff34e2ccebe9ed6a6a7a3:
decompress_unlzo: define decompress_unlzo as decompress (2012-07-30 16:23:54 +0800)
are available in the git repository at:
git://git.jcrosoft.org/barebox.git tags/pbl
for you to fetch changes up to 0d4fc07c84581f088b658ff9fbc1e275a3ada518:
arm: always enable the garbage collector for pbl (2012-07-30 17:32:51 +0800)
----------------------------------------------------------------
Add pre-bootloader (pbl) image support
This allows for creating a pre-bootloader binary for
- nand boot
- mmc boot
- compressed image
Currently on the compressed image is implemented the boot really on current lowlevel
init support. In a second step this could be move to the pbl c code with generic framework.
The pbl will be incharge of the lowlevel init if needed.
The barebox will skip it.
The decompressor support lzo and gzip and allow to add easly more.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
----------------------------------------------------------------
Jean-Christophe PLAGNIOL-VILLARD (10):
kbuild: Init all relevant variables used in kbuild files so
kbuild: add pre-bootloader (pbl) target
Add pre-bootloader (pbl) image support
pbl: discard unwind symbol if enable in barebox
decompressor: import malloc/free implementation for linux 3.4
ARM: add early malloc support needed by the decompressor
compressed image: add gzip support
at91: add lowlevel init to the pbl
kbuild: allow to have custom cppflags for pbl
arm: always enable the garbage collector for pbl
Sascha Hauer (2):
Add compressed image support
only compress default env in uncompressed images
Makefile | 11 +++++++++--
arch/arm/Kconfig | 2 ++
arch/arm/Makefile | 8 ++++++++
arch/arm/cpu/Makefile | 1 +
arch/arm/cpu/start.c | 113 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----
arch/arm/lib/Makefile | 4 ++++
arch/arm/lib/barebox.lds.S | 3 ++-
arch/arm/mach-at91/Makefile | 2 ++
arch/arm/pbl/Makefile | 40 +++++++++++++++++++++++++++++++++++++++
arch/arm/pbl/piggy.gzip.S | 6 ++++++
arch/arm/pbl/piggy.lzo.S | 6 ++++++
arch/arm/pbl/zbarebox.lds.S | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
common/Kconfig | 34 +++++++++++++++++++++++++++++++++
include/asm-generic/memory_layout.h | 1 +
include/linux/decompress/mm.h | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
lib/decompress_inflate.c | 1 +
pbl/Makefile | 5 +++++
pbl/misc.c | 14 ++++++++++++++
pbl/string.c | 127 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
scripts/Makefile.build | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----
scripts/Makefile.lib | 14 ++++++++++++++
21 files changed, 596 insertions(+), 11 deletions(-)
create mode 100644 arch/arm/pbl/Makefile
create mode 100644 arch/arm/pbl/piggy.gzip.S
create mode 100644 arch/arm/pbl/piggy.lzo.S
create mode 100644 arch/arm/pbl/zbarebox.lds.S
create mode 100644 include/linux/decompress/mm.h
create mode 100644 pbl/Makefile
create mode 100644 pbl/misc.c
create mode 100644 pbl/string.c
Beset Regards,
J.
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next reply other threads:[~2012-07-30 10:00 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-30 10:00 Jean-Christophe PLAGNIOL-VILLARD [this message]
2012-07-30 10:02 ` [PATCH 01/12] kbuild: Init all relevant variables used in kbuild files so Jean-Christophe PLAGNIOL-VILLARD
2012-07-30 10:02 ` [PATCH 02/12] kbuild: add pre-bootloader (pbl) target Jean-Christophe PLAGNIOL-VILLARD
2012-07-30 10:02 ` [PATCH 03/12] Add pre-bootloader (pbl) image support Jean-Christophe PLAGNIOL-VILLARD
2012-08-02 15:29 ` Sascha Hauer
2012-08-03 6:50 ` Sascha Hauer
2012-08-03 7:06 ` Jean-Christophe PLAGNIOL-VILLARD
2012-07-30 10:02 ` [PATCH 04/12] pbl: discard unwind symbol if enable in barebox Jean-Christophe PLAGNIOL-VILLARD
2012-07-30 10:02 ` [PATCH 05/12] Add compressed image support Jean-Christophe PLAGNIOL-VILLARD
2012-08-02 15:30 ` Sascha Hauer
2012-08-02 15:34 ` Jean-Christophe PLAGNIOL-VILLARD
2012-08-03 6:34 ` Sascha Hauer
2012-07-30 10:02 ` [PATCH 06/12] only compress default env in uncompressed images Jean-Christophe PLAGNIOL-VILLARD
2012-07-30 10:02 ` [PATCH 07/12] decompressor: import malloc/free implementation for linux 3.4 Jean-Christophe PLAGNIOL-VILLARD
2012-07-30 10:02 ` [PATCH 08/12] ARM: add early malloc support needed by the decompressor Jean-Christophe PLAGNIOL-VILLARD
2012-08-02 15:23 ` Sascha Hauer
2012-07-30 10:02 ` [PATCH 09/12] compressed image: add gzip support Jean-Christophe PLAGNIOL-VILLARD
2012-07-30 10:02 ` [PATCH 10/12] at91: add lowlevel init to the pbl Jean-Christophe PLAGNIOL-VILLARD
2012-07-30 10:02 ` [PATCH 11/12] kbuild: allow to have custom cppflags for pbl Jean-Christophe PLAGNIOL-VILLARD
2012-07-30 10:02 ` [PATCH 12/12] arm: always enable the garbage collector " Jean-Christophe PLAGNIOL-VILLARD
2012-07-30 10:38 ` [PATCH 00/12 v3] Add Pre-Bootloader support Juergen Beisert
2012-07-30 14:44 ` Thomas Petazzoni
2012-07-30 15:02 ` Jean-Christophe PLAGNIOL-VILLARD
2012-07-30 15:51 ` Juergen Beisert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120730100022.GD19759@game.jcrosoft.org \
--to=plagnioj@jcrosoft.com \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox