mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Merge pull request #1 from igorpecovnik/master
update to Igor master 20160623
This commit is contained in:
BIN
bin/firmware-overlay/ti-connectivity/wl18xx-conf.bin
Normal file
BIN
bin/firmware-overlay/ti-connectivity/wl18xx-conf.bin
Normal file
Binary file not shown.
BIN
bin/firmware-overlay/ti-connectivity/wl18xx-fw-4.bin
Normal file
BIN
bin/firmware-overlay/ti-connectivity/wl18xx-fw-4.bin
Normal file
Binary file not shown.
@@ -30,10 +30,6 @@ install_board_specific (){
|
||||
|
||||
[[ $(type -t install_boot_script) == function ]] && install_boot_script
|
||||
|
||||
# orangepi h3 temp exceptions
|
||||
[[ $LINUXFAMILY == "sun8i" ]] && sed -i -e '1s/^/gpio set PL10\ngpio set PG11\nsetenv machid 1029\nsetenv bootm_boot_mode sec\n/' \
|
||||
-e 's/\ disp.screen0_output_mode=1920x1080p60//' -e 's/\ hdmi.audio=EDID:0//' $CACHEDIR/sdcard/boot/boot.cmd
|
||||
|
||||
# if we have a special fat boot partition, alter rootfs=
|
||||
if [[ $BOOTSIZE -gt 0 ]]; then
|
||||
display_alert "Adjusting boot scripts" "$BOARD" "info"
|
||||
@@ -41,10 +37,6 @@ install_board_specific (){
|
||||
echo "/dev/mmcblk0p1 /boot vfat defaults 0 0" >> $CACHEDIR/sdcard/etc/fstab
|
||||
fi
|
||||
|
||||
if [[ $BOARD == cubox-i && $BRANCH == next && -f $CACHEDIR/sdcard/boot/boot.cmd ]] ; then
|
||||
sed -e 's/console=tty1 //g' -i $CACHEDIR/sdcard/boot/boot.cmd
|
||||
fi
|
||||
|
||||
# convert to uboot compatible script
|
||||
[[ -f $CACHEDIR/sdcard/boot/boot.cmd ]] && \
|
||||
mkimage -C none -A arm -T script -d $CACHEDIR/sdcard/boot/boot.cmd $CACHEDIR/sdcard/boot/boot.scr >> /dev/null
|
||||
|
||||
120
chroot-buildpackages.sh
Normal file
120
chroot-buildpackages.sh
Normal file
@@ -0,0 +1,120 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# Copyright (c) 2015 Igor Pecovnik, igor.pecovnik@gma**.com
|
||||
#
|
||||
# This file is licensed under the terms of the GNU General Public
|
||||
# License version 2. This program is licensed "as is" without any
|
||||
# warranty of any kind, whether express or implied.
|
||||
#
|
||||
# This file is a part of tool chain https://github.com/igorpecovnik/lib
|
||||
#
|
||||
|
||||
create_chroot()
|
||||
{
|
||||
local target_dir="$1"
|
||||
debootstrap --variant=buildd --include=ccache,locales,git,ca-certificates,devscripts --arch=$ARCH \
|
||||
--foreign $RELEASE $target_dir "http://localhost:3142/$APT_MIRROR"
|
||||
[[ $? -ne 0 || ! -f $target_dir/debootstrap/debootstrap ]] && exit_with_error "Create chroot first stage failed"
|
||||
cp /usr/bin/$QEMU_BINARY $target_dir/usr/bin/
|
||||
chroot $target_dir /bin/bash -c "/debootstrap/debootstrap --second-stage"
|
||||
[[ $? -ne 0 || ! -f $target_dir/bin/bash ]] && exit_with_error "Create chroot second stage failed"
|
||||
cp $SRC/lib/config/apt/sources.list.$RELEASE $target_dir/etc/apt/sources.list
|
||||
echo 'Acquire::http { Proxy "http://localhost:3142"; };' > $target_dir/etc/apt/apt.conf.d/02proxy
|
||||
cat <<-EOF > $target_dir/etc/apt/apt.conf.d/71-no-recommends
|
||||
APT::Install-Recommends "0";
|
||||
APT::Install-Suggests "0";
|
||||
EOF
|
||||
[[ -f $target_dir/etc/locale.gen ]] && sed -i "s/^# en_US.UTF-8/en_US.UTF-8/" $target_dir/etc/locale.gen
|
||||
chroot $target_dir /bin/bash -c "locale-gen; update-locale LANG=en_US:en LC_ALL=en_US.UTF-8"
|
||||
printf '#!/bin/sh\nexit 101' > $target_dir/usr/sbin/policy-rc.d
|
||||
chmod 755 $target_dir/usr/sbin/policy-rc.d
|
||||
mkdir -p $target_dir/root/{build,overlay} $target_dir/selinux
|
||||
# TODO: check if resolvconf edit is needed
|
||||
touch $target_dir/root/.debootstrap-complete
|
||||
}
|
||||
|
||||
update_chroot()
|
||||
{
|
||||
local target_dir="$1"
|
||||
# apt-get update && apt-get dist-upgrade
|
||||
systemd-nspawn -a -q -D $target_dir /bin/bash -c "apt-get -q update; apt-get -q -y upgrade"
|
||||
# helper script
|
||||
cat <<-'EOF' > $target_dir/root/install-deps.sh
|
||||
#!/bin/bash
|
||||
deps=()
|
||||
installed=$(dpkg-query -W -f '${db:Status-Abbrev}|${binary:Package}\n' '*' 2>/dev/null | grep '^ii' | awk -F '|' '{print $2}' | cut -d ':' -f 1)
|
||||
for packet in "$@"; do grep -q -x -e "$packet" <<< "$installed" || deps+=("$packet"); done
|
||||
[[ ${#deps[@]} -gt 0 ]] && apt-get -y --no-install-recommends install "${deps[@]}"
|
||||
EOF
|
||||
chmod +x $target_dir/root/install-deps.sh
|
||||
}
|
||||
|
||||
chroot_build_packages()
|
||||
{
|
||||
display_alert "Starting package building process" "$RELEASE" "info"
|
||||
|
||||
local target_dir=$DEST/buildpkg/${RELEASE}-${ARCH}
|
||||
|
||||
[[ ! -f $target_dir/root/.debootstrap-complete ]] && create_chroot "$target_dir"
|
||||
|
||||
[[ ! -f $target_dir/bin/bash ]] && exit_with_error "Creating chroot failed" "$RELEASE"
|
||||
|
||||
update_chroot "$target_dir"
|
||||
|
||||
for plugin in $SRC/lib/extras-buildpkgs/*.conf; do
|
||||
source $plugin
|
||||
display_alert "Creating package" "$package_name" "info"
|
||||
|
||||
# create build script
|
||||
cat <<-EOF > $target_dir/root/build.sh
|
||||
#!/bin/bash
|
||||
export PATH="/usr/lib/ccache:$PATH"
|
||||
export HOME="/root"
|
||||
# for display_alert logging
|
||||
export DEST="/tmp"
|
||||
mkdir -p /tmp/debug
|
||||
export DEB_BUILD_OPTIONS="ccache nocheck"
|
||||
export CCACHE_TEMPDIR="/tmp"
|
||||
export DEBFULLNAME="$MAINTAINER"
|
||||
export DEBEMAIL="$MAINTAINERMAIL"
|
||||
$(declare -f display_alert)
|
||||
# check and install build dependencies
|
||||
display_alert "Installing build dependencies"
|
||||
[[ -n "$package_builddeps" ]] && /root/install-deps.sh $package_builddeps
|
||||
cd /root/build
|
||||
display_alert "Downloading sources"
|
||||
git clone $package_repo $package_dir ${package_branch:+ -b $package_branch} --single-branch
|
||||
cd $package_dir
|
||||
[[ -n "$package_commit" ]] && git checkout -f $package_commit
|
||||
# unpack debianization files if needed
|
||||
[[ -n "$package_overlay" ]] && tar xf /root/overlay/$package_overlay -C /root/build/$package_dir
|
||||
[[ -n "$package_prebuild_eval" ]] && eval "$package_prebuild_eval"
|
||||
# TODO: increment base version if needed
|
||||
# set local version
|
||||
debchange -l~armbian${REVISION}+ "New Armbian release"
|
||||
# build
|
||||
display_alert "Building package"
|
||||
dpkg-buildpackage -b -uc -us -jauto
|
||||
if [[ \$? -eq 0 ]]; then
|
||||
cd /root/build
|
||||
display_alert "Done building" "$package_name" "ext"
|
||||
ls *.deb
|
||||
# install in chroot if other libraries depend on them
|
||||
[[ "$package_install" == yes ]] && dpkg -i *.deb
|
||||
mv *.deb /root
|
||||
else
|
||||
display_alert "Failed building" "$package_name" "err"
|
||||
fi
|
||||
exit 0
|
||||
EOF
|
||||
|
||||
chmod +x $target_dir/root/build.sh
|
||||
# run build script in chroot
|
||||
systemd-nspawn -a -q -D $target_dir --tmpfs=/root/build --tmpfs=/tmp --bind-ro $SRC/lib/extras-buildpkgs/:/root/overlay \
|
||||
/bin/bash -c "/root/build.sh"
|
||||
# TODO: move built packages to $DEST/debs/extras
|
||||
# mv $target_dir/root/build/*.deb $DEST/debs/extras
|
||||
# cleanup
|
||||
unset package_name package_repo package_dir package_branch package_overlay package_builddeps package_commit package_install package_prebuild_eval
|
||||
done
|
||||
}
|
||||
20
common.sh
20
common.sh
@@ -392,19 +392,27 @@ userpatch_create()
|
||||
# create commit to start from clean source
|
||||
git add .
|
||||
git -c user.name='Armbian User' -c user.email='user@example.org' commit -q -m "Cleaning working copy"
|
||||
|
||||
local patch="$SRC/userpatches/patch/$1-$LINUXFAMILY-$BRANCH.patch"
|
||||
|
||||
# apply previous user debug mode created patches
|
||||
[[ -f "$patch" && $1 == "u-boot" ]] && display_alert "Applying existing u-boot patch" "$patch" "wrn" && patch --batch --silent -p1 -N < $patch
|
||||
[[ -f "$patch" && $1 == "kernel" ]] && display_alert "Applying existing kernel patch" "$patch" "wrn" && patch --batch --silent -p1 -N < $patch
|
||||
|
||||
# prompt to alter source
|
||||
display_alert "Make your changes in this directory:" "$(pwd)" "wrn"
|
||||
read -p 'Press <Enter> after you are done with changes to the source'
|
||||
display_alert "Press <Enter> after you are done" "waiting" "wrn"
|
||||
read
|
||||
tput cuu1
|
||||
git add .
|
||||
# create patch out of changes
|
||||
if ! git diff-index --quiet --cached HEAD; then
|
||||
#if [[ "$(git status --porcelain)" ]]; then
|
||||
git diff --staged > $SRC/userpatches/patch/$1-$LINUXFAMILY-$(date +'%d.%m.%Y_%H_%M_%S').patch
|
||||
display_alert "You will find your patch here:" "$SRC/userpatches/patch/$1-$LINUXFAMILY-$(date +'%d.%m.%Y').patch" "info"
|
||||
if ! git diff-index --quiet --cached HEAD; then
|
||||
git diff --staged > $patch
|
||||
display_alert "You will find your patch here:" "$patch" "info"
|
||||
else
|
||||
display_alert "No changes found, skipping patch creation" "" "wrn"
|
||||
fi
|
||||
git reset --soft HEAD~
|
||||
for i in {3..1..1};do echo -n "$i." && sleep 1; done
|
||||
fi
|
||||
}
|
||||
}
|
||||
@@ -1,9 +1,11 @@
|
||||
deb http://httpredir.debian.org/debian jessie main contrib non-free
|
||||
deb-src http://httpredir.debian.org/debian jessie main contrib non-free
|
||||
#deb-src http://httpredir.debian.org/debian jessie main contrib non-free
|
||||
|
||||
deb http://httpredir.debian.org/debian/ jessie-updates main contrib non-free
|
||||
deb-src http://httpredir.debian.org/debian/ jessie-updates main contrib non-free
|
||||
#deb-src http://httpredir.debian.org/debian/ jessie-updates main contrib non-free
|
||||
|
||||
deb http://httpredir.debian.org/debian jessie-backports main contrib non-free
|
||||
#deb-src http://httpredir.debian.org/debian jessie-backports main contrib non-free
|
||||
|
||||
# security packages come always from main repository
|
||||
deb http://security.debian.org/ jessie/updates main contrib non-free
|
||||
deb-src http://security.debian.org/ jessie/updates main contrib non-free
|
||||
#deb-src http://security.debian.org/ jessie/updates main contrib non-free
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
deb http://httpredir.debian.org/debian wheezy main contrib non-free
|
||||
deb-src http://httpredir.debian.org/debian wheezy main contrib non-free
|
||||
#deb-src http://httpredir.debian.org/debian wheezy main contrib non-free
|
||||
|
||||
deb http://httpredir.debian.org/debian/ wheezy-updates main contrib non-free
|
||||
deb-src http://httpredir.debian.org/debian/ wheezy-updates main contrib non-free
|
||||
#deb-src http://httpredir.debian.org/debian/ wheezy-updates main contrib non-free
|
||||
|
||||
deb http://httpredir.debian.org/debian wheezy-backports main contrib non-free
|
||||
deb-src http://httpredir.debian.org/debian wheezy-backports main contrib non-free
|
||||
#deb-src http://httpredir.debian.org/debian wheezy-backports main contrib non-free
|
||||
|
||||
# security packages come always from main repository
|
||||
deb http://security.debian.org/ wheezy/updates main contrib non-free
|
||||
deb-src http://security.debian.org/ wheezy/updates main contrib non-free
|
||||
#deb-src http://security.debian.org/ wheezy/updates main contrib non-free
|
||||
|
||||
@@ -3,7 +3,7 @@ BOARD_NAME="Clearfog"
|
||||
LINUXFAMILY=marvell
|
||||
BOOTCONFIG=armada_38x_clearfog_config
|
||||
MODULES=""
|
||||
MODULES_NEXT=""
|
||||
MODULES_NEXT="mv88e6xxx_drv mv_cesa"
|
||||
SERIALCON=ttyS0
|
||||
CLI_TARGET="jessie,trusty:default,next"
|
||||
KERNEL_TARGET="default,next"
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
BOARD_NAME="Banana Pi M2+"
|
||||
LINUXFAMILY=sun8i
|
||||
BOOTCONFIG=Sinovoip_BPI_M2_plus_defconfig
|
||||
MODULES="#gpio-sunxi #w1-sunxi #w1-gpio #w1-therm hci_uart rfcomm hidp bcmdhd"
|
||||
MODULES="#gpio-sunxi #w1-sunxi #w1-gpio #w1-therm #sunxi-cir hci_uart rfcomm hidp bcmdhd"
|
||||
MODULES_NEXT="brcmfmac"
|
||||
CPUMIN=240000
|
||||
CPUMAX=1200000
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
BOARD_NAME="Beelink X2"
|
||||
LINUXFAMILY=sun8i
|
||||
BOOTCONFIG=orangepi_pc_defconfig
|
||||
MODULES="#gpio_sunxi bcmdhd sndspdif sunxi_sndspdif sunxi_spdif sunxi_spdma"
|
||||
MODULES="#gpio_sunxi bcmdhd sndspdif sunxi_sndspdif sunxi_spdif sunxi_spdma sunxi-cir"
|
||||
MODULES_NEXT=""
|
||||
CPUMIN=240000
|
||||
CPUMAX=1200000
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
BOARD_NAME="NanoPi M1"
|
||||
LINUXFAMILY=sun8i
|
||||
BOOTCONFIG=FriendlyARM_NanoPi_M1_defconfig
|
||||
MODULES="#gpio_sunxi #w1-sunxi #w1-gpio #w1-therm"
|
||||
MODULES="#gpio_sunxi #w1-sunxi #w1-gpio #w1-therm #sunxi-cir"
|
||||
MODULES_NEXT="brcmfmac"
|
||||
CPUMIN=240000
|
||||
CPUMAX=1200000
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
BOARD_NAME="Orange Pi 2"
|
||||
LINUXFAMILY=sun8i
|
||||
BOOTCONFIG=orangepi_2_defconfig
|
||||
MODULES="8189es #gpio_sunxi #w1-sunxi #w1-gpio #w1-therm #gc2035 #vfe_v4l2"
|
||||
MODULES="8189es #gpio_sunxi #w1-sunxi #w1-gpio #w1-therm #gc2035 #vfe_v4l2 #sunxi-cir"
|
||||
MODULES_NEXT=""
|
||||
CPUMIN=480000
|
||||
CPUMAX=1296000
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
BOARD_NAME="Orange Pi Lite"
|
||||
LINUXFAMILY=sun8i
|
||||
BOOTCONFIG=orangepi_one_defconfig
|
||||
MODULES="8189fs #gpio_sunxi #w1-sunxi #w1-gpio #w1-therm #gc2035 #vfe_v4l2"
|
||||
MODULES="8189fs #gpio_sunxi #w1-sunxi #w1-gpio #w1-therm #gc2035 #vfe_v4l2 #sunxi-cir"
|
||||
MODULES_NEXT=""
|
||||
CPUMIN=480000
|
||||
CPUMAX=1200000
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
BOARD_NAME="Orange Pi PC"
|
||||
LINUXFAMILY=sun8i
|
||||
BOOTCONFIG=orangepi_pc_defconfig
|
||||
MODULES="8189es #gpio_sunxi #w1-sunxi #w1-gpio #w1-therm #gc2035 #vfe_v4l2"
|
||||
MODULES="8189es #gpio_sunxi #w1-sunxi #w1-gpio #w1-therm #gc2035 #vfe_v4l2 #sunxi-cir"
|
||||
MODULES_NEXT=""
|
||||
CPUMIN=480000
|
||||
CPUMAX=1296000
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
BOARD_NAME="Orange Pi PC +"
|
||||
LINUXFAMILY=sun8i
|
||||
BOOTCONFIG=orangepi_pc_defconfig
|
||||
MODULES="8189fs #gpio_sunxi #w1-sunxi #w1-gpio #w1-therm #gc2035 #vfe_v4l2"
|
||||
MODULES="8189fs #gpio_sunxi #w1-sunxi #w1-gpio #w1-therm #gc2035 #vfe_v4l2 #sunxi-cir"
|
||||
MODULES_NEXT=""
|
||||
CPUMIN=480000
|
||||
CPUMAX=1296000
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
BOARD_NAME="Orange Pi+"
|
||||
LINUXFAMILY=sun8i
|
||||
BOOTCONFIG=orangepi_plus_defconfig
|
||||
MODULES="8189es #gpio_sunxi #w1-sunxi #w1-gpio #w1-therm #gc2035 #vfe_v4l2"
|
||||
MODULES="8189es #gpio_sunxi #w1-sunxi #w1-gpio #w1-therm #gc2035 #vfe_v4l2 #sunxi-cir"
|
||||
MODULES_NEXT=""
|
||||
CPUMIN=480000
|
||||
CPUMAX=1296000
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
BOARD_NAME="Orange Pi+ 2E"
|
||||
LINUXFAMILY=sun8i
|
||||
BOOTCONFIG=orangepi_pc_defconfig
|
||||
MODULES="8189fs #gpio_sunxi #w1-sunxi #w1-gpio #w1-therm #gc2035 #vfe_v4l2"
|
||||
MODULES="8189fs #gpio_sunxi #w1-sunxi #w1-gpio #w1-therm #gc2035 #vfe_v4l2 #sunxi-cir"
|
||||
MODULES_NEXT=""
|
||||
CPUMIN=480000
|
||||
CPUMAX=1296000
|
||||
|
||||
@@ -234,7 +234,7 @@ dram_selfresh_en = 1
|
||||
dram_freq = 36
|
||||
wakeup_src0 =
|
||||
wakeup_src_wl = port:PG10<4><default><default><0>
|
||||
;wakeup_src_bt = port:PL03<6><default><default><0>
|
||||
wakeup_src_bt = port:PL03<6><default><default><0>
|
||||
|
||||
;----------------------------------------------------------------------------------
|
||||
;i2c configuration
|
||||
|
||||
@@ -784,11 +784,11 @@ smc_sda = port:PA08<2><default><default><default>
|
||||
[usbc0]
|
||||
usb_used = 1
|
||||
usb_port_type = 2
|
||||
usb_detect_type = 1
|
||||
usb_id_gpio = port:PA07<1><1><default><default>
|
||||
usb_det_vbus_gpio = port:PA07<1><1><default><default>
|
||||
usb_detect_type = 0
|
||||
usb_id_gpio = port:PA07<0><1><default><default>
|
||||
usb_det_vbus_gpio = port:PA07<0><1><default><default>
|
||||
usb_drv_vbus_gpio = port:PL02<1><0><default><0>
|
||||
usb_host_init_state = 0
|
||||
usb_host_init_state = 1
|
||||
usb_restrict_gpio =
|
||||
usb_restric_flag = 0
|
||||
usb_restric_voltage = 3550000
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#
|
||||
# Automatically generated file; DO NOT EDIT.
|
||||
# Linux/arm 4.5.1 Kernel Configuration
|
||||
# Linux/arm 4.6.2 Kernel Configuration
|
||||
#
|
||||
CONFIG_ARM=y
|
||||
CONFIG_ARM_HAS_SG_CHAIN=y
|
||||
@@ -161,6 +161,8 @@ CONFIG_SYSFS_SYSCALL=y
|
||||
# CONFIG_SYSCTL_SYSCALL is not set
|
||||
CONFIG_KALLSYMS=y
|
||||
# CONFIG_KALLSYMS_ALL is not set
|
||||
# CONFIG_KALLSYMS_ABSOLUTE_PERCPU is not set
|
||||
CONFIG_KALLSYMS_BASE_RELATIVE=y
|
||||
CONFIG_PRINTK=y
|
||||
CONFIG_BUG=y
|
||||
CONFIG_ELF_CORE=y
|
||||
@@ -339,6 +341,7 @@ CONFIG_MACH_ARMADA_39X=y
|
||||
CONFIG_MACH_ARMADA_XP=y
|
||||
CONFIG_MACH_DOVE=y
|
||||
# CONFIG_ARCH_ALPINE is not set
|
||||
# CONFIG_ARCH_ARTPEC is not set
|
||||
# CONFIG_ARCH_AT91 is not set
|
||||
# CONFIG_ARCH_BCM is not set
|
||||
# CONFIG_ARCH_BERLIN is not set
|
||||
@@ -429,7 +432,8 @@ CONFIG_ARM_L1_CACHE_SHIFT=6
|
||||
CONFIG_ARM_DMA_MEM_BUFFERABLE=y
|
||||
CONFIG_ARM_HEAVY_MB=y
|
||||
CONFIG_ARCH_SUPPORTS_BIG_ENDIAN=y
|
||||
# CONFIG_ARM_KERNMEM_PERMS is not set
|
||||
CONFIG_DEBUG_RODATA=y
|
||||
CONFIG_DEBUG_ALIGN_RODATA=y
|
||||
CONFIG_IWMMXT=y
|
||||
CONFIG_MULTI_IRQ_HANDLER=y
|
||||
CONFIG_PJ4B_ERRATA_4742=y
|
||||
@@ -449,6 +453,7 @@ CONFIG_ARM_ERRATA_720789=y
|
||||
CONFIG_PCI=y
|
||||
# CONFIG_PCI_DOMAINS_GENERIC is not set
|
||||
CONFIG_PCI_SYSCALL=y
|
||||
# CONFIG_PCIEPORTBUS is not set
|
||||
# CONFIG_PCI_MSI is not set
|
||||
# CONFIG_PCI_DEBUG is not set
|
||||
# CONFIG_PCI_REALLOC_ENABLE_AUTO is not set
|
||||
@@ -456,15 +461,16 @@ CONFIG_PCI_SYSCALL=y
|
||||
# CONFIG_PCI_IOV is not set
|
||||
# CONFIG_PCI_PRI is not set
|
||||
# CONFIG_PCI_PASID is not set
|
||||
# CONFIG_HOTPLUG_PCI is not set
|
||||
|
||||
#
|
||||
# PCI host controller drivers
|
||||
#
|
||||
CONFIG_PCI_MVEBU=y
|
||||
# CONFIG_PCIE_DW_PLAT is not set
|
||||
# CONFIG_PCI_HOST_GENERIC is not set
|
||||
# CONFIG_PCI_LAYERSCAPE is not set
|
||||
# CONFIG_PCIE_ALTERA is not set
|
||||
# CONFIG_PCIEPORTBUS is not set
|
||||
# CONFIG_PCCARD is not set
|
||||
|
||||
#
|
||||
@@ -711,7 +717,6 @@ CONFIG_INET_TUNNEL=y
|
||||
CONFIG_INET_XFRM_MODE_TRANSPORT=y
|
||||
CONFIG_INET_XFRM_MODE_TUNNEL=y
|
||||
CONFIG_INET_XFRM_MODE_BEET=y
|
||||
CONFIG_INET_LRO=y
|
||||
CONFIG_INET_DIAG=m
|
||||
CONFIG_INET_TCP_DIAG=m
|
||||
CONFIG_INET_UDP_DIAG=m
|
||||
@@ -1245,6 +1250,7 @@ CONFIG_NET_ACT_SKBEDIT=m
|
||||
CONFIG_NET_ACT_VLAN=m
|
||||
CONFIG_NET_ACT_BPF=m
|
||||
CONFIG_NET_ACT_CONNMARK=m
|
||||
# CONFIG_NET_ACT_IFE is not set
|
||||
CONFIG_NET_CLS_IND=y
|
||||
CONFIG_NET_SCH_FIFO=y
|
||||
CONFIG_DCB=y
|
||||
@@ -1255,7 +1261,6 @@ CONFIG_OPENVSWITCH_GRE=m
|
||||
CONFIG_OPENVSWITCH_VXLAN=m
|
||||
CONFIG_OPENVSWITCH_GENEVE=m
|
||||
# CONFIG_VSOCKETS is not set
|
||||
CONFIG_NETLINK_MMAP=y
|
||||
CONFIG_NETLINK_DIAG=m
|
||||
CONFIG_MPLS=y
|
||||
CONFIG_NET_MPLS_GSO=m
|
||||
@@ -1266,6 +1271,7 @@ CONFIG_NET_SWITCHDEV=y
|
||||
CONFIG_RPS=y
|
||||
CONFIG_RFS_ACCEL=y
|
||||
CONFIG_XPS=y
|
||||
CONFIG_HWBM=y
|
||||
CONFIG_SOCK_CGROUP_DATA=y
|
||||
CONFIG_CGROUP_NET_PRIO=y
|
||||
CONFIG_CGROUP_NET_CLASSID=y
|
||||
@@ -1290,6 +1296,7 @@ CONFIG_BT_RFCOMM=m
|
||||
CONFIG_BT_HS=y
|
||||
CONFIG_BT_LE=y
|
||||
CONFIG_BT_6LOWPAN=m
|
||||
# CONFIG_BT_LEDS is not set
|
||||
# CONFIG_BT_SELFTEST is not set
|
||||
CONFIG_BT_DEBUGFS=y
|
||||
|
||||
@@ -1311,6 +1318,7 @@ CONFIG_BT_MRVL=m
|
||||
CONFIG_BT_MRVL_SDIO=m
|
||||
# CONFIG_BT_ATH3K is not set
|
||||
# CONFIG_AF_RXRPC is not set
|
||||
# CONFIG_AF_KCM is not set
|
||||
CONFIG_FIB_RULES=y
|
||||
CONFIG_WIRELESS=y
|
||||
CONFIG_WEXT_CORE=y
|
||||
@@ -1318,7 +1326,6 @@ CONFIG_WEXT_PROC=y
|
||||
CONFIG_CFG80211=m
|
||||
# CONFIG_NL80211_TESTMODE is not set
|
||||
# CONFIG_CFG80211_DEVELOPER_WARNINGS is not set
|
||||
# CONFIG_CFG80211_REG_DEBUG is not set
|
||||
# CONFIG_CFG80211_CERTIFICATION_ONUS is not set
|
||||
CONFIG_CFG80211_DEFAULT_PS=y
|
||||
# CONFIG_CFG80211_DEBUGFS is not set
|
||||
@@ -1352,6 +1359,9 @@ CONFIG_CEPH_LIB=m
|
||||
# CONFIG_CEPH_LIB_USE_DNS_RESOLVER is not set
|
||||
# CONFIG_NFC is not set
|
||||
CONFIG_LWTUNNEL=y
|
||||
CONFIG_DST_CACHE=y
|
||||
CONFIG_NET_DEVLINK=m
|
||||
CONFIG_MAY_USE_DEVLINK=m
|
||||
CONFIG_HAVE_BPF_JIT=y
|
||||
|
||||
#
|
||||
@@ -1390,7 +1400,7 @@ CONFIG_REGMAP_MMIO=y
|
||||
# Bus devices
|
||||
#
|
||||
# CONFIG_ARM_CCI400_PMU is not set
|
||||
# CONFIG_ARM_CCI500_PMU is not set
|
||||
# CONFIG_ARM_CCI5xx_PMU is not set
|
||||
# CONFIG_ARM_CCN is not set
|
||||
# CONFIG_BRCMSTB_GISB_ARB is not set
|
||||
CONFIG_MVEBU_MBUS=y
|
||||
@@ -1536,7 +1546,9 @@ CONFIG_BLK_DEV_LOOP_MIN_COUNT=8
|
||||
# CONFIG_MG_DISK is not set
|
||||
# CONFIG_BLK_DEV_RBD is not set
|
||||
# CONFIG_BLK_DEV_RSXX is not set
|
||||
# CONFIG_BLK_DEV_NVME is not set
|
||||
CONFIG_NVME_CORE=m
|
||||
CONFIG_BLK_DEV_NVME=m
|
||||
# CONFIG_BLK_DEV_NVME_SCSI is not set
|
||||
|
||||
#
|
||||
# Misc devices
|
||||
@@ -1598,6 +1610,10 @@ CONFIG_EEPROM_AT24=y
|
||||
# SCIF Bus Driver
|
||||
#
|
||||
|
||||
#
|
||||
# VOP Bus Driver
|
||||
#
|
||||
|
||||
#
|
||||
# Intel MIC Host Driver
|
||||
#
|
||||
@@ -1613,6 +1629,10 @@ CONFIG_EEPROM_AT24=y
|
||||
#
|
||||
# Intel MIC Coprocessor State Management (COSM) Drivers
|
||||
#
|
||||
|
||||
#
|
||||
# VOP Driver
|
||||
#
|
||||
# CONFIG_ECHO is not set
|
||||
# CONFIG_CXL_BASE is not set
|
||||
# CONFIG_CXL_KERNEL_API is not set
|
||||
@@ -1808,7 +1828,6 @@ CONFIG_DM_CRYPT=m
|
||||
CONFIG_DM_SNAPSHOT=m
|
||||
CONFIG_DM_THIN_PROVISIONING=m
|
||||
CONFIG_DM_CACHE=m
|
||||
CONFIG_DM_CACHE_MQ=m
|
||||
CONFIG_DM_CACHE_SMQ=m
|
||||
CONFIG_DM_CACHE_CLEANER=m
|
||||
# CONFIG_DM_ERA is not set
|
||||
@@ -1843,6 +1862,7 @@ CONFIG_MACVTAP=y
|
||||
CONFIG_IPVLAN=y
|
||||
CONFIG_VXLAN=y
|
||||
CONFIG_GENEVE=m
|
||||
CONFIG_MACSEC=m
|
||||
# CONFIG_NETCONSOLE is not set
|
||||
# CONFIG_NETPOLL is not set
|
||||
# CONFIG_NET_POLL_CONTROLLER is not set
|
||||
@@ -1876,7 +1896,7 @@ CONFIG_NET_DSA_MV88E6XXX=m
|
||||
# CONFIG_NET_DSA_MV88E6060 is not set
|
||||
# CONFIG_NET_DSA_MV88E6XXX_NEED_PPU is not set
|
||||
# CONFIG_NET_DSA_MV88E6131 is not set
|
||||
# CONFIG_NET_DSA_MV88E6123_61_65 is not set
|
||||
CONFIG_NET_DSA_MV88E6123=m
|
||||
# CONFIG_NET_DSA_MV88E6171 is not set
|
||||
CONFIG_NET_DSA_MV88E6352=m
|
||||
# CONFIG_NET_DSA_BCM_SF2 is not set
|
||||
@@ -1966,7 +1986,9 @@ CONFIG_NET_VENDOR_I825XX=y
|
||||
CONFIG_NET_VENDOR_MARVELL=y
|
||||
CONFIG_MV643XX_ETH=y
|
||||
CONFIG_MVMDIO=y
|
||||
CONFIG_MVNETA_BM_ENABLE=m
|
||||
CONFIG_MVNETA=y
|
||||
CONFIG_MVNETA_BM=y
|
||||
CONFIG_MVPP2=y
|
||||
# CONFIG_SKGE is not set
|
||||
# CONFIG_SKY2 is not set
|
||||
@@ -2274,6 +2296,7 @@ CONFIG_KEYBOARD_GPIO=y
|
||||
CONFIG_INPUT_MOUSE=y
|
||||
CONFIG_MOUSE_PS2=y
|
||||
CONFIG_MOUSE_PS2_ALPS=y
|
||||
CONFIG_MOUSE_PS2_BYD=y
|
||||
CONFIG_MOUSE_PS2_LOGIPS2PP=y
|
||||
CONFIG_MOUSE_PS2_SYNAPTICS=y
|
||||
CONFIG_MOUSE_PS2_CYPRESS=y
|
||||
@@ -2295,6 +2318,7 @@ CONFIG_MOUSE_PS2_FOCALTECH=y
|
||||
# CONFIG_INPUT_TABLET is not set
|
||||
# CONFIG_INPUT_TOUCHSCREEN is not set
|
||||
# CONFIG_INPUT_MISC is not set
|
||||
# CONFIG_RMI4_CORE is not set
|
||||
|
||||
#
|
||||
# Hardware I/O ports
|
||||
@@ -2348,8 +2372,8 @@ CONFIG_SERIAL_8250_FSL=y
|
||||
CONFIG_SERIAL_8250_DW=y
|
||||
# CONFIG_SERIAL_8250_EM is not set
|
||||
# CONFIG_SERIAL_8250_RT288X is not set
|
||||
# CONFIG_SERIAL_8250_INGENIC is not set
|
||||
# CONFIG_SERIAL_8250_MID is not set
|
||||
CONFIG_SERIAL_8250_MOXA=m
|
||||
CONFIG_SERIAL_OF_PLATFORM=y
|
||||
|
||||
#
|
||||
@@ -2375,6 +2399,8 @@ CONFIG_SERIAL_CORE_CONSOLE=y
|
||||
# CONFIG_SERIAL_CONEXANT_DIGICOLOR is not set
|
||||
# CONFIG_SERIAL_ST_ASC is not set
|
||||
# CONFIG_SERIAL_STM32 is not set
|
||||
CONFIG_SERIAL_MVEBU_UART=y
|
||||
CONFIG_SERIAL_MVEBU_CONSOLE=y
|
||||
# CONFIG_TTY_PRINTK is not set
|
||||
# CONFIG_HVC_DCC is not set
|
||||
# CONFIG_IPMI_HANDLER is not set
|
||||
@@ -2460,8 +2486,10 @@ CONFIG_SPI_MASTER=y
|
||||
# SPI Master Controller Drivers
|
||||
#
|
||||
# CONFIG_SPI_ALTERA is not set
|
||||
# CONFIG_SPI_AXI_SPI_ENGINE is not set
|
||||
# CONFIG_SPI_BITBANG is not set
|
||||
# CONFIG_SPI_CADENCE is not set
|
||||
# CONFIG_SPI_DESIGNWARE is not set
|
||||
# CONFIG_SPI_GPIO is not set
|
||||
# CONFIG_SPI_FSL_SPI is not set
|
||||
# CONFIG_SPI_OC_TINY is not set
|
||||
@@ -2473,7 +2501,6 @@ CONFIG_SPI_ORION=y
|
||||
# CONFIG_SPI_XCOMM is not set
|
||||
# CONFIG_SPI_XILINX is not set
|
||||
# CONFIG_SPI_ZYNQMP_GQSPI is not set
|
||||
# CONFIG_SPI_DESIGNWARE is not set
|
||||
|
||||
#
|
||||
# SPI Protocol Masters
|
||||
@@ -2542,6 +2569,7 @@ CONFIG_GPIO_SYSFS=y
|
||||
# CONFIG_GPIO_EM is not set
|
||||
# CONFIG_GPIO_GENERIC_PLATFORM is not set
|
||||
# CONFIG_GPIO_GRGPIO is not set
|
||||
# CONFIG_GPIO_MPC8XXX is not set
|
||||
CONFIG_GPIO_MVEBU=y
|
||||
# CONFIG_GPIO_SYSCON is not set
|
||||
# CONFIG_GPIO_VX855 is not set
|
||||
@@ -2560,6 +2588,7 @@ CONFIG_GPIO_PCA953X=y
|
||||
# CONFIG_GPIO_PCA953X_IRQ is not set
|
||||
# CONFIG_GPIO_PCF857X is not set
|
||||
# CONFIG_GPIO_SX150X is not set
|
||||
# CONFIG_GPIO_TPIC2810 is not set
|
||||
|
||||
#
|
||||
# MFD GPIO expanders
|
||||
@@ -2579,6 +2608,7 @@ CONFIG_GPIO_PCA953X=y
|
||||
# CONFIG_GPIO_74X164 is not set
|
||||
# CONFIG_GPIO_MAX7301 is not set
|
||||
# CONFIG_GPIO_MC33880 is not set
|
||||
CONFIG_GPIO_PISOSR=m
|
||||
|
||||
#
|
||||
# SPI or I2C GPIO expanders
|
||||
@@ -2633,6 +2663,7 @@ CONFIG_SENSORS_GPIO_FAN=y
|
||||
# CONFIG_SENSORS_POWR1220 is not set
|
||||
# CONFIG_SENSORS_LINEAGE is not set
|
||||
# CONFIG_SENSORS_LTC2945 is not set
|
||||
CONFIG_SENSORS_LTC2990=m
|
||||
# CONFIG_SENSORS_LTC4151 is not set
|
||||
# CONFIG_SENSORS_LTC4215 is not set
|
||||
# CONFIG_SENSORS_LTC4222 is not set
|
||||
@@ -2749,11 +2780,9 @@ CONFIG_WATCHDOG_CORE=y
|
||||
# CONFIG_CADENCE_WATCHDOG is not set
|
||||
# CONFIG_DW_WATCHDOG is not set
|
||||
CONFIG_ORION_WATCHDOG=y
|
||||
# CONFIG_TS4800_WATCHDOG is not set
|
||||
# CONFIG_MAX63XX_WATCHDOG is not set
|
||||
# CONFIG_ALIM7101_WDT is not set
|
||||
# CONFIG_I6300ESB_WDT is not set
|
||||
CONFIG_BCM7038_WDT=m
|
||||
# CONFIG_MEN_A21_WDT is not set
|
||||
|
||||
#
|
||||
@@ -2790,6 +2819,7 @@ CONFIG_BCMA_DRIVER_PCI=y
|
||||
# Multifunction device drivers
|
||||
#
|
||||
# CONFIG_MFD_CORE is not set
|
||||
# CONFIG_MFD_ACT8945A is not set
|
||||
# CONFIG_MFD_AS3711 is not set
|
||||
# CONFIG_MFD_AS3722 is not set
|
||||
# CONFIG_PMIC_ADP5520 is not set
|
||||
@@ -2797,7 +2827,7 @@ CONFIG_BCMA_DRIVER_PCI=y
|
||||
# CONFIG_MFD_ATMEL_FLEXCOM is not set
|
||||
# CONFIG_MFD_ATMEL_HLCDC is not set
|
||||
# CONFIG_MFD_BCM590XX is not set
|
||||
# CONFIG_MFD_AXP20X is not set
|
||||
# CONFIG_MFD_AXP20X_I2C is not set
|
||||
# CONFIG_MFD_CROS_EC is not set
|
||||
# CONFIG_MFD_ASIC3 is not set
|
||||
# CONFIG_PMIC_DA903X is not set
|
||||
@@ -2859,12 +2889,12 @@ CONFIG_MFD_SYSCON=y
|
||||
# CONFIG_TPS6105X is not set
|
||||
# CONFIG_TPS65010 is not set
|
||||
# CONFIG_TPS6507X is not set
|
||||
# CONFIG_MFD_TPS65086 is not set
|
||||
# CONFIG_MFD_TPS65090 is not set
|
||||
# CONFIG_MFD_TPS65217 is not set
|
||||
# CONFIG_MFD_TPS65218 is not set
|
||||
# CONFIG_MFD_TPS6586X is not set
|
||||
# CONFIG_MFD_TPS65910 is not set
|
||||
# CONFIG_MFD_TPS65912 is not set
|
||||
# CONFIG_MFD_TPS65912_I2C is not set
|
||||
# CONFIG_MFD_TPS65912_SPI is not set
|
||||
# CONFIG_MFD_TPS80031 is not set
|
||||
@@ -2927,6 +2957,11 @@ CONFIG_VGA_ARB=y
|
||||
CONFIG_VGA_ARB_MAX_GPUS=16
|
||||
# CONFIG_DRM is not set
|
||||
|
||||
#
|
||||
# ACP (Audio CoProcessor) Configuration
|
||||
#
|
||||
# CONFIG_DRM_AMD_ACP is not set
|
||||
|
||||
#
|
||||
# Frame buffer Devices
|
||||
#
|
||||
@@ -2944,6 +2979,7 @@ CONFIG_SND=y
|
||||
CONFIG_SND_TIMER=y
|
||||
CONFIG_SND_PCM=y
|
||||
CONFIG_SND_JACK=y
|
||||
CONFIG_SND_JACK_INPUT_DEV=y
|
||||
# CONFIG_SND_SEQUENCER is not set
|
||||
# CONFIG_SND_MIXER_OSS is not set
|
||||
# CONFIG_SND_PCM_OSS is not set
|
||||
@@ -3064,6 +3100,7 @@ CONFIG_SND_KIRKWOOD_SOC=y
|
||||
# Allwinner SoC Audio support
|
||||
#
|
||||
# CONFIG_SND_SUN4I_CODEC is not set
|
||||
# CONFIG_SND_SUN4I_SPDIF is not set
|
||||
# CONFIG_SND_SOC_XTFPGA_I2S is not set
|
||||
CONFIG_SND_SOC_I2C_AND_SPI=y
|
||||
|
||||
@@ -3094,11 +3131,14 @@ CONFIG_SND_SOC_CS42L51_I2C=y
|
||||
# CONFIG_SND_SOC_GTM601 is not set
|
||||
# CONFIG_SND_SOC_INNO_RK3036 is not set
|
||||
# CONFIG_SND_SOC_PCM1681 is not set
|
||||
# CONFIG_SND_SOC_PCM179X is not set
|
||||
# CONFIG_SND_SOC_PCM179X_I2C is not set
|
||||
# CONFIG_SND_SOC_PCM179X_SPI is not set
|
||||
# CONFIG_SND_SOC_PCM3168A_I2C is not set
|
||||
# CONFIG_SND_SOC_PCM3168A_SPI is not set
|
||||
# CONFIG_SND_SOC_PCM512x_I2C is not set
|
||||
# CONFIG_SND_SOC_PCM512x_SPI is not set
|
||||
CONFIG_SND_SOC_RL6231=m
|
||||
CONFIG_SND_SOC_RT5616=m
|
||||
# CONFIG_SND_SOC_RT5631 is not set
|
||||
# CONFIG_SND_SOC_RT5677_SPI is not set
|
||||
# CONFIG_SND_SOC_SGTL5000 is not set
|
||||
@@ -3164,6 +3204,7 @@ CONFIG_HID_GENERIC=y
|
||||
# CONFIG_HID_CHICONY is not set
|
||||
# CONFIG_HID_CORSAIR is not set
|
||||
# CONFIG_HID_PRODIKEYS is not set
|
||||
CONFIG_HID_CMEDIA=m
|
||||
# CONFIG_HID_CP2112 is not set
|
||||
# CONFIG_HID_CYPRESS is not set
|
||||
# CONFIG_HID_DRAGONRISE is not set
|
||||
@@ -3434,6 +3475,7 @@ CONFIG_LEDS_CLASS=m
|
||||
# CONFIG_LEDS_TCA6507 is not set
|
||||
# CONFIG_LEDS_TLC591XX is not set
|
||||
# CONFIG_LEDS_LM355x is not set
|
||||
CONFIG_LEDS_IS31FL32XX=m
|
||||
|
||||
#
|
||||
# LED driver for blink(1) USB RGB LED is under Special HID drivers (HID_THINGM)
|
||||
@@ -3486,7 +3528,6 @@ CONFIG_RTC_INTF_DEV=y
|
||||
# CONFIG_RTC_DRV_DS1307 is not set
|
||||
# CONFIG_RTC_DRV_DS1374 is not set
|
||||
# CONFIG_RTC_DRV_DS1672 is not set
|
||||
# CONFIG_RTC_DRV_DS3232 is not set
|
||||
# CONFIG_RTC_DRV_HYM8563 is not set
|
||||
# CONFIG_RTC_DRV_MAX6900 is not set
|
||||
# CONFIG_RTC_DRV_RS5C372 is not set
|
||||
@@ -3494,10 +3535,9 @@ CONFIG_RTC_INTF_DEV=y
|
||||
# CONFIG_RTC_DRV_ISL12022 is not set
|
||||
# CONFIG_RTC_DRV_ISL12057 is not set
|
||||
# CONFIG_RTC_DRV_X1205 is not set
|
||||
# CONFIG_RTC_DRV_PCF2127 is not set
|
||||
# CONFIG_RTC_DRV_PCF8523 is not set
|
||||
# CONFIG_RTC_DRV_PCF8563 is not set
|
||||
# CONFIG_RTC_DRV_PCF85063 is not set
|
||||
# CONFIG_RTC_DRV_PCF8563 is not set
|
||||
# CONFIG_RTC_DRV_PCF8583 is not set
|
||||
# CONFIG_RTC_DRV_M41T80 is not set
|
||||
# CONFIG_RTC_DRV_BQ32K is not set
|
||||
@@ -3519,13 +3559,20 @@ CONFIG_RTC_DRV_S35390A=y
|
||||
# CONFIG_RTC_DRV_DS1343 is not set
|
||||
# CONFIG_RTC_DRV_DS1347 is not set
|
||||
# CONFIG_RTC_DRV_DS1390 is not set
|
||||
# CONFIG_RTC_DRV_MAX6902 is not set
|
||||
# CONFIG_RTC_DRV_R9701 is not set
|
||||
# CONFIG_RTC_DRV_RS5C348 is not set
|
||||
# CONFIG_RTC_DRV_DS3234 is not set
|
||||
# CONFIG_RTC_DRV_PCF2123 is not set
|
||||
# CONFIG_RTC_DRV_RX4581 is not set
|
||||
CONFIG_RTC_DRV_RX6110=m
|
||||
# CONFIG_RTC_DRV_RS5C348 is not set
|
||||
# CONFIG_RTC_DRV_MAX6902 is not set
|
||||
# CONFIG_RTC_DRV_PCF2123 is not set
|
||||
# CONFIG_RTC_DRV_MCP795 is not set
|
||||
CONFIG_RTC_I2C_AND_SPI=y
|
||||
|
||||
#
|
||||
# SPI and I2C RTC drivers
|
||||
#
|
||||
# CONFIG_RTC_DRV_DS3232 is not set
|
||||
# CONFIG_RTC_DRV_PCF2127 is not set
|
||||
|
||||
#
|
||||
# Platform RTC drivers
|
||||
@@ -3571,6 +3618,8 @@ CONFIG_DMA_OF=y
|
||||
# CONFIG_INTEL_IDMA64 is not set
|
||||
CONFIG_MV_XOR=y
|
||||
# CONFIG_NBPFAXI_DMA is not set
|
||||
CONFIG_QCOM_HIDMA_MGMT=m
|
||||
CONFIG_QCOM_HIDMA=m
|
||||
# CONFIG_DW_DMAC is not set
|
||||
# CONFIG_DW_DMAC_PCI is not set
|
||||
|
||||
@@ -3609,24 +3658,25 @@ CONFIG_STAGING=y
|
||||
# Speakup console speech
|
||||
#
|
||||
# CONFIG_SPEAKUP is not set
|
||||
# CONFIG_TOUCHSCREEN_SYNAPTICS_I2C_RMI4 is not set
|
||||
# CONFIG_STAGING_MEDIA is not set
|
||||
|
||||
#
|
||||
# Android
|
||||
#
|
||||
# CONFIG_STAGING_BOARD is not set
|
||||
# CONFIG_WIMAX_GDM72XX is not set
|
||||
# CONFIG_LTE_GDM724X is not set
|
||||
# CONFIG_MTD_SPINAND_MT29F is not set
|
||||
CONFIG_LNET=m
|
||||
CONFIG_LNET_MAX_PAYLOAD=1048576
|
||||
# CONFIG_LNET_SELFTEST is not set
|
||||
# CONFIG_LUSTRE_FS is not set
|
||||
# CONFIG_DGNC is not set
|
||||
# CONFIG_DGAP is not set
|
||||
# CONFIG_GS_FPGABOOT is not set
|
||||
# CONFIG_COMMON_CLK_XLNX_CLKWZRD is not set
|
||||
# CONFIG_WILC1000_SDIO is not set
|
||||
# CONFIG_WILC1000_SPI is not set
|
||||
# CONFIG_MOST is not set
|
||||
# CONFIG_GOLDFISH is not set
|
||||
# CONFIG_CHROME_PLATFORMS is not set
|
||||
CONFIG_CLKDEV_LOOKUP=y
|
||||
CONFIG_HAVE_CLK_PREPARE=y
|
||||
@@ -3638,12 +3688,12 @@ CONFIG_COMMON_CLK=y
|
||||
# CONFIG_COMMON_CLK_SI5351 is not set
|
||||
# CONFIG_COMMON_CLK_SI514 is not set
|
||||
# CONFIG_COMMON_CLK_SI570 is not set
|
||||
# CONFIG_COMMON_CLK_CDCE706 is not set
|
||||
# CONFIG_COMMON_CLK_CDCE925 is not set
|
||||
# CONFIG_COMMON_CLK_CS2000_CP is not set
|
||||
CONFIG_CLK_QORIQ=y
|
||||
# CONFIG_COMMON_CLK_NXP is not set
|
||||
# CONFIG_COMMON_CLK_PXA is not set
|
||||
# CONFIG_COMMON_CLK_CDCE706 is not set
|
||||
CONFIG_MVEBU_CLK_COMMON=y
|
||||
CONFIG_MVEBU_CLK_CPU=y
|
||||
CONFIG_MVEBU_CLK_COREDIV=y
|
||||
@@ -3701,8 +3751,8 @@ CONFIG_MVEBU_DEVBUS=y
|
||||
CONFIG_IRQCHIP=y
|
||||
CONFIG_ARM_GIC=y
|
||||
CONFIG_ARM_GIC_MAX_NR=1
|
||||
CONFIG_ARMADA_370_XP_IRQ=y
|
||||
CONFIG_ORION_IRQCHIP=y
|
||||
# CONFIG_TS4800_IRQ is not set
|
||||
# CONFIG_IPACK_BUS is not set
|
||||
# CONFIG_RESET_CONTROLLER is not set
|
||||
# CONFIG_FMC is not set
|
||||
@@ -3712,8 +3762,8 @@ CONFIG_ORION_IRQCHIP=y
|
||||
#
|
||||
CONFIG_GENERIC_PHY=y
|
||||
CONFIG_ARMADA375_USBCLUSTER_PHY=y
|
||||
# CONFIG_PHY_PXA_28NM_HSIC is not set
|
||||
# CONFIG_PHY_PXA_28NM_USB2 is not set
|
||||
CONFIG_PHY_PXA_28NM_HSIC=m
|
||||
CONFIG_PHY_PXA_28NM_USB2=m
|
||||
CONFIG_PHY_MVEBU_SATA=y
|
||||
# CONFIG_BCM_KONA_USB2_PHY is not set
|
||||
# CONFIG_POWERCAP is not set
|
||||
@@ -3730,10 +3780,8 @@ CONFIG_ARM_PMU=y
|
||||
# Android
|
||||
#
|
||||
# CONFIG_ANDROID is not set
|
||||
CONFIG_NVMEM=m
|
||||
CONFIG_NVMEM=y
|
||||
# CONFIG_STM is not set
|
||||
# CONFIG_STM_DUMMY is not set
|
||||
# CONFIG_STM_SOURCE_CONSOLE is not set
|
||||
# CONFIG_INTEL_TH is not set
|
||||
|
||||
#
|
||||
@@ -3745,6 +3793,7 @@ CONFIG_NVMEM=m
|
||||
# Firmware Drivers
|
||||
#
|
||||
# CONFIG_FIRMWARE_MEMMAP is not set
|
||||
# CONFIG_FW_CFG_SYSFS is not set
|
||||
CONFIG_HAVE_ARM_SMCCC=y
|
||||
|
||||
#
|
||||
@@ -3799,6 +3848,7 @@ CONFIG_FS_POSIX_ACL=y
|
||||
CONFIG_EXPORTFS=y
|
||||
CONFIG_FILE_LOCKING=y
|
||||
CONFIG_MANDATORY_FILE_LOCKING=y
|
||||
CONFIG_FS_ENCRYPTION=m
|
||||
CONFIG_FSNOTIFY=y
|
||||
CONFIG_DNOTIFY=y
|
||||
CONFIG_INOTIFY_USER=y
|
||||
@@ -3833,6 +3883,7 @@ CONFIG_MSDOS_FS=y
|
||||
CONFIG_VFAT_FS=y
|
||||
CONFIG_FAT_DEFAULT_CODEPAGE=437
|
||||
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
|
||||
# CONFIG_FAT_DEFAULT_UTF8 is not set
|
||||
CONFIG_NTFS_FS=m
|
||||
# CONFIG_NTFS_DEBUG is not set
|
||||
CONFIG_NTFS_RW=y
|
||||
@@ -3852,6 +3903,7 @@ CONFIG_TMPFS_XATTR=y
|
||||
# CONFIG_HUGETLB_PAGE is not set
|
||||
# CONFIG_CONFIGFS_FS is not set
|
||||
CONFIG_MISC_FILESYSTEMS=y
|
||||
# CONFIG_ORANGEFS_FS is not set
|
||||
# CONFIG_ADFS_FS is not set
|
||||
# CONFIG_AFFS_FS is not set
|
||||
# CONFIG_ECRYPT_FS is not set
|
||||
@@ -3904,7 +3956,8 @@ CONFIG_NFSD_V2_ACL=y
|
||||
CONFIG_NFSD_V3=y
|
||||
CONFIG_NFSD_V3_ACL=y
|
||||
CONFIG_NFSD_V4=y
|
||||
# CONFIG_NFSD_PNFS is not set
|
||||
# CONFIG_NFSD_BLOCKLAYOUT is not set
|
||||
# CONFIG_NFSD_SCSILAYOUT is not set
|
||||
# CONFIG_NFSD_FAULT_INJECTION is not set
|
||||
CONFIG_GRACE_PERIOD=y
|
||||
CONFIG_LOCKD=y
|
||||
@@ -4020,6 +4073,7 @@ CONFIG_DEBUG_KERNEL=y
|
||||
#
|
||||
# CONFIG_PAGE_EXTENSION is not set
|
||||
# CONFIG_DEBUG_PAGEALLOC is not set
|
||||
# CONFIG_PAGE_POISONING is not set
|
||||
# CONFIG_DEBUG_OBJECTS is not set
|
||||
# CONFIG_DEBUG_SLAB is not set
|
||||
CONFIG_HAVE_DEBUG_KMEMLEAK=y
|
||||
@@ -4081,6 +4135,7 @@ CONFIG_RCU_CPU_STALL_TIMEOUT=21
|
||||
# CONFIG_RCU_EQS_DEBUG is not set
|
||||
# CONFIG_DEBUG_WQ_FORCE_RR_CPU is not set
|
||||
# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
|
||||
CONFIG_CPU_HOTPLUG_STATE_CONTROL=y
|
||||
# CONFIG_NOTIFIER_ERROR_INJECTION is not set
|
||||
# CONFIG_FAULT_INJECTION is not set
|
||||
# CONFIG_LATENCYTOP is not set
|
||||
@@ -4107,6 +4162,7 @@ CONFIG_TEST_HEXDUMP=m
|
||||
# CONFIG_TEST_STRING_HELPERS is not set
|
||||
# CONFIG_TEST_KSTRTOX is not set
|
||||
# CONFIG_TEST_PRINTF is not set
|
||||
# CONFIG_TEST_BITMAP is not set
|
||||
# CONFIG_TEST_RHASHTABLE is not set
|
||||
# CONFIG_DMA_API_DEBUG is not set
|
||||
# CONFIG_TEST_LKM is not set
|
||||
@@ -4139,6 +4195,7 @@ CONFIG_DEBUG_UART_PHYS=0x01c28000
|
||||
CONFIG_DEBUG_UART_VIRT=0xf1c28000
|
||||
CONFIG_DEBUG_UART_8250_SHIFT=2
|
||||
# CONFIG_DEBUG_UART_8250_WORD is not set
|
||||
# CONFIG_DEBUG_UART_8250_PALMCHIP is not set
|
||||
# CONFIG_DEBUG_UART_8250_FLOW_CONTROL is not set
|
||||
CONFIG_DEBUG_UNCOMPRESS=y
|
||||
CONFIG_UNCOMPRESS_INCLUDE="debug/uncompress.h"
|
||||
@@ -4176,8 +4233,6 @@ CONFIG_CRYPTO_HASH2=y
|
||||
CONFIG_CRYPTO_RNG=y
|
||||
CONFIG_CRYPTO_RNG2=y
|
||||
CONFIG_CRYPTO_RNG_DEFAULT=y
|
||||
CONFIG_CRYPTO_PCOMP=m
|
||||
CONFIG_CRYPTO_PCOMP2=y
|
||||
CONFIG_CRYPTO_AKCIPHER2=y
|
||||
CONFIG_CRYPTO_AKCIPHER=y
|
||||
CONFIG_CRYPTO_RSA=y
|
||||
@@ -4228,7 +4283,7 @@ CONFIG_CRYPTO_XCBC=m
|
||||
# Digest
|
||||
#
|
||||
CONFIG_CRYPTO_CRC32C=y
|
||||
CONFIG_CRYPTO_CRC32=m
|
||||
CONFIG_CRYPTO_CRC32=y
|
||||
# CONFIG_CRYPTO_CRCT10DIF is not set
|
||||
CONFIG_CRYPTO_GHASH=y
|
||||
# CONFIG_CRYPTO_POLY1305 is not set
|
||||
@@ -4272,7 +4327,6 @@ CONFIG_CRYPTO_TWOFISH_COMMON=m
|
||||
# Compression
|
||||
#
|
||||
CONFIG_CRYPTO_DEFLATE=y
|
||||
CONFIG_CRYPTO_ZLIB=m
|
||||
CONFIG_CRYPTO_LZO=y
|
||||
CONFIG_CRYPTO_842=m
|
||||
CONFIG_CRYPTO_LZ4=m
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#
|
||||
# Automatically generated file; DO NOT EDIT.
|
||||
# Linux/arm 3.10.101 Kernel Configuration
|
||||
# Linux/arm 3.10.102 Kernel Configuration
|
||||
#
|
||||
CONFIG_ARM=y
|
||||
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
|
||||
@@ -1559,6 +1559,11 @@ CONFIG_DEINTERLACE=y
|
||||
# CONFIG_AM_PCMCIA is not set
|
||||
# CONFIG_AM_IOBUS is not set
|
||||
|
||||
#
|
||||
# ION support
|
||||
#
|
||||
# CONFIG_AMLOGIC_ION is not set
|
||||
|
||||
#
|
||||
# Amlogic Crypto Support
|
||||
#
|
||||
@@ -1755,7 +1760,7 @@ CONFIG_BLK_DEV_NBD=m
|
||||
# CONFIG_DS1682 is not set
|
||||
# CONFIG_TI_DAC7512 is not set
|
||||
# CONFIG_UID_STAT is not set
|
||||
CONFIG_BMP085=y
|
||||
CONFIG_BMP085=m
|
||||
CONFIG_BMP085_I2C=m
|
||||
# CONFIG_BMP085_SPI is not set
|
||||
CONFIG_SI1132=m
|
||||
|
||||
@@ -4,6 +4,9 @@
|
||||
#
|
||||
CONFIG_ARM=y
|
||||
CONFIG_ARM_HAS_SG_CHAIN=y
|
||||
CONFIG_NEED_SG_DMA_LENGTH=y
|
||||
CONFIG_ARM_DMA_USE_IOMMU=y
|
||||
CONFIG_ARM_DMA_IOMMU_ALIGNMENT=8
|
||||
CONFIG_MIGHT_HAVE_PCI=y
|
||||
CONFIG_SYS_SUPPORTS_APM_EMULATION=y
|
||||
CONFIG_HAVE_PROC_CPU=y
|
||||
@@ -33,7 +36,7 @@ CONFIG_INIT_ENV_ARG_LIMIT=32
|
||||
CONFIG_CROSS_COMPILE=""
|
||||
# CONFIG_COMPILE_TEST is not set
|
||||
CONFIG_LOCALVERSION=""
|
||||
CONFIG_LOCALVERSION_AUTO=y
|
||||
# CONFIG_LOCALVERSION_AUTO is not set
|
||||
CONFIG_HAVE_KERNEL_GZIP=y
|
||||
CONFIG_HAVE_KERNEL_LZMA=y
|
||||
CONFIG_HAVE_KERNEL_XZ=y
|
||||
@@ -282,8 +285,11 @@ CONFIG_IOSCHED_CFQ=y
|
||||
CONFIG_DEFAULT_CFQ=y
|
||||
# CONFIG_DEFAULT_NOOP is not set
|
||||
CONFIG_DEFAULT_IOSCHED="cfq"
|
||||
CONFIG_PADATA=y
|
||||
CONFIG_ASN1=m
|
||||
CONFIG_UNINLINE_SPIN_UNLOCK=y
|
||||
CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y
|
||||
CONFIG_MUTEX_SPIN_ON_OWNER=y
|
||||
CONFIG_RWSEM_SPIN_ON_OWNER=y
|
||||
CONFIG_LOCK_SPIN_ON_OWNER=y
|
||||
CONFIG_FREEZER=y
|
||||
@@ -1060,6 +1066,10 @@ CONFIG_NET_CORE=y
|
||||
#
|
||||
# CAIF transport drivers
|
||||
#
|
||||
CONFIG_VHOST_NET=m
|
||||
CONFIG_VHOST_RING=m
|
||||
CONFIG_VHOST=m
|
||||
# CONFIG_VHOST_CROSS_ENDIAN_LEGACY is not set
|
||||
|
||||
#
|
||||
# Distributed Switch Architecture drivers
|
||||
@@ -2216,6 +2226,7 @@ CONFIG_DRM_FBDEV_EMULATION=y
|
||||
# CONFIG_DRM_AMD_ACP is not set
|
||||
# CONFIG_DRM_VGEM is not set
|
||||
CONFIG_DRM_EXYNOS=y
|
||||
CONFIG_DRM_EXYNOS_IOMMU=y
|
||||
|
||||
#
|
||||
# CRTCs
|
||||
@@ -3025,6 +3036,11 @@ CONFIG_PL330_DMA=y
|
||||
# CONFIG_DMATEST is not set
|
||||
# CONFIG_AUXDISPLAY is not set
|
||||
# CONFIG_UIO is not set
|
||||
# CONFIG_VFIO_IOMMU_TYPE1 is not set
|
||||
# CONFIG_VFIO_VIRQFD is not set
|
||||
CONFIG_VFIO=m
|
||||
# CONFIG_VFIO_NOIOMMU is not set
|
||||
# CONFIG_VFIO_PLATFORM is not set
|
||||
# CONFIG_VIRT_DRIVERS is not set
|
||||
|
||||
#
|
||||
@@ -3083,6 +3099,7 @@ CONFIG_CLKSRC_SAMSUNG_PWM=y
|
||||
# CONFIG_SH_TIMER_TMU is not set
|
||||
# CONFIG_EM_TIMER_STI is not set
|
||||
# CONFIG_MAILBOX is not set
|
||||
CONFIG_IOMMU_API=y
|
||||
CONFIG_IOMMU_SUPPORT=y
|
||||
|
||||
#
|
||||
@@ -3090,7 +3107,9 @@ CONFIG_IOMMU_SUPPORT=y
|
||||
#
|
||||
# CONFIG_IOMMU_IO_PGTABLE_LPAE is not set
|
||||
# CONFIG_IOMMU_IO_PGTABLE_ARMV7S is not set
|
||||
CONFIG_OF_IOMMU=y
|
||||
CONFIG_EXYNOS_IOMMU=y
|
||||
# CONFIG_EXYNOS_IOMMU_DEBUG is not set
|
||||
# CONFIG_ARM_SMMU is not set
|
||||
|
||||
#
|
||||
@@ -3534,6 +3553,7 @@ CONFIG_LOCKD_V4=y
|
||||
CONFIG_NFS_COMMON=y
|
||||
CONFIG_SUNRPC=y
|
||||
CONFIG_SUNRPC_GSS=y
|
||||
CONFIG_RPCSEC_GSS_KRB5=m
|
||||
# CONFIG_SUNRPC_DEBUG is not set
|
||||
# CONFIG_CEPH_FS is not set
|
||||
# CONFIG_CIFS is not set
|
||||
@@ -3608,11 +3628,7 @@ CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4
|
||||
#
|
||||
# Compile-time checks and compiler options
|
||||
#
|
||||
CONFIG_DEBUG_INFO=y
|
||||
# CONFIG_DEBUG_INFO_REDUCED is not set
|
||||
# CONFIG_DEBUG_INFO_SPLIT is not set
|
||||
# CONFIG_DEBUG_INFO_DWARF4 is not set
|
||||
# CONFIG_GDB_SCRIPTS is not set
|
||||
# CONFIG_DEBUG_INFO is not set
|
||||
CONFIG_ENABLE_WARN_DEPRECATED=y
|
||||
CONFIG_ENABLE_MUST_CHECK=y
|
||||
CONFIG_FRAME_WARN=1024
|
||||
@@ -3672,9 +3688,9 @@ CONFIG_DEBUG_PREEMPT=y
|
||||
#
|
||||
# Lock Debugging (spinlocks, mutexes, etc...)
|
||||
#
|
||||
CONFIG_DEBUG_RT_MUTEXES=y
|
||||
CONFIG_DEBUG_SPINLOCK=y
|
||||
CONFIG_DEBUG_MUTEXES=y
|
||||
# CONFIG_DEBUG_RT_MUTEXES is not set
|
||||
# CONFIG_DEBUG_SPINLOCK is not set
|
||||
# CONFIG_DEBUG_MUTEXES is not set
|
||||
# CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set
|
||||
# CONFIG_DEBUG_LOCK_ALLOC is not set
|
||||
# CONFIG_PROVE_LOCKING is not set
|
||||
@@ -3763,7 +3779,7 @@ CONFIG_ARCH_HAS_DEVMEM_IS_ALLOWED=y
|
||||
# CONFIG_STRICT_DEVMEM is not set
|
||||
# CONFIG_ARM_PTDUMP is not set
|
||||
CONFIG_ARM_UNWIND=y
|
||||
CONFIG_DEBUG_USER=y
|
||||
# CONFIG_DEBUG_USER is not set
|
||||
# CONFIG_DEBUG_LL is not set
|
||||
CONFIG_DEBUG_LL_INCLUDE="mach/debug-macro.S"
|
||||
# CONFIG_DEBUG_UART_8250 is not set
|
||||
@@ -3792,144 +3808,156 @@ CONFIG_CRYPTO=y
|
||||
#
|
||||
CONFIG_CRYPTO_ALGAPI=y
|
||||
CONFIG_CRYPTO_ALGAPI2=y
|
||||
CONFIG_CRYPTO_AEAD=m
|
||||
CONFIG_CRYPTO_AEAD=y
|
||||
CONFIG_CRYPTO_AEAD2=y
|
||||
CONFIG_CRYPTO_BLKCIPHER=y
|
||||
CONFIG_CRYPTO_BLKCIPHER2=y
|
||||
CONFIG_CRYPTO_HASH=y
|
||||
CONFIG_CRYPTO_HASH2=y
|
||||
CONFIG_CRYPTO_RNG=m
|
||||
CONFIG_CRYPTO_RNG=y
|
||||
CONFIG_CRYPTO_RNG2=y
|
||||
CONFIG_CRYPTO_RNG_DEFAULT=m
|
||||
CONFIG_CRYPTO_RNG_DEFAULT=y
|
||||
CONFIG_CRYPTO_AKCIPHER2=y
|
||||
# CONFIG_CRYPTO_RSA is not set
|
||||
CONFIG_CRYPTO_AKCIPHER=m
|
||||
CONFIG_CRYPTO_RSA=m
|
||||
CONFIG_CRYPTO_MANAGER=y
|
||||
CONFIG_CRYPTO_MANAGER2=y
|
||||
# CONFIG_CRYPTO_USER is not set
|
||||
CONFIG_CRYPTO_USER=m
|
||||
CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y
|
||||
# CONFIG_CRYPTO_GF128MUL is not set
|
||||
CONFIG_CRYPTO_NULL=m
|
||||
CONFIG_CRYPTO_GF128MUL=y
|
||||
CONFIG_CRYPTO_NULL=y
|
||||
CONFIG_CRYPTO_NULL2=y
|
||||
# CONFIG_CRYPTO_PCRYPT is not set
|
||||
CONFIG_CRYPTO_PCRYPT=m
|
||||
CONFIG_CRYPTO_WORKQUEUE=y
|
||||
CONFIG_CRYPTO_CRYPTD=m
|
||||
# CONFIG_CRYPTO_MCRYPTD is not set
|
||||
# CONFIG_CRYPTO_AUTHENC is not set
|
||||
CONFIG_CRYPTO_MCRYPTD=m
|
||||
CONFIG_CRYPTO_AUTHENC=y
|
||||
# CONFIG_CRYPTO_TEST is not set
|
||||
CONFIG_CRYPTO_ABLK_HELPER=m
|
||||
|
||||
#
|
||||
# Authenticated Encryption with Associated Data
|
||||
#
|
||||
# CONFIG_CRYPTO_CCM is not set
|
||||
# CONFIG_CRYPTO_GCM is not set
|
||||
# CONFIG_CRYPTO_CHACHA20POLY1305 is not set
|
||||
# CONFIG_CRYPTO_SEQIV is not set
|
||||
CONFIG_CRYPTO_CCM=m
|
||||
CONFIG_CRYPTO_GCM=m
|
||||
CONFIG_CRYPTO_CHACHA20POLY1305=m
|
||||
CONFIG_CRYPTO_SEQIV=y
|
||||
CONFIG_CRYPTO_ECHAINIV=m
|
||||
|
||||
#
|
||||
# Block modes
|
||||
#
|
||||
CONFIG_CRYPTO_CBC=y
|
||||
# CONFIG_CRYPTO_CTR is not set
|
||||
# CONFIG_CRYPTO_CTS is not set
|
||||
# CONFIG_CRYPTO_ECB is not set
|
||||
# CONFIG_CRYPTO_LRW is not set
|
||||
# CONFIG_CRYPTO_PCBC is not set
|
||||
# CONFIG_CRYPTO_XTS is not set
|
||||
# CONFIG_CRYPTO_KEYWRAP is not set
|
||||
CONFIG_CRYPTO_CTR=y
|
||||
CONFIG_CRYPTO_CTS=y
|
||||
CONFIG_CRYPTO_ECB=y
|
||||
CONFIG_CRYPTO_LRW=m
|
||||
CONFIG_CRYPTO_PCBC=m
|
||||
CONFIG_CRYPTO_XTS=y
|
||||
CONFIG_CRYPTO_KEYWRAP=m
|
||||
|
||||
#
|
||||
# Hash modes
|
||||
#
|
||||
# CONFIG_CRYPTO_CMAC is not set
|
||||
CONFIG_CRYPTO_HMAC=m
|
||||
# CONFIG_CRYPTO_XCBC is not set
|
||||
# CONFIG_CRYPTO_VMAC is not set
|
||||
CONFIG_CRYPTO_CMAC=y
|
||||
CONFIG_CRYPTO_HMAC=y
|
||||
CONFIG_CRYPTO_XCBC=m
|
||||
CONFIG_CRYPTO_VMAC=m
|
||||
|
||||
#
|
||||
# Digest
|
||||
#
|
||||
CONFIG_CRYPTO_CRC32C=y
|
||||
# CONFIG_CRYPTO_CRC32 is not set
|
||||
# CONFIG_CRYPTO_CRCT10DIF is not set
|
||||
# CONFIG_CRYPTO_GHASH is not set
|
||||
# CONFIG_CRYPTO_POLY1305 is not set
|
||||
# CONFIG_CRYPTO_MD4 is not set
|
||||
# CONFIG_CRYPTO_MD5 is not set
|
||||
# CONFIG_CRYPTO_MICHAEL_MIC is not set
|
||||
# CONFIG_CRYPTO_RMD128 is not set
|
||||
# CONFIG_CRYPTO_RMD160 is not set
|
||||
# CONFIG_CRYPTO_RMD256 is not set
|
||||
# CONFIG_CRYPTO_RMD320 is not set
|
||||
CONFIG_CRYPTO_SHA1=m
|
||||
CONFIG_CRYPTO_SHA256=m
|
||||
# CONFIG_CRYPTO_SHA512 is not set
|
||||
# CONFIG_CRYPTO_TGR192 is not set
|
||||
# CONFIG_CRYPTO_WP512 is not set
|
||||
CONFIG_CRYPTO_CRC32=y
|
||||
CONFIG_CRYPTO_CRCT10DIF=y
|
||||
CONFIG_CRYPTO_GHASH=m
|
||||
CONFIG_CRYPTO_POLY1305=m
|
||||
CONFIG_CRYPTO_MD4=y
|
||||
CONFIG_CRYPTO_MD5=y
|
||||
CONFIG_CRYPTO_MICHAEL_MIC=m
|
||||
CONFIG_CRYPTO_RMD128=m
|
||||
CONFIG_CRYPTO_RMD160=m
|
||||
CONFIG_CRYPTO_RMD256=m
|
||||
CONFIG_CRYPTO_RMD320=m
|
||||
CONFIG_CRYPTO_SHA1=y
|
||||
CONFIG_CRYPTO_SHA256=y
|
||||
CONFIG_CRYPTO_SHA512=m
|
||||
CONFIG_CRYPTO_TGR192=m
|
||||
CONFIG_CRYPTO_WP512=m
|
||||
|
||||
#
|
||||
# Ciphers
|
||||
#
|
||||
CONFIG_CRYPTO_AES=y
|
||||
# CONFIG_CRYPTO_ANUBIS is not set
|
||||
# CONFIG_CRYPTO_ARC4 is not set
|
||||
# CONFIG_CRYPTO_BLOWFISH is not set
|
||||
# CONFIG_CRYPTO_CAMELLIA is not set
|
||||
# CONFIG_CRYPTO_CAST5 is not set
|
||||
# CONFIG_CRYPTO_CAST6 is not set
|
||||
# CONFIG_CRYPTO_DES is not set
|
||||
# CONFIG_CRYPTO_FCRYPT is not set
|
||||
# CONFIG_CRYPTO_KHAZAD is not set
|
||||
# CONFIG_CRYPTO_SALSA20 is not set
|
||||
# CONFIG_CRYPTO_CHACHA20 is not set
|
||||
# CONFIG_CRYPTO_SEED is not set
|
||||
# CONFIG_CRYPTO_SERPENT is not set
|
||||
# CONFIG_CRYPTO_TEA is not set
|
||||
# CONFIG_CRYPTO_TWOFISH is not set
|
||||
CONFIG_CRYPTO_ANUBIS=m
|
||||
CONFIG_CRYPTO_ARC4=y
|
||||
CONFIG_CRYPTO_BLOWFISH=m
|
||||
CONFIG_CRYPTO_BLOWFISH_COMMON=m
|
||||
CONFIG_CRYPTO_CAMELLIA=m
|
||||
CONFIG_CRYPTO_CAST_COMMON=m
|
||||
CONFIG_CRYPTO_CAST5=m
|
||||
CONFIG_CRYPTO_CAST6=m
|
||||
CONFIG_CRYPTO_DES=y
|
||||
CONFIG_CRYPTO_FCRYPT=m
|
||||
CONFIG_CRYPTO_KHAZAD=m
|
||||
CONFIG_CRYPTO_SALSA20=m
|
||||
CONFIG_CRYPTO_CHACHA20=m
|
||||
CONFIG_CRYPTO_SEED=m
|
||||
CONFIG_CRYPTO_SERPENT=m
|
||||
CONFIG_CRYPTO_TEA=m
|
||||
CONFIG_CRYPTO_TWOFISH=m
|
||||
CONFIG_CRYPTO_TWOFISH_COMMON=m
|
||||
|
||||
#
|
||||
# Compression
|
||||
#
|
||||
# CONFIG_CRYPTO_DEFLATE is not set
|
||||
# CONFIG_CRYPTO_LZO is not set
|
||||
# CONFIG_CRYPTO_842 is not set
|
||||
# CONFIG_CRYPTO_LZ4 is not set
|
||||
# CONFIG_CRYPTO_LZ4HC is not set
|
||||
CONFIG_CRYPTO_DEFLATE=y
|
||||
CONFIG_CRYPTO_LZO=y
|
||||
CONFIG_CRYPTO_842=m
|
||||
CONFIG_CRYPTO_LZ4=m
|
||||
CONFIG_CRYPTO_LZ4HC=m
|
||||
|
||||
#
|
||||
# Random Number Generation
|
||||
#
|
||||
# CONFIG_CRYPTO_ANSI_CPRNG is not set
|
||||
CONFIG_CRYPTO_DRBG_MENU=m
|
||||
CONFIG_CRYPTO_ANSI_CPRNG=y
|
||||
CONFIG_CRYPTO_DRBG_MENU=y
|
||||
CONFIG_CRYPTO_DRBG_HMAC=y
|
||||
# CONFIG_CRYPTO_DRBG_HASH is not set
|
||||
# CONFIG_CRYPTO_DRBG_CTR is not set
|
||||
CONFIG_CRYPTO_DRBG=m
|
||||
CONFIG_CRYPTO_JITTERENTROPY=m
|
||||
# CONFIG_CRYPTO_USER_API_HASH is not set
|
||||
# CONFIG_CRYPTO_USER_API_SKCIPHER is not set
|
||||
# CONFIG_CRYPTO_USER_API_RNG is not set
|
||||
# CONFIG_CRYPTO_USER_API_AEAD is not set
|
||||
CONFIG_CRYPTO_DRBG_HASH=y
|
||||
CONFIG_CRYPTO_DRBG_CTR=y
|
||||
CONFIG_CRYPTO_DRBG=y
|
||||
CONFIG_CRYPTO_JITTERENTROPY=y
|
||||
CONFIG_CRYPTO_USER_API=m
|
||||
CONFIG_CRYPTO_USER_API_HASH=m
|
||||
CONFIG_CRYPTO_USER_API_SKCIPHER=m
|
||||
CONFIG_CRYPTO_USER_API_RNG=m
|
||||
CONFIG_CRYPTO_USER_API_AEAD=m
|
||||
CONFIG_CRYPTO_HASH_INFO=y
|
||||
CONFIG_CRYPTO_HW=y
|
||||
CONFIG_CRYPTO_DEV_S5P=y
|
||||
# CONFIG_ASYMMETRIC_KEY_TYPE is not set
|
||||
CONFIG_CRYPTO_DEV_S5P=m
|
||||
CONFIG_ASYMMETRIC_KEY_TYPE=m
|
||||
CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE=m
|
||||
CONFIG_X509_CERTIFICATE_PARSER=m
|
||||
CONFIG_PKCS7_MESSAGE_PARSER=m
|
||||
CONFIG_PKCS7_TEST_KEY=m
|
||||
|
||||
#
|
||||
# Certificates for signature checking
|
||||
#
|
||||
# CONFIG_SYSTEM_TRUSTED_KEYRING is not set
|
||||
CONFIG_SYSTEM_TRUSTED_KEYRING=y
|
||||
CONFIG_SYSTEM_TRUSTED_KEYS=""
|
||||
# CONFIG_SYSTEM_EXTRA_CERTIFICATE is not set
|
||||
CONFIG_ARM_CRYPTO=y
|
||||
CONFIG_CRYPTO_SHA1_ARM=y
|
||||
CONFIG_CRYPTO_SHA1_ARM_NEON=y
|
||||
# CONFIG_CRYPTO_SHA1_ARM_CE is not set
|
||||
# CONFIG_CRYPTO_SHA2_ARM_CE is not set
|
||||
CONFIG_CRYPTO_SHA256_ARM=y
|
||||
CONFIG_CRYPTO_SHA512_ARM=y
|
||||
CONFIG_CRYPTO_AES_ARM=y
|
||||
CONFIG_CRYPTO_AES_ARM_BS=y
|
||||
# CONFIG_CRYPTO_AES_ARM_CE is not set
|
||||
# CONFIG_CRYPTO_GHASH_ARM_CE is not set
|
||||
CONFIG_CRYPTO_SHA1_ARM=m
|
||||
CONFIG_CRYPTO_SHA1_ARM_NEON=m
|
||||
CONFIG_CRYPTO_SHA1_ARM_CE=m
|
||||
CONFIG_CRYPTO_SHA2_ARM_CE=m
|
||||
CONFIG_CRYPTO_SHA256_ARM=m
|
||||
CONFIG_CRYPTO_SHA512_ARM=m
|
||||
CONFIG_CRYPTO_AES_ARM=m
|
||||
CONFIG_CRYPTO_AES_ARM_BS=m
|
||||
CONFIG_CRYPTO_AES_ARM_CE=m
|
||||
CONFIG_CRYPTO_GHASH_ARM_CE=m
|
||||
# CONFIG_BINARY_PRINTF is not set
|
||||
|
||||
#
|
||||
@@ -3946,7 +3974,7 @@ CONFIG_GENERIC_IO=y
|
||||
CONFIG_ARCH_USE_CMPXCHG_LOCKREF=y
|
||||
CONFIG_CRC_CCITT=y
|
||||
CONFIG_CRC16=y
|
||||
# CONFIG_CRC_T10DIF is not set
|
||||
CONFIG_CRC_T10DIF=y
|
||||
CONFIG_CRC_ITU_T=y
|
||||
CONFIG_CRC32=y
|
||||
# CONFIG_CRC32_SELFTEST is not set
|
||||
@@ -3954,14 +3982,19 @@ CONFIG_CRC32_SLICEBY8=y
|
||||
# CONFIG_CRC32_SLICEBY4 is not set
|
||||
# CONFIG_CRC32_SARWATE is not set
|
||||
# CONFIG_CRC32_BIT is not set
|
||||
# CONFIG_CRC7 is not set
|
||||
# CONFIG_LIBCRC32C is not set
|
||||
# CONFIG_CRC8 is not set
|
||||
CONFIG_CRC7=m
|
||||
CONFIG_LIBCRC32C=y
|
||||
CONFIG_CRC8=m
|
||||
# CONFIG_AUDIT_ARCH_COMPAT_GENERIC is not set
|
||||
# CONFIG_RANDOM32_SELFTEST is not set
|
||||
CONFIG_842_COMPRESS=m
|
||||
CONFIG_842_DECOMPRESS=m
|
||||
CONFIG_ZLIB_INFLATE=y
|
||||
CONFIG_ZLIB_DEFLATE=y
|
||||
CONFIG_LZO_COMPRESS=y
|
||||
CONFIG_LZO_DECOMPRESS=y
|
||||
CONFIG_LZ4_COMPRESS=m
|
||||
CONFIG_LZ4HC_COMPRESS=m
|
||||
CONFIG_LZ4_DECOMPRESS=y
|
||||
CONFIG_XZ_DEC=y
|
||||
CONFIG_XZ_DEC_X86=y
|
||||
@@ -3986,24 +4019,17 @@ CONFIG_CPU_RMAP=y
|
||||
CONFIG_DQL=y
|
||||
CONFIG_NLATTR=y
|
||||
CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y
|
||||
CONFIG_CLZ_TAB=y
|
||||
# CONFIG_CORDIC is not set
|
||||
# CONFIG_DDR is not set
|
||||
# CONFIG_IRQ_POLL is not set
|
||||
CONFIG_MPILIB=m
|
||||
CONFIG_LIBFDT=y
|
||||
CONFIG_OID_REGISTRY=y
|
||||
CONFIG_FONT_SUPPORT=y
|
||||
CONFIG_FONTS=y
|
||||
# CONFIG_FONT_8x8 is not set
|
||||
# CONFIG_FONT_8x16 is not set
|
||||
# CONFIG_FONT_6x11 is not set
|
||||
CONFIG_FONT_7x14=y
|
||||
# CONFIG_FONT_PEARL_8x8 is not set
|
||||
# CONFIG_FONT_ACORN_8x8 is not set
|
||||
# CONFIG_FONT_MINI_4x6 is not set
|
||||
# CONFIG_FONT_6x10 is not set
|
||||
# CONFIG_FONT_SUN8x16 is not set
|
||||
# CONFIG_FONT_SUN12x22 is not set
|
||||
# CONFIG_FONT_10x18 is not set
|
||||
# CONFIG_FONTS is not set
|
||||
CONFIG_FONT_8x8=y
|
||||
CONFIG_FONT_8x16=y
|
||||
# CONFIG_SG_SPLIT is not set
|
||||
CONFIG_ARCH_HAS_SG_CHAIN=y
|
||||
# CONFIG_VIRTUALIZATION is not set
|
||||
CONFIG_VIRTUALIZATION=y
|
||||
|
||||
@@ -1115,7 +1115,7 @@ CONFIG_BT_HIDP=m
|
||||
# Bluetooth device drivers
|
||||
#
|
||||
CONFIG_BT_HCIBTUSB=m
|
||||
CONFIG_BT_HCIBTSDIO=m
|
||||
# CONFIG_BT_HCIBTSDIO is not set
|
||||
CONFIG_BT_HCIUART=m
|
||||
CONFIG_BT_HCIUART_H4=y
|
||||
CONFIG_BT_HCIUART_BCSP=y
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#
|
||||
# Automatically generated file; DO NOT EDIT.
|
||||
# Linux/arm 4.6.1 Kernel Configuration
|
||||
# Linux/arm 4.6.2 Kernel Configuration
|
||||
#
|
||||
CONFIG_ARM=y
|
||||
CONFIG_ARM_HAS_SG_CHAIN=y
|
||||
@@ -5098,8 +5098,13 @@ CONFIG_FSNOTIFY=y
|
||||
CONFIG_DNOTIFY=y
|
||||
CONFIG_INOTIFY_USER=y
|
||||
CONFIG_FANOTIFY=y
|
||||
# CONFIG_QUOTA is not set
|
||||
# CONFIG_QUOTA_NETLINK_INTERFACE is not set
|
||||
CONFIG_QUOTA=y
|
||||
CONFIG_QUOTA_NETLINK_INTERFACE=y
|
||||
# CONFIG_PRINT_QUOTA_WARNING is not set
|
||||
# CONFIG_QUOTA_DEBUG is not set
|
||||
CONFIG_QUOTA_TREE=m
|
||||
CONFIG_QFMT_V1=m
|
||||
CONFIG_QFMT_V2=m
|
||||
CONFIG_QUOTACTL=y
|
||||
CONFIG_AUTOFS4_FS=y
|
||||
CONFIG_FUSE_FS=m
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
# Wired adapter #1
|
||||
allow-hotplug eth0
|
||||
#no-auto-down eth0
|
||||
iface eth0 inet dhcp
|
||||
# hwaddress ether # if you want to set MAC manually
|
||||
# pre-up /sbin/ifconfig eth0 mtu 3838 # setting MTU for DHCP, static just: mtu 3838
|
||||
|
||||
@@ -53,4 +53,7 @@ family_tweaks()
|
||||
install_boot_script()
|
||||
{
|
||||
cp $SRC/lib/config/bootscripts/boot-cubox.cmd $CACHEDIR/sdcard/boot/boot.cmd
|
||||
if [[ $BRANCH == next && -f $CACHEDIR/sdcard/boot/boot.cmd ]]; then
|
||||
sed -e 's/console=tty1 //g' -i $CACHEDIR/sdcard/boot/boot.cmd
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -39,18 +39,13 @@ family_tweaks()
|
||||
{
|
||||
echo "blacklist ina231_sensor" > $CACHEDIR/sdcard/etc/modprobe.d/blacklist-odroid.conf
|
||||
chroot $CACHEDIR/sdcard /bin/bash -c "apt-get -y -qq remove --auto-remove lirc >/dev/null 2>&1"
|
||||
|
||||
if [[ $BRANCH == next && -f $CACHEDIR/sdcard/etc/fstab ]] ; then
|
||||
sed -e 's/mmcblk0/mmcblk1/g' -i $CACHEDIR/sdcard/etc/fstab
|
||||
fi
|
||||
}
|
||||
|
||||
install_boot_script()
|
||||
{
|
||||
case $BRANCH in
|
||||
default)
|
||||
cp $SRC/lib/config/bootscripts/boot-odroid-xu4.ini $CACHEDIR/sdcard/boot/boot.ini
|
||||
;;
|
||||
|
||||
next)
|
||||
cp $SRC/lib/config/bootscripts/boot-odroid-xu4-next.ini $CACHEDIR/sdcard/boot/boot.ini
|
||||
;;
|
||||
esac
|
||||
|
||||
cp $SRC/lib/config/bootscripts/boot-odroid-xu4-${BRANCH}.ini $CACHEDIR/sdcard/boot/boot.ini
|
||||
}
|
||||
|
||||
@@ -36,9 +36,15 @@ family_tweaks()
|
||||
sed -e 's/DEVICE=""/DEVICE="\/dev\/input\/event1"/g' -i $CACHEDIR/sdcard/etc/lirc/hardware.conf
|
||||
sed -e 's/DRIVER="UNCONFIGURED"/DRIVER="devinput"/g' -i $CACHEDIR/sdcard/etc/lirc/hardware.conf
|
||||
cp $SRC/lib/config/lirc.conf.cubietruck $CACHEDIR/sdcard/etc/lirc/lircd.conf
|
||||
|
||||
|
||||
}
|
||||
|
||||
install_boot_script()
|
||||
{
|
||||
cp $SRC/lib/config/bootscripts/boot-sunxi.cmd $CACHEDIR/sdcard/boot/boot.cmd
|
||||
|
||||
# orangepi h3 temp exceptions
|
||||
[[ $LINUXFAMILY == sun8i ]] && sed -i -e '1s/^/gpio set PL10\ngpio set PG11\nsetenv machid 1029\nsetenv bootm_boot_mode sec\n/' \
|
||||
-e 's/\ disp.screen0_output_mode=1920x1080p60//' -e 's/\ hdmi.audio=EDID:0//' $CACHEDIR/sdcard/boot/boot.cmd
|
||||
}
|
||||
|
||||
@@ -88,11 +88,13 @@ case $LINUXFAMILY in
|
||||
esac
|
||||
|
||||
# Essential packages
|
||||
PACKAGE_LIST="automake bash-completion bc bridge-utils build-essential cmake cpufrequtils device-tree-compiler \
|
||||
dosfstools figlet fbset fping git hostapd ifenslave-2.6 iw libtool libwrap0-dev libssl-dev lirc fake-hwclock \
|
||||
wpasupplicant libusb-dev libusb-1.0-0-dev psmisc ntp parted pkg-config rsync sudo curl dialog crda wireless-regdb \
|
||||
ncurses-term python3-apt sysfsutils toilet u-boot-tools unattended-upgrades unzip usbutils wireless-tools libnl-3-dev \
|
||||
console-setup console-data console-common unicode-data openssh-server initramfs-tools ca-certificates"
|
||||
PACKAGE_LIST="bash-completion bc bridge-utils build-essential cpufrequtils device-tree-compiler dosfstools figlet \
|
||||
fbset fping git hostapd ifenslave-2.6 iw lirc fake-hwclock wpasupplicant psmisc ntp parted rsync sudo curl \
|
||||
dialog crda wireless-regdb ncurses-term python3-apt sysfsutils toilet u-boot-tools unattended-upgrades \
|
||||
unzip usbutils wireless-tools console-setup console-data console-common unicode-data openssh-server initramfs-tools ca-certificates"
|
||||
|
||||
# development related packages. remove when they are not needed for building packages in chroot
|
||||
PACKAGE_LIST="$PACKAGE_LIST automake cmake libwrap0-dev libssl-dev libtool pkg-config libusb-dev libusb-1.0-0-dev libnl-3-dev libnl-genl-3-dev"
|
||||
|
||||
# Non-essential packages
|
||||
PACKAGE_LIST_ADDITIONAL="alsa-utils btrfs-tools hddtemp iotop iozone3 stress sysbench screen ntfs-3g vim pciutils evtest htop pv lsof \
|
||||
@@ -102,7 +104,7 @@ PACKAGE_LIST_ADDITIONAL="alsa-utils btrfs-tools hddtemp iotop iozone3 stress sys
|
||||
PACKAGE_LIST_DESKTOP="xserver-xorg xserver-xorg-core xfonts-base xinit nodm x11-xserver-utils xfce4 lxtask xterm mirage radiotray wicd thunar-volman galculator \
|
||||
gtk2-engines gtk2-engines-murrine gtk2-engines-pixbuf libgtk2.0-bin gcj-jre-headless xfce4-screenshooter libgnome2-perl gksu wifi-radar bluetooth"
|
||||
|
||||
# hardware acceleration support packages
|
||||
# hardware acceleration support packages. remove when they are not needed for building packages in chroot
|
||||
if [[ $LINUXCONFIG == *sun* && $BRANCH == default ]]; then
|
||||
PACKAGE_LIST_DESKTOP="$PACKAGE_LIST_DESKTOP xorg-dev xutils-dev x11proto-dri2-dev xutils-dev libdrm-dev libvdpau-dev"
|
||||
fi
|
||||
@@ -112,22 +114,21 @@ PACKAGE_LIST_EXCLUDE=""
|
||||
# Release specific packages
|
||||
case $RELEASE in
|
||||
wheezy)
|
||||
PACKAGE_LIST_RELEASE="less makedev kbd acpid acpi-support-base libnl-genl-3-dev iperf"
|
||||
PACKAGE_LIST_RELEASE="less makedev kbd acpid acpi-support-base iperf libudev1"
|
||||
PACKAGE_LIST_DESKTOP="$PACKAGE_LIST_DESKTOP mozo pluma iceweasel icedove"
|
||||
;;
|
||||
jessie)
|
||||
PACKAGE_LIST_RELEASE="less makedev kbd libnl-genl-3-dev libpam-systemd iperf3 \
|
||||
software-properties-common libnss-myhostname f2fs-tools libnl-genl-3-dev"
|
||||
PACKAGE_LIST_RELEASE="less makedev kbd libpam-systemd iperf3 software-properties-common \
|
||||
libnss-myhostname f2fs-tools"
|
||||
PACKAGE_LIST_DESKTOP="$PACKAGE_LIST_DESKTOP mozo pluma iceweasel libreoffice-writer libreoffice-java-common icedove gvfs policykit-1 policykit-1-gnome eject"
|
||||
;;
|
||||
trusty)
|
||||
PACKAGE_LIST_RELEASE="man-db wget nano libnl-genl-3-dev software-properties-common iperf \
|
||||
f2fs-tools acpid"
|
||||
PACKAGE_LIST_RELEASE="man-db wget nano software-properties-common iperf f2fs-tools acpid"
|
||||
PACKAGE_LIST_DESKTOP="$PACKAGE_LIST_DESKTOP libreoffice-writer libreoffice-java-common thunderbird firefox gnome-icon-theme-full tango-icon-theme gvfs-backends"
|
||||
PACKAGE_LIST_EXCLUDE="ureadahead plymouth"
|
||||
;;
|
||||
xenial)
|
||||
PACKAGE_LIST_RELEASE="man-db wget nano libnl-genl-3-dev libpam-systemd software-properties-common libnss-myhostname f2fs-tools iperf3"
|
||||
PACKAGE_LIST_RELEASE="man-db wget nano libpam-systemd software-properties-common libnss-myhostname f2fs-tools iperf3"
|
||||
PACKAGE_LIST_DESKTOP="$PACKAGE_LIST_DESKTOP libreoffice-writer thunderbird firefox gnome-icon-theme-full tango-icon-theme gvfs-backends \
|
||||
policykit-1 xserver-xorg-video-fbdev"
|
||||
;;
|
||||
|
||||
@@ -80,7 +80,7 @@ debootstrap_ng()
|
||||
[[ $BUILD_DESKTOP == yes ]] && install_desktop
|
||||
|
||||
# cleanup for install_kernel and install_board_specific
|
||||
umount $CACHEDIR/sdcard/tmp
|
||||
umount $CACHEDIR/sdcard/tmp > /dev/null 2>&1
|
||||
|
||||
# stage: user customization script
|
||||
# NOTE: installing too many packages may fill tmpfs mount
|
||||
|
||||
@@ -23,7 +23,6 @@ display_alert "Applying distribution specific tweaks for" "$RELEASE" "info"
|
||||
rm $CACHEDIR/sdcard/etc/network/interfaces
|
||||
|
||||
# configure the system for unattended upgrades
|
||||
cp $SRC/lib/scripts/50unattended-upgrades $CACHEDIR/sdcard/etc/apt/apt.conf.d/50unattended-upgrades
|
||||
cp $SRC/lib/scripts/02periodic $CACHEDIR/sdcard/etc/apt/apt.conf.d/02periodic
|
||||
|
||||
# setting window title for remote sessions
|
||||
@@ -44,10 +43,6 @@ wheezy)
|
||||
sed -e 's/5:23:respawn/#5:23:respawn/g' -i $CACHEDIR/sdcard/etc/inittab
|
||||
sed -e 's/6:23:respawn/#6:23:respawn/g' -i $CACHEDIR/sdcard/etc/inittab
|
||||
|
||||
# auto upgrading
|
||||
sed -e "s/ORIGIN/Debian/g" -i $CACHEDIR/sdcard/etc/apt/apt.conf.d/50unattended-upgrades
|
||||
sed -e "s/n=CODENAME/a=old-stable/g" -i $CACHEDIR/sdcard/etc/apt/apt.conf.d/50unattended-upgrades
|
||||
|
||||
# install ramlog
|
||||
cp $SRC/lib/bin/ramlog_2.0.0_all.deb $CACHEDIR/sdcard/tmp
|
||||
chroot $CACHEDIR/sdcard /bin/bash -c "dpkg -i /tmp/ramlog_2.0.0_all.deb >/dev/null 2>&1"
|
||||
@@ -64,10 +59,6 @@ jessie)
|
||||
# enable root login for latest ssh on jessie
|
||||
sed -i 's/PermitRootLogin without-password/PermitRootLogin yes/' $CACHEDIR/sdcard/etc/ssh/sshd_config
|
||||
|
||||
# auto upgrading
|
||||
sed -e "s/ORIGIN/Debian/g" -i $CACHEDIR/sdcard/etc/apt/apt.conf.d/50unattended-upgrades
|
||||
sed -e "s/CODENAME/$RELEASE/g" -i $CACHEDIR/sdcard/etc/apt/apt.conf.d/50unattended-upgrades
|
||||
|
||||
# mount 256Mb tmpfs to /tmp
|
||||
echo "tmpfs /tmp tmpfs nodev,nosuid,size=256M 0 0" >> $CACHEDIR/sdcard/etc/fstab
|
||||
|
||||
@@ -121,10 +112,6 @@ trusty)
|
||||
mv $CACHEDIR/sdcard/etc/update-motd.d $CACHEDIR/sdcard/etc/update-motd.d-backup
|
||||
fi
|
||||
|
||||
# auto upgrading
|
||||
sed -e "s/ORIGIN/Ubuntu/g" -i $CACHEDIR/sdcard/etc/apt/apt.conf.d/50unattended-upgrades
|
||||
sed -e "s/CODENAME/$RELEASE/g" -i $CACHEDIR/sdcard/etc/apt/apt.conf.d/50unattended-upgrades
|
||||
|
||||
# remove what's anyway not working
|
||||
#chroot $CACHEDIR/sdcard /bin/bash -c "apt-get remove --auto-remove ureadahead"
|
||||
rm $CACHEDIR/sdcard/etc/init/ureadahead*
|
||||
@@ -135,10 +122,6 @@ xenial)
|
||||
# enable root login for latest ssh on jessie
|
||||
sed -i 's/PermitRootLogin prohibit-password/PermitRootLogin yes/' $CACHEDIR/sdcard/etc/ssh/sshd_config
|
||||
|
||||
# auto upgrading (disabled while testing)
|
||||
sed -e "s/ORIGIN/Ubuntu/g" -i $CACHEDIR/sdcard/etc/apt/apt.conf.d/50unattended-upgrades
|
||||
sed -e "s/CODENAME/$RELEASE/g" -i $CACHEDIR/sdcard/etc/apt/apt.conf.d/50unattended-upgrades
|
||||
|
||||
# fix selinux error
|
||||
mkdir $CACHEDIR/sdcard/selinux
|
||||
|
||||
@@ -170,8 +153,9 @@ xenial)
|
||||
|
||||
# disable stopping network interfaces
|
||||
# fixes shutdown with root on NFS
|
||||
mkdir -p $CACHEDIR/sdcard/etc/systemd/system/networking.service.d/
|
||||
printf "[Service]\nExecStop=\n" > $CACHEDIR/sdcard/etc/systemd/system/networking.service.d/10-nostop.conf
|
||||
# NOTE: fixed by "no-auto-down eth0" in interfaces.default
|
||||
#mkdir -p $CACHEDIR/sdcard/etc/systemd/system/networking.service.d/
|
||||
#printf "[Service]\nExecStop=\n" > $CACHEDIR/sdcard/etc/systemd/system/networking.service.d/10-nostop.conf
|
||||
;;
|
||||
*)
|
||||
exit_with_error "Unknown OS release selected"
|
||||
|
||||
@@ -5,6 +5,78 @@ Some boards require some manual configuration to turn on/off certain features
|
||||
|
||||
In some cases, the procedure is "less than obvious", so we document some basic examples here.
|
||||
|
||||
# Generic howto for Allwinner devices
|
||||
|
||||
## Legacy or Vanilla kernel ?
|
||||
|
||||
Many Armbian images come in two flavours : Legacy (using an older kernel version) and Vanilla (up-to-date kernel). Depending on kernel version, the procedure to enable/disable features is not the same :
|
||||
* Legacy kernel : FEX
|
||||
* Vanilla kernel : DT (Device Tree)
|
||||
|
||||
## What flavour am I using ?
|
||||
|
||||
Best way to know is by checking your kernel version :
|
||||
|
||||
```
|
||||
root@bananapipro:~# uname -a
|
||||
Linux bananapipro 4.5.2-sunxi #11 SMP Thu Apr 28 21:53:25 CEST 2016 armv7l GNU/Linux
|
||||
```
|
||||
|
||||
In this example the kernel version is 4.5.2 so you can use DT to tweak some settings. If you get a kernel version 3.X then you'll be certainly using FEX like on an Orange Pi Plus 2E :
|
||||
|
||||
```
|
||||
root@orangepiplus2e:~# uname -a
|
||||
Linux orangepiplus2e 3.4.112-sun8i #10 SMP PREEMPT Wed Jun 1 19:43:08 CEST 2016 armv7l GNU/Linux
|
||||
```
|
||||
|
||||
## FEX
|
||||
|
||||
### Which file should I edit
|
||||
|
||||
Armbian embed a lot of BIN files, but a symlink point to the one in use :
|
||||
|
||||
```
|
||||
root@orangepiplus2e:~# ls -la /boot/script.bin
|
||||
lrwxrwxrwx 1 root root 22 Jun 1 20:30 /boot/script.bin -> bin/orangepiplus2e.bin
|
||||
```
|
||||
|
||||
### Updating a FEX
|
||||
|
||||
You may need to use `sudo` with all the following commands.
|
||||
|
||||
The whole process won't overwrite any of your files. If you're paranoid, you can make a proper backup of your BIN file :
|
||||
|
||||
```
|
||||
cp /boot/script.bin /boot/bin/script.bin.backup
|
||||
```
|
||||
|
||||
Then you can decompile your BIN into a FEX :
|
||||
|
||||
```
|
||||
bin2fex /boot/script.bin /tmp/custom.fex
|
||||
```
|
||||
|
||||
Finally you can edit your FEX file with your favorite text editor and compile it back to a BIN :
|
||||
|
||||
```
|
||||
fex2bin /tmp/custom.fex /boot/bin/custom.bin
|
||||
```
|
||||
|
||||
The last step is to change the symlink to use your custom BIN :
|
||||
|
||||
```
|
||||
ln -sf /boot/bin/custom.bin /boot/script.bin
|
||||
```
|
||||
|
||||
## Device Tree
|
||||
|
||||
### Which file should I edit
|
||||
|
||||
I use the following command and try to guess which file to use in `/boot/dtb/` :
|
||||
|
||||
```
|
||||
cat /proc/device-tree/model
|
||||
```
|
||||
|
||||
# H3 based Orange Pi, legacy kernel
|
||||
|
||||
|
||||
@@ -396,6 +396,22 @@ change to - for example:
|
||||
netmask 255.255.255.0
|
||||
gateway 192.168.1.1
|
||||
|
||||
# How to froze your filesystem?
|
||||
|
||||
In certain situations, it is desirable to have an virtual read-only root filesystem. This prevents any changes from occurring on the root filesystem that may alter system behavior, and it allows a simple reboot to restore a system to its clean state.
|
||||
|
||||
You need an A10, A20 or H3 board with legacy kernel (3.4.x) where we added support for overlayfs. We tested it on Ubuntu Xenial but it should work elsewhere too. Login as root and execute:
|
||||
|
||||
apt-get install overlayroot
|
||||
echo 'overlayroot="tmpfs"' >> /etc/overlayroot.conf
|
||||
reboot
|
||||
|
||||
After your system boots up it will always remain as is. If you want to make any permanent changes, you need to run:
|
||||
|
||||
overlayroot-chroot
|
||||
|
||||
Changes inside this will be preserved.
|
||||
|
||||
# How to run Docker?
|
||||
|
||||
Preinstallation requirements:
|
||||
|
||||
8
extras-buildpkgs/00-libdri2.conf
Normal file
8
extras-buildpkgs/00-libdri2.conf
Normal file
@@ -0,0 +1,8 @@
|
||||
# libDRI2
|
||||
local package_name="libDRI2"
|
||||
local package_repo="https://github.com/robclark/libdri2.git"
|
||||
local package_dir="libdri2-1"
|
||||
local package_branch=""
|
||||
local package_commit=""
|
||||
local package_overlay="libdri2-1.tar.xz"
|
||||
local package_builddeps="xutils-dev x11proto-xext-dev x11proto-dri2-dev quilt pkg-config libxfixes-dev libxext-dev libdrm-dev dh-autoreconf debhelper"
|
||||
8
extras-buildpkgs/05-libump.conf
Normal file
8
extras-buildpkgs/05-libump.conf
Normal file
@@ -0,0 +1,8 @@
|
||||
# libUMP
|
||||
local package_name="libUMP"
|
||||
local package_repo="https://github.com/rellla/libump.git"
|
||||
local package_dir="libump"
|
||||
local package_branch="ump"
|
||||
local package_overlay="libump.tar.xz"
|
||||
local package_builddeps="debhelper dh-autoreconf pkg-config"
|
||||
local package_install="yes"
|
||||
BIN
extras-buildpkgs/libdri2-1.tar.xz
Normal file
BIN
extras-buildpkgs/libdri2-1.tar.xz
Normal file
Binary file not shown.
BIN
extras-buildpkgs/libump.tar.xz
Normal file
BIN
extras-buildpkgs/libump.tar.xz
Normal file
Binary file not shown.
7
extras-buildpkgs/sunxi-tools.conf
Normal file
7
extras-buildpkgs/sunxi-tools.conf
Normal file
@@ -0,0 +1,7 @@
|
||||
# sunxi-tools
|
||||
local package_name="sunxi-tools"
|
||||
local package_repo="https://github.com/linux-sunxi/sunxi-tools.git"
|
||||
local package_dir="sunxi-tools"
|
||||
local package_branch=""
|
||||
local package_overlay="sunxi-tools.tar.xz"
|
||||
local package_builddeps="debhelper libusb-1.0-0-dev ruby binutils-arm-none-eabi pkg-config u-boot-tools"
|
||||
BIN
extras-buildpkgs/sunxi-tools.tar.xz
Normal file
BIN
extras-buildpkgs/sunxi-tools.tar.xz
Normal file
Binary file not shown.
8
extras-buildpkgs/swconfig.conf
Normal file
8
extras-buildpkgs/swconfig.conf
Normal file
@@ -0,0 +1,8 @@
|
||||
# swconfig
|
||||
local package_name="swconfig"
|
||||
local package_repo="https://github.com/jekader/swconfig.git"
|
||||
local package_dir="swconfig"
|
||||
local package_branch=""
|
||||
local package_overlay="swconfig.tar.xz"
|
||||
local package_prebuild_eval="mkdir -p /usr/local/include/linux; cp linux/switch.h /usr/local/include/linux/"
|
||||
local package_builddeps="linux-headers-armmp libnl-3-dev libnl-genl-3-dev"
|
||||
BIN
extras-buildpkgs/swconfig.tar.xz
Normal file
BIN
extras-buildpkgs/swconfig.tar.xz
Normal file
Binary file not shown.
36
general.sh
36
general.sh
@@ -132,19 +132,21 @@ if [ -d "$SOURCES/$2/$GITHUBSUBDIR" ]; then
|
||||
if [[ "$3" != "" ]] && [[ "$bar_1" == "$localbar" || "$bar_2" == "$localbar" ]] || [[ "$3" == "" && "$bar_3" == "$localbar" ]] || [[ $bar_1 == "" && $bar_2 == "" ]]; then
|
||||
display_alert "... you have latest sources" "$2 $3" "info"
|
||||
else
|
||||
display_alert "... your sources are outdated - creating new shallow clone" "$2 $3" "info"
|
||||
if [[ -z "$GITHUBSUBDIR" ]]; then
|
||||
rm -rf $SOURCES/$2".old"
|
||||
mv $SOURCES/$2 $SOURCES/$2".old"
|
||||
else
|
||||
rm -rf $SOURCES/$2/$GITHUBSUBDIR".old"
|
||||
mv $SOURCES/$2/$GITHUBSUBDIR $SOURCES/$2/$GITHUBSUBDIR".old"
|
||||
fi
|
||||
|
||||
if [[ -n $3 && -n "$(git ls-remote $1 | grep "$tag")" ]]; then
|
||||
git clone -n $1 $SOURCES/$2/$GITHUBSUBDIR -b $3 --depth 1 || git clone -n $1 $SOURCES/$2/$GITHUBSUBDIR -b $3
|
||||
else
|
||||
git clone -n $1 $SOURCES/$2/$GITHUBSUBDIR --depth 1
|
||||
if [ "$DEBUG_MODE" != yes ]; then
|
||||
display_alert "... your sources are outdated - creating new shallow clone" "$2 $3" "info"
|
||||
if [[ -z "$GITHUBSUBDIR" ]]; then
|
||||
rm -rf $SOURCES/$2".old"
|
||||
mv $SOURCES/$2 $SOURCES/$2".old"
|
||||
else
|
||||
rm -rf $SOURCES/$2/$GITHUBSUBDIR".old"
|
||||
mv $SOURCES/$2/$GITHUBSUBDIR $SOURCES/$2/$GITHUBSUBDIR".old"
|
||||
fi
|
||||
|
||||
if [[ -n $3 && -n "$(git ls-remote $1 | grep "$tag")" ]]; then
|
||||
git clone -n $1 $SOURCES/$2/$GITHUBSUBDIR -b $3 --depth 1 || git clone -n $1 $SOURCES/$2/$GITHUBSUBDIR -b $3
|
||||
else
|
||||
git clone -n $1 $SOURCES/$2/$GITHUBSUBDIR --depth 1
|
||||
fi
|
||||
fi
|
||||
cd $SOURCES/$2/$GITHUBSUBDIR
|
||||
git checkout -q
|
||||
@@ -304,6 +306,12 @@ prepare_host() {
|
||||
exit_with_error "Running this tool on board itself is not supported"
|
||||
fi
|
||||
|
||||
if [[ $(dpkg --print-architecture) == i386 ]]; then
|
||||
display_alert "Please read documentation to set up proper compilation environment" "..." "info"
|
||||
display_alert "http://www.armbian.com/using-armbian-tools/" "..." "info"
|
||||
display_alert "Running this tool on non-x64 build host in not supported officially" "wrn"
|
||||
fi
|
||||
|
||||
# dialog may be used to display progress
|
||||
if [[ $(dpkg-query -W -f='${db:Status-Abbrev}\n' dialog 2>/dev/null) != *ii* ]]; then
|
||||
display_alert "Installing package" "dialog" "info"
|
||||
@@ -346,6 +354,8 @@ prepare_host() {
|
||||
apt-key adv --keyserver keys.gnupg.net --recv-keys 9E3E53F19C7DE460
|
||||
fi
|
||||
|
||||
if [[ $codename == xenial ]]; then hostdeps="$hostdeps systemd-container"; fi
|
||||
|
||||
# Deboostrap in trusty breaks due too old debootstrap. We are installing Xenial package
|
||||
local debootstrap_version=$(dpkg-query -W -f='${Version}\n' debootstrap | cut -f1 -d'+')
|
||||
local debootstrap_minimal="1.0.78"
|
||||
|
||||
21
main.sh
21
main.sh
@@ -34,6 +34,7 @@ source $SRC/lib/desktop.sh # Desktop specific install
|
||||
source $SRC/lib/common.sh # Functions
|
||||
source $SRC/lib/makeboarddeb.sh # Create board support package
|
||||
source $SRC/lib/general.sh # General functions
|
||||
source $SRC/lib/chroot-buildpackages.sh # Building packages in chroot
|
||||
|
||||
# compress and remove old logs
|
||||
mkdir -p $DEST/debug
|
||||
@@ -188,7 +189,7 @@ if [[ -n $MISC5 ]]; then fetch_from_github "$MISC5" "$MISC5_DIR"; fi
|
||||
if [[ -n $MISC6 ]]; then fetch_from_github "$MISC6" "$MISC6_DIR"; fi
|
||||
|
||||
# compile sunxi tools
|
||||
if [[ $LINUXFAMILY == sun*i ]]; then
|
||||
if [[ $LINUXFAMILY == sun*i ]]; then
|
||||
compile_sunxi_tools
|
||||
[[ $BRANCH != default && $LINUXFAMILY != sun8i ]] && LINUXFAMILY="sunxi"
|
||||
fi
|
||||
@@ -214,7 +215,7 @@ if [[ ! -f $DEST/debs/${CHOSEN_UBOOT}_${REVISION}_${ARCH}.deb ]]; then
|
||||
fi
|
||||
cd $SOURCES/$BOOTSOURCEDIR
|
||||
grab_version "$SOURCES/$BOOTSOURCEDIR" "UBOOT_VER"
|
||||
advanced_patch "u-boot" "$BOOTSOURCE-$BRANCH" "$BOARD" "$BOOTSOURCE-$BRANCH $UBOOT_VER"
|
||||
[[ $FORCE_CHECKOUT == yes ]] && advanced_patch "u-boot" "$BOOTSOURCE-$BRANCH" "$BOARD" "$BOOTSOURCE-$BRANCH $UBOOT_VER"
|
||||
compile_uboot
|
||||
fi
|
||||
|
||||
@@ -229,24 +230,28 @@ if [[ ! -f $DEST/debs/${CHOSEN_KERNEL}_${REVISION}_${ARCH}.deb ]]; then
|
||||
|
||||
# this is a patch that Ubuntu Trusty compiler works
|
||||
if [[ $(patch --dry-run -t -p1 < $SRC/lib/patch/kernel/compiler.patch | grep Reversed) != "" ]]; then
|
||||
patch --batch --silent -t -p1 < $SRC/lib/patch/kernel/compiler.patch > /dev/null 2>&1
|
||||
[[ $FORCE_CHECKOUT == yes ]] && patch --batch --silent -t -p1 < $SRC/lib/patch/kernel/compiler.patch > /dev/null 2>&1
|
||||
fi
|
||||
|
||||
grab_version "$SOURCES/$LINUXSOURCEDIR" "KERNEL_VER"
|
||||
advanced_patch "kernel" "$LINUXFAMILY-$BRANCH" "$BOARD" "$LINUXFAMILY-$BRANCH $KERNEL_VER"
|
||||
[[ $FORCE_CHECKOUT == yes ]] && advanced_patch "kernel" "$LINUXFAMILY-$BRANCH" "$BOARD" "$LINUXFAMILY-$BRANCH $KERNEL_VER"
|
||||
compile_kernel
|
||||
fi
|
||||
|
||||
[[ -n $RELEASE ]] && create_board_package
|
||||
|
||||
[[ $KERNEL_ONLY == yes && ($RELEASE == jessie || $RELEASE == xenial) && \
|
||||
$EXPERIMENTAL_BUILDPKG == yes && $(lsb_release -sc) == xenial ]] && chroot_build_packages
|
||||
|
||||
if [[ $KERNEL_ONLY != yes ]]; then
|
||||
if [[ $EXTENDED_DEBOOTSTRAP != no ]]; then
|
||||
debootstrap_ng
|
||||
else
|
||||
|
||||
# create or use prepared root file-system
|
||||
custom_debootstrap
|
||||
|
||||
mount --bind $DEST/debs/ $CACHEDIR/sdcard/tmp
|
||||
|
||||
# add kernel to the image
|
||||
install_kernel
|
||||
|
||||
@@ -254,13 +259,15 @@ if [[ $KERNEL_ONLY != yes ]]; then
|
||||
install_distribution_specific
|
||||
install_board_specific
|
||||
|
||||
# install external applications
|
||||
[[ $EXTERNAL == yes ]] && install_external_applications
|
||||
|
||||
# install desktop
|
||||
if [[ $BUILD_DESKTOP == yes ]]; then
|
||||
install_desktop
|
||||
fi
|
||||
|
||||
# install external applications
|
||||
[[ $EXTERNAL == yes ]] && install_external_applications
|
||||
umount $CACHEDIR/sdcard/tmp > /dev/null 2>&1
|
||||
|
||||
# closing image
|
||||
closing_image
|
||||
|
||||
@@ -23,7 +23,8 @@ create_board_package()
|
||||
mkdir -p $destination/DEBIAN
|
||||
|
||||
# Replaces: base-files is needed to replace /etc/update-motd.d/ files on Xenial
|
||||
# Replaces: unattended-upgrades is needed to replace /etc/apt/apt.conf.d/50unattended-upgrades on wheezy, jessie and trusty
|
||||
# Replaces: unattended-upgrades may be needed to replace /etc/apt/apt.conf.d/50unattended-upgrades
|
||||
# (distributions provide good defaults, so this is not needed currently)
|
||||
cat <<-EOF > $destination/DEBIAN/control
|
||||
Package: linux-${RELEASE}-root-${DEB_BRANCH}${BOARD}
|
||||
Version: $REVISION
|
||||
@@ -32,10 +33,11 @@ create_board_package()
|
||||
Installed-Size: 1
|
||||
Section: kernel
|
||||
Priority: optional
|
||||
Depends: bash, python3-apt
|
||||
Provides: armbian-bsp
|
||||
Conflicts: armbian-bsp
|
||||
Replaces: base-files, unattended-upgrades
|
||||
Recommends: fake-hwclock, initramfs-tools, python3-apt
|
||||
Replaces: base-files
|
||||
Recommends: fake-hwclock, initramfs-tools
|
||||
Description: Armbian tweaks for $RELEASE on $BOARD ($BRANCH branch)
|
||||
EOF
|
||||
|
||||
@@ -104,7 +106,7 @@ create_board_package()
|
||||
cat <<-EOF > $destination/etc/armbian-release
|
||||
# PLEASE DO NOT EDIT THIS FILE
|
||||
BOARD=$BOARD
|
||||
ID="$BOARD_NAME"
|
||||
BOARD_NAME="$BOARD_NAME"
|
||||
VERSION=$REVISION
|
||||
LINUXFAMILY=$LINUXFAMILY
|
||||
BRANCH=$BRANCH
|
||||
@@ -132,6 +134,7 @@ create_board_package()
|
||||
mkdir -p $destination/etc/network/
|
||||
cp $SRC/lib/config/network/interfaces.* $destination/etc/network/
|
||||
[[ $RELEASE = wheezy ]] && sed -i 's/allow-hotplug/auto/g' $destination/etc/network/interfaces.default
|
||||
[[ $RELEASE = xenial ]] && sed -i 's/#no-auto-down/no-auto-down/g' $destination/etc/network/interfaces.default
|
||||
|
||||
# apt configuration
|
||||
mkdir -p $destination/etc/apt/apt.conf.d/
|
||||
@@ -140,6 +143,16 @@ create_board_package()
|
||||
APT::Install-Suggests "0";
|
||||
EOF
|
||||
|
||||
# pin priority for armbian repo
|
||||
# reference: man apt_preferences
|
||||
# this allows providing own versions of hostapd, libdri2 and sunxi-tools
|
||||
mkdir -p $destination/etc/apt/preferences.d/
|
||||
cat <<-EOF > $destination/etc/apt/preferences.d/50-armbian.pref
|
||||
Package: *
|
||||
Pin: origin "apt.armbian.com"
|
||||
Pin-Priority: 990
|
||||
EOF
|
||||
|
||||
# script to install to SATA
|
||||
mkdir -p $destination/usr/sbin/
|
||||
cp -R $SRC/lib/scripts/nand-sata-install/usr $destination/
|
||||
|
||||
@@ -1,27 +1,18 @@
|
||||
From: Russell King <rmk+kernel@arm.linux.org.uk>
|
||||
Subject: [PATCH 29/30] ARM: dts: add SFP module support for Clearfog
|
||||
MIME-Version: 1.0
|
||||
Content-Disposition: inline
|
||||
Content-Transfer-Encoding: 8bit
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
|
||||
Add SFP module support for Clearfog using the SFP phylink support.
|
||||
|
||||
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
|
||||
---
|
||||
arch/arm/boot/dts/armada-388-clearfog.dts | 44 ++++++++-----------------------
|
||||
1 file changed, 11 insertions(+), 33 deletions(-)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/armada-388-clearfog.dts b/arch/arm/boot/dts/armada-388-clearfog.dts
|
||||
index c6e180eb3b11..bf0409b8cfd1 100644
|
||||
old mode 100644
|
||||
new mode 100755
|
||||
index bfc9ecc..99a3acf
|
||||
--- a/arch/arm/boot/dts/armada-388-clearfog.dts
|
||||
+++ b/arch/arm/boot/dts/armada-388-clearfog.dts
|
||||
@@ -87,13 +87,9 @@
|
||||
};
|
||||
|
||||
ethernet@34000 {
|
||||
@@ -77,16 +77,12 @@
|
||||
soc {
|
||||
internal-regs {
|
||||
ethernet@30000 {
|
||||
+ managed = "in-band-status";
|
||||
phy-mode = "sgmii";
|
||||
buffer-manager = <&bm>;
|
||||
bm,pool-long = <2>;
|
||||
bm,pool-short = <1>;
|
||||
status = "okay";
|
||||
-
|
||||
- fixed-link {
|
||||
@@ -30,8 +21,8 @@ index c6e180eb3b11..bf0409b8cfd1 100644
|
||||
- };
|
||||
};
|
||||
|
||||
i2c@11000 {
|
||||
@@ -177,34 +173,6 @@
|
||||
ethernet@34000 {
|
||||
@@ -183,34 +179,6 @@
|
||||
output-low;
|
||||
line-name = "m.2 devslp";
|
||||
};
|
||||
@@ -66,7 +57,7 @@ index c6e180eb3b11..bf0409b8cfd1 100644
|
||||
};
|
||||
|
||||
/* The MCP3021 is 100kHz clock only */
|
||||
@@ -384,6 +352,16 @@
|
||||
@@ -390,6 +358,16 @@
|
||||
};
|
||||
};
|
||||
|
||||
@@ -78,11 +69,8 @@ index c6e180eb3b11..bf0409b8cfd1 100644
|
||||
+ sfp,ethernet = <ð2>;
|
||||
+ tx-disable-gpio = <&expander0 14 GPIO_ACTIVE_HIGH>;
|
||||
+ tx-fault-gpio = <&expander0 13 GPIO_ACTIVE_HIGH>;
|
||||
+ };
|
||||
+
|
||||
+ };
|
||||
+
|
||||
dsa@0 {
|
||||
compatible = "marvell,dsa";
|
||||
dsa,ethernet = <ð1>;
|
||||
--
|
||||
2.1.0
|
||||
|
||||
|
||||
@@ -24,13 +24,13 @@ index d428b97..fe172b7 100644
|
||||
msk = 1 << i;
|
||||
is_out = !(io_conf & msk);
|
||||
diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c
|
||||
index 4e4c308..96ac8c1 100644
|
||||
index b747c76..d61fb66
|
||||
--- a/drivers/gpio/gpiolib.c
|
||||
+++ b/drivers/gpio/gpiolib.c
|
||||
@@ -2438,13 +2438,14 @@ static void gpiolib_dbg_show(struct seq_file *s, struct gpio_chip *chip)
|
||||
@@ -2895,14 +2895,14 @@ static void gpiolib_dbg_show(struct seq_file *s, struct gpio_device *gdev)
|
||||
int is_irq;
|
||||
|
||||
for (i = 0; i < chip->ngpio; i++, gpio++, gdesc++) {
|
||||
for (i = 0; i < gdev->ngpio; i++, gpio++, gdesc++) {
|
||||
- if (!test_bit(FLAG_REQUESTED, &gdesc->flags)) {
|
||||
+/* if (!test_bit(FLAG_REQUESTED, &gdesc->flags)) {
|
||||
if (gdesc->name) {
|
||||
@@ -39,10 +39,8 @@ index 4e4c308..96ac8c1 100644
|
||||
}
|
||||
continue;
|
||||
}
|
||||
-
|
||||
+*/
|
||||
|
||||
gpiod_get_direction(gdesc);
|
||||
is_out = test_bit(FLAG_IS_OUT, &gdesc->flags);
|
||||
--
|
||||
1.9.1
|
||||
|
||||
is_irq = test_bit(FLAG_USED_AS_IRQ, &gdesc->flags);
|
||||
|
||||
@@ -2,7 +2,7 @@ diff --git a/scripts/package/builddeb b/scripts/package/builddeb
|
||||
index 152d4d2..a2fa373 100644
|
||||
--- a/scripts/package/builddeb
|
||||
+++ b/scripts/package/builddeb
|
||||
@@ -35,13 +35,15 @@ create_package() {
|
||||
@@ -35,15 +35,15 @@ create_package() {
|
||||
sparc*)
|
||||
debarch=sparc ;;
|
||||
s390*)
|
||||
@@ -15,8 +15,8 @@ index 152d4d2..a2fa373 100644
|
||||
debarch=hppa ;;
|
||||
mips*)
|
||||
debarch=mips$(grep -q CPU_LITTLE_ENDIAN=y $KCONFIG_CONFIG && echo el || true) ;;
|
||||
+ arm64)
|
||||
+ debarch=arm64 ;;
|
||||
arm64)
|
||||
debarch=arm64 ;;
|
||||
arm*)
|
||||
debarch=arm$(grep -q CONFIG_AEABI=y $KCONFIG_CONFIG && echo el || true) ;;
|
||||
*)
|
||||
|
||||
4381
patch/kernel/odroidxu4-default/2-patch-3.10.101-102.patch
Normal file
4381
patch/kernel/odroidxu4-default/2-patch-3.10.101-102.patch
Normal file
File diff suppressed because it is too large
Load Diff
@@ -1,10 +1,10 @@
|
||||
diff --git a/scripts/package/builddeb b/scripts/package/builddeb
|
||||
index 88dbf23..8fb7611 100755
|
||||
index 6c3b038..cc9b3c0 100755
|
||||
--- a/scripts/package/builddeb
|
||||
+++ b/scripts/package/builddeb
|
||||
@@ -63,6 +63,28 @@ create_package() {
|
||||
forcearch="-DArchitecture=$debarch"
|
||||
fi
|
||||
@@ -27,6 +27,28 @@ create_package() {
|
||||
chown -R root:root "$pdir"
|
||||
chmod -R go-w "$pdir"
|
||||
|
||||
+ # Create preinstall and post install script to remove dtb
|
||||
+ if [[ "$1" == *dtb* ]]; then
|
||||
@@ -29,9 +29,9 @@ index 88dbf23..8fb7611 100755
|
||||
+ fi
|
||||
+
|
||||
# Create the package
|
||||
dpkg-gencontrol $forcearch -Vkernel:debarch="${debarch:-$(dpkg --print-architecture)}" -p$pname -P"$pdir"
|
||||
dpkg-gencontrol $forcearch -Vkernel:debarch="${debarch}" -p$pname -P"$pdir"
|
||||
dpkg --build "$pdir" ..
|
||||
@@ -80,11 +102,13 @@ tmpdir="$objtree/debian/tmp"
|
||||
@@ -93,11 +115,13 @@ tmpdir="$objtree/debian/tmp"
|
||||
fwdir="$objtree/debian/fwtmp"
|
||||
kernel_headers_dir="$objtree/debian/hdrtmp"
|
||||
libc_headers_dir="$objtree/debian/headertmp"
|
||||
@@ -47,20 +47,20 @@ index 88dbf23..8fb7611 100755
|
||||
+dtb_packagename=linux-dtb-next"$LOCALVERSION"
|
||||
+libc_headers_packagename=linux-libc-dev-next"$LOCALVERSION"
|
||||
dbg_packagename=$packagename-dbg
|
||||
|
||||
if [ "$ARCH" = "um" ] ; then
|
||||
@@ -108,7 +132,9 @@ esac
|
||||
debarch=
|
||||
forcearch=
|
||||
@@ -124,7 +148,9 @@ esac
|
||||
BUILD_DEBUG="$(grep -s '^CONFIG_DEBUG_INFO=y' $KCONFIG_CONFIG || true)"
|
||||
|
||||
# Setup the directory structure
|
||||
-rm -rf "$tmpdir" "$fwdir" "$kernel_headers_dir" "$libc_headers_dir" "$dbg_dir"
|
||||
+rm -rf "$tmpdir" "$fwdir" "$kernel_headers_dir" "$libc_headers_dir" "$dbt_dir"
|
||||
-rm -rf "$tmpdir" "$fwdir" "$kernel_headers_dir" "$libc_headers_dir" "$dbg_dir" $objtree/debian/files
|
||||
+rm -rf "$tmpdir" "$fwdir" "$kernel_headers_dir" "$libc_headers_dir" "$dbg_dir" "$dtb_dir" $objtree/debian/files
|
||||
+mkdir -m 755 -p "$dtb_dir/DEBIAN"
|
||||
+mkdir -p "$dtb_dir/boot/dtb-$version" "$dtb_dir/usr/share/doc/$dtb_packagename"
|
||||
mkdir -m 755 -p "$tmpdir/DEBIAN"
|
||||
mkdir -p "$tmpdir/lib" "$tmpdir/boot" "$tmpdir/usr/share/doc/$packagename"
|
||||
mkdir -m 755 -p "$fwdir/DEBIAN"
|
||||
@@ -165,6 +191,11 @@ if grep -q '^CONFIG_MODULES=y' $KCONFIG_CONFIG ; then
|
||||
mkdir -p "$tmpdir/lib" "$tmpdir/boot"
|
||||
mkdir -p "$fwdir/lib/firmware/$version/"
|
||||
@@ -183,6 +209,11 @@ if grep -q '^CONFIG_MODULES=y' $KCONFIG_CONFIG ; then
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -72,7 +72,7 @@ index 88dbf23..8fb7611 100755
|
||||
if [ "$ARCH" != "um" ]; then
|
||||
$MAKE headers_check KBUILD_SRC=
|
||||
$MAKE headers_install KBUILD_SRC= INSTALL_HDR_PATH="$libc_headers_dir/usr"
|
||||
@@ -177,7 +208,7 @@ fi
|
||||
@@ -195,7 +226,7 @@ fi
|
||||
# so do we; recent versions of dracut and initramfs-tools will obey this.
|
||||
debhookdir=${KDEB_HOOKDIR:-/etc/kernel}
|
||||
if grep -q '^CONFIG_BLK_DEV_INITRD=y' $KCONFIG_CONFIG; then
|
||||
@@ -81,7 +81,7 @@ index 88dbf23..8fb7611 100755
|
||||
else
|
||||
want_initrd=No
|
||||
fi
|
||||
@@ -189,9 +220,11 @@ for script in postinst postrm preinst prerm ; do
|
||||
@@ -207,9 +238,11 @@ for script in postinst postrm preinst prerm ; do
|
||||
set -e
|
||||
|
||||
# Pass maintainer script parameters to hook scripts
|
||||
@@ -93,7 +93,7 @@ index 88dbf23..8fb7611 100755
|
||||
export INITRD=$want_initrd
|
||||
|
||||
test -d $debhookdir/$script.d && run-parts --arg="$version" --arg="/$installed_image_path" $debhookdir/$script.d
|
||||
@@ -200,6 +233,55 @@ EOF
|
||||
@@ -218,6 +251,55 @@ EOF
|
||||
chmod 755 "$tmpdir/DEBIAN/$script"
|
||||
done
|
||||
|
||||
@@ -149,7 +149,7 @@ index 88dbf23..8fb7611 100755
|
||||
# Try to determine maintainer and email values
|
||||
if [ -n "$DEBEMAIL" ]; then
|
||||
email=$DEBEMAIL
|
||||
@@ -306,16 +392,24 @@ fi
|
||||
@@ -328,16 +414,24 @@ fi
|
||||
(cd $objtree; find arch/$SRCARCH/include Module.symvers include scripts -type f) >> "$objtree/debian/hdrobjfiles"
|
||||
destdir=$kernel_headers_dir/usr/src/linux-headers-$version
|
||||
mkdir -p "$destdir"
|
||||
@@ -175,7 +175,7 @@ index 88dbf23..8fb7611 100755
|
||||
Architecture: any
|
||||
Description: Linux kernel headers for $KERNELRELEASE on \${kernel:debarch}
|
||||
This package provides kernel header files for $KERNELRELEASE on \${kernel:debarch}
|
||||
@@ -341,6 +435,16 @@ fi
|
||||
@@ -363,6 +457,16 @@ fi
|
||||
|
||||
cat <<EOF >> debian/control
|
||||
|
||||
@@ -192,7 +192,7 @@ index 88dbf23..8fb7611 100755
|
||||
Package: $libc_headers_packagename
|
||||
Section: devel
|
||||
Provides: linux-kernel-headers
|
||||
@@ -352,7 +456,7 @@ EOF
|
||||
@@ -374,7 +478,7 @@ EOF
|
||||
|
||||
if [ "$ARCH" != "um" ]; then
|
||||
create_package "$kernel_headers_packagename" "$kernel_headers_dir"
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user