| Message ID | 20260902211501.127915-1-bhargavdas100@gmail.com |
|---|---|
| Headers | show
Return-Path: <u-boot-bounces@lists.u-boot-project.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.u-boot-project.org header.i=@lists.u-boot-project.org header.a=rsa-sha256 header.s=default header.b=zx5Om+o1; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=jutzpvqP; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.u-boot-project.org (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org; envelope-from=u-boot-bounces@lists.u-boot-project.org; receiver=patchwork.ozlabs.org) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4hZxT50LPCz1xwZ for <incoming@patchwork.ozlabs.org>; Thu, 03 Sep 2026 07:59:05 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 9EE2640842; Wed, 2 Sep 2026 21:59:03 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id hlwZ6xd-75J0; Wed, 2 Sep 2026 21:59:03 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.0 smtp4.osuosl.org C51A64081E Authentication-Results: smtp4.osuosl.org; arc=fail smtp.remote-ip=140.211.166.142 ARC-Seal: i=2; d=osuosl.org; s=arc; a=rsa-sha256; cv=fail; t=1788386342; b=KC6TnDTEMOiUMnADC0Kkt6CfymfmcQrA+poD1iuR/jqM+Mm9f23Wrszgk/6JWqkw4zBI TNB1hukPB9hPS2J/nPOCEuYIWrQ4Nz0Od2aGfABJmEyyi6wJITUIILX+9PLuJz/Bsmrh0 QxFVY24GrDnzcrHNQy33k1O4bFCd2KksE/HLrtoavDSDuYyEC54+uSSk+fws1FRsUFx2x taE2tq8iZqJ6ycMf/K/gNnUsNkb+umfOh3iWcTzAfx+6MTAEF5omd2ZnQMaXPuIoS6zKC nj2afq8ywq58ef4zqpCkpW3QakXHA26ltJRt+zpmoyhsv0a6mgB0NW6KK1PsxGyW5tA== ARC-Message-Signature: i=2; d=osuosl.org; s=arc; a=rsa-sha256; c=relaxed/relaxed; t=1788386342; 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:X-Comment:Received:Received: Received:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Gm-Message-State:X-Gm-Gg:X-Received:Received:From:To:Subject:Date: Message-ID:X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding:X-Virus-Scanned:X-Virus-Status: X-Mailman-Approved-At:X-BeenThere:X-Mailman-Version:Precedence: List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help: List-Subscribe:Errors-To; bh=brB3ppMNuKP44X28TgGOSJIeRz5MT4qWd3mBw0FakF0=; b=IQ+1OfB0UKj55w/ZjcC7Nt4Hst/aLZAFqMjaKI47z2iKOfUl7TByQ6ceezzJVxjjfAaa G2js0dYLr98Y7lVAUY+KgqSOh5MgcSMxChLDPXhnHz2M6f4bq8fjsdY0E2KvLSZByJA3X 1ZMOvXJfM+qxsWDwVR+v2cWLrzrAzZdiomJ32KR3vnVawWpUlg6b1VZC1GSzVnsSK/InI nfbM/tsUi1CvLgDV410x5vx63rG1F7fvRTg9o6lQyePMGbBfkabmi71P0Fm1t1sA4jeKu vtvNM2jfwr8hi0ucEXT9hQ2xP/jhSiudf26fTIPWCCTFfgPDG39gHuFv5/ierIYXQDA== ARC-Authentication-Results: i=2; smtp4.osuosl.org; arc=fail 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=<UNKNOWN> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.u-boot-project.org; s=default; t=1788386342; bh=brB3ppMNuKP44X28TgGOSJIeRz5MT4qWd3mBw0FakF0=; h=From:To:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=zx5Om+o1J/1RdQrajhbSu9tZKXXTWEfi4IH0+M4YJjSFvuByMg3VdDaNintS0uaJG pL8kVxEk+T7MwteoI+vzXuKjPeHt6QWalZSA9JVWTTf8BmfiBHRqmDqn1lAs7tE7aD jjzf+BEuef7Ze79P4GwIbudL8v5H4WSvJ8xBwD75T9LwKDJiD9jLwjX9LPtvBtXrdV eNFu8eMl4zydw/LJJ0VJD7SW2Jcpal6CNOIqAqBttEiTXWZo10a3oMB8edCHDc5yKY 3k+PwFsJIS56XNoHL1FUIBzvVH4gWY20uQAAzLG/weDGeXVTvB5+QO4PK85N/wWhJa k/6z4jR0xR8lw== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp4.osuosl.org (Postfix) with ESMTP id C51A64081E; Wed, 2 Sep 2026 21:59:02 +0000 (UTC) X-Original-To: u-boot@lists.u-boot-project.org Delivered-To: u-boot@lists.u-boot-project.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by lists1.osuosl.org (Postfix) with ESMTP id E8BD9498 for <u-boot@lists.u-boot-project.org>; Wed, 2 Sep 2026 21:15:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id CE8DD80F90 for <u-boot@lists.u-boot-project.org>; Wed, 2 Sep 2026 21:15:14 +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 oxFS025DkO5h for <u-boot@lists.u-boot-project.org>; Wed, 2 Sep 2026 21:15:14 +0000 (UTC) ARC-Filter: OpenARC Filter v1.3.0 smtp1.osuosl.org B224A80F8D Authentication-Results: smtp1.osuosl.org; arc=none smtp.remote-ip="2a01:238:438b:c500:173d:9f52:ddab:ee01" ARC-Seal: i=1; d=osuosl.org; s=arc; a=rsa-sha256; cv=none; t=1788383714; b=S3pbMIbHwQXTBzIIEuC8bmQ/E+3SKbRtD6mKtBLNJZX6w6iJKNtv6cwrOoJuYAyoWRCB BFqWvg5QGslAv1jk40v/UVtcJ+YTT1qDzn7VLEsiSmB5835RkjtZjgR6rBh/+WfGrLw+r 8Cz9+2u76X9FvTnae2vcDLpBjr7kaVSu3xpCQmq0KW7FN1gOif/+YoYJBfzAf60L1Vh6j egHT5En+6BkVlp5/y6P6G7Kc0ip/8fhfUjB7qfWOynZmEgyC03Vyr/GmRmbcsGV7fWbfg 2agjh0BkDnJWCtrKbKYhJ5NYz70g7vwlYy4T4UQlP5Y4TJ6BDba8owbXPE/wP9ovxxw== ARC-Message-Signature: i=1; d=osuosl.org; s=arc; a=rsa-sha256; c=relaxed/relaxed; t=1788383714; h=X-Comment:Received:X-Spam-Checker-Version:X-Spam-Level:X-Spam-Status: Received:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Gm-Message-State:X-Gm-Gg:X-Received:Received:From:To:Subject:Date: Message-ID:X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding:X-Virus-Scanned:X-Virus-Status; bh=brB3ppMNuKP44X28TgGOSJIeRz5MT4qWd3mBw0FakF0=; b=NtlL+9gSC9lnG9hL940mpbmkP28BidPbrDzZlmlLnS5b3XYQee5h645HSLDAEIP3Rgmr 87TKLUjPT4UIIn5g6qR9VyJgrOiNxg8u40xO30RCDhUNRi60fKYz5qZGRcWwHmR4kuLhX dr/Uhp575saGXaEYsMdODpdU1sPWDvmZ++MWCwfRqoLfxQSCauNoXQX4zsFabVoj0MbLr RFTIeyRNvTS6U9HVnphzcWG0BGAomqt0NB+yK2dC8Y7z1rFtPtYLpm6UHvxtcwSA6QX8r zOIe+ZA9KmqNTO0Od3xgUxsC61SXJU2tor0A/Q4irDVwLSjV2Qzibizm7HGbnH0o7nQ== ARC-Authentication-Results: i=1; smtp1.osuosl.org; dmarc=pass header.from=gmail.com; spf=fail smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=jutzpvqP; arc=none smtp.remote-ip="2a01:238:438b:c500:173d:9f52:ddab:ee01" X-Comment: SPF check N/A for local connections - client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=bhargavdas100@gmail.com; receiver=<UNKNOWN> Authentication-Results: smtp1.osuosl.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp1.osuosl.org; spf=fail smtp.mailfrom=gmail.com Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=jutzpvqP Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) by smtp1.osuosl.org (Postfix) with ESMTPS id B224A80F8D for <u-boot@lists.u-boot-project.org>; Wed, 2 Sep 2026 21:15:12 +0000 (UTC) Received: by phobos.denx.de (Postfix, from userid 109) id 81CD58424C; Wed, 2 Sep 2026 23:15:10 +0200 (CEST) Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 49C7F83EEF for <u-boot@lists.denx.de>; Wed, 2 Sep 2026 23:15:08 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bhargavdas100@gmail.com Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="jutzpvqP"; dkim-atps=neutral Received: by mail-pj1-x102c.google.com with SMTP id 98e67ed59e1d1-382ef647e20so1930157a91.1 for <u-boot@lists.denx.de>; Wed, 02 Sep 2026 14:15:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1788383706; x=1788988506; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=brB3ppMNuKP44X28TgGOSJIeRz5MT4qWd3mBw0FakF0=; b=jutzpvqPYFdY6J67RrqLVQa9rtSZbgicaFjlKMLJ3FTfmUcnvT4hIEl/SwqpjHzhS9 8HpDxG5kFxS+cSmpQGhwbKOCvdB5blMfil/RWfmBoMd49o8ZE+t98yuIE6XMbeTyv73/ lUj4C9EIsFmNff15Kk+CluqOga/tSgmRJDhZZmEROxdvMx8KFygrovSqTimVTJYQQPYf gj3A90eE+iGasRvcZ8Wpo8tLBMT6+8ZJ99B00s8qUF2o+OMZosZ9SP4qkoua+y5WqO08 cNiIAcqkt0BXHCmcuy/9XO6y545y8r/MiEvzFlWbRwgeDiQ30iPaRyTFBnHjx2+xKkwk vWzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788383706; x=1788988506; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=brB3ppMNuKP44X28TgGOSJIeRz5MT4qWd3mBw0FakF0=; b=Bqdkwwr6Ejur/WSxteHlXZMP3luxeKL5fKhwYSID7PVRgAzYTksckeNBaq6eRGLskh Eps3mkThjiJSILLbmQuoGzu8+Y7o6JYAwj0ykdQq7lS7mjbPg9r8IdlksP4rrh1SnIeP itTDMKSQTVH33Dqfdguj6QgrOxcHy5fMAxEuZJtD2mC3nxSNRg3Yl7INsfkvM1HyxRSW 4X3wSseRMqrKaamtntJL1mProtG7emfL/FtU+qQ9iLAAQA+/yvg6nBJtsKtzwUSEIHuM Xc/4ztTpt9kwNY52prgpsPd5K/PKJuBq36PpydSk8uK4rPK/EoPtQ5M4cqI0F8y1nfzW VP9A== X-Gm-Message-State: AFuF++l/wQSZxalxaNzQZHBUJqBkHVwDlbQU7XquKw1wcbArXqpxBy79 yqhAQwNA232wXmEaOcmhMYujLtPuTkz0r1Jiprnc/sGVnryEtROp3G6WiWaRGg== X-Gm-Gg: AYBFou16UHzKhuz2STPAPq2rVawxznDw1fVWlOMpY0EXq5W28dijrKB2wRqzO/DgPIT T38EDa83q4ScsvwPaIq1Xo3e3jPsfVB9MJIqNpMYgYS1N/cTalPKRCCPFUtplwSHQtOWW/pmtUG prQL3HpdFMlidiEbRZ96AVSPo+CU7rsHgcTY69NbLbYsiQJHD8fdaTnXRvzjkx45/2Enurq6r/m b6yQV2DocJj0IfozSu4/BTvnaEGxu813KdgEmexVBfKpC1DnQqm4RXl38MOnSwdZzjKi6ggDVRM g+/MKehcTxX3twdZTFY0vaBPK1hqzAyjrDjsYKz0eaA5aTniC2fy7KTe2ItcY+M+ZTcqmFu3yhC Iq75SrqaSPwV6M6Ta3mwk+N7cDuiLT+rAmOKl/BK92oQlGyvAoscj+HSmJYfvtjc0TGg0ins8um dpNPS3nIjAKm/WOgFqqfLxkBZej+jL6mWq8Qs8gQrwqVEnPWbkSqLzndRrCopGnRdpyicGSAVsS Qzs X-Received: by 2002:a17:90b:46:b0:38e:ad9d:1161 with SMTP id 98e67ed59e1d1-39aedbfe60amr12214181a91.0.1788383706235; Wed, 02 Sep 2026 14:15:06 -0700 (PDT) Received: from bhargav-Legion-Y540.. ([49.207.216.54]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-332501e5447sm1115099eec.0.2026.09.02.14.15.04 for <u-boot@lists.denx.de> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Sep 2026 14:15:05 -0700 (PDT) From: Bhargav Das <bhargavdas100@gmail.com> To: u-boot@lists.denx.de Subject: [PATCH v2 0/4] Add initial support for Raspberry Pi Pico 2 (RP2350) Date: Thu, 3 Sep 2026 02:44:48 +0530 Message-ID: <20260902211501.127915-1-bhargavdas100@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260726115702.15397-1-bhargavdas100@gmail.com> References: <20260726115702.15397-1-bhargavdas100@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean X-Mailman-Approved-At: Wed, 02 Sep 2026 21:58:55 +0000 X-BeenThere: u-boot@lists.u-boot-project.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: U-Boot discussion <u-boot.lists.u-boot-project.org> List-Unsubscribe: <https://lists.u-boot-project.org/mailman/options/u-boot>, <mailto:u-boot-request@lists.u-boot-project.org?subject=unsubscribe> List-Archive: <http://lists.u-boot-project.org/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.u-boot-project.org> List-Help: <mailto:u-boot-request@lists.u-boot-project.org?subject=help> List-Subscribe: <https://lists.u-boot-project.org/mailman/listinfo/u-boot>, <mailto:u-boot-request@lists.u-boot-project.org?subject=subscribe> Errors-To: u-boot-bounces@lists.u-boot-project.org |
| Series |
Add initial support for Raspberry Pi Pico 2 (RP2350)
|
expand
|
This series introduces initial support for the Raspberry Pi Pico 2 board, and its RP2350 SoC. Only the dual-core Cortex-M33 (Armv8-M) is supported. Motivation & OS Booting: ------------------------ This port was created to bring standard, flexible bootloader capabilities to the RP2350 platform, in future this can be extended to use complex boot scripts, environmental variables and structured payload handoffs. Though booting Linux will almost be impossible due to hardware limitations but for now as a PoC I was able to booted Zephyr OS. This port has been successfully used to execute a downstream Zephyr RTOS image directly from the U-Boot shell using the following configuration and process: 1. Zephyr's default UART configuration was switched to target UART1 (GPIO 4/5). 2. To avoid collisions with U-Boot's base mapping (0x10000000), Zephyr was linked to execute from a flash offset at 0x10040000. 3. The Zephyr binary was deployed to hardware via picotool: $ picotool load build/zephyr/zephyr.uf2 -v 4. From the U-Boot prompt, the entry point vector was audited and triggered: RP2350> md.l 0x10040000 2 10040000: 20001018 10040ec1 ... .... RP2350> go 0x10040ec1 ## Starting application at 0x10040EC1 ... *** Booting Zephyr OS build v4.4.0-11807-g357467a011cd *** Hello World! rpi_pico2/rp2350a/m33 Work in Progress & Limitations: ------------------------------- - The arch_cpu_init() hook has been completely dropped from this series. The previous MPU configuration was implemented using an Armv7-M standard, which is fundamentally incompatible with Armv8-M's PMSAv8 architecture. Proper Armv8-M support will be added in a follow-up patch series. - Critical drivers like a dedicated Driver Model (DM) Clock controller and a Watchdog driver (essential for handling hardware resets) are currently actively work-in-progress and will be submitted separately. Flashing Procedure: ------------------- For local validation and hardware testing on Pico 2/Pico 2 W boards, use the following routine to target the execution workspace via picotool: picotool uf2 convert u-boot.bin u-boot.uf2 --family rp2350-arm-s --offset 0x10000000 picotool load u-boot.uf2 -v -x Changes v1 -> v2: - Addressed various community review comments regarding code architecture. - Simplified rp2350_clocks_init() to sequentially step power configurations directly to the VCO, avoiding redundant power cycles on peripheral dividers. - Dropped obsolete Armv7-M arch_cpu_init() / MPU logic placeholders. - Relocated common memory nodes down from the board .dts to the base rp2350.dtsi. - Migrated bi_dram[] management from bd to gd inside board/pico2.c to remain compliant with treewide upstream frame changes. - Added a dedicated Driver Model (DM) hardware timer driver (rp2350_timer.c) and enabled the microsecond tick generator to fix timing command crashes. Bootlog: -------- U-Boot 2026.10-rc2-00026-ga5242764380f-dirty (Sep 03 2026 - 01:27:58 +0530) CPU: Raspberry Pi RP2350 Model: Raspberry Pi Pico 2 DRAM: 520 KiB Core: 6 devices, 6 uclasses, devicetree: embed MMC: Loading Environment from nowhere... OK In: serial@40078000 Out: serial@40078000 Err: serial@40078000 RP2350> Bhargav Das (4): arm: Add RP2350 architecture support arm: dts: Add RP2350 device tree board: raspberrypi: Add Pico 2 support arm: rp2350: Add driver for RP2350 hardware timers