From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1DEFA224AF7 for ; Thu, 26 Mar 2026 19:27:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.46 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774553255; cv=none; b=TLiY/YKyAPMRbKIuUult0YqBirV3+P2u679Dewc0z2CqZZsc1STO8gNAl7n6TSaRCZvu39CuDZDJG86SE0Tm6fSQlkTnYcAd3KZwMKL4u2oGIUVoB/Wr81UzLvAJeH/zBQpoevhHtUUcvvhckW35/q7VaTgrKuK0x2LKmxLrTnw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774553255; c=relaxed/simple; bh=oBMMAlwinubRFddv3ZGCCH1xk3ZumPAvVXDHSRlSvQ4=; h=Mime-Version:Content-Type:Date:Message-Id:Subject:From:To:Cc: References:In-Reply-To; b=tyq+heRoLOM7QYjmn7QfBUhwJufvhF5CdqgRxSvq40XDsivFkv0nVs9GkopgFnUZUDvx1V3RUzZ58/r+IHceu2VxkeMw9QoiGLLVOyc7hS33LMUQjii64EFgKFCSqxugErTHAgYfDCKx+xZfxtu855KZrbqO1WE9oBRpzJo5E0A= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=altlinux.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.167.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=altlinux.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lf1-f46.google.com with SMTP id 2adb3069b0e04-5a277f77876so178151e87.3 for ; Thu, 26 Mar 2026 12:27:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774553252; x=1775158052; h=in-reply-to:references:cc:to:from:subject:message-id:date :content-transfer-encoding:mime-version:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=a4U37jloRCxGaogcODaSOdFLwJV6DsZwdbebE3/dYeE=; b=nKxZ5Ch6zeMZIt8F6HV+EUH2B/dCfp9Y6wuYzGpXw4sfAK6lTI+d3f16HuclKadLs7 /0nXi75yGa1LcwX860TR0L9SUvOnTBIzV9XuNyXaIxUZulGhx/PeqY5FqaamNcOHZDIk v0AT8pGZZkrXIoR0m0N4WIvqdqF5dkWtgk53oU+XIdM6FJ8gBIwHD/9bUXPdQg7vuhT2 fOZZAWcCNDq3UCfGUD1etkpEwDAdECBMDoCp0oTl3J+gtsBHQBP7by+yd1qnhpIgcCTj W44jX7VqTvKNt1/WNirI6tG8z05jNIaQ7bdrhN2NDnm2GoAWThGZi4T4FdSmeBL28a+C 6+fA== X-Forwarded-Encrypted: i=1; AJvYcCU6u4/lHamwgfH7Wn8arEIrHuzlBdgFUVAf3ooOe2DT6PKRfkSLSmD8ueB3KKPERKdtbNKIGRXXWDZ3LYU=@vger.kernel.org X-Gm-Message-State: AOJu0YzYfz1Hb/RGyX8aYFd/XjUNWYr2A/ERyIl2Yz3yMg5BcxEkwMJ4 UQH6nHdmZZZKPpu7WOxPFrU9/9STFMzwoMcQsgHtBASXQEgY+5wjowvn X-Gm-Gg: ATEYQzxiPLXineQp3igu1tykk7Zu7fCfTw8+0eNlm1/yDaQmr+P0Z0J4EuOAehFsWX1 b0FKE5ReEgon9SsOE7R6wH3WbjWbKLWa10jz2/Vgnqp/LuPIN16RIiDJfl8AT5RLdh5EXclK+WL Aq9NL0N8ReZxdHqx4Pez8NGs4YLIeHtDoIoorXIK+pYLdT4TNwpDeO3w0wNZhe7RFMKlPMJAu/G geU8WmQY0xk7f8Gw8vcRQdhY+L64UVyWrNKse9FFG+qcWrsqVOv4IgdcVEexFnKcWF9WEFkCaRN VSwq+GnROE1qp3YxgHVSx9gzGFav/9eiktFJE/GuKd4eMSiO8V67MikfYCUKOxH/iGY4zrWMZir zyF93drXal6H/O4JMpis6C6QGfCwCrDTQXQZvKMagQ2JndyqhOvym1096CK+4QJe2anP/pZq92V 6XUnpj+nkhMp0l1OmRjck3Gixgx9A5Ul0DXSP7J3+F+P2/Oso= X-Received: by 2002:a05:6512:3090:b0:5a2:845e:9d9a with SMTP id 2adb3069b0e04-5a29b9a6f5bmr1894370e87.6.1774553251990; Thu, 26 Mar 2026 12:27:31 -0700 (PDT) Received: from localhost ([176.106.245.85]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5a2a06486a7sm791414e87.25.2026.03.26.12.27.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 26 Mar 2026 12:27:31 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Thu, 26 Mar 2026 22:27:28 +0300 Message-Id: Subject: Re: [GIT PULL] ~RISC-V~Starfive devicetrees fixes for v7.0-rc6 From: "Ilya Sorochan" To: "E Shattow" Cc: , , , "Hal Feng" , "Conor Dooley" , "Heinrich Schuchardt" X-Mailer: aerc References: <20260326-astrology-rephrase-836ec663228b@spud> <4dd4ffe6-307a-442b-ae99-50c88d4e5b84@freeshell.de> <20260326-viscous-rigor-4beb18f77eec@spud> <9ec329b9-144f-4896-a89c-3af0b23e631e@canonical.com> In-Reply-To: <9ec329b9-144f-4896-a89c-3af0b23e631e@canonical.com> On Thu, Mar 26, 2026 at 07:36:07AM -0700, E Shattow wrote: > To be clear the "riscv: dts: starfive: jh7110-common: fix jh7110 SoC > boot from SD-card." commit does not affect Linux whatsoever, there is no > problem to boot Linux from SD Card impacted by having or not having this > commit. This also is not common, so should not be in jh7110-common, as > more JH-7110 SoC products by-the-numbers have transistor logic replacing > this signal selection to the StarFive loader in BootROM and so > precluding this from functioning. This commit affects U-Boot+Linux ability to boot from SD-card. Tested on StarFive VisionFive 2 and Pine64 Star64. I'm not aware if this is the same for other jh7110-based boards, but assume= d so. =20 > This ignores the wider discussion about StarFive both deprecating this > capability (for Secondary Program Loader i.e. U-Boot SPL) of StarFive > Loader in JH-7110 BootROM loading from SD Card being deprecated > officially in the latest StarFive JH-7110 Technical Reference Manual and > StarFive JH-7110 Boot User Guide documentation, and the ongoing GPL > non-compliance by StarFive for use of GPL 2.0+ code in the JH-7110 > BootROM; the latter being important if we want to accurately attempt to > support this deprecated feature set as a community (even when ignoring > for the moment this copyright license non-compliance). > > I have done an ~80%+ analysis on Ghidra decompilation of the JH-7110 > BootROM, and openly invite anyone that would like to help get this > effort to 100% is welcome to so that we may publish and refer to this > for technical competence. I do not object to the community supporting > this deprecated capability if there is any real documentation not based > on rumors and memes; but no one has offered to do take a moment to do > this most basic of fact finding. Evidently the StarFive maintainer(s) > have refused to support this, GPL non-compliance persists and only a > rough description from Hal has been written to the U-Boot developer mail > list that does not match my analysis, all while complaining about the > capability not being supported going forward. Appreciate the effort! However I can't see how this is related. I traced this property a little in the U-Boot repo: - 503fc8548197 Hal added it to VisionFive v1.3b (with mmc pins) - 6bbe95ef7208 Hal moved it (and other common things) into jh7110-common-u-boot.dtsi - 27f617019dd0 E removed it with jh7110-common-u-boot.dtsi - 762f85bb2e36 Tom squash-updated upstream dts New device trees did not contain this property. This is how they were intro= duced into the Linux: b127dbf9e1ebbfbcded4 ("riscv: dts: starfive: Add mmc nodes = on VisionFive 2 board") I do not know if this miss is intentional or not. However it would be nice = to be able to boot from SD-card again.