From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from 10.mo1.mail-out.ovh.net ([178.32.96.102] helo=mo1.mail-out.ovh.net) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SvlK0-0004bX-Pf for barebox@lists.infradead.org; Mon, 30 Jul 2012 08:27:25 +0000 Received: from mail94.ha.ovh.net (b7.ovh.net [213.186.33.57]) by mo1.mail-out.ovh.net (Postfix) with SMTP id BE236FF979B for ; Mon, 30 Jul 2012 10:33:21 +0200 (CEST) Date: Mon, 30 Jul 2012 10:27:20 +0200 From: Jean-Christophe PLAGNIOL-VILLARD Message-ID: <20120730082720.GF26655@game.jcrosoft.org> References: <20120727183103.GX22657@game.jcrosoft.org> <1343413990-31891-1-git-send-email-plagnioj@jcrosoft.com> <1343413990-31891-7-git-send-email-plagnioj@jcrosoft.com> <20120730075056.GI30009@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20120730075056.GI30009@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH 07/12] ARM: Separate assembler functions into their own section To: Sascha Hauer Cc: barebox@lists.infradead.org On 09:50 Mon 30 Jul , Sascha Hauer wrote: > On Fri, Jul 27, 2012 at 08:33:05PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: > > From: Sascha Hauer > > > > To let the linker remove unused functions. > > This patch contains the hunks I intentionally removed from the second > version of this patch because they are wrong. Please drop this patch. ok I drop it I put decompress_unlzo: define decompress_unlzo as decompress first and update the tag 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 096ff89b5bcc3466f12b7b40b9b0938bb850ca9c: arm: always enable the garbage collector for pbl (2012-07-30 16:24:26 +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 ---------------------------------------------------------------- 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 | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----- scripts/Makefile.lib | 14 ++++++++++++++ 21 files changed, 597 insertions(+), 12 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 Best Regards, J. _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox