From patchwork Mon Jul 1 20:44:49 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Nelson X-Patchwork-Id: 256221 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 128502C0087 for ; Tue, 2 Jul 2013 06:52:43 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4F1344A101; Mon, 1 Jul 2013 22:52:40 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mvrL7xr3fKgi; Mon, 1 Jul 2013 22:52:40 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 172D44A0AE; Mon, 1 Jul 2013 22:52:38 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 833CA4A0AE for ; Mon, 1 Jul 2013 22:52:32 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6qa-gVVKvhqp for ; Mon, 1 Jul 2013 22:52:27 +0200 (CEST) X-Greylist: delayed 448 seconds by postgrey-1.27 at theia; Mon, 01 Jul 2013 22:52:20 CEST X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-ie0-f177.google.com (mail-ie0-f177.google.com [209.85.223.177]) by theia.denx.de (Postfix) with ESMTPS id AD7414A0AA for ; Mon, 1 Jul 2013 22:52:20 +0200 (CEST) Received: by mail-ie0-f177.google.com with SMTP id aq17so9259991iec.8 for ; Mon, 01 Jul 2013 13:52:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=hgFxK6Hump+wGQsItcYPdePel1jlFF2K02jgPzP5rOo=; b=FILLasQEP+1mvpONBdI2Nee9noDFaYmoxLXyrCUECz7U1hbRVPgIKcm615ORQhGJme Oq/d/G+V6MwyF117a6E1PC63CFWQWfLLmxowYSrsGqpDa+qNgW/XDZRiGdJ2uxAjwlOc GRYVS2gF/M6nYox3Nc8TzTjGL65O3mX32ZaUtuijHCfJbOu3MSYGeN0MYZ2A4WYWuGIL QdTl203MlZJ+oRqR0rVST6lIlVTikyI9sF2KWnV8v6yiWU0WWYA6rctDB2HkA5bYDy9q 8kczEGCh4Pbaxgjb70mMloZcQZD7ZZj65Lnf77XZRBAVnguyMHTZqkE00Sscaj+xjkrh 2OXA== MIME-Version: 1.0 X-Received: by 10.50.17.69 with SMTP id m5mr17477015igd.19.1372711489761; Mon, 01 Jul 2013 13:44:49 -0700 (PDT) Received: by 10.64.252.8 with HTTP; Mon, 1 Jul 2013 13:44:49 -0700 (PDT) In-Reply-To: <20130628221222.GM28078@bill-the-cat> References: <20130628221222.GM28078@bill-the-cat> Date: Mon, 1 Jul 2013 15:44:49 -0500 Message-ID: From: Robert Nelson To: Tom Rini Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] [ANN] v2013.07-rc2 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de On Fri, Jun 28, 2013 at 5:12 PM, Tom Rini wrote: > Hey all, > > I've tagged and pushed v2013.07-rc2. A bit more over the place than I > should have gone, but picked up a lot of things that have been > outstanding for a while. The big thing is a refactor of the boot loop. > Everything should be working right now, but please test. Related to > this is the ability to have crytpographically signed images. It's like > secure boot in UEFI land, but hopefully without the kerfuffle. > > If you've got changes outstanding still, please start gently poking > custodians with patchwork links. I've got a good bit of stuff I need to > deal with myself still, but please prod me all the same. So, the bootm refactor ( 35fc84fa1ff51e15ecd3e464dac87eb105ffed30 ) also broke bootz/zImage... Got it to atleast get past the "invalid OS" message via: However it's still locking up at "Starting Kernel ..." Regards, diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index 02a5013..a0b55ef 100644 --- a/common/cmd_bootm.c +++ b/common/cmd_bootm.c @@ -1744,6 +1744,12 @@ static int bootz_start(cmd_tbl_t *cmdtp, int flag, int argc, int ret; void *zi_start, *zi_end; + memset(images, 0, sizeof(bootm_headers_t)); + + boot_start_lmb(images); + + images->os.os = IH_OS_LINUX; + ret = do_bootm_states(cmdtp, flag, argc, argv, BOOTM_STATE_START, images, 1);