* [Buildroot] [PATCH 1/1] board/pine64/rockpro64/linux.fragment: integrate stmmac driver
@ 2024-04-26 18:47 Aleksandr Makarov
2024-07-09 20:30 ` Thomas Petazzoni via buildroot
2024-07-11 21:26 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Aleksandr Makarov @ 2024-04-26 18:47 UTC (permalink / raw)
To: buildroot; +Cc: Giulio Benetti, Aleksandr Makarov, Jagan Teki, Suniel Mahesh
Currently, the stmmac driver is configured as a module in the defconfig, which
means that the network functionality is not available until the driver module
is manually inserted.
Use extra config fragment to integrate it directly into the kernel, ensuring that network
functionality is available immediately upon boot.
Signed-off-by: Aleksandr Makarov <aleksandr.o.makarov@gmail.com>
---
board/pine64/rockpro64/linux.fragment | 3 +++
configs/rockpro64_defconfig | 1 +
2 files changed, 4 insertions(+)
create mode 100644 board/pine64/rockpro64/linux.fragment
diff --git a/board/pine64/rockpro64/linux.fragment b/board/pine64/rockpro64/linux.fragment
new file mode 100644
index 0000000000..ed7dfd3d3e
--- /dev/null
+++ b/board/pine64/rockpro64/linux.fragment
@@ -0,0 +1,3 @@
+CONFIG_STMMAC_ETH=y
+CONFIG_STMMAC_PLATFORM=y
+CONFIG_DWMAC_ROCKCHIP=y
diff --git a/configs/rockpro64_defconfig b/configs/rockpro64_defconfig
index 472b9aded2..0c6cdd477a 100644
--- a/configs/rockpro64_defconfig
+++ b/configs/rockpro64_defconfig
@@ -40,6 +40,7 @@ BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="rockchip/rk3399-rockpro64"
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
+BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/pine64/rockpro64/linux.fragment"
# Filesystem
BR2_TARGET_GENERIC_HOSTNAME="rockpro64"
--
2.40.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] board/pine64/rockpro64/linux.fragment: integrate stmmac driver
2024-04-26 18:47 [Buildroot] [PATCH 1/1] board/pine64/rockpro64/linux.fragment: integrate stmmac driver Aleksandr Makarov
@ 2024-07-09 20:30 ` Thomas Petazzoni via buildroot
2024-07-11 21:26 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-07-09 20:30 UTC (permalink / raw)
To: Aleksandr Makarov; +Cc: Giulio Benetti, Suniel Mahesh, Jagan Teki, buildroot
On Fri, 26 Apr 2024 21:47:32 +0300
Aleksandr Makarov <aleksandr.o.makarov@gmail.com> wrote:
> Currently, the stmmac driver is configured as a module in the defconfig, which
> means that the network functionality is not available until the driver module
> is manually inserted.
>
> Use extra config fragment to integrate it directly into the kernel, ensuring that network
> functionality is available immediately upon boot.
>
> Signed-off-by: Aleksandr Makarov <aleksandr.o.makarov@gmail.com>
> ---
> board/pine64/rockpro64/linux.fragment | 3 +++
> configs/rockpro64_defconfig | 1 +
> 2 files changed, 4 insertions(+)
> create mode 100644 board/pine64/rockpro64/linux.fragment
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH 1/1] board/pine64/rockpro64/linux.fragment: integrate stmmac driver
2024-04-26 18:47 [Buildroot] [PATCH 1/1] board/pine64/rockpro64/linux.fragment: integrate stmmac driver Aleksandr Makarov
2024-07-09 20:30 ` Thomas Petazzoni via buildroot
@ 2024-07-11 21:26 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2024-07-11 21:26 UTC (permalink / raw)
To: Aleksandr Makarov; +Cc: Giulio Benetti, Suniel Mahesh, Jagan Teki, buildroot
>>>>> "Aleksandr" == Aleksandr Makarov <aleksandr.o.makarov@gmail.com> writes:
> Currently, the stmmac driver is configured as a module in the defconfig, which
> means that the network functionality is not available until the driver module
> is manually inserted.
> Use extra config fragment to integrate it directly into the kernel, ensuring that network
> functionality is available immediately upon boot.
> Signed-off-by: Aleksandr Makarov <aleksandr.o.makarov@gmail.com>
Committed to 2024.02.x and 2024.05.x, thanks.
--
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-07-11 21:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-26 18:47 [Buildroot] [PATCH 1/1] board/pine64/rockpro64/linux.fragment: integrate stmmac driver Aleksandr Makarov
2024-07-09 20:30 ` Thomas Petazzoni via buildroot
2024-07-11 21:26 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox