Skip to contentSkip to conversation

configs/lichee_rv_dock: new defconfig

PATCH New Angelo Compagnucci 1 participant 1 message Oct 4, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs/lichee_rv_dock: new defconfig

Lichee RV Dock is a RISC-V Linux development kits with high integration, small size and affordable price designed for opensource developer.

https://wiki.sipeed.com/hardware/en/lichee/RV/Dock.html

---
 .../overlay_dock/etc/network/interfaces       |  7 +++
 .../overlay_dock/etc/wpa_supplicant.conf      |  8 +++
 ...t-building-u-boot.toc1-for-lichee-rv.patch | 54 +++++++++++++++++++
 board/lichee_rv/readme.txt                    | 23 ++++++++
 configs/lichee_rv_dock_defconfig              | 37 +++++++++++++
 5 files changed, 129 insertions(+)
 create mode 100644 board/lichee_rv/overlay_dock/etc/network/interfaces
 create mode 100644 board/lichee_rv/overlay_dock/etc/wpa_supplicant.conf
 create mode 100644 board/lichee_rv/patches_rv_dock/uboot/0002-Makefile-HACK-Support-building-u-boot.toc1-for-lichee-rv.patch
 create mode 100644 configs/lichee_rv_dock_defconfig
board/lichee_rv/overlay_dock/etc/network/interfaces new file +7 -0
new file mode 100644
index 0000000000..62153aabd1
@@ -0,0 +1,7 @@
+auto lo
+iface lo inet loopback
+
+auto wlan0
+iface wlan0 inet dhcp
+pre-up modprobe 8723ds
+wpa-conf /etc/wpa_supplicant.conf
board/lichee_rv/overlay_dock/etc/wpa_supplicant.conf new file +8 -0
new file mode 100644
index 0000000000..b43292b0a7
@@ -0,0 +1,8 @@
+ap_scan=1
+
+network={
+        ssid="YOURSSID"
+        scan_ssid=1
+        key_mgmt=WPA-PSK
+        psk="YOURPASSWD"
+}
board/lichee_rv/patches_rv_dock/uboot/0002-Makefile-HACK-Support-building-u-boot.toc1-for-lichee-rv.patch new file +54 -0

54 lines not on this page · raw message

board/lichee_rv/readme.txt +23 -0
index 008be3a3bc..0baf874745 100644
@@ -12,6 +12,29 @@ How to build
 $ make lichee_rv_defconfig
 $ make
 
+Lichee RV dock
+===============
+
+Lichee RV Dock is a RISC-V Linux development kits with high integration, small
+size and affordable price designed for opensource developer. It's equipped with
+HDMI interface and it supports many screen by its screen convert board. It's
+also equipped with many peripherals, including a UAB-A port, 2.4G Wifi-BT module,
+an analog microphone and a speaker jack interface.
+
+How to build
+============
+
+$ make lichee_rv_dock_defconfig
+$ make
+
+Wifi
+==========
+
+Edit board/lichee_rv/overlay_dock/etc/wpa_supplicant.conf
+
+* Replace YOURSSID with your AP ssid
+* Replace YOURPASSWD with your AP password
+
 How to write the SD card
 ========================
 
configs/lichee_rv_dock_defconfig new file +37 -0
new file mode 100644
index 0000000000..ba11ac867b
@@ -0,0 +1,37 @@
+BR2_riscv=y
+BR2_GLOBAL_PATCH_DIR="board/lichee_rv/patches_rv_dock"
+BR2_ROOTFS_OVERLAY="board/nezha/overlay board/lichee_rv/overlay_dock"
+BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
+BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/lichee_rv/genimage.cfg"
+BR2_LINUX_KERNEL=y
+BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,smaeul,linux,f4bce410a6b47606557cb0d291572afc4c240c85)/linux-f4bce410a6b47606557cb0d291572afc4c240c85.tar.gz"
+BR2_LINUX_KERNEL_DEFCONFIG="nezha"
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun20i-d1-lichee-rv-dock"
+BR2_LINUX_KERNEL_INSTALL_TARGET=y
+BR2_PACKAGE_RTL8723DS=y
+BR2_PACKAGE_WPA_SUPPLICANT=y
+BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN=y
+BR2_TARGET_ROOTFS_EXT2=y
+BR2_TARGET_ROOTFS_EXT2_4=y
+# BR2_TARGET_ROOTFS_TAR is not set
+BR2_TARGET_OPENSBI=y
+BR2_TARGET_OPENSBI_CUSTOM_TARBALL=y
+BR2_TARGET_OPENSBI_CUSTOM_TARBALL_LOCATION="$(call github,smaeul,opensbi,4bcaf9aa1dbc69ccb68998c7d462ef895163d493)/opensbi-4bcaf9aa1dbc69ccb68998c7d462ef895163d493.tar.gz"
+BR2_TARGET_OPENSBI_PLAT="generic"
+# BR2_TARGET_OPENSBI_INSTALL_JUMP_IMG is not set
+BR2_TARGET_SUN20I_D1_SPL=y
+BR2_TARGET_UBOOT=y
+BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
+BR2_TARGET_UBOOT_CUSTOM_TARBALL=y
+BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="$(call github,smaeul,u-boot,7446a47204fd8923b99ced0091667979c4fd27fa)/uboot-7446a47204fd8923b99ced0091667979c4fd27fa.tar.gz"
+BR2_TARGET_UBOOT_BOARD_DEFCONFIG="lichee_rv"
+BR2_TARGET_UBOOT_NEEDS_DTC=y
+BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
+BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
+BR2_TARGET_UBOOT_NEEDS_OPENSBI=y
+# BR2_TARGET_UBOOT_FORMAT_BIN is not set
+BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
+BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.toc1"
+BR2_PACKAGE_HOST_GENIMAGE=y
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot