From patchwork Wed Apr 20 07:21:56 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Lindgren X-Patchwork-Id: 1114 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:49:16 -0000 Delivered-To: patches@linaro.org Received: by 10.224.67.148 with SMTP id r20cs103620qai; Wed, 20 Apr 2011 00:21:59 -0700 (PDT) Received: by 10.52.69.197 with SMTP id g5mr1160281vdu.31.1303284119639; Wed, 20 Apr 2011 00:21:59 -0700 (PDT) Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72]) by mx.google.com with ESMTPS id a8si582992vci.123.2011.04.20.00.21.58 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 20 Apr 2011 00:21:58 -0700 (PDT) Received-SPF: neutral (google.com: 204.13.248.72 is neither permitted nor denied by best guess record for domain of tony@atomide.com) client-ip=204.13.248.72; Authentication-Results: mx.google.com; spf=neutral (google.com: 204.13.248.72 is neither permitted nor denied by best guess record for domain of tony@atomide.com) smtp.mail=tony@atomide.com Received: from c-98-234-237-12.hsd1.ca.comcast.net ([98.234.237.12] helo=localhost.localdomain) by mho-02-ewr.mailhop.org with esmtpa (Exim 4.72) (envelope-from ) id 1QCRjZ-000FIk-W4; Wed, 20 Apr 2011 07:21:58 +0000 Received: from Mutt by mutt-smtp-wrapper.pl 1.2 (www.zdo.com/articles/mutt-smtp-wrapper.shtml) X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 98.234.237.12 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX181VesWJGzc1eRz6xpLLM3/ Date: Wed, 20 Apr 2011 00:21:56 -0700 From: Tony Lindgren To: Nicolas Pitre Cc: linux-arm-kernel@lists.infradead.org, patches@linaro.org, Shawn Guo Subject: Re: [PATCH 0/3] fix some issues with the kernel decompressor Message-ID: <20110420072156.GA28679@atomide.com> References: <1303272904-31392-1-git-send-email-nicolas.pitre@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1303272904-31392-1-git-send-email-nicolas.pitre@linaro.org> User-Agent: Mutt/1.5.20 (2009-06-14) * Nicolas Pitre [110419 21:12]: > Here some patches to fix some issues with the zImage code. The LZMA > decompressor now works for me, and the DT append patch should work > on all platforms now too. Weird still no luck here booting n900 zImage.. LZMA image prints corrupt error, and only works if the image is relocated further by 1MB or so. With the following hack n900 boots, so some size calculations still are wrong. No luck with DT append patch either. Any ideas why the following helps on n900? Tony --- a/arch/arm/boot/compressed/head.S +++ b/arch/arm/boot/compressed/head.S @@ -307,6 +307,7 @@ dtb_check_done: /* Round up to next 256-byte boundary. */ add r10, r10, #256 bic r10, r10, #255 + orr r10, r10, #0x00100000 sub r9, r6, r5 @ size to copy add r9, r9, #31 @ rounded up to a multiple