mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
* tools: shellfmt: Beautify and add board configs to formatting list * Format the whole code using `lib/tools/shellfmt.sh` --------- Co-authored-by: Igor <igor@armbian.com>
23 lines
762 B
Plaintext
23 lines
762 B
Plaintext
# Rockchip RK3328 quad core 1GB 2 x GBE USB2
|
|
BOARD_NAME="Nanopi R2C"
|
|
BOARDFAMILY="rockchip64"
|
|
BOARD_MAINTAINER=""
|
|
BOOTCONFIG="nanopi-r2s-rk3328_defconfig"
|
|
KERNEL_TARGET="current,edge"
|
|
DEFAULT_CONSOLE="serial"
|
|
MODULES="g_serial"
|
|
MODULES_BLACKLIST="rockchipdrm analogix_dp dw_mipi_dsi dw_hdmi gpu_sched lima hantro_vpu"
|
|
SERIALCON="ttyS2:1500000,ttyGS0"
|
|
HAS_VIDEO_OUTPUT="no"
|
|
BOOT_FDT_FILE="rockchip/rk3328-nanopi-r2-rev06.dtb"
|
|
|
|
function post_family_tweaks__nanopi-r2c_rename_USB_LAN() {
|
|
display_alert "$BOARD" "Installing board tweaks" "info"
|
|
|
|
# rename USB based network to lan0
|
|
mkdir -p $SDCARD/etc/udev/rules.d/
|
|
echo 'SUBSYSTEM=="net", ACTION=="add", DRIVERS=="r8152", KERNEL=="eth1", NAME="lan0"' > $SDCARD/etc/udev/rules.d/70-rename-lan.rules
|
|
|
|
return 0
|
|
}
|