From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 22139C433EF for ; Thu, 10 Mar 2022 16:49:06 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id ABA1783ABA; Thu, 10 Mar 2022 17:49:03 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=seco.com 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=seco.com header.i=@seco.com header.b="YFZ15qJ8"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 64ED483ABB; Thu, 10 Mar 2022 17:49:00 +0100 (CET) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-am5eur02on0607.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe07::607]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id CFEB083AB7 for ; Thu, 10 Mar 2022 17:48:56 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=seco.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sean.anderson@seco.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hMqFpdCB+5BtWKf+gWH7jefIEXN5b1X0wu2Iz99+9rDa43UuuC9BZl+XuQe2AJXMwGj9s1EtfWqyamFE+z8V6+Z2xT5Ct2x2IVut6Mffn6UAGg9m0zsyPxMNcZo6szMJ52PUeke9Fi4GN9ZQW/3dZcsyfBtLtIU63WUbghpkWfeL6bu8/GmMINISvuNNLaB7UAoPiYain3RM5b/wgKENphOq3GL7+cJPd6ogOq6JGOzPI744ewUXCtT/VwR6RozPLgfijo8y7hlml5Onxs5iu8DQ+GLxUVIw4K5h3uRc1hvrvXIHQUz/M7id/3z2CHOsAJQlvqSyNgnONZ1w3OJTaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=IH81Q0AueCU4jozPeuuGtIyD0aDnqMPQO9i9KXG7Xm0=; b=Y//9rcnd1v0Eekd/UDTg9nZ2wUiLqRQaGjLaMhQvM/UvFB/Wb48bh/FqtbqkJdlZkwXHSNLHaL/9aMlmv26QX4di0fhxW2su7Kgk6LuYR1O8iwY1KIV5bCB+v5NyPUhgx0PFxEmrIhoC5vRdOjMv//4O2MHNH0nYLuWrdnQfoXomNlmm6bhkE/OA7GaeVoJi66lyDq4X+3aXHS2TCjFD9pk/XHMQlntHkxo1w5CxzuqrGg4eyg1F8NW0LFYmYkiIKjowai2X3HgtyAl3BkT0vF7d6DmE5tm5cwcnJjL2M15QIr51ADS4W09gxjZMpyGMcdWK+LMXeI2U4lOez5Ul7g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=seco.com; dmarc=pass action=none header.from=seco.com; dkim=pass header.d=seco.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seco.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IH81Q0AueCU4jozPeuuGtIyD0aDnqMPQO9i9KXG7Xm0=; b=YFZ15qJ8eOSmGJkyHvSSJLfKokBvaMnXW6aeRpzr2k/9L/rZo7TQAM8shyNnLpyzgkY9DDStGSRvnP8v+9B5stvTiyaNA/0KUYEfOTYkMlytOYRQpT5+sxzoCX8Ywahxux7vglzA7wkcb123MLupEyXEvyuEQ49FWI+HSKe3n2iOmYwKEoDS8Lyqzn+Bcp/u+1Dt862gyQqhJXUlQFMoR/0Pkr+o8mcT74ttWqJQX7c3JaH0UTS9Tdg+ye6Z12h+Vyc23ptCaYFwW1Bfzmjk1vna9kOdZ7qkLBO5KHwgwhwW9g6dYWbzDytcjWbimpSFu3fd6Gsz9U8fsqpGXn/rLA== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=seco.com; Received: from DB7PR03MB4523.eurprd03.prod.outlook.com (2603:10a6:10:19::27) by AM5PR03MB2980.eurprd03.prod.outlook.com (2603:10a6:206:19::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.14; Thu, 10 Mar 2022 16:48:55 +0000 Received: from DB7PR03MB4523.eurprd03.prod.outlook.com ([fe80::9860:b15b:f166:5896]) by DB7PR03MB4523.eurprd03.prod.outlook.com ([fe80::9860:b15b:f166:5896%3]) with mapi id 15.20.5061.022; Thu, 10 Mar 2022 16:48:55 +0000 Subject: Re: [PATCH 00/17] arm: semihosting: Cleanups and new features To: Tom Rini Cc: Andre Przywara , Linus Walleij , Simon Glass , u-boot@lists.denx.de, Mingkai Hu , Priyanka Jain , Rajesh Bhagat References: <20220303204400.2787389-1-sean.anderson@seco.com> <20220304114753.23bc4666@donnerap.cambridge.arm.com> <120ddbc5-f452-422e-cba5-6ffd0faf4ed1@seco.com> <20220304184637.GZ5020@bill-the-cat> From: Sean Anderson Message-ID: <95c128ae-652a-0e00-695b-47b6a2d150df@seco.com> Date: Thu, 10 Mar 2022 11:48:50 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 In-Reply-To: <20220304184637.GZ5020@bill-the-cat> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: BL0PR02CA0074.namprd02.prod.outlook.com (2603:10b6:208:51::15) To DB7PR03MB4523.eurprd03.prod.outlook.com (2603:10a6:10:19::27) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d91ffef2-c368-4f31-3414-08da02b5dd64 X-MS-TrafficTypeDiagnostic: AM5PR03MB2980:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: r2RROGqwv3O/11QxFGmG3lMWvhEtVXiziH+p7aZwfH8yKZ5fAT4vV2AqGIoIoO2ywuix+ojIGHyDGsRpcX/Fil9/lABpUlkhXkfN40rcYCXkJRh4F4/KAFOIG4TV53hpYqP6fM+5nxKMxWlpGJCAiXwIlGvvHGfZyvoJNfBxeIma63I79zGFKI8uwuxvdKwY/Cbsb+Pa7QBZr3pslaXiBRGWAY8u4Cvj0y0jT6vQwqJIXalQtHO5SsFDbI+gruaxnB54yng9iEaB7t3L7RhZU67IWWcLqiHdnAiDpzG/IwrjnFd6AmCC1hi+fb2pzttB5n6ipEJjb+ZNQ59e6WOtDv6kmpZ8gXyoAg6Z+p5IAB1l0dk4KBw+fkG+MbA0SJcEKGBcp5jWf+1giXAxcC8AXBhOZ42YS7KwHC/vmGSrtvJv69jKLeEYA3HpiJFk7iTHvkvfzl4dLZsJ9E3CtzrqPbJgVwjJO/DI+1wVFwvg0rhOOFCIlvMq0Dz+VUst6+Vrz6G+9JUmGVCgSXlAlhb0dBqvvDkqisGp9IjrddxEfewFmkXuSfSjGfYDuzNZB+62dSz1W8ojmAvAssHaaSWbBYAf+0AqKysl1+/zUfHqKef3Q9dTtVRJuiNPR/tUGh6qo4SQm2ZMelh3xlN1vBoO/2qXY654ThfpCnIbbT6nC5UHsnti+fe0ZNwyWsjUPvav7PINxUUCot5H+XTFy0Vt+tveTgwE5H9i9d9SWaEyXcxy5vMOjxBre1aop12eBnrzQsSnp6DGkJwALyZWpp3Lrw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB7PR03MB4523.eurprd03.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(44832011)(8936002)(4326008)(66556008)(66476007)(508600001)(31686004)(5660300002)(38100700002)(8676002)(26005)(2616005)(186003)(83380400001)(66946007)(6506007)(6512007)(6666004)(36756003)(52116002)(53546011)(6486002)(31696002)(86362001)(54906003)(6916009)(316002)(2906002)(38350700002)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?Windows-1252?Q?ymcX41tio6ZWrb+HTq55SC269UkmXDzYR4xz4uRZxeNB9HgiOZFQ8eTa?= =?Windows-1252?Q?fIIax+d+ANTC/dKmIgLxCPBcx1+lthrPDVWtIpOZUh8+A6FsZjON+Zl9?= =?Windows-1252?Q?284/f+NESeVsHOllrd7dEayc2oJLOjHN3ti4JhEsb+M+6AZ+Z3w20SpM?= =?Windows-1252?Q?Y9H3vYZOypFp2AymrCK/9TXAcxlmyVdKtIX2ATP7ry1zQlVzH2L/VRz7?= =?Windows-1252?Q?H82sDibhndwOs6AsNJ5sb8Q8x2dZXtm8kYGs6iTNTTYg9Gse1rfI/S6j?= =?Windows-1252?Q?YLNLKjFtsjflLEYWUofZtUggj57A8QgSG2i5vqOTmpHS63SyAKdN0418?= =?Windows-1252?Q?s74Vqv++qGcZaw48L3eSH3tQhv1C9eOJ5/R3v6D1is+8g4MtWfTto/6t?= =?Windows-1252?Q?f0Wu48Wr8K0R6rsWhovycAdNrIjhZ8iDbchXmkfrOnduHj9Ee051B1qq?= =?Windows-1252?Q?L1zh6J066J/I1hSoPjDjmcCAv/bmP1RR7YrcDf3CK8PkMkzx8YWHiZIh?= =?Windows-1252?Q?vavLjL5hQf0ailxvjU6JXR52nx9XWRYPxd4V53ML58FtOxanz2CvYw7b?= =?Windows-1252?Q?Ggw7FH8jOYIziLQP/rzrMEw4tS/LrLmMGfVLPS4BwMdGpe40dGStVKNL?= =?Windows-1252?Q?w62A/cbdTKZU/bsUptI6qcXw6AA/g9oAwHB85ae7czvru/pbWCt9Oh5L?= =?Windows-1252?Q?mmvH3XESd+B+y++yWpens1Fj/GoOSL8yCohfiE7sjVhRlO46HMyfKVY1?= =?Windows-1252?Q?IQvd5Rlwlh7e4SEQSWcTKJZ8RR4fMbyns5Vs8pYXFcSd9yMgKHmQiKF2?= =?Windows-1252?Q?j+IG6Jqz5Hb5Qn7R43qXEjaSPsHoXciFkLrDmf5DVSvh/HmPFe5cCbpi?= =?Windows-1252?Q?PMPHDMwlvx2qgUGCq0ipEJd4EwitgGJX5CF9/YxUGOKxwiL995tEjQcq?= =?Windows-1252?Q?ZpUzm5cgX4iEF4aLsy5oC8Xi5VEUmyLZo358vA7jLJSh8YWNARaTaxCG?= =?Windows-1252?Q?rHyZUiCn9/c1gV18HV32Xq/2MdRU0PlE5+ObdyXCZ/84dlq/gLI6c38o?= =?Windows-1252?Q?OazEWwvd5QL+C9qqTHzKL2nWdYU3U77UvWpE554IlI5ITgwQRLYepR5g?= =?Windows-1252?Q?F+ZU6J7sg2u5b0pjgJBsHPVYzqC+/3ELhe9iF03XzW8T8TyOz+u4pdbH?= =?Windows-1252?Q?mF74jADOSCP7DVqgEsQrHO8J8+93z7Iq7AT+aKefM6cWRGjA1h9uPo6e?= =?Windows-1252?Q?eQ4VGoBqcY74KWU5PLU5VSRF1n2PSzjqP3EqOhqnID696F1LjJ2C7WF0?= =?Windows-1252?Q?JGMOd9gLvZubvIb369Gi92CImakgxD/pUIjJ/54vmC/SjrK7Osnc6JsG?= =?Windows-1252?Q?TLpSOIr0JMDUVPvuf1VgBbVDjgVkvKErNVeAWPHvWJ8ztQEJhIbX7ncb?= =?Windows-1252?Q?L/BUzosg0nBMjA+tuKjwBe28tKuhYBiRVvKVZaWis9yj2fDPuP/okLJl?= =?Windows-1252?Q?oaTcMY3MAPXgstHgwRnLF3K9kkUDiZhJKcfGRr3zcYTEEuQ7pOuTgIJQ?= =?Windows-1252?Q?V02cruiXfdc94vskP3XsQ7cCW9M79+w9VjCHnXrfnTPFdvGosq6XAOTm?= =?Windows-1252?Q?7WCHdn+JZ/gYEhaPRHYLHesf3XiVP5atRuN8y4c0sNixAoYppu6JJ4rE?= =?Windows-1252?Q?5HQIdLyx0eGEL2ch9LxWYGDyG5z1VtIEUqQYS/QvwTQh8xrizbmjmzEN?= =?Windows-1252?Q?FZY7d1ojH9xbEijmq7E=3D?= X-OriginatorOrg: seco.com X-MS-Exchange-CrossTenant-Network-Message-Id: d91ffef2-c368-4f31-3414-08da02b5dd64 X-MS-Exchange-CrossTenant-AuthSource: DB7PR03MB4523.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Mar 2022 16:48:55.3951 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: bebe97c3-6438-442e-ade3-ff17aa50e733 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: bL63wHFSKS+9w3HjVP27IoG5M9hZGrYF9Zin4me/HHAtDFr2UZ68ZENz1v7HyJggFZ/iO7gnDx7DrXQKMCTiaA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR03MB2980 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 Hi Tom/Andre, On 3/4/22 1:46 PM, Tom Rini wrote: > On Fri, Mar 04, 2022 at 12:19:27PM -0500, Sean Anderson wrote: >> Hi Andre, >> >> On 3/4/22 6:47 AM, Andre Przywara wrote: >> > On Fri, 4 Mar 2022 02:06:03 +0100 >> > Linus Walleij wrote: >> > >> > Hi, >> > >> > Linus, thanks for the heads up, much appreciated! >> > >> >> On Thu, Mar 3, 2022 at 9:44 PM Sean Anderson wrote: >> >> >> >> > The main device affected by these changes is vexpress64, so I'd appreciate >> >> > if Linus (or anyone else) could try booting. >> > >> > As it happens, I am sitting on a series updating vexpress_aemv8a_semi, and >> > letting it use OF_CONTROL. I will send this ASAP. >> > As it turned out, the automatic semihosting boot command is actually broken >> > in v2022.01, the fix is the first patch in my series. This clashes with >> > this series, but it's easy to resolve. >> >> I, for one, appreciate that the boot command is no longer all one line after >> your series. >> >> Simon/Tom, which series would you like to be based off the other? > > I think it's however it's easiest for you two to collaborate. I think it will be cleaner for me to base my series on his, but I just want to avoid having to rebase a lot :) >> > From skimming over this series here, it looks quite nice, I especially love >> > promoting the semihosting load to a proper filesystem. The only drawback >> > seems to be that this will break existing scripts used by people in their >> > deployments, which rely on the smhload command. I don't really know if >> > there are actually any users doing so, but I guess we will find out. >> >> Yeah, I'm not sure what the stance on shell compatibility is. As I understand >> it, for the C API only in-tree users matter. However, shell commands are more >> of an "external" API, used by distro boot scripts. Simon/Tom, what's the >> process for this? > > Well, in this case we can be a bit more cavalier than typical because of > the very limited user base. So long as we have good documentation > around it including something around how to transition to the new > commands, it should be fine to do so, when the code is otherwise ready. OK, I will add some more documentation about transitioning to this series. --Sean