From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1772FCD98F5 for ; Wed, 17 Jun 2026 06:41:38 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4CB16846B0; Wed, 17 Jun 2026 08:41:37 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="UGI08Qyk"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C4B3584704; Wed, 17 Jun 2026 08:41:36 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 67DDE838BB for ; Wed, 17 Jun 2026 08:41:34 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=andriy.shevchenko@intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1781678494; x=1813214494; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=XFcLng5yB3Yee0MtyyGyqbYkEElppdHX0dSTI3trbvU=; b=UGI08QyknLNzeFbjwxwy8b8w7TwNGBlW9kbfW+E97+JkE9VGXO7NEkq5 /plJ+upe6A6WK6tJEtzcCUPukZfl9FlVK2szxo6SOG38sFkznI7xPumyz S+3FI+SjdPAAMbsvKyODI6cksRXSVwey8F81it6eiDxNjxhruvbruBwey YVIMl8AOoMjNDNKWVcFpvLxcGN23Z6zoBx85/uaqmXJIUrnvFHdk7KRia SVxyoF0S8DjSqwbrXS6nkyHid9qoFZAjbiJa0YPUVhgnEyfAq+ll04i37 fpR/nSyP1PwQHR+v4D0NSqsb3ZizxVxEEMdMmOYfQwflKURJinDv3UGL0 w==; X-CSE-ConnectionGUID: hWEaqfXAQauq4xzkV2uVIQ== X-CSE-MsgGUID: gVUlQcgKSI2s6FWeHQ9D+w== X-IronPort-AV: E=McAfee;i="6800,10657,11819"; a="82341372" X-IronPort-AV: E=Sophos;i="6.24,209,1774335600"; d="scan'208";a="82341372" Received: from orviesa006.jf.intel.com ([10.64.159.146]) by fmvoesa111.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Jun 2026 23:41:33 -0700 X-CSE-ConnectionGUID: DaDs0IKiTjucnBQysF6jgQ== X-CSE-MsgGUID: jZdP/AI4Rvy1rbJbHrPgbQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.24,209,1774335600"; d="scan'208";a="246845112" Received: from black.igk.intel.com ([10.91.253.5]) by orviesa006.jf.intel.com with ESMTP; 16 Jun 2026 23:41:32 -0700 Received: by black.igk.intel.com (Postfix, from userid 1003) id AC28095; Wed, 17 Jun 2026 08:41:30 +0200 (CEST) Date: Wed, 17 Jun 2026 08:41:30 +0200 From: Andy Shevchenko To: Simon Glass Cc: u-boot@lists.denx.de, Tom Rini Subject: Re: [PATCH v2 5/5] doc: edison: Rewrite the update instructions Message-ID: References: <20260616142444.48193-1-sjg@chromium.org> <20260616142444.48193-6-sjg@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260616142444.48193-6-sjg@chromium.org> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean On Tue, Jun 16, 2026 at 08:24:20AM -0600, Simon Glass wrote: > Split the two ways of getting U-Boot onto the board: a plain DFU > transfer into u-boot0 when a working U-Boot is already present, and the > xFSTK mask ROM recovery when it is not. Drop the steps that only applied > to replacing the original 2014 U-Boot, document the 4KB alignment gap > the mask ROM needs and which binman output to flash (rather than the > bare u-boot.bin), note that a bricked board enters DnX without any > straps, and add udev rules for running the tools without sudo. ... > -1. Prepare u-boot.bin as described in chapter above. You still need one > - more step (if and only if you have original U-Boot), i.e. run the > - following command:: > > - $ truncate -s %4096 u-boot.bin Still missing this important detail. The DFU on v2014.04 is broken in a way that it requires also the whole binary to be aligned by 4k. The above pads the tail to full 4k (last block). Btw, now I realised that I haven't checked if this is inherited in your binman case. Note, I haven't put that into the Makefile hack as I expected users to do this once, but perhaps if somebody wants to start over (by flashing the last official image), the file size needs to be aligned. -- With Best Regards, Andy Shevchenko