misc NanoPi Fire3 changes

cleaned up u-boot DTB assignment; enabled RTL8188EU Wi-Fi adapter; disabled
thermal zone emulation configuration
This commit is contained in:
5kft 2018-07-21 10:06:59 -07:00
parent 2d92ef44ca
commit ab4100b18a
2 changed files with 14 additions and 9 deletions

View file

@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm64 4.14.53 Kernel Configuration
# Linux/arm64 4.14.56 Kernel Configuration
#
CONFIG_ARM64=y
CONFIG_64BIT=y
@ -1204,8 +1204,10 @@ CONFIG_BT_ATH3K=m
# CONFIG_STREAM_PARSER is not set
CONFIG_FIB_RULES=y
CONFIG_WIRELESS=y
CONFIG_WIRELESS_EXT=y
CONFIG_WEXT_CORE=y
CONFIG_WEXT_PROC=y
CONFIG_WEXT_PRIV=y
CONFIG_CFG80211=m
# CONFIG_NL80211_TESTMODE is not set
# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
@ -2367,7 +2369,7 @@ CONFIG_THERMAL_GOV_STEP_WISE=y
# CONFIG_THERMAL_GOV_USER_SPACE is not set
# CONFIG_THERMAL_GOV_POWER_ALLOCATOR is not set
CONFIG_CPU_THERMAL=y
CONFIG_THERMAL_EMULATION=y
# CONFIG_THERMAL_EMULATION is not set
# CONFIG_QORIQ_THERMAL is not set
#
@ -3854,7 +3856,8 @@ CONFIG_STAGING=y
# CONFIG_RTLLIB is not set
# CONFIG_RTL8723BS is not set
# CONFIG_R8712U is not set
# CONFIG_R8188EU is not set
CONFIG_R8188EU=m
CONFIG_88EU_AP_MODE=y
# CONFIG_VT6656 is not set
#

View file

@ -149,10 +149,10 @@ index 0000000..1550b5f
+obj-y := board.o
diff --git a/board/s5p6818/nanopifire3/board.c b/board/s5p6818/nanopifire3/board.c
new file mode 100644
index 0000000..01e84d4
index 0000000..5870d76
--- /dev/null
+++ b/board/s5p6818/nanopifire3/board.c
@@ -0,0 +1,149 @@
@@ -0,0 +1,151 @@
+/*
+ * (C) Copyright 2016 Nexell
+ * Hyunseok, Jung <hsjung@nexell.co.kr>
@ -264,12 +264,14 @@ index 0000000..01e84d4
+
+#define ETHER_MAC_TAG "ethmac"
+
+#define DEFAULT_DTB "s5p6818-nanopi-fire3.dtb"
+
+int board_late_init(void)
+{
+ //#### move to configuration ####
+ setenv("fdtfile", DEFAULT_DTB);
+ char dtbname[256];
+
+ strcpy(dtbname, CONFIG_DEFAULT_DEVICE_TREE);
+ strcat(dtbname, ".dtb");
+
+ setenv("fdtfile", dtbname);
+
+ if( getenv("ethaddr") == NULL ) {
+ char tmp[18];