From patchwork Tue Mar 22 10:41:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rui Miguel Silva X-Patchwork-Id: 553476 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:1248:0:0:0:0 with SMTP id z8csp2319228mag; Tue, 22 Mar 2022 04:24:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwhDPczCgmspSc20vJTJUYKWo0aPiGl0ckaAo6ZKPFl3Mv261GPWrEcdstUTQ/etWbyzMYT X-Received: by 2002:a17:907:60d3:b0:6db:8b59:1564 with SMTP id hv19-20020a17090760d300b006db8b591564mr25202608ejc.228.1647948266196; Tue, 22 Mar 2022 04:24:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647948266; cv=none; d=google.com; s=arc-20160816; b=HMmHqXpSiDck3yWTyq9HkJeY/ilwTcOLu9XJAdb0OOBL/+W4qE97LaiN4LMOy4me1T hZ6kbk0pFbiS6EDt43Zv7CdW4P2W+Kpsgzxe7Oa6B+TJq22vwLWobZh7At1ouQTpkKyu YX36ldctL9urFgYuz/8u4I3pm1MMTA2WsbcD8Ato3QHg8XzOKoyVgu0Ow9mfyLquT6EQ MWQSfOwwLZFuRR958+SbX5iolob+XXRntaFpV/ef3YVKq2Nq+2rVPYed+NW10tKdwWFh YTysRvpwTLHCidZwBvpAT+Jpl8DOf/fZdrnxI8P17iEhqSQTw/8SZUCTnUk5IxJ0c+dp 97WA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=qqkrx0C96KcDOpUks7pP8hQ38cSkETUEsg01SeTUh6k=; b=QP86yALNfvDL9BLA3KPG+oGZdw7KdswXVmCtc/d/eW0EP0JuYuvWghVb9D6odm9T5m BgTSKjUs2kr/3t3DorXieMabbJaw9xzrApCFAeIH8mf8J2ZDlBMo3SI0EynGxBN6hzRn Q1cuf4sJJbcVIu5J2GprAtynvs7JX2AckIzBMXx2oSOmj9pG6OWyUnhK5B7EejqckcHZ IyBdAMO20/qZrDfXlv8rhRqIA/T59AVon/jHMnMYFxzfT+F075Mpvw8Bp9fwAJecpzYb ea/PUv+PgwG7mknJej6MNsOkSzQLHiAHte1iWVOAM50NNJ8Pg3nrbhvvLLh8ULb2fEC7 wP2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YrmuMixN; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id 4-20020a170906008400b006df76385d84si10491993ejc.548.2022.03.22.04.24.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Mar 2022 04:24:26 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YrmuMixN; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4D26383B34; Tue, 22 Mar 2022 12:23:45 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="YrmuMixN"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 702D38395F; Tue, 22 Mar 2022 11:41:43 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) (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 7872C838D5 for ; Tue, 22 Mar 2022 11:41:40 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=rui.silva@linaro.org Received: by mail-ej1-x633.google.com with SMTP id r13so35267204ejd.5 for ; Tue, 22 Mar 2022 03:41:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=qqkrx0C96KcDOpUks7pP8hQ38cSkETUEsg01SeTUh6k=; b=YrmuMixNT/ZN+Gf0u2Dkha5oJV/QBU6/ZWNC2AqiQtHfVXb23Jrkpu1I+UJhmceOyI fITiCEIUxXpZ0Ga9M1tAh3SDD4iugh6COJuAJgAKnwioSz5Y1eHfzmdddqTOtjABqZ51 DPTyZfNZemkGTlbFOzouGqx2WMOcs8adXbxMWTF1sbpXis/6NIkdEWhpeWH0s1tj2Kgf L637JjQTJw8zSNqN44v+wccnvzO1RA23ngA22UwgFnPahgVX7hxzl2x6RrL0+yw7AhXG zC0qQ8+YQ4SvRvUjSpZ4+4HuyTTPYuQPhupScfWdqdD72fy26OUvnmwXoN65FW1iKfSh 5UcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=qqkrx0C96KcDOpUks7pP8hQ38cSkETUEsg01SeTUh6k=; b=QkBjKEi/5iuye37Cnp8jIsmyAXxK28LaEVlcs5a1dXMlK/iS7hyIodcOXglhilCDEy QKpw3/S5/K55mJqIRfjvuHJI3x9vvsiadJCBcBvNWS65DWgFdy8Bo2pJm3dYa84+eOUO Cak5ubJKWPYTL55810f3yMLP/7vCSrkIC48BP2InLjmICqfSti2OZSe7oStWYgs1lHRb z5xMiwHvn9dz7sLbSeMW8TGQNEY0QHahVNpDSZfOyRADbwoWfUjY/14xzqMYaZornIFB A3VhgPwFJ6YCiYzqmTlAEMd/S8iQsJebXrGBjCrnth0kh15ivkAcdcB28obgMQBXI3VB BKwg== X-Gm-Message-State: AOAM531S6dHyQ1WQgJyrT8I9xUoKsbwqCW7mt4tgaj8mdeaUy4p3AeGi hb3JFlmBaj57/bAEr0UCYEQhJiIl2JjKog== X-Received: by 2002:a17:906:2b93:b0:6cf:bb48:5a80 with SMTP id m19-20020a1709062b9300b006cfbb485a80mr24332841ejg.681.1647945699878; Tue, 22 Mar 2022 03:41:39 -0700 (PDT) Received: from arch-thunder.local (a109-49-33-111.cpe.netcabo.pt. [109.49.33.111]) by smtp.gmail.com with ESMTPSA id l2-20020aa7cac2000000b003f9b3ac68d6sm9359641edt.15.2022.03.22.03.41.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Mar 2022 03:41:39 -0700 (PDT) From: Rui Miguel Silva To: u-boot@lists.denx.de Cc: Rui Miguel Silva Subject: [PATCH 0/2] board/armltd: add support for corstone1000 Date: Tue, 22 Mar 2022 10:41:16 +0000 Message-Id: <20220322104118.573537-1-rui.silva@linaro.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 X-Mailman-Approved-At: Tue, 22 Mar 2022 12:23:15 +0100 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.5 at phobos.denx.de X-Virus-Status: Clean This series add support for arm's corstone1000 platform (see specific commit changelog for references to documentation), but first introduce a command (loadm which will integrate with efi subsystem) used in one of the boot sequence in this platform. Cheers, Rui Rui Miguel Silva (2): cmd: load: add load command for memory mapped arm: add support to corstone1000 platform README | 1 + arch/arm/Kconfig | 8 ++ arch/arm/dts/Makefile | 3 + arch/arm/dts/corstone1000-fvp.dts | 33 +++++ arch/arm/dts/corstone1000-mps3.dts | 41 ++++++ arch/arm/dts/corstone1000.dtsi | 167 +++++++++++++++++++++++ board/armltd/corstone1000/Kconfig | 12 ++ board/armltd/corstone1000/MAINTAINERS | 7 + board/armltd/corstone1000/Makefile | 7 + board/armltd/corstone1000/corstone1000.c | 120 ++++++++++++++++ cmd/Kconfig | 6 + cmd/bootefi.c | 12 ++ cmd/load.c | 48 +++++++ configs/corstone1000_defconfig | 80 +++++++++++ include/configs/corstone1000.h | 85 ++++++++++++ include/efi_loader.h | 2 + lib/efi_loader/efi_device_path.c | 9 ++ 17 files changed, 641 insertions(+) create mode 100644 arch/arm/dts/corstone1000-fvp.dts create mode 100644 arch/arm/dts/corstone1000-mps3.dts create mode 100644 arch/arm/dts/corstone1000.dtsi create mode 100644 board/armltd/corstone1000/Kconfig create mode 100644 board/armltd/corstone1000/MAINTAINERS create mode 100644 board/armltd/corstone1000/Makefile create mode 100644 board/armltd/corstone1000/corstone1000.c create mode 100644 configs/corstone1000_defconfig create mode 100644 include/configs/corstone1000.h