##// END OF EJS Templates
kernel features + nexmon monitor mode wlan patch(kali-kernel) with RPI3,RPI3B+ firmware patch...
kernel features + nexmon monitor mode wlan patch(kali-kernel) with RPI3,RPI3B+ firmware patch - ENABLE_NEXMON to use raspberry pi kali kernel sources which include patched nl80211 driver. Needed to crosscompile nexmon. Firmware for RPI3 and RPI3B+ is patched in the process to enable moniotor mode and injection. - Support for precompiled kernel. RPI3 64bit kernel from sakaki and a multi kernel (supporting all RPI models) from hyperiotOS. Needs further testing! - start.elf isn't supplied from precompiled kernel so always install them - ENABLE_SYSTEMDSWAP enables swapping service supporting new KERNEL_ZSWAP feature and also manages swap files - KERNEL_SECURITY activates apparmor, keyring,str/mem cpy protection, audit funcionality, integrity checks - KERNEL_ZSWAP enables compressed swap kernel feature. -KERNEL_VIRT enables virtualisation on RPI2,3,3P -KERNEL_BPF enables bpf syscall (supress journald warning message) - KERNEL_NF enable netfilter firewall (iptables-legacy is not default anymore) - KERNEL_DEFAULT_GOV set default cpu governor

Fichier de la dernière révision:

r384:ebd8e6e39c8b
r502:3d4e292749a1
Show More
42-fbturbo.sh
47 lines | 1.4 KiB | application/x-sh | BashLexer
#
# Build and Setup fbturbo Xorg driver
#
# Load utility functions
. ./functions.sh
if [ "$ENABLE_FBTURBO" = true ] ; then
# Install c/c++ build environment inside the chroot
chroot_install_cc
# Copy existing fbturbo sources into chroot directory
if [ -n "$FBTURBOSRC_DIR" ] && [ -d "$FBTURBOSRC_DIR" ] ; then
# Copy local fbturbo sources
cp -r "${FBTURBOSRC_DIR}" "${R}/tmp"
else
# Create temporary directory for fbturbo sources
temp_dir=$(as_nobody mktemp -d)
# Fetch fbturbo sources
as_nobody git -C "${temp_dir}" clone "${FBTURBO_URL}"
# Move downloaded fbturbo sources
mv "${temp_dir}/xf86-video-fbturbo" "${R}/tmp/"
# Remove temporary directory for fbturbo sources
rm -fr "${temp_dir}"
fi
# Install Xorg build dependencies
chroot_exec apt-get -q -y --no-install-recommends --allow-unauthenticated install xorg-dev xutils-dev x11proto-dri2-dev libltdl-dev libtool automake libdrm-dev
# Build and install fbturbo driver inside chroot
chroot_exec /bin/bash -x <<'EOF'
cd /tmp/xf86-video-fbturbo
autoreconf -vi
./configure --prefix=/usr
make
make install
EOF
# Install fbturbo driver Xorg configuration
install_readonly files/xorg/99-fbturbo.conf "${R}/usr/share/X11/xorg.conf.d/99-fbturbo.conf"
# Remove Xorg build dependencies
chroot_exec apt-get -qq -y --auto-remove purge xorg-dev xutils-dev x11proto-dri2-dev libltdl-dev libtool automake libdrm-dev
fi