From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx0.itk-engineering.de ([212.121.145.30]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kiD67-0003oR-0o for rauc@pengutronix.de; Thu, 26 Nov 2020 09:57:51 +0100 From: Martin Hollingsworth Date: Thu, 26 Nov 2020 08:57:49 +0000 Message-ID: Content-Language: de-DE MIME-Version: 1.0 Subject: [RAUC] boot-mbr-switch from u-boot List-Id: RAUC Project - Discussion List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1281711979==" Errors-To: rauc-bounces@pengutronix.de Sender: "RAUC" To: "rauc@pengutronix.de" --===============1281711979== Content-Language: de-DE Content-Type: multipart/alternative; boundary="_000_d683cd3f33d949589ae80f97af3a7681itkengineeringde_" --_000_d683cd3f33d949589ae80f97af3a7681itkengineeringde_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello RAUC community, I am integrating RAUC into a Xilinx ZynqMP device and using boot-mbr-switch= method according to documentation chapter 7.6.2. Bootloader is u-boot, RAU= C u-boot scripts are from contrib/uboot.sh, RAUC is v1.2 (upgrade planned). When switching between slots from within u-boot the MBR partition table is = not altered. So when installing a new system (inclduing new bootloader part= ition content) which doesn't boot 3 times, after the fallback we run the ne= w bootloader partition with the old rootfs. Do I understand this from the s= ource code correctly? In my opinion this is a major problem, because on Xilinx ZynqMP the bootloa= der partition contains the Xilinx bootbin, a first stage bootloader which f= lashes the FPGA firmware before starting u-boot. In this case we run the ol= d linux against a new FPGA and have an inconsistent system after the RAUC f= allback. Does anyone have a solution for this problem? Thanks and regards, Martin Hollingsworth --_000_d683cd3f33d949589ae80f97af3a7681itkengineeringde_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello RAUC community,

I am integrating RAUC into a Xi= linx ZynqMP device and using boot-mbr-switch method according to documentat= ion chapter 7.6.2. Bootloader is u-boot, RAUC u-boot scripts are from contr= ib/uboot.sh, RAUC is v1.2 (upgrade planned).

 

When switching between slots fr= om within u-boot the MBR partition table is not altered. So when installing= a new system (inclduing new bootloader partition content) which doesn't bo= ot 3 times, after the fallback we run the new bootloader partition with the old rootfs. Do I understand this fro= m the source code correctly?

 

In my opinion this is a major p= roblem, because on Xilinx ZynqMP the bootloader partition contains the Xili= nx bootbin, a first stage bootloader which flashes the FPGA firmware before= starting u-boot. In this case we run the old linux against a new FPGA and have an inconsistent system after the= RAUC fallback.

 

Does anyone have a solution for= this problem?

 

Thanks and regards,

Martin Hollingsworth

--_000_d683cd3f33d949589ae80f97af3a7681itkengineeringde_-- --===============1281711979== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ RAUC mailing list --===============1281711979==--