diff --git a/Documentation/boards/README.md b/Documentation/boards/README.md index 67961ccae..9a14f8ff3 100644 --- a/Documentation/boards/README.md +++ b/Documentation/boards/README.md @@ -17,12 +17,12 @@ The following boards/devices are supported: - Odroid-C4 (_experimental_) - Odroid-N2 - Odroid-XU4 -- Intel NUC +- Generic x86-64 (UEFI, not suited for virtualization) - Intel NUC5CPYH - Intel NUC6CAYH - Intel NUC10I3FNK2 - Gigabyte GB-BPCE-3455 - - Others recent Intel NUC computers are likely to work too, only those listed above have been tested. + - Computers supporting x64-64 architecture and UEFI boot should generally work - Asus - Tinker Board - Virtual appliance (x86_64/UEFI): @@ -39,17 +39,17 @@ Notes: |Board|Build|Config|Docs| |-----|----|------|----| -|Pi4B 32-bit |`make rpi4` |[rpi4](../../buildroot-external/configs/rpi4_defconfig)|[raspberrypi](./raspberrypi/)| -|Pi4B 64-bit |`make rpi4_64` |[rpi4_64](../../buildroot-external/configs/rpi4_64_defconfig)|[raspberrypi](./raspberrypi/)| -|Pi3B 32-bit |`make rpi3` |[rpi3](../../buildroot-external/configs/rpi3_defconfig)|[raspberrypi](./raspberrypi/)| -|Pi3B 64-bit |`make rpi3_64` |[rpi3_64](../../buildroot-external/configs/rpi3_64_defconfig)|[raspberrypi](./raspberrypi/)| -|Pi2 |`make rpi2` |[rpi2](../../buildroot-external/configs/rpi2_defconfig)|[raspberrypi](./raspberrypi/)| -|Pi Zero |`make rpi0_w` |[rpi0_w](../../buildroot-external/configs/rpi0_w_defconfig)|[raspberrypi](./raspberrypi/)| -|Pi |`make rpi` |[rpi](../../buildroot-external/configs/rpi_defconfig)|[raspberrypi](./raspberrypi/)| -|Odroid-C2 |`make odroid_c2` |[odroid_c2](../../buildroot-external/configs/odroid_c2_defconfig)|[hardkernel](./hardkernel/)| -|Odroid-C4 |`make odroid_c4` |[odroid_c4](../../buildroot-external/configs/odroid_c4_defconfig)|[hardkernel](./hardkernel/)| -|Odroid-N2 |`make odroid_n2` |[odroid_n2](../../buildroot-external/configs/odroid_n2_defconfig)|[hardkernel](./hardkernel/)| -|Odroid-XU4 |`make odroid_xu4`|[odroid_xu4](../../buildroot-external/configs/odroid_xu4_defconfig)|[hardkernel](./hardkernel/)| -|NUC |`make intel_nuc` |[intel_nuc](../../buildroot-external/configs/intel_nuc_defconfig)|[intel](./intel/)| -|Tinker Board|`make tinker` |[tinker](../../buildroot-external/configs/tinker_defconfig)|[asus](./asus/)| -|OVA |`make ova` |[ova](../../buildroot-external/configs/ova_defconfig)|[ova](./ova/)| +|Pi4B 32-bit |`make rpi4` |[rpi4](../../buildroot-external/configs/rpi4_defconfig)|[raspberrypi](./raspberrypi/)| +|Pi4B 64-bit |`make rpi4_64` |[rpi4_64](../../buildroot-external/configs/rpi4_64_defconfig)|[raspberrypi](./raspberrypi/)| +|Pi3B 32-bit |`make rpi3` |[rpi3](../../buildroot-external/configs/rpi3_defconfig)|[raspberrypi](./raspberrypi/)| +|Pi3B 64-bit |`make rpi3_64` |[rpi3_64](../../buildroot-external/configs/rpi3_64_defconfig)|[raspberrypi](./raspberrypi/)| +|Pi2 |`make rpi2` |[rpi2](../../buildroot-external/configs/rpi2_defconfig)|[raspberrypi](./raspberrypi/)| +|Pi Zero |`make rpi0_w` |[rpi0_w](../../buildroot-external/configs/rpi0_w_defconfig)|[raspberrypi](./raspberrypi/)| +|Pi |`make rpi` |[rpi](../../buildroot-external/configs/rpi_defconfig)|[raspberrypi](./raspberrypi/)| +|Odroid-C2 |`make odroid_c2` |[odroid_c2](../../buildroot-external/configs/odroid_c2_defconfig)|[hardkernel](./hardkernel/)| +|Odroid-C4 |`make odroid_c4` |[odroid_c4](../../buildroot-external/configs/odroid_c4_defconfig)|[hardkernel](./hardkernel/)| +|Odroid-N2 |`make odroid_n2` |[odroid_n2](../../buildroot-external/configs/odroid_n2_defconfig)|[hardkernel](./hardkernel/)| +|Odroid-XU4 |`make odroid_xu4` |[odroid_xu4](../../buildroot-external/configs/odroid_xu4_defconfig)|[hardkernel](./hardkernel/)| +|Tinker Board |`make tinker` |[tinker](../../buildroot-external/configs/tinker_defconfig)|[asus](./asus/)| +|Generic x86-64 |`make generic_x86_64` |[generic_x86_64](../../buildroot-external/configs/generic_x86_64_defconfig)|[generic-x86-64](./generic-x86-64/)| +|OVA |`make ova` |[ova](../../buildroot-external/configs/ova_defconfig)|[ova](./ova/)| diff --git a/Documentation/boards/generic-x86-64/README.md b/Documentation/boards/generic-x86-64/README.md new file mode 100644 index 000000000..9d31a8585 --- /dev/null +++ b/Documentation/boards/generic-x86-64/README.md @@ -0,0 +1,61 @@ +# Generic x86-64 + +## Supported Hardware + +This board configuration aims to support most x86-64 systems with UEFI boot. The +main aim is to support Intel NUC mini PCs and similar systems. Hardware it has +been tested with is listed below. + +## Tested Hardware + +| Device | Release Date | Support | Config | +|-----------------------|--------------|---------|-------------| +| Intel NUC5CPYH | Q3 2015 | yes | [generic_x86_64](../../../buildroot-external/configs/generic_x86_64_defconfig) | +| Intel NUC6CAYH | Q4 2016 | yes | [generic_x86_64](../../../buildroot-external/configs/generic_x86_64_defconfig) | +| Intel NUC7i3DNHE | Q3 2017 | yes | [generic_x86_64](../../../buildroot-external/configs/generic_x86_64_defconfig) | +| Intel NUC10i3FNK2 | Q4 2019 | yes | [generic_x86_64](../../../buildroot-external/configs/generic_x86_64_defconfig) | +| Gigabyte GB-BPCE-3455 | 2017 | yes* | [generic_x86_64](../../../buildroot-external/configs/generic_x86_64_defconfig) | + +\* needs 'nomodeset' in cmdline.txt if you want a console + + +## Requirements + +- x86-64 support +- UEFI boot +- SATA/AHCI or eMMC storage +- Supported NIC: + - Intel Gigabit NIC (e1000, igb - via Linux mainline) + - Intel PCIe Gigabit NIC (e1000e - via out-of-tree module in *buildroot-external/package/intel-e1000e*) + - Realtek Gigabit NIC (r8169) + - Intel Wireless Wifi 802.11ac (iwlwifi, see below) + +## Wifi + +The following cards are supported: + +- Intel Wireless 3160 +- Intel Wireless 7260 +- Intel Wireless 7265 +- Intel Wireless-AC 3165 +- Intel Wireless-AC 3168 +- Intel Wireless-AC 8260 +- Intel Wireless-AC 8265 +- Intel Wireless-AC 9260 +- Intel Wireless-AC 9461 +- Intel Wireless-AC 9462 +- Intel Wireless-AC 9560 + +## Bluetooth + +Bluetooth is untested. + +## Installation + +Make sure secure boot is disabled in the UEFI BIOS settings. + +Currently there is no shiny installation method. Checklist: +- Boot PC to live environment using PXE or USB +- Copy or download the Home Assistant OS image into your live environment +- unxz the image and dd to the local hard disk +- Reboot diff --git a/Documentation/boards/intel/README.md b/Documentation/boards/intel/README.md deleted file mode 100644 index c96a04609..000000000 --- a/Documentation/boards/intel/README.md +++ /dev/null @@ -1,56 +0,0 @@ -# Intel NUC - -## Supported Hardware - -This board configuration supports the Intel NUC mini PCs and compatibles. It should work for most recent NUC computers and, because this is a UEFI based image, it should in fact work with for any x86-64 based computer with UEFI. Hardware it has been tested with is listed below. - -## Tested Hardware - -| Device | Release Date | Support | Config | -|-----------------------|--------------|---------|-------------| -| Intel NUC5CPYH | Q3 2015 | yes | [intel_nuc](../../../buildroot-external/configs/intel_nuc_defconfig) | -| Intel NUC6CAYH | Q4 2016 | yes | [intel_nuc](../../../buildroot-external/configs/intel_nuc_defconfig) | -| Intel NUC10i3FNK2 | Q4 2019 | yes | [intel_nuc](../../../buildroot-external/configs/intel_nuc_defconfig) | -| Gigabyte GB-BPCE-3455 | 2017 | yes* | [intel_nuc](../../../buildroot-external/configs/intel_nuc_defconfig) | - -\* needs 'nomodeset' in cmdline.txt if you want a console - - -## Requirements - -- x86-64 support -- UEFI boot -- SATA/AHCI storage -- Supported NIC: - - Intel Gigabit NIC (e1000, igb - via Linux mainline) - - Intel PCIe Gigabit NIC (e1000e - via out-of-tree module in *buildroot-external/package/intel-e1000e*) - - Realtek Gigabit NIC (r8169) - - Intel Wireless Wifi 802.11ac (iwlwifi, see below) - -## Wifi - -The following cards are supported: - -- Intel Wireless 3160 -- Intel Wireless 7260 -- Intel Wireless 7265 -- Intel Wireless-AC 3165 -- Intel Wireless-AC 3168 -- Intel Wireless-AC 8260 -- Intel Wireless-AC 8265 -- Intel Wireless-AC 9260 -- Intel Wireless-AC 9461 -- Intel Wireless-AC 9462 -- Intel Wireless-AC 9560 - -## Bluetooth - -Bluetooth is untested. - -## Installation - -Currently there is no shiny installation method. Checklist: -- Boot PC to live-environment using PXE or USB -- Copy or download the hassos image into your live environment -- zcat the image to local harddisk -- Reboot diff --git a/Documentation/kernel.md b/Documentation/kernel.md index fc81d54a1..53553855d 100644 --- a/Documentation/kernel.md +++ b/Documentation/kernel.md @@ -16,4 +16,4 @@ Default Kernel tree: 5.4 | Odroid-C4 | 5.10.17 | | Odroid-N2 | 5.10.17 | | Odroid-XU4 | 5.10.17 | -| Intel NUC | 5.10.17 | +| Generic x86-64 | 5.10.17 | diff --git a/buildroot-external/board/intel/barebox.config b/buildroot-external/board/pc/barebox.config similarity index 100% rename from buildroot-external/board/intel/barebox.config rename to buildroot-external/board/pc/barebox.config diff --git a/buildroot-external/board/intel/nuc/hassos-hook.sh b/buildroot-external/board/pc/generic-x86-64/hassos-hook.sh similarity index 100% rename from buildroot-external/board/intel/nuc/hassos-hook.sh rename to buildroot-external/board/pc/generic-x86-64/hassos-hook.sh diff --git a/buildroot-external/board/intel/nuc/kernel.config b/buildroot-external/board/pc/generic-x86-64/kernel.config similarity index 100% rename from buildroot-external/board/intel/nuc/kernel.config rename to buildroot-external/board/pc/generic-x86-64/kernel.config diff --git a/buildroot-external/board/intel/nuc/meta b/buildroot-external/board/pc/generic-x86-64/meta similarity index 57% rename from buildroot-external/board/intel/nuc/meta rename to buildroot-external/board/pc/generic-x86-64/meta index 330e8ed3a..c7c3cdfae 100644 --- a/buildroot-external/board/intel/nuc/meta +++ b/buildroot-external/board/pc/generic-x86-64/meta @@ -1,10 +1,10 @@ -BOARD_ID=intel-nuc -BOARD_NAME="Intel NUC" +BOARD_ID=generic-x86-64 +BOARD_NAME="Generic x86-64" CHASSIS=embedded BOOTLOADER=barebox KERNEL_FILE=bzImage BOOT_SYS=efi BOOT_SPL=false DISK_SIZE=6 -SUPERVISOR_MACHINE=intel-nuc +SUPERVISOR_MACHINE=generic-x86-64 SUPERVISOR_ARCH=amd64 diff --git a/buildroot-external/board/intel/ova/hassos-hook.sh b/buildroot-external/board/pc/ova/hassos-hook.sh similarity index 100% rename from buildroot-external/board/intel/ova/hassos-hook.sh rename to buildroot-external/board/pc/ova/hassos-hook.sh diff --git a/buildroot-external/board/intel/ova/home-assistant.ovf b/buildroot-external/board/pc/ova/home-assistant.ovf similarity index 100% rename from buildroot-external/board/intel/ova/home-assistant.ovf rename to buildroot-external/board/pc/ova/home-assistant.ovf diff --git a/buildroot-external/board/intel/ova/kernel.config b/buildroot-external/board/pc/ova/kernel.config similarity index 100% rename from buildroot-external/board/intel/ova/kernel.config rename to buildroot-external/board/pc/ova/kernel.config diff --git a/buildroot-external/board/intel/ova/meta b/buildroot-external/board/pc/ova/meta similarity index 100% rename from buildroot-external/board/intel/ova/meta rename to buildroot-external/board/pc/ova/meta diff --git a/buildroot-external/board/intel/patches/dt-utils/0001-barebox-state-get-devicetree-from-file.patch b/buildroot-external/board/pc/patches/dt-utils/0001-barebox-state-get-devicetree-from-file.patch similarity index 100% rename from buildroot-external/board/intel/patches/dt-utils/0001-barebox-state-get-devicetree-from-file.patch rename to buildroot-external/board/pc/patches/dt-utils/0001-barebox-state-get-devicetree-from-file.patch diff --git a/buildroot-external/board/intel/patches/dt-utils/0002-libdt-support-finding-devices-by-partuuid.patch b/buildroot-external/board/pc/patches/dt-utils/0002-libdt-support-finding-devices-by-partuuid.patch similarity index 100% rename from buildroot-external/board/intel/patches/dt-utils/0002-libdt-support-finding-devices-by-partuuid.patch rename to buildroot-external/board/pc/patches/dt-utils/0002-libdt-support-finding-devices-by-partuuid.patch diff --git a/buildroot-external/board/intel/patches/dt-utils/0003-state-use-run-to-store-lockfile.patch b/buildroot-external/board/pc/patches/dt-utils/0003-state-use-run-to-store-lockfile.patch similarity index 100% rename from buildroot-external/board/intel/patches/dt-utils/0003-state-use-run-to-store-lockfile.patch rename to buildroot-external/board/pc/patches/dt-utils/0003-state-use-run-to-store-lockfile.patch diff --git a/buildroot-external/board/intel/patches/rauc/0001-add-i-argument-to.patch b/buildroot-external/board/pc/patches/rauc/0001-add-i-argument-to.patch similarity index 100% rename from buildroot-external/board/intel/patches/rauc/0001-add-i-argument-to.patch rename to buildroot-external/board/pc/patches/rauc/0001-add-i-argument-to.patch diff --git a/buildroot-external/configs/intel_nuc_defconfig b/buildroot-external/configs/generic_x86_64_defconfig similarity index 92% rename from buildroot-external/configs/intel_nuc_defconfig rename to buildroot-external/configs/generic_x86_64_defconfig index b240f0043..ec7993ab3 100644 --- a/buildroot-external/configs/intel_nuc_defconfig +++ b/buildroot-external/configs/generic_x86_64_defconfig @@ -2,7 +2,7 @@ BR2_x86_64=y BR2_DL_DIR="/cache/dl" BR2_CCACHE=y BR2_CCACHE_DIR="/cache/cc" -BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL_HASSOS_PATH)/patches $(BR2_EXTERNAL_HASSOS_PATH)/board/intel/patches" +BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL_HASSOS_PATH)/patches $(BR2_EXTERNAL_HASSOS_PATH)/board/pc/patches" BR2_TOOLCHAIN_BUILDROOT_GLIBC=y BR2_GCC_VERSION_9_X=y BR2_OPTIMIZE_2=y @@ -19,12 +19,12 @@ BR2_TARGET_GENERIC_GETTY_PORT="tty1" 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/intel/nuc $(BR2_EXTERNAL_HASSOS_PATH)/board/intel/nuc/hassos-hook.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL_HASSOS_PATH)/board/pc/generic-x86-64 $(BR2_EXTERNAL_HASSOS_PATH)/board/pc/generic-x86-64/hassos-hook.sh" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.17" 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_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/pc/generic-x86-64/kernel.config" BR2_LINUX_KERNEL_LZ4=y BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF=y @@ -92,7 +92,7 @@ BR2_TARGET_BAREBOX=y BR2_TARGET_BAREBOX_CUSTOM_VERSION=y BR2_TARGET_BAREBOX_CUSTOM_VERSION_VALUE="2020.04.0" BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y -BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_HASSOS_PATH)/board/intel/barebox.config" +BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_HASSOS_PATH)/board/pc/barebox.config" BR2_TARGET_BAREBOX_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/bootloader/barebox.config" BR2_TARGET_BAREBOX_CUSTOM_EMBEDDED_ENV_PATH="$(BR2_EXTERNAL_HASSOS_PATH)/bootloader/barebox" BR2_PACKAGE_HOST_DOSFSTOOLS=y @@ -102,7 +102,7 @@ BR2_PACKAGE_HOST_MTOOLS=y BR2_PACKAGE_HOST_RAUC=y BR2_PACKAGE_HASSIO=y BR2_PACKAGE_HASSIO_ARCH="amd64" -BR2_PACKAGE_HASSIO_MACHINE="intel-nuc" +BR2_PACKAGE_HASSIO_MACHINE="generic-x86-64" BR2_PACKAGE_APPARMOR=y BR2_PACKAGE_APPARMOR_PROFILES=y BR2_PACKAGE_INTEL_E1000E=y diff --git a/buildroot-external/configs/ova_defconfig b/buildroot-external/configs/ova_defconfig index bf57d849c..a6fccf2c9 100644 --- a/buildroot-external/configs/ova_defconfig +++ b/buildroot-external/configs/ova_defconfig @@ -2,7 +2,7 @@ BR2_x86_64=y BR2_DL_DIR="/cache/dl" BR2_CCACHE=y BR2_CCACHE_DIR="/cache/cc" -BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL_HASSOS_PATH)/patches $(BR2_EXTERNAL_HASSOS_PATH)/board/intel/patches" +BR2_GLOBAL_PATCH_DIR="$(BR2_EXTERNAL_HASSOS_PATH)/patches $(BR2_EXTERNAL_HASSOS_PATH)/board/pc/patches" BR2_TOOLCHAIN_BUILDROOT_GLIBC=y BR2_GCC_VERSION_9_X=y BR2_OPTIMIZE_2=y @@ -20,12 +20,12 @@ BR2_TARGET_GENERIC_GETTY_PORT="tty1" 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/intel/ova $(BR2_EXTERNAL_HASSOS_PATH)/board/intel/ova/hassos-hook.sh" +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_EXTERNAL_HASSOS_PATH)/board/pc/ova $(BR2_EXTERNAL_HASSOS_PATH)/board/pc/ova/hassos-hook.sh" BR2_LINUX_KERNEL=y BR2_LINUX_KERNEL_CUSTOM_VERSION=y BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="5.10.17" 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_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/pc/ova/kernel.config" BR2_LINUX_KERNEL_LZ4=y BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF=y @@ -83,7 +83,7 @@ BR2_TARGET_BAREBOX=y BR2_TARGET_BAREBOX_CUSTOM_VERSION=y BR2_TARGET_BAREBOX_CUSTOM_VERSION_VALUE="2020.04.0" BR2_TARGET_BAREBOX_USE_CUSTOM_CONFIG=y -BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_HASSOS_PATH)/board/intel/barebox.config" +BR2_TARGET_BAREBOX_CUSTOM_CONFIG_FILE="$(BR2_EXTERNAL_HASSOS_PATH)/board/pc/barebox.config" BR2_TARGET_BAREBOX_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/bootloader/barebox.config" BR2_TARGET_BAREBOX_CUSTOM_EMBEDDED_ENV_PATH="$(BR2_EXTERNAL_HASSOS_PATH)/bootloader/barebox" BR2_PACKAGE_HOST_DOSFSTOOLS=y diff --git a/scripts/update-kernel-upstream.sh b/scripts/update-kernel-upstream.sh index d86b6c1a6..61a6600f4 100755 --- a/scripts/update-kernel-upstream.sh +++ b/scripts/update-kernel-upstream.sh @@ -6,6 +6,6 @@ if [ -z "$1" ]; then exit 1 fi -sed -i "s/BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=\".*\"/BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=\"$1\"/g" buildroot-external/configs/{intel_nuc,ova,tinker,odroid*}_defconfig -sed -i "s/| \(Open Virtual Appliance\|Intel NUC\|Tinker Board\|Odroid-.*\) | .* |/| \1 | $1 |/g" Documentation/kernel.md +sed -i "s/BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=\".*\"/BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE=\"$1\"/g" buildroot-external/configs/{generic_x86,ova,tinker,odroid*}_defconfig +sed -i "s/| \(Open Virtual Appliance\|Generic x86-64\|Tinker Board\|Odroid-.*\) | .* |/| \1 | $1 |/g" Documentation/kernel.md git commit -m "Linux: Update kernel $1" buildroot-external/configs/* Documentation/kernel.md