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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 50021C433EF for ; Mon, 4 Oct 2021 11:22:00 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 61B4361205 for ; Mon, 4 Oct 2021 11:21:58 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 61B4361205 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=walle.cc Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0C647822D7; Mon, 4 Oct 2021 13:21:55 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=walle.cc Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; secure) header.d=walle.cc header.i=@walle.cc header.b="Q2Qt646c"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 69A508169E; Mon, 4 Oct 2021 13:21:53 +0200 (CEST) Received: from ssl.serverraum.org (ssl.serverraum.org [176.9.125.105]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 297E880F9D for ; Mon, 4 Oct 2021 13:21:50 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=walle.cc Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=michael@walle.cc Received: from ssl.serverraum.org (web.serverraum.org [172.16.0.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 4F1C822236; Mon, 4 Oct 2021 13:21:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1633346509; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KVoq/EVrZGQCBjnU+YTlbji+GX/7llkvQ7kI2f7H2Vc=; b=Q2Qt646c5Z/zHYk96gp2RC1+ASS32BpfeZ7wfZMQ0nJbKDAod1vmQvp88kkfLSfcufaQi+ caRK6CsPxeVr/r0MA/rArNLJ0e1Ylxu2uMb0ySD6wshJ+XvUIdmrlvwtF4GGQWd4RWpe+y YyXBMHPEpHvWzZKWf7wQEvO1RCD/sZg= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 04 Oct 2021 13:21:48 +0200 From: Michael Walle To: Frieder Schrempf Cc: Frieder Schrempf , u-boot@lists.denx.de, Heiko Thiery , Bin Meng , Jagan Teki , Pratyush Yadav , Sean Anderson , Simon Glass Subject: Re: [PATCH] cmd: sf: Support unaligned flash updates with 'sf update' In-Reply-To: References: <20210930161926.2748887-1-frieder@fris.de> <92ca13e960f4e862c0fdd83373255301@walle.cc> <0b725bbb-0bc6-2ce3-d861-18bbd8f34059@kontron.de> User-Agent: Roundcube Webmail/1.4.11 Message-ID: <75572463a74f6bff1383c191443f8c66@walle.cc> X-Sender: michael@walle.cc X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.2 at phobos.denx.de X-Virus-Status: Clean Am 2021-10-04 12:31, schrieb Frieder Schrempf: > On 30.09.21 23:08, Michael Walle wrote: >> Printing a warning might scare users, though. I'd prefer to fix the >> online help, where only "erase and write" is mentioned. > > Which document are you referring to? I don't really see the "sf" > command > documented anywhere. the "sf update" online help: "sf update addr offset|partition len - erase and write `len' bytes from memory\n" " at `addr' to flash at `offset'\n" " or to start of mtd `partition'\n" -michael