* Introducing build-all-ng * Implementing REBUILD_IMAGES='board1,board2,...' for rebuilding certain images only * Add optimisations when building kernels - only cycle trough needed targets. Adding variable for defining whether an image is build, otherwise only BSP is made. * repository manipulating RFC * Add bianco deb file that is added by default if repository is clean * Switch to gpg2 signing method, small bugfix * Create subdir for debs and debs-beta * Synaptic bugfix: installing indexing tools https://forum.armbian.com/topic/8021-orange-pi-one-synaptic-package-manager-search-very-slow/?do=findComment&comment=74918 * add all modules by default to Odroid N2, but leave them commented * Bugfix: not making any builds when selecting kernel_only * Remove EXTERNAL=yes ... move armbian-config and armbian-firmware into main compilation area, drop others since they are deprecated anyway. This will also enable multi threaded images making * Move armbian.list to create_sources_list function. Replace NTP by Chrony. Remove armbian-firmware from PACKAGE_LIST and RockPi 4A (#1528) * Replace NTP by chrony. Remove installion of outdated armbian-firmware from reposity. * added RockPi 4A * New format for board config * Fix Bluetooth dependencies for minimal package - add rfkill to family related installs * Moving networkd-dispatcher from minimal image * Cubox-i: update default config * Improving umount process * Add purgesource feature * Add FULL_DESKTOP to install few more applications on top of our desktop - notebooks should * rk3399 default: adjust patches and configuration * Enable full desktop on most powerfull boards and notebooks Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
68 lines
2.0 KiB
Plaintext
68 lines
2.0 KiB
Plaintext
|
|
source "${BASH_SOURCE%/*}/sunxi_common.inc"
|
|
|
|
OVERLAY_PREFIX='sun7i-a20'
|
|
|
|
case $BRANCH in
|
|
default)
|
|
KERNELSOURCE='https://github.com/linux-sunxi/linux-sunxi'
|
|
KERNELBRANCH='branch:sunxi-3.4'
|
|
KERNELDIR='linux-sunxi'
|
|
KERNEL_USE_GCC='> 5.0'
|
|
|
|
CPUMAX=1010000
|
|
;;
|
|
|
|
next)
|
|
CPUMAX=960000
|
|
|
|
ASOUND_STATE='asound.state.sunxi-next'
|
|
;;
|
|
esac
|
|
|
|
CPUMIN=480000
|
|
|
|
family_tweaks_s()
|
|
{
|
|
if [[ $BOARD == olimex-som204-a20 ]]; then
|
|
|
|
# Enable serial login on USB-OTG
|
|
mkdir -p $SDCARD/etc/systemd/system/serial-getty@ttyGS0.service.d
|
|
chroot $SDCARD /bin/bash -c "systemctl --no-reload enable serial-getty@ttyGS0.service > /dev/null 2>&1"
|
|
echo "ttyGS0" >> $SDCARD/etc/securetty
|
|
|
|
if [[ $BRANCH != default ]]; then
|
|
# Enable bluetooth
|
|
chroot $SDCARD /bin/bash -c "apt-get -y -qq install rfkill bluetooth bluez bluez-tools"
|
|
chroot $SDCARD /bin/bash -c "systemctl --no-reload enable olinuxino-bluetooth.service >/dev/null 2>&1"
|
|
else
|
|
# Install touchscreen calibrator
|
|
[[ $BUILD_DESKTOP == yes ]] && chroot $SDCARD /bin/bash -c "apt-get -y -qq install xinput-calibrator >/dev/null 2>&1"
|
|
fi
|
|
fi
|
|
}
|
|
|
|
family_tweaks_bsp_s()
|
|
{
|
|
if [[ $BOARD == olimex-som204-a20 ]]; then
|
|
|
|
if [[ $BRANCH == default ]]; then
|
|
# Copy LCD ralated files
|
|
install -m 755 $SRC/packages/bsp/olinuxino/usr/sbin/devmem $destination/usr/sbin
|
|
install -m 755 $SRC/packages/bsp/olinuxino/usr/sbin/change-display $destination/usr/sbin
|
|
|
|
# Copy LCD-OLinuXino-15.6FHD service. Initially the service should be disabled
|
|
cp $SRC/packages/bsp/olinuxino/lib/systemd/system/olinuxino-lcd.service $destination/lib/systemd/system
|
|
else
|
|
# Copy bluetooth service
|
|
install -m 755 $SRC/packages/bsp/olinuxino/usr/bin/rtk_hciattach $destination/usr/bin
|
|
cp $SRC/packages/bsp/olinuxino/lib/systemd/system/olinuxino-bluetooth.service $destination/lib/systemd/system
|
|
|
|
if [[ $BRANCH == dev ]]; then
|
|
# Copy fbdev configuration
|
|
cp $SRC/packages/bsp/olinuxino/etc/X11/xorg.conf.d/02-olinuxino-hdmi-fbdev.conf $destination/etc/X11/xorg.conf.d/
|
|
fi
|
|
fi
|
|
fi
|
|
}
|