From: Dragan Simic <dsimic@manjaro.org>
To: Jonas Karlman <jonas@kwiboo.se>
Cc: Kever Yang <kever.yang@rock-chips.com>,
Simon Glass <sjg@chromium.org>,
Philipp Tomsich <philipp.tomsich@vrull.eu>,
Tom Rini <trini@konsulko.com>, FUKAUMI Naoki <naoki@radxa.com>,
Christopher Obbard <chris.obbard@collabora.com>,
Jagan Teki <jagan@amarulasolutions.com>,
u-boot@lists.denx.de
Subject: Re: [PATCH 28/31] rockchip: rk3399-rock-pi-4: Sync device tree from linux v6.8
Date: Mon, 01 Apr 2024 01:30:21 +0200 [thread overview]
Message-ID: <75e6364e805a9c5e13cab992b4c19b42@manjaro.org> (raw)
In-Reply-To: <2db72cee-f53e-4b2e-9e35-24883bc63bd6@kwiboo.se>
On 2024-04-01 01:14, Jonas Karlman wrote:
> On 2024-04-01 00:53, Dragan Simic wrote:
>> Please see my comments below.
>>
>> On 2024-03-31 22:28, Jonas Karlman wrote:
>>> Sync rk3399-rock-pi-4 related device tree from linux v6.8.
>>>
>>> Add SPI flash related options to support booting from SPI flash.
>>>
>>> Add AHCI=y, SCSI_AHCI=y, AHCI_PCI=y and SCSI=y to support PCIe SATA
>>> boot.
>>
>> As we know, these boards have no standard connectors for PCI Express
>> expansion cards, which makes me wonder how many users actually use M.2
>> PCI Express modules with SATA controllers on them with these boards,
>> and need support for them in U-Boot?
>>
>> I mean, it can't hurt, but frankly, I'm not 100% sure about it.
>
> With the M.2 Extension Board [1] and a M.2 to PCIe X4 adapter it is
> very
> easy to convert the M.2 slot into a standard PCIe X4 slot and use it
> with a PCIe SATA card. At least that is how I have tested and used
> this.
I was aware of the M.2 extension board sold by Radxa, but frankly,
using it together with another adapter (M.2 to standard PCIe x4 slot)
is a cumbersome setup. The whole thing becomes at least three times
the size of the SBC, with cables and a dangling PCIe card. :)
I had in mind an M.2 module with a PCIe SATA controller. [2] Something
like that, used together with the M.2 extension board, would actually
make a rather neat setup.
[2]
https://www.reddit.com/r/selfhosted/comments/s0bf1d/m2_sata_expansion_anyone_use_something_like_this/
> I do think there will be many users of PCIe AHCI/SATA, but with this
> series I try to get all boards to have same feature set as long as
> there
> is some way to use a feature.
I guess it can't hurt in the end.
> [1] https://radxa.com/products/accessories/m2-extension-board
>
>>> Change to SPL_MAX_SIZE=0x40000, SPL can be up to 256 KiB.
>>>
>>> Add ROCKCHIP_IODOMAIN=y to configure io-domain voltage.
>>>
>>> Add PHY_REALTEK=y and DM_ETH_PHY=y to support ethernet PHY.
>>>
>>> Remove SPL_TINY_MEMSET=y to use full memset in SPL.
>>>
>>> Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
>>
>> Otherwise, looking good to me.
>>
>> Reviewed-by: Dragan Simic <dsimic@manjaro.org>
>
> Thanks!
>
> Regards,
> Jonas
>
>>> ---
>>> arch/arm/dts/rk3399-rock-4c-plus-u-boot.dtsi | 12 ++++++++++
>>> arch/arm/dts/rk3399-rock-4c-plus.dts | 1 +
>>> arch/arm/dts/rk3399-rock-4se-u-boot.dtsi | 12 ++++++++++
>>> arch/arm/dts/rk3399-rock-pi-4.dtsi | 4 +++-
>>> arch/arm/dts/rk3399-rock-pi-4c-u-boot.dtsi | 7 ++++++
>>> arch/arm/dts/rk3399-rock-pi-4c.dts | 10 ++++++++
>>> configs/rock-4c-plus-rk3399_defconfig | 24
>>> +++++++++++++++-----
>>> configs/rock-4se-rk3399_defconfig | 23
>>> +++++++++++++++++--
>>> configs/rock-pi-4-rk3399_defconfig | 8 +++++++
>>> configs/rock-pi-4c-rk3399_defconfig | 24
>>> ++++++++++++++++++--
>>> 10 files changed, 114 insertions(+), 11 deletions(-)
>>>
> [snip]
next prev parent reply other threads:[~2024-03-31 23:30 UTC|newest]
Thread overview: 108+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-31 20:28 [PATCH 00/31] rockchip: rk3399: Sync DT with linux v6.8 and update defconfigs Jonas Karlman
2024-03-31 20:28 ` [PATCH 01/31] rockchip: rk3399-gru: Fix max SPL size on bob and kevin Jonas Karlman
2024-04-23 10:59 ` Kever Yang
2024-03-31 20:28 ` [PATCH 02/31] rockchip: rk3399-ficus: Enable TPL and use common bss and stack addr Jonas Karlman
2024-04-02 13:10 ` Quentin Schulz
2024-04-02 13:47 ` Jonas Karlman
2024-04-03 4:45 ` Peter Robinson
2024-04-23 11:00 ` Kever Yang
2024-03-31 20:28 ` [PATCH 03/31] rockchip: rk3399: Sort imply statements alphabetically Jonas Karlman
2024-04-23 11:01 ` Kever Yang
2024-03-31 20:28 ` [PATCH 04/31] rockchip: rk3399: Enable ARMv8 crypto and FIT checksum validation Jonas Karlman
2024-04-02 13:22 ` Quentin Schulz
2024-05-01 11:37 ` Jonas Karlman
2024-04-23 11:01 ` Kever Yang
2024-03-31 20:28 ` [PATCH 05/31] rockchip: rk3399: Enable random generator on all boards Jonas Karlman
2024-04-02 13:55 ` Quentin Schulz
2024-04-03 4:44 ` Peter Robinson
2024-04-23 11:01 ` Kever Yang
2024-03-31 20:28 ` [PATCH 06/31] rockchip: rk3399: Imply support for GbE PHY Jonas Karlman
2024-04-02 13:56 ` Quentin Schulz
2024-04-23 11:01 ` Kever Yang
2024-03-31 20:28 ` [PATCH 07/31] rockchip: rk3399: Enable DT overlay support on all boards Jonas Karlman
2024-04-02 13:56 ` Quentin Schulz
2024-04-23 11:02 ` Kever Yang
2024-03-31 20:28 ` [PATCH 08/31] rockchip: rk3399: Remove use of xPL_MISC_DRIVERS options Jonas Karlman
2024-04-02 14:23 ` Quentin Schulz
2024-04-23 11:02 ` Kever Yang
2024-03-31 20:28 ` [PATCH 09/31] rockchip: rk3399: Add a default spl-boot-order prop Jonas Karlman
2024-04-02 14:02 ` Quentin Schulz
2024-05-01 11:47 ` Jonas Karlman
2024-04-23 11:02 ` Kever Yang
2024-03-31 20:28 ` [PATCH 10/31] rockchip: rk3399: Fix loading FIT from SD-card when booting from eMMC Jonas Karlman
2024-04-02 14:31 ` Quentin Schulz
2024-04-23 11:03 ` Kever Yang
2024-03-31 20:28 ` [PATCH 11/31] clk: rockchip: rk3399: Rename SCLK_DDRCLK to SCLK_DDRC Jonas Karlman
2024-04-01 8:56 ` Sumit Garg
2024-04-01 9:49 ` Jonas Karlman
2024-04-23 11:03 ` Kever Yang
2024-03-31 20:28 ` [PATCH 12/31] clk: rockchip: rk3399: Add dummy support for ACLK_VDU clock Jonas Karlman
2024-04-23 11:03 ` Kever Yang
2024-03-31 20:28 ` [PATCH 13/31] clk: rockchip: rk3399: Add dummy support for SCLK_PCIEPHY_REF clock Jonas Karlman
2024-04-02 14:44 ` Quentin Schulz
2024-05-01 11:58 ` Jonas Karlman
2024-04-23 11:03 ` Kever Yang
2024-03-31 20:28 ` [PATCH 14/31] clk: rockchip: rk3399: Add SCLK_USB3OTGx_REF support Jonas Karlman
2024-04-02 14:46 ` Quentin Schulz
2024-04-23 11:03 ` Kever Yang
2024-03-31 20:28 ` [PATCH 15/31] rockchip: rk3399: Sync soc device tree from linux v6.8 Jonas Karlman
2024-04-02 15:02 ` Quentin Schulz
2024-05-01 12:06 ` Jonas Karlman
2024-04-23 11:03 ` Kever Yang
2024-03-31 20:28 ` [PATCH 16/31] rockchip: rk3399-gru: Sync " Jonas Karlman
2024-04-23 11:03 ` Kever Yang
2024-03-31 20:28 ` [PATCH 17/31] rockchip: rk3399-puma: Sync DT " Jonas Karlman
2024-04-02 15:13 ` Quentin Schulz
2024-04-23 11:08 ` Kever Yang
2024-03-31 20:28 ` [PATCH 18/31] rockchip: rk3399-rock-pi-n10: Sync device tree " Jonas Karlman
2024-04-23 11:09 ` Kever Yang
2024-03-31 20:28 ` [PATCH 19/31] rockchip: rk3399-eaidk-610: " Jonas Karlman
2024-04-23 11:09 ` Kever Yang
2024-03-31 20:28 ` [PATCH 20/31] rockchip: rk3399-leez: " Jonas Karlman
2024-04-23 11:09 ` Kever Yang
2024-03-31 20:28 ` [PATCH 21/31] rockchip: rk3399-evb: " Jonas Karlman
2024-04-23 11:09 ` Kever Yang
2024-03-31 20:28 ` [PATCH 22/31] rockchip: rk3399-firefly: " Jonas Karlman
2024-04-23 11:10 ` Kever Yang
2024-03-31 20:28 ` [PATCH 23/31] rockchip: rk3399-orangepi: " Jonas Karlman
2024-04-23 11:11 ` Kever Yang
2024-03-31 20:28 ` [PATCH 24/31] rockchip: rk3399-roc-pc: " Jonas Karlman
2024-04-23 11:12 ` Kever Yang
2024-03-31 20:28 ` [PATCH 25/31] rockchip: rk3399-nanopi-4: " Jonas Karlman
2024-04-23 11:12 ` Kever Yang
2024-03-31 20:28 ` [PATCH 26/31] rockchip: rk3399-rock960: " Jonas Karlman
2024-04-03 4:53 ` Peter Robinson
2024-05-01 12:28 ` Jonas Karlman
2024-04-23 11:13 ` Kever Yang
2024-03-31 20:28 ` [PATCH 27/31] rockchip: rk3399-khadas: " Jonas Karlman
2024-04-23 11:14 ` Kever Yang
2024-03-31 20:28 ` [PATCH 28/31] rockchip: rk3399-rock-pi-4: " Jonas Karlman
2024-03-31 22:53 ` Dragan Simic
2024-03-31 23:14 ` Jonas Karlman
2024-03-31 23:30 ` Dragan Simic [this message]
2024-03-31 23:41 ` Jonas Karlman
2024-03-31 23:48 ` Dragan Simic
2024-04-02 21:41 ` Christopher Obbard
2024-04-23 11:14 ` Kever Yang
2024-03-31 20:28 ` [PATCH 29/31] rockchip: rk3399-rockpro64: " Jonas Karlman
2024-03-31 21:24 ` Dragan Simic
2024-04-23 11:14 ` Kever Yang
2024-03-31 20:28 ` [PATCH 30/31] rockchip: rk3399-pinebook-pro: " Jonas Karlman
2024-03-31 21:33 ` Dragan Simic
2024-04-23 11:14 ` Kever Yang
2024-03-31 20:28 ` [PATCH 31/31] rockchip: rk3399-pinephone-pro: " Jonas Karlman
2024-03-31 21:35 ` Dragan Simic
2024-04-23 11:15 ` Kever Yang
2024-04-01 8:52 ` [PATCH 00/31] rockchip: rk3399: Sync DT with linux v6.8 and update defconfigs Sumit Garg
2024-04-01 9:45 ` Jonas Karlman
2024-04-01 10:01 ` Jonas Karlman
2024-04-01 10:53 ` Sumit Garg
2024-04-01 11:04 ` Jonas Karlman
2024-04-01 11:33 ` Sumit Garg
2024-04-01 10:08 ` Sumit Garg
2024-04-01 10:24 ` Jonas Karlman
2024-04-01 11:15 ` Sumit Garg
2024-04-02 15:16 ` Quentin Schulz
2024-04-03 4:42 ` Peter Robinson
2024-04-23 11:27 ` Kever Yang
2024-04-24 9:21 ` Jonas Karlman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=75e6364e805a9c5e13cab992b4c19b42@manjaro.org \
--to=dsimic@manjaro.org \
--cc=chris.obbard@collabora.com \
--cc=jagan@amarulasolutions.com \
--cc=jonas@kwiboo.se \
--cc=kever.yang@rock-chips.com \
--cc=naoki@radxa.com \
--cc=philipp.tomsich@vrull.eu \
--cc=sjg@chromium.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox