From patchwork Fri Aug 30 10:16:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Forissier X-Patchwork-Id: 823962 Delivered-To: patch@linaro.org Received: by 2002:a5d:48c1:0:b0:367:895a:4699 with SMTP id p1csp700692wrs; Fri, 30 Aug 2024 03:17:27 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVSgzC2myavC4eRIg1gDWBfVm40UfVgWo2Np7g8Z9XkskTNckiYVucA0KBLJpyFokpMNRf/Iw==@linaro.org X-Google-Smtp-Source: AGHT+IGz2YYmbukoiEP2Pgh/pnHIn15GrvTaBgEi9WB1pVUcYp3Thn6o6sLz65ieycRK4VUo8Odu X-Received: by 2002:a17:907:728b:b0:a86:79a2:ab15 with SMTP id a640c23a62f3a-a897f920178mr436771166b.40.1725013047306; Fri, 30 Aug 2024 03:17:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1725013047; cv=none; d=google.com; s=arc-20240605; b=WbWR8NcOwZw6U+4gICOhJl0JjD2b60oH7GP4yz7rytHvqv2X0CRnRxqo5mHQSkpfsj JJgb9uprfTuqIGOhgOgsf/yMVvyCrHPtGFKgnpNgv8jQiKz3v2ODqRrzGv2xMSi2138S cMYT0qY9uUcsxUVlg8c23RTNE1NH19yPs2SqpXP7aP0VeVQ3ryrTPSqP6P5yMZzco/PS Ft1Rmu++s8Fu4Jk8HO3obnBzjAiI299TcWaCK0Rgu8a4LS7Qk3dA7gi1oatCBn55XcDO YYX+ItWwcyAGdgCe7Pd4RydFBJCsfy7jrrSfcDD+0niVzg0TFNmsNsU1G59j33lfTBSm DjsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=/MPcX4J/nKvfQZbm5Jwvt3IQGybrl2ThSOVeM+rcY70=; fh=jdd5Olq6SLzCNnLmAOSttoAIn6/q4j54CnwFpRU1gLM=; b=jnKEpJRN/xkgPqV8OSIMVvP5GnAJit84azDjRbbdEsK8hAVEBZ0hrXQp+44BIoXIrT 4czbQKpCQCuLBEevxSy9GZj9eLqZ9HpDFVhXKE9VcxW9DzcQwwufqNzHTjr98uiEo56A tyiCsIkgE0phw7EZmfDU53EMldRTJGjTIHkO/OoKob5IXyjswIxgLlGnzC0Bzx8LAAKP v1gHzfdjKf/fwzN634qnSGKQi2HEAyqGTblqHz82jBZ5Uj080oS2Zoe1ZZ7BHjX9aWSJ ZvnnRAGIIwzlmKFDnSiFN3ONqWioDu149umrDvT0b9xU4am1yG3n52bam3gTINLMkC9h +nTw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="VfPUe/0c"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id a640c23a62f3a-a89891696d6si284144466b.567.2024.08.30.03.17.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Aug 2024 03:17:27 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="VfPUe/0c"; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id D254688896; Fri, 30 Aug 2024 12:17:25 +0200 (CEST) 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="VfPUe/0c"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DC63A888C1; Fri, 30 Aug 2024 12:17:23 +0200 (CEST) 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-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) (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 898718817C for ; Fri, 30 Aug 2024 12:17:21 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=jerome.forissier@linaro.org Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-42bbc70cc19so3425535e9.0 for ; Fri, 30 Aug 2024 03:17:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1725013041; x=1725617841; darn=lists.denx.de; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=/MPcX4J/nKvfQZbm5Jwvt3IQGybrl2ThSOVeM+rcY70=; b=VfPUe/0cxgvNkwfvFadWhD2HZ4FB3hffWEqk4dYE7qf55WSRTLH2XOegc09ZDJDq1A bBDCqIl9Gl62rmBicnzNr5pqaNthXWwuq3AffiZBPJLlQ2BRceajZafFn+6R5qM59CHY zblEOBGF3DJrvmV7VaeZEEnB56Jj5d74lMKrAAed9/cm8qjk8m+7jba4lkDNy++q7gZ5 ff6gUWr1fIdJNUlLhhMqy2HNoM072Zegbx3dzdP2SKMbpCpES2l1asm7Up3AWxz66qNT C6RoaM5IrW9XKkxrUy7PhjkPUB5LNhHUzQ9Ox4/MFNXlgxrlyhCoXoTEp+T5Unrgo2yu fTfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725013041; x=1725617841; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/MPcX4J/nKvfQZbm5Jwvt3IQGybrl2ThSOVeM+rcY70=; b=E05rMDOSUCnjb+6SJGLbIh/oN7K1Ffxnj/jzmKB0EAdxOPGK9wrF3tiX3mFdwfxvO9 NeomwZ6mSE7ptzGVsKYH5N2wBiM+umXhQQFzx57iYPk/QC/nqspBhQas1HRBm0M2e/3i rgnpXpVO/lamlrwMiKJeDnxIj55QUZ7PcaSLISsfFsqAlDkQiPbl40W8Jd6b/oAiQ0jH t9s7uLDQT0AfuZWLld0izhdRskwjLgLNTjzsmuWDPmN3x3cQnogYVUhUnEhj/G8p6x4K NJlpSAjOLU4HBcvOXnRQl6OWedqrccfViIcLjdy0va1CvC0Hql+QQXqJ67sC9x/J4Dnu X3kw== X-Gm-Message-State: AOJu0Yxe/EQlN3poHqXfxQvtdxbgibtzpfxu++8QH9hLVIJvs7XROaKV +dwXegJgKor8OlcT7zZWH53xS6JqQ+rCvUy8VyNpiFDSL9M11C9p4J7pPQhjVKaImvGiTlabvgl qR6tevA== X-Received: by 2002:adf:8bd1:0:b0:362:8ec2:53d6 with SMTP id ffacd0b85a97d-3749b5948fdmr3849913f8f.61.1725013040585; Fri, 30 Aug 2024 03:17:20 -0700 (PDT) Received: from builder.. ([2a01:e0a:3cb:7bb0:6417:8cf6:a7f7:ee38]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-374b6a3d27fsm472728f8f.59.2024.08.30.03.17.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Aug 2024 03:17:20 -0700 (PDT) From: Jerome Forissier To: u-boot@lists.denx.de Cc: Ilias Apalodimas , Peter Robinson , Jerome Forissier Subject: [PATCH v2 00/16] Miscellaneous fixes Date: Fri, 30 Aug 2024 12:16:43 +0200 Message-Id: X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 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.8 at phobos.denx.de X-Virus-Status: Clean Miscellaneous fixes made when developing the lwIP series [1]. They are posted separately since they make sense on their own. Subsequent versions of the lwIP series will contain a squashed version of this one. [1] http://patchwork.ozlabs.org/project/uboot/list/?series=420712&state=%2A&archive=both Changes in v2: - Rebased onto master - "flash: prefix error codes with FL_" Update drivers/mtd/altera_qspi.c too. This was mentioned by Simon G. in my lwIP v9 thread [1]. Tom R./Ilias A./Peter R.: I kept your R-b tags, please shout if it's not OK. - "net: fm: call dtsec_init_phy() only when it is defined" Address Simon G.'s comments: update condition (parentheses, CONFIG_BITBANGMII, if instead of #if). Peter R: I dropped your R-b since the code changed significantly. - New patches: "common: update: UPDATE_COMMON implies CMD_TFTPBOOT" "cmd: pxe: CMD_PXE implies CMD_TFTPBOOT" "buildman/toolchain.py: set CROSS_COMPILE only if self.cross is set" [1] https://lists.denx.de/pipermail/u-boot/2024-August/563497.html Jerome Forissier (16): Makefile: detect HOST_ARCH properly when CROSS_COMPILE is multi-word buildman/toolchain.py: set CROSS_COMPILE only if self.cross is set flash: prefix error codes with FL_ at91: rename mem_init() to at91_mem_init() arm: omap2: add missing #include net: fm: call dtsec_init_phy() only when it is defined net: wget: removed unused function wget_success() net: phy: ncsi: depend on NET net: ftgmac100: depend on NET net: wget: allow EFI boot net: fec_mxc_init(): do not ignore return status of fec_open() test/py: net_boot: fix comment test/py: test_efi_loader: add missing dependency on cmd_tftpboot test/py: test_efi_loader: add HTTP (wget) test for the EFI loader common: update: UPDATE_COMMON implies CMD_TFTPBOOT cmd: pxe: CMD_PXE implies CMD_TFTPBOOT Makefile | 2 +- arch/arm/mach-at91/include/mach/at91_common.h | 2 +- arch/arm/mach-at91/spl_at91.c | 2 +- arch/arm/mach-at91/spl_atmel.c | 2 +- arch/arm/mach-omap2/omap3/emac.c | 1 + .../atmel/at91sam9m10g45ek/at91sam9m10g45ek.c | 2 +- board/atmel/at91sam9n12ek/at91sam9n12ek.c | 2 +- board/atmel/at91sam9x5ek/at91sam9x5ek.c | 2 +- .../atmel/sama5d27_som1_ek/sama5d27_som1_ek.c | 2 +- .../sama5d27_wlsom1_ek/sama5d27_wlsom1_ek.c | 2 +- board/atmel/sama5d2_icp/sama5d2_icp.c | 2 +- .../atmel/sama5d2_xplained/sama5d2_xplained.c | 2 +- .../atmel/sama5d3_xplained/sama5d3_xplained.c | 2 +- board/atmel/sama5d3xek/sama5d3xek.c | 2 +- .../atmel/sama5d4_xplained/sama5d4_xplained.c | 2 +- board/atmel/sama5d4ek/sama5d4ek.c | 2 +- board/cobra5272/flash.c | 26 ++++---- .../conclusive/kstr-sama5d27/kstr-sama5d27.c | 2 +- board/freescale/m5253demo/flash.c | 6 +- board/gardena/smart-gateway-at91sam/spl.c | 2 +- board/siemens/corvus/board.c | 2 +- board/siemens/smartweb/smartweb.c | 2 +- board/siemens/taurus/taurus.c | 2 +- cmd/Kconfig | 1 + common/Kconfig | 1 + common/flash.c | 44 ++++++------- drivers/mtd/altera_qspi.c | 4 +- drivers/mtd/cfi_flash.c | 36 +++++------ drivers/net/Kconfig | 1 + drivers/net/fec_mxc.c | 3 +- drivers/net/fm/eth.c | 10 ++- drivers/net/phy/Kconfig | 1 + include/flash.h | 20 +++--- net/wget.c | 11 ++-- test/py/tests/test_efi_loader.py | 62 ++++++++++++++----- test/py/tests/test_net_boot.py | 2 +- tools/buildman/toolchain.py | 4 +- 37 files changed, 155 insertions(+), 118 deletions(-)