forked from armbian/build
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnumaker-iot-ma35d16f90.csc
More file actions
30 lines (26 loc) · 872 Bytes
/
Copy pathnumaker-iot-ma35d16f90.csc
File metadata and controls
30 lines (26 loc) · 872 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Dual-core Cortex-A35 + Cortex-M4, 512MB DDR
BOARD_NAME="NuMaker IoT MA35D16F90"
BOARD_VENDOR="nuvoton"
BOARDFAMILY="nuvoton-ma35d1"
# SD card boot (sdcard1 = SD1 slot on NuMaker IoT board)
BOOTCONFIG="ma35d1_sdcard1_defconfig"
KERNEL_TARGET="vendor"
FULL_DESKTOP="no"
BOOT_LOGO="no"
BOOT_FDT_FILE="nuvoton/ma35d1-iot-512m.dtb"
BOOT_SCENARIO="blobless"
IMAGE_PARTITION_TABLE="msdos"
DEFAULT_CONSOLE="serial"
# Hardware features
HAS_VIDEO_OUTPUT="yes"
function post_family_tweaks__numaker_iot_ma35d16f90() {
display_alert "$BOARD" "Applying NuMaker IoT MA35D16F90 tweaks" "info"
# Serial console 115200 baud
mkdir -p "$SDCARD/etc/systemd/system/serial-getty@ttyS0.service.d/"
cat <<- EOF > "$SDCARD/etc/systemd/system/serial-getty@ttyS0.service.d/override.conf"
[Service]
ExecStart=
ExecStart=-/sbin/agetty -o '-p -- \\u' 115200 ttyS0 linux
EOF
return 0
}