Compare commits
16 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a38f074910 | ||
|
|
2ff3b5099d | ||
|
|
f75e1a5bce | ||
|
|
dc2396d30d | ||
|
|
2353ee33c7 | ||
|
|
6e5a53c48f | ||
|
|
acc0758a5b | ||
|
|
ed1574306a | ||
|
|
62e768157b | ||
|
|
3e692df840 | ||
|
|
f5a1d4ba10 | ||
|
|
33c9de7a6e | ||
|
|
0291dfaa64 | ||
|
|
1b08cb5d04 | ||
|
|
07b6c85dba | ||
|
|
fc5c8399cf |
@@ -1,20 +0,0 @@
|
||||
# Raspberry PI
|
||||
|
||||
Supported Hardware:
|
||||
|
||||
| Device | Board |
|
||||
|--------|-----------|
|
||||
| Orange Pi Prime | opi-prime |
|
||||
|
||||
## Serial console
|
||||
|
||||
The serial port on the Orange Pi Prime is a 3 pin header located between the
|
||||
power and reset buttons. The pins are labelled away from the board edge. Flow
|
||||
control must be disabled in order to send data. The serial specs are 3.3V TTL,
|
||||
115200,8,n,1
|
||||
|
||||
## I2C
|
||||
|
||||
Add `dtparam=i2c0=on` to `cmdline.txt`
|
||||
|
||||
[config]: ../configuration.md#automatic
|
||||
@@ -3,10 +3,9 @@
|
||||
|
||||
| Board | Version |
|
||||
|-------|---------|
|
||||
| Open Virtual Applicance | 4.19.88 |
|
||||
| Raspberry Pi | 4.19.88 |
|
||||
| Tinker Board | 4.19.88 |
|
||||
| Open Virtual Applicance | 4.19.94 |
|
||||
| Raspberry Pi | 4.19.93 |
|
||||
| Tinker Board | 4.19.94 |
|
||||
| Odroid-C2 | 4.19.72 |
|
||||
| Odroid-XU4 | 4.19.72 |
|
||||
| Orangepi-Prime | 4.19.88 |
|
||||
| Intel NUC | 4.19.88 |
|
||||
| Intel NUC | 4.19.94 |
|
||||
|
||||
@@ -13,7 +13,7 @@ variables:
|
||||
- name: versionGHR
|
||||
value: 'v0.12.1'
|
||||
- group: github
|
||||
- group: hassos
|
||||
- group: rauc
|
||||
|
||||
jobs:
|
||||
|
||||
@@ -48,8 +48,6 @@ jobs:
|
||||
board: 'odroid_c2'
|
||||
OdroidXU4:
|
||||
board: 'odroid_xu4'
|
||||
OrangePiPrime:
|
||||
board: 'opi_prime'
|
||||
RaspberryPi:
|
||||
board: 'rpi'
|
||||
RaspberryPi0-W:
|
||||
|
||||
@@ -13,10 +13,16 @@ CONFIG_DRM_I915_CAPTURE_ERROR=y
|
||||
CONFIG_DRM_I915_COMPRESS_ERROR=y
|
||||
CONFIG_DRM_I915_USERPTR=y
|
||||
|
||||
CONFIG_SND_HDA=m
|
||||
CONFIG_SND_HDA=y
|
||||
CONFIG_SND_HDA_CORE=y
|
||||
CONFIG_SND_HDA_GENERIC=y
|
||||
CONFIG_SND_HDA_INTEL=m
|
||||
CONFIG_SND_HDA_I915=y
|
||||
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=1
|
||||
CONFIG_SND_HDA_I915=m
|
||||
CONFIG_SND_HDA_CODEC_REALTEK=m
|
||||
CONFIG_SND_HDA_CODEC_ANALOG=m
|
||||
CONFIG_SND_HDA_CODEC_VIA=m
|
||||
CONFIG_SND_HDA_CODEC_HDMI=m
|
||||
CONFIG_SND_USB_AUDIO=y
|
||||
|
||||
CONFIG_BT=y
|
||||
CONFIG_BT_BREDR=y
|
||||
|
||||
@@ -15,6 +15,7 @@ CONFIG_VIRTIO_INPUT=m
|
||||
CONFIG_VIRTIO_BLK=y
|
||||
CONFIG_VIRTIO_CONSOLE=m
|
||||
CONFIG_VIRTIO_VSOCKETS=m
|
||||
CONFIG_VIRTIO_MMIO=y
|
||||
CONFIG_SCSI_VIRTIO=y
|
||||
CONFIG_HW_RANDOM_VIRTIO=y
|
||||
|
||||
@@ -22,6 +23,8 @@ CONFIG_SCSI_LOWLEVEL=y
|
||||
CONFIG_USB_XHCI_HCD=y
|
||||
|
||||
CONFIG_PARAVIRT=y
|
||||
CONFIG_PARAVIRT_SPINLOCKS=y
|
||||
CONFIG_VIRT_DRIVERS=y
|
||||
CONFIG_XEN=y
|
||||
|
||||
CONFIG_HYPERVISOR_GUEST=y
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
#!/bin/bash
|
||||
# shellcheck disable=SC2155
|
||||
|
||||
function hassos_pre_image() {
|
||||
local BOOT_DATA="$(path_boot_dir)"
|
||||
local SPL="${BINARIES_DIR}/sunxi-spl.bin"
|
||||
local UBOOT="${BINARIES_DIR}/u-boot.itb"
|
||||
local spl_img="$(path_spl_img)"
|
||||
|
||||
cp "${BINARIES_DIR}/boot.scr" "${BOOT_DATA}/boot.scr"
|
||||
cp "${BINARIES_DIR}/sun50i-h5-orangepi-prime.dtb" "${BOOT_DATA}/sun50i-h5-orangepi-prime.dtb"
|
||||
cp "${BOARD_DIR}/config.txt" "${BOOT_DATA}/config.txt"
|
||||
touch "${BOOT_DATA}/cmdline.txt"
|
||||
|
||||
# SPL
|
||||
create_spl_image
|
||||
|
||||
dd if="${SPL}" of="${spl_img}" conv=notrunc bs=512 seek=16
|
||||
dd if="${UBOOT}" of="${spl_img}" conv=notrunc bs=512 seek=80
|
||||
}
|
||||
|
||||
|
||||
function hassos_post_image() {
|
||||
convert_disk_image_gz
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
CONFIG_GPIOLIB=y
|
||||
CONFIG_GPIO_SYSFS=y
|
||||
# CONFIG_ARCH_ACTIONS is not set
|
||||
# CONFIG_ARCH_ALPINE is not set
|
||||
# CONFIG_ARCH_BCM2835 is not set
|
||||
# CONFIG_ARCH_BCM_IPROC is not set
|
||||
# CONFIG_ARCH_BERLIN is not set
|
||||
# CONFIG_ARCH_BRCMSTB is not set
|
||||
# CONFIG_ARCH_EXYNOS is not set
|
||||
# CONFIG_ARCH_K3 is not set
|
||||
# CONFIG_ARCH_LAYERSCAPE is not set
|
||||
# CONFIG_ARCH_LG1K is not set
|
||||
# CONFIG_ARCH_HISI is not set
|
||||
# CONFIG_ARCH_MEDIATEK is not set
|
||||
# CONFIG_ARCH_MESON is not set
|
||||
# CONFIG_ARCH_MVEBU is not set
|
||||
# CONFIG_ARCH_QCOM is not set
|
||||
# CONFIG_ARCH_REALTEK is not set
|
||||
# CONFIG_ARCH_ROCKCHIP is not set
|
||||
# CONFIG_ARCH_SEATTLE is not set
|
||||
# CONFIG_ARCH_SYNQUACER is not set
|
||||
# CONFIG_ARCH_RENESAS is not set
|
||||
# CONFIG_ARCH_STRATIX10 is not set
|
||||
# CONFIG_ARCH_TEGRA is not set
|
||||
# CONFIG_ARCH_SPRD is not set
|
||||
# CONFIG_ARCH_THUNDER is not set
|
||||
# CONFIG_ARCH_THUNDER2 is not set
|
||||
# CONFIG_ARCH_UNIPHIER is not set
|
||||
# CONFIG_ARCH_VEXPRESS is not set
|
||||
# CONFIG_ARCH_XGENE is not set
|
||||
# CONFIG_ARCH_ZX is not set
|
||||
# CONFIG_ARCH_ZYNQMP is not set
|
||||
@@ -1,3 +0,0 @@
|
||||
i2c0_enable=true
|
||||
i2c1_enable=false
|
||||
i2c2_enable=false
|
||||
@@ -1,7 +0,0 @@
|
||||
BOARD_ID=opi-prime
|
||||
BOARD_NAME="Orange Pi Prime"
|
||||
CHASSIS=embedded
|
||||
BOOTLOADER=uboot
|
||||
KERNEL_FILE=Image
|
||||
BOOT_SYS=spl
|
||||
BOOT_ENV_SIZE=0x8000
|
||||
@@ -1,88 +0,0 @@
|
||||
|
||||
part start mmc ${devnum} 6 mmc_env
|
||||
mmc dev ${devnum}
|
||||
setenv loadbootstate " \
|
||||
echo 'loading env...'; \
|
||||
mmc read ${ramdisk_addr_r} ${mmc_env} 0x40; \
|
||||
env import -c ${ramdisk_addr_r} 0x8000;"
|
||||
|
||||
setenv storebootstate " \
|
||||
echo 'storing env...'; \
|
||||
env export -c -s 0x8000 ${ramdisk_addr_r} BOOT_ORDER BOOT_A_LEFT BOOT_B_LEFT; \
|
||||
mmc write ${ramdisk_addr_r} ${mmc_env} 0x40;"
|
||||
|
||||
run loadbootstate
|
||||
test -n "${BOOT_ORDER}" || setenv BOOT_ORDER "A B"
|
||||
test -n "${BOOT_A_LEFT}" || setenv BOOT_A_LEFT 3
|
||||
test -n "${BOOT_B_LEFT}" || setenv BOOT_B_LEFT 3
|
||||
|
||||
# HassOS bootargs
|
||||
setenv bootargs_hassos "zram.enabled=1 zram.num_devices=3 apparmor=1 security=apparmor cgroup_enable=memory rootwait"
|
||||
|
||||
# HassOS system A/B
|
||||
setenv bootargs_a "root=PARTUUID=8d3d53e3-6d49-4c38-8349-aff6859e82fd rootfstype=squashfs ro"
|
||||
setenv bootargs_b "root=PARTUUID=a3ec664e-32ce-4665-95ea-7ae90ce9aa20 rootfstype=squashfs ro"
|
||||
|
||||
# Load extraargs
|
||||
fileenv mmc ${devnum}:1 ${ramdisk_addr_r} cmdline.txt cmdline
|
||||
|
||||
# Load device tree
|
||||
fatload mmc ${devnum}:1 ${fdt_addr_r} sun50i-h5-orangepi-prime.dtb
|
||||
fdt addr ${fdt_addr_r}
|
||||
|
||||
if load mmc ${devnum}:1 ${ramdisk_addr_r} config.txt; then
|
||||
env import -t ${ramdisk_addr_r} ${filesize};
|
||||
fi
|
||||
|
||||
if test "${i2c0_enable}" != "false"; then
|
||||
fdt set /soc/i2c@1c2ac00 status "okay"
|
||||
fi
|
||||
|
||||
if test "${i2c1_enable}" != "false"; then
|
||||
fdt set /soc/i2c@1c2b000 status "okay"
|
||||
fi
|
||||
|
||||
if test "${i2c2_enable}" != "false"; then
|
||||
fdt set /soc/i2c@1c2b400 status "okay"
|
||||
fi
|
||||
|
||||
setenv bootargs
|
||||
for BOOT_SLOT in "${BOOT_ORDER}"; do
|
||||
if test "x${bootargs}" != "x"; then
|
||||
# skip remaining slots
|
||||
elif test "x${BOOT_SLOT}" = "xA"; then
|
||||
if test ${BOOT_A_LEFT} -gt 0; then
|
||||
setexpr BOOT_A_LEFT ${BOOT_A_LEFT} - 1
|
||||
echo "Found valid slot A, ${BOOT_A_LEFT} attempts remaining"
|
||||
setenv load_kernel "ext4load mmc ${devnum}:2 ${kernel_addr_r} Image"
|
||||
setenv bootargs "${bootargs_hassos} ${bootargs_a} rauc.slot=A ${cmdline}"
|
||||
fi
|
||||
elif test "x${BOOT_SLOT}" = "xB"; then
|
||||
if test ${BOOT_B_LEFT} -gt 0; then
|
||||
setexpr BOOT_B_LEFT ${BOOT_B_LEFT} - 1
|
||||
echo "Found valid slot B, ${BOOT_B_LEFT} attempts remaining"
|
||||
setenv load_kernel "ext4load mmc ${devnum}:4 ${kernel_addr_r} Image"
|
||||
setenv bootargs "${bootargs_hassos} ${bootargs_b} rauc.slot=B ${cmdline}"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
if test -n "${bootargs}"; then
|
||||
run storebootstate
|
||||
else
|
||||
echo "No valid slot found, resetting tries to 3"
|
||||
setenv BOOT_A_LEFT 3
|
||||
setenv BOOT_B_LEFT 3
|
||||
run storebootstate
|
||||
reset
|
||||
fi
|
||||
|
||||
echo "Loading kernel"
|
||||
run load_kernel
|
||||
echo " Starting kernel"
|
||||
printenv load_kernel
|
||||
printenv bootargs
|
||||
booti ${kernel_addr_r} - ${fdt_addr_r}
|
||||
|
||||
echo "Fails on boot"
|
||||
reset
|
||||
@@ -1,8 +0,0 @@
|
||||
# CONFIG_USB_STORAGE is not set
|
||||
# CONFIG_DOS_PARTITIONcs not set
|
||||
CONFIG_EFI_PARTITION is not set
|
||||
CONFIG_USB=y
|
||||
CONFIG_CMD_USB=y
|
||||
CONFIG_DM_USB=y
|
||||
CONFIG_CMD_FILEENV=y
|
||||
CONFIG_ENV_IS_NOWHERE=Y
|
||||
@@ -19,7 +19,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_HASSOS_PATH)/scripts/post-image.sh"
|
||||
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL_HASSOS_PATH)/board/intel/nuc $(BR2_EXTERNAL_HASSOS_PATH)/board/intel/nuc/hassos-hook.sh"
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.88"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.94"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="x86_64"
|
||||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/kernel/hassos.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/docker.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/device-support.config $(BR2_EXTERNAL_HASSOS_PATH)/board/intel/nuc/kernel.config"
|
||||
BR2_LINUX_KERNEL_LZ4=y
|
||||
@@ -96,12 +96,12 @@ BR2_PACKAGE_HOST_MTOOLS=y
|
||||
BR2_PACKAGE_HOST_RAUC=y
|
||||
BR2_PACKAGE_HASSOS=y
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR="homeassistant/amd64-hassio-supervisor"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_VERSION="193"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_VERSION="195"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_ARGS="-e HOMEASSISTANT_REPOSITORY=homeassistant/intel-nuc-homeassistant"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_PROFILE="hassio-supervisor"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_PROFILE_URL="http://s3.amazonaws.com/hassio-version/apparmor.txt"
|
||||
BR2_PACKAGE_HASSOS_CLI="homeassistant/amd64-hassio-cli"
|
||||
BR2_PACKAGE_HASSOS_CLI_VERSION="15"
|
||||
BR2_PACKAGE_HASSOS_CLI_VERSION="16"
|
||||
BR2_PACKAGE_HASSOS_CLI_ARGS="--network=hassio --add-host hassio:172.30.32.2"
|
||||
BR2_PACKAGE_HASSOS_CLI_PROFILE="docker-default"
|
||||
BR2_PACKAGE_HASSOS_APPARMOR_DIR="supervisor/apparmor"
|
||||
|
||||
@@ -90,12 +90,12 @@ BR2_PACKAGE_HOST_MTOOLS=y
|
||||
BR2_PACKAGE_HOST_RAUC=y
|
||||
BR2_PACKAGE_HASSOS=y
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR="homeassistant/aarch64-hassio-supervisor"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_VERSION="193"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_VERSION="195"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_ARGS="-e HOMEASSISTANT_REPOSITORY=homeassistant/odroid-c2-homeassistant"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_PROFILE="hassio-supervisor"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_PROFILE_URL="http://s3.amazonaws.com/hassio-version/apparmor.txt"
|
||||
BR2_PACKAGE_HASSOS_CLI="homeassistant/aarch64-hassio-cli"
|
||||
BR2_PACKAGE_HASSOS_CLI_VERSION="15"
|
||||
BR2_PACKAGE_HASSOS_CLI_VERSION="16"
|
||||
BR2_PACKAGE_HASSOS_CLI_ARGS="--network=hassio --add-host hassio:172.30.32.2"
|
||||
BR2_PACKAGE_HASSOS_CLI_PROFILE="docker-default"
|
||||
BR2_PACKAGE_HASSOS_APPARMOR_DIR="supervisor/apparmor"
|
||||
|
||||
@@ -95,12 +95,12 @@ BR2_PACKAGE_HOST_MTOOLS=y
|
||||
BR2_PACKAGE_HOST_RAUC=y
|
||||
BR2_PACKAGE_HASSOS=y
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR="homeassistant/armv7-hassio-supervisor"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_VERSION="193"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_VERSION="195"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_ARGS="-e HOMEASSISTANT_REPOSITORY=homeassistant/odroid-xu-homeassistant"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_PROFILE="hassio-supervisor"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_PROFILE_URL="http://s3.amazonaws.com/hassio-version/apparmor.txt"
|
||||
BR2_PACKAGE_HASSOS_CLI="homeassistant/armv7-hassio-cli"
|
||||
BR2_PACKAGE_HASSOS_CLI_VERSION="15"
|
||||
BR2_PACKAGE_HASSOS_CLI_VERSION="16"
|
||||
BR2_PACKAGE_HASSOS_CLI_ARGS="--network=hassio --add-host hassio:172.30.32.2"
|
||||
BR2_PACKAGE_HASSOS_CLI_PROFILE="docker-default"
|
||||
BR2_PACKAGE_HASSOS_APPARMOR_DIR="supervisor/apparmor"
|
||||
|
||||
@@ -1,116 +0,0 @@
|
||||
BR2_aarch64=y
|
||||
BR2_cortex_a53=y
|
||||
BR2_ARM_FPU_VFPV4=y
|
||||
BR2_DL_DIR="/cache/dl"
|
||||
BR2_CCACHE=y
|
||||
BR2_CCACHE_DIR="/cache/cc"
|
||||
BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL_HASSOS_PATH)/patches"
|
||||
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
|
||||
BR2_GCC_VERSION_7_X=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_CXX=y
|
||||
BR2_BINUTILS_ENABLE_LTO=y
|
||||
BR2_GCC_ENABLE_LTO=y
|
||||
BR2_TARGET_GENERIC_HOSTNAME="hassio"
|
||||
BR2_TARGET_GENERIC_ISSUE="Welcome to HassOS"
|
||||
BR2_INIT_SYSTEMD=y
|
||||
BR2_TARGET_GENERIC_GETTY_PORT="tty0"
|
||||
# BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW is not set
|
||||
BR2_TARGET_ARM_TRUSTED_FIRMWARE=y
|
||||
BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_GIT=y
|
||||
BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_URL="https://github.com/apritzel/arm-trusted-firmware.git"
|
||||
BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="sun50iw1p1"
|
||||
BR2_TARGET_ARM_TRUSTED_FIRMWARE_CUSTOM_REPO_VERSION="aa75c8da415158a94b82a430b2b40000778e851f"
|
||||
BR2_TARGET_ARM_TRUSTED_FIRMWARE_BL31=y
|
||||
BR2_TARGET_UBOOT=y
|
||||
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.10"
|
||||
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="orangepi_prime"
|
||||
BR2_TARGET_UBOOT_NEEDS_DTC=y
|
||||
BR2_TARGET_UBOOT_NEEDS_ATF_BL31=y
|
||||
BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
|
||||
BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.itb"
|
||||
BR2_TARGET_UBOOT_SPL=y
|
||||
BR2_TARGET_UBOOT_SPL_NAME="spl/sunxi-spl.bin"
|
||||
BR2_TARGET_UBOOT_BOOT_SCRIPT=y
|
||||
BR2_TARGET_UBOOT_BOOT_SCRIPT_SOURCE="$(BR2_EXTERNAL_HASSOS_PATH)/board/orangepi/prime/uboot-boot.ush"
|
||||
BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/bootloader/uboot.config $(BR2_EXTERNAL_HASSOS_PATH)/board/orangepi/prime/uboot.config"
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.88"
|
||||
BR2_LINUX_KERNEL_DTS_SUPPORT=y
|
||||
BR2_LINUX_KERNEL_INTREE_DTS_NAME="allwinner/sun50i-h5-orangepi-prime"
|
||||
BR2_LINUX_KERNEL_LZ4=y
|
||||
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
|
||||
BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF=y
|
||||
BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/kernel/hassos.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/docker.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/device-support.config $(BR2_EXTERNAL_HASSOS_PATH)/board/orangepi/kernel.config"
|
||||
BR2_ROOTFS_OVERLAY="$(BR2_EXTERNAL_HASSOS_PATH)/rootfs-overlay"
|
||||
BR2_ROOTFS_POST_BUILD_SCRIPT="$(BR2_EXTERNAL_HASSOS_PATH)/scripts/post-build.sh"
|
||||
BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_HASSOS_PATH)/scripts/post-image.sh"
|
||||
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL_HASSOS_PATH)/board/orangepi/prime $(BR2_EXTERNAL_HASSOS_PATH)/board/orangepi/hassos-hook.sh"
|
||||
BR2_PACKAGE_BUSYBOX_CONFIG="$(BR2_EXTERNAL_HASSOS_PATH)/busybox.config"
|
||||
BR2_PACKAGE_BUSYBOX_INDIVIDUAL_BINARIES=y
|
||||
BR2_PACKAGE_PROCPS_NG=y
|
||||
BR2_PACKAGE_JQ=y
|
||||
BR2_PACKAGE_E2FSPROGS=y
|
||||
BR2_PACKAGE_E2FSPROGS_RESIZE2FS=y
|
||||
BR2_PACKAGE_SQUASHFS=y
|
||||
BR2_PACKAGE_LINUX_FIRMWARE=y
|
||||
BR2_PACKAGE_LINUX_FIRMWARE_RTL_87XX=y
|
||||
BR2_PACKAGE_GPTFDISK=y
|
||||
BR2_PACKAGE_GPTFDISK_SGDISK=y
|
||||
BR2_PACKAGE_UBOOT_TOOLS=y
|
||||
BR2_PACKAGE_CA_CERTIFICATES=y
|
||||
BR2_PACKAGE_LIBDNET=y
|
||||
BR2_PACKAGE_LIBCGROUP=y
|
||||
BR2_PACKAGE_LIBCGROUP_TOOLS=y
|
||||
BR2_PACKAGE_AVAHI=y
|
||||
# BR2_PACKAGE_AVAHI_AUTOIPD is not set
|
||||
BR2_PACKAGE_AVAHI_DAEMON=y
|
||||
BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY=y
|
||||
BR2_PACKAGE_BLUEZ5_UTILS=y
|
||||
BR2_PACKAGE_BLUEZ5_UTILS_CLIENT=y
|
||||
BR2_PACKAGE_DHCP=y
|
||||
BR2_PACKAGE_DHCP_CLIENT=y
|
||||
BR2_PACKAGE_WIREGUARD=y
|
||||
BR2_PACKAGE_DROPBEAR=y
|
||||
# BR2_PACKAGE_DROPBEAR_CLIENT is not set
|
||||
# BR2_PACKAGE_IFUPDOWN_SCRIPTS is not set
|
||||
BR2_PACKAGE_NETWORK_MANAGER=y
|
||||
BR2_PACKAGE_TINI=y
|
||||
BR2_PACKAGE_DOCKER_ENGINE=y
|
||||
BR2_PACKAGE_DOCKER_CLI=y
|
||||
BR2_PACKAGE_RAUC=y
|
||||
BR2_PACKAGE_RAUC_NETWORK=y
|
||||
# BR2_PACKAGE_SYSTEMD_HWDB is not set
|
||||
# BR2_PACKAGE_SYSTEMD_NETWORKD is not set
|
||||
BR2_PACKAGE_SYSTEMD_RANDOMSEED=y
|
||||
# BR2_PACKAGE_SYSTEMD_RESOLVED is not set
|
||||
BR2_PACKAGE_SYSTEMD_COREDUMP=y
|
||||
BR2_PACKAGE_UTIL_LINUX_PARTX=y
|
||||
BR2_PACKAGE_UTIL_LINUX_ZRAMCTL=y
|
||||
BR2_PACKAGE_USB_MODESWITCH=y
|
||||
BR2_PACKAGE_USB_MODESWITCH_DATA=y
|
||||
BR2_TARGET_ROOTFS_SQUASHFS=y
|
||||
BR2_TARGET_ROOTFS_SQUASHFS4_LZ4=y
|
||||
# BR2_TARGET_ROOTFS_TAR is not set
|
||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19=y
|
||||
BR2_PACKAGE_HOST_DOSFSTOOLS=y
|
||||
BR2_PACKAGE_HOST_E2FSPROGS=y
|
||||
BR2_PACKAGE_HOST_GPTFDISK=y
|
||||
BR2_PACKAGE_HOST_MTOOLS=y
|
||||
BR2_PACKAGE_HOST_RAUC=y
|
||||
BR2_PACKAGE_HOST_SWIG=y
|
||||
BR2_PACKAGE_HASSOS=y
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR="homeassistant/aarch64-hassio-supervisor"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_VERSION="193"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_ARGS="-e HOMEASSISTANT_REPOSITORY=homeassistant/orangepi-prime-homeassistant"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_PROFILE="hassio-supervisor"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_PROFILE_URL="http://s3.amazonaws.com/hassio-version/apparmor.txt"
|
||||
BR2_PACKAGE_HASSOS_CLI="homeassistant/aarch64-hassio-cli"
|
||||
BR2_PACKAGE_HASSOS_CLI_VERSION="15"
|
||||
BR2_PACKAGE_HASSOS_CLI_ARGS="--network=hassio --add-host hassio:172.30.32.2"
|
||||
BR2_PACKAGE_HASSOS_CLI_PROFILE="docker-default"
|
||||
BR2_PACKAGE_HASSOS_APPARMOR_DIR="supervisor/apparmor"
|
||||
BR2_PACKAGE_APPARMOR=y
|
||||
@@ -19,7 +19,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_HASSOS_PATH)/scripts/post-image.sh"
|
||||
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL_HASSOS_PATH)/board/intel/ova $(BR2_EXTERNAL_HASSOS_PATH)/board/intel/ova/hassos-hook.sh"
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.88"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.94"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="x86_64"
|
||||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/kernel/hassos.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/docker.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/device-support.config $(BR2_EXTERNAL_HASSOS_PATH)/board/intel/ova/kernel.config"
|
||||
BR2_LINUX_KERNEL_LZ4=y
|
||||
@@ -87,12 +87,12 @@ BR2_PACKAGE_HOST_MTOOLS=y
|
||||
BR2_PACKAGE_HOST_RAUC=y
|
||||
BR2_PACKAGE_HASSOS=y
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR="homeassistant/amd64-hassio-supervisor"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_VERSION="193"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_VERSION="195"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_ARGS="-e HOMEASSISTANT_REPOSITORY=homeassistant/qemux86-64-homeassistant"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_PROFILE="hassio-supervisor"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_PROFILE_URL="http://s3.amazonaws.com/hassio-version/apparmor.txt"
|
||||
BR2_PACKAGE_HASSOS_CLI="homeassistant/amd64-hassio-cli"
|
||||
BR2_PACKAGE_HASSOS_CLI_VERSION="15"
|
||||
BR2_PACKAGE_HASSOS_CLI_VERSION="16"
|
||||
BR2_PACKAGE_HASSOS_CLI_ARGS="--network=hassio --add-host hassio:172.30.32.2"
|
||||
BR2_PACKAGE_HASSOS_CLI_PROFILE="docker-default"
|
||||
BR2_PACKAGE_HASSOS_APPARMOR_DIR="supervisor/apparmor"
|
||||
|
||||
@@ -22,7 +22,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/rpi0-
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_GIT=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/raspberrypi/linux"
|
||||
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="988cc7beacc150756c3fbe40646afcf8438b741b"
|
||||
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="b4180819d3a119c56133d6a2d8301775bf6c60bb"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi"
|
||||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/kernel/hassos.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/docker.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/device-support.config"
|
||||
BR2_LINUX_KERNEL_LZ4=y
|
||||
@@ -80,7 +80,7 @@ BR2_TARGET_ROOTFS_SQUASHFS4_LZ4=y
|
||||
BR2_TARGET_UBOOT=y
|
||||
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.10"
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.01"
|
||||
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="rpi_0_w"
|
||||
BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/bootloader/uboot.config $(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/uboot.config"
|
||||
BR2_TARGET_UBOOT_BOOT_SCRIPT=y
|
||||
@@ -93,12 +93,12 @@ BR2_PACKAGE_HOST_MTOOLS=y
|
||||
BR2_PACKAGE_HOST_RAUC=y
|
||||
BR2_PACKAGE_HASSOS=y
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR="homeassistant/armhf-hassio-supervisor"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_VERSION="193"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_VERSION="195"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_ARGS="-e HOMEASSISTANT_REPOSITORY=homeassistant/raspberrypi-homeassistant"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_PROFILE="hassio-supervisor"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_PROFILE_URL="http://s3.amazonaws.com/hassio-version/apparmor.txt"
|
||||
BR2_PACKAGE_HASSOS_CLI="homeassistant/armhf-hassio-cli"
|
||||
BR2_PACKAGE_HASSOS_CLI_VERSION="15"
|
||||
BR2_PACKAGE_HASSOS_CLI_VERSION="16"
|
||||
BR2_PACKAGE_HASSOS_CLI_ARGS="--network=hassio --add-host hassio:172.30.32.2"
|
||||
BR2_PACKAGE_HASSOS_CLI_PROFILE="docker-default"
|
||||
BR2_PACKAGE_HASSOS_APPARMOR_DIR="supervisor/apparmor"
|
||||
|
||||
@@ -22,7 +22,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/rpi2
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_GIT=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/raspberrypi/linux"
|
||||
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="988cc7beacc150756c3fbe40646afcf8438b741b"
|
||||
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="b4180819d3a119c56133d6a2d8301775bf6c60bb"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="bcm2709"
|
||||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/kernel/hassos.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/docker.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/device-support.config"
|
||||
BR2_LINUX_KERNEL_LZ4=y
|
||||
@@ -79,7 +79,7 @@ BR2_TARGET_ROOTFS_SQUASHFS4_LZ4=y
|
||||
BR2_TARGET_UBOOT=y
|
||||
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.10"
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.01"
|
||||
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="rpi_2"
|
||||
BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/bootloader/uboot.config $(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/uboot.config"
|
||||
BR2_TARGET_UBOOT_BOOT_SCRIPT=y
|
||||
@@ -92,12 +92,12 @@ BR2_PACKAGE_HOST_MTOOLS=y
|
||||
BR2_PACKAGE_HOST_RAUC=y
|
||||
BR2_PACKAGE_HASSOS=y
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR="homeassistant/armv7-hassio-supervisor"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_VERSION="193"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_VERSION="195"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_ARGS="-e HOMEASSISTANT_REPOSITORY=homeassistant/raspberrypi2-homeassistant"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_PROFILE="hassio-supervisor"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_PROFILE_URL="http://s3.amazonaws.com/hassio-version/apparmor.txt"
|
||||
BR2_PACKAGE_HASSOS_CLI="homeassistant/armv7-hassio-cli"
|
||||
BR2_PACKAGE_HASSOS_CLI_VERSION="15"
|
||||
BR2_PACKAGE_HASSOS_CLI_VERSION="16"
|
||||
BR2_PACKAGE_HASSOS_CLI_ARGS="--network=hassio --add-host hassio:172.30.32.2"
|
||||
BR2_PACKAGE_HASSOS_CLI_PROFILE="docker-default"
|
||||
BR2_PACKAGE_HASSOS_APPARMOR_DIR="supervisor/apparmor"
|
||||
|
||||
@@ -22,7 +22,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/rpi3-
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_GIT=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/raspberrypi/linux"
|
||||
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="988cc7beacc150756c3fbe40646afcf8438b741b"
|
||||
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="b4180819d3a119c56133d6a2d8301775bf6c60bb"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi3"
|
||||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/kernel/hassos.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/docker.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/device-support.config"
|
||||
BR2_LINUX_KERNEL_LZ4=y
|
||||
@@ -80,7 +80,7 @@ BR2_TARGET_ROOTFS_SQUASHFS4_LZ4=y
|
||||
BR2_TARGET_UBOOT=y
|
||||
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.10"
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.01"
|
||||
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="rpi_3"
|
||||
BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/bootloader/uboot.config $(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/uboot.config"
|
||||
BR2_TARGET_UBOOT_BOOT_SCRIPT=y
|
||||
@@ -93,12 +93,12 @@ BR2_PACKAGE_HOST_MTOOLS=y
|
||||
BR2_PACKAGE_HOST_RAUC=y
|
||||
BR2_PACKAGE_HASSOS=y
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR="homeassistant/aarch64-hassio-supervisor"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_VERSION="193"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_VERSION="195"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_ARGS="-e HOMEASSISTANT_REPOSITORY=homeassistant/raspberrypi3-64-homeassistant"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_PROFILE="hassio-supervisor"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_PROFILE_URL="http://s3.amazonaws.com/hassio-version/apparmor.txt"
|
||||
BR2_PACKAGE_HASSOS_CLI="homeassistant/aarch64-hassio-cli"
|
||||
BR2_PACKAGE_HASSOS_CLI_VERSION="15"
|
||||
BR2_PACKAGE_HASSOS_CLI_VERSION="16"
|
||||
BR2_PACKAGE_HASSOS_CLI_ARGS="--network=hassio --add-host hassio:172.30.32.2"
|
||||
BR2_PACKAGE_HASSOS_CLI_PROFILE="docker-default"
|
||||
BR2_PACKAGE_HASSOS_APPARMOR_DIR="supervisor/apparmor"
|
||||
|
||||
@@ -22,7 +22,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/rpi3
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_GIT=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/raspberrypi/linux"
|
||||
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="988cc7beacc150756c3fbe40646afcf8438b741b"
|
||||
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="b4180819d3a119c56133d6a2d8301775bf6c60bb"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="bcm2709"
|
||||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/kernel/hassos.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/docker.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/device-support.config"
|
||||
BR2_LINUX_KERNEL_LZ4=y
|
||||
@@ -80,7 +80,7 @@ BR2_TARGET_ROOTFS_SQUASHFS4_LZ4=y
|
||||
BR2_TARGET_UBOOT=y
|
||||
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.10"
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.01"
|
||||
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="rpi_3_32b"
|
||||
BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/bootloader/uboot.config $(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/uboot.config"
|
||||
BR2_TARGET_UBOOT_BOOT_SCRIPT=y
|
||||
@@ -93,12 +93,12 @@ BR2_PACKAGE_HOST_MTOOLS=y
|
||||
BR2_PACKAGE_HOST_RAUC=y
|
||||
BR2_PACKAGE_HASSOS=y
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR="homeassistant/armv7-hassio-supervisor"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_VERSION="193"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_VERSION="195"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_ARGS="-e HOMEASSISTANT_REPOSITORY=homeassistant/raspberrypi3-homeassistant"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_PROFILE="hassio-supervisor"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_PROFILE_URL="http://s3.amazonaws.com/hassio-version/apparmor.txt"
|
||||
BR2_PACKAGE_HASSOS_CLI="homeassistant/armv7-hassio-cli"
|
||||
BR2_PACKAGE_HASSOS_CLI_VERSION="15"
|
||||
BR2_PACKAGE_HASSOS_CLI_VERSION="16"
|
||||
BR2_PACKAGE_HASSOS_CLI_ARGS="--network=hassio --add-host hassio:172.30.32.2"
|
||||
BR2_PACKAGE_HASSOS_CLI_PROFILE="docker-default"
|
||||
BR2_PACKAGE_HASSOS_APPARMOR_DIR="supervisor/apparmor"
|
||||
|
||||
@@ -22,7 +22,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/rpi4-
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_GIT=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/raspberrypi/linux"
|
||||
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="988cc7beacc150756c3fbe40646afcf8438b741b"
|
||||
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="b4180819d3a119c56133d6a2d8301775bf6c60bb"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="bcm2711"
|
||||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/kernel/hassos.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/docker.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/device-support.config"
|
||||
BR2_LINUX_KERNEL_LZ4=y
|
||||
@@ -81,7 +81,7 @@ BR2_TARGET_ROOTFS_SQUASHFS4_LZ4=y
|
||||
BR2_TARGET_UBOOT=y
|
||||
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.01-rc4"
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.01"
|
||||
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="rpi_4"
|
||||
BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/bootloader/uboot.config $(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/uboot.config"
|
||||
BR2_TARGET_UBOOT_BOOT_SCRIPT=y
|
||||
@@ -94,12 +94,12 @@ BR2_PACKAGE_HOST_MTOOLS=y
|
||||
BR2_PACKAGE_HOST_RAUC=y
|
||||
BR2_PACKAGE_HASSOS=y
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR="homeassistant/aarch64-hassio-supervisor"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_VERSION="193"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_VERSION="195"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_ARGS="-e HOMEASSISTANT_REPOSITORY=homeassistant/raspberrypi4-64-homeassistant"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_PROFILE="hassio-supervisor"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_PROFILE_URL="http://s3.amazonaws.com/hassio-version/apparmor.txt"
|
||||
BR2_PACKAGE_HASSOS_CLI="homeassistant/aarch64-hassio-cli"
|
||||
BR2_PACKAGE_HASSOS_CLI_VERSION="15"
|
||||
BR2_PACKAGE_HASSOS_CLI_VERSION="16"
|
||||
BR2_PACKAGE_HASSOS_CLI_ARGS="--network=hassio --add-host hassio:172.30.32.2"
|
||||
BR2_PACKAGE_HASSOS_CLI_PROFILE="docker-default"
|
||||
BR2_PACKAGE_HASSOS_APPARMOR_DIR="supervisor/apparmor"
|
||||
|
||||
@@ -22,7 +22,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/rpi4
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_GIT=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/raspberrypi/linux"
|
||||
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="988cc7beacc150756c3fbe40646afcf8438b741b"
|
||||
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="b4180819d3a119c56133d6a2d8301775bf6c60bb"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="bcm2711"
|
||||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/kernel/hassos.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/docker.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/device-support.config"
|
||||
BR2_LINUX_KERNEL_LZ4=y
|
||||
@@ -81,7 +81,7 @@ BR2_TARGET_ROOTFS_SQUASHFS4_LZ4=y
|
||||
BR2_TARGET_UBOOT=y
|
||||
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.01-rc4"
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.01"
|
||||
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="rpi_4_32b"
|
||||
BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/bootloader/uboot.config $(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/uboot.config"
|
||||
BR2_TARGET_UBOOT_BOOT_SCRIPT=y
|
||||
@@ -94,12 +94,12 @@ BR2_PACKAGE_HOST_MTOOLS=y
|
||||
BR2_PACKAGE_HOST_RAUC=y
|
||||
BR2_PACKAGE_HASSOS=y
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR="homeassistant/armv7-hassio-supervisor"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_VERSION="193"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_VERSION="195"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_ARGS="-e HOMEASSISTANT_REPOSITORY=homeassistant/raspberrypi4-homeassistant"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_PROFILE="hassio-supervisor"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_PROFILE_URL="http://s3.amazonaws.com/hassio-version/apparmor.txt"
|
||||
BR2_PACKAGE_HASSOS_CLI="homeassistant/armv7-hassio-cli"
|
||||
BR2_PACKAGE_HASSOS_CLI_VERSION="15"
|
||||
BR2_PACKAGE_HASSOS_CLI_VERSION="16"
|
||||
BR2_PACKAGE_HASSOS_CLI_ARGS="--network=hassio --add-host hassio:172.30.32.2"
|
||||
BR2_PACKAGE_HASSOS_CLI_PROFILE="docker-default"
|
||||
BR2_PACKAGE_HASSOS_APPARMOR_DIR="supervisor/apparmor"
|
||||
|
||||
@@ -22,7 +22,7 @@ BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/rpi $
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_GIT=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/raspberrypi/linux"
|
||||
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="988cc7beacc150756c3fbe40646afcf8438b741b"
|
||||
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="b4180819d3a119c56133d6a2d8301775bf6c60bb"
|
||||
BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi"
|
||||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/kernel/hassos.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/docker.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/device-support.config"
|
||||
BR2_LINUX_KERNEL_LZ4=y
|
||||
@@ -79,7 +79,7 @@ BR2_TARGET_ROOTFS_SQUASHFS4_LZ4=y
|
||||
BR2_TARGET_UBOOT=y
|
||||
BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION=y
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2019.10"
|
||||
BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2020.01"
|
||||
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="rpi"
|
||||
BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/bootloader/uboot.config $(BR2_EXTERNAL_HASSOS_PATH)/board/raspberrypi/uboot.config"
|
||||
BR2_TARGET_UBOOT_BOOT_SCRIPT=y
|
||||
@@ -92,12 +92,12 @@ BR2_PACKAGE_HOST_MTOOLS=y
|
||||
BR2_PACKAGE_HOST_RAUC=y
|
||||
BR2_PACKAGE_HASSOS=y
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR="homeassistant/armhf-hassio-supervisor"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_VERSION="193"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_VERSION="195"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_ARGS="-e HOMEASSISTANT_REPOSITORY=homeassistant/raspberrypi-homeassistant"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_PROFILE="hassio-supervisor"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_PROFILE_URL="http://s3.amazonaws.com/hassio-version/apparmor.txt"
|
||||
BR2_PACKAGE_HASSOS_CLI="homeassistant/armhf-hassio-cli"
|
||||
BR2_PACKAGE_HASSOS_CLI_VERSION="15"
|
||||
BR2_PACKAGE_HASSOS_CLI_VERSION="16"
|
||||
BR2_PACKAGE_HASSOS_CLI_ARGS="--network=hassio --add-host hassio:172.30.32.2"
|
||||
BR2_PACKAGE_HASSOS_CLI_PROFILE="docker-default"
|
||||
BR2_PACKAGE_HASSOS_APPARMOR_DIR="supervisor/apparmor"
|
||||
|
||||
@@ -21,7 +21,7 @@ BR2_ROOTFS_POST_IMAGE_SCRIPT="$(BR2_EXTERNAL_HASSOS_PATH)/scripts/post-image.sh"
|
||||
BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL_HASSOS_PATH)/board/asus/tinker $(BR2_EXTERNAL_HASSOS_PATH)/board/asus/hassos-hook.sh"
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.88"
|
||||
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.94"
|
||||
BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_HASSOS_PATH)/board/asus/tinker/kernel.config"
|
||||
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/kernel/hassos.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/docker.config $(BR2_EXTERNAL_HASSOS_PATH)/kernel/device-support.config"
|
||||
@@ -97,12 +97,12 @@ BR2_PACKAGE_HOST_MTOOLS=y
|
||||
BR2_PACKAGE_HOST_RAUC=y
|
||||
BR2_PACKAGE_HASSOS=y
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR="homeassistant/armv7-hassio-supervisor"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_VERSION="193"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_VERSION="195"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_ARGS="-e HOMEASSISTANT_REPOSITORY=homeassistant/tinker-homeassistant"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_PROFILE="hassio-supervisor"
|
||||
BR2_PACKAGE_HASSOS_SUPERVISOR_PROFILE_URL="http://s3.amazonaws.com/hassio-version/apparmor.txt"
|
||||
BR2_PACKAGE_HASSOS_CLI="homeassistant/armv7-hassio-cli"
|
||||
BR2_PACKAGE_HASSOS_CLI_VERSION="15"
|
||||
BR2_PACKAGE_HASSOS_CLI_VERSION="16"
|
||||
BR2_PACKAGE_HASSOS_CLI_ARGS="--network=hassio --add-host hassio:172.30.32.2"
|
||||
BR2_PACKAGE_HASSOS_CLI_PROFILE="docker-default"
|
||||
BR2_PACKAGE_HASSOS_APPARMOR_DIR="supervisor/apparmor"
|
||||
|
||||
@@ -7,6 +7,7 @@ CONFIG_USB_SERIAL_CP210X=m
|
||||
CONFIG_USB_SERIAL_FTDI_SIO=m
|
||||
CONFIG_USB_SERIAL_PL2303=m
|
||||
CONFIG_USB_SERIAL_CH341=m
|
||||
CONFIG_USB_SERIAL_TI=m
|
||||
CONFIG_USB_ACM=m
|
||||
CONFIG_USB_USBNET=m
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
VERSION_MAJOR=3
|
||||
VERSION_BUILD=7
|
||||
VERSION_BUILD=9
|
||||
|
||||
HASSOS_NAME="HassOS"
|
||||
HASSOS_ID="hassos"
|
||||
|
||||
@@ -13,7 +13,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
&& curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - \
|
||||
&& add-apt-repository "deb https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" \
|
||||
&& apt-get update && apt-get install -y --no-install-recommends \
|
||||
docker-ce=5:18.09.6~3-0~ubuntu-bionic \
|
||||
docker-ce=5:19.03.5~3-0~ubuntu-bionic \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY hostapp.sh /usr/bin/
|
||||
|
||||
53
buildroot-patches/0001-Docker-AppArmor-support.patch
Normal file
53
buildroot-patches/0001-Docker-AppArmor-support.patch
Normal file
@@ -0,0 +1,53 @@
|
||||
From a874e0babaeefacd8e3d04a9c056dd6f1121307d Mon Sep 17 00:00:00 2001
|
||||
From: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
Date: Mon, 13 Jan 2020 12:27:06 +0000
|
||||
Subject: [PATCH 1/1] Docker: AppArmor support
|
||||
|
||||
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
---
|
||||
package/docker-containerd/docker-containerd.mk | 1 +
|
||||
package/docker-engine/docker-engine.mk | 2 +-
|
||||
package/runc/runc.mk | 2 +-
|
||||
3 files changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/package/docker-containerd/docker-containerd.mk b/package/docker-containerd/docker-containerd.mk
|
||||
index 69068e44f8..4dc0ef4672 100644
|
||||
--- a/package/docker-containerd/docker-containerd.mk
|
||||
+++ b/package/docker-containerd/docker-containerd.mk
|
||||
@@ -17,6 +17,7 @@ DOCKER_CONTAINERD_LDFLAGS = \
|
||||
DOCKER_CONTAINERD_BUILD_TARGETS = cmd/ctr cmd/containerd cmd/containerd-shim
|
||||
|
||||
DOCKER_CONTAINERD_INSTALL_BINS = containerd containerd-shim
|
||||
+DOCKER_CONTAINERD_TAGS = apparmor
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
|
||||
DOCKER_CONTAINERD_DEPENDENCIES += libseccomp host-pkgconf
|
||||
diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk
|
||||
index 24022f7107..14673f3183 100644
|
||||
--- a/package/docker-engine/docker-engine.mk
|
||||
+++ b/package/docker-engine/docker-engine.mk
|
||||
@@ -17,7 +17,7 @@ DOCKER_ENGINE_LDFLAGS = \
|
||||
-X main.GitCommit=$(DOCKER_ENGINE_VERSION) \
|
||||
-X main.Version=$(DOCKER_ENGINE_VERSION)
|
||||
|
||||
-DOCKER_ENGINE_TAGS = cgo exclude_graphdriver_zfs autogen
|
||||
+DOCKER_ENGINE_TAGS = cgo exclude_graphdriver_zfs autogen apparmor
|
||||
DOCKER_ENGINE_BUILD_TARGETS = cmd/dockerd
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
|
||||
diff --git a/package/runc/runc.mk b/package/runc/runc.mk
|
||||
index acf61ab160..3432dd5fe0 100644
|
||||
--- a/package/runc/runc.mk
|
||||
+++ b/package/runc/runc.mk
|
||||
@@ -13,7 +13,7 @@ RUNC_WORKSPACE = Godeps/_workspace
|
||||
|
||||
RUNC_LDFLAGS = -X main.gitCommit=$(RUNC_VERSION)
|
||||
|
||||
-RUNC_TAGS = cgo static_build
|
||||
+RUNC_TAGS = cgo static_build apparmor
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
|
||||
RUNC_TAGS += seccomp
|
||||
--
|
||||
2.17.1
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
From 9759621540997500a9dc0163506a8eac1e4769cc Mon Sep 17 00:00:00 2001
|
||||
From: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
Date: Wed, 26 Jun 2019 09:57:05 +0000
|
||||
Subject: [PATCH 1/1] docker-containerd: bump to v1.2.7
|
||||
|
||||
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
---
|
||||
package/docker-containerd/docker-containerd.hash | 2 +-
|
||||
package/docker-containerd/docker-containerd.mk | 3 ++-
|
||||
2 files changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/package/docker-containerd/docker-containerd.hash b/package/docker-containerd/docker-containerd.hash
|
||||
index 525191c651..163a519d36 100644
|
||||
--- a/package/docker-containerd/docker-containerd.hash
|
||||
+++ b/package/docker-containerd/docker-containerd.hash
|
||||
@@ -1,3 +1,3 @@
|
||||
# Computed locally
|
||||
-sha256 f2d578b743fb9faa5b3477b7cf4b33d00501087043a53b27754f14bbe741f891 docker-containerd-v1.2.6.tar.gz
|
||||
+sha256 7179c709a0d187708a1eeddcbdecd7206b2c642dc4413bcdb049cd6b38d06801 docker-containerd-v1.2.7.tar.gz
|
||||
sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE
|
||||
diff --git a/package/docker-containerd/docker-containerd.mk b/package/docker-containerd/docker-containerd.mk
|
||||
index c67b36e7dc..4c0877ecd1 100644
|
||||
--- a/package/docker-containerd/docker-containerd.mk
|
||||
+++ b/package/docker-containerd/docker-containerd.mk
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
-DOCKER_CONTAINERD_VERSION = v1.2.6
|
||||
+DOCKER_CONTAINERD_VERSION = v1.2.7
|
||||
DOCKER_CONTAINERD_SITE = $(call github,containerd,containerd,$(DOCKER_CONTAINERD_VERSION))
|
||||
DOCKER_CONTAINERD_LICENSE = Apache-2.0
|
||||
DOCKER_CONTAINERD_LICENSE_FILES = LICENSE
|
||||
@@ -17,6 +17,7 @@ DOCKER_CONTAINERD_LDFLAGS = \
|
||||
DOCKER_CONTAINERD_BUILD_TARGETS = cmd/ctr cmd/containerd cmd/containerd-shim
|
||||
|
||||
DOCKER_CONTAINERD_INSTALL_BINS = containerd containerd-shim
|
||||
+DOCKER_CONTAINERD_TAGS = apparmor
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
|
||||
DOCKER_CONTAINERD_DEPENDENCIES += libseccomp host-pkgconf
|
||||
--
|
||||
2.17.1
|
||||
|
||||
41
buildroot-patches/0002-Docker-tini-static.patch
Normal file
41
buildroot-patches/0002-Docker-tini-static.patch
Normal file
@@ -0,0 +1,41 @@
|
||||
From 81bf3979ac5aec0dd8d4bccc690fe1bcef5de139 Mon Sep 17 00:00:00 2001
|
||||
From: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
Date: Mon, 13 Jan 2020 12:30:48 +0000
|
||||
Subject: [PATCH 1/1] Docker: tini & static
|
||||
|
||||
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
---
|
||||
package/docker-engine/docker-engine.mk | 6 ++++++
|
||||
package/tini/tini.mk | 1 +
|
||||
2 files changed, 7 insertions(+)
|
||||
|
||||
diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk
|
||||
index 14673f3183..b0eaae9580 100644
|
||||
--- a/package/docker-engine/docker-engine.mk
|
||||
+++ b/package/docker-engine/docker-engine.mk
|
||||
@@ -82,4 +82,10 @@ define DOCKER_ENGINE_USERS
|
||||
- - docker -1 * - - - Docker Application Container Framework
|
||||
endef
|
||||
|
||||
+define DOCKER_ENGINE_INSTALL_SYMLINKS
|
||||
+ ln -fs tini $(TARGET_DIR)/usr/bin/docker-init
|
||||
+endef
|
||||
+
|
||||
+DOCKER_ENGINE_POST_INSTALL_TARGET_HOOKS += DOCKER_ENGINE_INSTALL_SYMLINKS
|
||||
+
|
||||
$(eval $(golang-package))
|
||||
diff --git a/package/tini/tini.mk b/package/tini/tini.mk
|
||||
index 132bfc99dd..b6d7d80b22 100644
|
||||
--- a/package/tini/tini.mk
|
||||
+++ b/package/tini/tini.mk
|
||||
@@ -12,6 +12,7 @@ TINI_LICENSE_FILES = LICENSE
|
||||
TINI_CFLAGS = $(TARGET_CFLAGS) \
|
||||
-DTINI_VERSION=\"$(TINI_VERSION)\" \
|
||||
-DTINI_GIT=\"\"
|
||||
+TINI_CFLAGS += -static
|
||||
|
||||
ifeq ($(BR2_PACKAGE_TINI_MINIMAL),y)
|
||||
TINI_CFLAGS += -DTINI_MINIMAL
|
||||
--
|
||||
2.17.1
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
From 021395083b5829c4fd00bebcdc7d38c2acd7232d Mon Sep 17 00:00:00 2001
|
||||
From: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
Date: Wed, 26 Jun 2019 10:00:31 +0000
|
||||
Subject: [PATCH 1/1] runc: add AppArmor
|
||||
|
||||
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
---
|
||||
package/runc/runc.mk | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/package/runc/runc.mk b/package/runc/runc.mk
|
||||
index 55097e5a17..31da4fae58 100644
|
||||
--- a/package/runc/runc.mk
|
||||
+++ b/package/runc/runc.mk
|
||||
@@ -13,7 +13,7 @@ RUNC_WORKSPACE = Godeps/_workspace
|
||||
|
||||
RUNC_LDFLAGS = -X main.gitCommit=$(RUNC_VERSION)
|
||||
|
||||
-RUNC_TAGS = cgo static_build
|
||||
+RUNC_TAGS = cgo static_build apparmor
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
|
||||
RUNC_TAGS += seccomp
|
||||
--
|
||||
2.17.1
|
||||
|
||||
@@ -1,37 +0,0 @@
|
||||
From 93c43e8572d374edbea8521f63c071a0a5cb1098 Mon Sep 17 00:00:00 2001
|
||||
From: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
Date: Thu, 3 Jan 2019 19:54:57 +0000
|
||||
Subject: [PATCH 1/1] docker-engine: add AppArmor support
|
||||
|
||||
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
---
|
||||
package/docker-engine/docker-engine.mk | 8 +++++++-
|
||||
1 file changed, 7 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/package/docker-engine/docker-engine.mk b/package/docker-engine/docker-engine.mk
|
||||
index f19c1d9..9ecfd10 100644
|
||||
--- a/package/docker-engine/docker-engine.mk
|
||||
+++ b/package/docker-engine/docker-engine.mk
|
||||
@@ -17,7 +17,7 @@ DOCKER_ENGINE_LDFLAGS = \
|
||||
-X main.GitCommit=$(DOCKER_ENGINE_VERSION) \
|
||||
-X main.Version=$(DOCKER_ENGINE_VERSION)
|
||||
|
||||
-DOCKER_ENGINE_TAGS = cgo exclude_graphdriver_zfs autogen
|
||||
+DOCKER_ENGINE_TAGS = cgo exclude_graphdriver_zfs autogen apparmor
|
||||
DOCKER_ENGINE_BUILD_TARGETS = cmd/dockerd
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
|
||||
@@ -77,4 +77,10 @@ define DOCKER_ENGINE_USERS
|
||||
- - docker -1 * - - - Docker Application Container Framework
|
||||
endef
|
||||
|
||||
+define DOCKER_ENGINE_INSTALL_SYMLINKS
|
||||
+ ln -fs tini $(TARGET_DIR)/usr/bin/docker-init
|
||||
+endef
|
||||
+
|
||||
+DOCKER_ENGINE_POST_INSTALL_TARGET_HOOKS += DOCKER_ENGINE_INSTALL_SYMLINKS
|
||||
+
|
||||
$(eval $(golang-package))
|
||||
--
|
||||
2.17.1
|
||||
|
||||
@@ -38,7 +38,7 @@ index 9988dda717..3eae7e270b 100644
|
||||
@@ -1,2 +1,2 @@
|
||||
# Locally computed
|
||||
-sha256 f1d631920ed4ae15f368ba7b8b3caa4ed604f5223372cc6debbd39a101eb8d74 rpi-firmware-81cca1a9380c828299e884dba5efd0d4acb39e8d.tar.gz
|
||||
+sha256 484d52caed909fcafbf593cc3e726ea44a9218db7f0aeec843b825797eb9b0fc rpi-firmware-9d6be5b07e81bdfb9c4b9a560e90fbc7477fdc6e.tar.gz
|
||||
+sha256 088d094618924a90f65bb511808bbeb921e0769c878fa7baa9626954206f61a2 rpi-firmware-62a0d75b67484cb306a2a6f8fa954d9644868169.tar.gz
|
||||
diff --git a/package/rpi-firmware/rpi-firmware.mk b/package/rpi-firmware/rpi-firmware.mk
|
||||
index 630bc670ca..fd2970333e 100644
|
||||
--- a/package/rpi-firmware/rpi-firmware.mk
|
||||
@@ -48,7 +48,7 @@ index 630bc670ca..fd2970333e 100644
|
||||
################################################################################
|
||||
|
||||
-RPI_FIRMWARE_VERSION = 81cca1a9380c828299e884dba5efd0d4acb39e8d
|
||||
+RPI_FIRMWARE_VERSION = 9d6be5b07e81bdfb9c4b9a560e90fbc7477fdc6e
|
||||
+RPI_FIRMWARE_VERSION = 62a0d75b67484cb306a2a6f8fa954d9644868169
|
||||
RPI_FIRMWARE_SITE = $(call github,raspberrypi,firmware,$(RPI_FIRMWARE_VERSION))
|
||||
RPI_FIRMWARE_LICENSE = BSD-3-Clause
|
||||
RPI_FIRMWARE_LICENSE_FILES = boot/LICENCE.broadcom
|
||||
@@ -1,7 +1,7 @@
|
||||
diff --git a/buildroot/package/linux-firmware/Config.in b/buildroot/package/linux-firmware/Config.in
|
||||
diff --git a/package/linux-firmware/Config.in b/package/linux-firmware/Config.in
|
||||
index 6b182dc6..8e3be238 100644
|
||||
--- a/buildroot/package/linux-firmware/Config.in
|
||||
+++ b/buildroot/package/linux-firmware/Config.in
|
||||
--- a/package/linux-firmware/Config.in
|
||||
+++ b/package/linux-firmware/Config.in
|
||||
@@ -44,6 +44,12 @@ config BR2_PACKAGE_LINUX_FIRMWARE_QCOM_ADRENO
|
||||
help
|
||||
Firmware files for Qualcomm Adreno GPU firmware
|
||||
@@ -15,10 +15,10 @@ index 6b182dc6..8e3be238 100644
|
||||
endmenu # Video
|
||||
|
||||
menu "Bluetooth firmware"
|
||||
diff --git a/buildroot/package/linux-firmware/linux-firmware.mk b/buildroot/package/linux-firmware/linux-firmware.mk
|
||||
diff --git a/package/linux-firmware/linux-firmware.mk b/package/linux-firmware/linux-firmware.mk
|
||||
index 86e1d1e7..6453c402 100644
|
||||
--- a/buildroot/package/linux-firmware/linux-firmware.mk
|
||||
+++ b/buildroot/package/linux-firmware/linux-firmware.mk
|
||||
--- a/package/linux-firmware/linux-firmware.mk
|
||||
+++ b/package/linux-firmware/linux-firmware.mk
|
||||
@@ -39,6 +39,12 @@ LINUX_FIRMWARE_FILES += qcom/a*
|
||||
LINUX_FIRMWARE_ALL_LICENSE_FILES += LICENSE.qcom qcom/NOTICE.txt
|
||||
endif
|
||||
51
buildroot-patches/0008-Bump-bluez-5.52.patch
Normal file
51
buildroot-patches/0008-Bump-bluez-5.52.patch
Normal file
@@ -0,0 +1,51 @@
|
||||
From 4e3d6b2b4d600babb79492fbcd04d7bbd16a2a58 Mon Sep 17 00:00:00 2001
|
||||
From: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
Date: Mon, 30 Dec 2019 13:18:34 +0000
|
||||
Subject: [PATCH 1/1] Bump bluez 5.52
|
||||
|
||||
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
---
|
||||
package/bluez5_utils-headers/bluez5_utils-headers.mk | 2 +-
|
||||
package/bluez5_utils/bluez5_utils.hash | 2 +-
|
||||
package/bluez5_utils/bluez5_utils.mk | 2 +-
|
||||
3 files changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/package/bluez5_utils-headers/bluez5_utils-headers.mk b/package/bluez5_utils-headers/bluez5_utils-headers.mk
|
||||
index 020e8b4d4e..c61f93a23c 100644
|
||||
--- a/package/bluez5_utils-headers/bluez5_utils-headers.mk
|
||||
+++ b/package/bluez5_utils-headers/bluez5_utils-headers.mk
|
||||
@@ -5,7 +5,7 @@
|
||||
################################################################################
|
||||
|
||||
# Keep the version and patches in sync with bluez5_utils
|
||||
-BLUEZ5_UTILS_HEADERS_VERSION = 5.50
|
||||
+BLUEZ5_UTILS_HEADERS_VERSION = 5.52
|
||||
BLUEZ5_UTILS_HEADERS_SOURCE = bluez-$(BLUEZ5_UTILS_VERSION).tar.xz
|
||||
BLUEZ5_UTILS_HEADERS_SITE = $(BR2_KERNEL_MIRROR)/linux/bluetooth
|
||||
BLUEZ5_UTILS_HEADERS_DL_SUBDIR = bluez5_utils
|
||||
diff --git a/package/bluez5_utils/bluez5_utils.hash b/package/bluez5_utils/bluez5_utils.hash
|
||||
index b965708559..00112bc0b6 100644
|
||||
--- a/package/bluez5_utils/bluez5_utils.hash
|
||||
+++ b/package/bluez5_utils/bluez5_utils.hash
|
||||
@@ -1,4 +1,4 @@
|
||||
# From https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc:
|
||||
-sha256 5ffcaae18bbb6155f1591be8c24898dc12f062075a40b538b745bfd477481911 bluez-5.50.tar.xz
|
||||
+sha256 f7144ce2039202cfac18ccb52426efea11c98e4f6e1bb8041bcb994b8378560a bluez-5.52.tar.xz
|
||||
sha256 b499eddebda05a8859e32b820a64577d91f1de2b52efa2a1575a2cb4000bc259 COPYING
|
||||
sha256 ec60b993835e2c6b79e6d9226345f4e614e686eb57dc13b6420c15a33a8996e5 COPYING.LIB
|
||||
diff --git a/package/bluez5_utils/bluez5_utils.mk b/package/bluez5_utils/bluez5_utils.mk
|
||||
index 15c9b670a7..7c5202b717 100644
|
||||
--- a/package/bluez5_utils/bluez5_utils.mk
|
||||
+++ b/package/bluez5_utils/bluez5_utils.mk
|
||||
@@ -5,7 +5,7 @@
|
||||
################################################################################
|
||||
|
||||
# Keep the version and patches in sync with bluez5_utils-headers
|
||||
-BLUEZ5_UTILS_VERSION = 5.50
|
||||
+BLUEZ5_UTILS_VERSION = 5.52
|
||||
BLUEZ5_UTILS_SOURCE = bluez-$(BLUEZ5_UTILS_VERSION).tar.xz
|
||||
BLUEZ5_UTILS_SITE = $(BR2_KERNEL_MIRROR)/linux/bluetooth
|
||||
BLUEZ5_UTILS_INSTALL_STAGING = YES
|
||||
--
|
||||
2.17.1
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
From e757b263a4f3ff67e69ae6cc6abdaa83039bf6b6 Mon Sep 17 00:00:00 2001
|
||||
From: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
Date: Tue, 27 Nov 2018 20:31:33 +0000
|
||||
Subject: [PATCH 1/1] tini: make static for docker
|
||||
|
||||
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
---
|
||||
package/tini/tini.mk | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/package/tini/tini.mk b/package/tini/tini.mk
|
||||
index 132bfc9..b6d7d80 100644
|
||||
--- a/package/tini/tini.mk
|
||||
+++ b/package/tini/tini.mk
|
||||
@@ -12,6 +12,7 @@ TINI_LICENSE_FILES = LICENSE
|
||||
TINI_CFLAGS = $(TARGET_CFLAGS) \
|
||||
-DTINI_VERSION=\"$(TINI_VERSION)\" \
|
||||
-DTINI_GIT=\"\"
|
||||
+TINI_CFLAGS += -static
|
||||
|
||||
ifeq ($(BR2_PACKAGE_TINI_MINIMAL),y)
|
||||
TINI_CFLAGS += -DTINI_MINIMAL
|
||||
--
|
||||
2.17.1
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
From f80ba7397087960c033bc8ba43959e399aefb250 Mon Sep 17 00:00:00 2001
|
||||
From: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
Date: Wed, 26 Jun 2019 13:38:47 +0000
|
||||
Subject: [PATCH 1/1] openvmtools: start only inside a vmware env
|
||||
|
||||
Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
|
||||
---
|
||||
package/openvmtools/vmtoolsd.service | 5 +++--
|
||||
1 file changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/package/openvmtools/vmtoolsd.service b/package/openvmtools/vmtoolsd.service
|
||||
index 17a4df44c2..1d2a3566cf 100644
|
||||
--- a/package/openvmtools/vmtoolsd.service
|
||||
+++ b/package/openvmtools/vmtoolsd.service
|
||||
@@ -1,11 +1,12 @@
|
||||
[Unit]
|
||||
Description=vmtoolsd for openvmtools
|
||||
After=syslog.target network.target
|
||||
+ConditionVirtualization=vmware
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
-PIDFile=/var/run/vmtoolsd.pid
|
||||
-ExecStart=/usr/bin/vmtoolsd -b /var/run/vmtoolsd.pid
|
||||
+PIDFile=/run/vmtoolsd.pid
|
||||
+ExecStart=/usr/bin/vmtoolsd -b /run/vmtoolsd.pid
|
||||
Restart=on-failure
|
||||
KillMode=process
|
||||
KillSignal=SIGKILL
|
||||
--
|
||||
2.17.1
|
||||
|
||||
@@ -1,3 +1,205 @@
|
||||
2019.02.9, released January 12th, 2020
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
pkg-python infrastructure: Ensure correct compiler and linker
|
||||
flags are used for compiled code
|
||||
|
||||
utils/scanpypi: Remind users to update DEVELOPERS
|
||||
|
||||
Updated/fixed packages: busybox, cc-tool, cpio, cups, dante,
|
||||
dillo, docker-cli, docker-containerd, docker-engine, easy-rsa,
|
||||
ecryptfs-utils, efl, git, glibc, gnupg2, gst1-plugins-bad,
|
||||
kf5-kcoreaddons, libarchive, libgit2, libkrb5, librsvg,
|
||||
libssh, libtomcrypt, libuio, lirc-tools, lvm2,
|
||||
matchbox-desktop, nodejs, ntp, opencv3, openpowerlink,
|
||||
python-django, python-ecdsa, python-pyasn-modules,
|
||||
python-pyqt5, python-subprocess32, python3, qpdf, runc, rygel,
|
||||
samba4, sdl2, wavpack, xserver_xorg-server, zip
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#12121: PyQt5.QtSerialPort and other modules not being built
|
||||
|
||||
2019.02.8, released December 7th, 2019
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Infrastructure: Make HOST_<pkg>_DL_OPTS inherit from
|
||||
<pkg>_DL_OPTS by default, just like it is done for a number of
|
||||
other package variables
|
||||
|
||||
Add <pkg>_KEEP_PY_FILES to exclude specific python .py files
|
||||
from the removal done by BR2_PACKAGE_PYTHON{,3}_PYC_ONLY for
|
||||
the (rare) case where the .py files are needed at runtime
|
||||
rather than .pyc.
|
||||
|
||||
Fix <pkg>-reconfigure handling for packages using the kconfig
|
||||
infrastructure.
|
||||
|
||||
Toolchain: ensure external toolchain kernel headers version
|
||||
check correctly stop the build on mismatch
|
||||
|
||||
Deconfigs: beaglebone: fix boot issue
|
||||
|
||||
Updated/fixed packages: am33x-cm3, asterisk, bind, chrony,
|
||||
clamav, collectd, connman, faifa, gob2, haproxy,
|
||||
intel-microcode, ipsec-tools, jasper, jpeg-turbo, kodi,
|
||||
kvm-unit-tests, libftdi, libftdi1, libnss, libstrophe,
|
||||
libsvgtiny, lvm2, lzma, mariadb, minicom, neardal, nodejs,
|
||||
opencv3, openvmtools, oracle-mysql, perl-gdgraph,
|
||||
perl-gdtextutil, php, postgresql, prosody, python-django,
|
||||
rabbitmq-c, rauc, redis, rpcbind, socat, spice,
|
||||
spice-protocol, tftpd, tiff, webkitgtk
|
||||
|
||||
New packages: libmspack
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#12166: Compiling nodejs for SAMA5D3 always crash with illegal inst..
|
||||
#12171: Python-opencv needs config.py and config-3.7.py to run..
|
||||
#12211: host-nodejs 10.15.3 package fail to build
|
||||
#12316: tzdata fails to install with empty "default local time"
|
||||
|
||||
2019.02.7, Released November 10th, 2019
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
support/testing: use a kernel with HW_RANDOM_VIRTIO to work
|
||||
around issues with lack of entrophy
|
||||
|
||||
Toolchain: Also copy libssp.so for external toolchains if SSP
|
||||
is enabled to handle toolchains providing SSP support in
|
||||
libssp rather than in the C library
|
||||
|
||||
Download: Also use the package download method for extra
|
||||
downloads from the same site, so it does not get confused by
|
||||
URLs containing '+'
|
||||
|
||||
Fakeroot now works correctly under Microsoft Windows 10
|
||||
Services for Linux, which does not provide SYSV IPC support
|
||||
|
||||
utils/test-pkg: ensure to exit with an error upon failure
|
||||
|
||||
Updated/fixed packages: asterisk, azmq, cups-filters,
|
||||
domoticz, duma, elf2flt, eudev, exfat, exfat-utils, fakeroot,
|
||||
file, freerdp, gd, ghostscript, go, gvfs, intel-microcode,
|
||||
kvm-unit-tests, libarchive, libnspr, libnss, libopenssl,
|
||||
libpcap, libpciaccess, librsvg, libseccomp, libsigrok,
|
||||
libtorrent, libunwind, linux-tools, lua-sdl2, lxc, minizip,
|
||||
mjpegtools, mongoose, php, python, python-pysnmp-apps,
|
||||
python3, qemu, qt5base, ruby, safeclib, samba4, sdl_mixer,
|
||||
sox, sudo, systemd, tcpdump, unscd, util-lkinux, vtun, xvisor,
|
||||
yaffs2utils
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#11366: [2018.08] SysV IPC not available for fakeroot on WSL
|
||||
#12261: sudo versions prior to 1.8.28 are affected
|
||||
|
||||
2019.02.6, Released October 3rd, 2019
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Defconfigs: AArch64-efi: Fix grub configuration, Beaglebone:
|
||||
Use default console settings
|
||||
|
||||
Dependencies: Ensure host has JSON::PP perl module installed
|
||||
if webkitgtk/wpewebkit packages are enabled as it is needed
|
||||
during their build process.
|
||||
|
||||
Toolchain: Generate check-headers program under BUILD_DIR
|
||||
rather than /tmp to fix issues with distributions mounting
|
||||
/tmp noexec.
|
||||
|
||||
Updated/fixed packages: asterisk, augeas, bind, bwm-ng, cups,
|
||||
cups-filters, docker-cli, docker-engine, docker-proxy,
|
||||
dropbear, e2fsprogs, eudev, exim, expat, gcc, go, ifplugd,
|
||||
haveged, iptables, joe, kf5-extra-cmake-modules,
|
||||
kf5-modemmanager-qt, kf5-networkmanager-qt, libcurl,
|
||||
libgcrypt, libgpg-error, libnftl, libnspr, libnss, libopenssl,
|
||||
luksmeta, mariadb, mbedtls, mongodb, mosquitto, ncurses,
|
||||
nfs-utils, nghttp2, nodejs, openvmtools, php, protobuf, putty,
|
||||
qemu, qt5base, samba4, swupdate, systemd-bootchart, thttpd,
|
||||
uclibc, unzip, util-linux, wireshark
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#10806: Allow nfs-utils to use ipv6
|
||||
#11781: mariadb build error
|
||||
#12031: Build of cups-filters fails while linking, apparently due..
|
||||
#12141: eudev package is missing "render" and "kvm" groups
|
||||
#12181: dropbear: norootlogin (-w) no longer works when PAM is enabled
|
||||
#12241: Permission denied while running "make"
|
||||
|
||||
2019.02.5, Released September 2nd, 2019
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
Filesystems: Pass extra pax options to tar for binary
|
||||
reproducibility.
|
||||
|
||||
Updated/fixed packages: apache, arm-trusted-firmware,
|
||||
asterisk, atk, autofs, batctl, batman-adv, berkeleydb, brotli,
|
||||
busybox, bzip2, clamav, cloop, cmake, collectd, connman-gtk,
|
||||
cryptopp, dahdi-linux, dahdi-tools, daq, dehydrated, dovecot,
|
||||
dovecot-pigeonhole,, elfutils, evtest, exim, expect, giflib,
|
||||
git, glib-networking, glibc, gnupg2, gnutls, go,
|
||||
gst1-rtsp-server, gtkperf, gupnp-tools, gvfs, imagemagick,
|
||||
imx-uuc, intel-microcode, json-glib, lftp, libbsd, libcurl,
|
||||
libgit2, libgtk3, libmodplug, libnss, libpri, libshout,
|
||||
libss7, libssh2, libvips, libxcb, linux-headers, mdadm,
|
||||
mesa3d, metacity, mpg123, mosquitto, musl, nginx, openblas,
|
||||
opencv3, openldap, openvmtools, pcmanfm, php, pigpio,
|
||||
postgresql, prboom, proftpd, proj, python, python-django,
|
||||
python-idna, python-numpy, python-urllib3, python3, qemu, qt5,
|
||||
qt5base, qt5enginio, quagga, rygel, squid, subversion,
|
||||
tcpreplay, unzip, vlc, vte, webkitgtk, weston, wireless-regdb,
|
||||
xen, xfont_font-util, xlib_libICE, xlib_libXfont,
|
||||
xlib_libXfont2, yad, zeromq
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#11741: pigpio does not build host-pigpio
|
||||
#11876: automount using host mount/umount
|
||||
#11881: Build breaks with lftp package enabled and libexpat1-dev inst..
|
||||
#11921: dahdi fails to build
|
||||
#11961: libpri build failure
|
||||
#12096: tcpreplay: build fails if libdumbnet-dev is installed in the..
|
||||
#12106: daq: build fails if libdumbnet-dev is installed in the host
|
||||
#12126: vc4 has neon as hard dependency
|
||||
|
||||
2019.02.4, Released July 10th, 2019
|
||||
|
||||
Important / security related fixes.
|
||||
|
||||
arch: x86: Fix typo breaking 'core-avx2' variant, add Westmere
|
||||
variant.
|
||||
|
||||
linux: Workaround -Werror related build failure on powerpc,
|
||||
by forcing CONFIG_PPC_DISABLE_WERROR on.
|
||||
|
||||
support/testing: Emulate a machine with 256MB RAM to fix
|
||||
issues with certain tests running out of memory.
|
||||
|
||||
test-pkg: Correct long option handling and clean output dir
|
||||
after a successful build to save disk space.
|
||||
|
||||
Ensure custom <pkg>_OVERRIDE_SRCDIR_RSYNC_EXCLUSIONS are
|
||||
passed before the standard exclusions so they are not ignored
|
||||
by rsync when using override-srcdir.
|
||||
|
||||
Defconfigs: QEMU: use 'rootwait' kernel option to ensure root
|
||||
partition is available before mounting.
|
||||
|
||||
Updated/fixed packages: barebox, bzip2, davfs2, dbus, dialog,
|
||||
docker-cli, docker-engine, expat, faad2, ffmpeg, freeswitch,
|
||||
gerbera, haveged, irssi, libcdadio, libgit2, libglib2,
|
||||
libsecret, libvncserver, lmbench, logrotate, mariadb, meson,
|
||||
mongoose, monit, mpd, openblas, php, postgresql, psplash,
|
||||
python, python-django, python3, qt5base, samba4, taglib,
|
||||
tvheadend, vlc, webkitgtk, xserver_xorg-server, znc
|
||||
|
||||
2019.02.3, Released June 7th, 2019
|
||||
|
||||
Important / security related fixes.
|
||||
@@ -26,6 +228,8 @@
|
||||
sqlite, subversion, supertux, systemd, tslib, uclibc,
|
||||
v4l2loopback, webkitgtk, woff2
|
||||
|
||||
Issues resolved (http://bugs.uclibc.org):
|
||||
|
||||
#11816: Only selected coreutils binaries are installed
|
||||
#11841: grub-efi.cfg not used when building EFI disk image
|
||||
#11911: systemd v240 memory leak in systemd-journald
|
||||
|
||||
@@ -26,9 +26,6 @@
|
||||
# infrastructure, and will be CC'ed on all patches that add or
|
||||
# modify packages that use this infrastructure.
|
||||
|
||||
N: Abhilash Tuse <abhilash.tuse@imgtec.com>
|
||||
F: package/gstreamer1/gst1-rtsp-server/
|
||||
|
||||
N: Adam Duskett <aduskett@gmail.com>
|
||||
F: package/audit/
|
||||
F: package/busybox/
|
||||
@@ -127,7 +124,6 @@ N: Anders Darander <anders@chargestorm.se>
|
||||
F: package/ktap/
|
||||
|
||||
N: André Hentschel <nerv@dawncrow.de>
|
||||
F: package/azure-iot-sdk-c/
|
||||
F: package/libkrb5/
|
||||
F: package/openal/
|
||||
F: package/p7zip/
|
||||
@@ -148,9 +144,6 @@ F: package/zstd/
|
||||
N: Andrey Yurovsky <yurovsky@gmail.com>
|
||||
F: package/rauc/
|
||||
|
||||
N: Andy Kennedy <andy.kennedy@adtran.com>
|
||||
F: package/libunwind/
|
||||
|
||||
N: Angelo Compagnucci <angelo.compagnucci@gmail.com>
|
||||
F: package/corkscrew/
|
||||
F: package/fail2ban/
|
||||
@@ -209,11 +202,12 @@ F: package/sqlcipher/
|
||||
F: package/stress/
|
||||
|
||||
N: Asaf Kahlon <asafka7@gmail.com>
|
||||
F: package/collectd/
|
||||
F: package/libuv/
|
||||
F: package/python*
|
||||
F: package/zeromq/
|
||||
|
||||
N: Ash Charles <ash.charles@savoirfairelinux.com>
|
||||
N: Ash Charles <ashcharles@gmail.com>
|
||||
F: package/pru-software-support/
|
||||
F: package/ti-cgt-pru/
|
||||
|
||||
@@ -267,7 +261,6 @@ F: package/alsa-utils/
|
||||
F: package/apache/
|
||||
F: package/apr/
|
||||
F: package/apr-util/
|
||||
F: package/asterisk/
|
||||
F: package/bcg729/
|
||||
F: package/bluez-tools/
|
||||
F: package/boinc/
|
||||
@@ -316,6 +309,7 @@ F: package/libilbc/
|
||||
F: package/libldns/
|
||||
F: package/libmicrohttpd/
|
||||
F: package/libminiupnpc/
|
||||
F: package/libmspack/
|
||||
F: package/libnatpmp/
|
||||
F: package/libnpth/
|
||||
F: package/libogg/
|
||||
@@ -563,9 +557,6 @@ F: package/log4cpp/
|
||||
N: Daniel Nicoletti <dantti12@gmail.com>
|
||||
F: package/cutelyst/
|
||||
|
||||
N: Daniel Nyström <daniel.nystrom@timeterminal.se>
|
||||
F: package/e2tools/
|
||||
|
||||
N: Daniel Price <daniel.price@gmail.com>
|
||||
F: package/nodejs/
|
||||
F: package/redis/
|
||||
@@ -633,9 +624,6 @@ F: package/unscd/
|
||||
N: Dushara Jayasinghe <nidujay@gmail.com>
|
||||
F: package/prosody/
|
||||
|
||||
N: Ed Swierk <eswierk@skyportsystems.com>
|
||||
F: package/xxhash/
|
||||
|
||||
N: Eric Le Bihan <eric.le.bihan.dev@free.fr>
|
||||
F: docs/manual/adding-packages-meson.txt
|
||||
F: package/adwaita-icon-theme/
|
||||
@@ -819,7 +807,9 @@ F: package/ser2net/
|
||||
|
||||
N: Francois Perrad <francois.perrad@gadz.org>
|
||||
F: board/olimex/a20_olinuxino
|
||||
F: board/olimex/imx233_olinuxino/
|
||||
F: configs/olimex_a20_olinuxino_*
|
||||
F: configs/olimex_imx233_olinuxino_defconfig
|
||||
F: package/4th/
|
||||
F: package/chipmunk/
|
||||
F: package/dado/
|
||||
@@ -892,7 +882,7 @@ F: package/tesseract-ocr/
|
||||
F: package/webp/
|
||||
F: package/xapian/
|
||||
|
||||
N: Giulio Benetti <giulio.benetti@micronovasrl.com>
|
||||
N: Giulio Benetti <giulio.benetti@benettiengineering.com>
|
||||
F: package/minicom/
|
||||
F: package/sunxi-mali-mainline/
|
||||
F: package/sunxi-mali-mainline-driver/
|
||||
@@ -1131,10 +1121,6 @@ F: package/phidgetwebservice/
|
||||
F: package/rapidxml/
|
||||
F: package/sphinxbase/
|
||||
|
||||
N: Jonathan Liu <net147@gmail.com>
|
||||
F: package/python-meld3/
|
||||
F: package/supervisor/
|
||||
|
||||
N: Jörg Krause <joerg.krause@embedded.rocks>
|
||||
F: board/lemaker/bananapro/
|
||||
F: configs/bananapro_defconfig
|
||||
@@ -1201,9 +1187,6 @@ F: package/python-pygame/
|
||||
N: Julien Corjon <corjon.j@ecagroup.com>
|
||||
F: package/qt5/
|
||||
|
||||
N: Julien Floret <julien.floret@6wind.com>
|
||||
F: package/lldpd/
|
||||
|
||||
N: Julien Grossholtz <julien.grossholtz@openest.io>
|
||||
F: package/paho-mqtt-c
|
||||
|
||||
@@ -1223,9 +1206,6 @@ F: package/cpuload/
|
||||
F: package/bwm-ng/
|
||||
F: package/ramsmp/
|
||||
|
||||
N: Kevin Joly <kevin.joly@sensefly.com>
|
||||
F: package/libgphoto2/
|
||||
|
||||
N: Koen Martens <gmc@sonologic.nl>
|
||||
F: package/capnproto/
|
||||
F: package/linuxconsoletools/
|
||||
@@ -1329,9 +1309,6 @@ F: package/luaossl/
|
||||
F: package/rs485conf/
|
||||
F: package/turbolua/
|
||||
|
||||
N: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
|
||||
F: package/libkcapi/
|
||||
|
||||
N: Marcus Folkesson <marcus.folkesson@gmail.com>
|
||||
F: package/libostree/
|
||||
F: package/libselinux/
|
||||
@@ -1354,7 +1331,7 @@ F: package/lynx/
|
||||
N: Mario Rugiero <mrugiero@gmail.com>
|
||||
F: package/ratpoison/
|
||||
|
||||
N: Mark Corbin <mark.corbin@embecosm.com>
|
||||
N: Mark Corbin <mark@dibsco.co.uk>
|
||||
F: arch/arch.mk.riscv
|
||||
F: arch/Config.in.riscv
|
||||
F: board/qemu/riscv32-virt/
|
||||
@@ -1363,10 +1340,6 @@ F: boot/riscv-pk/
|
||||
F: configs/qemu_riscv32_virt_defconfig
|
||||
F: configs/qemu_riscv64_virt_defconfig
|
||||
|
||||
N: Markos Chandras <markos.chandras@imgtec.com>
|
||||
F: package/harfbuzz/
|
||||
F: package/libsecret/
|
||||
|
||||
N: Martin Bark <martin@barkynet.com>
|
||||
F: board/raspberrypi/
|
||||
F: configs/raspberrypi3_defconfig
|
||||
@@ -1387,7 +1360,7 @@ F: package/tslib/
|
||||
F: package/x11r7/xdriver_xf86-input-tslib/
|
||||
F: package/x11vnc/
|
||||
|
||||
N: Mathieu Audat <mathieu.audat@savoirfairelinux.com>
|
||||
N: Mathieu Audat <mathieuaudat@gmail.com>
|
||||
F: board/technologic/ts4900/
|
||||
F: configs/ts4900_defconfig
|
||||
F: package/ts4900-fpga/
|
||||
@@ -1547,6 +1520,9 @@ F: package/python-pyzmq/
|
||||
N: Michael Trimarchi <michael@amarulasolutions.com>
|
||||
F: package/python-spidev/
|
||||
|
||||
N: Michael Vetter <jubalh@iodoru.org>
|
||||
F: package/jasper/
|
||||
|
||||
N: Michał Łyszczek <michal.lyszczek@bofc.pl>
|
||||
F: board/altera/socrates_cyclone5/
|
||||
F: board/pine64/rock64
|
||||
@@ -1566,9 +1542,6 @@ F: package/shadowsocks-libev/
|
||||
N: Mirza Krak <mirza.krak@northern.tech>
|
||||
F: package/mender/
|
||||
|
||||
N: Morgan Delestre <m.delestre@sinters.fr>
|
||||
F: package/monkey/
|
||||
|
||||
N: Murat Demirten <mdemirten@yh.com.tr>
|
||||
F: package/jpeg-turbo/
|
||||
F: package/libgeotiff/
|
||||
@@ -1698,6 +1671,8 @@ F: package/python-webob/
|
||||
F: package/python-websocket-client/
|
||||
F: package/sedutil/
|
||||
F: package/triggerhappy/
|
||||
F: package/wireguard/
|
||||
F: support/testing/tests/package/test_docker_compose.py
|
||||
|
||||
N: Peter Seiderer <ps.report@gmx.net>
|
||||
F: board/raspberrypi/
|
||||
@@ -1781,9 +1756,6 @@ F: package/libdvbpsi/
|
||||
F: package/mraa/
|
||||
F: package/synergy/
|
||||
|
||||
N: Pranit Sirsat <Pranit.Sirsat@imgtec.com>
|
||||
F: package/paho-mqtt-c/
|
||||
|
||||
N: Qais Yousef <Qais.Yousef@imgtec.com>
|
||||
F: package/bellagio/
|
||||
|
||||
@@ -1814,7 +1786,13 @@ N: Ricardo Martincoski <ricardo.martincoski@datacom.com.br>
|
||||
F: package/atop/
|
||||
|
||||
N: Ricardo Martincoski <ricardo.martincoski@gmail.com>
|
||||
F: support/testing/
|
||||
F: support/testing/infra/
|
||||
F: support/testing/run-tests
|
||||
F: support/testing/tests/core/test_file_capabilities.py
|
||||
F: support/testing/tests/download/
|
||||
F: support/testing/tests/package/*_python*.py
|
||||
F: support/testing/tests/package/test_atop.py
|
||||
F: support/testing/tests/package/test_syslog_ng.py
|
||||
F: utils/check-package
|
||||
F: utils/checkpackagelib/
|
||||
|
||||
@@ -1840,6 +1818,8 @@ F: package/vnstat/
|
||||
N: Romain Naour <romain.naour@gmail.com>
|
||||
F: package/aubio/
|
||||
F: package/bullet/
|
||||
F: package/clang/
|
||||
F: package/clinfo/
|
||||
F: package/efl/
|
||||
F: package/enlightenment/
|
||||
F: package/flare-engine/
|
||||
@@ -1847,9 +1827,11 @@ F: package/flare-game/
|
||||
F: package/irrlicht/
|
||||
F: package/liblinear/
|
||||
F: package/lensfun/
|
||||
F: package/libclc/
|
||||
F: package/libgta/
|
||||
F: package/libspatialindex/
|
||||
F: package/linux-syscall-support/
|
||||
F: package/llvm/
|
||||
F: package/lugaru/
|
||||
F: package/mcelog/
|
||||
F: package/mesa3d/
|
||||
@@ -2036,9 +2018,6 @@ F: package/tovid/
|
||||
F: package/udftools/
|
||||
F: package/xorriso/
|
||||
|
||||
N: Steve Thomas <scjthm@live.com>
|
||||
F: package/isl/
|
||||
|
||||
N: Steven Noonan <steven@uplinklabs.net>
|
||||
F: package/hwloc/
|
||||
F: package/powertop/
|
||||
@@ -2176,7 +2155,7 @@ F: package/pixz/
|
||||
N: Vinicius Tinti <viniciustinti@gmail.com>
|
||||
F: package/python-thrift/
|
||||
|
||||
N: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
|
||||
N: Vivien Didelot <vivien.didelot@gmail.com>
|
||||
F: board/technologic/ts5500/
|
||||
F: configs/ts5500_defconfig
|
||||
|
||||
@@ -2258,6 +2237,8 @@ F: package/zisofs-tools/
|
||||
F: support/download/
|
||||
|
||||
N: Yegor Yefremov <yegorslists@googlemail.com>
|
||||
F: configs/beaglebone_defconfig
|
||||
F: configs/beaglebone_qt5_defconfig
|
||||
F: package/acl/
|
||||
F: package/attr/
|
||||
F: package/bluez_utils/
|
||||
@@ -2266,6 +2247,7 @@ F: package/bootstrap/
|
||||
F: package/cannelloni/
|
||||
F: package/can-utils/
|
||||
F: package/circus/
|
||||
F: package/dhcpcd/
|
||||
F: package/feh/
|
||||
F: package/giblib/
|
||||
F: package/imlib2/
|
||||
@@ -2282,6 +2264,7 @@ F: package/libubox/
|
||||
F: package/libuci/
|
||||
F: package/linux-firmware/
|
||||
F: package/modem-manager/
|
||||
F: package/nftables/
|
||||
F: package/nuttcp/
|
||||
F: package/parted/
|
||||
F: package/phytool/
|
||||
|
||||
@@ -92,9 +92,9 @@ all:
|
||||
.PHONY: all
|
||||
|
||||
# Set and export the version string
|
||||
export BR2_VERSION := 2019.02.3
|
||||
export BR2_VERSION := 2019.02.9
|
||||
# Actual time the release is cut (for reproducible builds)
|
||||
BR2_VERSION_EPOCH = 1559893000
|
||||
BR2_VERSION_EPOCH = 1578842000
|
||||
|
||||
# Save running make version since it's clobbered by the make package
|
||||
RUNNING_MAKE_VERSION := $(MAKE_VERSION)
|
||||
@@ -248,7 +248,6 @@ ifeq ($(BR2_REPRODUCIBLE),y)
|
||||
export TZ = UTC
|
||||
export LANG = C
|
||||
export LC_ALL = C
|
||||
export GZIP = -n
|
||||
endif
|
||||
|
||||
# To put more focus on warnings, be less verbose as default
|
||||
@@ -811,6 +810,7 @@ endif # merged /usr
|
||||
.PHONY: target-post-image
|
||||
target-post-image: $(TARGETS_ROOTFS) target-finalize staging-finalize
|
||||
@rm -f $(ROOTFS_COMMON_TAR)
|
||||
$(Q)mkdir -p $(BINARIES_DIR)
|
||||
@$(foreach s, $(call qstrip,$(BR2_ROOTFS_POST_IMAGE_SCRIPT)), \
|
||||
$(call MESSAGE,"Executing post-image script $(s)"); \
|
||||
$(EXTRA_ENV) $(s) $(BINARIES_DIR) $(call qstrip,$(BR2_ROOTFS_POST_SCRIPT_ARGS))$(sep))
|
||||
|
||||
@@ -101,6 +101,15 @@ config BR2_x86_corei7
|
||||
select BR2_X86_CPU_HAS_SSSE3
|
||||
select BR2_X86_CPU_HAS_SSE4
|
||||
select BR2_X86_CPU_HAS_SSE42
|
||||
config BR2_x86_westmere
|
||||
bool "westmere"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
select BR2_X86_CPU_HAS_SSE
|
||||
select BR2_X86_CPU_HAS_SSE2
|
||||
select BR2_X86_CPU_HAS_SSE3
|
||||
select BR2_X86_CPU_HAS_SSSE3
|
||||
select BR2_X86_CPU_HAS_SSE4
|
||||
select BR2_X86_CPU_HAS_SSE42
|
||||
config BR2_x86_corei7_avx
|
||||
bool "corei7-avx"
|
||||
select BR2_X86_CPU_HAS_MMX
|
||||
@@ -235,8 +244,9 @@ config BR2_ARCH
|
||||
default "i686" if BR2_x86_nocona && BR2_i386
|
||||
default "i686" if BR2_x86_core2 && BR2_i386
|
||||
default "i686" if BR2_x86_corei7 && BR2_i386
|
||||
default "i686" if BR2_x86_westmere && BR2_i386
|
||||
default "i686" if BR2_x86_corei7_avx && BR2_i386
|
||||
default "i686" if BR2_x86_corei7_avx2 && BR2_i386
|
||||
default "i686" if BR2_x86_core_avx2 && BR2_i386
|
||||
default "i686" if BR2_x86_atom && BR2_i386
|
||||
default "i686" if BR2_x86_silvermont && BR2_i386
|
||||
default "i686" if BR2_x86_opteron && BR2_i386
|
||||
@@ -271,6 +281,7 @@ config BR2_GCC_TARGET_ARCH
|
||||
default "corei7-avx" if BR2_x86_corei7_avx
|
||||
default "core-avx2" if BR2_x86_core_avx2
|
||||
default "atom" if BR2_x86_atom
|
||||
default "westmere" if BR2_x86_westmere
|
||||
default "silvermont" if BR2_x86_silvermont
|
||||
default "k8" if BR2_x86_opteron
|
||||
default "k8-sse3" if BR2_x86_opteron_sse3
|
||||
|
||||
@@ -3,6 +3,9 @@ devtype=mmc
|
||||
bootdir=
|
||||
bootfile=zImage
|
||||
bootpartition=mmcblk0p2
|
||||
console=ttyS0,115200n8
|
||||
loadaddr=0x82000000
|
||||
fdtaddr=0x88000000
|
||||
set_mmc1=if test $board_name = A33515BB; then setenv bootpartition mmcblk1p2; fi
|
||||
set_bootargs=setenv bootargs console=ttyO0,115200n8 root=/dev/${bootpartition} rw rootfstype=ext4 rootwait
|
||||
set_bootargs=setenv bootargs console=${console} root=/dev/${bootpartition} rw rootfstype=ext4 rootwait
|
||||
uenvcmd=run set_mmc1; run set_bootargs;run loadimage;run loadfdt;printenv bootargs;bootz ${loadaddr} - ${fdtaddr}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-aarch64 -M virt -cpu cortex-a53 -nographic -smp 1 -kernel output/images/Image -append "root=/dev/vda console=ttyAMA0" -netdev user,id=eth0 -device virtio-net-device,netdev=eth0 -drive file=output/images/rootfs.ext4,if=none,format=raw,id=hd0 -device virtio-blk-device,drive=hd0
|
||||
qemu-system-aarch64 -M virt -cpu cortex-a53 -nographic -smp 1 -kernel output/images/Image -append "rootwait root=/dev/vda console=ttyAMA0" -netdev user,id=eth0 -device virtio-net-device,netdev=eth0 -drive file=output/images/rootfs.ext4,if=none,format=raw,id=hd0 -device virtio-blk-device,drive=hd0
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-arm -M versatilepb -kernel output/images/zImage -dtb output/images/versatile-pb.dtb -drive file=output/images/rootfs.ext2,if=scsi,format=raw -append "root=/dev/sda console=ttyAMA0,115200" -serial stdio -net nic,model=rtl8139 -net user
|
||||
qemu-system-arm -M versatilepb -kernel output/images/zImage -dtb output/images/versatile-pb.dtb -drive file=output/images/rootfs.ext2,if=scsi,format=raw -append "rootwait root=/dev/sda console=ttyAMA0,115200" -serial stdio -net nic,model=rtl8139 -net user
|
||||
|
||||
Or for the noMMU emulation:
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-arm -M vexpress-a9 -smp 1 -m 256 -kernel output/images/zImage -dtb output/images/vexpress-v2p-ca9.dtb -drive file=output/images/rootfs.ext2,if=sd,format=raw -append "console=ttyAMA0,115200 root=/dev/mmcblk0" -serial stdio -net nic,model=lan9118 -net user
|
||||
qemu-system-arm -M vexpress-a9 -smp 1 -m 256 -kernel output/images/zImage -dtb output/images/vexpress-v2p-ca9.dtb -drive file=output/images/rootfs.ext2,if=sd,format=raw -append "console=ttyAMA0,115200 rootwait root=/dev/mmcblk0" -serial stdio -net nic,model=lan9118 -net user
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu. The
|
||||
graphical window is the framebuffer.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-m68k -M q800 -kernel output/images/vmlinux -nographic -drive file=output/images/rootfs.ext2,format=raw -append "root=/dev/sda console=ttyS0"
|
||||
qemu-system-m68k -M q800 -kernel output/images/vmlinux -nographic -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/sda console=ttyS0"
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-mips -M malta -kernel output/images/vmlinux -serial stdio -drive file=output/images/rootfs.ext2,format=raw -append "root=/dev/hda" -net nic,model=pcnet -net user
|
||||
qemu-system-mips -M malta -kernel output/images/vmlinux -serial stdio -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/hda" -net nic,model=pcnet -net user
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu. The
|
||||
graphical window is the framebuffer. No keyboard support has been
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-mipsel -M malta -kernel output/images/vmlinux -serial stdio -drive file=output/images/rootfs.ext2,format=raw -append "root=/dev/hda" -net nic,model=pcnet -net user
|
||||
qemu-system-mipsel -M malta -kernel output/images/vmlinux -serial stdio -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/hda" -net nic,model=pcnet -net user
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu. The
|
||||
graphical window is the framebuffer. No keyboard support has been
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-mips -M malta -cpu mips32r6-generic -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "root=/dev/hda" -nographic
|
||||
qemu-system-mips -M malta -cpu mips32r6-generic -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/hda" -nographic
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-mipsel -M malta -cpu mips32r6-generic -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "root=/dev/hda" -net nic,model=pcnet -net user -nographic
|
||||
qemu-system-mipsel -M malta -cpu mips32r6-generic -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/hda" -net nic,model=pcnet -net user -nographic
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-mips64 -M malta -kernel output/images/vmlinux -serial stdio -drive file=output/images/rootfs.ext2,format=raw -append "root=/dev/hda"
|
||||
qemu-system-mips64 -M malta -kernel output/images/vmlinux -serial stdio -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/hda"
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu. The
|
||||
graphical window is the framebuffer.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-mips64el -M malta -kernel output/images/vmlinux -serial stdio -drive file=output/images/rootfs.ext2,format=raw -append "root=/dev/hda"
|
||||
qemu-system-mips64el -M malta -kernel output/images/vmlinux -serial stdio -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/hda"
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu. The
|
||||
graphical window is the framebuffer.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-mips64 -M malta -cpu I6400 -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "root=/dev/hda" -nographic
|
||||
qemu-system-mips64 -M malta -cpu I6400 -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/hda" -nographic
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-mips64el -M malta -cpu I6400 -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "root=/dev/hda" -nographic
|
||||
qemu-system-mips64el -M malta -cpu I6400 -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/hda" -nographic
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-ppc -M g3beige -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "console=ttyS0 root=/dev/hda" -serial stdio -net nic,model=rtl8139 -net user
|
||||
qemu-system-ppc -M g3beige -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -append "console=ttyS0 rootwait root=/dev/hda" -serial stdio -net nic,model=rtl8139 -net user
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu. The
|
||||
graphical window is the framebuffer.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-ppc64 -M ppce500 -cpu e5500 -m 256 -kernel output/images/uImage -drive file=output/images/rootfs.ext2,if=virtio,format=raw -append "console=ttyS0 root=/dev/vda" -serial mon:stdio -nographic
|
||||
qemu-system-ppc64 -M ppce500 -cpu e5500 -m 256 -kernel output/images/uImage -drive file=output/images/rootfs.ext2,if=virtio,format=raw -append "console=ttyS0 rootwait root=/dev/vda" -serial mon:stdio -nographic
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-ppc64 -M pseries -cpu POWER7 -m 256 -kernel output/images/vmlinux -append "console=hvc0 root=/dev/sda" -drive file=output/images/rootfs.ext2,if=scsi,index=0,format=raw -serial stdio -display curses
|
||||
qemu-system-ppc64 -M pseries -cpu POWER7 -m 256 -kernel output/images/vmlinux -append "console=hvc0 rootwait root=/dev/sda" -drive file=output/images/rootfs.ext2,if=scsi,index=0,format=raw -serial stdio -display curses
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-ppc64 -M pseries -cpu POWER8 -m 256 -kernel output/images/vmlinux -append "console=hvc0 root=/dev/sda" -drive file=output/images/rootfs.ext2,if=scsi,index=0,format=raw -serial stdio -display curses
|
||||
qemu-system-ppc64 -M pseries -cpu POWER8 -m 256 -kernel output/images/vmlinux -append "console=hvc0 rootwait root=/dev/sda" -drive file=output/images/rootfs.ext2,if=scsi,index=0,format=raw -serial stdio -display curses
|
||||
|
||||
The login prompt will appear in the terminal window.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-riscv32 -M virt -kernel output/images/bbl -append "root=/dev/vda ro console=ttyS0" -drive file=output/images/rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -netdev user,id=net0 -device virtio-net-device,netdev=net0 -nographic
|
||||
qemu-system-riscv32 -M virt -kernel output/images/bbl -append "rootwait root=/dev/vda ro console=ttyS0" -drive file=output/images/rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -netdev user,id=net0 -device virtio-net-device,netdev=net0 -nographic
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-riscv64 -M virt -kernel output/images/bbl -append "root=/dev/vda ro console=ttyS0" -drive file=output/images/rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -netdev user,id=net0 -device virtio-net-device,netdev=net0 -nographic
|
||||
qemu-system-riscv64 -M virt -kernel output/images/bbl -append "rootwait root=/dev/vda ro console=ttyS0" -drive file=output/images/rootfs.ext2,format=raw,id=hd0 -device virtio-blk-device,drive=hd0 -netdev user,id=net0 -device virtio-net-device,netdev=net0 -nographic
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-sh4 -M r2d -kernel output/images/zImage -drive file=output/images/rootfs.ext2,if=ide,format=raw -append "root=/dev/sda console=ttySC1,115200 noiotrap" -serial null -serial stdio -net nic,model=rtl8139 -net user
|
||||
qemu-system-sh4 -M r2d -kernel output/images/zImage -drive file=output/images/rootfs.ext2,if=ide,format=raw -append "rootwait root=/dev/sda console=ttySC1,115200 noiotrap" -serial null -serial stdio -net nic,model=rtl8139 -net user
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
The graphical window is the framebuffer.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-sh4eb -M r2d -kernel output/images/zImage -drive file=output/images/rootfs.ext2,if=ide,format=raw -append "root=/dev/sda console=ttySC1,115200 noiotrap" -serial null -serial stdio -net nic,model=rtl8139 -net user
|
||||
qemu-system-sh4eb -M r2d -kernel output/images/zImage -drive file=output/images/rootfs.ext2,if=ide,format=raw -append "rootwait root=/dev/sda console=ttySC1,115200 noiotrap" -serial null -serial stdio -net nic,model=rtl8139 -net user
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
The graphical window is the framebuffer.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-sparc -M SS-10 -kernel output/images/zImage -drive file=output/images/rootfs.ext2,format=raw -append "root=/dev/sda console=ttyS0,115200" -serial stdio -net nic,model=lance -net user
|
||||
qemu-system-sparc -M SS-10 -kernel output/images/zImage -drive file=output/images/rootfs.ext2,format=raw -append "rootwait root=/dev/sda console=ttyS0,115200" -serial stdio -net nic,model=lance -net user
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-sparc64 -M sun4u -kernel output/images/vmlinux -append "root=/dev/sda console=ttyS0,115200" -serial stdio -drive file=output/images/rootfs.ext2,format=raw -net nic,model=e1000 -net user
|
||||
qemu-system-sparc64 -M sun4u -kernel output/images/vmlinux -append "rootwait root=/dev/sda console=ttyS0,115200" -serial stdio -drive file=output/images/rootfs.ext2,format=raw -net nic,model=e1000 -net user
|
||||
|
||||
The login prompt will appear in the terminal that started Qemu.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-i386 -M pc -kernel output/images/bzImage -drive file=output/images/rootfs.ext2,if=virtio,format=raw -append "root=/dev/vda" -net nic,model=virtio -net user
|
||||
qemu-system-i386 -M pc -kernel output/images/bzImage -drive file=output/images/rootfs.ext2,if=virtio,format=raw -append "rootwait root=/dev/vda" -net nic,model=virtio -net user
|
||||
|
||||
Optionally add -smp N to emulate a SMP system with N CPUs.
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
Run the emulation with:
|
||||
|
||||
qemu-system-x86_64 -M pc -kernel output/images/bzImage -drive file=output/images/rootfs.ext2,if=virtio,format=raw -append "root=/dev/vda" -net nic,model=virtio -net user
|
||||
qemu-system-x86_64 -M pc -kernel output/images/bzImage -drive file=output/images/rootfs.ext2,if=virtio,format=raw -append "rootwait root=/dev/vda" -net nic,model=virtio -net user
|
||||
|
||||
Optionally add -smp N to emulate a SMP system with N CPUs.
|
||||
|
||||
|
||||
@@ -5,8 +5,6 @@
|
||||
################################################################################
|
||||
|
||||
ARM_TRUSTED_FIRMWARE_VERSION = $(call qstrip,$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_VERSION))
|
||||
ARM_TRUSTED_FIRMWARE_LICENSE = BSD-3-Clause
|
||||
ARM_TRUSTED_FIRMWARE_LICENSE_FILES = license.rst
|
||||
|
||||
ifeq ($(ARM_TRUSTED_FIRMWARE_VERSION),custom)
|
||||
# Handle custom ATF tarballs as specified by the configuration
|
||||
@@ -19,6 +17,10 @@ ARM_TRUSTED_FIRMWARE_SITE_METHOD = git
|
||||
else
|
||||
# Handle stable official ATF versions
|
||||
ARM_TRUSTED_FIRMWARE_SITE = $(call github,ARM-software,arm-trusted-firmware,$(ARM_TRUSTED_FIRMWARE_VERSION))
|
||||
# The licensing of custom or from-git versions is unknown.
|
||||
# This is valid only for the official v1.4.
|
||||
ARM_TRUSTED_FIRMWARE_LICENSE = BSD-3-Clause
|
||||
ARM_TRUSTED_FIRMWARE_LICENSE_FILES = license.rst
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TARGET_ARM_TRUSTED_FIRMWARE)$(BR2_TARGET_ARM_TRUSTED_FIRMWARE_LATEST_VERSION),y)
|
||||
|
||||
@@ -76,6 +76,10 @@ $(1)_KCONFIG_FRAGMENT_FILES = $$(call qstrip,$$(BR2_TARGET_$(1)_CONFIG_FRAGMENT_
|
||||
$(1)_KCONFIG_EDITORS = menuconfig xconfig gconfig nconfig
|
||||
$(1)_KCONFIG_OPTS = $$($(1)_MAKE_FLAGS)
|
||||
|
||||
$(1)_KCONFIG_DEPENDENCIES = \
|
||||
$(BR2_BISON_HOST_DEPENDENCY) \
|
||||
$(BR2_FLEX_HOST_DEPENDENCY)
|
||||
|
||||
ifeq ($$(BR2_TARGET_$(1)_BAREBOXENV),y)
|
||||
define $(1)_BUILD_BAREBOXENV_CMDS
|
||||
$$(TARGET_CC) $$(TARGET_CFLAGS) $$(TARGET_LDFLAGS) -o $$(@D)/bareboxenv \
|
||||
|
||||
@@ -13,7 +13,7 @@ BR2_PACKAGE_HOST_GENIMAGE=y
|
||||
|
||||
# Bootloader
|
||||
BR2_TARGET_GRUB2=y
|
||||
BR2_TARGET_GRUB2_AARCH64_EFI=y
|
||||
BR2_TARGET_GRUB2_ARM64_EFI=y
|
||||
|
||||
# Filesystem / image
|
||||
BR2_TARGET_ROOTFS_EXT2=y
|
||||
|
||||
@@ -2,7 +2,6 @@ BR2_arm=y
|
||||
BR2_cortex_a8=y
|
||||
BR2_GLOBAL_PATCH_DIR="board/beaglebone/patches"
|
||||
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_14=y
|
||||
BR2_TARGET_GENERIC_GETTY_PORT="ttyO0"
|
||||
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/beaglebone/post-image.sh"
|
||||
BR2_LINUX_KERNEL=y
|
||||
BR2_LINUX_KERNEL_CUSTOM_GIT=y
|
||||
|
||||
@@ -17,7 +17,7 @@ The +Config.in+ file of Cargo-based package 'foo' should contain:
|
||||
---------------------------
|
||||
01: config BR2_PACKAGE_FOO
|
||||
02: bool "foo"
|
||||
03: depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS
|
||||
03: depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
|
||||
04: select BR2_PACKAGE_HOST_CARGO
|
||||
05: help
|
||||
06: This is a comment that explains what foo is.
|
||||
|
||||
@@ -358,9 +358,11 @@ not and can not work as people would expect it should:
|
||||
* +LIBFOO_DEPENDENCIES+ lists the dependencies (in terms of package
|
||||
name) that are required for the current target package to
|
||||
compile. These dependencies are guaranteed to be compiled and
|
||||
installed before the configuration of the current package starts. In
|
||||
a similar way, +HOST_LIBFOO_DEPENDENCIES+ lists the dependencies for
|
||||
the current host package.
|
||||
installed before the configuration of the current package starts.
|
||||
However, modifications to configuration of these dependencies will
|
||||
not force a rebuild of the current package. In a similar way,
|
||||
+HOST_LIBFOO_DEPENDENCIES+ lists the dependencies for the current
|
||||
host package.
|
||||
|
||||
* +LIBFOO_EXTRACT_DEPENDENCIES+ lists the dependencies (in terms of
|
||||
package name) that are required for the current target package to be
|
||||
|
||||
@@ -67,9 +67,13 @@ Python build system, but are not Python modules, can freely choose
|
||||
their name (existing examples in Buildroot are +scons+ and
|
||||
+supervisor+).
|
||||
|
||||
In their +Config.in+ file, they should depend on +BR2_PACKAGE_PYTHON+
|
||||
so that when Buildroot will enable Python 3 usage for modules, we will
|
||||
be able to enable Python modules progressively on Python 3.
|
||||
Packages that are only compatible with one version of Python (as in:
|
||||
Python 2 or Python 3) should depend on that version explicitely in
|
||||
their +Config.in+ file (+BR2_PACKAGE_PYTHON+ for Python 2,
|
||||
+BR2_PACKAGE_PYTHON3+ for Python 3). Packages that are compatible
|
||||
with both versions should not explicitely depend on them in their
|
||||
+Config.in+ file, since that condition is already expressed for the
|
||||
whole "External python modules" menu.
|
||||
|
||||
The main macro of the Python package infrastructure is
|
||||
+python-package+. It is similar to the +generic-package+ macro. It is
|
||||
|
||||
@@ -310,8 +310,8 @@ installed (+python-matplotlib+ on most distributions), and also the
|
||||
+argparse+ module if you're using a Python version older than 2.7
|
||||
(+python-argparse+ on most distributions).
|
||||
|
||||
Just like for the duration graph, a +BR2_GRAPH_OUT+ environment is
|
||||
supported to adjust the output file format. See xref:graph-depends[]
|
||||
Just like for the duration graph, a +BR2_GRAPH_OUT+ environment variable
|
||||
is supported to adjust the output file format. See xref:graph-depends[]
|
||||
for details about this environment variable.
|
||||
|
||||
.Note
|
||||
|
||||
@@ -206,9 +206,9 @@ Buildroot or crosstool-NG.
|
||||
|
||||
If you want to generate a custom toolchain for your project, that can
|
||||
be used as an external toolchain in Buildroot, our recommendation is
|
||||
definitely to build it with http://crosstool-ng.org[crosstool-NG]. We
|
||||
recommend to build the toolchain separately from Buildroot, and then
|
||||
_import_ it in Buildroot using the external toolchain backend.
|
||||
to build it either with Buildroot itself (see
|
||||
xref:build-toolchain-with-buildroot[]) or with
|
||||
http://crosstool-ng.org[crosstool-NG].
|
||||
|
||||
Advantages of this backend:
|
||||
|
||||
@@ -223,7 +223,53 @@ Drawbacks of this backend:
|
||||
|
||||
* If your pre-built external toolchain has a bug, may be hard to get a
|
||||
fix from the toolchain vendor, unless you build your external
|
||||
toolchain by yourself using Crosstool-NG.
|
||||
toolchain by yourself using Buildroot or Crosstool-NG.
|
||||
|
||||
[[build-toolchain-with-buildroot]]
|
||||
==== Build an external toolchain with Buildroot
|
||||
|
||||
The Buildroot internal toolchain option can be used to create an
|
||||
external toolchain. Here are a series of steps to build an internal
|
||||
toolchain and package it up for reuse by Buildroot itself (or other
|
||||
projects).
|
||||
|
||||
Create a new Buildroot configuration, with the following details:
|
||||
|
||||
* Select the appropriate *Target options* for your target CPU
|
||||
architecture
|
||||
|
||||
* In the *Toolchain* menu, keep the default of *Buildroot toolchain*
|
||||
for *Toolchain type*, and configure your toolchain as desired
|
||||
|
||||
* In the *System configuration* menu, select *None* as the *Init
|
||||
system* and *none* as */bin/sh*
|
||||
|
||||
* In the *Target packages* menu, disable *BusyBox*
|
||||
|
||||
* In the *Filesystem images* menu, disable *tar the root filesystem*
|
||||
|
||||
Then, we can trigger the build, and also ask Buildroot to generate a
|
||||
SDK. This will conveniently generate for us a tarball which contains
|
||||
our toolchain:
|
||||
|
||||
-----
|
||||
make sdk
|
||||
-----
|
||||
|
||||
This produces the SDK tarball in +$(O)/images+, with a name similar to
|
||||
+arm-buildroot-linux-uclibcgnueabi_sdk-buildroot.tar.gz+. Save this
|
||||
tarball, as it is now the toolchain that you can re-use as an external
|
||||
toolchain in other Buildroot projects.
|
||||
|
||||
In those other Buildroot projects, in the *Toolchain* menu:
|
||||
|
||||
* Set *Toolchain type* to *External toolchain*
|
||||
|
||||
* Set *Toolchain* to *Custom toolchain*
|
||||
|
||||
* Set *Toolchain origin* to *Toolchain to be downloaded and installed*
|
||||
|
||||
* Set *Toolchain URL* to +file:///path/to/your/sdk/tarball.tar.gz+
|
||||
|
||||
===== External toolchain wrapper
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@ basically two things that can be done:
|
||||
In the commit message of a patch fixing an autobuild failure, add a
|
||||
reference to the build result directory, as follows:
|
||||
---------------------
|
||||
Fixes http://autobuild.buildroot.org/results/51000a9d4656afe9e0ea6f07b9f8ed374c2e4069
|
||||
Fixes: http://autobuild.buildroot.org/results/51000a9d4656afe9e0ea6f07b9f8ed374c2e4069
|
||||
---------------------
|
||||
|
||||
=== Reviewing and testing patches
|
||||
@@ -402,7 +402,7 @@ the problem is complex, it is OK to add more paragraphs. All paragraphs
|
||||
should be wrapped at 72 characters.
|
||||
|
||||
A paragraph that explains the root cause of the problem. Again, more
|
||||
than on paragraph is OK.
|
||||
than one paragraph is OK.
|
||||
|
||||
Finally, one or more paragraphs that explain how the problem is solved.
|
||||
Don't hesitate to explain complex solutions in detail.
|
||||
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -161,13 +161,13 @@ List of Examples
|
||||
|
||||
---------------------------------------------------------------------
|
||||
|
||||
Buildroot 2019.02.3 manual generated on 2019-06-07 07:39:18 UTC from
|
||||
git revision 3e8b918b87
|
||||
Buildroot 2019.02.9 manual generated on 2020-01-12 15:28:51 UTC from
|
||||
git revision 24f25c8d23
|
||||
|
||||
The Buildroot manual is written by the Buildroot developers. It is
|
||||
licensed under the GNU General Public License, version 2. Refer to
|
||||
the COPYING [http://git.buildroot.org/buildroot/tree/COPYING?id=
|
||||
3e8b918b871f484b3ef57832aa41982e368d74c2] file in the Buildroot
|
||||
24f25c8d23bd85d57b6e9c776f2c7716f2ddd4af] file in the Buildroot
|
||||
sources for the full text of this license.
|
||||
|
||||
Copyright © 2004-2019 The Buildroot developers
|
||||
@@ -362,9 +362,8 @@ All of these "make" commands will need to build a configuration
|
||||
utility (including the interface), so you may need to install
|
||||
"development" packages for relevant libraries used by the
|
||||
configuration utilities. Refer to Chapter 2, System requirements for
|
||||
more details, specifically the optional requirements Section 2.2,
|
||||
“Optional packages” to get the dependencies of your favorite
|
||||
interface.
|
||||
more details, specifically the optional requirements to get the
|
||||
dependencies of your favorite interface.
|
||||
|
||||
For each menu entry in the configuration tool, you can find
|
||||
associated help that describes the purpose of the entry. Refer to
|
||||
@@ -404,15 +403,21 @@ directory contains several subdirectories:
|
||||
needed by Buildroot on the host and packages compiled for the
|
||||
target). This directory contains one subdirectory for each of
|
||||
these components.
|
||||
* staging/ which contains a hierarchy similar to a root filesystem
|
||||
hierarchy. This directory contains the headers and libraries of
|
||||
the cross-compilation toolchain and all the userspace packages
|
||||
selected for the target. However, this directory is not intended
|
||||
to be the root filesystem for the target: it contains a lot of
|
||||
development files, unstripped binaries and libraries that make it
|
||||
far too big for an embedded system. These development files are
|
||||
used to compile libraries and applications for the target that
|
||||
depend on other libraries.
|
||||
* host/ contains both the tools built for the host, and the sysroot
|
||||
of the target toolchain. The former is an installation of tools
|
||||
compiled for the host that are needed for the proper execution of
|
||||
Buildroot, including the cross-compilation toolchain. The latter
|
||||
is a hierarchy similar to a root filesystem hierarchy. It
|
||||
contains the headers and libraries of all user-space packages
|
||||
that provide and install libraries used by other packages.
|
||||
However, this directory is not intended to be the root filesystem
|
||||
for the target: it contains a lot of development files,
|
||||
unstripped binaries and libraries that make it far too big for an
|
||||
embedded system. These development files are used to compile
|
||||
libraries and applications for the target that depend on other
|
||||
libraries.
|
||||
* staging/ is a symlink to the target toolchain sysroot inside host
|
||||
/, which exists for backwards compatibility.
|
||||
* target/ which contains almost the complete root filesystem for
|
||||
the target: everything needed is present except the device files
|
||||
in /dev/ (Buildroot can’t create them because Buildroot doesn’t
|
||||
@@ -426,9 +431,6 @@ directory contains several subdirectories:
|
||||
/, target/ contains only the files and libraries needed to run
|
||||
the selected target applications: the development files (headers,
|
||||
etc.) are not present, the binaries are stripped.
|
||||
* host/ contains the installation of tools compiled for the host
|
||||
that are needed for the proper execution of Buildroot, including
|
||||
the cross-compilation toolchain.
|
||||
|
||||
These commands, make menuconfig|nconfig|gconfig|xconfig and make, are
|
||||
the basic ones that allow to easily and quickly generate images
|
||||
@@ -765,9 +767,9 @@ Buildroot or crosstool-NG.
|
||||
|
||||
If you want to generate a custom toolchain for your project, that can
|
||||
be used as an external toolchain in Buildroot, our recommendation is
|
||||
definitely to build it with crosstool-NG [http://crosstool-ng.org].
|
||||
We recommend to build the toolchain separately from Buildroot, and
|
||||
then import it in Buildroot using the external toolchain backend.
|
||||
to build it either with Buildroot itself (see Section 6.1.3, “Build
|
||||
an external toolchain with Buildroot”) or with crosstool-NG [http://
|
||||
crosstool-ng.org].
|
||||
|
||||
Advantages of this backend:
|
||||
|
||||
@@ -781,9 +783,45 @@ Drawbacks of this backend:
|
||||
|
||||
* If your pre-built external toolchain has a bug, may be hard to
|
||||
get a fix from the toolchain vendor, unless you build your
|
||||
external toolchain by yourself using Crosstool-NG.
|
||||
external toolchain by yourself using Buildroot or Crosstool-NG.
|
||||
|
||||
6.1.2.1. External toolchain wrapper
|
||||
6.1.3. Build an external toolchain with Buildroot
|
||||
|
||||
The Buildroot internal toolchain option can be used to create an
|
||||
external toolchain. Here are a series of steps to build an internal
|
||||
toolchain and package it up for reuse by Buildroot itself (or other
|
||||
projects).
|
||||
|
||||
Create a new Buildroot configuration, with the following details:
|
||||
|
||||
* Select the appropriate Target options for your target CPU
|
||||
architecture
|
||||
* In the Toolchain menu, keep the default of Buildroot toolchain
|
||||
for Toolchain type, and configure your toolchain as desired
|
||||
* In the System configuration menu, select None as the Init system
|
||||
and none as /bin/sh
|
||||
* In the Target packages menu, disable BusyBox
|
||||
* In the Filesystem images menu, disable tar the root filesystem
|
||||
|
||||
Then, we can trigger the build, and also ask Buildroot to generate a
|
||||
SDK. This will conveniently generate for us a tarball which contains
|
||||
our toolchain:
|
||||
|
||||
make sdk
|
||||
|
||||
This produces the SDK tarball in $(O)/images, with a name similar to
|
||||
arm-buildroot-linux-uclibcgnueabi_sdk-buildroot.tar.gz. Save this
|
||||
tarball, as it is now the toolchain that you can re-use as an
|
||||
external toolchain in other Buildroot projects.
|
||||
|
||||
In those other Buildroot projects, in the Toolchain menu:
|
||||
|
||||
* Set Toolchain type to External toolchain
|
||||
* Set Toolchain to Custom toolchain
|
||||
* Set Toolchain origin to Toolchain to be downloaded and installed
|
||||
* Set Toolchain URL to file:///path/to/your/sdk/tarball.tar.gz
|
||||
|
||||
6.1.3.1. External toolchain wrapper
|
||||
|
||||
When using an external toolchain, Buildroot generates a wrapper
|
||||
program, that transparently passes the appropriate options (according
|
||||
@@ -1159,6 +1197,15 @@ can help you understand how to work with Buildroot:
|
||||
overlay, a post-build script or a post-image script are made,
|
||||
there is no need for a full rebuild: a simple make invocation
|
||||
will take the changes into account.
|
||||
* When a package listed in FOO_DEPENDENCIES is rebuilt or removed,
|
||||
the package foo is not automatically rebuilt. For example, if a
|
||||
package bar is listed in FOO_DEPENDENCIES with FOO_DEPENDENCIES =
|
||||
bar and the configuration of the bar package is changed, the
|
||||
configuration change would not result in a rebuild of package foo
|
||||
automatically. In this scenario, you may need to either rebuild
|
||||
any packages in your build which reference bar in their
|
||||
DEPENDENCIES, or perform a full rebuild to ensure any bar
|
||||
dependent packages are up to date.
|
||||
|
||||
Generally speaking, when you’re facing a build error and you’re
|
||||
unsure of the potential consequences of the configuration changes
|
||||
@@ -1193,15 +1240,21 @@ command.
|
||||
|
||||
On the other hand, if you only want to restart the build process of a
|
||||
package from its compilation step, you can run make <package>
|
||||
-rebuild, followed by make or make <package>. It will restart the
|
||||
compilation and installation of the package, but not from scratch: it
|
||||
basically re-executes make and make install inside the package, so it
|
||||
will only rebuild files that changed.
|
||||
-rebuild. It will restart the compilation and installation of the
|
||||
package, but not from scratch: it basically re-executes make and make
|
||||
install inside the package, so it will only rebuild files that
|
||||
changed.
|
||||
|
||||
If you want to restart the build process of a package from its
|
||||
configuration step, you can run make <package>-reconfigure, followed
|
||||
by make or make <package>. It will restart the configuration,
|
||||
compilation and installation of the package.
|
||||
configuration step, you can run make <package>-reconfigure. It will
|
||||
restart the configuration, compilation and installation of the
|
||||
package.
|
||||
|
||||
While <package>-rebuild implies <package>-reinstall and <package>
|
||||
-reconfigure implies <package>-rebuild, these targets as well as
|
||||
<package> only act on the said package, and do not trigger
|
||||
re-creating the root filesystem image. If re-creating the root
|
||||
filesystem in necessary, one should in addition run make or make all.
|
||||
|
||||
Internally, Buildroot creates so-called stamp files to keep track of
|
||||
which build steps have been completed for each package. They are
|
||||
@@ -1469,10 +1522,10 @@ installed (python-matplotlib on most distributions), and also the
|
||||
argparse module if you’re using a Python version older than 2.7
|
||||
(python-argparse on most distributions).
|
||||
|
||||
Just like for the duration graph, a BR2_GRAPH_OUT environment is
|
||||
supported to adjust the output file format. See Section 8.8,
|
||||
“Graphing the dependencies between packages” for details about this
|
||||
environment variable.
|
||||
Just like for the duration graph, a BR2_GRAPH_OUT environment
|
||||
variable is supported to adjust the output file format. See
|
||||
Section 8.8, “Graphing the dependencies between packages” for details
|
||||
about this environment variable.
|
||||
|
||||
Note. The collected filesystem size data is only meaningful after a
|
||||
complete clean rebuild. Be sure to run make clean all before using
|
||||
@@ -1738,10 +1791,8 @@ Additionally, there are some other useful make targets:
|
||||
| graph-depends |Generate a dependency graph of the |
|
||||
| |package, in the context of the |
|
||||
| |current Buildroot configuration. See|
|
||||
| |this section Section 8.8, “Graphing |
|
||||
| |the dependencies between packages” |
|
||||
| |for more details about dependency |
|
||||
| |graphs. |
|
||||
| |this section for more details about |
|
||||
| |dependency graphs. |
|
||||
|-----------------------+------------------------------------|
|
||||
| graph-rdepends |Generate a graph of this package |
|
||||
| |reverse dependencies (i.e the |
|
||||
@@ -1864,6 +1915,15 @@ WEBKITGTK_OVERRIDE_SRCDIR_RSYNC_EXCLUSIONS = \
|
||||
--exclude WebDriverTests --exclude WebKitBuild --exclude WebKitLibraries \
|
||||
--exclude WebKit.xcworkspace --exclude Websites --exclude Examples
|
||||
|
||||
By default, Buildroot skips syncing of VCS artifacts (e.g., the .git
|
||||
and .svn directories). Some packages prefer to have these VCS
|
||||
directories available during build, for example for automatically
|
||||
determining a precise commit reference for version information. To
|
||||
undo this built-in filtering at a cost of a slower speed, add these
|
||||
directories back:
|
||||
|
||||
LINUX_OVERRIDE_SRCDIR_RSYNC_EXCLUSIONS = --include .git
|
||||
|
||||
Chapter 9. Project-specific customization
|
||||
|
||||
Typical actions you may need to perform for a given project are:
|
||||
@@ -2531,8 +2591,7 @@ from the post-build script.
|
||||
Instead, Buildroot provides support for so-called permission tables.
|
||||
To use this feature, set config option BR2_ROOTFS_DEVICE_TABLE to a
|
||||
space-separated list of permission tables, regular text files
|
||||
following the makedev syntax Chapter 23, Makedev syntax documentation
|
||||
.
|
||||
following the makedev syntax.
|
||||
|
||||
If you are using a static device table (i.e. not using devtmpfs,
|
||||
mdev, or (e)udev) then you can add device nodes using the same
|
||||
@@ -2554,8 +2613,7 @@ Sometimes it is needed to add specific users in the target system. To
|
||||
cover this requirement, Buildroot provides support for so-called
|
||||
users tables. To use this feature, set config option
|
||||
BR2_ROOTFS_USERS_TABLES to a space-separated list of users tables,
|
||||
regular text files following the makeusers syntax Chapter 24,
|
||||
Makeusers syntax documentation.
|
||||
regular text files following the makeusers syntax.
|
||||
|
||||
As shown in Section 9.1, “Recommended directory structure”, the
|
||||
recommended location for such files is board/<company>/<boardname>/.
|
||||
@@ -3664,8 +3722,7 @@ also enabled, but not necessarily built before your package. To do
|
||||
so, the dependency also needs to be expressed in the .mk file of the
|
||||
package.
|
||||
|
||||
Further formatting details: see the coding style Section 15.1,
|
||||
“Config.in file”.
|
||||
Further formatting details: see the coding style.
|
||||
|
||||
17.2.4. Dependencies on target and toolchain options
|
||||
|
||||
@@ -3849,36 +3906,27 @@ different way, using different infrastructures:
|
||||
infrastructure must be used for all packages that do not use the
|
||||
autotools as their build system. In the future, other specialized
|
||||
infrastructures might be written for other build systems. We
|
||||
cover them through in a tutorial Section 17.5.1, “generic-package
|
||||
tutorial” and a reference Section 17.5.2, “generic-package
|
||||
reference”.
|
||||
cover them through in a tutorial and a reference.
|
||||
* Makefiles for autotools-based software (autoconf, automake,
|
||||
etc.): We provide a dedicated infrastructure for such packages,
|
||||
since autotools is a very common build system. This
|
||||
infrastructure must be used for new packages that rely on the
|
||||
autotools as their build system. We cover them through a tutorial
|
||||
Section 17.6.1, “autotools-package tutorial” and reference
|
||||
Section 17.6.2, “autotools-package reference”.
|
||||
and reference.
|
||||
* Makefiles for cmake-based software: We provide a dedicated
|
||||
infrastructure for such packages, as CMake is a more and more
|
||||
commonly used build system and has a standardized behaviour. This
|
||||
infrastructure must be used for new packages that rely on CMake.
|
||||
We cover them through a tutorial Section 17.7.1, “cmake-package
|
||||
tutorial” and reference Section 17.7.2, “cmake-package reference”
|
||||
.
|
||||
We cover them through a tutorial and reference.
|
||||
* Makefiles for Python modules: We have a dedicated infrastructure
|
||||
for Python modules that use either the distutils or the
|
||||
setuptools mechanism. We cover them through a tutorial
|
||||
Section 17.8.1, “python-package tutorial” and a reference
|
||||
Section 17.8.2, “python-package reference”.
|
||||
setuptools mechanism. We cover them through a tutorial and a
|
||||
reference.
|
||||
* Makefiles for Lua modules: We have a dedicated infrastructure for
|
||||
Lua modules available through the LuaRocks web site. We cover
|
||||
them through a tutorial Section 17.9.1, “luarocks-package
|
||||
tutorial” and a reference Section 17.9.2, “luarocks-package
|
||||
reference”.
|
||||
them through a tutorial and a reference.
|
||||
|
||||
Further formatting details: see the writing rules Section 15.2, “The
|
||||
.mk file”.
|
||||
Further formatting details: see the writing rules.
|
||||
|
||||
17.4. The .hash file
|
||||
|
||||
@@ -4220,9 +4268,9 @@ information is (assuming the package name is libfoo) :
|
||||
are included in Buildroot itself use a different mechanism: all
|
||||
files of the form *.patch present in the package directory inside
|
||||
Buildroot will be applied to the package after extraction (see
|
||||
patching a package Chapter 18, Patching a package). Finally,
|
||||
patches listed in the LIBFOO_PATCH variable are applied before
|
||||
the patches stored in the Buildroot package directory.
|
||||
patching a package). Finally, patches listed in the LIBFOO_PATCH
|
||||
variable are applied before the patches stored in the Buildroot
|
||||
package directory.
|
||||
* LIBFOO_SITE provides the location of the package, which can be a
|
||||
URL or a local filesystem path. HTTP, FTP and SCP are supported
|
||||
URL types for retrieving package tarballs. In these cases don’t
|
||||
@@ -4330,8 +4378,10 @@ information is (assuming the package name is libfoo) :
|
||||
name) that are required for the current target package to
|
||||
compile. These dependencies are guaranteed to be compiled and
|
||||
installed before the configuration of the current package starts.
|
||||
In a similar way, HOST_LIBFOO_DEPENDENCIES lists the dependencies
|
||||
for the current host package.
|
||||
However, modifications to configuration of these dependencies
|
||||
will not force a rebuild of the current package. In a similar
|
||||
way, HOST_LIBFOO_DEPENDENCIES lists the dependencies for the
|
||||
current host package.
|
||||
* LIBFOO_EXTRACT_DEPENDENCIES lists the dependencies (in terms of
|
||||
package name) that are required for the current target package to
|
||||
be extracted. These dependencies are guaranteed to be compiled
|
||||
@@ -4881,9 +4931,13 @@ be named python-<something> in Buildroot. Other packages that use the
|
||||
Python build system, but are not Python modules, can freely choose
|
||||
their name (existing examples in Buildroot are scons and supervisor).
|
||||
|
||||
In their Config.in file, they should depend on BR2_PACKAGE_PYTHON so
|
||||
that when Buildroot will enable Python 3 usage for modules, we will
|
||||
be able to enable Python modules progressively on Python 3.
|
||||
Packages that are only compatible with one version of Python (as in:
|
||||
Python 2 or Python 3) should depend on that version explicitely in
|
||||
their Config.in file (BR2_PACKAGE_PYTHON for Python 2,
|
||||
BR2_PACKAGE_PYTHON3 for Python 3). Packages that are compatible with
|
||||
both versions should not explicitely depend on them in their
|
||||
Config.in file, since that condition is already expressed for the
|
||||
whole "External python modules" menu.
|
||||
|
||||
The main macro of the Python package infrastructure is
|
||||
python-package. It is similar to the generic-package macro. It is
|
||||
@@ -4895,12 +4949,11 @@ by defining a number of variables before calling the python-package
|
||||
or host-python-package macros.
|
||||
|
||||
All the package metadata information variables that exist in the
|
||||
generic package infrastructure Section 17.5.2, “generic-package
|
||||
reference” also exist in the Python infrastructure:
|
||||
PYTHON_FOO_VERSION, PYTHON_FOO_SOURCE, PYTHON_FOO_PATCH,
|
||||
PYTHON_FOO_SITE, PYTHON_FOO_SUBDIR, PYTHON_FOO_DEPENDENCIES,
|
||||
PYTHON_FOO_LICENSE, PYTHON_FOO_LICENSE_FILES,
|
||||
PYTHON_FOO_INSTALL_STAGING, etc.
|
||||
generic package infrastructure also exist in the Python
|
||||
infrastructure: PYTHON_FOO_VERSION, PYTHON_FOO_SOURCE,
|
||||
PYTHON_FOO_PATCH, PYTHON_FOO_SITE, PYTHON_FOO_SUBDIR,
|
||||
PYTHON_FOO_DEPENDENCIES, PYTHON_FOO_LICENSE,
|
||||
PYTHON_FOO_LICENSE_FILES, PYTHON_FOO_INSTALL_STAGING, etc.
|
||||
|
||||
Note that:
|
||||
|
||||
@@ -5765,7 +5818,7 @@ The Config.in file of Cargo-based package foo should contain:
|
||||
|
||||
01: config BR2_PACKAGE_FOO
|
||||
02: bool "foo"
|
||||
03: depends on BR2_PACKAGE_HOST_RUSTC_ARCH_SUPPORTS
|
||||
03: depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
|
||||
04: select BR2_PACKAGE_HOST_CARGO
|
||||
05: help
|
||||
06: This is a comment that explains what foo is.
|
||||
@@ -5818,9 +5871,8 @@ The Makefile starts with the definition of the standard variables for
|
||||
package declaration (lines 7 to 11).
|
||||
|
||||
As seen in line 35, it is based on the generic-package infrastructure
|
||||
Section 17.5.1, “generic-package tutorial”. So, it defines the
|
||||
variables required by this particular infrastructure, where Cargo is
|
||||
invoked:
|
||||
. So, it defines the variables required by this particular
|
||||
infrastructure, where Cargo is invoked:
|
||||
|
||||
* FOO_BUILD_CMDS: Cargo is invoked to perform the build. The
|
||||
options required to configure the cross-compilation of the
|
||||
@@ -5903,10 +5955,10 @@ Just like the generic infrastructure, the Go infrastructure works by
|
||||
defining a number of variables before calling the golang-package.
|
||||
|
||||
All the package metadata information variables that exist in the
|
||||
generic package infrastructure Section 17.5.2, “generic-package
|
||||
reference” also exist in the Go infrastructure: FOO_VERSION,
|
||||
FOO_SOURCE, FOO_PATCH, FOO_SITE, FOO_SUBDIR, FOO_DEPENDENCIES,
|
||||
FOO_LICENSE, FOO_LICENSE_FILES, FOO_INSTALL_STAGING, etc.
|
||||
generic package infrastructure also exist in the Go infrastructure:
|
||||
FOO_VERSION, FOO_SOURCE, FOO_PATCH, FOO_SITE, FOO_SUBDIR,
|
||||
FOO_DEPENDENCIES, FOO_LICENSE, FOO_LICENSE_FILES,
|
||||
FOO_INSTALL_STAGING, etc.
|
||||
|
||||
Note that it is not necessary to add host-go in the FOO_DEPENDENCIES
|
||||
variable of a package, since this basic dependency is automatically
|
||||
@@ -5995,8 +6047,7 @@ On line 13, we invoke the kernel-module helper infrastructure, that
|
||||
generates all the appropriate Makefile rules and variables to build
|
||||
that kernel module.
|
||||
|
||||
Finally, on line 14, we invoke the generic-package infrastructure
|
||||
Section 17.5.1, “generic-package tutorial”.
|
||||
Finally, on line 14, we invoke the generic-package infrastructure.
|
||||
|
||||
The dependency on linux is automatically added, so it is not needed
|
||||
to specify it in FOO_DEPENDENCIES.
|
||||
@@ -6108,10 +6159,9 @@ there is, as for packages, an infrastructure for rendering documents
|
||||
using the AsciiDoc syntax.
|
||||
|
||||
Also as for packages, the AsciiDoc infrastructure is available from a
|
||||
br2-external tree Section 9.2, “Keeping customizations outside of
|
||||
Buildroot”. This allows documentation for a br2-external tree to
|
||||
match the Buildroot documentation, as it will be rendered to the same
|
||||
formats and use the same layout and theme.
|
||||
br2-external tree. This allows documentation for a br2-external tree
|
||||
to match the Buildroot documentation, as it will be rendered to the
|
||||
same formats and use the same layout and theme.
|
||||
|
||||
17.19.1. asciidoc-document tutorial
|
||||
|
||||
@@ -6282,10 +6332,9 @@ only when the foo tool is selected.
|
||||
|
||||
The rest of the Makefile, lines 11-25 defines what should be done at
|
||||
the different steps of the Linux tool build process like for a
|
||||
generic package Section 17.5.1, “generic-package tutorial”. They will
|
||||
actually be used only when the foo tool is selected. The only
|
||||
supported commands are _BUILD_CMDS, _INSTALL_STAGING_CMDS and
|
||||
_INSTALL_TARGET_CMDS.
|
||||
generic package. They will actually be used only when the foo tool is
|
||||
selected. The only supported commands are _BUILD_CMDS,
|
||||
_INSTALL_STAGING_CMDS and _INSTALL_TARGET_CMDS.
|
||||
|
||||
Note. One must not call $(eval $(generic-package)) or any other
|
||||
package infrastructure! Linux tools are not packages by themselves,
|
||||
@@ -6346,8 +6395,7 @@ modify the Linux kernel tree; this is specific to the linux extension
|
||||
and can use the variables defined by the foo package, like: $
|
||||
(FOO_DIR) or $(FOO_VERSION)… as well as all the Linux variables,
|
||||
like: $(LINUX_VERSION) or $(LINUX_VERSION_PROBED), $(KERNEL_ARCH)…
|
||||
See the definition of those kernel variables Section 17.18.2,
|
||||
“kernel-module reference”.
|
||||
See the definition of those kernel variables.
|
||||
|
||||
17.21. Hooks available in the various build steps
|
||||
|
||||
@@ -6937,7 +6985,7 @@ basically two things that can be done:
|
||||
patch fixing an autobuild failure, add a reference to the
|
||||
build result directory, as follows:
|
||||
|
||||
Fixes http://autobuild.buildroot.org/results/51000a9d4656afe9e0ea6f07b9f8ed374c2e4069
|
||||
Fixes: http://autobuild.buildroot.org/results/51000a9d4656afe9e0ea6f07b9f8ed374c2e4069
|
||||
|
||||
21.3. Reviewing and testing patches
|
||||
|
||||
@@ -7135,8 +7183,8 @@ options that no longer exist or are no longer needed.
|
||||
If you are interested in getting notified of build failures and of
|
||||
further changes in the packages you added or modified, please add
|
||||
yourself to the DEVELOPERS file. This should be done in the same
|
||||
patch creating or modifying the package. See the DEVELOPERS file
|
||||
Chapter 22, DEVELOPERS file and get-developers for more information.
|
||||
patch creating or modifying the package. See the DEVELOPERS file for
|
||||
more information.
|
||||
|
||||
Buildroot provides a handy tool to check for common coding style
|
||||
mistakes on files you created or modified, called check-package (see
|
||||
@@ -7244,7 +7292,7 @@ the problem is complex, it is OK to add more paragraphs. All paragraphs
|
||||
should be wrapped at 72 characters.
|
||||
|
||||
A paragraph that explains the root cause of the problem. Again, more
|
||||
than on paragraph is OK.
|
||||
than one paragraph is OK.
|
||||
|
||||
Finally, one or more paragraphs that explain how the problem is solved.
|
||||
Don't hesitate to explain complex solutions in detail.
|
||||
@@ -7294,14 +7342,12 @@ as superseded.
|
||||
21.6. Reporting issues/bugs or getting help
|
||||
|
||||
Before reporting any issue, please check in the mailing list archive
|
||||
Chapter 5, Community resources whether someone has already reported
|
||||
and/or fixed a similar problem.
|
||||
whether someone has already reported and/or fixed a similar problem.
|
||||
|
||||
However you choose to report bugs or get help, either by opening a
|
||||
bug in the bug tracker Chapter 5, Community resources or by sending a
|
||||
mail to the mailing list Chapter 5, Community resources, there are a
|
||||
number of details to provide in order to help people reproduce and
|
||||
find a solution to the issue.
|
||||
bug in the bug tracker or by sending a mail to the mailing list,
|
||||
there are a number of details to provide in order to help people
|
||||
reproduce and find a solution to the issue.
|
||||
|
||||
Try to think as if you were trying to help someone else; in that
|
||||
case, what would you need?
|
||||
|
||||
@@ -87,15 +87,21 @@ This directory contains several subdirectories:
|
||||
target). This directory contains one subdirectory for each of these
|
||||
components.
|
||||
|
||||
* +staging/+ which contains a hierarchy similar to a root filesystem
|
||||
hierarchy. This directory contains the headers and libraries of the
|
||||
cross-compilation toolchain and all the userspace packages selected
|
||||
for the target. However, this directory is 'not' intended to be
|
||||
the root filesystem for the target: it contains a lot of development
|
||||
files, unstripped binaries and libraries that make it far too big
|
||||
for an embedded system. These development files are used to compile
|
||||
libraries and applications for the target that depend on other
|
||||
libraries.
|
||||
* +host/+ contains both the tools built for the host, and the sysroot
|
||||
of the target toolchain. The former is an installation of tools
|
||||
compiled for the host that are needed for the proper execution of
|
||||
Buildroot, including the cross-compilation toolchain. The latter
|
||||
is a hierarchy similar to a root filesystem hierarchy. It contains
|
||||
the headers and libraries of all user-space packages that provide
|
||||
and install libraries used by other packages. However, this
|
||||
directory is 'not' intended to be the root filesystem for the target:
|
||||
it contains a lot of development files, unstripped binaries and
|
||||
libraries that make it far too big for an embedded system. These
|
||||
development files are used to compile libraries and applications for
|
||||
the target that depend on other libraries.
|
||||
|
||||
* +staging/+ is a symlink to the target toolchain sysroot inside
|
||||
+host/+, which exists for backwards compatibility.
|
||||
|
||||
* +target/+ which contains 'almost' the complete root filesystem for
|
||||
the target: everything needed is present except the device files in
|
||||
@@ -111,10 +117,6 @@ This directory contains several subdirectories:
|
||||
development files (headers, etc.) are not present, the binaries are
|
||||
stripped.
|
||||
|
||||
* +host/+ contains the installation of tools compiled for the host
|
||||
that are needed for the proper execution of Buildroot, including the
|
||||
cross-compilation toolchain.
|
||||
|
||||
These commands, +make menuconfig|nconfig|gconfig|xconfig+ and +make+, are the
|
||||
basic ones that allow to easily and quickly generate images fitting
|
||||
your needs, with all the features and applications you enabled.
|
||||
|
||||
@@ -65,6 +65,16 @@ can help you understand how to work with Buildroot:
|
||||
there is no need for a full rebuild: a simple +make+ invocation
|
||||
will take the changes into account.
|
||||
|
||||
* When a package listed in +FOO_DEPENDENCIES+ is rebuilt or removed,
|
||||
the package +foo+ is not automatically rebuilt. For example, if a
|
||||
package +bar+ is listed in +FOO_DEPENDENCIES+ with +FOO_DEPENDENCIES
|
||||
= bar+ and the configuration of the +bar+ package is changed, the
|
||||
configuration change would not result in a rebuild of package +foo+
|
||||
automatically. In this scenario, you may need to either rebuild any
|
||||
packages in your build which reference +bar+ in their +DEPENDENCIES+,
|
||||
or perform a full rebuild to ensure any +bar+ dependent packages are
|
||||
up to date.
|
||||
|
||||
Generally speaking, when you're facing a build error and you're unsure
|
||||
of the potential consequences of the configuration changes you've
|
||||
made, do a full rebuild. If you get the same build error, then you are
|
||||
@@ -99,16 +109,20 @@ re-configure, re-compile and re-install this package from scratch. You
|
||||
can ask buildroot to do this with the +make <package>-dirclean+ command.
|
||||
|
||||
On the other hand, if you only want to restart the build process of a
|
||||
package from its compilation step, you can run +make
|
||||
<package>-rebuild+, followed by +make+ or +make <package>+. It will
|
||||
restart the compilation and installation of the package, but not from
|
||||
scratch: it basically re-executes +make+ and +make install+
|
||||
inside the package, so it will only rebuild files that changed.
|
||||
package from its compilation step, you can run +make <package>-rebuild+. It
|
||||
will restart the compilation and installation of the package, but not from
|
||||
scratch: it basically re-executes +make+ and +make install+ inside the package,
|
||||
so it will only rebuild files that changed.
|
||||
|
||||
If you want to restart the build process of a package from its
|
||||
configuration step, you can run +make <package>-reconfigure+, followed
|
||||
by +make+ or +make <package>+. It will restart the configuration,
|
||||
compilation and installation of the package.
|
||||
If you want to restart the build process of a package from its configuration
|
||||
step, you can run +make <package>-reconfigure+. It will restart the
|
||||
configuration, compilation and installation of the package.
|
||||
|
||||
While +<package>-rebuild+ implies +<package>-reinstall+ and
|
||||
+<package>-reconfigure+ implies +<package>-rebuild+, these targets as well
|
||||
as +<package>+ only act on the said package, and do not trigger re-creating
|
||||
the root filesystem image. If re-creating the root filesystem in necessary,
|
||||
one should in addition run +make+ or +make all+.
|
||||
|
||||
Internally, Buildroot creates so-called _stamp files_ to keep track of
|
||||
which build steps have been completed for each package. They are
|
||||
|
||||
@@ -109,3 +109,13 @@ WEBKITGTK_OVERRIDE_SRCDIR_RSYNC_EXCLUSIONS = \
|
||||
--exclude WebDriverTests --exclude WebKitBuild --exclude WebKitLibraries \
|
||||
--exclude WebKit.xcworkspace --exclude Websites --exclude Examples
|
||||
------------------
|
||||
|
||||
By default, Buildroot skips syncing of VCS artifacts (e.g., the *.git* and
|
||||
*.svn* directories). Some packages prefer to have these VCS directories
|
||||
available during build, for example for automatically determining a precise
|
||||
commit reference for version information. To undo this built-in filtering at a
|
||||
cost of a slower speed, add these directories back:
|
||||
|
||||
------------------
|
||||
LINUX_OVERRIDE_SRCDIR_RSYNC_EXCLUSIONS = --include .git
|
||||
------------------
|
||||
|
||||
@@ -82,7 +82,7 @@ ROOTFS_$(2)_DEPENDENCIES += rootfs-common
|
||||
|
||||
ifeq ($$(BR2_TARGET_ROOTFS_$(2)_GZIP),y)
|
||||
ROOTFS_$(2)_COMPRESS_EXT = .gz
|
||||
ROOTFS_$(2)_COMPRESS_CMD = gzip -9 -c
|
||||
ROOTFS_$(2)_COMPRESS_CMD = gzip -9 -c -n
|
||||
endif
|
||||
ifeq ($$(BR2_TARGET_ROOTFS_$(2)_BZIP2),y)
|
||||
ROOTFS_$(2)_COMPRESS_EXT = .bz2
|
||||
|
||||
@@ -8,6 +8,9 @@ TAR_OPTS := $(call qstrip,$(BR2_TARGET_ROOTFS_TAR_OPTIONS))
|
||||
|
||||
ROOTFS_TAR_DEPENDENCIES = $(BR2_TAR_HOST_DEPENDENCY)
|
||||
|
||||
# do not store atime/ctime in PaxHeaders to ensure reproducbility
|
||||
TAR_OPTS += --pax-option=exthdr.name=%d/PaxHeaders/%f,atime:=0,ctime:=0
|
||||
|
||||
define ROOTFS_TAR_CMD
|
||||
(cd $(TARGET_DIR); find -print0 | LC_ALL=C sort -z | \
|
||||
tar $(TAR_OPTS) -cf $@ --null --xattrs-include='*' --no-recursion -T - --numeric-owner)
|
||||
|
||||
@@ -122,7 +122,7 @@ endif
|
||||
|
||||
config BR2_LINUX_KERNEL_VERSION
|
||||
string
|
||||
default "4.19.47" if BR2_LINUX_KERNEL_LATEST_VERSION
|
||||
default "4.19.94" if BR2_LINUX_KERNEL_LATEST_VERSION
|
||||
default "v4.4.176-cip31" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION
|
||||
default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \
|
||||
if BR2_LINUX_KERNEL_CUSTOM_VERSION
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# From https://www.kernel.org/pub/linux/kernel/v4.x/sha256sums.asc
|
||||
sha256 d011245629b980d4c15febf080b54804aaf215167b514a3577feddb2495f8a3e linux-4.20.17.tar.xz
|
||||
sha256 5d08f3890e7ca2b94529675120f170c5b764f795e6dd184a1190c23a40ef5365 linux-4.19.47.tar.xz
|
||||
sha256 25f58cb56bde388ac9bcee984f5f2d0ca094b0a8af6b92ad1f5b2fd0e6725b85 linux-4.14.123.tar.xz
|
||||
sha256 d25a490d62a3e96a587333e163862585eac4086fc8d4893b4ec1711e7d387c5f linux-4.9.180.tar.xz
|
||||
sha256 1a450217d381bb7fd259d026d3b7a57c717e8d1f66754cd6fcc9df3c4a8a6a7a linux-4.4.180.tar.xz
|
||||
sha256 5899ff2a85e2b84607148349fd8e646f94399655caf0e4e55d1eb0567e48520e linux-4.4.208.tar.xz
|
||||
sha256 b7ad1c9841d671d026c55a4c91c77205f8b488ca5f980f838591c68662e0525a linux-4.9.208.tar.xz
|
||||
sha256 eb29cc9cfd54158789064b3d6e5b3eab108facec048b8d405a63e9863329b049 linux-4.14.163.tar.xz
|
||||
sha256 c62a10a75a7c4213e41287040e7c7509b7d42117d6830feb7dfe505949fa7467 linux-4.19.94.tar.xz
|
||||
|
||||
@@ -316,6 +316,8 @@ define LINUX_KCONFIG_FIXUP_CMDS
|
||||
$(LINUX_FIXUP_CONFIG_ENDIANNESS)
|
||||
$(if $(BR2_arm)$(BR2_armeb),
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_AEABI,$(@D)/.config))
|
||||
$(if $(BR2_powerpc)$(BR2_powerpc64)$(BR2_powerpc64le),
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_PPC_DISABLE_WERROR,$(@D)/.config))
|
||||
$(if $(BR2_TARGET_ROOTFS_CPIO),
|
||||
$(call KCONFIG_ENABLE_OPT,CONFIG_BLK_DEV_INITRD,$(@D)/.config))
|
||||
# As the kernel gets compiled before root filesystems are
|
||||
|
||||
@@ -1042,7 +1042,7 @@ menu "External python modules"
|
||||
source "package/python-slob/Config.in"
|
||||
source "package/python-smbus-cffi/Config.in"
|
||||
source "package/python-socketio/Config.in"
|
||||
source "package/python-sortedcontainers//Config.in"
|
||||
source "package/python-sortedcontainers/Config.in"
|
||||
source "package/python-spidev/Config.in"
|
||||
source "package/python-sqlalchemy/Config.in"
|
||||
source "package/python-subprocess32/Config.in"
|
||||
@@ -1161,6 +1161,7 @@ endmenu
|
||||
|
||||
menu "Compression and decompression"
|
||||
source "package/libarchive/Config.in"
|
||||
source "package/libmspack/Config.in"
|
||||
source "package/libsquish/Config.in"
|
||||
source "package/libzip/Config.in"
|
||||
source "package/lzo/Config.in"
|
||||
|
||||
@@ -16,6 +16,7 @@ menu "Host utilities"
|
||||
source "package/dtc/Config.in.host"
|
||||
source "package/e2fsprogs/Config.in.host"
|
||||
source "package/e2tools/Config.in.host"
|
||||
source "package/eudev/Config.in.host"
|
||||
source "package/f2fs-tools/Config.in.host"
|
||||
source "package/faketime/Config.in.host"
|
||||
source "package/fwup/Config.in.host"
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
From 6c3b05b74ccd49d8ba246bfef0c2e549b9f2bf7b Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Tue, 29 Oct 2019 16:14:18 +0100
|
||||
Subject: [PATCH] Makefile: unconditionally disable SSP
|
||||
|
||||
Though -nostdlib is passed in $(CFLAGS), -fno-stack-protector must also be
|
||||
passed to avoid linking errors related to undefined references to
|
||||
'__stack_chk_guard' and '__stack_chk_fail' if toolchain enforces
|
||||
-fstack-protector.
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.net/results/3a3a21f3c35ea025e9b93e09c2454aed0ad31034
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
Makefile | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index c3ec071..5226006 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -16,7 +16,8 @@ INCLUDES = $(SRCDIR)/include
|
||||
CFLAGS =-march=armv7-m -mcpu=cortex-m3 -mthumb -nostdlib -Wall -Wundef \
|
||||
-Werror-implicit-function-declaration -Wstrict-prototypes \
|
||||
-Wdeclaration-after-statement -fno-delete-null-pointer-checks \
|
||||
- -Wempty-body -fno-strict-overflow -g -I$(INCLUDES) -O2
|
||||
+ -Wempty-body -fno-strict-overflow -fno-stack-protector \
|
||||
+ -g -I$(INCLUDES) -O2
|
||||
LDFLAGS =-nostartfiles -fno-exceptions -Tfirmware.ld
|
||||
|
||||
EXECUTABLE=am335x-pm-firmware.elf
|
||||
--
|
||||
2.23.0
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
From 0e8c3c4851ce64268a8ae1810ef72594251d917d Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Sun, 10 Nov 2019 21:57:12 +0100
|
||||
Subject: [PATCH] Makefile: unconditionally disable PIE
|
||||
|
||||
Though -nostdlib is passed in $(CFLAGS), -fno-pie must also be passed to
|
||||
avoid linking errors related to overlapping sections if toolchain
|
||||
enforces PIE.
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.org/results/418a40b995e91bc66e692dfbc4b0521db3fa5fbb
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 5226006..fe3d844 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -17,7 +17,7 @@ CFLAGS =-march=armv7-m -mcpu=cortex-m3 -mthumb -nostdlib -Wall -Wundef \
|
||||
-Werror-implicit-function-declaration -Wstrict-prototypes \
|
||||
-Wdeclaration-after-statement -fno-delete-null-pointer-checks \
|
||||
-Wempty-body -fno-strict-overflow -fno-stack-protector \
|
||||
- -g -I$(INCLUDES) -O2
|
||||
+ -fno-pie -g -I$(INCLUDES) -O2
|
||||
LDFLAGS =-nostartfiles -fno-exceptions -Tfirmware.ld
|
||||
|
||||
EXECUTABLE=am335x-pm-firmware.elf
|
||||
--
|
||||
2.23.0
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# From http://archive.apache.org/dist/httpd/httpd-2.4.39.tar.bz2.sha256
|
||||
sha256 b4ca9d05773aa59b54d66cd8f4744b945289f084d3be17d7981d1783a5decfa2 httpd-2.4.39.tar.bz2
|
||||
# From http://archive.apache.org/dist/httpd/httpd-2.4.41.tar.bz2.sha256
|
||||
sha256 133d48298fe5315ae9366a0ec66282fa4040efa5d566174481077ade7d18ea40 httpd-2.4.41.tar.bz2
|
||||
# Locally computed
|
||||
sha256 c49c0819a726b70142621715dae3159c47b0349c2bc9db079070f28dadac0229 LICENSE
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
APACHE_VERSION = 2.4.39
|
||||
APACHE_VERSION = 2.4.41
|
||||
APACHE_SOURCE = httpd-$(APACHE_VERSION).tar.bz2
|
||||
APACHE_SITE = http://archive.apache.org/dist/httpd
|
||||
APACHE_LICENSE = Apache-2.0
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Locally computed
|
||||
sha256 c022e9d5410ed94ab1aa51ba1e2a8b196f0dfa15bcd0bd545d06efee4c786578 asterisk-16.2.1.tar.gz
|
||||
sha256 474cbc6f9dddee94616f8af8e097bc4d340dc9698c4165dc45be6e0be80ff725 asterisk-16.6.2.tar.gz
|
||||
|
||||
# sha1 from: http://downloads.asterisk.org/pub/telephony/sounds/releases
|
||||
# sha256 locally computed
|
||||
@@ -11,5 +11,5 @@ sha256 449fb810d16502c3052fedf02f7e77b36206ac5a145f3dacf4177843a2fcb538 asteri
|
||||
# License files, locally computed
|
||||
sha256 82af40ed7f49c08685360811993d9396320842f021df828801d733e8fdc0312f COPYING
|
||||
sha256 ac5571f00e558e3b7c9b3f13f421b874cc12cf4250c4f70094c71544cf486312 main/sha1.c
|
||||
sha256 309462c10e84f46bda22032ebe6359f3e9e3e23afcf1fc2aaed5b59daf800d84 codecs/speex/speex_resampler.h
|
||||
sha256 6215e3ed73c3982a5c6701127d681ec0b9f1121ac78a28805bd93f93c3eb84c0 codecs/speex/speex_resampler.h
|
||||
sha256 1ca2c7a7a1ae7ccd75212a8c1e85dd9ec92bdbc9170aafd97ea60459387755fd utils/db1-ast/include/db.h
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ASTERISK_VERSION = 16.2.1
|
||||
ASTERISK_VERSION = 16.6.2
|
||||
# Use the github mirror: it's an official mirror maintained by Digium, and
|
||||
# provides tarballs, which the main Asterisk git tree (behind Gerrit) does not.
|
||||
ASTERISK_SITE = $(call github,asterisk,asterisk,$(ASTERISK_VERSION))
|
||||
|
||||
@@ -7,6 +7,8 @@ config BR2_PACKAGE_ATK
|
||||
help
|
||||
The ATK accessibility toolkit, needed to build GTK+-2.x.
|
||||
|
||||
https://gitlab.gnome.org/GNOME/atk
|
||||
|
||||
comment "atk needs a toolchain w/ wchar, threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
|
||||
@@ -11,6 +11,8 @@ ATK_SITE = http://ftp.gnome.org/pub/gnome/sources/atk/$(ATK_VERSION_MAJOR)
|
||||
ATK_LICENSE = LGPL-2.0+
|
||||
ATK_LICENSE_FILES = COPYING
|
||||
ATK_INSTALL_STAGING = YES
|
||||
ATK_DEPENDENCIES = libglib2
|
||||
ATK_DEPENDENCIES = libglib2 $(TARGET_NLS_DEPENDENCIES)
|
||||
|
||||
ATK_LDFLAGS = $(TARGET_LDFLAGS) $(TARGET_NLS_LIBS)
|
||||
|
||||
$(eval $(meson-package))
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user