##// END OF EJS Templates
RPI3B+...
RPI3B+ Added RPI_MODEL=3B for Raspberry Pi 3 B+ Model If RPI_MODEL=3B is set rpi23-gen-image will use brcmfmac43455-sdio (bin, txt and clm_blob) instead of brcmfmac43430-sdio WLAN-firmware blob With Model=3 - rpi23-gen-image.sh will not copy brcmfmac43455-sdio.txt and brcmfmac43455-sdio.clm_blob file from firmware_dir. Package firmware-brcm80211 also does not include these files.

Fichier de la dernière révision:

r217:1e0652b25996
r250:824dff766aec
Show More
42-fbturbo.sh
51 lines | 1.7 KiB | application/x-sh | BashLexer
Filip Pytloun
Refactor: split bootstrap actions and allow custom
r56 #
Jan Wagner
spliting more files, fix-uboot, fix-fbturbo, fix-locale
r67 # Build and Setup fbturbo Xorg driver
Filip Pytloun
Refactor: split bootstrap actions and allow custom
r56 #
Jan Wagner
spliting more files, fix-uboot, fix-fbturbo, fix-locale
r67 # Load utility functions
Filip Pytloun
Refactor: split bootstrap actions and allow custom
r56 . ./functions.sh
if [ "$ENABLE_FBTURBO" = true ] ; then
drtyhlpr
Updated: Dropping privileges, chroot compiler install, dropbear sshd config
r142 # 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
Petter Reinholdtsen
Introduce as_nobody() function to make it easier to control how it is done....
r174 temp_dir=$(as_nobody mktemp -d)
drtyhlpr
Updated: Dropping privileges, chroot compiler install, dropbear sshd config
r142
# Fetch fbturbo sources
Petter Reinholdtsen
Introduce as_nobody() function to make it easier to control how it is done....
r174 as_nobody git -C "${temp_dir}" clone "${FBTURBO_URL}"
drtyhlpr
Updated: Dropping privileges, chroot compiler install, dropbear sshd config
r142
# Move downloaded fbturbo sources
mv "${temp_dir}/xf86-video-fbturbo" "${R}/tmp/"
# Remove temporary directory for fbturbo sources
rm -fr "${temp_dir}"
fi
Filip Pytloun
Refactor: split bootstrap actions and allow custom
r56
# Install Xorg build dependencies
drtyhlpr
Updated: Dropping privileges, chroot compiler install, dropbear sshd config
r142 if [ "$RELEASE" = "jessie" ] ; then
chroot_exec apt-get -q -y --no-install-recommends install xorg-dev xutils-dev x11proto-dri2-dev libltdl-dev libtool automake libdrm-dev
drtyhlpr
Debian Buster (testing) release support
r217 elif [ "$RELEASE" = "stretch" ] || [ "$RELEASE" = "buster" ] ; then
drtyhlpr
Updated: Dropping privileges, chroot compiler install, dropbear sshd config
r142 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
fi
Filip Pytloun
Refactor: split bootstrap actions and allow custom
r56
# Build and install fbturbo driver inside chroot
Jan Wagner
spliting more files, fix-uboot, fix-fbturbo, fix-locale
r67 chroot_exec /bin/bash -x <<'EOF'
cd /tmp/xf86-video-fbturbo
autoreconf -vi
./configure --prefix=/usr
make
make install
EOF
Filip Pytloun
Refactor: split bootstrap actions and allow custom
r56
Jan Wagner
comment-cleanup, net-cleanup, size-calc-fix, split-more, menuconfig
r71 # Install fbturbo driver Xorg configuration
Jan Wagner
fix: ENABLE_CRYPTFS -> UBOOT, SPLITFS, EXPANDROOT - cleanup
r82 install_readonly files/xorg/99-fbturbo.conf "${R}/usr/share/X11/xorg.conf.d/99-fbturbo.conf"
Filip Pytloun
Refactor: split bootstrap actions and allow custom
r56
# Remove Xorg build dependencies
Jan Wagner
Added: KERNEL_SRCDIR, path-checks, code-cleanup
r72 chroot_exec apt-get -qq -y --auto-remove purge xorg-dev xutils-dev x11proto-dri2-dev libltdl-dev libtool automake libdrm-dev
Filip Pytloun
Refactor: split bootstrap actions and allow custom
r56 fi