From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 29 Aug 2022 18:59:34 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oSi6n-000gaA-RX for lore@lore.pengutronix.de; Mon, 29 Aug 2022 18:59:34 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1oSi6n-0005Fb-2g; Mon, 29 Aug 2022 18:59:33 +0200 Received: from mail-eopbgr70079.outbound.protection.outlook.com ([40.107.7.79] helo=EUR04-HE1-obe.outbound.protection.outlook.com) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oSi64-0005FS-Ro for ptxdist@pengutronix.de; Mon, 29 Aug 2022 18:58:49 +0200 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DMP5ahxkHz4UbLM6lztIgWHQcOjZ8WriDo7EjqZhh9DSNuaoU25fDHZeZ6SmKxcS96DhWi8UgjF4vge+vJk0xwfRabCmxMwgUtER0pydjmvp+cKAeZWRtOUwLK2R4sM9B1O1vGI3cueVdcA2IUENquZs8yRNFdFrwaHZ1sbn+wxtKxYOSu7GKHNo/bRrVPGbou9sBeCNW+YNIG9M4ZSd79E/txmyvuJHyBiTOMJ/y3GZsC9BqobOeAdzFbYzWtlVJXfj8dwsSNk/nlK36+EqkDuHl23n9Owsin+T1Of9P7Ui3y1J4qeh5rJoTGTleQa8Kp5SswgMwrT8PSZgMhNsjg== 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=lqrjTTnT1Ez6AZ0C6kAl62WPnpoJdmM+aVqu75peyF4=; b=O4gY2f33juxG0bCWS5yBzwlxhQGg4aklWX2vt54tOtUsX2RGyrdqsUpJh0gMEZ0HNyT+rOqtMM2j8QR7EGj2RCTRDF985HKEhfBGJVRgmAnrsZaRXKf35e0Qgp9t6h5kL5E6djEni+kBixUB5+/PmG6W0cmJARt5vTkFLSaSnlprsavwfgEkf5Nj+yo9DyuS/XMumNeqy3lLrut9uJXE8aJTKZTjuUnraA7mWMW/vylhiDpIhHg5YraR344rus9c+P+L7QthQwiaprEajNrqqvY2YtIEdQffv+DcxlCDVuxdZLMIiyT0R2dt/sHj1ylzX/4NxWqFaH5Mcx4hvRX9Pw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=t2data.com; dmarc=pass action=none header.from=t2data.com; dkim=pass header.d=t2data.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=t2datacom.onmicrosoft.com; s=selector1-t2datacom-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lqrjTTnT1Ez6AZ0C6kAl62WPnpoJdmM+aVqu75peyF4=; b=HGPAfLezXZMRagaNSAZeeUyXz7oaVVB6tiBLEhecjr0MciUGRcbK3UWMSacSyRMbjFXFZKa4IhSq5P6/IrTwKYRs1u9bWOa1AyDgYvTfOOgcnOEUHhMakeZ0e1ceIovWA/Lx6QmxKpaadkN0KddD6rBmrhBdkgGh/w+pivX81us= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=t2data.com; Received: from DB9P251MB0618.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:334::22) by DB9P251MB0188.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:2cc::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5566.21; Mon, 29 Aug 2022 16:58:45 +0000 Received: from DB9P251MB0618.EURP251.PROD.OUTLOOK.COM ([fe80::a130:b2a7:9ffa:f1b6]) by DB9P251MB0618.EURP251.PROD.OUTLOOK.COM ([fe80::a130:b2a7:9ffa:f1b6%7]) with mapi id 15.20.5566.021; Mon, 29 Aug 2022 16:58:45 +0000 Message-ID: <979bfe94-2c54-bba5-a1e9-4337f863f7b0@t2data.com> Date: Mon, 29 Aug 2022 18:57:03 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.1.2 To: Alexander Dahl References: <20220826133537.1843791-1-christian.melki@t2data.com> <2026849.Kn9BfFgYnX@ada> Content-Language: en-US From: Christian Melki In-Reply-To: <2026849.Kn9BfFgYnX@ada> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: GV3P280CA0082.SWEP280.PROD.OUTLOOK.COM (2603:10a6:150:a::10) To DB9P251MB0618.EURP251.PROD.OUTLOOK.COM (2603:10a6:10:334::22) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2b7cb29d-3d5d-4b7d-2051-08da89dfbbfa X-MS-TrafficTypeDiagnostic: DB9P251MB0188:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: tX74Ah/NIiNaTuw4u8WvUGYqggRg6FW+fzLQXoYMGBIvEKvDDgX+BMLsqJGHNDNGQENoq9LvgcZO4HusSiy6tEyxAYSY55vqSIfkGEhoiti5dRJJ7AsQj3b1NTrXQDV4907EkzkUA6w+cQ55aFsCZBYANYuXMOljDeGUBUwXB1XtG6bvjRbh4CkOKpLgIIMT1UAjyGexcS5I7DtjRnnT09YKlriy1DjzuhIta1WT9q5aCHPMB8BytQIsNDQC6+NtW16db6kZwCDa9niLgpdC3qpDHPvxIGjTpk6kVtCyjBGGolfInoVypSWqJALgra65VEVYhVtYDkvnOUMW6bM/Q2AmrGN5h9p3hIoKQEtk3umwnCOuWsRfLWlsVpqP3MtCq9pZxhXnW4jVPSbopC003wwmnK9oXIZXmTFZoLL/3jqZT+6aARhygnxpgQHILTIJ5NzV6t0P0H51o4JDkVGQdQwQB0LppWie1E1nUxjIt8EM4szpeTHG6zXnmHrYkg3y2D3GueQkgVWGeGHclymxDvFRRpeEDI8NP5wAnWse+/OaatzRNJa5k78iRaY0mphhYUKcCYiprhqB82+kJf/sivrKJymsFO/v8mXBB9D1MYhKMjqxZ+AyI+zxr+1mf45n+NM3beWaTJotX2HIVR9NF4m9YBjEfaDQvqF4rO5rjr4kxYPBPuEFG+aC2KQ4v6qTEqBVCH+KP0/osRKNBtCovT69LIHMMSva8bB5aTd4VxYHW+VE4ODB1PxSp9yhlBL7TfKIs9mSHFxhv3x//enjvc9qMcI19YKELk2rKjCq8qCYEC+0EXBDsVl6FI0tb1gx X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB9P251MB0618.EURP251.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230016)(376002)(39830400003)(346002)(396003)(366004)(136003)(38100700002)(186003)(6512007)(2906002)(26005)(316002)(31686004)(36756003)(6916009)(3450700001)(8936002)(66946007)(6666004)(2616005)(44832011)(66476007)(53546011)(5660300002)(966005)(8676002)(4326008)(478600001)(6486002)(66556008)(6506007)(83380400001)(41300700001)(86362001)(31696002)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?QVFKdW0rOXkwTVRTQzJPZzBXYk1kSmJVbE1Da0xHVmlNOGVhKzZsRXp3clRj?= =?utf-8?B?NERrNjd5dDVzQ21YaEN0N0hrMkxCRVBJK0FCTURhaH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d3o1Z096TnJuVlFKR0xlQWZKeWo0cE10bmtW?= =?utf-8?B?K3kwR0oySDEzTElxc2xMSTJlS24zejh6Q3pqc0VrekRUV2lib3RhcWtUeTdG?= =?utf-8?B?VS9tK0xsQ2V3R1F1Z2VIMlJlZnpRWitXaWtMNFl5N2U5bU9TckF6VEtzL1A2?= =?utf-8?B?K25IcldDT0hIMzVKdEh4dUkyclRUV1FGMFpOSGhvZXZlOEo3TnpwaXBseDJM?= =?utf-8?B?d1Y2VWVkbU1ITk9kQ1JFMXFHaFAwek56dUo0SHlBQ2I5czk5SU9EdWtEWVFH?= =?utf-8?B?S1E9PQ==?= X-OriginatorOrg: t2data.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2b7cb29d-3d5d-4b7d-2051-08da89dfbbfa X-MS-Exchange-CrossTenant-AuthSource: DB9P251MB0618.EURP251.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Aug 2022 16:58:45.2196 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 27928da5-aacd-4ba1-9566-c748a6863e6c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: f/OPgNAIfTno33tZrJjt7/rTXBvZFZdCedGn/F1tR3AyO4FMRTcbN7vIQ66njgskFAWCiD3eeKwMXEqkih8rLZXdJH9To92M/aqoenCtuHY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9P251MB0188 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.ext.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [ptxdist] [PATCH 1/3] u-boot: Move u-boot URL to github. X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de, christian.melki@t2data.com Cc: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false On 8/29/22 10:49, Alexander Dahl wrote: > Hello Christian, > > Am Freitag, 26. August 2022, 15:35:35 CEST schrieb Christian Melki: >> * Make URL configurable. Also. This aids in pointing >> ptxdist to various vendor specific releases. >> * Make compression format .tar.gz. Default >> github contains such releases for really old releases, >> so it should be fine. >> * Bump default version to something more recent. >> Just cosmetics really. > > What's the motivation for moving this to a mirror of the official sources? > According to https://u-boot.readthedocs.io/en/latest/build/source.html the > main and official forge is https://source.denx.de/u-boot/u-boot and > additionally https://ftp.denx.de/pub/u-boot/ still contains all release > tarballs up to the most recent RCs. This is also mentioned in the README in > top level U-Boot source. > > Greets > Alex > The point beeing similarity between various vendor releases and vanilla u-boot releases. But since the URL is configurable.. whichever really. Github API has the advantage of being able to tell you about new releases, should such a tool ever be adapted to ptxdist. I actually tried asking about github as an official source on irc, but nobody cared to answer. regards, C >> >> Signed-off-by: Christian Melki >> --- >> platforms/u-boot.in | 11 +++++++++-- >> rules/u-boot.make | 4 ++-- >> 2 files changed, 11 insertions(+), 4 deletions(-) >> >> diff --git a/platforms/u-boot.in b/platforms/u-boot.in >> index 769237081..8c7931d13 100644 >> --- a/platforms/u-boot.in >> +++ b/platforms/u-boot.in >> @@ -9,13 +9,20 @@ menuconfig U_BOOT >> >> if U_BOOT >> >> +config U_BOOT_URL >> + string >> + default "https://github.com/u-boot/u-boot/releases/tag" >> + prompt "U-Boot URL" >> + help >> + Enter the U-Boot URL you want to use. >> + >> config U_BOOT_VERSION >> string >> - default "2019.01" >> + default "v2022.01" >> prompt "U-Boot version" >> help >> Enter the U-Boot version you want to build. Usually something like >> - "2019.01". >> + "v2022.01". >> >> config U_BOOT_MD5 >> string >> diff --git a/rules/u-boot.make b/rules/u-boot.make >> index cadca4a6b..1ba6d47b0 100644 >> --- a/rules/u-boot.make >> +++ b/rules/u-boot.make >> @@ -19,8 +19,8 @@ PACKAGES-$(PTXCONF_U_BOOT) += u-boot >> U_BOOT_VERSION := $(call ptx/config-version, PTXCONF_U_BOOT) >> U_BOOT_MD5 := $(call ptx/config-md5, PTXCONF_U_BOOT) >> U_BOOT := u-boot-$(U_BOOT_VERSION) >> -U_BOOT_SUFFIX := tar.bz2 >> -U_BOOT_URL := https://ftp.denx.de/pub/u-boot/$(U_BOOT).$(U_BOOT_SUFFIX) >> +U_BOOT_SUFFIX := tar.gz >> +U_BOOT_URL := $(PTXCONF_U_BOOT_URL)/$(U_BOOT_VERSION).$(U_BOOT_SUFFIX) >> U_BOOT_SOURCE := $(SRCDIR)/$(U_BOOT).$(U_BOOT_SUFFIX) >> U_BOOT_DIR := $(BUILDDIR)/$(U_BOOT) >> U_BOOT_BUILD_DIR := $(U_BOOT_DIR)$(call ptx/ifdef, >> PTXCONF_U_BOOT_BUILD_OOT,-build) > > > >