From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 04 Jan 2023 11:40:56 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pD1Cb-001Lwj-LI for lore@lore.pengutronix.de; Wed, 04 Jan 2023 11:40:56 +0100 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1pD1Ca-0005ez-1A; Wed, 04 Jan 2023 11:40:56 +0100 Received: from ptz.office.stw.pengutronix.de ([2a0a:edc0:0:900:1d::77] helo=[127.0.0.1]) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1pD1CV-0005eV-9Z; Wed, 04 Jan 2023 11:40:51 +0100 Message-ID: <0ad147b8-f5f6-9151-8bce-044496d75493@pengutronix.de> Date: Wed, 4 Jan 2023 11:40:50 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Content-Language: en-US To: Peter Korsgaard References: <12e2013627f500131915d70d502dc9ea44bf31e7.camel@pengutronix.de> <835cc6c5954c4a8b9fa3a700375c4eb93271dc15.camel@pengutronix.de> <0e846d79-030b-1fea-3148-1089c1ed6e48@pengutronix.de> <87y1qi7fj9.fsf@dell.be.48ers.dk> From: Ahmad Fatoum In-Reply-To: <87y1qi7fj9.fsf@dell.be.48ers.dk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [RAUC] Non reduntant bootloader update X-BeenThere: rauc@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: RAUC Project - Discussion List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: "RAUC@pengutronix.de" Sender: "RAUC" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: rauc-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Hello Peter, On 04.01.23 11:36, Peter Korsgaard wrote: > Hi, > > >> Good to hear. In case you are using meta-rauc, I recently submitted this change, > >> that you may find useful if you are using barebox on 8MN/P: > >> https://github.com/rauc/meta-rauc/commit/f2d051d37008deb4204acd8ab0f5f3f0e9a3971d > > Not a meta-rauc user, but doesn't this now require that positive offsets > have a + prefix, breaking backwards compatibility? imgoffset is slotflags.get('offset') by default unless it starts with either a + or -. Similarly, padding is "seek" by default. The original RAUC_SLOT_bootloader[offset] = "32K" syntax should thus continue to work normally. Cheers, Ahmad > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |