Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8EE15606A31A for ; Wed, 2 Dec 2026 04:59:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.u-boot-project.org header.i=@lists.u-boot-project.org header.a=rsa-sha256 header.s=default header.b=UV5YkH8Y; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=fEVzOGqJ; dkim=pass (2048-bit key, unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=iLJVhMMo Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id F287860740; Wed, 2 Dec 2026 04:59:05 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id gznFqsO_ZUow; Wed, 2 Dec 2026 04:59:04 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp3.osuosl.org 1B0E660725 Authentication-Results: smtp3.osuosl.org; arc=none smtp.remote-ip=140.211.166.142 ARC-Seal: i=1; d=osuosl.org; s=arc; a=rsa-sha256; cv=none; t=1796187544; b=iuWWn95GWb94O1U1d46mZMBo9b2ze4W4P5bKsROdw9cqtVfFX6UxaCCauxnbtuz/KtZW CKVEd+9cCiYr6B0KFjM8UhYsSEm1rYkiAK34EcDa37/RXzQFlInvqXpD7QKFzxTwmBBi1 E1Fhw3Fi5MwYyw/mK9W2fHnSTZwWSgWmwK2LFEgmIty0tUEeqeoAdqdYoxnzW6fy8B8q5 kBgC6ShWAZ9xt/4Sl3gtJF1sCQTKmtFFtEF4ArQOP7kUQQ83ByqcB8nb0fW1IjngpdjLN ZLg70pfdfHBNpNxEimv2Sz7njkwN+4zat4wxzDypUKlVY3Z9KS3tr9suZxhTNmy4LyQ== ARC-Message-Signature: i=1; d=osuosl.org; s=arc; a=rsa-sha256; c=relaxed/relaxed; t=1796187544; h=X-Comment:DKIM-Signature:X-Original-To:Delivered-To:Received: Received:X-Virus-Scanned:X-Spam-Flag:X-Spam-Score:X-Spam-Level: X-Spam-Status:Received:ARC-Filter:Received-SPF:Received:Received: DKIM-Signature:Received:Received:DKIM-Signature: X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg:X-Received: X-Received:Received:From:Subject:Date:Message-Id:MIME-Version: Content-Type:Content-Transfer-Encoding:X-B4-Tracking:X-Change-ID:To: Cc:X-Mailer:X-Developer-Signature:X-Developer-Key: X-Authority-Analysis:X-Proofpoint-GUID:X-Proofpoint-ORIG-GUID: X-Proofpoint-Spam-Info:X-Proofpoint-Spam-Details-Enc: X-Proofpoint-Virus-Version:X-Proofpoint-Spam-Details:X-BeenThere: X-Mailman-Version:Precedence:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:Errors-To; bh=Y7exGtGSFq0aDNyje1cThfDyF2D0mbzlkaPWDrbjYgA=; b=LyTlS3JuxbO60TfecP04ZSKpXO4WlGJWC9Yr3naFkvNWUHDjXJxEgjjESzEsev5WcNa5 YEsXrlVns+4Djb2vrQ6cz+cERVCPtD0bKfuHb1XdYjke6sQujLPXxoXPl29MRr23r8z63 KUBXUHwVvDf8W4krLk75vYuoylj3Zz3r5Pf5o8Ur5dSDPW4KEbgd+gX5VW35wtu6MU0i/ HG4p8ZuUkQP4gT5pRn+doejDxhyRR3fFAEVFtt7CzG5mh5u9YFXors7vG3LHez8pkOC49 ugjevy2rkrtfNyo73wc6HU6kj6ibxZdKTseKIKq5v7KnjL+83XdjjKWxvKaoA11Dz9w== ARC-Authentication-Results: i=1; smtp3.osuosl.org; arc=none smtp.remote-ip=140.211.166.142 X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=u-boot-bounces@lists.u-boot-project.org; receiver= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.u-boot-project.org; s=default; t=1796187544; bh=Y7exGtGSFq0aDNyje1cThfDyF2D0mbzlkaPWDrbjYgA=; h=From:Subject:Date:To:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=UV5YkH8Yy+1gGhXCHV5riAiVR8PykJTvmanSAPiEFH9yLg2ppbN4SZB9F7XMVC69g G3KQo2rZ+jnySn3bekaWPq7o/tdle2myt1NEOt+m2cFoZiBA2mqH2W8wmauwy2xPhK rT7C6jhnAEdY+j/8OVgEDCrQhp2FOuyQsBqSgKh2KVpDvEzj6ucWiBLBuVkR0eFT9g PzuaMDM9BziWl7RTLwcXNeAv4i1f0Y/Q8hXhLmZjIlfEi1U1VWNFd2oshlWEHvq67X 9jWVGaqfbGN1kkvsPy1e0pTPV1QtQYOu63anvMZukU89lXIFr+K05kefLHkfAXHkmN JHIv6VrH+CiPQ== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp3.osuosl.org (Postfix) with ESMTP id 1B0E660725; Wed, 2 Dec 2026 04:59:04 +0000 (UTC) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) by lists1.osuosl.org (Postfix) with ESMTP id DE405325 for ; Wed, 2 Dec 2026 04:59:02 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id C49EE809D3 for ; Wed, 2 Dec 2026 04:59:02 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id g0K1DCGZWMYj for ; Wed, 2 Dec 2026 04:59:01 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.2 smtp1.osuosl.org 3FA2D80BB6 Authentication-Results: smtp1.osuosl.org; arc=none smtp.remote-ip=205.220.168.131 Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=205.220.168.131; helo=mx0a-0031df01.pphosted.com; envelope-from=balaji.selvanathan@oss.qualcomm.com; receiver= Authentication-Results: smtp1.osuosl.org; dmarc=pass (p=none dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256 header.s=qcppdkim1 header.b=fEVzOGqJ; dkim=pass (2048-bit key, unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.a=rsa-sha256 header.s=google header.b=iLJVhMMo Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by smtp1.osuosl.org (Postfix) with ESMTPS id 3FA2D80BB6 for ; Wed, 2 Dec 2026 04:59:00 +0000 (UTC) Received: from pps.filterd (m0279862.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 6B22u9ps3048686 for ; Wed, 2 Dec 2026 04:59:00 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=qcppdkim1; bh=Y7exGtGSFq0aDNyje1cThf DyF2D0mbzlkaPWDrbjYgA=; b=fEVzOGqJlrHEOOO/gYJNhXwShXn3tyErSzOZ86 PSu7LYhdvHZlcPpVQrJA93nT77vKG89apyFAAVuznQ8A+E4Z6S7BNov10Pq6TtKW wR4P6kFV5voY//cHcFDJic9oifKS4Mq+C/myJ3KCyHpEewBpo2rMnIb92jXd6aMn aSY//Ctao2ETFBwL1rFr8XN/A97lba7sBme9W45QPwXhvpLF2dQlgxNK4yy/qbfj K7N5gRJsutZzFKlgVWlv6ySby/mHc8Ts0T4BVFciOnJaBNnJADNJ4gAVUgV7i8qs Gf53o2iNv1+LwGXq7X5fywelVrTbx51A07mRwthnnuGZOfEQ== Received: from mail-dy1-f199.google.com (mail-dy1-f199.google.com [74.125.82.199]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4ja3aj24t6-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Wed, 02 Dec 2026 04:58:59 +0000 (GMT) Received: by mail-dy1-f199.google.com with SMTP id 5a478bee46e88-386ad819860so9413357eec.0 for ; Tue, 01 Dec 2026 20:58:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1796187539; x=1796792339; darn=lists.u-boot-project.org; h=cc:to:content-transfer-encoding:content-type:mime-version :message-id:date:subject:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=Y7exGtGSFq0aDNyje1cThfDyF2D0mbzlkaPWDrbjYgA=; b=iLJVhMMoRxK2A/xn9sOfH5C+PDMckCHicDopFyTXxdSuQtYoh8r+ZhQ1LNdMRo/5hm w2nVaCNw9x7IBmIewbT1EzBmqzqMOVRJSSo4aSnVrKPhdSukKmreQSJMXx2psueYty4n FHcr9I7Zyh4sIAb4hC4Mj5GLZY0j1WYoIt1V7iq5q2p/HuyztO8qJgUql+BAEsPfgn/L lDWHzJX1cXHwJXvVSF12T4WfNamssY7+RMsi0DmYqqWGY97P9qDDHu5bhvAix1aO5+zV Eault8i2AtOnz6J1RDmJWexl9sqr59ebLLtP3ePhgMam/7ZubyJ3CljGV7MGzDOt/rSh ydKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796187539; x=1796792339; h=cc:to:content-transfer-encoding:content-type:mime-version :message-id:date:subject:from:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=Y7exGtGSFq0aDNyje1cThfDyF2D0mbzlkaPWDrbjYgA=; b=hdtccskhihFbJqjuCzMmuxZvg1pQ67Lw/OaTrAuP3WkS1As/PeWSYXavAw3S3UDEpy +9/76S/NBsatWQxN5Bn3uoP1hq9syP1GHgKcnqHk4WhmW3a1+kOeD8Cr92OrPDikeSiu plBRn34vfOiYLt0EwX/HITOYhxZjRDV+Rb41tiJBlLXg0Tjmg23JJGY2JBORxJUTUZ+U dV6ZVQUl9Y7TqR4plb6RKAudl+SfeYK8OmMurE8JWs7Tt9VlaKFjpoU3ZhZqz/ga6jXC Ss1GesJXedInCkm/EssmtlDS6feB3FVoMwnC5KQwV0axNA3FZbygKYDzf45ja5W1Tx0S TIXw== X-Gm-Message-State: APuU4Z+2SbWSftJ1o2G5z5gFfVJrNxStB5aVOqbpbZAxZAkLgJoGInrr LIFAYoERf6dgL5iYRl0Oalb2jTraJYxM93vg0U4SrX0V0kSkjmH6Ckrm5NtNdWVadKuic6A5DTs fI5x2wzBABdArljfdUHZdttxTeAhdjlKGZqfLOwlZPVJKAaMRIpN9J5ksY7QcAlFiat8bu0Y= X-Gm-Gg: AZFdTZd+9dnoEqg1PX20krXqn8WAgg5KegpyrXSPZ3ILvDXb1v3iOVP/vyi4pV1oxCw 12p/r60fTmD6Rzu09Xr3b2+eR+iqcXuDQx28bCGcO98uuau+/sA1BVqlkcfeEKwcmER8pWxy2nA gMmCsihChdCu0RymGjXuIkdtphvAJZxHI5e6sl+XXfawo57XjYT9z0Tm1PHPeE++cTiBWxdUiqx 8Qv5HZGk2XkuPEa83cod2kMnOLZeqseLGkIigOx0xOtSmBloJzkRkZkxcOX30y2kaElFU4x43Ez 1ERQfhjH52CCODEtUMezYdULa5HNrIj/2hhTUnEo6GOaQoW02oAlBaf72om4NlT/oHki30yAZMT Wi8HDRgkaaPQtMQEYrPc7Ua1rNWG8Mw00YsGw6puj7yFlVhtrDUPMNzVi33oztDVOaPIacBPxiY w/5QPH1l1l/USHXpoAX+1OeEiZrhcBSuQbLW3NcQfyRaBtxSko5dqJb01iJS7/h0ygmw9uQuDSF eWJrQ== X-Received: by 2002:a05:693c:41d2:20b0:386:ebc5:4747 with SMTP id 5a478bee46e88-386ebc547e4mr17127179eec.11.1796187538821; Tue, 01 Dec 2026 20:58:58 -0800 (PST) X-Received: by 2002:a05:693c:41d2:20b0:386:ebc5:4747 with SMTP id 5a478bee46e88-386ebc547e4mr17127161eec.11.1796187538399; Tue, 01 Dec 2026 20:58:58 -0800 (PST) Received: from hu-bselvana-blr.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com. [103.229.18.19]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-38566fdce48sm121634180eec.14.2026.12.01.20.58.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Dec 2026 20:58:58 -0800 (PST) From: Balaji Selvanathan Subject: [PATCH v12 0/7] arm: snapdragon: Add snagboot support for Lemans-EVK Date: Wed, 02 Dec 2026 10:28:46 +0530 Message-Id: <20261202-snagboot-v12-0-ecff58506766@oss.qualcomm.com> X-Archived-By: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAIelD2sC/3WS22rDMAxAf6X4eSm+X8oY+4+xB9mR28DarHEaN kr/fUpbVsOWF4GEz0GWdGYFhw4L26zObMCpK11/oETIpxVLOzhsselaKjDJpeVOiaYcYBv7fmw 0hmxt5tLIltHzzwFz93V1vb1TvuvK2A/fV/Vk5upN4rl6SCbT8IZzzNpoGZTG176U9fEEH6nf7 9cU2Oya7BJviUcfswObEwe9wLtfXnBR8474nGSwoKRXFhZ4X/O64j3xLgFmb42V0S3woeJlNcQ pEC98QoVaCSX5Ai/4Q0AdVALB5wk41ZqUsY1+6QdCVAbFa4MgQxBKc5G4s8H/Y7jcFjzg8UQ3M t62zPZYClxPZLN6vi/HNhnKeDeTOEF0rdVogox/xC/z4UQo2MyVbtysWpEgYatAK0MHRzFFF2x ApXUI3AjQkARaaunyAwq0nmW+AgAA X-Change-ID: 20260731-snagboot-4e9f66f0252d To: u-boot@lists.u-boot-project.org, Sumit Garg , u-boot-qcom@groups.io Cc: Rayagonda Kokatanur , Tom Rini , Ilias Apalodimas , Casey Connolly , Neil Armstrong , Johan Jonker , Tien Fong Chee , Michael Srba , Sumit Garg , Aswin Murugan , Simon Glass , Hongyang Zhao , Linus Walleij , Balaji Selvanathan , Varadarajan Narayanan X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1796187532; l=7330; i=balaji.selvanathan@oss.qualcomm.com; s=20260213; h=from:subject:message-id; bh=DJiueFsWodh7/CzSWjbEbCajJ4T6iv5E47FbpOW04tY=; b=5FHAQEdZWYPHY095KiCLqzjtF4/AMMOplkHPByaw0IhCCXioecmrzctsrR7x7X5s31b8UQ2st um8Gzc9yBBJBOYVahPMsTvTRmsBTptn36dhL93rn1lihQ2UaILZx3KN X-Developer-Key: i=balaji.selvanathan@oss.qualcomm.com; a=ed25519; pk=CDpYiUU3SH7KGEtsBvY2tBGPiWfMxqWJF0p2LftOfnc= X-Authority-Analysis: v=2.4 cv=Y7xtIReN c=1 sm=1 tr=0 ts=6b0fa593 cx=c_pps a=cFYjgdjTJScbgFmBucgdfQ==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17 a=IkcTkHD0fZMA:10 a=pUM-KoujPXoA:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=_K5XuSEh1TEqbUxoQ0s3:22 a=NEAV23lmAAAA:8 a=D3gdSb3EAAAA:20 a=VwQbUJbxAAAA:8 a=EUspDBNiAAAA:8 a=gu6fZOg2AAAA:8 a=jNoxLISraxgqyRIUOcIA:9 a=QEXdDO2ut3YA:10 a=scEy_gLbYbu1JhEsrz4S:22 a=2RSlZUUhi9gRBrsHwhhZ:22 a=bA3UWDv6hWIuX7UZL3qL:22 X-Proofpoint-GUID: -aLB5V2CnOJBjMWdEwKD3C5sPkrl1Tcm X-Proofpoint-ORIG-GUID: -aLB5V2CnOJBjMWdEwKD3C5sPkrl1Tcm X-Proofpoint-Spam-Info: AW1haW4tMjYxMjAyMDAxOSBTYWx0ZWRfXzevL3smbGcWz tRgi+PQu/DPHTfgtFJ8mmlfuftlHI6dzWjU5zG4tegwp+aUs8duslttgHunTBS8ezQ3RwinAZaP S8CKkOQGJsToPppWF/yT0tcKg25IbVk= X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYxMjAyMDAxOSBTYWx0ZWRfXxNRTtjjq2DZ/ r5kc16aUG4o2cbrSM+v7rD7+DHZxvBJWbTfCy3rcKL9hHj3aoiO85/xECrhlbgWA/GMR4zsf847 Pr3/lBSY7HN9aEZBbP8UCzSl/KRAnFmPJxn8ipUZ03ddDMC1r+3TzH3P/ubX60twMItQ/jsWBQ5 ZBgCdYr2MQmLO0dBCTnW2fiyZIlM9a6cakSIK7qyQvKe3g2fA3d/03ZLzspmbFqX9xVbDqFt4Cg ll3Vj4Nw3nvOYzy7tyRLrmswz65WP7BQYGUph7SyHtjoXVKJduj3dIAJ7wHSXggrmRC+J8d+IY+ PW2CVA0xaPzQ3ruj4TSyfww2OMG/CeutxO0+wzr8ukOnaGlNSQhZYp8/zyFOi0VC5OwUEVOhOLi 5vWGBVkS+4kzTBrsCyjs6+iPcE0f+/izXhP4brhFgmDE3kJ/RB1UdcV3BYBVjyKfI90/VGYi1SJ hDY+qkdm+OZsfiYxLfw== X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.138,FMLib:17.12.100.49 definitions=2026-12-02_01,2026-12-01_01,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 suspectscore=0 malwarescore=0 clxscore=1015 spamscore=0 phishscore=0 priorityscore=1501 impostorscore=0 adultscore=0 bulkscore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2611040001 definitions=main-2612020019 X-BeenThere: u-boot@lists.u-boot-project.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: U-Boot discussion List-Archive: List-Post: List-Help: List-Subscribe: , X-Spam-Status: No, score=-23.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 This series adds support for running U-Boot in snagboot mode on Qualcomm Snapdragon platforms, targeting the Lemans-EVK board. Snagboot (https://github.com/bootlin/snagboot) is a recovery and reflashing tool that works through the SoC boot ROM. On Qualcomm SoCs, snagrecover loads XBL over Sahara in EDL mode to initialise DDR and then loads U-Boot into DDR, where it enters fastboot so that snagflash can write the images. Support for the Lemans-EVK (IQ9075) is in the snagboot tree, see the Qualcomm IQ9075 sections of https://github.com/bootlin/snagboot/blob/main/docs/snagrecover.md See also the doc/board/qualcomm/snagboot.rst added in patch 7 for usage and build steps. XBL leaves the MMU enabled and does not set up PSCI firmware or Command DB in this flow, so the series adds a QCOM_SNAGBOOT_MODE option, an early MMU disable, and a defconfig and config fragment for Lemans-EVK. Tested on Lemans-EVK board. This series depends on "Enable fastboot support for IPQ9574 based boards", which adds the QMP USB PHY driver (PHY_QCOM_QMP_USB) that the Lemans-EVK snagboot defconfig now enables for SuperSpeed USB: https://lore.kernel.org/u-boot/20260806-fastboot-v1-0-cab7d64e592b@oss.qualcomm.com/ Signed-off-by: Balaji Selvanathan --- Changes in v12: - Rebased on top of latest main branch - Disable MMC_SDHCI_MSM in qcom_lemans_snagboot_defconfig, the SD host controller is not required in snagboot mode - Link to v11: https://lore.kernel.org/r/20261130-snagboot-v11-0-913401c07698@oss.qualcomm.com Changes in v11: - Rebased on top of latest main branch - Disable EFI capsule update in qcom-snagboot.config, snagboot mode only enters fastboot for factory flashing - Enable PHY_QCOM_QMP_USB in qcom_lemans_snagboot_defconfig for SuperSpeed USB, this adds a dependency on the IPQ9574 fastboot series which introduces the driver - Link to v10: https://lore.kernel.org/r/20261101-snagboot-v10-0-e73d5cfedb8a@oss.qualcomm.com Changes in v10: - Drop the CONFIG_ARM_SMCCC guards patch, SYSRESET_PSCI is already off in snagboot mode so the PSCI functions are not built - Depend on ENV_IS_DEFAULT instead of selecting ENV_IS_NOWHERE - Drop depends on !ENV_IS_IN_SCSI, !PSCI_RESET, !SAVE_PREV_BL_INITRAMFS_START_ADDR, COUNTER_FREQUENCY != 0 and TEXT_BASE != 0 - Replace the cmd-db.c change with a patch that lets QCOM_RPMH build without QCOM_COMMAND_DB, and disable QCOM_COMMAND_DB in the snagboot config fragment - Fix the title underline in the snagboot doc - Shorten the cover letter and link to the snagrecover IQ9075 docs - Link to v9: https://lore.kernel.org/r/20261021-snagboot-v9-0-18ce3e431320@oss.qualcomm.com Changes in v9: - Drop the assumption that snagboot mode needs IOMMU disabled: QCOM_SNAGBOOT_MODE no longer depends on !IOMMU and qcom-snagboot.config no longer sets CONFIG_IOMMU=n - Link to v8: https://lore.kernel.org/r/20261014-snagboot-v8-0-7caef86562b7@oss.qualcomm.com Changes in v8: - Make changes in documentation - Link to v7: https://lore.kernel.org/r/20261013-snagboot-v7-0-fc296a32836a@oss.qualcomm.com Changes in v7: - Rebased on top of latest main branch - Link to v6: https://lore.kernel.org/r/20260803-snagboot-v6-0-e8bf7a6fc0a4@oss.qualcomm.com Changes in v6: - Forget to send summary in v5 cover letter, no other changes in v6 - Link to v5: https://marc.info/?l=u-boot&m=178577208345353&w=2 Changes in v5: - Make QCOM_BOOT0_SNAGBOOT_MODE as hidden config dependent on QCOM_SNAGBOOT_MODE - Disable C (Dcache) bit of SCTLR_EL3 register during MMU disable - Remove now unused QCOM_COMMAND_DB_OPTIONAL Kconfig definition - Disable unnecessar I2C configs (for Snagboot) in Qcom Snagboot config fragment - Add build steps for compiling U-Boot for Snagboot mode in Qcom Snagboot doc - Link to v4: https://lore.kernel.org/u-boot/20260619-snagboot-v4-0-385497442db2@oss.qualcomm.com/ Changes in v4: - Renamed QCOM_SNAGBOOT_SUPPORT to QCOM_SNAGBOOT_MODE - Make SYSRESET_PSCI dependent on QCOM_SNAGBOOT_MODE - Place Snagboot related configs in seperate config fragment called configs/qcom-snagboot.config - Include above config fragment in configs/qcom_lemans_snagboot_defconfig - Removed Lemans EVK override dtsi: arch/arm/dts/lemans-evk-u-boot.dtsi - Removed QCOM_COMMAND_DB_OPTIONAL as now we use CONFIG_QCOM_SNAGBOOT_MODE - Added documentation on U-Boot for Snagboot - Link to v3: https://lore.kernel.org/u-boot/20260616-sngboot-v3-0-6fb0dee8125c@oss.qualcomm.com/ Changes in v3: - Brought the MMU disable logic under CONFIG_QCOM_SNAGBOOT_SUPPORT ifdef condition - Moved the MMU disable codes to a new seperate file - Used "if (IS_ENABLED(CONFIG_QCOM_COMMAND_DB_OPTIONAL))" instead of #ifdef - Removed enabling QCOM_COMMAND_DB_OPTIONAL, ENABLE_ARM_SOC_BOOT0_HOOK and SKIP_RELOCATE as they are now automatically enabled by QCOM_SNAGBOOT_SUPPORT selection - Removed updating MAINTAINERS as the defconfig file is picked up by the "N: qcom" line - Link to v2: https://lore.kernel.org/u-boot/20260608-snagboot-v2-0-036bb0343bf7@oss.qualcomm.com/ Changes in v2: - Changed SYSRESET_PSCI from 'select' to 'imply' - Guard show_psci_version() and qcom_psci_fixup() with CONFIG_ARM_SMCCC - Disables the MMU and invalidates TLBs at the earliest entry point - Add qcom_lemans_snagboot_defconfig for Lemans-EVK - Link to v1: https://lore.kernel.org/u-boot/20260409-cmddb-v1-1-b10549b34133@oss.qualcomm.com/ --- Balaji Selvanathan (7): arm: snapdragon: Make SYSRESET_PSCI optional arm: snapdragon: Disable MMU early before U-Boot reset vector arm: snapdragon: Add CONFIG_QCOM_SNAGBOOT_MODE option soc: qcom: Allow RPMh to be built without Command DB arch: arm: dts: remove Lemans EVK override DTS configs: add qcom_lemans_snagboot_defconfig for Lemans-EVK doc: qualcomm: Add snagboot mode documentation arch/arm/Kconfig | 2 +- arch/arm/dts/lemans-evk-u-boot.dtsi | 19 ----- arch/arm/mach-snapdragon/Kconfig | 14 ++++ arch/arm/mach-snapdragon/include/mach/boot0.h | 2 + .../mach-snapdragon/include/mach/snagboot_boot0.h | 27 +++++++ configs/qcom-snagboot.config | 27 +++++++ configs/qcom_lemans_snagboot_defconfig | 10 +++ doc/board/qualcomm/index.rst | 1 + doc/board/qualcomm/snagboot.rst | 84 ++++++++++++++++++++++ drivers/soc/qcom/Kconfig | 1 - include/soc/qcom/cmd-db.h | 7 ++ 11 files changed, 173 insertions(+), 21 deletions(-) --- base-commit: d1caced3a435607435cb7969e34499051a4ac1e6 change-id: 20260731-snagboot-4e9f66f0252d prerequisite-message-id: <20260806-fastboot-v1-0-cab7d64e592b@oss.qualcomm.com> prerequisite-patch-id: 5abb658fba7478a852a6f46dc180064eb0c85a5b prerequisite-patch-id: 0b1e9804fa5beea5920d62390f53d25fcb10f8d4 prerequisite-patch-id: 5a454e14e453e96d639ef31f8efdbe38d606fa17 prerequisite-patch-id: 2f882e3885b8406b5fd2c166e8a59e2eb71b850e prerequisite-patch-id: 4f6f3239a10ceaa38f6ee8abf2486deac47f32a5 Best regards, -- Balaji Selvanathan