Initial Commit
- initial default booting image
This commit is contained in:
19
board/sipeed/lichee_rv_dock/genimage.cfg
Normal file
19
board/sipeed/lichee_rv_dock/genimage.cfg
Normal file
@@ -0,0 +1,19 @@
|
||||
# Minimal SD card image for the sipeed Lichee RV dock
|
||||
|
||||
image sdcard.img {
|
||||
hdimage {
|
||||
}
|
||||
|
||||
partition u-boot {
|
||||
in-partition-table = false
|
||||
image = "u-boot-sunxi-with-spl.bin"
|
||||
offset = 8K
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
bootable = "true"
|
||||
offset = 1M
|
||||
}
|
||||
}
|
||||
7
board/sipeed/lichee_rv_dock/linux.fragment
Normal file
7
board/sipeed/lichee_rv_dock/linux.fragment
Normal file
@@ -0,0 +1,7 @@
|
||||
CONFIG_BT=y
|
||||
CONFIG_BT_HCIUART=m
|
||||
CONFIG_BT_HCIUART_SERDEV=y
|
||||
CONFIG_BT_HCIUART_3WIRE=y
|
||||
CONFIG_BT_HCIUART_RTL=y
|
||||
CONFIG_SERIAL_DEV_BUS=y
|
||||
CONFIG_SERIAL_DEV_CTRL_TTYPORT=y
|
||||
@@ -0,0 +1,6 @@
|
||||
auto lo
|
||||
iface lo inet loopback
|
||||
|
||||
auto wlan0
|
||||
iface wlan0 inet dhcp
|
||||
wpa-conf /etc/wpa_supplicant.conf
|
||||
@@ -0,0 +1,8 @@
|
||||
ap_scan=1
|
||||
|
||||
network={
|
||||
ssid="YOURSSID"
|
||||
scan_ssid=1
|
||||
key_mgmt=WPA-PSK
|
||||
psk="YOURPASSWD"
|
||||
}
|
||||
45
board/sipeed/lichee_rv_dock/readme.txt
Normal file
45
board/sipeed/lichee_rv_dock/readme.txt
Normal file
@@ -0,0 +1,45 @@
|
||||
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 sipeed_lichee_rv_dock_defconfig
|
||||
$ make
|
||||
|
||||
Wifi
|
||||
==========
|
||||
|
||||
Edit board/sipeed/lichee_rv_dock/overlay/etc/wpa_supplicant.conf or
|
||||
/etc/wpa_supplicant.conf once connected to the board:
|
||||
|
||||
* Replace YOURSSID with your AP ssid
|
||||
* Replace YOURPASSWD with your AP password
|
||||
|
||||
Bluetooth
|
||||
==========
|
||||
|
||||
To make the device discoverable and pairable, once connected to the board:
|
||||
|
||||
* bluetoothctl power on
|
||||
* bluetoothctl discoverable yes
|
||||
* bluetoothctl pairable yes
|
||||
|
||||
How to write the SD card
|
||||
========================
|
||||
|
||||
Once the build process is finished you will have an image called "sdcard.img"
|
||||
in the output/images/ directory.
|
||||
|
||||
Copy the bootable "sdcard.img" onto an SD card with "dd":
|
||||
|
||||
$ sudo dd if=output/images/sdcard.img of=/dev/sdX
|
||||
|
||||
Connect a TTL UART to the debug connector, insert the microSD card and
|
||||
plug in a USB-C cable to the PWR connector to boot the system.
|
||||
Reference in New Issue
Block a user