diff mbox series

[v2,2/3] board/beelink_gs1: enable mdev and dhcp on eth0

Message ID 20191027192131.6813-2-peron.clem@gmail.com
State Accepted
Headers show
Series [v2,1/3] board: add Beelink GS1 support | expand

Commit Message

Clément Péron Oct. 27, 2019, 7:21 p.m. UTC
Signed-off-by: Clément Péron <peron.clem@gmail.com>
---
 configs/beelink_gs1_defconfig | 3 +++
 1 file changed, 3 insertions(+)

Comments

Peter Korsgaard Nov. 24, 2019, 8:46 a.m. UTC | #1
>>>>> "Clément" == Clément Péron <peron.clem@gmail.com> writes:

 > Signed-off-by: Clément Péron <peron.clem@gmail.com>
 > ---
 >  configs/beelink_gs1_defconfig | 3 +++
 >  1 file changed, 3 insertions(+)

 > diff --git a/configs/beelink_gs1_defconfig b/configs/beelink_gs1_defconfig
 > index b3004ffe7a..b5b4238791 100644
 > --- a/configs/beelink_gs1_defconfig
 > +++ b/configs/beelink_gs1_defconfig
 > @@ -2,6 +2,9 @@
 >  BR2_aarch64=y
 >  BR2_ARM_FPU_VFPV4=y
 >  BR2_TARGET_GENERIC_ISSUE="Welcome to Beelink GS1"
 > +# MDEV is required to autoload the ethernet driver module
 > +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y

If this is just about the network driver, then a simpler solution is to
just use a linux kernel config fragment to build the STMMAC_ETH driver +
allwinner support into the kernel instead of as a module. That way
things like root on NFS would also automatically work.

But Ok, that can be done later. Committed to next, thanks.
diff mbox series

Patch

diff --git a/configs/beelink_gs1_defconfig b/configs/beelink_gs1_defconfig
index b3004ffe7a..b5b4238791 100644
--- a/configs/beelink_gs1_defconfig
+++ b/configs/beelink_gs1_defconfig
@@ -2,6 +2,9 @@ 
 BR2_aarch64=y
 BR2_ARM_FPU_VFPV4=y
 BR2_TARGET_GENERIC_ISSUE="Welcome to Beelink GS1"
+# MDEV is required to autoload the ethernet driver module
+BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y
+BR2_SYSTEM_DHCP="eth0"
 BR2_ROOTFS_POST_BUILD_SCRIPT="board/beelink/gs1/post-build.sh"
 BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
 BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/beelink/gs1/genimage.cfg"