Skip to content

Commit 096129d

Browse files
TuAFBogeyrpardini
authored andcommitted
Address rpardini review round 2: major cleanup
- Use SERIALCON instead of systemd override for serial console - Remove fdtfile from bootenv (use BOOT_FDT_FILE instead) - Remove ATF_COMPILER (arm64 default) - Inline OPTEE variables into fetch_sources_tools hook - Remove empty family_tweaks() and family_tweaks_bsp() - Use only debug mode for ATF build - Build fiptool in atf_custom_postprocess - Move header creation inline into uboot_custom_postprocess - Use <<- heredoc for Python script
1 parent e9571dc commit 096129d

File tree

3 files changed

+117
-341
lines changed

3 files changed

+117
-341
lines changed

config/boards/numaker-iot-ma35d16f90.csc

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,7 @@ BOOT_FDT_FILE="nuvoton/ma35d1-iot-512m.dtb"
1111
BOOT_SCENARIO="blobless"
1212
IMAGE_PARTITION_TABLE="msdos"
1313
DEFAULT_CONSOLE="serial"
14+
SERIALCON="ttyS0:115200"
1415

1516
# Hardware features
1617
HAS_VIDEO_OUTPUT="yes"
17-
18-
function post_family_tweaks__numaker_iot_ma35d16f90() {
19-
display_alert "$BOARD" "Applying NuMaker IoT MA35D16F90 tweaks" "info"
20-
21-
# Serial console 115200 baud
22-
mkdir -p "$SDCARD/etc/systemd/system/[email protected]/"
23-
cat <<- EOF > "$SDCARD/etc/systemd/system/[email protected]/override.conf"
24-
[Service]
25-
ExecStart=
26-
ExecStart=-/sbin/agetty -o '-p -- \\u' 115200 ttyS0 linux
27-
EOF
28-
29-
return 0
30-
}

config/bootenv/nuvoton-ma35d1.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
bootlogo=false
22
console=serial
3-
fdtfile=nuvoton/ma35d1-iot-512m.dtb

0 commit comments

Comments
 (0)