Add board configuration files for ARM64 SBCs in sbc/ (PINE64, PINE64-LTS,
PINEBOOK, ROCK64, ROCKPRO64, RPI).
Add populate_cidata_partition hook in ufs.sh and use is_defined for
nanobsd_loader_conf_extra in defaults.sh.
Differential D59235
nanobsd: Add SBC board configurations and CIDATA partition support Authored by senguptaangshuman17_gmail.com on Thu, Aug 27, 9:37 PM. Tags None Referenced Files
Subscribers
Details
Diff Detail
Event TimelineComment Actions I believe we got the acronym wrong, shouldn't the directory name be sbc (Single-Board Computer)? Comment Actions Let's examine release's functions one by one:
Some of these boards (RPI for example) also require: if [ -n "${CONFIG_POWERD_ENABLE}" ]; then
echo 'powerd_enable="YES" # Run powerd to lower our power usage.' >> ${NANO_WORLDDIR}/etc/defaults/rc.conf
fiSo I would suggest also adding a nanobsd_rc_conf_extra function (similar to nanobsd_loader_conf_extra) in the NanoBSD section, as a way to override/add more defaults into rc.conf.
| ||||||||||||||||||||||||||||||||||||||||||||