From f3256cdaf256d73be33fe96693cf854d9695611f Mon Sep 17 00:00:00 2001 From: domenico Date: Tue, 24 Jun 2025 16:03:39 +0200 Subject: [PATCH] Initial commit --- .gitattributes | 1 + .github/issue_template | 13 + .github/pull_request_template | 8 + .gitignore | 30 + BSDmakefile | 7 + Config.in | 34 + LICENSE | 340 + Makefile | 124 + README | 34 + config/Config-build.in | 312 + config/Config-devel.in | 126 + config/Config-images.in | 289 + config/Config-kernel.in | 855 + feeds.conf.default | 5 + include/autotools.mk | 172 + include/cmake.mk | 130 + include/debug.mk | 51 + include/depends.mk | 54 + include/device_table.txt | 5 + include/download.mk | 326 + include/feeds.mk | 48 + include/hardened-ld-pie.specs | 2 + include/hardening.mk | 57 + include/host-build.mk | 213 + include/image-commands.mk | 382 + include/image-legacy.mk | 93 + include/image.mk | 666 + include/kernel-build.mk | 180 + include/kernel-defaults.mk | 164 + include/kernel-version.mk | 39 + include/kernel.mk | 304 + include/netfilter.mk | 414 + include/nls.mk | 40 + include/package-bin.mk | 43 + include/package-defaults.mk | 164 + include/package-dumpinfo.mk | 61 + include/package-ipkg.mk | 273 + include/package-seccomp.mk | 15 + include/package.mk | 355 + include/prereq-build.mk | 154 + include/prereq.mk | 121 + include/quilt.mk | 183 + include/rootfs.mk | 102 + include/scan.awk | 19 + include/scan.mk | 116 + include/scons.mk | 23 + include/shell.sh | 15 + include/site/aarch64 | 30 + include/site/aarch64_be | 30 + include/site/arc | 30 + include/site/arm | 30 + include/site/armeb | 30 + include/site/darwin | 2 + include/site/i386 | 3 + include/site/i486 | 30 + include/site/i686 | 3 + include/site/linux | 78 + include/site/m68k | 28 + include/site/mips | 30 + include/site/mips64 | 30 + include/site/mips64el | 30 + include/site/mipsel | 30 + include/site/powerpc | 30 + include/site/powerpc64 | 26 + include/site/sparc | 30 + include/site/x86_64 | 30 + include/subdir.mk | 107 + include/target.mk | 308 + include/toolchain-build.mk | 26 + include/toplevel.mk | 266 + include/u-boot.mk | 104 + include/uclibc++.mk | 16 + include/unpack.mk | 71 + include/verbose.mk | 67 + include/version.mk | 111 + package/Makefile | 111 + package/base-files/Makefile | 207 + package/base-files/files/bin/board_detect | 14 + package/base-files/files/bin/config_generate | 453 + package/base-files/files/bin/ipcalc.sh | 71 + package/base-files/files/etc/banner | 8 + package/base-files/files/etc/banner.failsafe | 15 + .../files/etc/board.d/99-default_network | 17 + package/base-files/files/etc/device_info | 4 + package/base-files/files/etc/diag.sh | 50 + package/base-files/files/etc/ethers | 6 + package/base-files/files/etc/fstab | 1 + package/base-files/files/etc/group | 11 + package/base-files/files/etc/hosts | 5 + .../files/etc/hotplug.d/net/00-sysctl | 9 + package/base-files/files/etc/init.d/boot | 51 + package/base-files/files/etc/init.d/done | 17 + .../base-files/files/etc/init.d/gpio_switch | 48 + package/base-files/files/etc/init.d/led | 140 + package/base-files/files/etc/init.d/sysctl | 44 + .../base-files/files/etc/init.d/sysfixtime | 34 + package/base-files/files/etc/init.d/system | 46 + package/base-files/files/etc/init.d/umount | 13 + package/base-files/files/etc/inittab | 3 + .../base-files/files/etc/iproute2/ematch_map | 8 + .../base-files/files/etc/iproute2/rt_protos | 18 + .../base-files/files/etc/iproute2/rt_tables | 12 + package/base-files/files/etc/openwrt_release | 7 + package/base-files/files/etc/openwrt_version | 1 + package/base-files/files/etc/os-release | 1 + package/base-files/files/etc/passwd | 5 + package/base-files/files/etc/preinit | 29 + package/base-files/files/etc/profile | 59 + package/base-files/files/etc/protocols | 57 + .../base-files/files/etc/rc.button/failsafe | 5 + package/base-files/files/etc/rc.button/power | 7 + package/base-files/files/etc/rc.button/reboot | 12 + package/base-files/files/etc/rc.button/reset | 31 + package/base-files/files/etc/rc.button/rfkill | 32 + package/base-files/files/etc/rc.common | 155 + package/base-files/files/etc/rc.local | 4 + package/base-files/files/etc/services | 173 + package/base-files/files/etc/shadow | 5 + package/base-files/files/etc/shells | 1 + package/base-files/files/etc/sysctl.conf | 1 + .../files/etc/sysctl.d/10-default.conf | 27 + package/base-files/files/etc/sysupgrade.conf | 5 + .../files/etc/uci-defaults/10_migrate-shadow | 12 + .../etc/uci-defaults/12_network-generate-ula | 15 + .../files/etc/uci-defaults/13_fix_group_user | 11 + package/base-files/files/lib/functions.sh | 361 + .../base-files/files/lib/functions/leds.sh | 75 + .../files/lib/functions/migrations.sh | 39 + .../base-files/files/lib/functions/network.sh | 311 + .../base-files/files/lib/functions/preinit.sh | 88 + .../base-files/files/lib/functions/service.sh | 103 + .../base-files/files/lib/functions/system.sh | 150 + .../files/lib/functions/uci-defaults.sh | 612 + .../files/lib/preinit/02_default_set_state | 7 + .../base-files/files/lib/preinit/02_sysinfo | 10 + .../files/lib/preinit/10_indicate_failsafe | 18 + .../files/lib/preinit/10_indicate_preinit | 155 + .../files/lib/preinit/30_failsafe_wait | 100 + .../files/lib/preinit/40_run_failsafe_hook | 17 + .../lib/preinit/50_indicate_regular_preinit | 10 + .../files/lib/preinit/70_initramfs_test | 13 + .../files/lib/preinit/80_mount_root | 15 + .../files/lib/preinit/99_10_failsafe_login | 21 + .../files/lib/preinit/99_10_run_init | 9 + .../base-files/files/lib/upgrade/common.sh | 241 + .../base-files/files/lib/upgrade/do_stage2 | 25 + .../base-files/files/lib/upgrade/fwtool.sh | 65 + .../lib/upgrade/keep.d/base-files-essential | 10 + package/base-files/files/lib/upgrade/nand.sh | 323 + package/base-files/files/lib/upgrade/stage2 | 137 + package/base-files/files/rom/note | 3 + package/base-files/files/sbin/firstboot | 3 + package/base-files/files/sbin/hotplug-call | 18 + package/base-files/files/sbin/led.sh | 25 + package/base-files/files/sbin/pkg_check | 130 + package/base-files/files/sbin/sysupgrade | 377 + package/base-files/files/sbin/wifi | 246 + package/base-files/files/usr/lib/os-release | 18 + package/base-files/files/usr/libexec/login.sh | 5 + .../files/usr/libexec/validate_firmware_image | 66 + package/base-files/image-config.in | 277 + package/boot/apex/Makefile | 62 + .../boot/apex/patches/001-compile_fix.patch | 20 + .../100-openwrt_nslu2_armeb_config.patch | 23 + .../120-openwrt_nslu2_16mb_armeb_config.patch | 23 + .../140-openwrt_fsg3_armeb_config.patch | 23 + .../apex/patches/150-limit_ram_to_64mb.patch | 22 + .../160-openwrt_nas100d_armeb_config.patch | 20 + .../boot/arm-trusted-firmware-sunxi/Makefile | 51 + package/boot/at91bootstrap/Makefile | 129 + package/boot/at91bootstrap/at91bootstrap.mk | 88 + package/boot/fconfig/Makefile | 38 + package/boot/grub2/Makefile | 93 + ...ix-packed-not-aligned-error-on-GCC-8.patch | 71 + .../grub2/patches/100-grub_setup_root.patch | 118 + ...-disable-gettext-check-macro-version.patch | 13 + .../grub2/patches/200-fix-gets-removal.patch | 16 + .../grub2/patches/300-CVE-2015-8370.patch | 40 + .../grub2/patches/400-R_X86_64_PLT32.patch | 75 + package/boot/imx-bootlets/Makefile | 42 + .../patches/001-skip_sb_generation.patch | 18 + .../patches/002-set_elftosb_config.patch | 17 + .../patches/003-add-olinuxino.patch | 150 + package/boot/kexec-tools/Config.in | 14 + package/boot/kexec-tools/Makefile | 136 + package/boot/kexec-tools/files/kdump.config | 7 + package/boot/kexec-tools/files/kdump.defaults | 11 + package/boot/kexec-tools/files/kdump.init | 184 + package/boot/kobs-ng/Makefile | 46 + .../boot/kobs-ng/patches/001-compile.patch | 24 + .../patches/002-add-init-size-param.patch | 45 + .../boot/kobs-ng/patches/003-raw-mode.patch | 45 + .../patches/004-fix-cal_nfc_geometry.patch | 27 + package/boot/rbcfg/Makefile | 47 + package/boot/rbcfg/src/Makefile | 14 + package/boot/rbcfg/src/cyg_crc.h | 109 + package/boot/rbcfg/src/cyg_crc32.c | 172 + package/boot/rbcfg/src/main.c | 922 + package/boot/rbcfg/src/rbcfg.h | 85 + package/boot/tfa-layerscape/Makefile | 161 + .../patches/001-fiptool-hostbuild-fixes.patch | 71 + ...ix-a-makefile-bug-that-will-use-defa.patch | 30 + ...ix-create_pbl-and-byte_swap-host-bui.patch | 60 + package/boot/uboot-ar71xx/Makefile | 33 + ...oot-build-support-using-SOURCE_DATE_.patch | 82 + ...le-Reproducible-U-Boot-build-support.patch | 31 + .../uboot-ar71xx/patches/001-ar71xx.patch | 26 + .../uboot-ar71xx/patches/002-ar71xx-spi.patch | 11 + .../patches/010-enet-ag71xx.patch | 22 + .../patches/011-switch-rtl8366sr.patch | 28 + .../patches/020-freebsd-compat.patch | 11 + .../patches/021-darwin_compat.patch | 23 + .../patches/022-getline_backport.patch | 21 + .../patches/023-musl-compat.patch | 13 + .../patches/030-no_examples.patch | 13 + .../patches/040-no_extern_inline.patch | 112 + .../patches/041-no_weak_alias.patch | 12 + .../src/board/zyxel/nbg460n/Makefile | 46 + .../src/board/zyxel/nbg460n/config.mk | 1 + .../src/board/zyxel/nbg460n/lowlevel_init.S | 39 + .../src/board/zyxel/nbg460n/nbg460n.c | 96 + .../src/board/zyxel/nbg460n/u-boot.lds | 42 + .../uboot-ar71xx/src/cpu/mips/ar71xx_serial.c | 177 + .../uboot-ar71xx/src/drivers/net/ag71xx.c | 809 + .../uboot-ar71xx/src/drivers/net/ag71xx.h | 374 + .../src/drivers/net/phy/rtl8366.h | 188 + .../src/drivers/net/phy/rtl8366_mii.c | 786 + .../uboot-ar71xx/src/drivers/spi/ar71xx_spi.c | 191 + .../src/include/asm-mips/ar71xx.h | 515 + .../src/include/asm-mips/ar71xx_gpio.h | 65 + .../src/include/configs/nbg460n.h | 136 + package/boot/uboot-at91/Makefile | 131 + package/boot/uboot-envtools/Makefile | 78 + package/boot/uboot-envtools/files/apm821xx | 29 + package/boot/uboot-envtools/files/ar71xx | 115 + package/boot/uboot-envtools/files/ath79 | 47 + package/boot/uboot-envtools/files/cns3xxx | 27 + package/boot/uboot-envtools/files/imx6 | 39 + package/boot/uboot-envtools/files/ipq40xx | 54 + package/boot/uboot-envtools/files/ipq806x | 52 + package/boot/uboot-envtools/files/kirkwood | 34 + package/boot/uboot-envtools/files/lantiq | 38 + package/boot/uboot-envtools/files/layerscape | 25 + package/boot/uboot-envtools/files/mpc85xx | 22 + package/boot/uboot-envtools/files/mvebu | 55 + package/boot/uboot-envtools/files/mxs | 25 + package/boot/uboot-envtools/files/oxnas | 28 + package/boot/uboot-envtools/files/pistachio | 27 + package/boot/uboot-envtools/files/ramips | 45 + .../uboot-envtools/files/uboot-envtools.sh | 36 + .../uboot-envtools/patches/001-compile.patch | 16 + package/boot/uboot-fritz4040/Makefile | 77 + package/boot/uboot-imx6/Makefile | 91 + ...s-Make-the-boot-process-more-generic.patch | 123 + .../patches/100-wandboard-enable-fit.patch | 17 + .../patches/110-mx6cuboxi-mmc-fallback.patch | 26 + package/boot/uboot-kirkwood/Makefile | 126 + ...d-disable-dcache-for-Kirkwood-boards.patch | 38 + .../patches/007-nsa310-uboot-generic.patch | 668 + .../patches/008-nsa325-uboot-generic.patch | 655 + .../patches/010-pogoplug_v4.patch | 1526 + .../uboot-kirkwood/patches/110-dockstar.patch | 57 + .../uboot-kirkwood/patches/120-iconnect.patch | 50 + .../uboot-kirkwood/patches/130-ib62x0.patch | 40 + .../patches/140-pogoplug_e02.patch | 46 + .../patches/150-goflexhome.patch | 35 + .../patches/200-openwrt-config.patch | 166 + package/boot/uboot-lantiq/Makefile | 390 + package/boot/uboot-lantiq/README | 6 + ...der-calls-for-spi_claim_bus-and-spi_.patch | 170 + ...use-debug-for-warning-error-messages.patch | 49 + ...lloc-of-spi_flash-to-spi_flash_probe.patch | 110 + ...4-sf-add-slim-probe-funtions-for-SPL.patch | 80 + ...iom-of-address-bytes-completely-conf.patch | 134 + ...sf-add-support-for-4-byte-addressing.patch | 160 + .../0007-sf-add-support-for-EN25QH256.patch | 17 + ...yout-of-S25FL256S_256K-and-S25FL512S.patch | 21 + ...d-framework-for-ethernet-switch-driv.patch | 244 + ...d-driver-for-Lantiq-PSB697X-switch-f.patch | 161 + ...d-driver-for-Lantiq-ADM6996I-switch-.patch | 157 + ...tchlib-add-driver-for-Atheros-AR8216.patch | 157 + ...chlib-add-driver-for-REALTEK-RTL8306.patch | 375 + ...IPS-add-support-for-Lantiq-XWAY-SoCs.patch | 8707 + ...support-for-Lantiq-XWAY-ARX100-SoC-f.patch | 1229 + ...driver-for-Lantiq-XWAY-ARX100-switch.patch | 546 + ...dd-some-helper-tools-for-Lantiq-SoCs.patch | 477 + ...18-tools-lantiq-add-NAND-SPL-support.patch | 223 + ...-Makefile-add-Lantiq-NAND-SPL-images.patch | 46 + ...020-MIPS-lantiq-add-NAND-SPL-support.patch | 165 + ...021-MIPS-vrx200-add-NAND-SPL-support.patch | 30 + ...PS-lantiq-add-default-openwrt-config.patch | 51 + .../patches/0023-lzma-fixup.patch | 39 + ...pare-u-boot-lantiq-v2013.10-openwrt4.patch | 18 + .../patches/0025-arx100-cgu-fixes.patch | 148 + .../patches/0026-no_extern_inline.patch | 97 + .../patches/0027-no_weak_alias.patch | 26 + .../patches/0028-gcc-compat.patch | 852 + ...Use_packed_structures-for_networking.patch | 142 + ...IPS-add-board-support-for-Easy-50712.patch | 306 + ...IPS-add-board-support-for-Easy-80920.patch | 379 + ...board-support-for-Arcadyan-ARV4519PW.patch | 244 + ...board-support-for-Arcadyan-ARV7518PW.patch | 244 + ...-board-support-for-AudioCodes-MP-252.patch | 250 + ...-board-support-for-AVM-FritzBox-3370.patch | 356 + ...-add-board-support-for-Gigaset-SX76X.patch | 249 + ...board-support-for-ZyXEL-P-2812HNU-Fx.patch | 303 + ...board-support-for-Arcadyan-ARV752DPW.patch | 244 + ...ard-support-for-Arcadyan-ARV752DPW22.patch | 246 + ...board-support-for-Arcadyan-ARV7510PW.patch | 271 + ...ard-support-for-Arcadyan-ARV7510PW22.patch | 240 + ...ard-support-for-Arcadyan-VGV7510KW22.patch | 307 + ...ard-support-for-Arcadyan-ARV8539PW22.patch | 241 + ...d-board-support-for-Arcadyan-VGV7519.patch | 290 + ...ard-support-for-Arcadyan-ARV7506PW11.patch | 277 + ...add-board-support-for-BT-Home-Hub-5A.patch | 344 + .../patches/100-portability.patch | 18 + .../patches/200-fix-dtc-header-guard.patch | 19 + package/boot/uboot-layerscape/Makefile | 130 + .../files/ls1012afrwy-uEnv.txt | 8 + .../files/ls1012ardb-uEnv.txt | 8 + .../files/ls1021aiot-sdboot-uEnv.txt | 8 + .../files/ls1021atwr-sdboot-uEnv.txt | 8 + .../files/ls1021atwr-uEnv.txt | 8 + .../files/ls1043ardb-sdboot-uEnv.txt | 9 + .../files/ls1043ardb-uEnv.txt | 9 + .../files/ls1046ardb-sdboot-uEnv.txt | 9 + .../files/ls1046ardb-uEnv.txt | 9 + .../files/ls1088ardb-sdboot-uEnv.txt | 10 + .../files/ls1088ardb-uEnv.txt | 10 + .../files/ls2088ardb-uEnv.txt | 10 + ...I_NOR_BOOTCOMMAND-of-ls1046ardb-for-.patch | 28 + ...I_NOR_BOOTCOMMAND-of-ls1012afrwy-for.patch | 28 + ...I_NOR_BOOTCOMMAND-of-ls1012ardb-for-.patch | 28 + package/boot/uboot-mvebu/Makefile | 50 + .../patches/210-link-libcrypto-static.patch | 14 + package/boot/uboot-mxs/Makefile | 48 + .../patches/001-add-i2se-duckbill.patch | 703 + .../patches/210-link-libcrypto-static.patch | 14 + package/boot/uboot-omap/Makefile | 57 + .../boot/uboot-omap/files/uEnv-default.txt | 8 + .../patches/101-disable-thumb-omap3.patch | 14 + .../uboot-omap/patches/102-minify-spl.patch | 44 + .../patches/103-disable-fat-write-spl.patch | 27 + .../104-omap3-overo-enable-thumb.patch | 18 + ...6550-bugfix-ns16550-fifo-not-enabled.patch | 309 + ...stream-b08c8c4870831c9315dcae2377722.patch | 3092 + ...include-necessary-headers-explicitly.patch | 75 + package/boot/uboot-oxnas/Makefile | 36 + .../patches/010-capacity-is-unsigned.patch | 37 + .../020-socfpgaimage_portability.patch | 52 + .../uboot-oxnas/patches/150-spl-block.patch | 54 + .../uboot-oxnas/patches/200-icplus-phy.patch | 142 + .../patches/300-oxnas-target.patch | 101 + .../patches/400-gcc-5-compiler.patch | 87 + .../patches/410-gcc-6-compiler.patch | 306 + .../patches/420-gcc-7-compiler.patch | 287 + .../patches/800-fix-bootm-assertion.patch | 11 + .../src/arch/arm/cpu/arm1136/nas782x/Makefile | 13 + .../src/arch/arm/cpu/arm1136/nas782x/clock.c | 97 + .../src/arch/arm/cpu/arm1136/nas782x/pinmux.c | 43 + .../src/arch/arm/cpu/arm1136/nas782x/reset.c | 91 + .../src/arch/arm/cpu/arm1136/nas782x/timer.c | 129 + .../arch/arm/include/asm/arch-nas782x/clock.h | 84 + .../arch/arm/include/asm/arch-nas782x/cpu.h | 26 + .../arm/include/asm/arch-nas782x/hardware.h | 30 + .../arm/include/asm/arch-nas782x/pinmux.h | 46 + .../arch/arm/include/asm/arch-nas782x/spl.h | 6 + .../arm/include/asm/arch-nas782x/sysctl.h | 125 + .../arch/arm/include/asm/arch-nas782x/timer.h | 23 + .../boot/uboot-oxnas/src/board/ox820/Kconfig | 15 + .../uboot-oxnas/src/board/ox820/MAINTAINERS | 6 + .../boot/uboot-oxnas/src/board/ox820/Makefile | 15 + .../boot/uboot-oxnas/src/board/ox820/ddr.c | 477 + .../boot/uboot-oxnas/src/board/ox820/ddr.h | 148 + .../src/board/ox820/lowlevel_init.S | 20 + .../boot/uboot-oxnas/src/board/ox820/ox820.c | 374 + .../uboot-oxnas/src/board/ox820/spl_start.S | 21 + .../src/board/ox820/u-boot-spl.lds | 101 + .../boot/uboot-oxnas/src/common/env_ext4.c | 116 + .../uboot-oxnas/src/common/spl/spl_block.c | 236 + .../uboot-oxnas/src/configs/ox820_defconfig | 3 + .../src/drivers/block/plxsata_ide.c | 1170 + .../src/drivers/usb/host/ehci-oxnas.c | 105 + .../uboot-oxnas/src/include/configs/ox820.h | 384 + .../boot/uboot-oxnas/src/tools/mkox820crc.c | 123 + package/boot/uboot-sunxi/Makefile | 302 + .../patches/002-add-olimex-a13-som.patch | 20 + .../003-add-theobroma-a31-pangolin.patch | 375 + .../patches/062-A20-improve-gmac-upload.patch | 12 + .../063-fix-lime2-revK-add-micrel-PHY.patch | 44 + ...1-sun6i-sync-PLL1-multdiv-with-Boot1.patch | 32 + .../093-sun6i-fix-PLL-LDO-voltselect.patch | 69 + .../100-sun6i-alternate-on-UART2.patch | 16 + .../101-sun6i-support-console-on-UART2.patch | 30 + ...2-sunxi-make_CONS_INDEX-configurable.patch | 23 + ...-environment-for-dtc-binary-location.patch | 35 + .../patches/210-sunxi-deactivate-binman.patch | 37 + .../patches/221-compatible-old-dtc.patch | 52 + .../230-disable-axp209-on-a13-olinuxino.diff | 19 + ...ge-Pi-Zero-Plus-Fix-SdCard-detection.patch | 28 + package/boot/uboot-sunxi/uEnv-a64.txt | 5 + package/boot/uboot-sunxi/uEnv-default.txt | 6 + package/boot/uboot-sunxi/uEnv-pangolin.txt | 6 + package/boot/uboot-tegra/Makefile | 64 + package/boot/uboot-zynq/Makefile | 65 + .../boot/uboot-zynq/files/uEnv-default.txt | 1 + ...q-dts-add-spi-flash-node-to-zedboard.patch | 38 + ...nq-add-support-for-the-zybo-z7-board.patch | 499 + ...ad-mac-address-from-SPI-flash-memory.patch | 107 + .../patches/210-link-libcrypto-static.patch | 14 + package/devel/binutils/Makefile | 127 + ...-compiler-sanitization-flags-on-to-l.patch | 65 + ...rget-binaries-ensure-that-the-warnin.patch | 1258 + package/devel/gdb-arc/Makefile | 94 + .../patches/100-no_extern_inline.patch | 32 + .../gdb-arc/patches/110-no_testsuite.patch | 21 + .../120-fix-compile-flag-mismatch.patch | 11 + package/devel/gdb/Makefile | 88 + .../001-gdb-pr14523-mips-signal-number.patch | 16 + .../gdb/patches/010-aarch64-headers.patch | 38 + package/devel/gdb/patches/100-musl_fix.patch | 53 + .../devel/gdb/patches/110-shared_libgcc.patch | 76 + .../120-sigprocmask-invalid-call.patch | 38 + package/devel/perf/Makefile | 77 + package/devel/strace/Makefile | 87 + package/devel/trace-cmd/Makefile | 60 + .../patches/110-mac80211_tracepoint.patch | 24 + package/devel/valgrind/Makefile | 185 + package/devel/valgrind/files/default.supp | 42 + .../patches/100-fix_configure_check.patch | 11 + .../patches/130-fix_arm_arch_detection.patch | 17 + package/firmware/am33x-cm3/Makefile | 42 + package/firmware/amd64-microcode/Makefile | 45 + package/firmware/ath10k-ct-firmware/Makefile | 524 + package/firmware/ath10k-firmware/Makefile | 182 + package/firmware/b43legacy-firmware/Makefile | 72 + package/firmware/brcmfmac-board-rpi/Makefile | 88 + package/firmware/intel-microcode/Makefile | 49 + package/firmware/ipq-wifi/Makefile | 110 + .../ipq-wifi/board-alfa-network_ap120c-ac.bin | Bin 0 -> 24304 bytes .../ipq-wifi/board-asus_map-ac2200.bin | 1 + .../ipq-wifi/board-avm_fritzbox-7530.bin | Bin 0 -> 24324 bytes .../board-avm_fritzrepeater-1200.qca4019 | Bin 0 -> 24332 bytes .../ipq-wifi/board-avm_fritzrepeater-3000.bin | Bin 0 -> 24332 bytes .../ipq-wifi/board-engenius_eap1300.bin | Bin 0 -> 24324 bytes .../ipq-wifi/board-engenius_ens620ext.bin | Bin 0 -> 24324 bytes .../ipq-wifi/board-linksys_ea6350v3.bin | Bin 0 -> 24324 bytes .../ipq-wifi/board-linksys_ea8300.qca4019 | Bin 0 -> 97236 bytes .../ipq-wifi/board-linksys_ea8300.qca9888 | Bin 0 -> 48628 bytes .../firmware/ipq-wifi/board-map-ac2200.bin | Bin 0 -> 24324 bytes .../ipq-wifi/board-qxwlan-e2600ac.bin | Bin 0 -> 36464 bytes .../ipq-wifi/board-qxwlan_e2600ac.bin | 1 + package/firmware/ixp4xx-microcode/Makefile | 59 + .../ixp4xx-microcode/src/IxNpeMicrocode.h | 148 + .../firmware/ixp4xx-microcode/src/LICENSE.IPL | 27 + .../lantiq/dsl-vrx200-firmware-xdsl/Makefile | 131 + .../firmware/layerscape/fman-ucode/Makefile | 51 + package/firmware/layerscape/ls-dpl/Makefile | 57 + package/firmware/layerscape/ls-mc/Makefile | 51 + package/firmware/layerscape/ls-rcw/Makefile | 105 + ...ort-byte-swapping-without-tclsh-tool.patch | 82 + .../layerscape/ppfe-firmware/Makefile | 50 + package/firmware/linux-firmware/Makefile | 36 + package/firmware/linux-firmware/amdgpu.mk | 9 + package/firmware/linux-firmware/broadcom.mk | 102 + package/firmware/linux-firmware/cis.mk | 10 + package/firmware/linux-firmware/edgeport.mk | 12 + package/firmware/linux-firmware/intel.mk | 178 + package/firmware/linux-firmware/marvell.mk | 65 + package/firmware/linux-firmware/mediatek.mk | 43 + package/firmware/linux-firmware/qca.mk | 39 + package/firmware/linux-firmware/qca_ath10k.mk | 105 + package/firmware/linux-firmware/radeon.mk | 9 + package/firmware/linux-firmware/realtek.mk | 88 + package/firmware/linux-firmware/rsi.mk | 6 + package/firmware/linux-firmware/ti.mk | 38 + package/firmware/prism54-firmware/Makefile | 111 + package/firmware/vsc73x5-ucode/Makefile | 68 + package/firmware/vsc73x5-ucode/files/Makefile | 20 + package/firmware/wireless-regdb/Makefile | 32 + .../patches/500-world-regd-5GHz.patch | 16 + package/kernel/acx-mac80211/Makefile | 254 + .../acx-mac80211/patches/100-compat.patch | 16 + .../patches/200-initial-macaddr.patch | 29 + .../acx-mac80211/patches/300-api_sync.patch | 112 + package/kernel/ar7-atm/Config.in | 22 + package/kernel/ar7-atm/Makefile | 101 + .../090-no-date-time.patch | 11 + .../patches-D7.04.03.00/100-compile_fix.patch | 768 + .../110-interrupt_fix.patch | 37 + .../120-no_dumb_inline.patch | 11 + .../130-powercutback.patch | 44 + .../patches-D7.04.03.00/140-debug_mode.patch | 16 + .../150-tasklet_mode.patch | 11 + .../160-module-params.patch | 589 + .../170-bus_id_removal.patch | 19 + .../180-git_headers_include.patch | 39 + .../190-2.6.32_proc_fixes.patch | 92 + .../patches-D7.04.03.00/200-2.6.37_args.patch | 32 + .../210-3.3-remove-smp_lock.h.patch | 33 + .../220-3.10-update_proc_code.patch | 2945 + .../230-compile_fixes.patch | 44 + .../patches-D7.04.03.00/240-3.18_fixes.patch | 38 + .../patches-D7.04.03.00/250-4.1_fixes.patch | 20 + .../260-fix_function_signatures.patch | 63 + .../090-no-date-time.patch | 11 + .../patches-D7.05.01.00/100-compile_fix.patch | 808 + .../110-interrupt_fix.patch | 37 + .../120-no_dumb_inline.patch | 11 + .../130-powercutback.patch | 44 + .../patches-D7.05.01.00/140-debug_mode.patch | 16 + .../150-tasklet_mode.patch | 11 + .../160-module-params.patch | 675 + .../170-bus_id_removal.patch | 19 + .../180-git_headers_include.patch | 39 + .../190-2.6.32_proc_fixes.patch | 92 + .../patches-D7.05.01.00/200-2.6.37_args.patch | 32 + .../210-3.3-remove-smp_lock.h.patch | 33 + .../220-3.10-update_proc_code.patch | 3082 + .../patches-D7.05.01.00/240-3.18_fixes.patch | 38 + .../patches-D7.05.01.00/250-4.1_fixes.patch | 20 + .../260-fix_function_signatures.patch | 63 + package/kernel/ath10k-ct/Makefile | 121 + ...rt-for-configuring-management-packet.patch | 89 + ...ble-out-of-bound-access-of-ath10k_ra.patch | 66 + ...rect-multicast-broadcast-rate-settin.patch | 43 + ...64-ath10k-commit-rates-from-mac80211.patch | 37 + ...rolling-support-for-various-chipsets.patch | 606 + ...h10k-4.16-use-tpt-trigger-by-default.patch | 53 + ...ilable-channels-via-DT-ieee80211-fre.patch | 39 + ...0-0010-ath10k-limit-htt-rx-ring-size.patch | 28 + ...60-0011-ath10k-limit-pci-buffer-size.patch | 100 + package/kernel/avila-wdt/Makefile | 34 + package/kernel/avila-wdt/src/Makefile | 1 + package/kernel/avila-wdt/src/avila-wdt.c | 231 + package/kernel/brcm2708-gpu-fw/Makefile | 132 + package/kernel/broadcom-wl/Makefile | 184 + .../etc/hotplug.d/net/00-broadcom-wifi-detect | 5 + .../files/etc/hotplug.d/net/20-broadcom_wds | 61 + .../broadcom-wl/files/etc/init.d/wlunbind | 29 + .../broadcom-wl/files/lib/wifi/broadcom.sh | 480 + .../patches/003-compat-2.6.35.patch | 39 + .../patches/004-remove-pcmcia.patch | 22 + .../patches/005-fix-mem-leak-on-unload.patch | 31 + .../patches/006-generic-dma-api.patch | 88 + .../patches/007-use-glue-driver.patch | 188 + .../patches/008-fix_virtual_interfaces.patch | 132 + .../patches/009-fix_compile_3_2.patch | 27 + .../010-remove_irqf_samble_random.patch | 11 + .../patches/011-fix_compile_3_4.patch | 12 + .../broadcom-wl/patches/012-compat-3.10.patch | 47 + .../patches/013-interface-name.patch | 11 + .../patches/014-fix-band-reporting.patch | 41 + .../015-support-probe-of-wds-interfaces.patch | 11 + .../broadcom-wl/patches/020-musl-fixes.patch | 75 + .../patches/030-remove_devinit_devexit.patch | 74 + .../patches/040-remove_last_rx_usage.patch | 10 + .../patches/100-fix_nvram_two_devices.patch | 32 + .../patches/110-add_number_to_dev_name.patch | 11 + .../patches/120-fixup-mac-addresses.patch | 93 + .../patches/200-add_bcm_a8xx_support.patch | 12 + .../patches/910-fallback-sprom.patch | 78 + .../patches/912-pci-bus-nvram-hack.patch | 11 + .../913-avoid-dbe-on-ifs_ctl-readw-hack.patch | 12 + .../914-eliminate-date-time-error.patch | 21 + package/kernel/broadcom-wl/src/glue/Makefile | 17 + package/kernel/broadcom-wl/src/glue/wl_glue.c | 315 + package/kernel/broadcom-wl/src/glue/wl_glue.h | 22 + package/kernel/broadcom-wl/src/wlc.c | 1181 + package/kernel/button-hotplug/Makefile | 50 + package/kernel/button-hotplug/src/Kconfig | 2 + package/kernel/button-hotplug/src/Makefile | 1 + .../button-hotplug/src/button-hotplug.c | 344 + package/kernel/cryptodev-linux/Makefile | 58 + ...-dtc-Update-to-version-with-overlays.patch | 642 + package/kernel/gpio-button-hotplug/Makefile | 45 + .../kernel/gpio-button-hotplug/src/Makefile | 1 + .../src/gpio-button-hotplug.c | 747 + package/kernel/gpio-nct5104d/Makefile | 51 + package/kernel/gpio-nct5104d/src/Kconfig | 5 + package/kernel/gpio-nct5104d/src/Makefile | 1 + .../kernel/gpio-nct5104d/src/gpio-nct5104d.c | 462 + package/kernel/hwmon-gsc/Makefile | 29 + package/kernel/hwmon-gsc/src/Makefile | 1 + package/kernel/hwmon-gsc/src/gsc.c | 308 + package/kernel/i2c-gpio-custom/Makefile | 47 + package/kernel/i2c-gpio-custom/src/Kconfig | 10 + package/kernel/i2c-gpio-custom/src/Makefile | 1 + .../i2c-gpio-custom/src/i2c-gpio-custom.c | 207 + package/kernel/kmod-sched-cake/Makefile | 42 + package/kernel/lantiq/ltq-adsl-fw/Makefile | 57 + package/kernel/lantiq/ltq-adsl-mei/Makefile | 44 + .../kernel/lantiq/ltq-adsl-mei/src/Makefile | 13 + .../lantiq/ltq-adsl-mei/src/drv_mei_cpe.c | 2838 + .../ltq-adsl-mei/src/ifxmips_mei_interface.h | 728 + package/kernel/lantiq/ltq-adsl/Config.in | 5 + package/kernel/lantiq/ltq-adsl/Makefile | 93 + .../patches/020-not-leak-cflags.patch | 32 + .../ltq-adsl/patches/100-dsl_compat.patch | 1036 + .../patches/110-fix_status_polling_loop.patch | 11 + .../ltq-adsl/patches/120-platform.patch | 70 + .../ltq-adsl/patches/130-linux3.8.patch | 137 + .../ltq-adsl/patches/140-linux_3.18.patch | 30 + package/kernel/lantiq/ltq-atm/Makefile | 45 + package/kernel/lantiq/ltq-atm/src/Makefile | 23 + .../ltq-atm/src/ifxmips_atm_amazon_se.c | 334 + .../lantiq/ltq-atm/src/ifxmips_atm_ar9.c | 245 + .../lantiq/ltq-atm/src/ifxmips_atm_core.h | 247 + .../lantiq/ltq-atm/src/ifxmips_atm_danube.c | 232 + .../ltq-atm/src/ifxmips_atm_fw_amazon_se.h | 457 + .../lantiq/ltq-atm/src/ifxmips_atm_fw_ar9.h | 439 + .../ltq-atm/src/ifxmips_atm_fw_ar9_retx.h | 611 + .../ltq-atm/src/ifxmips_atm_fw_danube.h | 442 + .../ltq-atm/src/ifxmips_atm_fw_danube_retx.h | 612 + .../src/ifxmips_atm_fw_regs_amazon_se.h | 57 + .../ltq-atm/src/ifxmips_atm_fw_regs_ar9.h | 172 + .../ltq-atm/src/ifxmips_atm_fw_regs_common.h | 549 + .../ltq-atm/src/ifxmips_atm_fw_regs_danube.h | 51 + .../ltq-atm/src/ifxmips_atm_fw_regs_vr9.h | 72 + .../lantiq/ltq-atm/src/ifxmips_atm_fw_vr9.h | 427 + .../ltq-atm/src/ifxmips_atm_ppe_amazon_se.h | 121 + .../lantiq/ltq-atm/src/ifxmips_atm_ppe_ar9.h | 188 + .../ltq-atm/src/ifxmips_atm_ppe_common.h | 368 + .../ltq-atm/src/ifxmips_atm_ppe_danube.h | 129 + .../lantiq/ltq-atm/src/ifxmips_atm_ppe_vr9.h | 192 + .../lantiq/ltq-atm/src/ifxmips_atm_vr9.c | 217 + package/kernel/lantiq/ltq-atm/src/ltq_atm.c | 1894 + package/kernel/lantiq/ltq-deu/Makefile | 44 + package/kernel/lantiq/ltq-deu/src/Makefile | 24 + .../kernel/lantiq/ltq-deu/src/ifxmips_aes.c | 969 + .../kernel/lantiq/ltq-deu/src/ifxmips_arc4.c | 391 + .../lantiq/ltq-deu/src/ifxmips_async_aes.c | 1137 + .../lantiq/ltq-deu/src/ifxmips_async_des.c | 954 + .../kernel/lantiq/ltq-deu/src/ifxmips_des.c | 778 + .../kernel/lantiq/ltq-deu/src/ifxmips_deu.c | 210 + .../kernel/lantiq/ltq-deu/src/ifxmips_deu.h | 232 + .../lantiq/ltq-deu/src/ifxmips_deu_ar9.c | 135 + .../lantiq/ltq-deu/src/ifxmips_deu_ar9.h | 299 + .../lantiq/ltq-deu/src/ifxmips_deu_danube.c | 168 + .../lantiq/ltq-deu/src/ifxmips_deu_danube.h | 250 + .../lantiq/ltq-deu/src/ifxmips_deu_dma.c | 42 + .../lantiq/ltq-deu/src/ifxmips_deu_dma.h | 74 + .../lantiq/ltq-deu/src/ifxmips_deu_vr9.c | 144 + .../lantiq/ltq-deu/src/ifxmips_deu_vr9.h | 324 + .../kernel/lantiq/ltq-deu/src/ifxmips_md5.c | 311 + .../lantiq/ltq-deu/src/ifxmips_md5_hmac.c | 387 + .../kernel/lantiq/ltq-deu/src/ifxmips_sha1.c | 302 + .../lantiq/ltq-deu/src/ifxmips_sha1_hmac.c | 379 + .../lantiq/ltq-deu/src/ifxmips_tcrypt.h | 92 + package/kernel/lantiq/ltq-deu/src/internal.h | 141 + package/kernel/lantiq/ltq-ifxos/Makefile | 52 + .../ltq-ifxos/patches/001-warnings.patch | 24 + .../ltq-ifxos/patches/002-fix-compile.patch | 22 + .../lantiq/ltq-ifxos/patches/020-no-O3.patch | 19 + .../lantiq/ltq-ifxos/patches/100-compat.patch | 151 + ...ion-failure-from-inclusion-of-wrong-.patch | 54 + package/kernel/lantiq/ltq-ptm/Makefile | 54 + package/kernel/lantiq/ltq-ptm/src/Makefile | 23 + .../lantiq/ltq-ptm/src/ifxmips_ptm_adsl.c | 1629 + .../lantiq/ltq-ptm/src/ifxmips_ptm_adsl.h | 137 + .../ltq-ptm/src/ifxmips_ptm_amazon_se.c | 324 + .../lantiq/ltq-ptm/src/ifxmips_ptm_ar9.c | 378 + .../lantiq/ltq-ptm/src/ifxmips_ptm_common.h | 102 + .../lantiq/ltq-ptm/src/ifxmips_ptm_danube.c | 319 + .../ltq-ptm/src/ifxmips_ptm_fw_amazon_se.h | 493 + .../lantiq/ltq-ptm/src/ifxmips_ptm_fw_ar9.h | 473 + .../ltq-ptm/src/ifxmips_ptm_fw_danube.h | 489 + .../ltq-ptm/src/ifxmips_ptm_fw_regs_adsl.h | 284 + .../src/ifxmips_ptm_fw_regs_amazon_se.h | 48 + .../ltq-ptm/src/ifxmips_ptm_fw_regs_ar9.h | 48 + .../ltq-ptm/src/ifxmips_ptm_fw_regs_danube.h | 48 + .../ltq-ptm/src/ifxmips_ptm_fw_regs_vdsl.h | 278 + .../ltq-ptm/src/ifxmips_ptm_fw_regs_vr9.h | 90 + .../lantiq/ltq-ptm/src/ifxmips_ptm_fw_vr9.h | 380 + .../ltq-ptm/src/ifxmips_ptm_ppe_amazon_se.h | 186 + .../lantiq/ltq-ptm/src/ifxmips_ptm_ppe_ar9.h | 213 + .../ltq-ptm/src/ifxmips_ptm_ppe_common.h | 311 + .../ltq-ptm/src/ifxmips_ptm_ppe_danube.h | 135 + .../lantiq/ltq-ptm/src/ifxmips_ptm_ppe_vr9.h | 205 + .../lantiq/ltq-ptm/src/ifxmips_ptm_test.c | 943 + .../lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.c | 1158 + .../lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.h | 126 + .../lantiq/ltq-ptm/src/ifxmips_ptm_vr9.c | 322 + package/kernel/lantiq/ltq-tapi/Config.in | 88 + package/kernel/lantiq/ltq-tapi/Makefile | 68 + .../ltq-tapi/patches/000-portability.patch | 82 + .../ltq-tapi/patches/010-fix-compile.patch | 22 + .../patches/020-not-leak-cflags.patch | 27 + .../lantiq/ltq-tapi/patches/100-ifxmips.patch | 96 + .../ltq-tapi/patches/200-linux-37.patch | 108 + .../ltq-tapi/patches/300-linux-310.patch | 11 + package/kernel/lantiq/ltq-vdsl-fw/Makefile | 42 + .../lantiq/ltq-vdsl-fw/src/LzmaDecode.c | 584 + .../lantiq/ltq-vdsl-fw/src/LzmaDecode.h | 113 + .../kernel/lantiq/ltq-vdsl-fw/src/LzmaTypes.h | 45 + .../lantiq/ltq-vdsl-fw/src/LzmaWrapper.c | 206 + .../lantiq/ltq-vdsl-fw/src/LzmaWrapper.h | 36 + .../kernel/lantiq/ltq-vdsl-fw/src/Makefile | 13 + .../lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh | 48 + .../lantiq/ltq-vdsl-fw/src/w921v_fw_cutter.c | 165 + package/kernel/lantiq/ltq-vdsl-mei/Makefile | 90 + .../patches/001-fix-compile.patch | 44 + .../ltq-vdsl-mei/patches/010-warnings.patch | 26 + .../patches/020-not-leak-cflags.patch | 21 + .../ltq-vdsl-mei/patches/100-compat.patch | 368 + .../patches/101_no-date-time.patch | 13 + ...eset-g_tx_link_rate-on-showtime-exit.patch | 12 + package/kernel/lantiq/ltq-vdsl/Makefile | 77 + .../ltq-vdsl/patches/001-fix-compile.patch | 12 + .../patches/020-not-leak-cflags.patch | 32 + .../lantiq/ltq-vdsl/patches/100-compat.patch | 96 + .../ltq-vdsl/patches/110-semaphore-lock.patch | 107 + package/kernel/lantiq/ltq-vmmc/Config.in | 96 + package/kernel/lantiq/ltq-vmmc/Makefile | 181 + .../kernel/lantiq/ltq-vmmc/files/vmmc.init | 19 + .../ltq-vmmc/patches/000-portability.patch | 287 + .../patches/020-not-leak-cflags.patch | 19 + .../lantiq/ltq-vmmc/patches/100-target.patch | 738 + .../lantiq/ltq-vmmc/patches/200-compat.patch | 56 + .../lantiq/ltq-vmmc/patches/400-falcon.patch | 901 + .../lantiq/ltq-vmmc/patches/500-ar9_vr9.patch | 333 + package/kernel/leds-apu2/Makefile | 51 + package/kernel/leds-apu2/src/Kconfig | 8 + package/kernel/leds-apu2/src/Makefile | 1 + package/kernel/leds-apu2/src/leds-apu2.c | 372 + package/kernel/linux/Makefile | 66 + .../linux/files/sysctl-br-netfilter.conf | 7 + .../linux/files/sysctl-nf-conntrack.conf | 9 + .../linux/files/sysctl-tcp-bbr-k4_9.conf | 5 + .../kernel/linux/files/sysctl-tcp-bbr.conf | 4 + package/kernel/linux/modules/001-depends.mk | 14 + package/kernel/linux/modules/block.mk | 520 + package/kernel/linux/modules/can.mk | 292 + package/kernel/linux/modules/crypto.mk | 769 + package/kernel/linux/modules/firewire.mk | 76 + package/kernel/linux/modules/fs.mk | 579 + package/kernel/linux/modules/hwmon.mk | 495 + package/kernel/linux/modules/i2c.mk | 245 + package/kernel/linux/modules/iio.mk | 253 + package/kernel/linux/modules/input.mk | 228 + package/kernel/linux/modules/leds.mk | 147 + package/kernel/linux/modules/lib.mk | 273 + package/kernel/linux/modules/netdevices.mk | 1015 + package/kernel/linux/modules/netfilter.mk | 1181 + package/kernel/linux/modules/netsupport.mk | 1224 + package/kernel/linux/modules/nls.mk | 339 + package/kernel/linux/modules/other.mk | 1197 + package/kernel/linux/modules/pcmcia.mk | 113 + package/kernel/linux/modules/sound.mk | 539 + package/kernel/linux/modules/spi.mk | 75 + package/kernel/linux/modules/usb.mk | 1725 + package/kernel/linux/modules/video.mk | 1027 + package/kernel/linux/modules/virt.mk | 73 + package/kernel/linux/modules/w1.mk | 193 + package/kernel/linux/modules/wireless.mk | 64 + package/kernel/linux/modules/wpan.mk | 134 + package/kernel/mac80211/Makefile | 561 + package/kernel/mac80211/ath.mk | 276 + package/kernel/mac80211/broadcom.mk | 487 + .../files/lib/netifd/wireless/mac80211.sh | 825 + .../mac80211/files/lib/wifi/mac80211.sh | 129 + .../kernel/mac80211/files/mac80211.hotplug | 5 + package/kernel/mac80211/intel.mk | 200 + package/kernel/mac80211/marvell.mk | 90 + .../patches/ath/070-ath_common_config.patch | 9 + .../ath/080-ath10k_thermal_config.patch | 47 + .../201-ath5k-WAR-for-AR71xx-PCI-bug.patch | 38 + ...w-reset-AHB-WMAC-interface-on-AR91xx.patch | 25 + ..._hw-issue-external-reset-for-QCA955x.patch | 129 + ...h9k-force-rx_clear-when-disabling-rx.patch | 35 + ...erpret-requested-txpower-in-EIRP-dom.patch | 36 + ...power-reduction-for-US-regulatory-do.patch | 24 + .../patches/ath/400-ath_move_debug_code.patch | 31 + .../patches/ath/401-ath9k_blink_default.patch | 11 + .../patches/ath/402-ath_regd_optional.patch | 92 + .../patches/ath/403-world_regd_fixup.patch | 84 + .../patches/ath/404-regd_no_assoc_hints.patch | 19 + .../patches/ath/405-ath_regd_us.patch | 26 + .../ath/406-ath_relax_default_regd.patch | 51 + .../407-regd_add_extra_country_codes.patch | 35 + .../ath/410-ath9k_allow_adhoc_and_ap.patch | 10 + .../ath/411-ath5k_allow_adhoc_and_ap.patch | 46 + .../ath/420-ath5k_disable_fast_cc.patch | 18 + .../patches/ath/430-add_ath5k_platform.patch | 33 + ...add_platform_eeprom_support_to_ath5k.patch | 56 + .../patches/ath/432-ath5k_add_pciids.patch | 11 + .../ath/440-ath5k_channel_bw_debugfs.patch | 142 + .../ath/500-ath9k_eeprom_debugfs.patch | 65 + .../patches/ath/501-ath9k_ahb_init.patch | 34 + .../ath/510-ath9k_intr_mitigation_tweak.patch | 18 + .../patches/ath/511-ath9k_reduce_rxbuf.patch | 11 + .../ath/512-ath9k_channelbw_debugfs.patch | 125 + .../patches/ath/513-ath9k_add_pci_ids.patch | 30 + .../patches/ath/530-ath9k_extra_leds.patch | 267 + .../ath/531-ath9k_extra_platform_leds.patch | 76 + .../ath/540-ath9k_reduce_ani_interval.patch | 11 + .../patches/ath/542-ath9k_debugfs_diag.patch | 139 + .../ath/543-ath9k_entropy_from_adc.patch | 186 + ...544-ath9k-ar933x-usb-hang-workaround.patch | 79 + .../patches/ath/545-ath9k_ani_ws_detect.patch | 155 + .../ath/547-ath9k_led_defstate_fix.patch | 29 + .../ath/548-ath9k_enable_gpio_chip.patch | 251 + .../ath/549-ath9k_enable_gpio_buttons.patch | 143 + .../ath/550-ath9k-disable-bands-via-dt.patch | 15 + .../ath/551-ath9k_ubnt_uap_plus_hsr.patch | 418 + .../mac80211/patches/ath/552-ahb_of.patch | 337 + ...ve-debug-log-after-buffer-increments.patch | 88 + ...ath9k-dynack-remove-experimental-tag.patch | 22 + ...roduce-ath_dynack_set_timeout-routin.patch | 89 + ...perly-set-last-timeout-timestamp-in-.patch | 27 + ...-max-timeout-according-to-channel-wi.patch | 92 + ...-ackto-to-max-timeout-in-ath_dynack_.patch | 73 + ...21-ath10k_init_devices_synchronously.patch | 33 + ...h10k-increase-rx-buffer-size-to-2048.patch | 37 + .../ath/930-ath10k_add_tpt_led_trigger.patch | 37 + ...0-0010-ath10k-limit-htt-rx-ring-size.patch | 11 + ...60-0011-ath10k-limit-pci-buffer-size.patch | 38 + ...-of-peer_bw_rxnss_override-parameter.patch | 144 + ...dling-for-VHT160-in-recent-firmwares.patch | 53 + ...rolling-support-for-various-chipsets.patch | 617 + ...75-ath10k-use-tpt-trigger-by-default.patch | 53 + ...rt-for-configuring-management-packet.patch | 89 + ...ble-out-of-bound-access-of-ath10k_ra.patch | 66 + ...rect-multicast-broadcast-rate-settin.patch | 43 + ...980-ath10k-fix-max-antenna-gain-unit.patch | 49 + ...-power-reduction-for-US-regulatory-d.patch | 101 + .../patches/brcm/040-brcmutil_option.patch | 9 + ...cmfmac-add-CYW89342-mini-PCIe-device.patch | 25 + ...set-but-not-used-variables-sfdoff-an.patch | 57 + ...ve-firmware-loading-code-duplication.patch | 102 + ...recursion-from-firmware-load-error-h.patch | 127 + ...port-for-first-trying-to-get-a-board.patch | 77 + ...rd_type-used-for-nvram-file-selectio.patch | 77 + ...rd_type-from-DMI-on-x86-based-machin.patch | 179 + ...cmfmac-Cleanup-brcmf_fw_request_done.patch | 41 + ...port-for-getting-nvram-contents-from.patch | 132 + ...-ccode-from-EFI-nvram-when-necessary.patch | 97 + ...elling-mistake-Retreiving-Retrieving.patch | 34 + ...print-invalid-chanspec-when-WARN-ing.patch | 83 + ...-brcmfmac-support-STA-info-struct-v7.patch | 80 + ...rcmf_dmi_probe-before-brcmf_of_probe.patch | 39 + ...-add-credit-numbers-updating-support.patch | 95 + ...frameburst-mode-in-default-firmware-.patch | 42 + ...c-handle-compressed-tx-status-signal.patch | 229 + ...brcmfmac-add-4354-raw-pcie-device-id.patch | 36 + ...dd-support-for-CYW43012-SDIO-chipset.patch | 253 + ...-brcmfmac-allow-GCI-core-enumuration.patch | 60 + ...43012-F2-watermark-setting-to-fix-DM.patch | 49 + ...7-brcmfmac-4373-save-restore-support.patch | 57 + ...c-disable-command-decode-in-sdio_aos.patch | 45 + ...se-positive-Wmaybe-unintialized-warn.patch | 34 + ...-nvram-filename-quirk-for-PoV-TAB-P1.patch | 51 + ...check-for-the-status-of-usb_register.patch | 28 + ...tem-warning-message-during-wowl-susp.patch | 33 + ...__brcmf_err-to-take-bus-as-a-paramet.patch | 104 + ...ass-bus-to-the-__brcmf_err-in-pcie.c.patch | 266 + ...phy_err-and-use-it-in-the-cfg80211.c.patch | 2025 + .../brcm/347-v5.1-brcmfmac-fix-typos.patch | 62 + ...-monitor-frames-with-the-hardware-uc.patch | 143 + ...able-MBSS-feature-for-bcm4330-device.patch | 41 + ...and-dump-trap-info-during-sdio-probe.patch | 121 + ...pname-in-brcmf_fw_alloc_request-for-.patch | 42 + ...firmware-reported-ring-status-errors.patch | 67 + ...-code-handling-bandwidth-of-firmware.patch | 42 + ...-firmware-reporting-160-MHz-channels.patch | 30 + ...bphy_err-to-take-struct-brcmf_pub-ar.patch | 2290 + ...-set-but-not-used-variable-old_state.patch | 38 + ...e-bphy_err-in-all-wiphy-related-code.patch | 1707 + ...sic-validation-of-shared-RAM-address.patch | 38 + ...ize-of-the-struct-msgbuf_ring_status.patch | 29 + ...irmware-reported-general-status-erro.patch | 69 + ...-repeated-brcmf_fw_alloc_request-cal.patch | 32 + ...unction-designated-for-handling-firm.patch | 79 + ...c-reset-PCIe-bus-on-a-firmware-crash.patch | 153 + ...pending-parameter-from-brcmf_usb_fre.patch | 54 + ...unused-variable-i-from-brcmf_usb_fre.patch | 29 + ...-brcmfmac-Use-struct_size-in-kzalloc.patch | 53 + ...g-the-correct-firmware-for-brcm43456.patch | 35 + ...-nvram-filename-quirk-for-ACEPC-T8-a.patch | 70 + ...ilbox-interrupt-twice-for-specific-h.patch | 32 + ...send-mailbox-interrupt-twice-for-spe.patch | 30 + ...ilbox-interrupt-twice-for-specific-h.patch | 39 + ...low-request-id-from-1-to-pktids-arra.patch | 49 + ...irmware-messages-after-a-firmware-cr.patch | 90 + ...source-files-to-using-SPDX-license-i.patch | 1223 + ...-brcmfmac-fix-typos-in-code-comments.patch | 24 + ...cmfmac-use-strlcpy-instead-of-strcpy.patch | 26 + ...ac-add-160MHz-in-chandef_to_chanspec.patch | 56 + ...DFS_OFFLOAD-extended-feature-if-supp.patch | 63 + ...ow-160MHz-in-custom-regulatory-rules.patch | 34 + ...fix-NULL-pointer-derefence-during-US.patch | 168 + ...-the-order-of-things-in-brcmf_detach.patch | 72 + ...irmware-command-in-brcmf_netdev_open.patch | 30 + ...vents-in-brcmf_fweh_detach-will-alwa.patch | 38 + ...d-firmware-commands-when-bus-is-down.patch | 79 + ...imply-remove-flowring-if-bus-is-down.patch | 33 + ...unnecessary-strlcpy-upon-obtaining-v.patch | 28 + ...et_ratelimit-CONSOLE-messages-on-fir.patch | 38 + ...set-but-not-used-variable-dtim_perio.patch | 54 + ...redundant-assignment-to-pointer-hash.patch | 26 + ...-brcmfmac-replace-strncpy-by-strscpy.patch | 36 + ...p-s-default-RAM-info-during-PCIe-set.patch | 80 + ...b-version-of-brcmf_debugfs_get_devdi.patch | 31 + ...eset-debugfs-entry-for-testing-reset.patch | 59 + ...rcmfmac-use-ph-to-print-small-buffer.patch | 58 + ...g80211_ops-pointer-to-another-struct.patch | 95 + ...rcmf_attach-and-brcmf_detach-functio.patch | 266 + ...on-t-realloc-wiphy-during-PCIe-reset.patch | 51 + ...on-t-WARN-when-there-are-no-requests.patch | 28 + ...suspend-resume-when-power-is-cut-off.patch | 109 + ...set-but-not-used-variable-mpnum-nsp-.patch | 58 + ...ble-PCIe-interrupts-before-bus-reset.patch | 54 + ...mory-leak-in-brcmf_p2p_create_p2pdev.patch | 29 + ...-interface-carrier-to-off-by-default.patch | 29 + ...wo-D11-cores-if-chip-has-two-D11-cor.patch | 121 + ...-F2-blocksize-and-watermark-for-4359.patch | 79 + ...0003-brcmfmac-fix-rambase-for-4359-9.patch | 34 + ...rors-when-setting-roaming-parameters.patch | 42 + ...add-support-for-BCM4359-SDIO-chipset.patch | 75 + ...B-condition-when-setting-interface-c.patch | 130 + ...-mbss-in-vif-if-firmware-does-not-su.patch | 38 + ...B-wake-interrupt-disabled-when-it-sh.patch | 66 + ...mac-use-true-false-for-bool-variable.patch | 27 + ...x-OOB-interrupt-initialization-on-br.patch | 57 + ...lify-building-interface-combinations.patch | 103 + ...add-initial-support-for-monitor-mode.patch | 345 + ...-Remove-always-false-idx-0-statement.patch | 24 + ...-add-stub-for-monitor-interface-xmit.patch | 100 + .../810-b43-gpio-mask-module-option.patch | 37 + .../patches/brcm/811-b43_no_pio.patch | 86 + .../brcm/812-b43-add-antenna-control.patch | 131 + .../813-b43-reduce-number-of-RX-slots.patch | 11 + .../814-b43-only-use-gpio-0-1-for-led.patch | 17 + ...815-b43-always-take-overlapping-devs.patch | 11 + ...-remove-extra-regulation-restriction.patch | 27 + ...-register-wiphy-s-during-module_init.patch | 74 + ...und-bug-with-some-inconsistent-BSSes.patch | 49 + ...62-brcmfmac-Disable-power-management.patch | 27 + ...-in-driver-tables-with-country-codes.patch | 60 + ...e-internal-roaming-engine-by-default.patch | 23 + .../patches/build/000-fix_kconfig.patch | 14 + .../patches/build/001-fix_build.patch | 169 + .../patches/build/002-change_allconfig.patch | 64 + .../build/003-remove_bogus_modparams.patch | 34 + .../build/004-kconfig_backport_fix.patch | 28 + .../patches/build/010-disable_rfkill.patch | 15 + .../build/012-kernel_build_check.patch | 11 + .../patches/build/015-ipw200-mtu.patch | 34 + .../patches/build/050-lib80211_option.patch | 30 + .../patches/build/060-no_local_ssb_bcma.patch | 335 + ...ckports-pci-Include-linux-pci-aspm.h.patch | 24 + ..._disable_link_state-wrapper-with-ret.patch | 43 + ...700-mwl8k-missing-pci-id-for-WNR854T.patch | 10 + .../801-libertas-configure-sysfs-links.patch | 21 + .../802-libertas-set-wireless-macaddr.patch | 11 + ...940-mwl8k_init_devices_synchronously.patch | 20 + ...1-rt2x00-use-simple_read_from_buffer.patch | 59 + ...specific-txdone-txstatus-routines-to.patch | 357 + ...se-txdone-txstatus-routines-from-lib.patch | 244 + ...eck-for-txstatus-timeout-every-time-.patch | 72 + ...rent-txstatus-timeouts-when-flushing.patch | 112 + ...h-and-txstatus-rework-for-rt2800mmio.patch | 238 + ...ci-mark-expected-switch-fall-through.patch | 25 + ...ci-mark-expected-switch-fall-through.patch | 25 + ...b-mark-expected-switch-fall-throughs.patch | 44 + ...ci-mark-expected-switch-fall-through.patch | 25 + ...s-tree-phase-out-dma_zalloc_coherent.patch | 40 + ...-tx-power-to-nominal-level-on-RT6352.patch | 32 + ...ound-a-firmware-bug-with-shared-keys.patch | 143 + ...o-check-return-value-of-debugfs_crea.patch | 107 + .../015-rt2x00-remove-unneeded-check.patch | 137 + ...rt2x00-remove-confusing-AGC-register.patch | 34 + ...ble-TX_PIN_CFG_LNA_PE_-bits-per-band.patch | 47 + ...e-TX_PIN_CFG_RFRX_EN-only-for-MT7620.patch | 41 + ...ent-and-simplify-AGC-init-for-RT6352.patch | 33 + ...ratelimited-variants-of-err-and-warn.patch | 39 + ...atelimited-variants-dev_warn-dev_err.patch | 42 + ...rt2x00-check-number-of-EPROTO-errors.patch | 96 + ...o-not-print-error-when-queue-is-full.patch | 43 + ...-restore-old-mmio-txstatus-behaviour.patch | 128 + ...flush-implementation-for-SoC-devices.patch | 27 + ...rt2800-move-txstatus-pending-routine.patch | 106 + ...7-rt2800mmio-fetch-tx-status-changes.patch | 61 + ...imer-and-work-for-handling-tx-status.patch | 194 + ...29-rt2x00-remove-last_nostatus_check.patch | 57 + ...0-rt2x00-remove-not-used-entry-field.patch | 34 + ...031-rt2x00mmio-remove-legacy-comment.patch | 26 + .../050-rt2x00-add-RT3883-support.patch | 959 + ...0-allow-to-specify-watchdog-interval.patch | 56 + ...d-helpers-for-reading-dma-done-index.patch | 144 + ...2800-initial-watchdog-implementation.patch | 158 + ...063-rt2800-add-pre_reset_hw-callback.patch | 96 + ...t-nullify-initialization-vector-data.patch | 51 + .../rt2x00/065-rt2x00-add-restart-hw.patch | 151 + ...00-do-not-enable-watchdog-by-default.patch | 71 + .../067-rt2x00usb-fix-rx-queue-hang.patch | 67 + ...sb-remove-unnecessary-rx-flag-checks.patch | 51 + ...o-check-return-value-of-debugfs_crea.patch | 248 + ...w-rt2800usb-device-PLANEX-GW-USMicro.patch | 29 + ...s-on-start-to-fix-AP-mode-regression.patch | 102 + ...t-IEEE80211_TX_STAT_AMPDU_NO_BACK-on.patch | 40 + ...-rt2x00-clear-up-IV-s-on-key-removal.patch | 46 + ...able-TX_PIN_CFG_LNA_PE_-bits-per-ban.patch | 61 + ...remove-errornous-duplicate-condition.patch | 88 + .../patches/rt2x00/100-rt2x00_options.patch | 47 + ...to-build-rt2800soc-module-for-RT3883.patch | 30 + ...1-rt2x00-introduce-rt2x00_platform_h.patch | 32 + .../602-rt2x00-introduce-rt2x00eeprom.patch | 296 + .../603-rt2x00-of_load_eeprom_filename.patch | 33 + ...om-on-SoC-from-a-mtd-device-defines-.patch | 107 + ...isabling_bands_through_platform_data.patch | 47 + ...07-rt2x00-add_platform_data_mac_addr.patch | 26 + ...00-allow_disabling_bands_through_dts.patch | 19 + ...c-loadable-via-OF-on-rt288x-305x-SoC.patch | 33 + ...0-rt2x00-change-led-polarity-from-OF.patch | 40 + .../611-rt2x00-add-AP+STA-support.patch | 11 + .../612-rt2x00-led-tpt-trigger-support.patch | 44 + ...dd-support-for-external-PA-on-MT7620.patch | 107 + ...-rt2x00-add-rf-self-txdc-calibration.patch | 89 + .../rt2x00/983-rt2x00-add-r-calibration.patch | 193 + .../984-rt2x00-add-rxdcoc-calibration.patch | 102 + .../985-rt2x00-add-rxiq-calibration.patch | 417 + .../986-rt2x00-add-TX-LOFT-calibration.patch | 1002 + .../100-remove-cryptoapi-dependencies.patch | 705 + .../110-mac80211_keep_keys_on_stop_ap.patch | 12 + .../120-cfg80211_allow_perm_addr_change.patch | 43 + .../patches/subsys/130-disable-fils.patch | 32 + ...aes-cmac-switch-to-shash-CMAC-driver.patch | 199 + .../132-mac80211-remove-cmac-dependency.patch | 10 + .../subsys/140-tweak-TSQ-setting.patch | 15 + .../subsys/150-disable_addr_notifier.patch | 67 + .../mac80211/patches/subsys/210-ap_scan.patch | 11 + ...d-stop-start-logic-for-software-TXQs.patch | 272 + ...l-Enable-STBC-and-LDPC-for-VHT-Rates.patch | 81 + ...l-remove-unnecessary-debugfs-cleanup.patch | 150 + ...80211-fix-tx-status-for-no-ack-cases.patch | 82 + ...l-merge-with-minstrel_ht-always-enab.patch | 575 + ...trel-reduce-minstrel_mcs_groups-size.patch | 368 + ...l-do-not-sample-rates-3-times-slower.patch | 40 + ...l_ht-add-flag-to-indicate-missing-in.patch | 122 + ...l_ht-reduce-unnecessary-rate-probing.patch | 42 + ...l_ht-fix-default-max-throughput-rate.patch | 46 + ...l_ht-improve-rate-probing-for-device.patch | 481 + ...l_ht-fix-infinite-loop-because-suppo.patch | 25 + .../320-mac80211-Add-TXQ-scheduling-API.patch | 292 + ...-Add-airtime-statistics-and-settings.patch | 202 + ...time-accounting-and-scheduling-to-TX.patch | 522 + ...pose-ieee80211_schedule_txq-function.patch | 73 + ...0211-add-hdrlen-to-ieee80211_tx_data.patch | 228 + ...1-add-TX_NEEDS_ALIGNED4_SKBS-hw-flag.patch | 304 + ...locking-for-txq-scheduling-airtime-f.patch | 214 + ...op-redundant-rcu_read_lock-unlock-ca.patch | 96 + ...te-hash-for-fq-without-holding-fq-lo.patch | 140 + ...e-dequeue-late-tx-handlers-without-h.patch | 55 + ...IF_F_LLTX-when-using-intermediate-tx.patch | 22 + ...ee80211_schedule_txq-schedule-empty-.patch | 105 + ...-un-schedule-TXQs-on-powersave-start.patch | 31 + ...ing-iTXQ-select-the-queue-in-ieee802.patch | 183 + ...E80211_KEY_FLAG_GENERATE_MMIE-to-iee.patch | 58 + ...l-remove-divisions-in-tx-status-path.patch | 61 + ...l_ht-replace-rate-stats-ewma-with-a-.patch | 235 + ...l_ht-rename-prob_ewma-to-prob_avg-us.patch | 437 + ...nd-deauth-when-expiring-inactive-STA.patch | 128 + ...domize-BA-session-dialog-token-alloc.patch | 38 + ...al-BSS-receive-time-to-survey-inform.patch | 77 + .../522-mac80211_configure_antenna_gain.patch | 160 + package/kernel/mac80211/ralink.mk | 172 + package/kernel/mac80211/realtek.mk | 170 + .../mac80211/scripts/import-backports.sh | 109 + package/kernel/mt76/Makefile | 269 + package/kernel/mwlwifi/Makefile | 103 + package/kernel/nat46/Makefile | 35 + package/kernel/om-watchdog/Makefile | 37 + package/kernel/om-watchdog/files/om-watchdog | 15 + .../kernel/om-watchdog/files/om-watchdog.init | 73 + package/kernel/rtc-rv5c386a/Makefile | 32 + package/kernel/rtc-rv5c386a/src/Makefile | 18 + package/kernel/rtc-rv5c386a/src/rtc.c | 613 + package/kernel/rtl8812au-ct/Makefile | 53 + .../patches/001-use-kernel-byteorder.patch | 15 + package/kernel/spi-gpio-custom/Makefile | 47 + package/kernel/spi-gpio-custom/src/Kconfig | 14 + package/kernel/spi-gpio-custom/src/Makefile | 1 + .../spi-gpio-custom/src/spi-gpio-custom.c | 365 + package/kernel/trelay/Makefile | 49 + package/kernel/trelay/files/trelay.config | 4 + package/kernel/trelay/files/trelay.hotplug | 5 + package/kernel/trelay/files/trelay.init | 32 + package/kernel/trelay/src/Makefile | 1 + package/kernel/trelay/src/trelay.c | 286 + package/kernel/w1-gpio-custom/Makefile | 48 + package/kernel/w1-gpio-custom/src/Kconfig | 4 + package/kernel/w1-gpio-custom/src/Makefile | 1 + .../w1-gpio-custom/src/w1-gpio-custom.c | 190 + package/libs/argp-standalone/Makefile | 48 + .../patches/001-throw-in-funcdef.patch | 79 + .../patches/002-no_optimize.patch | 11 + package/libs/elfutils/Makefile | 98 + .../patches/003-libintl-compatibility.patch | 72 + .../patches/005-build_only_libs.patch | 12 + .../elfutils/patches/100-musl-compat.patch | 64 + .../libs/elfutils/patches/101-no-fts.patch | 83 + package/libs/gettext-full/Makefile | 102 + .../patches/000-relocatable.patch | 30 + .../gettext-full/patches/001-autotools.patch | 24 + .../patches/001-no_examples_and_tests.patch | 22 + .../003-gettext-error_print_progname.patch | 11 + .../patches/100-error_progname.patch | 10 + .../patches/110-error_progname_def.patch | 11 + .../patches/120-uclibc-nolocale.patch | 11 + .../patches/130-format-secuirty.patch | 59 + .../patches/150-disable_libxml_iconv.patch | 22 + package/libs/gettext/Makefile | 63 + package/libs/gettext/src/LICENSE | 7 + package/libs/gettext/src/include/libintl.h | 53 + package/libs/gettext/src/m4/codeset.m4 | 21 + package/libs/gettext/src/m4/gettext.m4 | 383 + package/libs/gettext/src/m4/intl.m4 | 294 + package/libs/gettext/src/m4/intldir.m4 | 19 + package/libs/gettext/src/m4/intlmacosx.m4 | 51 + package/libs/gettext/src/m4/lcmessage.m4 | 31 + package/libs/gettext/src/m4/nls.m4 | 32 + package/libs/gettext/src/m4/po.m4 | 449 + package/libs/gmp/Makefile | 70 + package/libs/libbsd/Makefile | 44 + ...1-handle-systems-missing-sys_cdefs.h.patch | 195 + ...ion_for_glibc_already_providing_them.patch | 65 + package/libs/libbsd/patches/010-fix-arc.patch | 30 + package/libs/libconfig/Makefile | 60 + package/libs/libevent2/Makefile | 165 + ...-Add-missing-file-Uninstall.cmake.in.patch | 45 + ...Uninstall.cmake.in-into-dist-archive.patch | 25 + package/libs/libiconv-full/Makefile | 97 + .../patches/100-strip_charsets.patch | 3438 + .../libiconv-full/patches/101-autotools.patch | 26014 +++ .../patches/103-configure_ac_fix.patch | 31 + .../patches/200-work-with-libtool2.patch | 17 + .../patches/300-fortify-source-compat.patch | 23 + package/libs/libiconv/COPYING | 504 + package/libs/libiconv/COPYRIGHT | 20 + package/libs/libiconv/Makefile | 79 + package/libs/libiconv/src/LICENSE | 6 + package/libs/libiconv/src/iconv.c | 449 + package/libs/libiconv/src/include/charmaps.h | 80 + .../src/include/charmaps/iso-8859-10.h | 24 + .../src/include/charmaps/iso-8859-13.h | 24 + .../src/include/charmaps/iso-8859-14.h | 25 + .../src/include/charmaps/iso-8859-16.h | 24 + .../src/include/charmaps/iso-8859-2.h | 24 + .../src/include/charmaps/iso-8859-3.h | 24 + .../src/include/charmaps/iso-8859-4.h | 24 + .../src/include/charmaps/iso-8859-5.h | 24 + .../src/include/charmaps/iso-8859-6.h | 24 + .../src/include/charmaps/iso-8859-7.h | 24 + .../src/include/charmaps/iso-8859-8.h | 24 + .../src/include/charmaps/iso-8859-9.h | 24 + .../libiconv/src/include/charmaps/koi8-r.h | 24 + .../src/include/charmaps/windows-1250.h | 24 + .../src/include/charmaps/windows-1251.h | 24 + .../src/include/charmaps/windows-1252.h | 25 + .../src/include/charmaps/windows-1253.h | 24 + .../src/include/charmaps/windows-1254.h | 24 + .../src/include/charmaps/windows-1255.h | 24 + .../src/include/charmaps/windows-1256.h | 24 + .../src/include/charmaps/windows-1257.h | 24 + .../src/include/charmaps/windows-1258.h | 24 + .../src/include/charmaps/windows-874.h | 24 + package/libs/libiconv/src/include/iconv.h | 36 + package/libs/libiconv/src/m4/iconv.m4 | 214 + package/libs/libjson-c/Makefile | 63 + package/libs/libjson-c/patches/000-libm.patch | 50 + ...Prevent-division-by-zero-in-linkhash.patch | 32 + .../patches/002-Fix-integer-overflows.patch | 83 + package/libs/libmnl/Makefile | 78 + package/libs/libnetfilter-conntrack/Makefile | 75 + package/libs/libnetfilter-cthelper/Makefile | 72 + package/libs/libnetfilter-cttimeout/Makefile | 72 + package/libs/libnetfilter-log/Makefile | 75 + ...ecessary-pkgconfig-config.status-dep.patch | 25 + ...d-remove-unused-lines-in-Makefile.am.patch | 24 + ...build-resolve-automake-1.12-warnings.patch | 29 + ...e-needed-for-integer-type-definition.patch | 24 + ...0005-configure-uclinux-is-also-linux.patch | 27 + ...thout-ipulog-option-to-disable-libip.patch | 95 + package/libs/libnetfilter-queue/Makefile | 71 + .../patches/100-checksum_computation.patch | 113 + package/libs/libnfnetlink/Makefile | 72 + .../patches/100-missing_include.patch | 20 + package/libs/libnftnl/Makefile | 73 + package/libs/libnl-tiny/Makefile | 50 + package/libs/libnl-tiny/files/libnl-tiny.pc | 10 + package/libs/libnl-tiny/src/Makefile | 17 + package/libs/libnl-tiny/src/attr.c | 668 + package/libs/libnl-tiny/src/cache.c | 376 + package/libs/libnl-tiny/src/cache_mngt.c | 131 + package/libs/libnl-tiny/src/error.c | 116 + package/libs/libnl-tiny/src/genl.c | 268 + package/libs/libnl-tiny/src/genl_ctrl.c | 380 + package/libs/libnl-tiny/src/genl_family.c | 169 + package/libs/libnl-tiny/src/genl_mngt.c | 193 + package/libs/libnl-tiny/src/handlers.c | 162 + .../libnl-tiny/src/include/netlink-generic.h | 20 + .../libnl-tiny/src/include/netlink-local.h | 160 + .../libnl-tiny/src/include/netlink-types.h | 88 + .../libnl-tiny/src/include/netlink/addr.h | 69 + .../libnl-tiny/src/include/netlink/attr.h | 726 + .../src/include/netlink/cache-api.h | 199 + .../libnl-tiny/src/include/netlink/cache.h | 128 + .../libnl-tiny/src/include/netlink/data.h | 41 + .../libnl-tiny/src/include/netlink/errno.h | 64 + .../src/include/netlink/genl/ctrl.h | 40 + .../src/include/netlink/genl/family.h | 134 + .../src/include/netlink/genl/genl.h | 47 + .../src/include/netlink/genl/mngt.h | 87 + .../libnl-tiny/src/include/netlink/handlers.h | 231 + .../libnl-tiny/src/include/netlink/list.h | 88 + .../libs/libnl-tiny/src/include/netlink/msg.h | 308 + .../src/include/netlink/netlink-compat.h | 50 + .../src/include/netlink/netlink-kernel.h | 196 + .../libnl-tiny/src/include/netlink/netlink.h | 82 + .../src/include/netlink/object-api.h | 331 + .../libnl-tiny/src/include/netlink/object.h | 164 + .../libnl-tiny/src/include/netlink/socket.h | 231 + .../libnl-tiny/src/include/netlink/types.h | 121 + .../libnl-tiny/src/include/netlink/utils.h | 78 + .../libnl-tiny/src/include/netlink/version.h | 18 + package/libs/libnl-tiny/src/include/unl.h | 47 + package/libs/libnl-tiny/src/msg.c | 561 + package/libs/libnl-tiny/src/nl.c | 720 + package/libs/libnl-tiny/src/object.c | 147 + package/libs/libnl-tiny/src/socket.c | 406 + package/libs/libnl-tiny/src/unl.c | 287 + package/libs/libnl/Makefile | 128 + ...ivate-field-in-libnl-pkg-config-file.patch | 25 + ...workaround-to-the-libc-compat.h-copy.patch | 101 + ...ild-enable-building-cli-during-tests.patch | 106 + package/libs/libpcap/Config.in | 17 + package/libs/libpcap/Makefile | 106 + .../patches/100-debian_shared_lib.patch | 276 + .../102-makefile_disable_manpages.patch | 77 + .../103-makefile_flex_workaround.patch | 14 + .../patches/201-space_optimization.patch | 26 + .../patches/203-undef_iw_mode_monitor.patch | 11 + .../libpcap/patches/204-usb-bus-path.patch | 13 + package/libs/libroxml/Makefile | 48 + package/libs/libtool/Makefile | 54 + package/libs/libubox/Makefile | 109 + package/libs/libunwind/Makefile | 61 + .../002-fix-building-getcontext_S.patch | 19 + ...03-fix-missing-ef_reg-defs-with-musl.patch | 47 + .../libs/libunwind/patches/004-ppc-musl.patch | 383 + package/libs/libusb-compat/Makefile | 54 + .../patches/001-fix-musl-stdint.patch | 185 + package/libs/libusb/Makefile | 56 + package/libs/lzo/Makefile | 57 + package/libs/mbedtls/Makefile | 121 + package/libs/mbedtls/patches/200-config.patch | 245 + package/libs/ncurses/Makefile | 176 + .../100-ncurses-5.6-20080112-urxvt.patch | 175 + .../101-ncurses-5.6-20080628-kbs.patch | 52 + .../patches/102-ncurses-5.9-gcc-5.patch | 44 + .../patches/103-ncurses-ar-determinism.patch | 22 + .../patches/200-fix_missing_include.patch | 14 + .../libs/ncurses/patches/900-terminfo.patch | 20 + package/libs/nettle/Config.in | 9 + package/libs/nettle/Makefile | 87 + package/libs/nghttp2/Makefile | 46 + package/libs/openssl/Config.in | 307 + package/libs/openssl/Makefile | 414 + .../patches/100-Configure-afalg-support.patch | 25 + .../openssl/patches/110-openwrt_targets.patch | 63 + .../120-strip-cflags-from-binary.patch | 23 + .../patches/130-dont-build-tests-fuzz.patch | 31 + .../patches/140-allow-prefer-chacha20.patch | 82 + .../150-openssl.cnf-add-engines-conf.patch | 85 + ...o-save-ioctl-if-EVP_MD_.FLAG_ONESHOT.patch | 60 + ..._devcrypto-add-configuration-options.patch | 569 + ...ypto-add-command-to-dump-driver-info.patch | 275 + ...o-make-the-dev-crypto-engine-dynamic.patch | 348 + ...default-to-not-use-digests-in-engine.patch | 43 + ...to-ignore-error-when-closing-session.patch | 26 + package/libs/popt/Makefile | 57 + package/libs/readline/Makefile | 70 + .../readline/patches/001-curses-link.patch | 16 + package/libs/sysfsutils/Makefile | 86 + package/libs/sysfsutils/files/local.conf | 1 + package/libs/sysfsutils/files/sysfs.conf | 22 + package/libs/sysfsutils/files/sysfsutils | 48 + .../patches/200-mnt_path_check.patch | 55 + package/libs/toolchain/Makefile | 632 + .../toolchain/glibc-files/etc/nsswitch.conf | 13 + package/libs/uclibc++/Makefile | 97 + package/libs/uclibc++/files/config.default | 58 + .../libs/uclibc++/patches/001-no-ansi.patch | 10 + .../patches/002-undef-functions.patch | 35 + .../libs/uclibc++/patches/003-no-fPIC.patch | 10 + ...ibc-Make-long-long-available-to-C-11.patch | 143 + .../005-istream_helpers-Fix-sscanf-typo.patch | 37 + package/libs/uclient/Makefile | 51 + package/libs/ustream-ssl/Makefile | 70 + package/libs/wolfssl/Config.in | 76 + package/libs/wolfssl/Makefile | 111 + .../patches/100-disable-hardening-check.patch | 11 + package/libs/zlib/Config.in | 11 + package/libs/zlib/Makefile | 98 + .../001-neon-implementation-of-adler32.patch | 253 + ...m-specific-optimisations-for-inflate.patch | 2411 + ...rcefiles-in-patch-002-to-buildsystem.patch | 100 + .../004-relative-pkg-config-paths.patch | 14 + package/network/config/firewall/Makefile | 62 + .../config/firewall/files/firewall.config | 195 + .../config/firewall/files/firewall.hotplug | 11 + .../config/firewall/files/firewall.init | 61 + .../config/firewall/files/firewall.user | 7 + ...cp-mss-clamping-also-on-ingress-path.patch | 33 + ...ns-fix-parsing-of-boolean-attributes.patch | 38 + package/network/config/gre/Makefile | 45 + package/network/config/gre/files/gre.sh | 296 + package/network/config/ipip/Makefile | 41 + package/network/config/ipip/files/ipip.sh | 91 + package/network/config/ltq-adsl-app/Makefile | 86 + .../config/ltq-adsl-app/files/10_atm.sh | 29 + .../config/ltq-adsl-app/files/10_ptm.sh | 29 + .../config/ltq-adsl-app/files/dsl_control | 65 + .../patches/001-stupid_breakage_fix.patch | 65 + .../patches/010-eglibc_compile_fix.patch | 23 + .../100-add-more-script-notifications.patch | 42 + package/network/config/ltq-vdsl-app/Makefile | 71 + .../config/ltq-vdsl-app/files/10_atm.sh | 14 + .../config/ltq-vdsl-app/files/10_ptm.sh | 14 + .../config/ltq-vdsl-app/files/dsl_control | 316 + .../config/ltq-vdsl-app/files/dsl_cpe_pipe.sh | 18 + .../ltq-vdsl-app/patches/100-compat.patch | 22 + .../ltq-vdsl-app/patches/101-musl.patch | 10 + .../ltq-vdsl-app/patches/200-autoboot.patch | 11 + package/network/config/netifd/Makefile | 46 + .../files/etc/hotplug.d/iface/00-netstate | 6 + .../files/etc/hotplug.d/net/20-smp-tune | 67 + .../config/netifd/files/etc/init.d/network | 149 + .../netifd/files/lib/netifd/dhcp.script | 110 + .../netifd/files/lib/netifd/proto/dhcp.sh | 88 + .../config/netifd/files/lib/network/config.sh | 76 + .../config/netifd/files/sbin/devstatus | 12 + .../network/config/netifd/files/sbin/ifdown | 1 + .../network/config/netifd/files/sbin/ifstatus | 13 + package/network/config/netifd/files/sbin/ifup | 77 + .../files/usr/share/udhcpc/default.script | 57 + package/network/config/qos-scripts/Makefile | 53 + .../config/qos-scripts/files/etc/config/qos | 68 + .../files/etc/hotplug.d/iface/10-qos | 2 + .../config/qos-scripts/files/etc/init.d/qos | 28 + .../qos-scripts/files/usr/bin/qos-start | 4 + .../config/qos-scripts/files/usr/bin/qos-stat | 68 + .../config/qos-scripts/files/usr/bin/qos-stop | 7 + .../qos-scripts/files/usr/lib/qos/generate.sh | 542 + .../qos-scripts/files/usr/lib/qos/tcrules.awk | 106 + package/network/config/soloscli/Makefile | 45 + .../files/etc/hotplug.d/atm/15-solos-init | 26 + .../soloscli/files/etc/uci-default/solos | 15 + .../config/soloscli/files/solos-log-stats | 19 + .../soloscli/patches/001-no-driver.patch | 11 + .../config/soloscli/patches/002-cflags.patch | 12 + package/network/config/swconfig/Makefile | 57 + .../network/config/swconfig/files/switch.sh | 15 + package/network/config/swconfig/src/Makefile | 16 + package/network/config/swconfig/src/cli.c | 387 + package/network/config/swconfig/src/swlib.c | 924 + package/network/config/swconfig/src/swlib.h | 269 + package/network/config/swconfig/src/uci.c | 246 + package/network/config/vti/Makefile | 74 + package/network/config/vti/files/vti.sh | 154 + package/network/config/vxlan/Makefile | 33 + package/network/config/vxlan/files/vxlan.sh | 152 + package/network/config/xfrm/Makefile | 39 + package/network/config/xfrm/files/xfrm.sh | 69 + package/network/ipv6/464xlat/Makefile | 43 + package/network/ipv6/464xlat/files/464xlat.sh | 115 + package/network/ipv6/464xlat/src/464xlatcfg.c | 154 + package/network/ipv6/464xlat/src/Makefile | 8 + package/network/ipv6/6in4/Makefile | 43 + package/network/ipv6/6in4/files/6in4.sh | 144 + package/network/ipv6/6rd/Makefile | 49 + package/network/ipv6/6rd/files/6rd.sh | 106 + package/network/ipv6/6rd/src/6rdcalc.c | 126 + package/network/ipv6/6rd/src/Makefile | 7 + package/network/ipv6/6to4/Makefile | 43 + package/network/ipv6/6to4/files/6to4.sh | 98 + package/network/ipv6/ds-lite/Makefile | 43 + package/network/ipv6/ds-lite/files/dslite.sh | 110 + package/network/ipv6/map/Makefile | 41 + package/network/ipv6/map/files/map.sh | 242 + package/network/ipv6/map/src/CMakeLists.txt | 29 + package/network/ipv6/map/src/mapcalc.c | 418 + package/network/ipv6/odhcp6c/Makefile | 53 + .../network/ipv6/odhcp6c/files/dhcpv6.script | 241 + package/network/ipv6/odhcp6c/files/dhcpv6.sh | 137 + package/network/ipv6/thc-ipv6/Makefile | 61 + .../patches/000-cflags_override.patch | 12 + .../ipv6/thc-ipv6/patches/100-no-ssl.patch | 9 + package/network/services/dnsmasq/Makefile | 195 + .../services/dnsmasq/files/dhcp-script.sh | 46 + .../network/services/dnsmasq/files/dhcp.conf | 32 + .../dnsmasq/files/dhcpbogushostname.conf | 8 + .../services/dnsmasq/files/dnsmasq.conf | 37 + .../services/dnsmasq/files/dnsmasq.init | 1172 + .../services/dnsmasq/files/dnsmasq_acl.json | 4 + .../services/dnsmasq/files/dnsmasqsec.hotplug | 14 + .../services/dnsmasq/files/rfc6761.conf | 11 + ...-cache-behaviour-for-TCP-connections.patch | 495 + ...it-is-reset-on-answers-from-address-.patch | 26 + ...lity-to-compile-without-IPv6-support.patch | 2192 + ...rward-.bind-.server-queries-upstream.patch | 52 + ...f5984367bc6a949e3803a576512c5a7bc48e.patch | 63 + ...flags-in-some-DNS-replies-from-local.patch | 120 + ...ead-code-elimination-use-array-inste.patch | 71 + ...-lines-generating-UBUS-linker-config.patch | 63 + ...312d4bae30b78daafcd6f51dc441b8685b1e.patch | 41 + ...RK-compile-time-option-and-support-f.patch | 199 + ...config-file-values-on-parsing-errors.patch | 1199 + ...KEY-queries-being-forwarded-the-same.patch | 32 + ...ng-errors-introduced-in-59e470381f84.patch | 42 + .../0015-fix-ipv6-ipset-bug-in-master.patch | 45 + ...ure-on-master-with-NO_DHCPv6-and-fix.patch | 50 + ...ss-selection-after-DECLINE-in-consec.patch | 57 + ...ddr-union-merge-log-and-rcode-fields.patch | 80 + ...on-handling-move-class-into-explicit.patch | 290 + .../0020-Futher-address-union-tidying.patch | 363 + ...ruct-union-in-cache-records-and-all_.patch | 2316 + ...n-cache-marshalling-code.-Introduced.patch | 23 + ...ix-typo-in-ra-param-man-page-section.patch | 33 + .../patches/0024-Cache-SRV-records.patch | 523 + ...h-freeing-negative-SRV-cache-entries.patch | 23 + ...-or-DNSKEY-in-is_outdated_cname_poin.patch | 24 + ...c8b5e7425aed44abc35925b24043-to-actu.patch | 95 + .../0028-Tidy-cache_blockdata_free.patch | 36 + ...HCP_CLIENT_MAC-options-from-DHCPv6-r.patch | 52 + ...in-etc-hosts-disabling-static-leases.patch | 54 + ...es-in-8eac67c0a15b673c8d27002c248651.patch | 28 + ...-read_leases-to-skip-invalid-entries.patch | 61 + ...egative-SRV-response-over-TCP-gets-s.patch | 35 + ...emote-buffer-overflow-CERT-VU-434904.patch | 375 + ...destination-of-DNS-UDP-query-replies.patch | 106 + ...rovide-security-against-DNS-cache-po.patch | 581 + ...imse-RR-digest-calculation-in-DNSSEC.patch | 122 + ...ck-for-NULL-return-from-allocate_rfd.patch | 64 + ...identical-near-simultaneous-DNS-quer.patch | 352 + ...dle-caching-with-EDNS-options-better.patch | 350 + ...pport-hash-function-from-nettle-only.patch | 181 + ...ps-in-frec_src-datastucture-handling.patch | 56 + ...to-security-update-descriptions-in-C.patch | 41 + .../0113-Fix-warning-message-logic.patch | 20 + ...struct-frec-fields-in-conntrack-code.patch | 29 + ...c_src-fixes-15b60ddf935a531269bb8c68.patch | 57 + ...f0aec33e58ef5b8d4d107d821c215a52827c.patch | 19 + ...2b171de0d678d98583e2190789e544440e02.patch | 20 + ...se-nettle-ecc_curve-access-functions.patch | 35 + .../110-ipset-remove-old-kernel-support.patch | 64 + ...0-fix-poll-h-include-warning-on-musl.patch | 18 + package/network/services/dropbear/Config.in | 80 + package/network/services/dropbear/Makefile | 165 + .../services/dropbear/files/dropbear.config | 5 + .../services/dropbear/files/dropbear.init | 282 + .../dropbear/patches/100-pubkey_path.patch | 86 + .../dropbear/patches/110-change_user.patch | 18 + .../patches/130-ssh_ignore_x_args.patch | 11 + .../dropbear/patches/140-disable_assert.patch | 15 + .../dropbear/patches/160-lto-jobserver.patch | 33 + .../600-allow-blank-root-password.patch | 11 + .../patches/900-configure-hardening.patch | 56 + .../patches/901-bundled-libs-cflags.patch | 48 + package/network/services/ead/Makefile | 52 + package/network/services/ead/src/Makefile | 33 + package/network/services/ead/src/aes.c | 1061 + package/network/services/ead/src/ead-client.c | 433 + package/network/services/ead/src/ead-crypt.c | 179 + package/network/services/ead/src/ead-crypt.h | 21 + package/network/services/ead/src/ead-pcap.h | 71 + package/network/services/ead/src/ead.c | 974 + package/network/services/ead/src/ead.h | 139 + package/network/services/ead/src/filter.c | 25 + package/network/services/ead/src/libbridge.h | 60 + .../network/services/ead/src/libbridge_init.c | 127 + .../services/ead/src/libbridge_private.h | 35 + package/network/services/ead/src/list.h | 602 + package/network/services/ead/src/passwd | 3 + package/network/services/ead/src/pfc.c | 54 + .../network/services/ead/src/pw_encrypt_md5.c | 646 + package/network/services/ead/src/sha1.c | 104 + .../services/ead/src/tinysrp/Makefile.am | 28 + .../services/ead/src/tinysrp/Makefile.in | 477 + .../network/services/ead/src/tinysrp/Notes | 110 + .../services/ead/src/tinysrp/acconfig.h | 9 + .../services/ead/src/tinysrp/acinclude.m4 | 27 + .../services/ead/src/tinysrp/aclocal.m4 | 157 + package/network/services/ead/src/tinysrp/bn.h | 471 + .../network/services/ead/src/tinysrp/bn_add.c | 305 + .../network/services/ead/src/tinysrp/bn_asm.c | 382 + .../network/services/ead/src/tinysrp/bn_ctx.c | 142 + .../network/services/ead/src/tinysrp/bn_div.c | 378 + .../network/services/ead/src/tinysrp/bn_exp.c | 395 + .../network/services/ead/src/tinysrp/bn_lcl.h | 419 + .../network/services/ead/src/tinysrp/bn_lib.c | 576 + .../network/services/ead/src/tinysrp/bn_mul.c | 172 + .../services/ead/src/tinysrp/bn_prime.h | 325 + .../services/ead/src/tinysrp/bn_shift.c | 139 + .../network/services/ead/src/tinysrp/bn_sqr.c | 160 + .../services/ead/src/tinysrp/bn_word.c | 130 + .../services/ead/src/tinysrp/clitest.c | 110 + .../services/ead/src/tinysrp/config.h.in | 79 + .../services/ead/src/tinysrp/configure | 2421 + .../services/ead/src/tinysrp/configure.in | 52 + .../services/ead/src/tinysrp/install-sh | 250 + .../network/services/ead/src/tinysrp/missing | 134 + .../services/ead/src/tinysrp/mkinstalldirs | 39 + .../services/ead/src/tinysrp/srvtest.c | 111 + .../services/ead/src/tinysrp/stamp-h.in | 1 + .../services/ead/src/tinysrp/t_client.c | 285 + .../services/ead/src/tinysrp/t_client.h | 148 + .../network/services/ead/src/tinysrp/t_conf.c | 1080 + .../network/services/ead/src/tinysrp/t_conv.c | 226 + .../services/ead/src/tinysrp/t_defines.h | 169 + .../services/ead/src/tinysrp/t_getconf.c | 118 + .../services/ead/src/tinysrp/t_getpass.c | 191 + .../network/services/ead/src/tinysrp/t_math.c | 177 + .../network/services/ead/src/tinysrp/t_misc.c | 338 + .../network/services/ead/src/tinysrp/t_pw.c | 262 + .../network/services/ead/src/tinysrp/t_pwd.h | 310 + .../network/services/ead/src/tinysrp/t_read.c | 81 + .../network/services/ead/src/tinysrp/t_read.h | 55 + .../services/ead/src/tinysrp/t_server.c | 259 + .../services/ead/src/tinysrp/t_server.h | 138 + .../network/services/ead/src/tinysrp/t_sha.c | 166 + .../network/services/ead/src/tinysrp/t_sha.h | 26 + .../services/ead/src/tinysrp/t_truerand.c | 151 + .../network/services/ead/src/tinysrp/tconf.c | 157 + .../services/ead/src/tinysrp/tinysrp.c | 235 + .../services/ead/src/tinysrp/tinysrp.h | 18 + .../network/services/ead/src/tinysrp/tpasswd | 2 + .../services/ead/src/tinysrp/tphrase.c | 354 + package/network/services/hostapd/Config.in | 78 + package/network/services/hostapd/Makefile | 642 + .../hostapd/files/hostapd-basic.config | 396 + .../hostapd/files/hostapd-full.config | 396 + .../hostapd/files/hostapd-mini.config | 396 + .../network/services/hostapd/files/hostapd.sh | 972 + .../services/hostapd/files/multicall.c | 28 + .../hostapd/files/wpa_supplicant-basic.config | 620 + .../hostapd/files/wpa_supplicant-full.config | 620 + .../hostapd/files/wpa_supplicant-mini.config | 620 + .../hostapd/files/wpa_supplicant-p2p.config | 620 + .../services/hostapd/files/wps-hotplug.sh | 62 + ...ompletion-callback-to-complete-mesh-.patch | 124 + ...-frequency-as-pri-sec-channel-switch.patch | 26 + ...rnel-driver-DFS-handler-in-userspace.patch | 48 + ...annel-attributes-before-running-Mesh.patch | 47 + ...hannels-to-be-selected-if-dfs-is-ena.patch | 78 + ...-do-not-allow-pri-sec-channel-switch.patch | 29 + ...sh-do-not-use-offchan-mgmt-tx-on-DFS.patch | 61 + ...-fix-channel-switch-error-during-CAC.patch | 59 + ...18-mesh-make-forwarding-configurable.patch | 219 + ...020-ignore-4addr-mode-enabling-error.patch | 78 + ...ix-race-condition-in-mesh-mpm-new-pe.patch | 34 + ...-case-in-peer-addition-based-on-PD-R.patch | 45 + ...re-management-frame-from-unexpected-.patch | 66 + ...ix-WMM-queue-mapping-for-regulatory-.patch | 41 + ...ix-regulatory-limits-for-wmm-cwmin-c.patch | 47 + .../090-wolfssl-fix-crypto_bignum_sum.patch | 26 + ...iler-warnings-on-size_t-printf-forma.patch | 31 + ...ix-crypto_bignum_rand-implementation.patch | 49 + ...ardcode-include-directory-in-wpa_sup.patch | 26 + .../hostapd/patches/100-daemonize_fix.patch | 97 + .../patches/110-wolfssl-compile-fix.patch | 10 + .../hostapd/patches/200-multicall.patch | 355 + .../services/hostapd/patches/300-noscan.patch | 58 + .../hostapd/patches/301-mesh-noscan.patch | 68 + .../patches/310-rescan_immediately.patch | 11 + .../hostapd/patches/320-optional_rfkill.patch | 61 + .../patches/330-nl80211_fix_set_freq.patch | 11 + .../patches/340-reload_freq_change.patch | 73 + .../341-mesh-ctrl-iface-channel-switch.patch | 39 + .../patches/350-nl80211_del_beacon_bss.patch | 54 + .../patches/360-ctrl_iface_reload.patch | 106 + .../hostapd/patches/370-ap_sta_support.patch | 274 + .../patches/380-disable_ctrl_iface_mib.patch | 193 + .../381-hostapd_cli_UNKNOWN-COMMAND.patch | 11 + .../patches/390-wpa_ie_cap_workaround.patch | 56 + .../400-wps_single_auth_enc_type.patch | 22 + .../patches/410-limit_debug_messages.patch | 214 + .../patches/420-indicate-features.patch | 62 + .../patches/430-hostapd_cli_ifdef.patch | 58 + .../hostapd/patches/431-wpa_cli_ifdef.patch | 18 + .../hostapd/patches/432-missing-typedef.patch | 10 + .../hostapd/patches/450-scan_wait.patch | 73 + ...dd-new-config-params-to-be-used-with.patch | 189 + ...-use-new-parameters-during-ibss-join.patch | 59 + .../patches/463-add-mcast_rate-to-11s.patch | 68 + .../patches/464-fix-mesh-obss-check.patch | 19 + .../patches/470-survey_data_fallback.patch | 45 + .../patches/500-lto-jobserver-support.patch | 50 + .../599-wpa_supplicant-fix-warnings.patch | 19 + .../hostapd/patches/600-ubus_support.patch | 337 + ...of-secondary-device-types-for-P2P-gr.patch | 38 + .../services/hostapd/src/src/ap/ubus.c | 1142 + .../services/hostapd/src/src/ap/ubus.h | 78 + .../hostapd/src/src/utils/build_features.h | 45 + .../hostapd/src/wpa_supplicant/ubus.c | 265 + .../hostapd/src/wpa_supplicant/ubus.h | 53 + package/network/services/igmpproxy/Makefile | 59 + .../services/igmpproxy/files/igmpproxy.config | 14 + .../services/igmpproxy/files/igmpproxy.init | 154 + package/network/services/ipset-dns/Makefile | 59 + .../services/ipset-dns/files/ipset-dns.config | 16 + .../services/ipset-dns/files/ipset-dns.init | 57 + package/network/services/lldpd/Config.in | 58 + package/network/services/lldpd/Makefile | 113 + .../network/services/lldpd/files/lldpd.config | 18 + .../network/services/lldpd/files/lldpd.init | 125 + .../lldpd/patches/001-disable_libcap.patch | 17 + package/network/services/odhcpd/Makefile | 108 + .../services/odhcpd/files/odhcpd-update | 6 + .../services/odhcpd/files/odhcpd.defaults | 29 + .../network/services/odhcpd/files/odhcpd.init | 22 + package/network/services/omcproxy/Makefile | 46 + .../services/omcproxy/files/omcproxy.config | 9 + .../services/omcproxy/files/omcproxy.init | 166 + .../services/openvpn-easy-rsa/Makefile | 69 + .../files/openvpn-easy-rsa.upgrade | 1 + .../patches/101-static_EASYRSA.patch | 22 + .../services/openvpn/Config-mbedtls.in | 58 + .../network/services/openvpn/Config-nossl.in | 50 + .../services/openvpn/Config-openssl.in | 62 + package/network/services/openvpn/Makefile | 137 + .../services/openvpn/files/openvpn.config | 407 + .../services/openvpn/files/openvpn.init | 167 + .../services/openvpn/files/openvpn.options | 197 + .../services/openvpn/files/openvpn.upgrade | 1 + .../001-reproducible-remove_DATE.patch | 10 + ...bedtls-disable-runtime-version-check.patch | 11 + .../210-build_always_use_internal_lz4.patch | 74 + .../openvpn/patches/220-disable_des.patch | 81 + package/network/services/ppp/Makefile | 312 + .../services/ppp/files/etc/ppp/chap-secrets | 1 + .../network/services/ppp/files/etc/ppp/filter | 23 + .../services/ppp/files/etc/ppp/options | 8 + .../services/ppp/files/etc/ppp/options.pptp | 7 + .../services/ppp/files/etc/ppp/radius.conf | 8 + .../ppp/files/etc/ppp/radius/dictionary | 253 + .../ppp/files/etc/ppp/radius/dictionary.asnet | 3 + .../files/etc/ppp/radius/dictionary.microsoft | 80 + .../services/ppp/files/etc/ppp/radius/servers | 2 + .../services/ppp/files/lib/netifd/ppp-down | 13 + .../services/ppp/files/lib/netifd/ppp-up | 20 + .../services/ppp/files/lib/netifd/ppp6-up | 32 + package/network/services/ppp/files/ppp.sh | 338 + .../010-use_target_for_configure.patch | 24 + .../ppp/patches/100-debian_ip-ip_option.patch | 96 + .../patches/101-debian_close_dev_ppp.patch | 28 + .../patches/103-debian_fix_link_pidfile.patch | 23 + .../ppp/patches/105-debian_demand.patch | 172 + .../patches/106-debian_stripMSdomain.patch | 47 + .../patches/107-debian_pppoatm_wildcard.patch | 25 + .../ppp/patches/110-debian_defaultroute.patch | 314 + .../120-debian_ipv6_updown_option.patch | 95 + .../121-debian_adaptive_lcp_echo.patch | 56 + .../services/ppp/patches/130-no_cdefs_h.patch | 11 + .../patches/131-missing_prototype_macro.patch | 23 + .../ppp/patches/132-fix_linux_includes.patch | 26 + .../ppp/patches/133-fix_sha1_include.patch | 11 + .../ppp/patches/140-pppoe_compile_fix.patch | 36 + .../services/ppp/patches/200-makefile.patch | 49 + .../ppp/patches/201-mppe_mppc_1.1.patch | 1495 + .../services/ppp/patches/202-no_strip.patch | 88 + .../services/ppp/patches/203-opt_flags.patch | 60 + .../ppp/patches/204-radius_config.patch | 72 + .../patches/205-no_exponential_timeout.patch | 29 + .../patches/206-compensate_time_change.patch | 94 + .../ppp/patches/207-lcp_mtu_max.patch | 25 + .../ppp/patches/208-fix_status_code.patch | 24 + .../300-filter-pcap-includes-lib.patch | 20 + .../ppp/patches/310-precompile_filter.patch | 196 + ...multilink_support_custom_iface_names.patch | 154 + .../330-retain_foreign_default_routes.patch | 22 + .../340-populate_default_gateway.patch | 34 + .../patches/400-simplify_kernel_checks.patch | 154 + .../ppp/patches/401-no_record_file.patch | 39 + .../services/ppp/patches/403-no_wtmp.patch | 25 + .../404-remove_obsolete_protocol_names.patch | 151 + .../ppp/patches/405-no_multilink_option.patch | 28 + .../ppp/patches/500-add-pptp-plugin.patch | 3066 + .../ppp/patches/510-pptp_compile_fix.patch | 11 + .../ppp/patches/511-pptp_cflags.patch | 11 + .../patches/540-save-pppol2tp_fd_str.patch | 13 + ...openssl-for-the-DES-instead-of-the-l.patch | 94 + ...-Prevent-buffer-overflow-in-rc_mksid.patch | 30 + ...01-pppd-Fix-bounds-check-in-EAP-code.patch | 37 + ...ived-EAP-messages-when-not-doing-EAP.patch | 61 + package/network/services/ppp/utils/pfc.c | 51 + package/network/services/relayd/Makefile | 42 + .../network/services/relayd/files/relay.init | 109 + package/network/services/samba36/Makefile | 191 + .../services/samba36/files/samba.config | 6 + .../services/samba36/files/samba.hotplug | 56 + .../network/services/samba36/files/samba.init | 117 + .../services/samba36/files/smb.conf.template | 20 + .../patches/010-patch-cve-2015-5252.patch | 39 + .../patches/011-patch-cve-2015-5296.patch | 88 + .../patches/012-patch-cve-2015-5299.patch | 93 + .../patches/015-patch-cve-2015-7560.patch | 172 + .../patches/020-CVE-preparation-v3-6.patch | 6824 + .../021-CVE-preparation-v3-6-addition.patch | 9515 + .../patches/022-CVE-2015-5370-v3-6.patch | 1791 + .../patches/023-CVE-2016-2110-v3-6.patch | 255 + .../patches/024-CVE-2016-2111-v3-6.patch | 681 + .../patches/025-CVE-2016-2112-v3-6.patch | 129 + .../patches/026-CVE-2016-2115-v3-6.patch | 256 + .../patches/027-CVE-2016-2118-v3-6.patch | 308 + .../patches/028-CVE-2016-2125-v3.6.patch | 59 + .../patches/029-CVE-2017-7494-v3-6.patch | 29 + .../patches/030-CVE-2017-15275-v3.6.patch | 40 + .../patches/031-CVE-2017-12163-v3.6.patch | 136 + .../patches/032-CVE-2017-12150-v3.6.patch | 75 + .../patches/032-CVE-2018-1050-v3-6.patch | 49 + .../samba36/patches/100-configure_fixes.patch | 14 + .../samba36/patches/110-multicall.patch | 119 + .../samba36/patches/111-owrt_smbpasswd.patch | 281 + .../patches/120-add_missing_ifdef.patch | 41 + .../patches/200-remove_printer_support.patch | 346 + .../patches/210-remove_ad_support.patch | 88 + .../samba36/patches/220-remove_services.patch | 98 + .../patches/230-remove_winreg_support.patch | 146 + .../samba36/patches/240-remove_dfs_api.patch | 71 + .../patches/250-remove_domain_logon.patch | 213 + .../samba36/patches/260-remove_samr.patch | 162 + .../patches/270-remove_registry_backend.patch | 43 + .../samba36/patches/280-strip_srvsvc.patch | 143 + .../samba36/patches/290-remove_lsa.patch | 88 + .../patches/300-assert_debug_level.patch | 11 + .../patches/310-remove_error_strings.patch | 337 + .../patches/320-debug_level_checks.patch | 22 + .../patches/330-librpc_default_print.patch | 8854 + package/network/services/uhttpd/Makefile | 113 + .../services/uhttpd/files/ubus.default | 8 + .../services/uhttpd/files/uhttpd.config | 143 + .../network/services/uhttpd/files/uhttpd.init | 209 + package/network/services/umdns/Makefile | 47 + .../network/services/umdns/files/umdns.config | 3 + .../network/services/umdns/files/umdns.init | 52 + .../network/services/umdns/files/umdns.json | 32 + package/network/services/wireguard/Makefile | 89 + ...-kernel-compile-skb_mark_not_on_list.patch | 21 + .../network/utils/adb-enablemodem/Makefile | 26 + .../adb-enablemodem/files/adb-enablemodem | 64 + package/network/utils/arptables/Makefile | 40 + package/network/utils/comgt/Makefile | 106 + package/network/utils/comgt/files/3g.chat | 12 + package/network/utils/comgt/files/3g.sh | 116 + package/network/utils/comgt/files/3g.usb | 33 + .../utils/comgt/files/directip-stop.gcom | 16 + .../network/utils/comgt/files/directip.gcom | 55 + package/network/utils/comgt/files/directip.sh | 114 + package/network/utils/comgt/files/evdo.chat | 17 + .../utils/comgt/files/getcardinfo.gcom | 14 + .../network/utils/comgt/files/getcarrier.gcom | 20 + .../network/utils/comgt/files/getcnum.gcom | 20 + .../network/utils/comgt/files/getimsi.gcom | 17 + .../utils/comgt/files/getstrength.gcom | 14 + package/network/utils/comgt/files/ncm.json | 78 + package/network/utils/comgt/files/ncm.sh | 225 + .../network/utils/comgt/files/runcommand.gcom | 31 + .../network/utils/comgt/files/setmode.gcom | 26 + package/network/utils/comgt/files/setpin.gcom | 56 + .../utils/comgt/patches/001-compile_fix.patch | 23 + .../utils/comgt/patches/002-termios.patch | 105 + .../utils/comgt/patches/003-no_XCASE.patch | 20 + .../utils/comgt/patches/004-check_tty.patch | 68 + package/network/utils/curl/Config.in | 160 + package/network/utils/curl/Makefile | 184 + ...Windows-refuse-paths-that-start-with.patch | 44 + .../curl/patches/101-CVE-2020-8169.patch | 38 + .../curl/patches/200-no_docs_tests.patch | 22 + package/network/utils/dante/Makefile | 118 + .../dante/patches/200-fix-RTLD_NEXT.patch | 36 + .../210-deactivate-sched_setscheduler.patch | 53 + package/network/utils/ebtables/Makefile | 72 + .../utils/ebtables/patches/100-musl_fix.patch | 10 + .../patches/200-fix-extension-init.patch | 260 + package/network/utils/ethtool/Makefile | 59 + package/network/utils/iftop/Makefile | 45 + package/network/utils/iperf/Makefile | 55 + .../patches/0003-fix-non-ipv6-builds.patch | 20 + package/network/utils/iperf3/Makefile | 83 + package/network/utils/iproute2/Makefile | 209 + package/network/utils/iproute2/files/15-teql | 23 + .../iproute2/patches/010-cake-fwmark.patch | 152 + ...tc-add-support-for-action-act_ctinfo.patch | 589 + .../iproute2/patches/100-configure.patch | 12 + .../iproute2/patches/110-darwin_fixes.patch | 59 + .../patches/115-add-config-xtlibdir.patch | 12 + .../utils/iproute2/patches/120-no_arpd.patch | 15 + .../utils/iproute2/patches/130-no_netem.patch | 11 + .../patches/135-sync-iptables-header.patch | 101 + .../patches/140-allow_pfifo_fast.patch | 9 + .../patches/140-keep_libmnl_optional.patch | 11 + .../patches/145-keep_libelf_optional.patch | 11 + .../patches/150-keep_libcap_optional.patch | 11 + .../iproute2/patches/160-libnetlink-pic.patch | 11 + .../utils/iproute2/patches/170-ip_tiny.patch | 102 + .../patches/175-reduce-dynamic-syms.patch | 44 + .../patches/180-drop_FAILED_POLICY.patch | 41 + .../patches/200-drop_libbsd_dependency.patch | 19 + package/network/utils/ipset/Makefile | 73 + package/network/utils/iptables/Makefile | 706 + .../patches/101-remove-check-already.patch | 28 + .../102-iptables-disable-modprobe.patch | 18 + .../iptables/patches/103-optional-xml.patch | 13 + .../patches/200-configurable_builtin.patch | 79 + .../iptables/patches/600-shared-libext.patch | 102 + .../700-disable-legacy-revisions.patch | 95 + .../patches/800-flowoffload_target.patch | 95 + package/network/utils/iputils/Makefile | 182 + .../utils/iputils/patches/001-iputils.patch | 14 + .../utils/iputils/patches/002-fix-ipv6.patch | 14 + .../iputils/patches/003-fix-makefile.patch | 18 + .../patches/010-ping6_uclibc_resolv.patch | 200 + .../patches/011-ping6_use_gnu_source.patch | 11 + .../iputils/patches/020-include_fixes.patch | 71 + package/network/utils/iw/Makefile | 72 + .../utils/iw/patches/001-nl80211_h_sync.patch | 45 + .../utils/iw/patches/120-antenna_gain.patch | 33 + .../utils/iw/patches/200-reduce_size.patch | 357 + package/network/utils/iwcap/Makefile | 46 + package/network/utils/iwcap/src/iwcap.c | 583 + package/network/utils/iwinfo/Makefile | 120 + .../network/utils/layerscape/restool/Makefile | 37 + ...restool-fix-get_device_file-function.patch | 107 + package/network/utils/linux-atm/Makefile | 197 + .../network/utils/linux-atm/files/atm.hotplug | 1 + .../network/utils/linux-atm/files/br2684-up | 3 + .../network/utils/linux-atm/files/br2684ctl | 84 + .../utils/linux-atm/files/br2684ctl_wrap | 5 + .../linux-atm/patches/000-debian_16.patch | 270 + .../linux-atm/patches/200-no_libfl.patch | 179 + .../linux-atm/patches/300-objcopy_path.patch | 40 + .../patches/400-portability_fixes.patch | 56 + .../patches/500-br2684ctl_script.patch | 63 + .../patches/501-br2684ctl_itfname.patch | 74 + .../510-remove-LINUX_NETDEVICE-hack.patch | 52 + .../patches/600-fix-format-errors.patch | 11 + .../linux-atm/patches/700-musl-include.patch | 30 + package/network/utils/maccalc/Makefile | 43 + package/network/utils/maccalc/src/Makefile | 14 + package/network/utils/maccalc/src/main.c | 256 + package/network/utils/nftables/Makefile | 60 + package/network/utils/owipcalc/Makefile | 44 + package/network/utils/owipcalc/src/owipcalc.c | 951 + package/network/utils/resolveip/Makefile | 41 + .../network/utils/resolveip/src/resolveip.c | 98 + package/network/utils/rssileds/Makefile | 46 + .../utils/rssileds/files/rssileds.init | 75 + package/network/utils/rssileds/src/rssileds.c | 290 + package/network/utils/tcpdump/Makefile | 88 + .../patches/001-remove_pcap_debug.patch | 100 + .../002-remove_static_libpcap_check.patch | 92 + .../tcpdump/patches/100-tcpdump_mini.patch | 857 + .../tcpdump/patches/101-CVE-2020-8037.patch | 47 + package/network/utils/umbim/Makefile | 46 + .../umbim/files/lib/netifd/proto/mbim.sh | 180 + package/network/utils/uqmi/Makefile | 50 + .../utils/uqmi/files/lib/netifd/proto/qmi.sh | 410 + .../network/utils/wireguard-tools/Makefile | 63 + .../utils/wireguard-tools/files/wireguard.sh | 185 + .../wireguard-tools/files/wireguard_watchdog | 60 + package/network/utils/wireless-tools/Makefile | 93 + .../wireless-tools/patches/001-debian.patch | 35 + ...-fix-iwconfig-power-argument-parsing.patch | 13 + .../patches/003-we_essential_def.patch | 359 + .../patches/004-increase_iwlist_buffer.patch | 46 + package/network/utils/wpan-tools/Makefile | 33 + ...h-fix-compatibility-with-libnl-3.3.0.patch | 44 + package/network/utils/wwan/Makefile | 45 + .../network/utils/wwan/files/data/0421-03a7 | 6 + .../network/utils/wwan/files/data/0421-060d | 6 + .../network/utils/wwan/files/data/0421-060e | 6 + .../network/utils/wwan/files/data/0421-0612 | 6 + .../network/utils/wwan/files/data/0421-0619 | 6 + .../network/utils/wwan/files/data/0421-061e | 6 + .../network/utils/wwan/files/data/0421-0623 | 6 + .../network/utils/wwan/files/data/0421-0629 | 6 + .../network/utils/wwan/files/data/0421-062d | 6 + .../network/utils/wwan/files/data/0421-062f | 6 + .../network/utils/wwan/files/data/0421-0638 | 6 + .../network/utils/wwan/files/data/05c6-0016 | 6 + .../network/utils/wwan/files/data/05c6-0023 | 5 + .../network/utils/wwan/files/data/05c6-00a0 | 6 + .../network/utils/wwan/files/data/05c6-6000 | 5 + .../network/utils/wwan/files/data/05c6-9000 | 5 + .../network/utils/wwan/files/data/07d1-3e01 | 5 + .../network/utils/wwan/files/data/07d1-3e02 | 5 + .../network/utils/wwan/files/data/07d1-7e11 | 6 + .../network/utils/wwan/files/data/0af0-4005 | 4 + .../network/utils/wwan/files/data/0af0-6901 | 5 + .../network/utils/wwan/files/data/0af0-7201 | 5 + .../network/utils/wwan/files/data/0af0-8120 | 4 + .../network/utils/wwan/files/data/0af0-9200 | 5 + .../network/utils/wwan/files/data/0b3c-c000 | 4 + .../network/utils/wwan/files/data/0b3c-c001 | 4 + .../network/utils/wwan/files/data/0b3c-c002 | 4 + .../network/utils/wwan/files/data/0b3c-c003 | 5 + .../network/utils/wwan/files/data/0b3c-c004 | 4 + .../network/utils/wwan/files/data/0b3c-c005 | 4 + .../network/utils/wwan/files/data/0b3c-c00a | 4 + .../network/utils/wwan/files/data/0b3c-c00b | 4 + .../network/utils/wwan/files/data/0bdb-1900 | 6 + .../network/utils/wwan/files/data/0bdb-1902 | 6 + .../network/utils/wwan/files/data/0bdb-190a | 6 + .../network/utils/wwan/files/data/0bdb-190d | 6 + .../network/utils/wwan/files/data/0bdb-1910 | 6 + .../network/utils/wwan/files/data/0c88-17da | 5 + .../network/utils/wwan/files/data/0c88-180a | 5 + .../network/utils/wwan/files/data/0f3d-68a2 | 4 + .../network/utils/wwan/files/data/0f3d-68aa | 5 + .../network/utils/wwan/files/data/1004-6124 | 6 + .../network/utils/wwan/files/data/1004-6141 | 6 + .../network/utils/wwan/files/data/1004-6157 | 6 + .../network/utils/wwan/files/data/1004-618f | 5 + .../network/utils/wwan/files/data/106c-3711 | 6 + .../network/utils/wwan/files/data/106c-3714 | 6 + .../network/utils/wwan/files/data/106c-3715 | 6 + .../network/utils/wwan/files/data/106c-3716 | 6 + .../network/utils/wwan/files/data/106c-3717 | 6 + .../network/utils/wwan/files/data/106c-3718 | 4 + .../network/utils/wwan/files/data/106c-3721 | 4 + .../network/utils/wwan/files/data/1199-0017 | 5 + .../network/utils/wwan/files/data/1199-0018 | 5 + .../network/utils/wwan/files/data/1199-0019 | 5 + .../network/utils/wwan/files/data/1199-0020 | 5 + .../network/utils/wwan/files/data/1199-0021 | 5 + .../network/utils/wwan/files/data/1199-0022 | 5 + .../network/utils/wwan/files/data/1199-0023 | 5 + .../network/utils/wwan/files/data/1199-0024 | 5 + .../network/utils/wwan/files/data/1199-0025 | 5 + .../network/utils/wwan/files/data/1199-0026 | 5 + .../network/utils/wwan/files/data/1199-0027 | 5 + .../network/utils/wwan/files/data/1199-0028 | 5 + .../network/utils/wwan/files/data/1199-0112 | 5 + .../network/utils/wwan/files/data/1199-0120 | 5 + .../network/utils/wwan/files/data/1199-0218 | 5 + .../network/utils/wwan/files/data/1199-0220 | 5 + .../network/utils/wwan/files/data/1199-0224 | 5 + .../network/utils/wwan/files/data/1199-0301 | 5 + .../network/utils/wwan/files/data/1199-6802 | 5 + .../network/utils/wwan/files/data/1199-6803 | 5 + .../network/utils/wwan/files/data/1199-6804 | 5 + .../network/utils/wwan/files/data/1199-6805 | 5 + .../network/utils/wwan/files/data/1199-6808 | 5 + .../network/utils/wwan/files/data/1199-6809 | 5 + .../network/utils/wwan/files/data/1199-6813 | 5 + .../network/utils/wwan/files/data/1199-6815 | 5 + .../network/utils/wwan/files/data/1199-6816 | 5 + .../network/utils/wwan/files/data/1199-6820 | 5 + .../network/utils/wwan/files/data/1199-6821 | 5 + .../network/utils/wwan/files/data/1199-6822 | 5 + .../network/utils/wwan/files/data/1199-6833 | 5 + .../network/utils/wwan/files/data/1199-6834 | 5 + .../network/utils/wwan/files/data/1199-6835 | 5 + .../network/utils/wwan/files/data/1199-6838 | 5 + .../network/utils/wwan/files/data/1199-6839 | 5 + .../network/utils/wwan/files/data/1199-683a | 5 + .../network/utils/wwan/files/data/1199-683b | 5 + .../network/utils/wwan/files/data/1199-6850 | 5 + .../network/utils/wwan/files/data/1199-6851 | 5 + .../network/utils/wwan/files/data/1199-6852 | 5 + .../network/utils/wwan/files/data/1199-6853 | 5 + .../network/utils/wwan/files/data/1199-6855 | 5 + .../network/utils/wwan/files/data/1199-6856 | 5 + .../network/utils/wwan/files/data/1199-6859 | 5 + .../network/utils/wwan/files/data/1199-685a | 5 + .../network/utils/wwan/files/data/1199-6880 | 5 + .../network/utils/wwan/files/data/1199-6890 | 5 + .../network/utils/wwan/files/data/1199-6891 | 5 + .../network/utils/wwan/files/data/1199-6892 | 5 + .../network/utils/wwan/files/data/1199-6893 | 5 + .../network/utils/wwan/files/data/1199-68a2 | 4 + .../network/utils/wwan/files/data/1199-68aa | 5 + .../network/utils/wwan/files/data/12d1-1035 | 5 + .../network/utils/wwan/files/data/12d1-1404 | 4 + .../network/utils/wwan/files/data/12d1-1406 | 5 + .../network/utils/wwan/files/data/12d1-140b | 5 + .../network/utils/wwan/files/data/12d1-140c | 4 + .../network/utils/wwan/files/data/12d1-1412 | 5 + .../network/utils/wwan/files/data/12d1-141b | 5 + .../network/utils/wwan/files/data/12d1-1433 | 5 + .../network/utils/wwan/files/data/12d1-1436 | 5 + .../network/utils/wwan/files/data/12d1-1444 | 5 + .../network/utils/wwan/files/data/12d1-144e | 5 + .../network/utils/wwan/files/data/12d1-1464 | 5 + .../network/utils/wwan/files/data/12d1-1465 | 5 + .../network/utils/wwan/files/data/12d1-1491 | 5 + .../network/utils/wwan/files/data/12d1-14a5 | 5 + .../network/utils/wwan/files/data/12d1-14a8 | 5 + .../network/utils/wwan/files/data/12d1-14ac | 4 + .../network/utils/wwan/files/data/12d1-14ae | 5 + .../network/utils/wwan/files/data/12d1-14c6 | 4 + .../network/utils/wwan/files/data/12d1-14c8 | 4 + .../network/utils/wwan/files/data/12d1-14c9 | 4 + .../network/utils/wwan/files/data/12d1-14ca | 4 + .../network/utils/wwan/files/data/12d1-14cb | 5 + .../network/utils/wwan/files/data/12d1-14cc | 4 + .../network/utils/wwan/files/data/12d1-14cf | 5 + .../network/utils/wwan/files/data/12d1-14d2 | 4 + .../network/utils/wwan/files/data/12d1-1506 | 5 + .../network/utils/wwan/files/data/12d1-150a | 4 + .../network/utils/wwan/files/data/12d1-150c | 4 + .../network/utils/wwan/files/data/12d1-150f | 4 + .../network/utils/wwan/files/data/12d1-151b | 4 + .../network/utils/wwan/files/data/12d1-151d | 5 + .../network/utils/wwan/files/data/12d1-156c | 5 + .../network/utils/wwan/files/data/12d1-1576 | 4 + .../network/utils/wwan/files/data/12d1-1577 | 4 + .../network/utils/wwan/files/data/12d1-1578 | 4 + .../network/utils/wwan/files/data/12d1-1589 | 4 + .../network/utils/wwan/files/data/12d1-1c05 | 5 + .../network/utils/wwan/files/data/12d1-1c07 | 5 + .../network/utils/wwan/files/data/12d1-1c08 | 5 + .../network/utils/wwan/files/data/12d1-1c10 | 5 + .../network/utils/wwan/files/data/12d1-1c12 | 5 + .../network/utils/wwan/files/data/12d1-1c1e | 4 + .../network/utils/wwan/files/data/12d1-1c1f | 4 + .../network/utils/wwan/files/data/12d1-1c23 | 5 + .../network/utils/wwan/files/data/12d1-1f16 | 4 + .../network/utils/wwan/files/data/1410-1400 | 5 + .../network/utils/wwan/files/data/1410-1410 | 5 + .../network/utils/wwan/files/data/1410-1420 | 5 + .../network/utils/wwan/files/data/1410-1430 | 5 + .../network/utils/wwan/files/data/1410-1450 | 5 + .../network/utils/wwan/files/data/1410-2100 | 5 + .../network/utils/wwan/files/data/1410-2110 | 5 + .../network/utils/wwan/files/data/1410-2120 | 5 + .../network/utils/wwan/files/data/1410-2130 | 5 + .../network/utils/wwan/files/data/1410-2400 | 5 + .../network/utils/wwan/files/data/1410-2410 | 5 + .../network/utils/wwan/files/data/1410-2420 | 5 + .../network/utils/wwan/files/data/1410-4100 | 5 + .../network/utils/wwan/files/data/1410-4400 | 5 + .../network/utils/wwan/files/data/1410-6000 | 5 + .../network/utils/wwan/files/data/1410-6001 | 5 + .../network/utils/wwan/files/data/1410-6002 | 5 + .../network/utils/wwan/files/data/1410-6010 | 5 + .../network/utils/wwan/files/data/1410-7001 | 5 + .../network/utils/wwan/files/data/1410-7003 | 5 + .../network/utils/wwan/files/data/1410-7030 | 5 + .../network/utils/wwan/files/data/1410-7031 | 6 + .../network/utils/wwan/files/data/1410-7041 | 5 + .../network/utils/wwan/files/data/1410-7042 | 5 + .../network/utils/wwan/files/data/1410-9011 | 4 + .../network/utils/wwan/files/data/1410-b001 | 4 + .../network/utils/wwan/files/data/1529-3100 | 6 + .../network/utils/wwan/files/data/16d5-6202 | 5 + .../network/utils/wwan/files/data/16d5-6501 | 5 + .../network/utils/wwan/files/data/16d5-6502 | 5 + .../network/utils/wwan/files/data/16d5-6603 | 6 + .../network/utils/wwan/files/data/16d5-900d | 6 + .../network/utils/wwan/files/data/16d8-5141 | 6 + .../network/utils/wwan/files/data/16d8-5533 | 6 + .../network/utils/wwan/files/data/16d8-5543 | 6 + .../network/utils/wwan/files/data/16d8-5553 | 6 + .../network/utils/wwan/files/data/16d8-6002 | 5 + .../network/utils/wwan/files/data/16d8-6006 | 5 + .../network/utils/wwan/files/data/16d8-6007 | 4 + .../network/utils/wwan/files/data/16d8-6008 | 4 + .../network/utils/wwan/files/data/16d8-6522 | 6 + .../network/utils/wwan/files/data/16d8-6523 | 6 + .../network/utils/wwan/files/data/16d8-6532 | 6 + .../network/utils/wwan/files/data/16d8-6533 | 6 + .../network/utils/wwan/files/data/16d8-6543 | 6 + .../network/utils/wwan/files/data/16d8-680a | 6 + .../network/utils/wwan/files/data/19d2-0001 | 5 + .../network/utils/wwan/files/data/19d2-0002 | 4 + .../network/utils/wwan/files/data/19d2-0015 | 5 + .../network/utils/wwan/files/data/19d2-0016 | 5 + .../network/utils/wwan/files/data/19d2-0017 | 4 + .../network/utils/wwan/files/data/19d2-0018 | 5 + .../network/utils/wwan/files/data/19d2-0019 | 4 + .../network/utils/wwan/files/data/19d2-0022 | 5 + .../network/utils/wwan/files/data/19d2-0024 | 5 + .../network/utils/wwan/files/data/19d2-0025 | 4 + .../network/utils/wwan/files/data/19d2-0031 | 4 + .../network/utils/wwan/files/data/19d2-0033 | 5 + .../network/utils/wwan/files/data/19d2-0037 | 5 + .../network/utils/wwan/files/data/19d2-0039 | 5 + .../network/utils/wwan/files/data/19d2-0042 | 4 + .../network/utils/wwan/files/data/19d2-0052 | 4 + .../network/utils/wwan/files/data/19d2-0055 | 4 + .../network/utils/wwan/files/data/19d2-0057 | 5 + .../network/utils/wwan/files/data/19d2-0063 | 4 + .../network/utils/wwan/files/data/19d2-0064 | 5 + .../network/utils/wwan/files/data/19d2-0066 | 5 + .../network/utils/wwan/files/data/19d2-0073 | 5 + .../network/utils/wwan/files/data/19d2-0079 | 5 + .../network/utils/wwan/files/data/19d2-0082 | 5 + .../network/utils/wwan/files/data/19d2-0086 | 5 + .../network/utils/wwan/files/data/19d2-0091 | 5 + .../network/utils/wwan/files/data/19d2-0094 | 5 + .../network/utils/wwan/files/data/19d2-0104 | 4 + .../network/utils/wwan/files/data/19d2-0108 | 5 + .../network/utils/wwan/files/data/19d2-0116 | 6 + .../network/utils/wwan/files/data/19d2-0117 | 5 + .../network/utils/wwan/files/data/19d2-0121 | 4 + .../network/utils/wwan/files/data/19d2-0124 | 4 + .../network/utils/wwan/files/data/19d2-0128 | 5 + .../network/utils/wwan/files/data/19d2-0142 | 6 + .../network/utils/wwan/files/data/19d2-0143 | 6 + .../network/utils/wwan/files/data/19d2-0152 | 5 + .../network/utils/wwan/files/data/19d2-0157 | 4 + .../network/utils/wwan/files/data/19d2-0167 | 4 + .../network/utils/wwan/files/data/19d2-0170 | 6 + .../network/utils/wwan/files/data/19d2-0199 | 4 + .../network/utils/wwan/files/data/19d2-0257 | 4 + .../network/utils/wwan/files/data/19d2-0265 | 4 + .../network/utils/wwan/files/data/19d2-0284 | 4 + .../network/utils/wwan/files/data/19d2-0326 | 4 + .../network/utils/wwan/files/data/19d2-1003 | 6 + .../network/utils/wwan/files/data/19d2-1008 | 4 + .../network/utils/wwan/files/data/19d2-1010 | 4 + .../network/utils/wwan/files/data/19d2-1015 | 6 + .../network/utils/wwan/files/data/19d2-1018 | 4 + .../network/utils/wwan/files/data/19d2-1172 | 6 + .../network/utils/wwan/files/data/19d2-1173 | 6 + .../network/utils/wwan/files/data/19d2-1176 | 4 + .../network/utils/wwan/files/data/19d2-1177 | 6 + .../network/utils/wwan/files/data/19d2-1181 | 6 + .../network/utils/wwan/files/data/19d2-1203 | 6 + .../network/utils/wwan/files/data/19d2-1208 | 6 + .../network/utils/wwan/files/data/19d2-1211 | 6 + .../network/utils/wwan/files/data/19d2-1212 | 6 + .../network/utils/wwan/files/data/19d2-1217 | 6 + .../network/utils/wwan/files/data/19d2-1218 | 6 + .../network/utils/wwan/files/data/19d2-1220 | 6 + .../network/utils/wwan/files/data/19d2-1222 | 6 + .../network/utils/wwan/files/data/19d2-1245 | 4 + .../network/utils/wwan/files/data/19d2-1252 | 4 + .../network/utils/wwan/files/data/19d2-1254 | 4 + .../network/utils/wwan/files/data/19d2-1256 | 4 + .../network/utils/wwan/files/data/19d2-1270 | 4 + .../network/utils/wwan/files/data/19d2-1401 | 4 + .../network/utils/wwan/files/data/19d2-1402 | 4 + .../network/utils/wwan/files/data/19d2-1426 | 4 + .../network/utils/wwan/files/data/19d2-1512 | 6 + .../network/utils/wwan/files/data/19d2-1515 | 6 + .../network/utils/wwan/files/data/19d2-1518 | 6 + .../network/utils/wwan/files/data/19d2-1519 | 6 + .../network/utils/wwan/files/data/19d2-1522 | 6 + .../network/utils/wwan/files/data/19d2-1525 | 6 + .../network/utils/wwan/files/data/19d2-1527 | 6 + .../network/utils/wwan/files/data/19d2-1537 | 6 + .../network/utils/wwan/files/data/19d2-1538 | 6 + .../network/utils/wwan/files/data/19d2-1544 | 6 + .../network/utils/wwan/files/data/19d2-2002 | 4 + .../network/utils/wwan/files/data/19d2-2003 | 5 + .../network/utils/wwan/files/data/19d2-ffdd | 5 + .../network/utils/wwan/files/data/19d2-ffe4 | 6 + .../network/utils/wwan/files/data/19d2-ffe9 | 5 + .../network/utils/wwan/files/data/19d2-fff1 | 5 + .../network/utils/wwan/files/data/19d2-fffb | 5 + .../network/utils/wwan/files/data/19d2-fffc | 5 + .../network/utils/wwan/files/data/19d2-fffd | 5 + .../network/utils/wwan/files/data/19d2-fffe | 5 + .../network/utils/wwan/files/data/19d2-ffff | 5 + .../network/utils/wwan/files/data/1a8d-1002 | 5 + .../network/utils/wwan/files/data/1a8d-1003 | 5 + .../network/utils/wwan/files/data/1a8d-1007 | 5 + .../network/utils/wwan/files/data/1a8d-1009 | 5 + .../network/utils/wwan/files/data/1a8d-100c | 5 + .../network/utils/wwan/files/data/1a8d-100d | 5 + .../network/utils/wwan/files/data/1a8d-2006 | 6 + .../network/utils/wwan/files/data/1bbb-0000 | 5 + .../network/utils/wwan/files/data/1bbb-0012 | 6 + .../network/utils/wwan/files/data/1bbb-0017 | 5 + .../network/utils/wwan/files/data/1bbb-0052 | 5 + .../network/utils/wwan/files/data/1bbb-00b7 | 5 + .../network/utils/wwan/files/data/1bbb-00ca | 6 + .../network/utils/wwan/files/data/1bbb-011e | 4 + .../network/utils/wwan/files/data/1bbb-0203 | 4 + .../network/utils/wwan/files/data/1c9e-6060 | 6 + .../network/utils/wwan/files/data/1c9e-6061 | 6 + .../network/utils/wwan/files/data/1c9e-9000 | 6 + .../network/utils/wwan/files/data/1c9e-9603 | 5 + .../network/utils/wwan/files/data/1c9e-9605 | 5 + .../network/utils/wwan/files/data/1c9e-9607 | 5 + .../network/utils/wwan/files/data/1c9e-9801 | 6 + .../network/utils/wwan/files/data/1c9e-9900 | 6 + .../network/utils/wwan/files/data/1e0e-9000 | 5 + .../network/utils/wwan/files/data/1e0e-9100 | 5 + .../network/utils/wwan/files/data/1e0e-9200 | 5 + .../network/utils/wwan/files/data/1e0e-ce16 | 5 + .../network/utils/wwan/files/data/1e0e-cefe | 6 + .../network/utils/wwan/files/data/1e2d-0053 | 6 + .../network/utils/wwan/files/data/1e2d-005b | 5 + .../network/utils/wwan/files/data/2001-7d00 | 6 + .../network/utils/wwan/files/data/2001-7d01 | 5 + .../network/utils/wwan/files/data/2001-7d02 | 5 + .../network/utils/wwan/files/data/2001-7d03 | 5 + .../network/utils/wwan/files/data/211f-6801 | 5 + .../network/utils/wwan/files/data/2357-0201 | 4 + .../network/utils/wwan/files/data/2357-0202 | 4 + .../network/utils/wwan/files/data/2357-0203 | 4 + .../network/utils/wwan/files/data/2357-9000 | 4 + .../network/utils/wwan/files/data/413c-8114 | 5 + .../network/utils/wwan/files/data/413c-8115 | 5 + .../network/utils/wwan/files/data/413c-8116 | 5 + .../network/utils/wwan/files/data/413c-8117 | 5 + .../network/utils/wwan/files/data/413c-8118 | 5 + .../network/utils/wwan/files/data/413c-8128 | 5 + .../network/utils/wwan/files/data/413c-8129 | 5 + .../network/utils/wwan/files/data/413c-8133 | 5 + .../network/utils/wwan/files/data/413c-8134 | 5 + .../network/utils/wwan/files/data/413c-8135 | 5 + .../network/utils/wwan/files/data/413c-8136 | 5 + .../network/utils/wwan/files/data/413c-8137 | 5 + .../network/utils/wwan/files/data/413c-8138 | 5 + .../network/utils/wwan/files/data/413c-8147 | 6 + .../network/utils/wwan/files/data/413c-8180 | 5 + .../network/utils/wwan/files/data/413c-8181 | 5 + .../network/utils/wwan/files/data/413c-8182 | 5 + .../network/utils/wwan/files/data/413c-8186 | 4 + .../network/utils/wwan/files/data/413c-8194 | 4 + .../network/utils/wwan/files/data/413c-8195 | 4 + .../network/utils/wwan/files/data/413c-8196 | 4 + .../network/utils/wwan/files/data/413c-819b | 5 + package/network/utils/wwan/files/wwan.sh | 119 + package/network/utils/wwan/files/wwan.usb | 23 + package/network/utils/wwan/files/wwan.usbmisc | 27 + package/system/ca-certificates/Makefile | 65 + package/system/fstools/Makefile | 138 + package/system/fstools/files/blockd.init | 21 + package/system/fstools/files/fstab.default | 2 + package/system/fstools/files/fstab.init | 20 + .../system/fstools/files/media-change.hotplug | 8 + package/system/fstools/files/mount.hotplug | 1 + package/system/fstools/files/snapshot | 113 + package/system/fwtool/Makefile | 47 + package/system/fwtool/src/crc32.h | 48 + package/system/fwtool/src/fwimage.h | 39 + package/system/fwtool/src/fwtool.c | 468 + package/system/fwtool/src/utils.h | 116 + package/system/iucode-tool/Makefile | 47 + package/system/mtd/Makefile | 52 + package/system/mtd/src/Makefile | 28 + package/system/mtd/src/crc32.c | 95 + package/system/mtd/src/crc32.h | 26 + package/system/mtd/src/fis.c | 262 + package/system/mtd/src/fis.h | 14 + package/system/mtd/src/imagetag.c | 410 + package/system/mtd/src/jffs2.c | 366 + package/system/mtd/src/jffs2.h | 216 + package/system/mtd/src/linksys_bootcount.c | 187 + package/system/mtd/src/md5.c | 307 + package/system/mtd/src/md5.h | 65 + package/system/mtd/src/mtd.c | 1078 + package/system/mtd/src/mtd.h | 34 + package/system/mtd/src/seama.c | 188 + package/system/mtd/src/seama.h | 108 + .../system/mtd/src/tpl_ramips_recoveryflag.c | 94 + package/system/mtd/src/trx.c | 270 + package/system/mtd/src/wrg.c | 208 + package/system/mtd/src/wrgg.c | 189 + package/system/mtd/src/wrgg.h | 20 + package/system/openwrt-keyring/Makefile | 38 + package/system/opkg/Makefile | 103 + package/system/opkg/files/20_migrate-feeds | 9 + package/system/opkg/files/customfeeds.conf | 3 + package/system/opkg/files/opkg-key | 56 + package/system/opkg/files/opkg-smime.conf | 6 + package/system/opkg/files/opkg.conf | 4 + package/system/procd/Makefile | 122 + .../system/procd/files/hotplug-preinit.json | 18 + package/system/procd/files/hotplug.json | 73 + package/system/procd/files/procd.sh | 548 + package/system/procd/files/reload_config | 15 + package/system/rpcd/Makefile | 97 + package/system/rpcd/files/rpcd.config | 10 + package/system/rpcd/files/rpcd.init | 25 + package/system/ubox/Makefile | 70 + package/system/ubox/files/log.init | 102 + package/system/ubus/Makefile | 79 + package/system/ucert/Makefile | 71 + package/system/uci/Makefile | 89 + package/system/uci/files/lib/config/uci.sh | 156 + ...arse_package-fix-heap-use-after-free.patch | 51 + ...-file-Check-buffer-size-after-strtok.patch | 104 + package/system/urandom-seed/Makefile | 32 + .../files/etc/init.d/urandom_seed | 12 + .../files/lib/preinit/81_urandom_seed | 24 + .../urandom-seed/files/sbin/urandom_seed | 20 + package/system/urngd/Makefile | 48 + package/system/urngd/files/urngd.init | 17 + package/system/usign/Makefile | 47 + package/system/zram-swap/Makefile | 46 + package/system/zram-swap/files/zram.init | 215 + package/utils/adb/Makefile | 53 + .../adb/patches/001-create_Makefile.patch | 45 + .../adb/patches/003-fix-musl-build.patch | 10 + .../utils/adb/patches/010-openssl-1.1.patch | 28 + .../020-cherry-picked-superspeed-fix.patch | 39 + package/utils/bsdiff/Makefile | 79 + package/utils/bsdiff/patches/001-musl.patch | 84 + package/utils/busybox/Config-defaults.in | 3110 + package/utils/busybox/Config.in | 21 + package/utils/busybox/Makefile | 120 + package/utils/busybox/config/Config.in | 722 + .../utils/busybox/config/archival/Config.in | 436 + .../busybox/config/console-tools/Config.in | 157 + .../utils/busybox/config/coreutils/Config.in | 926 + .../busybox/config/debianutils/Config.in | 70 + .../utils/busybox/config/e2fsprogs/Config.in | 67 + .../config/e2fsprogs/old_e2fsprogs/Config.in | 69 + .../utils/busybox/config/editors/Config.in | 229 + .../utils/busybox/config/findutils/Config.in | 271 + package/utils/busybox/config/init/Config.in | 206 + .../busybox/config/klibc-utils/Config.in | 43 + package/utils/busybox/config/libbb/Config.in | 455 + .../utils/busybox/config/loginutils/Config.in | 330 + .../utils/busybox/config/mailutils/Config.in | 51 + .../utils/busybox/config/miscutils/Config.in | 803 + .../utils/busybox/config/modutils/Config.in | 245 + .../utils/busybox/config/networking/Config.in | 1205 + .../busybox/config/networking/udhcp/Config.in | 205 + .../utils/busybox/config/printutils/Config.in | 26 + package/utils/busybox/config/procps/Config.in | 273 + package/utils/busybox/config/runit/Config.in | 98 + .../utils/busybox/config/selinux/Config.in | 99 + package/utils/busybox/config/shell/Config.in | 578 + .../utils/busybox/config/sysklogd/Config.in | 165 + .../utils/busybox/config/util-linux/Config.in | 988 + .../config/util-linux/volume_id/Config.in | 197 + package/utils/busybox/convert_defaults.pl | 13 + package/utils/busybox/convert_menuconfig.pl | 76 + package/utils/busybox/files/cron | 40 + package/utils/busybox/files/ntpd-hotplug | 2 + package/utils/busybox/files/sysntpd | 90 + .../busybox/patches/100-trylink_bash.patch | 8 + .../patches/101-gen_build_files_bash.patch | 8 + .../patches/110-no_static_libgcc.patch | 11 + .../busybox/patches/120-lto-jobserver.patch | 27 + .../patches/200-udhcpc_reduce_msgs.patch | 18 + .../patches/201-udhcpc_changed_ifindex.patch | 15 + .../203-udhcpc_renew_no_deconfig.patch | 10 + .../busybox/patches/210-add_netmsg_util.patch | 79 + .../busybox/patches/220-add_lock_util.patch | 158 + .../patches/230-add_nslookup_lede.patch | 951 + .../busybox/patches/240-telnetd_intr.patch | 10 + .../busybox/patches/250-date-k-flag.patch | 92 + .../270-libbb_make_unicode_printable.patch | 20 + .../301-ip-link-fix-netlink-msg-size.patch | 11 + .../500-move-traceroute-applets-to-bin.patch | 13 + .../510-move-passwd-applet-to-bin.patch | 11 + ...520-loginutils-handle-crypt-failures.patch | 53 + ...se-rtnl_send_check-on-flush-commands.patch | 214 + package/utils/bzip2/Makefile | 110 + .../utils/bzip2/patches/020-no-utime.patch | 27 + .../utils/bzip2/patches/021-fix-LDFLAGS.patch | 11 + package/utils/ct-bugcheck/Makefile | 52 + package/utils/ct-bugcheck/src/bugcheck.initd | 16 + package/utils/ct-bugcheck/src/bugcheck.sh | 115 + package/utils/ct-bugcheck/src/bugchecker.sh | 29 + package/utils/e2fsprogs/Makefile | 332 + package/utils/e2fsprogs/files/e2fsck.conf | 3 + package/utils/e2fsprogs/files/e2fsck.sh | 38 + .../e2fsprogs/patches/000-relocatable.patch | 40 + .../patches/001-com_err_version.patch | 13 + .../patches/002-fix-subst-host-build.patch | 10 + .../100-CVE-2019-5094-libsupport.patch | 203 + package/utils/f2fs-tools/Makefile | 98 + .../010-fsck-Fix-big-endian-platforms.patch | 35 + ...f2fs-fix-incorrect-endian-conversion.patch | 24 + package/utils/fbtest/Makefile | 39 + package/utils/fbtest/src/Makefile | 14 + package/utils/fbtest/src/fbtest.c | 446 + package/utils/fritz-tools/Makefile | 60 + package/utils/fritz-tools/README.md | 50 + package/utils/fritz-tools/src/CMakeLists.txt | 16 + .../utils/fritz-tools/src/fritz_cal_extract.c | 259 + .../fritz-tools/src/fritz_tffs_nand_read.c | 572 + .../utils/fritz-tools/src/fritz_tffs_read.c | 379 + package/utils/fuse/Makefile | 103 + .../fuse/patches/100-missing_includes.patch | 10 + .../fuse/patches/112-no_break_on_mknod.patch | 11 + ...t_arm64_fuse_kernel_h_clean_includes.patch | 30 + package/utils/jboot-tools/Makefile | 28 + package/utils/jboot-tools/README.md | 46 + package/utils/jboot-tools/src/CMakeLists.txt | 11 + .../utils/jboot-tools/src/jboot_config_read.c | 427 + package/utils/jsonfilter/Makefile | 32 + package/utils/lua/Makefile | 176 + .../010-lua-5.1.3-lnum-full-260308.patch | 3747 + .../patches-host/011-lnum-use-double.patch | 11 + ...2-lnum-fix-ltle-relational-operators.patch | 22 + .../013-lnum-strtoul-parsing-fixes.patch | 48 + .../patches-host/015-lnum-ppc-compat.patch | 11 + .../030-archindependent-bytecode.patch | 111 + .../lua/patches-host/100-no_readline.patch | 49 + .../010-lua-5.1.3-lnum-full-260308.patch | 3737 + .../lua/patches/011-lnum-use-double.patch | 11 + ...2-lnum-fix-ltle-relational-operators.patch | 22 + .../013-lnum-strtoul-parsing-fixes.patch | 48 + .../lua/patches/015-lnum-ppc-compat.patch | 11 + .../utils/lua/patches/020-shared_liblua.patch | 140 + .../030-archindependent-bytecode.patch | 111 + .../patches/040-use-symbolic-functions.patch | 11 + .../utils/lua/patches/050-honor-cflags.patch | 11 + .../utils/lua/patches/100-no_readline.patch | 49 + package/utils/lua/patches/200-lua-path.patch | 15 + .../lua/patches/300-opcode_performance.patch | 363 + package/utils/mdadm/Makefile | 70 + package/utils/mdadm/files/mdadm.config | 18 + package/utils/mdadm/files/mdadm.init | 93 + .../mdadm/patches/100-cross_compile.patch | 11 + ...h-Undefine-dprintf-before-redefining.patch | 38 + ...missing-include-file-sys-sysmacros.h.patch | 29 + .../utils/mdadm/patches/200-reduce_size.patch | 25 + package/utils/mtd-utils/Makefile | 84 + .../mtd-utils/patches/100-fix_includes.patch | 10 + .../mtd-utils/patches/130-lzma_jffs2.patch | 5033 + package/utils/nvram/Makefile | 51 + package/utils/nvram/files/nvram.init | 98 + package/utils/nvram/src/Makefile | 7 + package/utils/nvram/src/cli.c | 255 + package/utils/nvram/src/crc.c | 69 + package/utils/nvram/src/nvram.c | 547 + package/utils/nvram/src/nvram.h | 123 + package/utils/nvram/src/sdinitvals.h | 30 + package/utils/osafeloader/Makefile | 40 + package/utils/osafeloader/src/Makefile | 7 + package/utils/osafeloader/src/md5.c | 296 + package/utils/osafeloader/src/md5.h | 45 + package/utils/osafeloader/src/osafeloader.c | 263 + package/utils/oseama/Makefile | 40 + package/utils/oseama/src/Makefile | 7 + package/utils/oseama/src/md5.c | 296 + package/utils/oseama/src/md5.h | 45 + package/utils/oseama/src/oseama.c | 556 + package/utils/otrx/Makefile | 40 + package/utils/otrx/src/Makefile | 7 + package/utils/otrx/src/otrx.c | 592 + package/utils/px5g/Makefile | 69 + package/utils/px5g/px5g.c | 326 + package/utils/spidev_test/Makefile | 60 + package/utils/ugps/Makefile | 45 + package/utils/ugps/files/gps.config | 4 + package/utils/ugps/files/ugps.init | 31 + package/utils/usbmode/Makefile | 74 + package/utils/usbmode/data/12d1-1f16 | 2 + package/utils/usbmode/files/usbmode.hotplug | 1 + package/utils/usbmode/files/usbmode.init | 12 + package/utils/usbreset/Makefile | 39 + package/utils/usbreset/src/usbreset.c | 236 + package/utils/usbutils/Makefile | 60 + package/utils/util-linux/Makefile | 801 + .../patches/003-fix_pkgconfig_files.patch | 76 + .../util-linux/patches/100-use_urandom.patch | 14 + package/utils/xfsprogs/Makefile | 98 + .../xfsprogs/patches/100-no-selftest.patch | 14 + .../utils/xfsprogs/patches/110-subdirs.patch | 12 + .../xfsprogs/patches/120-disable_assert.patch | 12 + ...six_memalign-instead-of-deprecated-v.patch | 26 + .../patches/140-copy-file-range.patch | 48 + rules.mk | 426 + scripts/arm-magic.sh | 42 + scripts/brcmImage.pl | 162 + scripts/bundle-libraries.sh | 212 + scripts/checkpatch.pl | 3491 + scripts/clang-gcc-wrapper | 12 + scripts/clean-package.sh | 25 + scripts/cleanfile | 177 + scripts/cleanpatch | 259 + scripts/combined-ext-image.sh | 78 + scripts/combined-image.sh | 34 + scripts/config.guess | 1486 + scripts/config.rpath | 666 + scripts/config.sub | 1790 + scripts/config/.gitignore | 15 + scripts/config/Makefile | 107 + scripts/config/README | 2 + scripts/config/conf.c | 703 + scripts/config/confdata.c | 1252 + scripts/config/expr.c | 1209 + scripts/config/expr.h | 239 + scripts/config/images.c | 326 + scripts/config/list.h | 131 + scripts/config/lkc.h | 187 + scripts/config/lkc_proto.h | 53 + scripts/config/lxdialog/.gitignore | 2 + scripts/config/lxdialog/check-lxdialog.sh | 91 + scripts/config/lxdialog/checklist.c | 332 + scripts/config/lxdialog/dialog.h | 257 + scripts/config/lxdialog/inputbox.c | 301 + scripts/config/lxdialog/menubox.c | 437 + scripts/config/lxdialog/textbox.c | 408 + scripts/config/lxdialog/util.c | 713 + scripts/config/lxdialog/yesno.c | 114 + scripts/config/mconf.c | 1053 + scripts/config/menu.c | 697 + scripts/config/qconf.cc | 1870 + scripts/config/qconf.h | 330 + scripts/config/symbol.c | 1386 + scripts/config/util.c | 147 + scripts/config/zconf.gperf | 49 + scripts/config/zconf.hash.c_shipped | 250 + scripts/config/zconf.l | 427 + scripts/config/zconf.lex.c_shipped | 2533 + scripts/config/zconf.tab.c_shipped | 2478 + scripts/config/zconf.y | 754 + scripts/deptest.sh | 211 + scripts/diffconfig.sh | 16 + scripts/dl_cleanup.py | 237 + scripts/dl_github_archive.py | 427 + scripts/download.pl | 295 + scripts/dump-target-info.pl | 91 + scripts/env | 226 + scripts/ext-toolchain.sh | 583 + scripts/feeds | 926 + scripts/fixup-makefile.pl | 135 + scripts/flashing/adam2flash-502T.pl | 342 + scripts/flashing/adam2flash-fritzbox.pl | 209 + scripts/flashing/adam2flash.pl | 174 + scripts/flashing/adsl2mue_flash.pl | 170 + scripts/flashing/eva_ramboot.py | 45 + scripts/flashing/flash.sh | 66 + scripts/flashing/jungo-image.py | 283 + scripts/gen-dependencies.sh | 33 + scripts/gen_image_generic.sh | 35 + scripts/get_source_date_epoch.sh | 30 + scripts/getver.sh | 59 + scripts/ipkg-build | 166 + scripts/ipkg-make-index.sh | 31 + scripts/ipkg-remove | 20 + scripts/json_add_image_info.py | 52 + scripts/json_overview_image_info.py | 55 + scripts/kconfig.pl | 182 + scripts/linksys-image.sh | 67 + scripts/make-ipkg-dir.sh | 21 + scripts/md5sum | 2 + scripts/metadata.pm | 308 + scripts/mkhash.c | 827 + scripts/mkits-qsdk-ipq-image.sh | 59 + scripts/mkits.sh | 118 + scripts/om-fwupgradecfg-gen.sh | 99 + scripts/package-metadata.pl | 634 + scripts/pad_image | 100 + scripts/patch-kernel.sh | 54 + scripts/patch-specs.sh | 90 + scripts/portable_date.sh | 11 + scripts/qemustart | 340 + scripts/redboot-script.pl | 111 + scripts/relink-lib.sh | 14 + scripts/remote-gdb | 89 + scripts/rstrip.sh | 49 + scripts/slugimage.pl | 1217 + scripts/srecimage.pl | 57 + scripts/strip-kmod.sh | 55 + scripts/symlink-tree.sh | 51 + scripts/sysupgrade-tar.sh | 73 + scripts/target-metadata.pl | 456 + scripts/time.pl | 65 + scripts/timestamp.pl | 69 + scripts/ubinize-image.sh | 139 + target/Config.in | 218 + target/Makefile | 23 + target/imagebuilder/Config.in | 17 + target/imagebuilder/Makefile | 97 + target/imagebuilder/files/Makefile | 223 + target/imagebuilder/files/repositories.conf | 4 + target/linux/Makefile | 13 + target/linux/apm821xx/Makefile | 29 + .../apm821xx/base-files/etc/board.d/01_leds | 56 + .../base-files/etc/board.d/02_network | 35 + .../etc/hotplug.d/firmware/10-ath9k-eeprom | 88 + .../etc/hotplug.d/ieee80211/10_fix_wifi_mac | 21 + target/linux/apm821xx/base-files/etc/inittab | 4 + .../lib/preinit/05_set_iface_mac_apm821xx | 15 + .../lib/preinit/05_set_preinit_iface_apm821xx | 7 + .../base-files/lib/preinit/79_move_config | 22 + .../base-files/lib/upgrade/platform.sh | 52 + .../apm821xx/base-files/lib/upgrade/wdbook.sh | 94 + target/linux/apm821xx/config-4.14 | 364 + target/linux/apm821xx/dts/apm82181.dtsi | 490 + target/linux/apm821xx/dts/meraki-mr24.dts | 189 + target/linux/apm821xx/dts/meraki-mx60.dts | 182 + .../linux/apm821xx/dts/netgear-wndap620.dts | 28 + .../linux/apm821xx/dts/netgear-wndap660.dts | 38 + .../linux/apm821xx/dts/netgear-wndap6x0.dtsi | 220 + .../linux/apm821xx/dts/netgear-wndr4700.dts | 408 + target/linux/apm821xx/dts/wd-mybooklive.dts | 196 + .../arch/powerpc/platforms/44x/wndr4700.c | 99 + target/linux/apm821xx/image/Makefile | 249 + target/linux/apm821xx/image/mbl_boot.scr | 6 + .../linux/apm821xx/image/mbl_gen_hdd_img.sh | 27 + target/linux/apm821xx/nand/config-default | 49 + .../apm821xx/nand/profiles/00-default.mk | 22 + target/linux/apm821xx/nand/target.mk | 9 + ...-remove-unused-definitions-and-write.patch | 120 + ...-set-CRYPTO_ALG_KERN_DRIVER_ONLY-fla.patch | 31 + ...-remove-extern-statement-before-func.patch | 76 + ...-remove-double-assignment-of-pd_uinf.patch | 24 + ...-fix-dynamic_sa_ctl-s-sa_contents-de.patch | 87 + ...-move-and-refactor-dynamic_contents-.patch | 234 + ...-enable-AES-RFC3686-ECB-CFB-and-OFB-.patch | 248 + ...x-refactor-crypto4xx_copy_pkt_to_dst.patch | 171 + ...-replace-crypto4xx_dev-s-scatter_buf.patch | 59 + ...rypto4xx-pointer-arithmetic-overhaul.patch | 373 + ...to4xx-wire-up-hmac_mc-to-hmac_muting.patch | 25 + ...pto-crypto4xx-fix-off-by-one-AES-OFB.patch | 49 + ...4xx-fix-type-mismatch-compiler-error.patch | 29 + ...-crypto4xx-add-backlog-queue-support.patch | 161 + ...-use-the-correct-LE32-format-for-IV-.patch | 236 + ...rypto4xx-overhaul-crypto4xx_build_pd.patch | 535 + ...rypto-crypto4xx-fix-various-warnings.patch | 62 + ...rypto4xx-fix-stalls-under-heavy-load.patch | 112 + ...-simplify-sa-and-state-context-acqui.patch | 209 + ...o-crypto4xx-prepare-for-AEAD-support.patch | 617 + ...crypto-crypto4xx-add-aes-ccm-support.patch | 256 + ...crypto-crypto4xx-add-aes-gcm-support.patch | 220 + ...-shuffle-iomap-in-front-of-request_i.patch | 71 + ...o-crypto4xx-support-Revision-B-parts.patch | 150 + ...to-crypto4xx-fix-missing-irq-devname.patch | 37 + ...04-crypto-crypto4xx-kill-MODULE_NAME.patch | 47 + ...-perform-aead-icv-check-in-the-drive.patch | 146 + ...ng-memory-allocator-instead-of-alloc.patch | 39 + ...-crypto4xx-performance-optimizations.patch | 159 + ...crypto-crypto4xx-convert-to-skcipher.patch | 578 + ...-0004-crypto-crypto4xx-avoid-VLA-use.patch | 61 + ...crypto-crypto4xx-add-aes-ctr-support.patch | 247 + ...rypto4xx-extend-aead-fallback-checks.patch | 102 + ...-put-temporary-dst-sg-into-request-c.patch | 157 + .../023-0001-treewide-kzalloc-kcalloc.patch | 447 + ...remove-useless-setting-of-type-flags.patch | 84 + ...-CRYPTO_ALG_ASYNC-from-cipher-tfm-al.patch | 34 + ...4xx_core-don-t-abuse-__dma_sync_page.patch | 30 + ...s-tree-phase-out-dma_zalloc_coherent.patch | 40 + ...to-crypto4xx-add-prng-crypto-support.patch | 199 + ...rypto4xx-fix-AES-CTR-blocksize-value.patch | 60 + ...pto4xx-fix-blocksize-for-cfb-and-ofb.patch | 44 + ...-block-ciphers-should-only-accept-co.patch | 172 + ...lace-custom-rgmii_mode_name-with-phy.patch | 51 + ...emac-replace-custom-PHY_MODE_-macros.patch | 246 + ...-emac-support-RGMII-RX-TX-ID-phymode.patch | 59 + .../140-GPIO-add-named-gpio-exports.patch | 169 + .../200-add-meraki-mr24-ikarem-support.patch | 32 + .../201-add-amcc-apollo3g-support.patch | 30 + .../202-add-netgear-wndr4700-support.patch | 32 + ...-add-meraki-mx60-buckminster-support.patch | 32 + .../300-fix-atheros-nics-on-apm82181.patch | 51 + .../301-fix-memory-map-wndr4700.patch | 14 + ...ings-add-protection-control-property.patch | 38 + .../701-powerpc_ibm_apm82181_phyclk_fix.patch | 51 + ...mware-loader-for-uPD720201-and-uPD72.patch | 545 + .../802-usb-xhci-force-msi-renesas-xhci.patch | 54 + ...03-hwmon-tc654-add-detection-routine.patch | 65 + ...mon-tc654-add-thermal_cooling-device.patch | 174 + target/linux/apm821xx/sata/config-default | 48 + .../apm821xx/sata/profiles/00-default.mk | 18 + target/linux/apm821xx/sata/target.mk | 9 + target/linux/ar71xx/Makefile | 24 + .../ar71xx/base-files/etc/board.d/01_leds | 1131 + .../ar71xx/base-files/etc/board.d/02_network | 711 + .../base-files/etc/board.d/03_gpio_switches | 42 + target/linux/ar71xx/base-files/etc/diag.sh | 596 + .../etc/hotplug.d/firmware/10-ath9k-eeprom | 178 + .../etc/hotplug.d/firmware/11-ath10k-caldata | 195 + .../etc/hotplug.d/ieee80211/10_fix_wifi_mac | 24 + .../etc/hotplug.d/net/10-ar922x-led-fix | 52 + target/linux/ar71xx/base-files/etc/inittab | 3 + .../uci-defaults/03_network-switchX-migration | 108 + .../uci-defaults/03_network-vlan-migration | 13 + .../etc/uci-defaults/04_led_migration | 84 + .../etc/uci-defaults/09_fix-checksum | 28 + .../etc/uci-defaults/09_fix-seama-header | 17 + target/linux/ar71xx/base-files/lib/ar71xx.sh | 1589 + .../lib/preinit/01_preinit_do_ar71xx.sh | 9 + .../lib/preinit/05_set_iface_mac_ar71xx | 60 + .../lib/preinit/05_set_preinit_iface_ar71xx | 57 + .../base-files/lib/preinit/82_patch_ath10k | 50 + .../ar71xx/base-files/lib/upgrade/allnet.sh | 155 + .../ar71xx/base-files/lib/upgrade/dir825.sh | 165 + .../base-files/lib/upgrade/merakinand.sh | 165 + .../ar71xx/base-files/lib/upgrade/openmesh.sh | 232 + .../ar71xx/base-files/lib/upgrade/platform.sh | 916 + target/linux/ar71xx/config-4.14 | 486 + .../files/arch/mips/ath79/Kconfig.openwrt | 2458 + .../ar71xx/files/arch/mips/ath79/Makefile | 290 + .../files/arch/mips/ath79/dev-ap9x-pci.c | 173 + .../files/arch/mips/ath79/dev-ap9x-pci.h | 55 + .../ar71xx/files/arch/mips/ath79/dev-dsa.c | 36 + .../ar71xx/files/arch/mips/ath79/dev-dsa.h | 21 + .../ar71xx/files/arch/mips/ath79/dev-eth.c | 1262 + .../ar71xx/files/arch/mips/ath79/dev-eth.h | 55 + .../ar71xx/files/arch/mips/ath79/dev-m25p80.c | 101 + .../ar71xx/files/arch/mips/ath79/dev-m25p80.h | 17 + .../ar71xx/files/arch/mips/ath79/dev-nfc.c | 141 + .../ar71xx/files/arch/mips/ath79/dev-nfc.h | 34 + .../ar71xx/files/arch/mips/ath79/mach-a60.c | 181 + .../files/arch/mips/ath79/mach-alfa-ap120c.c | 147 + .../files/arch/mips/ath79/mach-alfa-ap96.c | 132 + .../files/arch/mips/ath79/mach-alfa-nx.c | 113 + .../files/arch/mips/ath79/mach-all0258n.c | 88 + .../files/arch/mips/ath79/mach-all0315n.c | 85 + .../files/arch/mips/ath79/mach-antminer-s1.c | 98 + .../files/arch/mips/ath79/mach-antminer-s3.c | 103 + .../files/arch/mips/ath79/mach-antrouter-r1.c | 98 + .../files/arch/mips/ath79/mach-ap121f.c | 103 + .../ar71xx/files/arch/mips/ath79/mach-ap132.c | 189 + .../ar71xx/files/arch/mips/ath79/mach-ap143.c | 142 + .../ar71xx/files/arch/mips/ath79/mach-ap147.c | 125 + .../ar71xx/files/arch/mips/ath79/mach-ap152.c | 140 + .../files/arch/mips/ath79/mach-ap531b0.c | 112 + .../ar71xx/files/arch/mips/ath79/mach-ap90q.c | 201 + .../files/arch/mips/ath79/mach-ap91-5g.c | 118 + .../ar71xx/files/arch/mips/ath79/mach-ap96.c | 142 + .../arch/mips/ath79/mach-archer-c25-v1.c | 227 + .../arch/mips/ath79/mach-archer-c59-v1.c | 342 + .../arch/mips/ath79/mach-archer-c60-v1.c | 225 + .../files/arch/mips/ath79/mach-archer-c7-v4.c | 260 + .../files/arch/mips/ath79/mach-archer-c7-v5.c | 207 + .../files/arch/mips/ath79/mach-archer-c7.c | 349 + .../files/arch/mips/ath79/mach-arduino-yun.c | 156 + .../files/arch/mips/ath79/mach-aw-nr580.c | 107 + .../files/arch/mips/ath79/mach-bhr-4grv2.c | 171 + .../arch/mips/ath79/mach-bhu-bxu2000n2-a.c | 120 + .../ar71xx/files/arch/mips/ath79/mach-bsb.c | 83 + .../ar71xx/files/arch/mips/ath79/mach-c55.c | 132 + .../ar71xx/files/arch/mips/ath79/mach-c60.c | 265 + .../files/arch/mips/ath79/mach-cap324.c | 133 + .../files/arch/mips/ath79/mach-cap4200ag.c | 131 + .../files/arch/mips/ath79/mach-carambola2.c | 105 + .../files/arch/mips/ath79/mach-cf-e316n-v2.c | 765 + .../files/arch/mips/ath79/mach-cpe510.c | 281 + .../files/arch/mips/ath79/mach-cpe870.c | 152 + .../files/arch/mips/ath79/mach-cr3000.c | 168 + .../files/arch/mips/ath79/mach-cr5000.c | 179 + .../files/arch/mips/ath79/mach-dap-1330-a1.c | 146 + .../files/arch/mips/ath79/mach-dap-2695-a1.c | 191 + .../files/arch/mips/ath79/mach-dgl-5500-a1.c | 150 + .../files/arch/mips/ath79/mach-dhp-1565-a1.c | 170 + .../files/arch/mips/ath79/mach-dir-505-a1.c | 116 + .../files/arch/mips/ath79/mach-dir-600-a1.c | 162 + .../files/arch/mips/ath79/mach-dir-615-c1.c | 135 + .../files/arch/mips/ath79/mach-dir-615-i1.c | 133 + .../files/arch/mips/ath79/mach-dir-825-b1.c | 191 + .../files/arch/mips/ath79/mach-dir-825-c1.c | 241 + .../files/arch/mips/ath79/mach-dir-869-a1.c | 175 + .../files/arch/mips/ath79/mach-dlan-hotspot.c | 117 + .../arch/mips/ath79/mach-dlan-pro-1200-ac.c | 190 + .../arch/mips/ath79/mach-dlan-pro-500-wp.c | 203 + .../arch/mips/ath79/mach-domywifi-dw33d.c | 192 + .../ar71xx/files/arch/mips/ath79/mach-dr344.c | 224 + .../ar71xx/files/arch/mips/ath79/mach-dr531.c | 155 + .../files/arch/mips/ath79/mach-dragino2.c | 136 + .../files/arch/mips/ath79/mach-e1700ac-v2.c | 145 + .../files/arch/mips/ath79/mach-e2100l.c | 126 + .../files/arch/mips/ath79/mach-e558-v2.c | 170 + .../files/arch/mips/ath79/mach-e600g-v2.c | 184 + .../files/arch/mips/ath79/mach-e750a-v4.c | 122 + .../files/arch/mips/ath79/mach-e750g-v8.c | 151 + .../files/arch/mips/ath79/mach-eap120.c | 126 + .../files/arch/mips/ath79/mach-eap300v2.c | 101 + .../files/arch/mips/ath79/mach-eap7660d.c | 181 + .../files/arch/mips/ath79/mach-el-m150.c | 112 + .../files/arch/mips/ath79/mach-el-mini.c | 86 + .../files/arch/mips/ath79/mach-ens202ext.c | 124 + .../files/arch/mips/ath79/mach-epg5000.c | 177 + .../files/arch/mips/ath79/mach-esr1750.c | 176 + .../files/arch/mips/ath79/mach-esr900.c | 200 + .../files/arch/mips/ath79/mach-ew-balin.c | 110 + .../files/arch/mips/ath79/mach-ew-dorin.c | 138 + .../files/arch/mips/ath79/mach-f9k1115v2.c | 189 + .../files/arch/mips/ath79/mach-fritz300e.c | 132 + .../files/arch/mips/ath79/mach-fritz4020.c | 242 + .../files/arch/mips/ath79/mach-fritz450e.c | 179 + .../files/arch/mips/ath79/mach-gl-ar150.c | 125 + .../files/arch/mips/ath79/mach-gl-ar300.c | 103 + .../files/arch/mips/ath79/mach-gl-ar300m.c | 158 + .../files/arch/mips/ath79/mach-gl-ar750.c | 146 + .../files/arch/mips/ath79/mach-gl-ar750s.c | 193 + .../files/arch/mips/ath79/mach-gl-domino.c | 136 + .../files/arch/mips/ath79/mach-gl-inet.c | 104 + .../files/arch/mips/ath79/mach-gl-mifi.c | 114 + .../files/arch/mips/ath79/mach-gl-usb150.c | 87 + .../arch/mips/ath79/mach-gs-minibox-v32.c | 121 + .../files/arch/mips/ath79/mach-gs-oolite-v1.c | 143 + .../arch/mips/ath79/mach-gs-oolite-v5-2.c | 111 + .../files/arch/mips/ath79/mach-hiveap-121.c | 153 + .../arch/mips/ath79/mach-hiwifi-hc6361.c | 115 + .../files/arch/mips/ath79/mach-hornet-ub.c | 142 + .../files/arch/mips/ath79/mach-ja76pf.c | 190 + .../files/arch/mips/ath79/mach-jwap003.c | 95 + .../files/arch/mips/ath79/mach-jwap230.c | 158 + .../ar71xx/files/arch/mips/ath79/mach-koala.c | 161 + .../files/arch/mips/ath79/mach-lan-turtle.c | 178 + .../ar71xx/files/arch/mips/ath79/mach-lima.c | 86 + .../files/arch/mips/ath79/mach-mc-mac1200r.c | 155 + .../ar71xx/files/arch/mips/ath79/mach-mr12.c | 114 + .../ar71xx/files/arch/mips/ath79/mach-mr16.c | 118 + .../files/arch/mips/ath79/mach-mr1750.c | 171 + .../ar71xx/files/arch/mips/ath79/mach-mr18.c | 286 + .../ar71xx/files/arch/mips/ath79/mach-mr600.c | 177 + .../ar71xx/files/arch/mips/ath79/mach-mr900.c | 181 + .../files/arch/mips/ath79/mach-mynet-n600.c | 202 + .../files/arch/mips/ath79/mach-mynet-n750.c | 226 + .../files/arch/mips/ath79/mach-mynet-rext.c | 208 + .../files/arch/mips/ath79/mach-mzk-w04nu.c | 124 + .../files/arch/mips/ath79/mach-mzk-w300nh.c | 115 + .../ar71xx/files/arch/mips/ath79/mach-n5q.c | 132 + .../files/arch/mips/ath79/mach-nbg460n.c | 220 + .../files/arch/mips/ath79/mach-nbg6716.c | 385 + .../ar71xx/files/arch/mips/ath79/mach-om2p.c | 320 + .../ar71xx/files/arch/mips/ath79/mach-om5p.c | 218 + .../files/arch/mips/ath79/mach-om5pac.c | 193 + .../files/arch/mips/ath79/mach-om5pacv2.c | 215 + .../files/arch/mips/ath79/mach-omy-g1.c | 123 + .../files/arch/mips/ath79/mach-omy-x1.c | 106 + .../files/arch/mips/ath79/mach-onion-omega.c | 84 + .../ar71xx/files/arch/mips/ath79/mach-pb42.c | 83 + .../files/arch/mips/ath79/mach-pqi-air-pen.c | 99 + .../files/arch/mips/ath79/mach-qihoo-c301.c | 166 + .../ar71xx/files/arch/mips/ath79/mach-r36a.c | 140 + .../ar71xx/files/arch/mips/ath79/mach-r602n.c | 213 + .../ar71xx/files/arch/mips/ath79/mach-r6100.c | 146 + .../files/arch/mips/ath79/mach-rambutan.c | 92 + .../files/arch/mips/ath79/mach-rb2011.c | 406 + .../ar71xx/files/arch/mips/ath79/mach-rb4xx.c | 465 + .../ar71xx/files/arch/mips/ath79/mach-rb750.c | 349 + .../ar71xx/files/arch/mips/ath79/mach-rb91x.c | 348 + .../ar71xx/files/arch/mips/ath79/mach-rb922.c | 361 + .../ar71xx/files/arch/mips/ath79/mach-rb95x.c | 327 + .../ar71xx/files/arch/mips/ath79/mach-rbspi.c | 1262 + .../files/arch/mips/ath79/mach-rbsxtlite.c | 302 + .../ar71xx/files/arch/mips/ath79/mach-re450.c | 239 + .../files/arch/mips/ath79/mach-rme-eg200.c | 99 + .../files/arch/mips/ath79/mach-rut9xx.c | 191 + .../files/arch/mips/ath79/mach-rw2458n.c | 91 + .../files/arch/mips/ath79/mach-sc1750.c | 145 + .../files/arch/mips/ath79/mach-sc300m.c | 132 + .../ar71xx/files/arch/mips/ath79/mach-sc450.c | 149 + .../files/arch/mips/ath79/mach-smart-300.c | 135 + .../files/arch/mips/ath79/mach-som9331.c | 125 + .../files/arch/mips/ath79/mach-sr3200.c | 187 + .../ar71xx/files/arch/mips/ath79/mach-t830.c | 127 + .../mips/ath79/mach-tellstick-znet-lite.c | 129 + .../files/arch/mips/ath79/mach-tew-632brp.c | 111 + .../files/arch/mips/ath79/mach-tew-673gru.c | 198 + .../files/arch/mips/ath79/mach-tew-712br.c | 153 + .../files/arch/mips/ath79/mach-tew-732br.c | 127 + .../files/arch/mips/ath79/mach-tew-823dru.c | 181 + .../files/arch/mips/ath79/mach-tl-mr11u.c | 183 + .../files/arch/mips/ath79/mach-tl-mr13u.c | 107 + .../files/arch/mips/ath79/mach-tl-mr3020.c | 126 + .../files/arch/mips/ath79/mach-tl-mr3x20.c | 147 + .../files/arch/mips/ath79/mach-tl-mr6400.c | 151 + .../arch/mips/ath79/mach-tl-wa701nd-v2.c | 116 + .../arch/mips/ath79/mach-tl-wa7210n-v2.c | 125 + .../arch/mips/ath79/mach-tl-wa801nd-v3.c | 137 + .../arch/mips/ath79/mach-tl-wa830re-v2.c | 132 + .../arch/mips/ath79/mach-tl-wa901nd-v2.c | 104 + .../arch/mips/ath79/mach-tl-wa901nd-v4.c | 115 + .../files/arch/mips/ath79/mach-tl-wa901nd.c | 127 + .../files/arch/mips/ath79/mach-tl-wax50re.c | 445 + .../arch/mips/ath79/mach-tl-wdr3320-v2.c | 146 + .../files/arch/mips/ath79/mach-tl-wdr3500.c | 169 + .../files/arch/mips/ath79/mach-tl-wdr4300.c | 206 + .../arch/mips/ath79/mach-tl-wdr6500-v2.c | 142 + .../files/arch/mips/ath79/mach-tl-wpa8630.c | 172 + .../arch/mips/ath79/mach-tl-wr1041n-v2.c | 157 + .../arch/mips/ath79/mach-tl-wr1043nd-v2.c | 215 + .../arch/mips/ath79/mach-tl-wr1043nd-v4.c | 283 + .../files/arch/mips/ath79/mach-tl-wr1043nd.c | 141 + .../files/arch/mips/ath79/mach-tl-wr2543n.c | 150 + .../files/arch/mips/ath79/mach-tl-wr703n.c | 118 + .../files/arch/mips/ath79/mach-tl-wr720n-v3.c | 108 + .../arch/mips/ath79/mach-tl-wr741nd-v4.c | 187 + .../files/arch/mips/ath79/mach-tl-wr741nd.c | 130 + .../files/arch/mips/ath79/mach-tl-wr802n.c | 117 + .../files/arch/mips/ath79/mach-tl-wr810n.c | 149 + .../files/arch/mips/ath79/mach-tl-wr841n-v8.c | 286 + .../files/arch/mips/ath79/mach-tl-wr841n-v9.c | 457 + .../files/arch/mips/ath79/mach-tl-wr841n.c | 140 + .../arch/mips/ath79/mach-tl-wr902ac-v1.c | 145 + .../files/arch/mips/ath79/mach-tl-wr940n-v4.c | 184 + .../arch/mips/ath79/mach-tl-wr941nd-v6.c | 149 + .../files/arch/mips/ath79/mach-tl-wr941nd.c | 121 + .../files/arch/mips/ath79/mach-tl-wr942n-v1.c | 279 + .../files/arch/mips/ath79/mach-ts-d084.c | 86 + .../files/arch/mips/ath79/mach-tube2h.c | 129 + .../files/arch/mips/ath79/mach-ubnt-unifiac.c | 179 + .../files/arch/mips/ath79/mach-ubnt-xm.c | 781 + .../ar71xx/files/arch/mips/ath79/mach-ubnt.c | 205 + .../files/arch/mips/ath79/mach-wam250.c | 122 + .../ar71xx/files/arch/mips/ath79/mach-weio.c | 140 + .../files/arch/mips/ath79/mach-whr-hp-g300n.c | 155 + .../files/arch/mips/ath79/mach-wi2a-ac200i.c | 217 + .../mips/ath79/mach-wifi-pineapple-nano.c | 107 + .../files/arch/mips/ath79/mach-wlae-ag300n.c | 114 + .../files/arch/mips/ath79/mach-wlr8100.c | 195 + .../files/arch/mips/ath79/mach-wndap360.c | 105 + .../files/arch/mips/ath79/mach-wndr3700.c | 172 + .../files/arch/mips/ath79/mach-wndr4300.c | 215 + .../files/arch/mips/ath79/mach-wnr2000-v3.c | 637 + .../files/arch/mips/ath79/mach-wnr2000-v4.c | 214 + .../files/arch/mips/ath79/mach-wnr2000.c | 102 + .../files/arch/mips/ath79/mach-wnr2200.c | 246 + .../ar71xx/files/arch/mips/ath79/mach-wp543.c | 109 + .../ar71xx/files/arch/mips/ath79/mach-wpe72.c | 97 + .../files/arch/mips/ath79/mach-wpj342.c | 178 + .../files/arch/mips/ath79/mach-wpj344.c | 169 + .../files/arch/mips/ath79/mach-wpj531.c | 143 + .../files/arch/mips/ath79/mach-wpj558.c | 170 + .../files/arch/mips/ath79/mach-wpj563.c | 150 + .../files/arch/mips/ath79/mach-wrt160nl.c | 126 + .../files/arch/mips/ath79/mach-wrt400n.c | 161 + .../files/arch/mips/ath79/mach-wrtnode2q.c | 126 + .../files/arch/mips/ath79/mach-wzr-450hp2.c | 221 + .../arch/mips/ath79/mach-wzr-hp-ag300h.c | 202 + .../arch/mips/ath79/mach-wzr-hp-g300nh.c | 279 + .../arch/mips/ath79/mach-wzr-hp-g300nh2.c | 174 + .../files/arch/mips/ath79/mach-wzr-hp-g450h.c | 169 + .../ar71xx/files/arch/mips/ath79/mach-z1.c | 164 + .../files/arch/mips/ath79/mach-zbt-we1526.c | 153 + .../files/arch/mips/ath79/mach-zcn-1523h.c | 154 + .../ar71xx/files/arch/mips/ath79/machtypes.h | 387 + .../ar71xx/files/arch/mips/ath79/nvram.c | 85 + .../ar71xx/files/arch/mips/ath79/nvram.h | 19 + .../files/arch/mips/ath79/pci-ath9k-fixup.c | 126 + .../files/arch/mips/ath79/pci-ath9k-fixup.h | 6 + .../ar71xx/files/arch/mips/ath79/routerboot.c | 354 + .../ar71xx/files/arch/mips/ath79/routerboot.h | 89 + .../mips/include/asm/fw/myloader/myloader.h | 34 + .../include/asm/mach-ath79/ag71xx_platform.h | 65 + .../mips/include/asm/mach-ath79/mach-rb750.h | 84 + .../mips/include/asm/mach-ath79/rb4xx_cpld.h | 43 + .../ar71xx/files/drivers/gpio/gpio-latch.c | 220 + .../files/drivers/gpio/gpio-nxp-74hc153.c | 243 + .../ar71xx/files/drivers/leds/leds-nu801.c | 396 + .../ar71xx/files/drivers/leds/leds-rb750.c | 144 + .../files/drivers/leds/leds-wndr3700-usb.c | 76 + .../ar71xx/files/drivers/mtd/cybertan_part.c | 206 + .../files/drivers/mtd/nand/ar934x_nfc.c | 1591 + .../files/drivers/mtd/nand/rb4xx_nand.c | 396 + .../files/drivers/mtd/nand/rb750_nand.c | 440 + .../files/drivers/mtd/nand/rb91x_nand.c | 464 + .../ar71xx/files/drivers/mtd/tplinkpart.c | 235 + .../ar71xx/files/drivers/net/dsa/mv88e6063.c | 307 + .../net/ethernet/atheros/ag71xx/Kconfig | 33 + .../net/ethernet/atheros/ag71xx/Makefile | 15 + .../net/ethernet/atheros/ag71xx/ag71xx.h | 508 + .../ethernet/atheros/ag71xx/ag71xx_ar7240.c | 1386 + .../ethernet/atheros/ag71xx/ag71xx_ar8216.c | 44 + .../ethernet/atheros/ag71xx/ag71xx_debugfs.c | 285 + .../ethernet/atheros/ag71xx/ag71xx_ethtool.c | 120 + .../net/ethernet/atheros/ag71xx/ag71xx_main.c | 1494 + .../net/ethernet/atheros/ag71xx/ag71xx_mdio.c | 320 + .../net/ethernet/atheros/ag71xx/ag71xx_phy.c | 261 + .../ar71xx/files/drivers/spi/spi-rb4xx-cpld.c | 347 + .../ar71xx/files/drivers/spi/spi-rb4xx.c | 430 + .../ar71xx/files/drivers/spi/spi-vsc7385.c | 621 + .../ar71xx/files/include/linux/leds-nu801.h | 38 + .../ar71xx/files/include/linux/nxp_74hc153.h | 24 + .../files/include/linux/platform/ar934x_nfc.h | 39 + .../include/linux/platform_data/gpio-latch.h | 14 + .../include/linux/platform_data/rb91x_nand.h | 16 + .../ar71xx/files/include/linux/spi/vsc7385.h | 19 + target/linux/ar71xx/generic/config-default | 227 + .../ar71xx/generic/profiles/00-default.mk | 18 + target/linux/ar71xx/generic/target.mk | 10 + target/linux/ar71xx/image/Makefile | 69 + target/linux/ar71xx/image/common-tp-link.mk | 108 + .../ar71xx/image/generic-legacy-devices.mk | 423 + target/linux/ar71xx/image/generic-tp-link.mk | 544 + target/linux/ar71xx/image/generic-ubnt.mk | 319 + target/linux/ar71xx/image/generic.mk | 1352 + target/linux/ar71xx/image/legacy.mk | 1058 + .../linux/ar71xx/image/lzma-loader/Makefile | 70 + .../ar71xx/image/lzma-loader/src/LzmaDecode.c | 584 + .../ar71xx/image/lzma-loader/src/LzmaDecode.h | 113 + .../ar71xx/image/lzma-loader/src/LzmaTypes.h | 45 + .../ar71xx/image/lzma-loader/src/Makefile | 108 + .../image/lzma-loader/src/ar71xx_regs.h | 725 + .../ar71xx/image/lzma-loader/src/board.c | 56 + .../ar71xx/image/lzma-loader/src/cache.c | 43 + .../ar71xx/image/lzma-loader/src/cache.h | 17 + .../ar71xx/image/lzma-loader/src/cacheops.h | 85 + .../ar71xx/image/lzma-loader/src/config.h | 31 + .../ar71xx/image/lzma-loader/src/cp0regdef.h | 39 + .../linux/ar71xx/image/lzma-loader/src/head.S | 134 + .../ar71xx/image/lzma-loader/src/loader.c | 264 + .../ar71xx/image/lzma-loader/src/loader.lds | 34 + .../ar71xx/image/lzma-loader/src/loader2.lds | 10 + .../image/lzma-loader/src/lzma-data.lds | 8 + .../ar71xx/image/lzma-loader/src/printf.c | 350 + .../ar71xx/image/lzma-loader/src/printf.h | 18 + target/linux/ar71xx/image/mikrotik.mk | 61 + target/linux/ar71xx/image/nand.mk | 137 + .../linux/ar71xx/image/tiny-legacy-devices.mk | 164 + target/linux/ar71xx/image/tiny-senao.mk | 28 + target/linux/ar71xx/image/tiny-tp-link.mk | 699 + target/linux/ar71xx/image/tiny.mk | 31 + target/linux/ar71xx/image/ubinize-nbg6716.ini | 24 + .../linux/ar71xx/image/ubinize-wndr4300.ini | 26 + target/linux/ar71xx/mikrotik/config-default | 79 + .../ar71xx/mikrotik/profiles/00-default.mk | 18 + target/linux/ar71xx/mikrotik/target.mk | 11 + target/linux/ar71xx/modules.mk | 69 + target/linux/ar71xx/nand/config-default | 70 + .../linux/ar71xx/nand/profiles/00-default.mk | 18 + target/linux/ar71xx/nand/target.mk | 9 + .../ar71xx/patches-4.14/001-spi-cs-gpio.patch | 20 + .../002-add_back_gpio_function_select.patch | 92 + .../004-register_gpio_driver_earlier.patch | 18 + ...Avoid-using-unitialized-reg-variable.patch | 42 + ...h79-do-AR724x-PCIe-root-complex-init.patch | 113 + ...200-MIPS-ath79-fix-ar933x-wmac-reset.patch | 30 + .../201-ar913x_wmac_external_reset.patch | 31 + .../202-MIPS-ath79-ar934x-wmac-revision.patch | 11 + .../220-add_cpu_feature_overrides.patch | 28 + ...0-MIPS-add-MIPS_MACHINE_NONAME-macro.patch | 21 + .../310-lib-add-rle-decompression.patch | 124 + ...otentially-missed-IRQ-handling-durin.patch | 52 + .../401-mtd-physmap-add-lock-unlock.patch | 94 + .../402-mtd-SST39VF6401B-support.patch | 29 + ...mtd_fix_cfi_cmdset_0002_status_check.patch | 62 + .../404-mtd-cybertan-trx-parser.patch | 25 + .../405-mtd-tp-link-partition-parser.patch | 25 + ...o-pass-probe-types-via-platform-data.patch | 34 + .../408-mtd-redboot_partition_scan.patch | 44 + .../409-mtd-rb4xx_nand_driver.patch | 21 + .../410-mtd-rb750-nand-driver.patch | 21 + ...mtd-cfi_cmdset_0002-force-word-write.patch | 61 + .../413-mtd-ar934x-nand-driver.patch | 25 + .../414-mtd-rb91x-nand-driver.patch | 23 + .../420-net-ar71xx_mac_driver.patch | 28 + .../423-dsa-add-88e6063-driver.patch | 27 + .../430-drivers-link-spi-before-mtd.patch | 12 + .../432-spi-rb4xx-spi-driver.patch | 25 + .../433-spi-rb4xx-cpld-driver.patch | 26 + .../patches-4.14/435-spi-vsc7385_driver.patch | 24 + .../440-leds-wndr3700-usb-led-driver.patch | 26 + .../441-leds-rb750-led-driver.patch | 23 + ...to-use-OPEN_-DRAIN-SOURCE-flags-with.patch | 45 + ...50-gpio-nxp-74hc153-gpio-chip-driver.patch | 25 + ...x164-improve-platform-device-support.patch | 119 + .../452-gpio-add-gpio-latch-driver.patch | 22 + .../461-spi-ath79-add-fast-flash-read.patch | 60 + ...ath79-swizzle-pci-address-for-ar71xx.patch | 111 + ...490-usb-ehci-add-quirks-for-qca-socs.patch | 103 + .../patches-4.14/500-MIPS-fw-myloader.patch | 22 + ...-mac-argument-to-ath79_register_wmac.patch | 70 + ...IPS-ath79-add-ath79_device_reset_get.patch | 42 + ...ath79-add-ath79_gpio_function_select.patch | 39 + ...6-MIPS-ath79-prom-parse-redboot-args.patch | 42 + ...MIPS-ath79-prom-add-myloader-support.patch | 55 + ...S-ath79-prom-image-command-line-hack.patch | 73 + ...PS-ath79-process-board-kernel-option.patch | 11 + ...S-ath79-init-gpio-pin-of-wmac-device.patch | 14 + .../520-MIPS-ath79-enable-UART-function.patch | 18 + ...S-ath79-enable-UART-for-early_serial.patch | 61 + ...dd-ath79_wmac_register_simple-helper.patch | 21 + .../523-MIPS-ath79-OTP-support.patch | 192 + ...add-ath79_wmac_disable_25ghz-helpers.patch | 31 + ...525-MIPS-ath79-enable-qca-usb-quirks.patch | 101 + ...MIPS-ath79-add-more-register-defines.patch | 455 + .../602-MIPS-ath79-add-openwrt-stuff.patch | 49 + .../603-MIPS-ath79-ap121-fixes.patch | 149 + .../patches-4.14/604-MIPS-ath79-no-of.patch | 70 + .../605-MIPS-ath79-db120-fixes.patch | 204 + .../606-MIPS-ath79-pb44-fixes.patch | 144 + .../607-MIPS-ath79-ubnt-xm-fixes.patch | 14 + ...8-MIPS-ath79-ubnt-xm-add-more-boards.patch | 20 + .../609-MIPS-ath79-ap136-fixes.patch | 300 + .../611-MIPS-ath79-wdt-timeout.patch | 25 + .../612-MIPS-ath79-set-buffalo-txgain.patch | 24 + ...ath79_wmac_setup_ext_lna_gpio-helper.patch | 76 + ...PS-ath79-add-support-for-QCA953x-SoC.patch | 696 + ...PS-ath79-add-support-for-QCA956x-SoC.patch | 717 + ...ore-register-defines-for-QCA956x-SoC.patch | 38 + ...0-MIPS-ath79-fix-chained-irq-disable.patch | 106 + ...1-MIPS-ath79-wmac-enable-set-led-pin.patch | 24 + ...MIPS-ath79-gpio-enable-set-direction.patch | 32 + ...40-MIPS-ath79-add-QCA955x-wmac-reset.patch | 82 + .../700-MIPS-ath79-add-openwrt-Kconfig.patch | 11 + ...MIPS-ath79-add-routerboard-detection.patch | 35 + ...h79-fixup-routerboot-board-parameter.patch | 43 + ...d-gpio-func-register-for-QCA955x-SoC.patch | 38 + ...0-MIPS-ath79-add-PCI-for-QCA953x-SoC.patch | 44 + ...1-MIPS-ath79-add-PCI-for-QCA9556-SoC.patch | 12 + .../818-MIPS-ath79-add-nu801-led-driver.patch | 26 + ...-MIPS-ath79-add_gpio_function2_setup.patch | 67 + ...support-for-boot-console-with-arbitr.patch | 54 + .../900-mdio_bitbang_ignore_ta_value.patch | 32 + ...-prevent-rescheduling-during-command.patch | 61 + .../902-at803x-add-reset-gpio-pdata.patch | 68 + ...at803x-add-sgmii-aneg-override-pdata.patch | 38 + .../910-unaligned_access_hacks.patch | 942 + ...usb-chipidea-AR933x-platform-support.patch | 124 + ...ore-register-defines-for-QCA956x-SoC.patch | 194 + .../patches-4.14/930-chipidea-pullup.patch | 72 + .../940-qca955x-add-more-registers.patch | 42 + .../950-add-boardinfo-platform-data.patch | 67 + .../952-qca955x-enable-ddr-wb-flush.patch | 49 + .../953-qca955x-pci-reset-fixes.patch | 120 + ...x-fix-potential-missing-irq-dispatch.patch | 27 + target/linux/ar71xx/tiny/config-default | 76 + .../linux/ar71xx/tiny/profiles/00-default.mk | 11 + target/linux/ar71xx/tiny/target.mk | 10 + target/linux/arc770/Makefile | 25 + .../arc770/base-files/etc/board.d/02_network | 18 + target/linux/arc770/base-files/lib/arc.sh | 40 + .../base-files/lib/preinit/01_preinit_arc.sh | 9 + target/linux/arc770/config-4.14 | 200 + .../arc770/generic/profiles/00-default.mk | 16 + target/linux/arc770/generic/target.mk | 8 + target/linux/arc770/image/Config.in | 5 + target/linux/arc770/image/Makefile | 84 + .../arc770/image/gen_axs10x_sdcard_img.sh | 33 + target/linux/arc770/image/uEnv.txt | 7 + ...c-Disable-frame-filtering-completely.patch | 31 + target/linux/archs38/Makefile | 26 + .../archs38/base-files/etc/board.d/02_network | 18 + target/linux/archs38/base-files/lib/arc.sh | 43 + .../base-files/lib/preinit/01_preinit_arc.sh | 9 + target/linux/archs38/config-4.14 | 208 + .../archs38/generic/profiles/00-default.mk | 16 + target/linux/archs38/generic/target.mk | 8 + target/linux/archs38/image/Config.in | 5 + target/linux/archs38/image/Makefile | 86 + .../archs38/image/gen_axs10x_sdcard_img.sh | 33 + target/linux/archs38/image/uEnv.txt | 7 + target/linux/archs38/image/uboot.env.txt | 29 + ...c-Disable-frame-filtering-completely.patch | 31 + target/linux/armvirt/32/config-default | 121 + target/linux/armvirt/32/target.mk | 10 + target/linux/armvirt/64/config-default | 179 + target/linux/armvirt/64/target.mk | 8 + target/linux/armvirt/Makefile | 20 + target/linux/armvirt/README | 40 + .../armvirt/base-files/etc/board.d/00_model | 14 + target/linux/armvirt/base-files/etc/inittab | 5 + target/linux/armvirt/config-4.14 | 182 + target/linux/armvirt/image/Makefile | 28 + target/linux/at91/Makefile | 25 + .../at91/base-files/etc/board.d/02_network | 24 + .../linux/at91/base-files/etc/config/firewall | 6 + .../linux/at91/base-files/etc/config/network | 20 + target/linux/at91/base-files/lib/at91.sh | 93 + .../lib/preinit/01_preinit_do_at91.sh | 9 + target/linux/at91/config-4.14 | 562 + .../files/arch/arm/boot/dts/at91-q5xr5.dts | 193 + .../at91/files/arch/arm/boot/dts/lmu5000.dts | 124 + .../at91/files/arch/arm/boot/dts/wb45n.dts | 220 + .../at91/files/arch/arm/boot/dts/wb50n.dts | 113 + .../at91/files/arch/arm/boot/dts/wb50n.dtsi | 205 + target/linux/at91/image/Config.in | 10 + target/linux/at91/image/Makefile | 118 + target/linux/at91/image/dfboot/Makefile | 35 + target/linux/at91/image/dfboot/src/Makefile | 94 + target/linux/at91/image/dfboot/src/_udivsi3.S | 77 + target/linux/at91/image/dfboot/src/_umodsi3.S | 88 + target/linux/at91/image/dfboot/src/asm_isr.S | 75 + .../linux/at91/image/dfboot/src/asm_mci_isr.S | 75 + target/linux/at91/image/dfboot/src/at45.c | 595 + target/linux/at91/image/dfboot/src/com.c | 368 + target/linux/at91/image/dfboot/src/com.h | 28 + target/linux/at91/image/dfboot/src/config.h | 17 + .../at91/image/dfboot/src/cstartup_ram.S | 144 + .../linux/at91/image/dfboot/src/dataflash.c | 208 + .../linux/at91/image/dfboot/src/dataflash.h | 181 + target/linux/at91/image/dfboot/src/div0.c | 28 + .../at91/image/dfboot/src/elf32-littlearm.lds | 19 + .../at91/image/dfboot/src/embedded_services.h | 500 + .../dfboot/src/include/AT91C_MCI_Device.h | 379 + .../image/dfboot/src/include/AT91RM9200.h | 2745 + .../image/dfboot/src/include/AT91RM9200.inc | 2437 + .../image/dfboot/src/include/AT91RM9200_inc.h | 2401 + .../linux/at91/image/dfboot/src/include/led.h | 49 + .../image/dfboot/src/include/lib_AT91RM9200.h | 2978 + target/linux/at91/image/dfboot/src/init.c | 165 + target/linux/at91/image/dfboot/src/jump.S | 4 + target/linux/at91/image/dfboot/src/led.c | 103 + target/linux/at91/image/dfboot/src/main.c | 811 + target/linux/at91/image/dfboot/src/main.h | 43 + .../linux/at91/image/dfboot/src/mci_device.c | 743 + target/linux/at91/image/dfboot/src/stdio.h | 18 + .../linux/at91/image/gen_at91_sdcard_img.sh | 33 + target/linux/at91/image/sam9x.mk | 132 + target/linux/at91/image/sama5.mk | 71 + target/linux/at91/image/sama5d3.mk | 0 target/linux/at91/image/sama5d4.mk | 0 target/linux/at91/modules.mk | 105 + .../100-ARM-at91-build-dtb-for-LMU5000.patch | 10 + .../101-ARM-at91-build-dtb-for-q5xr5.patch | 10 + .../102-ARM-at91-build-dtb-for-wb45n.patch | 12 + .../103-ARM-at91-build-dtb-for-wb50n.patch | 12 + ...RM-at91-build-dtb-for-sama5d2-ptc-Ek.patch | 434 + target/linux/at91/sam9x/config-default | 64 + target/linux/at91/sam9x/target.mk | 7 + target/linux/at91/sama5/config-default | 0 target/linux/at91/sama5/target.mk | 10 + target/linux/ath25/Makefile | 25 + .../ath25/base-files/etc/board.d/01_leds | 13 + .../ath25/base-files/etc/board.d/02_network | 28 + .../lib/preinit/15_preinit_iface_atheros | 35 + .../ath25/base-files/lib/upgrade/platform.sh | 76 + target/linux/ath25/config-4.14 | 171 + target/linux/ath25/image/Makefile | 107 + .../ath25/patches-4.14/107-ar5312_gpio.patch | 212 + .../ath25/patches-4.14/108-ar2315_gpio.patch | 363 + .../patches-4.14/110-ar2313_ethernet.patch | 1734 + .../ath25/patches-4.14/120-spiflash.patch | 634 + .../ath25/patches-4.14/130-watchdog.patch | 277 + .../140-redboot_boardconfig.patch | 60 + .../141-redboot_partition_scan.patch | 44 + .../142-redboot_various_erase_size_fix.patch | 72 + .../ath25/patches-4.14/210-reset_button.patch | 71 + .../220-enet_micrel_workaround.patch | 111 + .../ath25/patches-4.14/330-board_leds.patch | 116 + target/linux/ath25/profiles/00-default.mk | 16 + target/linux/ath79/Makefile | 19 + .../ath79/base-files/etc/board.d/01_leds | 272 + .../ath79/base-files/etc/board.d/02_network | 407 + .../base-files/etc/board.d/03_gpio_switches | 55 + .../etc/hotplug.d/firmware/10-ath9k-eeprom | 240 + .../etc/hotplug.d/firmware/11-ath10k-caldata | 223 + .../etc/hotplug.d/ieee80211/00-wifi-migration | 51 + .../etc/hotplug.d/ieee80211/10_fix_wifi_mac | 36 + .../etc/uci-defaults/04_led_migration | 39 + .../ath79/base-files/lib/functions/k2t.sh | 55 + .../ath79/base-files/lib/upgrade/platform.sh | 54 + target/linux/ath79/config-4.14 | 233 + .../ath79/dts/ar1022_iodata_wn-ag300dgr.dts | 217 + target/linux/ath79/dts/ar7100.dtsi | 221 + .../linux/ath79/dts/ar7161_aruba_ap-105.dts | 190 + .../dts/ar7161_buffalo_wzr-hp-ag300h.dts | 273 + .../ath79/dts/ar7161_dlink_dir-825-b1.dts | 237 + .../linux/ath79/dts/ar7161_jjplus_ja76pf2.dts | 126 + .../ath79/dts/ar7161_netgear_wndr3700.dts | 55 + .../ath79/dts/ar7161_netgear_wndr3700.dtsi | 230 + .../ath79/dts/ar7161_netgear_wndr3700v2.dts | 34 + .../ath79/dts/ar7161_netgear_wndr3800.dts | 36 + .../dts/ar7161_ubnt_routerstation-pro.dts | 31 + .../ath79/dts/ar7161_ubnt_routerstation.dts | 27 + .../ath79/dts/ar7161_ubnt_routerstation.dtsi | 101 + target/linux/ath79/dts/ar7240.dtsi | 88 + .../ath79/dts/ar7240_buffalo_whr-g301n.dts | 190 + .../ath79/dts/ar7240_netgear_wnr612-v2.dts | 10 + .../ath79/dts/ar7240_netgear_wnr612-v2.dtsi | 133 + target/linux/ath79/dts/ar7240_on_n150r.dts | 10 + target/linux/ath79/dts/ar7240_tplink.dtsi | 122 + .../linux/ath79/dts/ar7240_tplink_tl-wa.dtsi | 22 + .../ath79/dts/ar7240_tplink_tl-wa701nd-v1.dts | 9 + .../ath79/dts/ar7240_tplink_tl-wa730re-v1.dts | 9 + .../ath79/dts/ar7240_tplink_tl-wa801nd-v1.dts | 9 + .../ath79/dts/ar7240_tplink_tl-wa830re-v1.dts | 9 + .../ath79/dts/ar7240_tplink_tl-wa901nd-v1.dts | 9 + .../linux/ath79/dts/ar7240_tplink_tl-wr.dtsi | 44 + .../ath79/dts/ar7240_tplink_tl-wr740n-v1.dts | 9 + .../ath79/dts/ar7240_tplink_tl-wr740n-v3.dts | 9 + .../ath79/dts/ar7240_tplink_tl-wr741-v1.dts | 9 + .../ath79/dts/ar7240_tplink_tl-wr743nd-v1.dts | 9 + .../ath79/dts/ar7240_tplink_tl-wr841-v5.dts | 9 + .../ath79/dts/ar7240_tplink_tl-wr941-v4.dts | 9 + target/linux/ath79/dts/ar7241.dtsi | 96 + target/linux/ath79/dts/ar7241_tplink.dtsi | 115 + .../ath79/dts/ar7241_tplink_tl-mr3220-v1.dts | 19 + .../ath79/dts/ar7241_tplink_tl-mr3420-v1.dts | 19 + .../ath79/dts/ar7241_tplink_tl-mr3x20.dtsi | 40 + .../ath79/dts/ar7241_tplink_tl-wr841-v7.dts | 19 + .../ath79/dts/ar7241_tplink_tl-wr842n-v1.dts | 162 + .../linux/ath79/dts/ar7241_ubnt_airrouter.dts | 38 + .../linux/ath79/dts/ar7241_ubnt_bullet-m.dts | 13 + .../dts/ar7241_ubnt_nanostation-loco-m.dts | 13 + .../ath79/dts/ar7241_ubnt_nanostation-m.dts | 9 + .../ath79/dts/ar7241_ubnt_picostation-m.dts | 13 + .../linux/ath79/dts/ar7241_ubnt_rocket-m.dts | 21 + target/linux/ath79/dts/ar7241_ubnt_unifi.dts | 127 + target/linux/ath79/dts/ar7241_ubnt_xm.dtsi | 108 + .../ath79/dts/ar7241_ubnt_xm_outdoor.dtsi | 36 + target/linux/ath79/dts/ar7242.dtsi | 86 + .../linux/ath79/dts/ar7242_avm_fritz300e.dts | 169 + .../ath79/dts/ar7242_buffalo_bhr-4grv.dts | 17 + .../ath79/dts/ar7242_buffalo_wzr-bhr.dtsi | 170 + .../dts/ar7242_buffalo_wzr-hp-g302h-a1a0.dts | 239 + .../ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts | 78 + .../ath79/dts/ar7242_tplink_tl-wr2543-v1.dts | 180 + target/linux/ath79/dts/ar724x.dtsi | 162 + target/linux/ath79/dts/ar9132.dtsi | 197 + .../ath79/dts/ar9132_tplink_tl-wa901nd-v2.dts | 130 + .../dts/ar9132_tplink_tl-wr1043nd-v1.dts | 155 + .../ath79/dts/ar9132_tplink_tl-wr941-v2.dts | 167 + target/linux/ath79/dts/ar9330.dtsi | 215 + .../ath79/dts/ar9330_glinet_gl-ar150.dts | 143 + target/linux/ath79/dts/ar9330_pqi_air-pen.dts | 142 + target/linux/ath79/dts/ar9331.dtsi | 11 + .../ath79/dts/ar9331_8dev_carambola2.dts | 131 + .../dts/ar9331_embeddedwireless_dorin.dts | 117 + .../linux/ath79/dts/ar9331_etactica_eg200.dts | 125 + .../linux/ath79/dts/ar9331_pisen_wmm003n.dts | 123 + .../ath79/dts/ar9331_tplink_tl-mr10u.dts | 13 + .../ath79/dts/ar9331_tplink_tl-mr3020-v1.dts | 174 + .../ath79/dts/ar9331_tplink_tl-mr3040-v2.dts | 162 + .../ath79/dts/ar9331_tplink_tl-wr703n.dts | 13 + .../dts/ar9331_tplink_tl-wr703n_tl-mr10u.dtsi | 120 + .../ath79/dts/ar9331_tplink_tl-wr710n-8m.dtsi | 39 + .../ath79/dts/ar9331_tplink_tl-wr710n-v1.dts | 9 + .../dts/ar9331_tplink_tl-wr710n-v2.1.dts | 9 + .../ath79/dts/ar9331_tplink_tl-wr710n.dtsi | 92 + .../ath79/dts/ar9331_tplink_tl-wr740n-v4.dts | 9 + .../ath79/dts/ar9331_tplink_tl-wr740n-v5.dts | 9 + .../ath79/dts/ar9331_tplink_tl-wr741nd-v4.dts | 9 + .../dts/ar9331_tplink_tl-wr741nd-v4.dtsi | 152 + target/linux/ath79/dts/ar9341.dtsi | 26 + target/linux/ath79/dts/ar9341_pcs_cr3000.dts | 166 + .../ath79/dts/ar9341_tplink_tl-mr3420-v2.dts | 194 + .../linux/ath79/dts/ar9341_tplink_tl-wa.dtsi | 81 + .../ath79/dts/ar9341_tplink_tl-wa850re-v1.dts | 79 + .../ath79/dts/ar9341_tplink_tl-wa860re-v1.dts | 72 + .../ath79/dts/ar9341_tplink_tl-wr841-v8.dts | 169 + .../ath79/dts/ar9341_tplink_tl-wr842n-v2.dts | 201 + .../linux/ath79/dts/ar9342_iodata_etg3-r.dts | 141 + .../ath79/dts/ar9342_ubnt_bullet-m-xw.dts | 35 + .../linux/ath79/dts/ar9342_ubnt_lap-120.dts | 43 + .../ath79/dts/ar9342_ubnt_nanobeam-ac.dts | 70 + .../dts/ar9342_ubnt_nanostation-ac-loco.dts | 40 + .../ath79/dts/ar9342_ubnt_nanostation-ac.dts | 84 + .../dts/ar9342_ubnt_nanostation-loco-m-xw.dts | 30 + .../dts/ar9342_ubnt_nanostation-m-xw.dts | 37 + target/linux/ath79/dts/ar9342_ubnt_wa.dtsi | 93 + target/linux/ath79/dts/ar9342_ubnt_xw.dtsi | 123 + target/linux/ath79/dts/ar9344.dtsi | 62 + .../ath79/dts/ar9344_comfast_cf-e120a-v3.dts | 146 + .../ath79/dts/ar9344_dlink_dir-825-c1.dts | 79 + .../ath79/dts/ar9344_dlink_dir-835-a1.dts | 47 + .../linux/ath79/dts/ar9344_dlink_dir-8x5.dtsi | 147 + .../linux/ath79/dts/ar9344_ocedo_raccoon.dts | 178 + target/linux/ath79/dts/ar9344_pcs_cap324.dts | 174 + target/linux/ath79/dts/ar9344_pcs_cr5000.dts | 226 + .../ath79/dts/ar9344_tplink_tl-wdr3500-v1.dts | 85 + .../ath79/dts/ar9344_tplink_tl-wdr3600-v1.dts | 9 + .../dts/ar9344_tplink_tl-wdr4300-v1-il.dts | 9 + .../ath79/dts/ar9344_tplink_tl-wdr4300-v1.dts | 9 + .../ath79/dts/ar9344_tplink_tl-wdr4300.dtsi | 118 + .../ath79/dts/ar9344_tplink_tl-wdr4310-v1.dts | 9 + .../ath79/dts/ar9344_tplink_tl-wdrxxxx.dtsi | 126 + .../linux/ath79/dts/ar9344_wd_mynet-n750.dts | 216 + .../ar9344_wd_mynet-wifi-rangeextender.dts | 170 + .../ath79/dts/ar9344_winchannel_wb2000.dts | 220 + .../ath79/dts/ar9344_zbtlink_zbt-wd323.dts | 166 + target/linux/ath79/dts/ar934x.dtsi | 253 + target/linux/ath79/dts/ath79.dtsi | 89 + .../linux/ath79/dts/qca9531_comfast_cf-e5.dts | 141 + .../ath79/dts/qca9531_engenius_ews511ap.dts | 145 + .../dts/qca9531_glinet_gl-ar300m-lite.dts | 26 + .../dts/qca9531_glinet_gl-ar300m-nand.dts | 34 + .../dts/qca9531_glinet_gl-ar300m-nor.dts | 8 + .../ath79/dts/qca9531_glinet_gl-ar300m.dtsi | 137 + .../ath79/dts/qca9531_glinet_gl-x750.dts | 138 + .../dts/qca9531_tplink_archer-d50-v1.dts | 181 + .../ath79/dts/qca9531_tplink_tl-wr810n-v1.dts | 37 + .../linux/ath79/dts/qca9531_yuncore_a770.dts | 122 + .../ath79/dts/qca9533_comfast_cf-e110n-v2.dts | 158 + .../ath79/dts/qca9533_tplink_cpe210-v2.dts | 9 + .../ath79/dts/qca9533_tplink_cpe210-v3.dts | 9 + .../ath79/dts/qca9533_tplink_cpe210.dtsi | 15 + .../ath79/dts/qca9533_tplink_cpe220-v3.dts | 33 + .../ath79/dts/qca9533_tplink_cpexxx.dtsi | 126 + .../dts/qca9533_tplink_tl-wa801nd-v3.dts | 9 + .../dts/qca9533_tplink_tl-wa801nd-v4.dts | 9 + .../ath79/dts/qca9533_tplink_tl-wa801nd.dtsi | 122 + .../ath79/dts/qca9533_tplink_tl-wr802n-v1.dts | 9 + .../ath79/dts/qca9533_tplink_tl-wr802n-v2.dts | 9 + .../ath79/dts/qca9533_tplink_tl-wr802n.dtsi | 94 + .../ath79/dts/qca9533_tplink_tl-wr810n-v2.dts | 12 + .../ath79/dts/qca9533_tplink_tl-wr841-v10.dts | 16 + .../ath79/dts/qca9533_tplink_tl-wr841-v11.dts | 9 + .../dts/qca9533_tplink_tl-wr841-v11.dtsi | 25 + .../ath79/dts/qca9533_tplink_tl-wr841-v12.dts | 9 + .../ath79/dts/qca9533_tplink_tl-wr841-v9.dts | 16 + .../ath79/dts/qca9533_tplink_tl-wr841.dtsi | 124 + .../ath79/dts/qca9533_tplink_tl-wr842n-v3.dts | 168 + .../linux/ath79/dts/qca9533_ubnt_acb-isp.dts | 95 + target/linux/ath79/dts/qca953x.dtsi | 287 + .../ath79/dts/qca953x_tplink_tl-wr810n.dtsi | 109 + target/linux/ath79/dts/qca9557.dtsi | 327 + .../ath79/dts/qca9557_buffalo_bhr-4grv2.dts | 143 + .../ath79/dts/qca9557_iodata_wn-ac-dgr.dtsi | 195 + .../ath79/dts/qca9557_iodata_wn-ac1167dgr.dts | 28 + .../ath79/dts/qca9557_iodata_wn-ac1600dgr.dts | 28 + .../dts/qca9557_iodata_wn-ac1600dgr2.dts | 28 + .../ath79/dts/qca9558_devolo_dvl1200e.dts | 47 + .../ath79/dts/qca9558_devolo_dvl1200i.dts | 51 + .../ath79/dts/qca9558_devolo_dvl1750c.dts | 46 + .../ath79/dts/qca9558_devolo_dvl1750e.dts | 83 + .../ath79/dts/qca9558_devolo_dvl1750i.dts | 51 + .../ath79/dts/qca9558_devolo_dvl1750x.dts | 53 + .../ath79/dts/qca9558_devolo_dvl1xxx.dtsi | 145 + .../ath79/dts/qca9558_engenius_ecb1750.dts | 142 + .../ath79/dts/qca9558_engenius_epg5000.dts | 176 + .../qca9558_librerouter_librerouter-v1.dts | 207 + .../ath79/dts/qca9558_netgear_ex6400.dts | 9 + .../ath79/dts/qca9558_netgear_ex7300.dts | 9 + .../ath79/dts/qca9558_netgear_ex7300.dtsi | 218 + .../linux/ath79/dts/qca9558_ocedo_koala.dts | 156 + .../linux/ath79/dts/qca9558_ocedo_ursus.dts | 145 + .../ath79/dts/qca9558_openmesh_om5p-ac-v2.dts | 168 + .../ath79/dts/qca9558_tplink_archer-c5-v1.dts | 46 + .../ath79/dts/qca9558_tplink_archer-c7-v1.dts | 46 + .../ath79/dts/qca9558_tplink_archer-c7-v2.dts | 46 + .../ath79/dts/qca9558_tplink_archer-c7.dtsi | 189 + .../ath79/dts/qca9558_tplink_re350k-v1.dts | 169 + .../dts/qca9558_tplink_tl-wdr4900-v2.dts | 226 + .../dts/qca9558_tplink_tl-wr1043nd-v2.dts | 12 + .../dts/qca9558_tplink_tl-wr1043nd-v3.dts | 12 + .../ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi | 179 + .../dts/qca9558_tplink_tl-wr941n-v7-cn.dts | 122 + .../linux/ath79/dts/qca9561_avm_fritz4020.dts | 171 + .../dts/qca9561_tplink_archer-c25-v1.dts | 197 + .../dts/qca9561_tplink_archer-c58-v1.dts | 125 + .../dts/qca9561_tplink_archer-c59-v1.dts | 147 + .../ath79/dts/qca9561_tplink_archer-c5x.dtsi | 94 + .../dts/qca9561_tplink_archer-c60-v1.dts | 68 + .../dts/qca9561_tplink_archer-c60-v2.dts | 74 + .../dts/qca9561_tplink_archer-c60-v3.dts | 69 + .../ath79/dts/qca9561_tplink_archer-c6x.dtsi | 94 + .../ath79/dts/qca9561_xiaomi_mi-router-4q.dts | 149 + .../ath79/dts/qca9563_dlink_dir-859-a1.dts | 174 + .../dts/qca9563_elecom_wrc-1750ghbk2-i.dts | 56 + .../dts/qca9563_elecom_wrc-300ghbk2-i.dts | 46 + .../ath79/dts/qca9563_elecom_wrc-ghbk2-i.dtsi | 123 + .../ath79/dts/qca9563_glinet_gl-ar750s.dts | 166 + .../linux/ath79/dts/qca9563_nec_wg1200cr.dts | 172 + .../linux/ath79/dts/qca9563_nec_wg800hp.dts | 184 + .../linux/ath79/dts/qca9563_phicomm_k2t.dts | 144 + .../ath79/dts/qca9563_rosinson_wr818.dts | 159 + .../ath79/dts/qca9563_tplink_archer-a7-v5.dts | 62 + .../ath79/dts/qca9563_tplink_archer-c2-v3.dts | 183 + .../ath79/dts/qca9563_tplink_archer-c6-v2.dts | 9 + .../ath79/dts/qca9563_tplink_archer-c7-v4.dts | 268 + .../ath79/dts/qca9563_tplink_archer-c7-v5.dts | 68 + .../dts/qca9563_tplink_archer-x6-v2.dtsi | 167 + .../dts/qca9563_tplink_archer-x7-v5.dtsi | 182 + .../ath79/dts/qca9563_tplink_re450-v2.dts | 185 + .../dts/qca9563_tplink_tl-wr1043n-v5.dts | 74 + .../ath79/dts/qca9563_tplink_tl-wr1043n.dtsi | 123 + .../dts/qca9563_tplink_tl-wr1043nd-v4.dts | 103 + .../ath79/dts/qca9563_ubnt_unifiac-lite.dts | 9 + .../ath79/dts/qca9563_ubnt_unifiac-lite.dtsi | 20 + .../ath79/dts/qca9563_ubnt_unifiac-lr.dts | 9 + .../dts/qca9563_ubnt_unifiac-mesh-pro.dts | 9 + .../ath79/dts/qca9563_ubnt_unifiac-mesh.dts | 9 + .../ath79/dts/qca9563_ubnt_unifiac-pro.dts | 17 + .../ath79/dts/qca9563_ubnt_unifiac-pro.dtsi | 24 + .../linux/ath79/dts/qca9563_ubnt_unifiac.dtsi | 117 + .../linux/ath79/dts/qca9563_yuncore_a782.dts | 32 + .../ath79/dts/qca9563_yuncore_xd4200.dts | 32 + .../ath79/dts/qca9563_yuncore_xd4200.dtsi | 114 + target/linux/ath79/dts/qca956x.dtsi | 320 + .../ath79/dts/tp9343_tplink_tl-wa901nd-v4.dts | 9 + .../ath79/dts/tp9343_tplink_tl-wa901nd-v5.dts | 9 + .../ath79/dts/tp9343_tplink_tl-wa901nd.dtsi | 52 + .../ath79/dts/tp9343_tplink_tl-wr940n-v3.dts | 9 + .../ath79/dts/tp9343_tplink_tl-wr940n-v3.dtsi | 69 + .../ath79/dts/tp9343_tplink_tl-wr940n-v4.dts | 71 + .../ath79/dts/tp9343_tplink_tl-wr940n-v6.dts | 35 + .../ath79/dts/tp9343_tplink_tl-wr941nd-v6.dts | 9 + .../ath79/dts/tp9343_tplink_tl-wr94x.dtsi | 22 + .../linux/ath79/dts/tp9343_tplink_tl-wx.dtsi | 66 + .../files/arch/mips/ath79/pci-ath9k-fixup.c | 126 + .../files/arch/mips/ath79/pci-ath9k-fixup.h | 6 + .../mips/include/asm/fw/myloader/myloader.h | 34 + .../drivers/mtd/parsers/parser_cybertan.c | 163 + .../ath79/files/drivers/mtd/tplinkpart.c | 235 + .../net/ethernet/atheros/ag71xx/Kconfig | 25 + .../net/ethernet/atheros/ag71xx/Makefile | 13 + .../net/ethernet/atheros/ag71xx/ag71xx.h | 454 + .../ethernet/atheros/ag71xx/ag71xx_debugfs.c | 285 + .../ethernet/atheros/ag71xx/ag71xx_ethtool.c | 108 + .../net/ethernet/atheros/ag71xx/ag71xx_gmac.c | 135 + .../net/ethernet/atheros/ag71xx/ag71xx_main.c | 1608 + .../net/ethernet/atheros/ag71xx/ag71xx_mdio.c | 254 + .../net/ethernet/atheros/ag71xx/ag71xx_phy.c | 92 + target/linux/ath79/generic/config-default | 29 + .../ath79/generic/profiles/00-default.mk | 16 + target/linux/ath79/generic/target.mk | 10 + target/linux/ath79/image/Makefile | 82 + target/linux/ath79/image/common-buffalo.mk | 21 + target/linux/ath79/image/common-netgear.mk | 41 + target/linux/ath79/image/common-tp-link.mk | 115 + target/linux/ath79/image/common-yuncore.mk | 12 + target/linux/ath79/image/generic-tp-link.mk | 429 + target/linux/ath79/image/generic-ubnt.mk | 281 + target/linux/ath79/image/generic.mk | 753 + target/linux/ath79/image/lzma-loader/Makefile | 70 + .../ath79/image/lzma-loader/src/LzmaDecode.c | 584 + .../ath79/image/lzma-loader/src/LzmaDecode.h | 113 + .../ath79/image/lzma-loader/src/LzmaTypes.h | 45 + .../ath79/image/lzma-loader/src/Makefile | 108 + .../ath79/image/lzma-loader/src/ar71xx_regs.h | 725 + .../linux/ath79/image/lzma-loader/src/board.c | 56 + .../linux/ath79/image/lzma-loader/src/cache.c | 43 + .../linux/ath79/image/lzma-loader/src/cache.h | 17 + .../ath79/image/lzma-loader/src/cacheops.h | 85 + .../ath79/image/lzma-loader/src/config.h | 31 + .../ath79/image/lzma-loader/src/cp0regdef.h | 39 + .../linux/ath79/image/lzma-loader/src/head.S | 134 + .../ath79/image/lzma-loader/src/loader.c | 264 + .../ath79/image/lzma-loader/src/loader.lds | 34 + .../ath79/image/lzma-loader/src/loader2.lds | 10 + .../ath79/image/lzma-loader/src/lzma-data.lds | 8 + .../ath79/image/lzma-loader/src/printf.c | 350 + .../ath79/image/lzma-loader/src/printf.h | 18 + target/linux/ath79/image/nand.mk | 13 + target/linux/ath79/image/tiny-netgear.mk | 27 + target/linux/ath79/image/tiny-tp-link.mk | 408 + target/linux/ath79/image/tiny.mk | 22 + target/linux/ath79/modules.mk | 16 + target/linux/ath79/nand/config-default | 14 + .../linux/ath79/nand/profiles/00-default.mk | 18 + target/linux/ath79/nand/target.mk | 9 + ...-serial-drop-QCA-pecific-SoC-symbols.patch | 21 + ...2-watchdog-ath79-fix-maximum-timeout.patch | 32 + ...ds-add-reset-controller-based-driver.patch | 186 + .../0004-phy-add-ath79-usb-phys.patch | 332 + ...005-usb-add-more-OF-quirk-properties.patch | 24 + .../0006-usb-drop-deprecated-symbols.patch | 51 + ...9-intc-add-irq-cascade-driver-for-QC.patch | 168 + ...ip-irq-ath79-cpu-drop-OF-init-helper.patch | 23 + ...-ath79-add-lots-of-missing-registers.patch | 980 + ...d-support-for-QCA953x-QCA956x-TP9343.patch | 400 + ...S-ath79-select-the-PINCTRL-subsystem.patch | 24 + ...14-MIPS-ath79-finetune-cpu-overrides.patch | 42 + ...ath79-enable-uart-during-early_prink.patch | 75 + ...h79-get-PCIe-controller-out-of-reset.patch | 101 + ...ngs-PCI-qcom-ar7100-adds-binding-doc.patch | 57 + .../0018-MIPS-pci-ar71xx-convert-to-OF.patch | 202 + ...ngs-PCI-qcom-ar7240-adds-binding-doc.patch | 61 + .../0020-MIPS-pci-ar724x-convert-to-OF.patch | 205 + ...elpers-for-setting-clocks-and-expose.patch | 243 + ...legacy-wdt-and-uart-clock-aliases-ou.patch | 114 + ...ass-PLL-base-to-clock-init-functions.patch | 242 + ...specifying-the-reference-clock-in-DT.patch | 229 + ...rt-setting-up-clock-via-DT-on-all-So.patch | 77 + ...9-export-switch-MDIO-reference-clock.patch | 59 + ...0027-MIPS-ath79-drop-legacy-IRQ-code.patch | 233 + .../0028-MIPS-ath79-drop-machfiles.patch | 1042 + ...0029-MIPS-ath79-drop-legacy-pci-code.patch | 379 + ...op-platform-device-registration-code.patch | 933 + .../0031-MIPS-ath79-drop-OF-clock-code.patch | 95 + .../0032-MIPS-ath79-sanitize-symbols.patch | 93 + .../0033-spi-ath79-drop-pdata-support.patch | 73 + .../0034-MIPS-ath79-ath9k-exports.patch | 27 + .../0036-GPIO-add-named-gpio-exports.patch | 165 + ...-MIPS-ath79-remove-irq-code-from-pci.patch | 139 + .../patches-4.14/0037-missing-registers.patch | 21 + .../004-register_gpio_driver_earlier.patch | 18 + ...mtd_fix_cfi_cmdset_0002_status_check.patch | 62 + .../404-mtd-cybertan-trx-parser.patch | 19 + .../405-mtd-tp-link-partition-parser.patch | 25 + .../408-mtd-redboot_partition_scan.patch | 44 + .../420-net-ar71xx_mac_driver.patch | 28 + .../430-drivers-link-spi-before-mtd.patch | 12 + .../461-spi-ath79-add-fast-flash-read.patch | 60 + ...ath79-swizzle-pci-address-for-ar71xx.patch | 98 + ...490-usb-ehci-add-quirks-for-qca-socs.patch | 103 + .../900-mdio_bitbang_ignore_ta_value.patch | 32 + ...-prevent-rescheduling-during-command.patch | 61 + .../910-unaligned_access_hacks.patch | 900 + ...support-for-boot-console-with-arbitr.patch | 54 + .../930-ar8216-make-reg-access-atomic.patch | 59 + target/linux/ath79/tiny/config-default | 18 + .../linux/ath79/tiny/profiles/00-default.mk | 9 + target/linux/ath79/tiny/target.mk | 8 + target/linux/bcm53xx/Makefile | 31 + .../bcm53xx/base-files/etc/board.d/01_leds | 16 + .../bcm53xx/base-files/etc/board.d/02_network | 131 + target/linux/bcm53xx/base-files/etc/diag.sh | 42 + .../base-files/etc/uci-defaults/09_fix_crc | 7 + .../base-files/lib/upgrade/platform.sh | 426 + target/linux/bcm53xx/config-4.14 | 363 + .../arch/arm/boot/compressed/cache-v7-min.S | 81 + target/linux/bcm53xx/image/Makefile | 406 + target/linux/bcm53xx/modules.mk | 41 + ...-Specify-USB-ports-for-USB-LED-of-Lu.patch | 30 + ...s-BCM5301X-Add-DT-for-Luxul-XBR-4500.patch | 96 + ...s-BCM5301X-Add-DT-for-Luxul-ABR-4500.patch | 96 + ...ts-BCM53573-Add-DT-for-Luxul-XAP-810.patch | 120 + ...s-BCM53573-Add-DT-for-Luxul-XAP-1440.patch | 83 + ...-add-missing-LEDs-for-Buffalo-WZR-90.patch | 96 + ...-Switch-Luxul-XWC-1000-to-the-new-fi.patch | 39 + ...-Relicense-most-DTS-files-to-the-GPL.patch | 440 + ...-Relicense-Buffalo-files-to-the-GPL-.patch | 79 + ...CM5301X-Add-DT-for-Luxul-XWR-3150-V1.patch | 112 + ...s-BCM5301X-Add-DT-for-Luxul-XAP-1610.patch | 90 + ...-Relicense-Asus-RT-AC87U-file-to-the.patch | 48 + ...-Switch-D-Link-DIR-885L-to-the-new-p.patch | 39 + ...-Make-USB-3.0-PHY-use-MDIO-PHY-drive.patch | 456 + ...M-dts-BCM53573-Add-architected-timer.patch | 34 + ...5301X-Add-support-for-Linksys-EA9500.patch | 269 + ...ts-BCM5301X-Specify-flash-partitions.patch | 167 + ...-Relicense-BCM47081-BCM4709-files-to.patch | 58 + ...-Relicense-BCM47094-file-to-the-GPL-.patch | 33 + ...-Relicense-Tenda-AC9-file-to-the-GPL.patch | 32 + ...-Relicense-SoC-file-to-the-GPL-2.0-M.patch | 33 + ...X-Add-basic-DT-for-Linksys-EA6500-V2.patch | 75 + ...-Describe-Northstar-pins-mux-control.patch | 77 + ...-Relicense-Luxul-files-to-the-GPL-2..patch | 41 + ...BCM5301X-Add-basic-DT-for-Phicomm-K3.patch | 107 + ...pi-bcm53xx-simplify-reading-SPI-data.patch | 107 + ...082-pinctrl-bcm-add-Northstar-driver.patch | 427 + ...cm-ns-Use-uintptr_t-for-casting-data.patch | 38 + ...upport-updated-DT-binding-as-syscon-.patch | 99 + ...s-BCM5301X-Add-DT-for-Luxul-XWC-2000.patch | 80 + ...support-for-performing-fake-doorbell.patch | 137 + ...able-MMU-and-Dcache-during-decompres.patch | 101 + ...01X-Update-Northstar-pinctrl-binding.patch | 31 + ...RM-BCM5301X-Add-DT-for-Netgear-R7900.patch | 64 + ...power-button-for-Buffalo-WZR-1750DHP.patch | 20 + ...-BCM5301X-Add-serial-to-the-bootargs.patch | 116 + ...-BCM5301X-Describe-partition-formats.patch | 25 + ...ct-JEDEC-incompatible-w25q128-using-.patch | 34 + ...-mark-and-erase-all-remaining-blocks.patch | 59 + ...U-port-fixes-for-devices-not-using-p.patch | 52 + .../905-BCM53573-minor-hacks.patch | 80 + target/linux/bcm53xx/profiles/100-Generic.mk | 20 + target/linux/brcm2708/Makefile | 34 + .../base-files/etc/board.d/02_network | 30 + target/linux/brcm2708/base-files/etc/diag.sh | 35 + target/linux/brcm2708/base-files/etc/inittab | 4 + .../lib/preinit/05_set_preinit_iface_brcm2708 | 20 + .../base-files/lib/preinit/79_move_config | 20 + .../base-files/lib/upgrade/keep.d/platform | 1 + .../base-files/lib/upgrade/platform.sh | 99 + target/linux/brcm2708/bcm2708/config-4.14 | 415 + target/linux/brcm2708/bcm2708/target.mk | 12 + target/linux/brcm2708/bcm2709/config-4.14 | 462 + target/linux/brcm2708/bcm2709/target.mk | 13 + target/linux/brcm2708/bcm2710/config-4.14 | 477 + target/linux/brcm2708/bcm2710/target.mk | 13 + target/linux/brcm2708/image/Makefile | 101 + target/linux/brcm2708/image/cmdline.txt | 1 + target/linux/brcm2708/image/config.txt | 961 + .../brcm2708/image/gen_rpi_sdcard_img.sh | 29 + target/linux/brcm2708/modules.mk | 868 + ...vert-702b94bff3c50542a6e4ab9a4f4cef0.patch | 99 + ...smsx95xx-fix-crimes-against-truesize.patch | 47 + ...ental-Enable-turbo_mode-and-packetsi.patch | 43 + ...ow-mac-address-to-be-set-in-smsc95xx.patch | 96 + ...e_resource-against-resources-without.patch | 28 + ...ent-spurious-interrupts-and-trap-the.patch | 27 + ...cm2836-Avoid-Invalid-trigger-warning.patch | 24 + ...0008-irqchip-bcm2835-Add-FIQ-support.patch | 127 + ...hip-irq-bcm2835-Add-2836-FIQ-support.patch | 99 + ...d-event-when-onlining-sleeping-cores.patch | 36 + ...v-compatible-string-to-silence-warni.patch | 21 + ...5-Support-pin-groups-other-than-7-11.patch | 80 + ...i-bcm2835-Disable-forced-software-CS.patch | 34 + ...-0014-spi-bcm2835-Remove-unused-code.patch | 88 + ...m2835-Set-Serial-number-and-Revision.patch | 53 + ...5-Load-driver-early-and-support-lega.patch | 101 + ...0017-firmware-Updated-mailbox-header.patch | 86 + ...rtc-Add-SPI-alias-for-pcf2123-driver.patch | 20 + ...835-Support-setting-reboot-partition.patch | 102 + ...-off-rather-than-busy-spinning-when-.patch | 23 + ...-Make-RASPBERRYPI_POWER-depend-on-PM.patch | 19 + ...cks-early-during-the-boot-process-so.patch | 45 + ...void-initialising-if-already-enabled.patch | 26 + ...-dtco-targets-when-filtering-symbols.patch | 20 + ...0025-BCM2835_DT-Fix-I2S-register-map.patch | 36 + ...Mark-used-PLLs-and-dividers-CRITICAL.patch | 28 + ...lk-bcm2835-Add-claim-clocks-property.patch | 102 + ...35-Read-max-core-clock-from-firmware.patch | 115 + ...-GPIO-clocks-enabled-at-boot-as-crit.patch | 38 + ...Demote-deferral-errors-to-INFO-level.patch | 35 + .../950-0031-Update-vfpmodule.c.patch | 138 + ....c-relax-the-ch2-register-setting-fo.patch | 21 + ...0-0033-i2c-bcm2835-Add-debug-support.patch | 190 + ...-0034-mm-Remove-the-PFN-busy-warning.patch | 25 + ...5-ASoC-Add-prompt-for-ICS43432-codec.patch | 25 + ...0036-Main-bcm2708-bcm2709-linux-port.patch | 180 + .../950-0037-Add-dwc_otg-driver.patch | 61098 ++++++ .../950-0038-bcm2708-framebuffer-driver.patch | 3452 + ...39-dmaengine-Add-support-for-BCM2708.patch | 623 + ...040-MMC-added-alternative-MMC-driver.patch | 1865 + ...dhost-driver-and-an-overlay-to-enabl.patch | 2401 + ...m-driver-for-querying-firmware-memor.patch | 515 + ...re-shared-memory-service-for-BCM2835.patch | 4851 + ...device-for-rootless-user-GPIO-access.patch | 303 + .../950-0045-Add-SMI-driver.patch | 1930 + ...-use-clock-manager-and-fix-reload-is.patch | 170 + .../950-0047-Add-SMI-NAND-driver.patch | 357 + ...c-added-support-for-RaspberryPi-GPIO.patch | 852 + .../950-0049-Add-cpufreq-driver.patch | 259 + ...950-0050-Add-Chris-Boot-s-i2c-driver.patch | 660 + ...0-0051-char-broadcom-Add-vcio-module.patch | 220 + ...irmware-bcm2835-Support-ARCH_BCM270x.patch | 83 + ...limg-and-knlinfo-scripts-from-tools-.patch | 523 + ...BCM2708-Add-core-Device-Tree-support.patch | 12054 ++ ...wr_led-and-the-required-input-trigge.patch | 167 + ...50-0056-fbdev-add-FBIOCOPYAREA-ioctl.patch | 264 + ...nsole-framebuffer-imageblit-function.patch | 209 + ...ltime-clock-1-wire-chip-DS1307-and-1.patch | 221 + ...dded-Device-IDs-for-August-DVB-T-205.patch | 22 + ...ouchscreen-driver-for-pi-LCD-display.patch | 340 + ...o_user-and-__copy_from_user-performa.patch | 1552 + ...off-Allow-it-to-work-on-Raspberry-Pi.patch | 35 + ...d-Raspberry-Pi-Sense-HAT-core-driver.patch | 837 + ...4-ASoC-Add-support-for-HifiBerry-DAC.patch | 170 + ...50-0065-ASoC-Add-support-for-Rpi-DAC.patch | 272 + ...ement-MCLK-configuration-options-add.patch | 49 + ...port-for-HiFiBerry-Digi.-Driver-is-b.patch | 339 + ...-Sound-Card-support-for-Raspberry-Pi.patch | 330 + ...0069-Added-support-for-HiFiBerry-DAC.patch | 623 + ...-HiFiBerry-Amp-amplifier-add-on-boar.patch | 820 + .../950-0071-Add-driver-for-rpi-proto.patch | 210 + .../950-0072-RaspiDAC3-support.patch | 238 + ...dd-Support-for-JustBoom-Audio-boards.patch | 448 + ...-Add-basic-machine-driver-for-adau19.patch | 177 + ...r.net-Pi-soundcard-with-low-jitter-a.patch | 246 + ...dd-IQAudIO-Digi-WM8804-board-support.patch | 295 + ...RA-DigiDAC1-soundcard-using-WM8741-W.patch | 468 + ...port-for-Dion-Audio-LOCO-DAC-AMP-HAT.patch | 168 + ...oards-Initial-2-channel-stereo-suppo.patch | 202 + ...Allo-Piano-DAC-2.1-plus-add-on-board.patch | 1083 + ...Allo-Boss-DAC-add-on-board-for-Raspb.patch | 693 + ...upport-for-Blokas-Labs-pisound-board.patch | 1192 + ...d-driver-for-Cirrus-Logic-Audio-Card.patch | 1060 + ...t-for-Dion-Audio-LOCO-V2-DAC-AMP-HAT.patch | 190 + ...ort-for-Fe-Pi-audio-sound-card.-1867.patch | 209 + ...the-AudioInjector.net-Octo-sound-car.patch | 404 + ...upport-for-Google-voiceHAT-soundcard.patch | 383 + .../950-0088-Allo-Digione-Driver-2048.patch | 318 + ...lay-add-backlight-driver-and-overlay.patch | 164 + ...bcm2835-virtgpio-Virtual-GPIO-driver.patch | 256 + ...-Driver-for-GPIO-expander-via-mailbo.patch | 304 + ...1-Don-t-use-DT-aliases-for-numbering.patch | 29 + ...0093-amba_pl011-Round-input-clock-up.patch | 86 + ...094-OF-DT-Overlay-configfs-interface.patch | 425 + ...i_h5-Don-t-send-conf_req-when-ACTIVE.patch | 23 + .../950-0096-config-Add-default-configs.patch | 2701 + ...uration-and-device-tree-differences..patch | 1406 + ...ARM64-Make-it-work-again-on-4.9-1790.patch | 416 + ...I-audio-and-vc04_services-in-bcmrpi3.patch | 29 + ...rpi3_defconfig-through-savedefconfig.patch | 45 + ...nel-Address-Space-Randomization-1792.patch | 32 + ...DWC_OTG-Port-dwc_otg-driver-to-ARM64.patch | 329 + ...und-Robin-dispatch-IRQs-between-CPUs.patch | 72 + ..._OTG-Driver-In-ARM64-Build-Config-bc.patch | 21 + ...ware-emulation-of-deprecated-instruc.patch | 28 + ...rules-for-.dtbo-files-for-dts-overla.patch | 25 + ...e-drivers-for-GPIO-expander-and-vcio.patch | 28 + ...835-aux-Add-aux-interrupt-controller.patch | 164 + ...ware-Export-the-general-transaction-.patch | 32 + ...de-for-using-the-closed-firmware-for.patch | 762 + ...he-primary-and-cursor-planes-in-fkms.patch | 24 + ...DEBUG_ATOMIC-for-the-insides-of-fkms.patch | 70 + ...ing-of-page-flip-completion-events-i.patch | 42 + ...irmware-overscan-offset-to-hardware-.patch | 57 + ...oC-bcm2835-Add-support-for-TDM-modes.patch | 402 + ...port-left-right-justified-and-DSP-mo.patch | 246 + ...port-additional-samplerates-up-to-38.patch | 43 + ...8-ASoC-bcm2835-Enforce-full-symmetry.patch | 36 + ...module-compilation-of-CONFIG_DMA_BCM.patch | 43 + ...20-cache-export-clean-and-invalidate.patch | 50 + ...-Insert-mb-for-correct-FIFO-handling.patch | 27 + ...Add-cts-event-workaround-DT-property.patch | 47 + ...port-AUTOCTS-capability-to-framework.patch | 43 + ...scripts-Update-mkknlimg-just-in-case.patch | 43 + ...-AXI-performance-monitor-driver-2222.patch | 681 + ...pport-for-the-Raspberry-Pi-7-Touchsc.patch | 576 + ...i-touchscreen-Fix-NULL-deref-if-prob.patch | 27 + ...i-touchscreen-Round-up-clk-rate-to-f.patch | 35 + ...X-Add-the-DSI-panel-to-the-defconfig.patch | 21 + ...port-for-setting-DPMS-in-firmwarekms.patch | 103 + ...Fix-pitch-setup-for-T-format-scanout.patch | 48 + ...2515-Use-DT-supplied-interrupt-flags.patch | 36 + ...-of-the-ft5406-driver-to-use-DT-2189.patch | 382 + ...Set-base-to-0-give-expected-gpio-num.patch | 22 + ...MA-pointer-for-OUT-transactions-that.patch | 44 + ...oup-Disable-cgroup-memory-by-default.patch | 70 + ...class-for-exported-channels-in-sysfs.patch | 36 + ...0138-Updates-for-Pisound-module-code.patch | 422 + ...139-overlays-Add-applepi-dac-overlay.patch | 100 + ...q_arm-Make-debugfs-failure-non-fatal.patch | 29 + ...950-0141-config-Add-PINCTRL_MCP23S08.patch | 39 + ...-firmware-driver-to-the-dependencies.patch | 24 + ...ys-Add-media-center-HAT-overlay-2313.patch | 190 + ...light-control-to-rpi-display-overlay.patch | 42 + ...ight-control-to-media-center-overlay.patch | 45 + ...6-Add-overlay-for-mcp3202-12-bit-ADC.patch | 248 + ...conditionally-force-host-mode-in-dwc.patch | 59 + ...e-operation-constants-in-user-header.patch | 42 + ...-finding-user-vc-handle-in-memory-po.patch | 42 + ...m-Unify-cache-manipulating-functions.patch | 389 + ...950-0151-vcsm-Fix-obscure-conditions.patch | 32 + ...leaking-on-clean_invalid2-ioctl-hand.patch | 22 + ...the-use-of-cache-operation-constants.patch | 39 + ...54-vcsm-Fix-obscure-conditions-again.patch | 23 + ...m-Add-no-op-cache-operation-constant.patch | 61 + ...o-page-table-walk-based-cache-manipu.patch | 235 + .../950-0157-add-gpio-key-overlay-2329.patch | 104 + ...verrides-to-rotary-encoder-overlay-2.patch | 75 + ...dd-uart0-overlay-to-change-pin-usage.patch | 81 + ...ix-resetgpio-and-ledgpio-for-hy28a-b.patch | 42 + ...-hw_params-error-when-device-is-in-p.patch | 69 + ...tached-EETI-EXC3000-multi-touch-driv.patch | 320 + ...EETI-EXC3000-touch-controller-module.patch | 31 + ...64-overlays-Add-EETI-EXC3000-overlay.patch | 98 + ...ort-for-mbed-AudioCODEC-TLV320AIC23B.patch | 105 + ...bcm2835-sdhost-Support-underclocking.patch | 43 + ...mc-bcm2835-mmc-Support-underclocking.patch | 31 + ...250-bcm2835aux-suppress-EPROBE_DEFER.patch | 22 + ...bcm2836-Remove-regmap-and-syscon-use.patch | 142 + ...an78xx-Avoid-spurious-kevent-4-error.patch | 30 + ...low-multiple-pps-gpio-instantiations.patch | 43 + ...c4-Use-correct-path-to-trace-include.patch | 43 + ...-error-handling-on-devm_kzalloc-fail.patch | 57 + ...-the-DRM_IOCTL_VC4_GEM_MADVISE-ioctl.patch | 870 + ...e-positive-WARN-backtrace-on-refcoun.patch | 41 + ...ps-during-the-IRQ-handler-for-DSI-tr.patch | 73 + ...c4-Convert-timers-to-use-timer_setup.patch | 75 + ...g-printk-format-in-vc4_bo_stats_debu.patch | 35 + ...t-HDMI-modes-with-too-high-of-clocks.patch | 44 + ...ort-for-DRM_FORMAT_RGB888-and-DRM_FO.patch | 35 + ...el_order-instead-of-custom-.flip_cbc.patch | 86 + ...rm-vc4-Add-support-for-NV21-and-NV61.patch | 41 + ...le-VEC-unless-vc4-kms-v3d-is-present.patch | 38 + ...e-caches-before-the-render-jobs-as-w.patch | 57 + ...d-FB-modifier-support-to-firmwarekms.patch | 32 + ...ing-enable-disable-vblank-handlers-i.patch | 79 + ...ing-about-vblank-interrupts-before-D.patch | 50 + ..._CURSOR_INFO-when-the-cursor-content.patch | 57 + ...uplicate-primary-cursor-fields-from-.patch | 71 + ...it-for-vblank-on-fkms-cursor-updates.patch | 28 + ...950-0191-config-Add-SND_USB_HIFACE-m.patch | 33 + ...-0192-mmc-bcm2835-sdhost-Add-include.patch | 26 + ...fault-mouse-polling-interval-to-60Hz.patch | 32 + ...94-BCM270X_DT-Minor-cosmetic-DT-tidy.patch | 76 + ...-BCM270X_DT-More-cosmetic-DT-changes.patch | 187 + ...onfig-enable-Audio-Graph-Card-module.patch | 31 + ...PISOUND-selects-dependency-to-SND_RA.patch | 23 + ...ure-H264-header-bytes-get-a-sensible.patch | 87 + ...rectly-denote-key-frames-in-encoded-.patch | 25 + ...ix-timestamp-calculation-problem-221.patch | 97 + ...uchscreen-propagate-errors-in-rpi_to.patch | 32 + ...-Fix-crash-if-we-have-to-unbind-HDMI.patch | 42 + ...S-latching-when-we-re-in-that-ULPS-s.patch | 28 + ...-DSI-clock-divider-workaround-closer.patch | 46 + ...gression-when-dequeueing-isochronous.patch | 60 + ...low-multiple-instances-of-gpio-ir-tx.patch | 77 + ...mb-to-prevent-driver-state-corruptio.patch | 45 + ...missing-pinctrl-reference-to-gpio-ir.patch | 21 + ...oC-pcm512x-revert-downstream-changes.patch | 34 + ...ASoC-allo-boss-dac-fix-S24_LE-format.patch | 56 + ...llo-piano-dac-plus-fix-S24_LE-format.patch | 34 + ...SoC-allo-piano-dac-fix-S24_LE-format.patch | 49 + ...-dionaudio_loco-v2-fix-S24_LE-format.patch | 50 + ...-hifiberry_dacplus-fix-S24_LE-format.patch | 53 + ...5-ASoC-iqaudio-dac-fix-S24_LE-format.patch | 54 + ...-ASoC-justboom-dac-fix-S24_LE-format.patch | 43 + ...217-ASoC-raspidac3-fix-S24_LE-format.patch | 45 + ...ncoder-overlay-for-multiple-instance.patch | 100 + ...-for-SuperAudioBoard-sound-card-2386.patch | 147 + ...220-Revert-downstream-wm8804-changes.patch | 45 + ...Add-brcm-bcm2835-sdhci-as-a-fallback.patch | 26 + ...-gpio-Support-for-multiple-instances.patch | 40 + ...so-set-bus-numbers-from-reg-property.patch | 35 + ...c-gpio-Explain-bus-numbers-in-README.patch | 25 + ...0-0225-Update-rpi-ft5406-overlay.dts.patch | 21 + ...rlay-for-missing-AUX-interrupt-contr.patch | 82 + ...7-overlays-Add-sc16is752-i2c-overlay.patch | 95 + ...-bcm2709-enable-usb-gadget-functions.patch | 32 + ...12x-implement-set_tdm_slot-interface.patch | 80 + ...ac-transmit-S24_LE-with-64-BCLK-cycl.patch | 39 + ...acplus-transmit-S24_LE-with-64-BCLK-.patch | 41 + ...0232-Fixing-memset-call-in-pisound.c.patch | 21 + ...ework-sdio-overlays-to-allow-polling.patch | 156 + ...rrypi-Add-a-get_throttled-sysfs-file.patch | 206 + ...ays-Add-overlay-for-PiBell-soundcard.patch | 128 + ...36-Removing-broken-RaspiDac3-support.patch | 339 + ...-updated-mmc1-alias-to-sdio-overlays.patch | 50 + ...fig-Enable-CONFIG_GPIO_MOCKUP-module.patch | 34 + ...0-0239-overlays-Add-upstream-overlay.patch | 210 + ...or-octo-Add-continuous-clock-feature.patch | 104 + ...d-bcm-Fix-memset-dereference-warning.patch | 36 + ...ing-vchiq_arm-Remove-unused-variable.patch | 33 + ...unreachable-switch-statement-warning.patch | 33 + ...dd-model-specific-compatible-strings.patch | 52 + ...Move-SMP-startup-code-to-arch-arm-v2.patch | 314 + ...arm64-enable-thermal-enable-mmc-2425.patch | 26 + ...ear-option-to-pps-gpio-via-dtoverlay.patch | 47 + ...-3-b.dts-Remove-duplicate-memreserve.patch | 22 + ...0249-config-Set-CONFIG_USB_LAN78XX-y.patch | 21 + ...0-0250-BCM270X_DT-Add-Pi-3-dts-files.patch | 274 + ...78xx-Read-initial-EEE-status-from-DT.patch | 40 + ...Change-LEDs-to-include-10Mb-activity.patch | 44 + ...M27XX_DT-Delete-stdout-path-property.patch | 30 + ...s-MIDI-Input-getting-blocked-for-a-w.patch | 50 + ...lays-use-all-seven-dwc2-gadget-fifos.patch | 27 + ...pdate-upstream-overlay-with-new-dwc2.patch | 21 + ...8xx-Read-LED-states-from-Device-Tree.patch | 67 + ...XX_DT-Set-LED-modes-from-Device-Tree.patch | 60 + ...-support-for-RP3-B-Plus-in-in-arch-a.patch | 87 + ...or-Semtech-SX150X-I2C-GPIO-Expanders.patch | 1759 + ...-memory-corruption-in-dwc_otg-driver.patch | 57 + ...950-0262-config-Add-NFS_V4_1-support.patch | 30 + .../950-0263-config-Add-IPVLAN-module.patch | 46 + ...-Add-overlay-for-JEDEC-SPI-NOR-flash.patch | 352 + ...xx-Allow-for-VLAN-headers-in-timeout.patch | 38 + ...T_HCIUART_BCM-y-and-SERIAL_DEV_BUS-m.patch | 49 + ..._SERIAL_DEV_BUS-m-to-bcmrpi3_defconf.patch | 23 + ...e-enabling-of-EEE-into-PHY-init-code.patch | 64 + ...est-s-w-csum-check-on-VLAN-tagged-pa.patch | 40 + ...n78xx-Add-support-for-VLAN-filtering.patch | 36 + ...x-Add-support-for-VLAN-tag-stripping.patch | 82 + ...n78xx-Reduce-s-w-csum-check-on-VLANs.patch | 35 + ...le-the-DS1621-I2C-temperature-sensor.patch | 33 + ...Add-ds1621-to-the-i2c-sensor-overlay.patch | 97 + ...950-0275-overlays-Fix-typo-in-README.patch | 21 + ...ONFIG_BCM2835_DEVGPIOMEM-for-aarch64.patch | 264 + ...s-Add-combine-option-to-i2c-overlays.patch | 104 + ...oltage-low-warnings-from-filling-log.patch | 73 + ...270X_DT-Add-sdio_overclock-parameter.patch | 38 + ...-t-prevent-IRQ-usage-of-output-GPIOs.patch | 46 + ...950-0281-Drivers-for-Allo-Katana-DAC.patch | 745 + ...950-0282-Drivers-for-Allo-Katana-DAC.patch | 25 + .../950-0283-Driver-for-Allo-Katana-DAC.patch | 1071 + .../950-0284-Driver-for-Allo-Katana-DAC.patch | 22 + ...am-when-mailbox-call-not-implemented.patch | 78 + .../950-0286-config-Add-I2C_TINY_USB-m.patch | 51 + ...fconfig-Re-enable-QCA7000-SPI-driver.patch | 47 + ...g-Add-CONFIG_BATTERY_GAUGE_LTC2941-m.patch | 35 + ...9-overlays-Add-ltc294x-battery-gauge.patch | 150 + ...ays-Add-support-for-Balena-Fin-board.patch | 121 + ...Fix-DTC-warnings-about-missing-phy-c.patch | 26 + ...2-net-mdiobus-add-unlocked-accessors.patch | 141 + ...cked-accessors-for-indirect-MMD-acce.patch | 56 + ...-0294-net-phy-add-unlocked-accessors.patch | 97 + ...phy-add-paged-phy-register-accessors.patch | 208 + ...registers-initialization-to-address-.patch | 256 + ...08_fb-file-to-kernel-coding-standard.patch | 354 + ...to-export-gpio-used-by-gpio-poweroff.patch | 42 + ...ature-to-gpio-poweroff-documentation.patch | 20 + ...io-poweroff-overlay-and-README-entry.patch | 33 + .../950-0301-config-Add-CONFIG_DM_CACHE.patch | 44 + ...are-raspberrypi-Add-two-new-messages.patch | 28 + ...pberrypi-Notify-firmware-of-a-reboot.patch | 84 + ...04-config-Add-CONFIG_MTD_BLOCK2MTD-m.patch | 33 + ...ompression-support-to-arm64-kernel-2.patch | 20 + ...50-0306-config-Add-KEYBOARD_MATRIX-m.patch | 44 + ...it-slice-and-AES-NEON-engines-on-arm.patch | 21 + ...sdtweak-features-for-network-booting.patch | 51 + ...950-0309-Enable-bbr-module-for-arm64.patch | 21 + .../950-0310-Added-mute-stream-func.patch | 164 + .../950-0312-config-Add-CONFIG_SPI_GPIO.patch | 33 + ...0-0313-config-Add-CONFIG_NET_IPVTI-m.patch | 33 + ...Disable-TCP-Segmentation-Offload-TSO.patch | 56 + ...dget-ethernet-Re-enable-Jumbo-frames.patch | 31 + ...316-overlays-Add-gpio-no-irq-overlay.patch | 60 + .../950-0317-ifb-fix-packets-checksum.patch | 31 + ...ASQUERADE-add-dependency-on-conntrac.patch | 42 + ...lo-Katana-DAC-Updated-default-values.patch | 26 + ...-Add-missing-interrupt-for-RNG-block.patch | 28 + ...ov5647-Add-set_fmt-and-get_fmt-calls.patch | 47 + ...-dt-add-device-tree-for-PWDN-control.patch | 32 + ...323-ov5647-Add-support-for-PWDN-GPIO.patch | 92 + ...upport-for-non-continuous-clock-mode.patch | 72 + ...-tc358743-Increase-FIFO-level-to-374.patch | 31 + ...onnected-active-CSI-2-lane-reporting.patch | 94 + ...-Add-support-for-972Mbit-s-link-freq.patch | 79 + ...743-Check-I2C-succeeded-during-probe.patch | 98 + ...180-Default-to-the-first-valid-input.patch | 45 + ...-helper-defines-for-printing-FOURCCs.patch | 27 + ...-Document-BCM283x-CSI2-CCP2-receiver.patch | 103 + ...river-for-CCP2-CSI2-camera-interface.patch | 2432 + ...-Revert-changes-for-notifier-fn-ptrs.patch | 38 + ...-Add-entry-for-BCM2835-camera-driver.patch | 26 + ...-Unicam-driver-and-various-sources-o.patch | 84 + ...-Nasty-hack-to-allow-input-selection.patch | 89 + ...v7180-Add-YPrPb-support-for-ADV7282M.patch | 24 + ...cm2710-rpi-3-b-plus-fix-hpd-gpio-pin.patch | 21 + ...-Add-device-tree-overlay-for-HD44780.patch | 105 + ...0340-Add-hd44780-module-to-defconfig.patch | 32 + ...-DT-Add-CSI-nodes-to-the-device-tree.patch | 189 + ...SI-defines-for-all-the-downstream-Pi.patch | 124 + ...erlays-for-ADV7282M-OV5647-and-TC358.patch | 477 + ...-Set-premultiplied-for-alpha-formats.patch | 50 + ...ck-if-plane-requires-background-fill.patch | 63 + ...6-drm-vc4-Move-plane-state-to-header.patch | 157 + ...background-color-fill-when-necessary.patch | 72 + ...s-Add-addr-parameter-to-i2c-rtc-gpio.patch | 111 + ...-dereferencing-DPI-s-connector-since.patch | 78 + ...-the-DPI-hardware-to-the-device-tree.patch | 34 + ...the-18-bit-DPI-pinmux-to-the-RPI-DTs.patch | 30 + ...overlay-for-the-Adafruit-Kippah-with.patch | 85 + ...stale-notes-about-vc4-s-CMA-alignmen.patch | 51 + ...rtise-supported-modifiers-for-planes.patch | 97 + ...ome-missing-HVS-register-definitions.patch | 149 + ...ing-formats-to-vc4_format_mod_suppor.patch | 33 + ...rm-vc4-Add-support-for-SAND-modifier.patch | 266 + ...e-GPIO-CSs-honour-the-SPI_NO_CS-flag.patch | 32 + ...rx-handling-before-first-packet-is-s.patch | 30 + ...an78xx-Fix-link-status-notifications.patch | 29 + ...61-overlays-Fix-vc4-kms-kippah-7inch.patch | 41 + ...Q-Fix-bad-mode-in-data-abort-handler.patch | 128 + ...-log-messages-in-one-newline-not-two.patch | 54 + ...e-log-message-ending-in-two-newlines.patch | 21 + .../950-0365-Add-rpi-poe-fan-driver.patch | 615 + ...Pi-CM3-dts-to-arm64-mimic-the-RPi-3B.patch | 30 + ...camera-Skip-ISP-pass-to-eliminate-pa.patch | 231 + ...camera-Allocate-context-once-per-buf.patch | 192 + ...camera-Remove-bulk_mutex-as-it-is-no.patch | 154 + ...camera-Match-MMAL-buffer-count-to-V4.patch | 115 + ...camera-Remove-V4L2-MMAL-buffer-remap.patch | 239 + ...camera-Add-multiple-include-protecti.patch | 39 + ...5-camera-Move-struct-vchiq_mmal_rect.patch | 54 + ...camera-Replace-BUG_ON-with-return-er.patch | 41 + ...ing-bcm2835-camera-Fix-comment-typos.patch | 27 + ...835-camera-Fix-indentation-of-tables.patch | 321 + ...camera-Fix-warnings-about-string-ops.patch | 61 + ...Remove-dead-code-related-to-framerat.patch | 39 + ...Fix-mmal_port_parameter_get-signed-u.patch | 45 + ...80-staging-bcm2835-Use-BIT_ULL-macro.patch | 31 + ...vices-no-need-to-check-debugfs-retur.patch | 217 + ...vices-remove-odd-vchiq_debugfs_top-w.patch | 104 + ...vices-move-client-dbg-directory-into.patch | 94 + ...vices-remove-struct-vchiq_debugfs_in.patch | 63 + ...vices-vchiq_debugfs_log_entry-can-be.patch | 51 + ...vices-no-need-to-save-the-log-debufs.patch | 83 + ...services-Join-multiline-dereferences.patch | 60 + ...amera-Fix-timestamp-calculation-prob.patch | 93 + ...35-camera-use-ktime_t-for-timestamps.patch | 87 + ...ervices-Unsplit-user-visible-strings.patch | 53 + ...1-staging-vc04_services-Use-__func__.patch | 30 + ...camera-Do-not-bulk-receive-from-serv.patch | 197 + ...cm2835-camera-Return-early-on-errors.patch | 192 + ...5-camera-Remove-dead-email-addresses.patch | 241 + ...-camera-Fix-comment-style-violations.patch | 617 + ...-camera-Fix-spacing-around-operators.patch | 145 + ...5-camera-Reduce-length-of-enum-names.patch | 771 + ...camera-Fix-multiple-line-dereference.patch | 133 + ...cm2835-camera-Fix-brace-style-issues.patch | 56 + ...camera-Fix-missing-lines-between-ite.patch | 61 + ...camera-Fix-logical-continuation-spli.patch | 49 + ...camera-Fix-open-parenthesis-alignmen.patch | 137 + ...0403-staging-bcm2835-camera-Fix-typo.patch | 23 + ...camera-Ensure-all-buffers-are-return.patch | 82 + ...iq-Remove-check-of-the-number-of-buf.patch | 39 + ...camera-Handle-empty-EOS-buffers-whil.patch | 84 + ...camera-Set-sequence-number-correctly.patch | 46 + ...camera-Ensure-timestamps-never-go-ba.patch | 38 + ...upport-for-ADV7280-M-ADV7281-M-and-A.patch | 134 + ...0410-bcm2835-interpolate-audio-delay.patch | 90 + ...audioinjector.net-ultra-soundcard.-2.patch | 141 + .../950-0412-PoE-HAT-driver-cleanup.patch | 245 + ...oC-cs4265-Add-a-S-PDIF-enable-switch.patch | 26 + ...s4265-Add-native-32bit-I2S-transport.patch | 29 + ...0-0416-configs-Add-SENSOR_GPIO_FAN-m.patch | 55 + ...0417-BCM270X_DT-Add-gpio-fan-overlay.patch | 114 + ...ays-Correct-DT-handling-camera-GPIOs.patch | 75 + ...-ov5647-Use-gpiod_set_value_cansleep.patch | 54 + ...fix-incorrect-DMA-register-offset-ca.patch | 63 + ...2-configs-Add-CONFIG_HID_BIGBEN_FF-m.patch | 33 + ...SoC-cs4265-Add-a-MIC-pre.-route-2696.patch | 34 + ...mplement-a-DMA-pool-for-small-bulk-t.patch | 126 + ...425-Update-gpio-fan-overlay.dts-2711.patch | 72 + ...step_wise-add-support-for-hysteresis.patch | 96 + ...step_wise-avoid-throttling-at-hyster.patch | 22 + ...just-rpi-poe-fan-overlay-trip-points.patch | 67 + ...dd-overrides-for-PoE-HAT-fan-control.patch | 50 + ...erlays-Add-gpio-no-bank0-irq-overlay.patch | 60 + ...-2017-model-device-tree-overlay-2721.patch | 209 + ...50-0432-config-Add-CONFIG_USBIP_VUDC.patch | 31 + ...sdhost-Recover-from-MMC_SEND_EXT_CSD.patch | 50 + ...i3-disable-bt-Clear-out-bt_pins-node.patch | 33 + ...23-properly-handle-oscillator-stop-b.patch | 56 + ...950-0437-Update-issue-templates-2736.patch | 47 + ...is7xx-Don-t-spin-if-no-data-received.patch | 23 + ...rt0-return-GPIOs-14-and-15-to-inputs.patch | 42 + .../950-0440-Update-README-2750.patch | 26 + ...emove-superfluous-address-size-cells.patch | 63 + ...-dereference-in-the-import_dmabuf-er.patch | 25 + ...xx-Support-auto-downshift-to-100Mb-s.patch | 126 + ...cm283x-Set-downshift-after-for-Pi-3B.patch | 32 + ...0X_DT-Add-new-Ethernet-DT-parameters.patch | 55 + ...camera-Fix-stride-on-RGB3-BGR3-forma.patch | 53 + ...pm-Make-SECURITYFS-a-weak-dependency.patch | 35 + ...PI-support-for-TPM1.2-and-TPM2.0-chi.patch | 106 + ...ay-for-SLB9760-Iridium-LetsTrust-TPM.patch | 92 + ...driver-for-3Dlab-Nano-soundcard-2758.patch | 505 + ...-audio-fix-sgtl5000-compatible-strin.patch | 27 + ...add-dereference-to-fix-DMA-transfers.patch | 20 + ...e-link-events-to-minimize-poll-storm.patch | 44 + .../960-add-rasbperrypi-compatible.patch | 51 + .../patches-4.14/961-lan78xx-enable-LED.patch | 18 + target/linux/brcm47xx/Makefile | 28 + .../base-files/etc/board.d/01_network | 207 + target/linux/brcm47xx/base-files/etc/diag.sh | 33 + .../brcm47xx/base-files/etc/init.d/wmacfixup | 33 + .../etc/uci-defaults/03_network_migration | 29 + .../base-files/etc/uci-defaults/09_fix_crc | 7 + .../base-files/lib/preinit/01_sysinfo | 16 + .../base-files/lib/upgrade/platform.sh | 247 + target/linux/brcm47xx/config-4.14 | 215 + .../generic/profiles/100-Broadcom-b43.mk | 20 + .../generic/profiles/101-Broadcom-wl.mk | 20 + .../generic/profiles/104-Broadcom-ath5k.mk | 19 + .../generic/profiles/105-Broadcom-none.mk | 18 + .../generic/profiles/200-Broadcom-b44-b43.mk | 20 + .../generic/profiles/201-Broadcom-b44-wl.mk | 20 + .../profiles/204-Broadcom-b44-ath5k.mk | 19 + .../generic/profiles/205-Broadcom-b44-none.mk | 18 + .../generic/profiles/210-Broadcom-tg3-b43.mk | 20 + .../generic/profiles/211-Broadcom-tg3-wl.mk | 20 + .../generic/profiles/215-Broadcom-tg3-none.mk | 18 + .../profiles/220-Broadcom-bgmac-b43.mk | 20 + .../generic/profiles/221-Broadcom-bgmac-wl.mk | 20 + .../profiles/225-Broadcom-bgmac-none.mk | 18 + .../profiles/226-Broadcom-bgmac-brcsmac.mk | 20 + .../brcm47xx/generic/profiles/PS-1208MFG.mk | 18 + target/linux/brcm47xx/generic/target.mk | 9 + target/linux/brcm47xx/image/Makefile | 1004 + .../linux/brcm47xx/image/lzma-loader/Makefile | 33 + .../image/lzma-loader/src/LzmaDecode.c | 663 + .../image/lzma-loader/src/LzmaDecode.h | 100 + .../brcm47xx/image/lzma-loader/src/Makefile | 78 + .../brcm47xx/image/lzma-loader/src/README | 55 + .../image/lzma-loader/src/decompress.c | 186 + .../image/lzma-loader/src/decompress.lds.in | 20 + .../brcm47xx/image/lzma-loader/src/head.S | 161 + .../image/lzma-loader/src/loader.lds.in | 17 + target/linux/brcm47xx/legacy/config-default | 8 + .../legacy/profiles/100-Broadcom-b43.mk | 20 + .../legacy/profiles/101-Broadcom-wl.mk | 20 + target/linux/brcm47xx/legacy/target.mk | 10 + target/linux/brcm47xx/mips74k/config-default | 20 + .../mips74k/profiles/100-Broadcom-b43.mk | 19 + .../mips74k/profiles/101-Broadcom-brcsmac.mk | 19 + .../mips74k/profiles/102-Broadcom-wl.mk | 19 + .../mips74k/profiles/103-Broadcom-none.mk | 18 + target/linux/brcm47xx/mips74k/target.mk | 9 + target/linux/brcm47xx/modules.mk | 24 + ...-Add-Luxul-XAP1500-XWR1750-WiFi-LEDs.patch | 86 + ...X-Add-support-for-Netgear-WNR1000-V3.patch | 96 + ..._nvram-support-small-0x6000-B-NVRAM-.patch | 24 + ...able-USB-power-on-Netgear-WNDR3400v2.patch | 34 + .../brcm47xx/patches-4.14/159-cpu_fixes.patch | 510 + .../patches-4.14/160-kmap_coherent.patch | 78 + .../209-b44-register-adm-switch.patch | 121 + .../patches-4.14/210-b44_phy_fix.patch | 54 + .../280-activate_ssb_support_in_usb.patch | 25 + .../patches-4.14/300-fork_cacheflush.patch | 21 + .../patches-4.14/310-no_highpage.patch | 74 + ...47XX-Devices-database-update-for-4.x.patch | 185 + .../400-mtd-bcm47xxpart-get-nvram.patch | 34 + .../patches-4.14/610-pci_ide_fix.patch | 41 + .../patches-4.14/791-tg3-no-pci-sleep.patch | 17 + ...f-serial-flashes-with-smaller-blocks.patch | 73 + .../patches-4.14/820-wgt634u-nvram-fix.patch | 304 + .../830-huawei_e970_support.patch | 101 + .../patches-4.14/831-old_gpio_wdt.patch | 360 + ...rites-setting-CardBus-bridge-resourc.patch | 30 + ...ch-GPIO-portions-to-use-GPIOLIB_IRQC.patch | 233 + .../patches-4.14/940-bcm47xx-yenta.patch | 46 + .../976-ssb_increase_pci_delay.patch | 11 + .../patches-4.14/999-wl_exports.patch | 22 + target/linux/brcm63xx/Makefile | 28 + .../brcm63xx/base-files/etc/board.d/01_leds | 87 + .../base-files/etc/board.d/02_network | 162 + target/linux/brcm63xx/base-files/etc/diag.sh | 165 + .../etc/hotplug.d/firmware/10-rt2x00-eeprom | 44 + .../base-files/etc/uci-defaults/09_fix_crc | 43 + .../linux/brcm63xx/base-files/lib/brcm63xx.sh | 310 + .../base-files/lib/preinit/01_do_brcm63xx.sh | 9 + .../base-files/lib/upgrade/platform.sh | 16 + target/linux/brcm63xx/config-4.14 | 283 + target/linux/brcm63xx/dts/a226g.dts | 125 + target/linux/brcm63xx/dts/a226m-fwb.dts | 125 + target/linux/brcm63xx/dts/a226m.dts | 125 + target/linux/brcm63xx/dts/a4001n.dts | 101 + target/linux/brcm63xx/dts/a4001n1.dts | 132 + target/linux/brcm63xx/dts/ad1018-nor.dts | 146 + target/linux/brcm63xx/dts/agpf-s0.dts | 129 + target/linux/brcm63xx/dts/ar-5315u.dts | 118 + target/linux/brcm63xx/dts/ar-5381u.dts | 89 + target/linux/brcm63xx/dts/ar-5387un.dts | 97 + target/linux/brcm63xx/dts/ar1004g.dts | 83 + target/linux/brcm63xx/dts/av4202n.dts | 102 + target/linux/brcm63xx/dts/bcm3368.dtsi | 133 + target/linux/brcm63xx/dts/bcm6318.dtsi | 200 + target/linux/brcm63xx/dts/bcm63268.dtsi | 250 + target/linux/brcm63xx/dts/bcm6328.dtsi | 199 + target/linux/brcm63xx/dts/bcm6338.dtsi | 105 + target/linux/brcm63xx/dts/bcm6345.dtsi | 94 + target/linux/brcm63xx/dts/bcm6348.dtsi | 153 + target/linux/brcm63xx/dts/bcm6358.dtsi | 203 + target/linux/brcm63xx/dts/bcm6362.dtsi | 294 + target/linux/brcm63xx/dts/bcm6368.dtsi | 319 + target/linux/brcm63xx/dts/bcm96318ref.dts | 83 + .../linux/brcm63xx/dts/bcm96318ref_p300.dts | 89 + .../linux/brcm63xx/dts/bcm963268bu_p300.dts | 59 + target/linux/brcm63xx/dts/bcm963269bhr.dts | 66 + target/linux/brcm63xx/dts/bcm963281TAN.dts | 68 + target/linux/brcm63xx/dts/bcm96328avng.dts | 73 + target/linux/brcm63xx/dts/bcm96338GW.dts | 53 + target/linux/brcm63xx/dts/bcm96338W.dts | 53 + target/linux/brcm63xx/dts/bcm96345GW2.dts | 27 + target/linux/brcm63xx/dts/bcm96348GW-10.dts | 72 + target/linux/brcm63xx/dts/bcm96348GW-11.dts | 72 + target/linux/brcm63xx/dts/bcm96348GW.dts | 72 + target/linux/brcm63xx/dts/bcm96348R.dts | 58 + target/linux/brcm63xx/dts/bcm96358VW.dts | 53 + target/linux/brcm63xx/dts/bcm96358VW2.dts | 49 + target/linux/brcm63xx/dts/bcm96368MVNgr.dts | 58 + target/linux/brcm63xx/dts/bcm96368MVWG.dts | 58 + target/linux/brcm63xx/dts/cpva502plus.dts | 79 + target/linux/brcm63xx/dts/cpva642.dts | 113 + target/linux/brcm63xx/dts/ct-5365.dts | 97 + target/linux/brcm63xx/dts/ct-6373.dts | 109 + target/linux/brcm63xx/dts/ct536plus.dts | 79 + target/linux/brcm63xx/dts/cvg834g.dts | 60 + target/linux/brcm63xx/dts/dg834g_v4.dts | 87 + target/linux/brcm63xx/dts/dg834gtpn.dts | 91 + target/linux/brcm63xx/dts/dgnd3700v1.dts | 185 + target/linux/brcm63xx/dts/dsl-2640b-b.dts | 87 + target/linux/brcm63xx/dts/dsl-2640u.dts | 66 + target/linux/brcm63xx/dts/dsl-2650u.dts | 68 + target/linux/brcm63xx/dts/dsl-274xb-c.dts | 86 + target/linux/brcm63xx/dts/dsl-274xb-f.dts | 121 + target/linux/brcm63xx/dts/dsl-275xb-d.dts | 133 + target/linux/brcm63xx/dts/dv-201amr.dts | 51 + target/linux/brcm63xx/dts/dva-g3810bn_tl.dts | 86 + target/linux/brcm63xx/dts/evg2000.dts | 124 + target/linux/brcm63xx/dts/f5d7633.dts | 91 + target/linux/brcm63xx/dts/fast2404.dts | 51 + target/linux/brcm63xx/dts/fast2504n.dts | 108 + target/linux/brcm63xx/dts/fast2604.dts | 87 + target/linux/brcm63xx/dts/fast2704n.dts | 135 + target/linux/brcm63xx/dts/fast2704v2.dts | 119 + target/linux/brcm63xx/dts/gw6000.dts | 65 + target/linux/brcm63xx/dts/gw6200.dts | 86 + target/linux/brcm63xx/dts/hg520v.dts | 69 + target/linux/brcm63xx/dts/hg553.dts | 109 + target/linux/brcm63xx/dts/hg556a-a.dts | 146 + target/linux/brcm63xx/dts/hg556a-b.dts | 146 + target/linux/brcm63xx/dts/hg556a-c.dts | 141 + target/linux/brcm63xx/dts/hg622.dts | 96 + target/linux/brcm63xx/dts/hg655b.dts | 121 + target/linux/brcm63xx/dts/homehub2a.dts | 171 + target/linux/brcm63xx/dts/livebox-blue-5g.dts | 84 + target/linux/brcm63xx/dts/magic.dts | 91 + target/linux/brcm63xx/dts/nb4-fxc-r1.dts | 118 + target/linux/brcm63xx/dts/nb4-ser-r0.dts | 118 + target/linux/brcm63xx/dts/nb6-ser-r0.dts | 100 + target/linux/brcm63xx/dts/p870hw-51a-v2.dts | 98 + target/linux/brcm63xx/dts/r1000h.dts | 108 + target/linux/brcm63xx/dts/r5010unv2.dts | 113 + target/linux/brcm63xx/dts/rg100a.dts | 68 + target/linux/brcm63xx/dts/rta1025w.dts | 51 + target/linux/brcm63xx/dts/rta1320.dts | 68 + target/linux/brcm63xx/dts/rta770bw.dts | 84 + target/linux/brcm63xx/dts/rta770w.dts | 84 + target/linux/brcm63xx/dts/spw303v.dts | 97 + target/linux/brcm63xx/dts/spw500v.dts | 91 + target/linux/brcm63xx/dts/sr102.dts | 118 + target/linux/brcm63xx/dts/td-w8900gb.dts | 91 + target/linux/brcm63xx/dts/usr9108.dts | 64 + target/linux/brcm63xx/dts/v2110.dts | 90 + target/linux/brcm63xx/dts/v2500v-bb.dts | 90 + target/linux/brcm63xx/dts/vg50.dts | 59 + target/linux/brcm63xx/dts/vh4032n.dts | 118 + target/linux/brcm63xx/dts/vr-3025u.dts | 92 + target/linux/brcm63xx/dts/vr-3025un.dts | 92 + target/linux/brcm63xx/dts/vr-3026e.dts | 92 + target/linux/brcm63xx/dts/wap-5813n.dts | 157 + target/linux/brcm63xx/generic/target.mk | 7 + target/linux/brcm63xx/image/Makefile | 177 + .../brcm63xx/image/README.images-bcm63xx | 127 + target/linux/brcm63xx/image/bcm63xx.mk | 1162 + .../linux/brcm63xx/image/lzma-loader/Makefile | 62 + .../image/lzma-loader/src/LzmaDecode.c | 584 + .../image/lzma-loader/src/LzmaDecode.h | 113 + .../image/lzma-loader/src/LzmaTypes.h | 45 + .../brcm63xx/image/lzma-loader/src/Makefile | 87 + .../brcm63xx/image/lzma-loader/src/board.c | 111 + .../brcm63xx/image/lzma-loader/src/cache.c | 46 + .../brcm63xx/image/lzma-loader/src/cache.h | 17 + .../brcm63xx/image/lzma-loader/src/cacheops.h | 85 + .../brcm63xx/image/lzma-loader/src/config.h | 31 + .../image/lzma-loader/src/cp0regdef.h | 54 + .../brcm63xx/image/lzma-loader/src/head.S | 121 + .../brcm63xx/image/lzma-loader/src/loader.c | 175 + .../brcm63xx/image/lzma-loader/src/loader.lds | 34 + .../image/lzma-loader/src/loader2.lds | 10 + .../image/lzma-loader/src/lzma-data.lds | 8 + .../brcm63xx/image/lzma-loader/src/printf.c | 350 + .../brcm63xx/image/lzma-loader/src/printf.h | 18 + target/linux/brcm63xx/modules.mk | 38 + ...PS-BCM63XX-add-clkdev-lookup-support.patch | 210 + ...vide-periph-clock-as-refclk-for-uart.patch | 84 + ...-use-refclk-for-the-expected-clock-n.patch | 26 + ...rt-allow-naming-clock-in-device-tree.patch | 55 + ...e-the-HSSPI-PLL-HZ-into-its-own-cloc.patch | 62 + ...vide-enet-clocks-as-enet-to-the-ethe.patch | 60 + ...M63XX-split-out-swpkt_sar-usb-clocks.patch | 105 + ...63xx_enet-do-not-rely-on-probe-order.patch | 41 + ...-managed-functions-for-clock-ioremap.patch | 150 + ...net-drop-unneeded-NULL-phy_clk-check.patch | 36 + ...bcm63xx_enet-remove-unneeded-include.patch | 22 + ...enet-just-use-enet-as-the-clock-name.patch | 39 + ...-platform-data-for-dma-channel-numbe.patch | 72 + ...x_enet-remove-pointless-mac_id-check.patch | 25 + ...-platform-device-id-directly-for-mii.patch | 46 + ...63XX-add-USB-host-clock-enable-delay.patch | 28 + ...-USB-device-clock-enable-delay-to-cl.patch | 41 + ...e-code-touching-the-USB-private-regi.patch | 151 + ...-OHCI-EHCI-configuration-bits-to-com.patch | 169 + ...roduce-BCM63XX_OHCI-configuration-sy.patch | 62 + ...-support-for-the-on-chip-OHCI-contro.patch | 138 + ...ister-OHCI-controller-if-board-enabl.patch | 36 + ...roduce-BCM63XX_EHCI-configuration-sy.patch | 62 + ...-support-for-the-on-chip-EHCI-contro.patch | 136 + ...ister-EHCI-controller-if-board-enabl.patch | 36 + ...I-controller-does-not-support-overcu.patch | 24 + ...move-imagetag-parsing-to-its-own-par.patch | 481 + ...2-mtd-bcm63xxpart-add-of_match_table.patch | 37 + ...xx_imagetag-add-of_match_table-suppo.patch | 37 + .../130-pinctrl-add-bcm63xx-base-code.patch | 226 + ...d-BCM6328-pincontroller-binding-docu.patch | 78 + ...-add-a-pincontrol-driver-for-BCM6328.patch | 495 + ...d-BCM6348-pincontroller-binding-docu.patch | 49 + ...-add-a-pincontrol-driver-for-BCM6348.patch | 431 + ...d-BCM6358-pincontroller-binding-docu.patch | 61 + ...-add-a-pincontrol-driver-for-BCM6358.patch | 436 + ...d-BCM6362-pincontroller-binding-docu.patch | 96 + ...-add-a-pincontrol-driver-for-BCM6362.patch | 733 + ...d-BCM6368-pincontroller-binding-docu.patch | 84 + ...-add-a-pincontrol-driver-for-BCM6368.patch | 620 + ...d-BCM63268-pincontroller-binding-doc.patch | 106 + ...add-a-pincontrol-driver-for-BCM63268.patch | 736 + ...tree-gpio-hogs-on-dual-role-gpio-pin.patch | 134 + .../145-pinctrl-BCM6362-fix-gpio-mode.patch | 11 + ...low-limiting-ports-for-ehci-platform.patch | 66 + ...e-device-registration-code-into-its-.patch | 484 + ...s-a-mac-addresss-allocator-to-board-.patch | 100 + .../patches-4.14/309-cfe_version_mod.patch | 27 + .../310-cfe_simplify_detection.patch | 20 + .../311-bcm63xxpart_use_cfedetection.patch | 51 + ...ort-for-bcm6345-style-periphery-irq-.patch | 455 + ...ort-for-bcm6345-style-external-inter.patch | 394 + ...22-MIPS-BCM63XX-switch-to-IRQ_DOMAIN.patch | 695 + ...e-up-BCM6358-s-external-interrupts-4.patch | 57 + ...m6345-periph-fix-block-uninitialized.patch | 20 + ...6345-external-fix-base-uninitialized.patch | 28 + ...-irqchip-bcm6345-report-eff-affinity.patch | 20 + ...irqchip-bcm6345-periph-clear-on-init.patch | 12 + ...BCM63XX-add-a-new-cpu-variant-helper.patch | 77 + ...MIPS-BCM63XX-define-variant-id-field.patch | 23 + ...MIPS-BCM63XX-detect-BCM6328-variants.patch | 68 + ...MIPS-BCM63XX-detect-BCM6362-variants.patch | 46 + ...MIPS-BCM63XX-detect-BCM6368-variants.patch | 48 + ...-BCM63XX-fix-PCIe-memory-window-size.patch | 20 + ...amically-set-the-pcie-memory-windows.patch | 70 + .../337-MIPS-BCM63XX-widen-cpuid-field.patch | 56 + ...MIPS-BCM63XX-increase-number-of-IRQs.patch | 39 + ...IPS-BCM63XX-add-support-for-BCM63268.patch | 737 + ...CM63XX-add-pcie-support-for-BCM63268.patch | 55 + ...MIPS-BCM63XX-add-support-for-BCM6318.patch | 697 + ...IPS-BCM63XX-split-PCIe-reset-signals.patch | 156 + ...BCM63XX-add-PCIe-support-for-BCM6318.patch | 333 + ...ect-flash-type-early-and-store-the-r.patch | 74 + ...ixup-mapped-SPI-flash-access-on-boot.patch | 84 + ...-MIPS-BCM63XX-USB-ENETSW-6318-clocks.patch | 44 + .../347-MIPS-BCM6318-USB-support.patch | 124 + ...-MIPS-BCM63XX-fix-BCM63268-USB-clock.patch | 71 + ...IPS-BCM63XX-add-BCM63268-USB-support.patch | 117 + ...63XX-support-settings-num-usbh-ports.patch | 108 + .../351-set-board-usbh-ports.patch | 10 + ...ow-building-support-for-more-than-on.patch | 96 + ...ow-board-implementations-to-force-fl.patch | 61 + ...e-fallback-sprom-support-into-its-ow.patch | 189 + ...63XX-use-platform-data-for-the-sprom.patch | 95 + ...BCM63XX-make-fallback-sprom-optional.patch | 140 + ...M63XX-allow-different-types-of-sprom.patch | 66 + ...S-BCM63XX-add-support-for-raw-sproms.patch | 517 + ...-raw-fallback-sproms-for-most-common.patch | 181 + ...o-register-a-fallback-sprom-for-bcma.patch | 128 + ...M63XX-add-BCMA-based-sprom-templates.patch | 303 + ...ow-board-files-to-provide-sprom-fixu.patch | 67 + ...ow-setting-a-pci-bus-device-for-fall.patch | 102 + ...CM63XX-fallback-sprom-override-devid.patch | 78 + ...-BCM63XX-add-support-for-loading-DTB.patch | 118 + ...-support-for-matching-the-board_info.patch | 95 + ...ulate-the-compatible-to-board_info-l.patch | 65 + .../371_add_of_node_available_by_alias.patch | 37 + ...egister_pflash_when_available_in_dtb.patch | 21 + ...ister-interrupt-controllers-through-.patch | 45 + ...add-a-simple-GPIO-driver-for-bcm63xx.patch | 178 + ...PS-BCM63XX-switch-to-new-gpio-driver.patch | 215 + ...-register-lookup-for-ephy-reset-gpio.patch | 129 + ...not-register-gpio-controller-if-pres.patch | 35 + ...vide-a-gpio-lookup-for-the-pcmcia-re.patch | 59 + ...bcm63xx_pmcia-use-the-new-named-gpio.patch | 59 + ...d-BCM6318-pincontroller-binding-docu.patch | 96 + ...-add-a-pincontrol-driver-for-BCM6318.patch | 609 + .../383-bcm63xx_select_pinctrl.patch | 65 + ...X-add-clkdev-lookups-for-device-tree.patch | 105 + ...63XX-do-not-register-SPI-controllers.patch | 172 + ...91-MIPS-BCM63XX-do-not-register-uart.patch | 259 + ...MIPS-BCM63XX-remove-leds-and-buttons.patch | 343 + .../patches-4.14/400-bcm963xx_flashmap.patch | 65 + .../401-bcm963xx_real_rootfs_length.patch | 27 + ...402_bcm63xx_enet_vlan_incoming_fixed.patch | 11 + .../403-6358-enet1-external-mii-clk.patch | 22 + ...-move-phy_-dis-connect-into-probe-re.patch | 269 + ...enable-rgmii-clock-on-external-ports.patch | 53 + ...CM63XX-Register-SPI-flash-if-present.patch | 157 + ...w-providing-fixup-data-in-board-data.patch | 72 + ...M63XX-export-the-attached-flash-type.patch | 31 + ...CM63XX-add-a-fixup-for-ath9k-devices.patch | 237 + ...0-BCM63XX-add-endian-check-for-ath9k.patch | 51 + .../421-BCM63XX-add-led-pin-for-ath9k.patch | 51 + ...M63XX-add-a-fixup-for-rt2x00-devices.patch | 185 + .../423-bcm63xx_enet_add_b53_support.patch | 169 + ...4-bcm63xx_enet_no_request_mem_region.patch | 15 + .../427-boards_probe_switch.patch | 119 + ...low_better_context_for_board_patches.patch | 56 + .../patches-4.14/500-board-D4PW.patch | 40 + .../brcm63xx/patches-4.14/501-board-NB4.patch | 81 + .../patches-4.14/502-board-96338W2_E7T.patch | 39 + .../patches-4.14/503-board-CPVA642.patch | 44 + .../504-board_dsl_274xb_rev_c.patch | 41 + .../patches-4.14/505-board_spw500v.patch | 55 + .../506-board_gw6200_gw6000.patch | 69 + .../patches-4.14/507-board-MAGIC.patch | 50 + .../patches-4.14/508-board_hw553.patch | 51 + .../patches-4.14/509-board_rta1320_16m.patch | 39 + .../patches-4.14/510-board_spw303v.patch | 39 + .../patches-4.14/511-board_V2500V.patch | 92 + .../patches-4.14/512-board_BTV2110.patch | 43 + ...BCM63XX-add-inventel-Livebox-support.patch | 215 + .../patches-4.14/514-board_ct536_ct5621.patch | 53 + .../patches-4.14/515-board_DWV-S0_fixes.patch | 10 + .../patches-4.14/516-board_96348A-122.patch | 49 + .../patches-4.14/519_board_CPVA502plus.patch | 52 + ...63xx-add-support-for-96368MVWG-board.patch | 118 + ...3xx-add-support-for-96368MVNgr-board.patch | 73 + ...CM63XX-add-96328avng-reference-board.patch | 45 + ...CM63XX-add-963281TAN-reference-board.patch | 68 + .../524-board_dsl_274xb_rev_f.patch | 80 + .../patches-4.14/525-board_96348w3.patch | 43 + .../patches-4.14/526-board_CT6373-1.patch | 49 + .../527-board_dva-g3810bn-tl-1.patch | 52 + .../brcm63xx/patches-4.14/528-board_nb6.patch | 56 + .../patches-4.14/529-board_fast2604.patch | 41 + .../patches-4.14/530-board_A4001N1.patch | 68 + .../patches-4.14/531-board_AR-5387un.patch | 97 + .../patches-4.14/532-board_AR-5381u.patch | 79 + .../patches-4.14/533-board_rta770bw.patch | 39 + .../patches-4.14/534-board_hw556.patch | 123 + .../patches-4.14/535-board_rta770w.patch | 44 + .../patches-4.14/536-board_fast2704.patch | 74 + .../patches-4.14/537-board_fast2504n.patch | 66 + .../patches-4.14/555-board_96318ref.patch | 78 + .../556-board_96318ref_p300.patch | 69 + .../patches-4.14/557-board_bcm963269bhr.patch | 71 + .../patches-4.14/558-board_AR1004G.patch | 48 + .../patches-4.14/559-board_vw6339gu.patch | 70 + .../560-board_963268gu_p300.patch | 83 + .../patches-4.14/561-board_WAP-5813n.patch | 75 + .../patches-4.14/562-board_VR-3025u.patch | 78 + .../patches-4.14/563-board_VR-3025un.patch | 78 + .../564-board_P870HW-51a_v2.patch | 67 + .../patches-4.14/565-board_hw520.patch | 55 + .../patches-4.14/566-board_A4001N.patch | 68 + .../patches-4.14/567-board_dsl-2751b_e1.patch | 93 + .../568-board_DGND3700v1_3800B.patch | 49 + .../patches-4.14/569-board_homehub2a.patch | 50 + .../patches-4.14/570-board_HG655b.patch | 71 + .../patches-4.14/571-board_fast2704n.patch | 64 + .../patches-4.14/572-board_VR-3026e.patch | 78 + .../patches-4.14/573-board_R5010UNv2.patch | 69 + .../patches-4.14/574-board_HG622.patch | 71 + .../patches-4.14/575-board_EVG2000.patch | 61 + .../patches-4.14/576-board_AV4202N.patch | 70 + .../patches-4.14/577-board_VH4032N.patch | 125 + .../patches-4.14/578-board_R1000H.patch | 48 + .../patches-4.14/579-board_AR-5315u.patch | 86 + .../patches-4.14/580-board_AD1018.patch | 92 + .../patches-4.14/598-board_sr102.patch | 68 + .../patches-4.14/800-wl_exports.patch | 25 + .../801-ssb_export_fallback_sprom.patch | 31 + .../802-rtl8367r_fix_RGMII_support.patch | 30 + ...d-unaligned-accesses-failing-on-bcm6.patch | 26 + .../804-bcm63xx_enet_63268_rgmii_ports.patch | 13 + target/linux/brcm63xx/profiles/default.mk | 18 + target/linux/brcm63xx/smp/config-default | 17 + target/linux/brcm63xx/smp/target.mk | 8 + target/linux/cns3xxx/Makefile | 30 + .../cns3xxx/base-files/etc/init.d/netdev-cpu | 21 + .../linux/cns3xxx/base-files/lib/cns3xxx.sh | 28 + .../cns3xxx/base-files/lib/preinit/01_sysinfo | 9 + .../base-files/lib/upgrade/platform.sh | 19 + target/linux/cns3xxx/config-4.14 | 380 + .../files/arch/arm/mach-cns3xxx/cns3xxx_fiq.S | 87 + .../files/arch/arm/mach-cns3xxx/gpio.c | 292 + .../files/arch/arm/mach-cns3xxx/headsmp.S | 41 + .../files/arch/arm/mach-cns3xxx/hotplug.c | 130 + .../arch/arm/mach-cns3xxx/include/mach/gpio.h | 17 + .../arch/arm/mach-cns3xxx/include/mach/smp.h | 8 + .../files/arch/arm/mach-cns3xxx/laguna.c | 1123 + .../files/arch/arm/mach-cns3xxx/platsmp.c | 327 + .../files/drivers/i2c/busses/i2c-cns3xxx.c | 374 + .../files/drivers/net/ethernet/cavium/Kconfig | 24 + .../drivers/net/ethernet/cavium/Makefile | 5 + .../drivers/net/ethernet/cavium/cns3xxx_eth.c | 1325 + .../cns3xxx/files/drivers/spi/spi-cns3xxx.c | 448 + .../include/linux/platform_data/cns3xxx.h | 26 + target/linux/cns3xxx/image/Makefile | 44 + .../000-cns3xxx_arch_include.patch | 9 + .../001-arm_openwrt_machtypes.patch | 10 + ...-arm_introduce-dma-fiq-irq-broadcast.patch | 80 + .../patches-4.14/020-watchdog_support.patch | 184 + .../patches-4.14/025-smp_support.patch | 30 + .../cns3xxx/patches-4.14/030-pcie_clock.patch | 11 + .../patches-4.14/040-fiq_support.patch | 40 + .../cns3xxx/patches-4.14/045-twd_base.patch | 43 + .../cns3xxx/patches-4.14/055-pcie_io.patch | 19 + .../cns3xxx/patches-4.14/060-pcie_abort.patch | 109 + .../patches-4.14/065-pcie_skip_inactive.patch | 11 + .../patches-4.14/070-i2c_support.patch | 31 + .../patches-4.14/075-spi_support.patch | 51 + .../patches-4.14/080-sata_support.patch | 26 + .../cns3xxx/patches-4.14/090-timers.patch | 105 + .../093-add-virt-pci-io-mapping.patch | 41 + .../patches-4.14/095-gpio_support.patch | 67 + .../097-l2x0_cmdline_disable.patch | 69 + .../patches-4.14/100-laguna_support.patch | 46 + .../101-laguna_sdhci_card_detect.patch | 14 + .../110-pci_isolated_interrupts.patch | 95 + ...-set-MRSS-128-to-fix-CNS3xxx-BM-DMA..patch | 23 + .../200-broadcom_phy_reinit.patch | 15 + .../patches-4.14/210-dwc2_defaults.patch | 63 + target/linux/gemini/Makefile | 32 + .../etc/uci-defaults/09_fix-checksum | 20 + .../lib/preinit/05_set_ether_mac_gemini | 55 + .../gemini/base-files/lib/upgrade/platform.sh | 25 + target/linux/gemini/config-4.14 | 435 + .../linux/gemini/image/ImageInfo-itian_sq201 | 18 + .../image/ImageInfo-raidsonic_ib-4220-b | 19 + target/linux/gemini/image/Makefile | 213 + .../linux/gemini/image/dns313_gen_hdd_img.sh | 28 + .../0001-cache-patch-from-OpenWRT.patch | 50 + ...pinctrl-gemini-Add-missing-functions.patch | 33 + ...ts-Add-TVE200-to-the-Gemini-SoC-DTSI.patch | 51 + ...d-skew-delay-pin-config-and-bindings.patch | 73 + ...pinctrl-gemini-Use-generic-DT-parser.patch | 112 + ...ni-Implement-clock-skew-delay-config.patch | 280 + .../0007-pinctrl-gemini-Fix-GMAC-groups.patch | 186 + ...-gemini-Fix-missing-pad-descriptions.patch | 27 + ...l-gemini-Add-two-missing-GPIO-groups.patch | 25 + ...ctrl-gemini-Fix-usage-of-3512-groups.patch | 25 + ...emini-Support-drive-strength-setting.patch | 198 + ...ernet-PHYs-to-the-a-bunch-of-Geminis.patch | 90 + ...-basic-devicetree-for-D-Link-DNS-313.patch | 272 + ...s-Flags-D-Link-DIR-685-I2C-bus-gpios.patch | 27 + ...ARM-dts-Add-PCI-to-WBD111-and-WBD222.patch | 74 + ...TVE-TVC-and-ILI9322-panel-to-DIR-685.patch | 113 + ...g-gemini-ftwdt010-rename-DT-bindings.patch | 88 + ...i-ftwdt010-rename-driver-and-symbols.patch | 527 + ...dog-ftwdt010-Make-interrupt-optional.patch | 93 + .../0020-soc-Add-SoC-driver-for-Gemini.patch | 113 + ...-DT-bindings-for-the-Gemini-ethernet.patch | 119 + ...-a-driver-for-Gemini-gigabit-etherne.patch | 3661 + ...M-dts-Add-ethernet-to-the-Gemini-SoC.patch | 74 + .../0024-net-gemini-Depend-on-HAS_IOMEM.patch | 30 + ...Set-D-Link-DNS-313-SATA-to-muxmode-0.patch | 36 + ...ini-poweroff-Avoid-spurious-poweroff.patch | 80 + ...st-add-DT-bindings-for-faraday-fotg2.patch | 65 + ...b-host-fotg2-add-device-tree-probing.patch | 61 + ...ost-fotg2-add-silicon-clock-handling.patch | 99 + ...t-fotg2-add-Gemini-specific-handling.patch | 131 + ...s-Add-the-FOTG210-USB-host-to-Gemini.patch | 149 + ...x-bootargs-for-Gemini-D-Link-devices.patch | 38 + ...Add-ethernet-to-a-bunch-of-platforms.patch | 116 + ...-add-openwrt-partitions-for-nas4220b.patch | 17 + ...dts-gemini-fix-ethernet-for-nas4220b.patch | 69 + ...s-gemini-add-second-ata-for-nas4220b.patch | 13 + ...emini-disable-usb-port-1-until-fixed.patch | 11 + ...ix-uninitialized-struct-member-usage.patch | 23 + ...s-gemini-dlink-dir-685-add-rtl8366rb.patch | 82 + ...ini-Fix-up-DNS-313-compatible-string.patch | 21 + target/linux/generic/PATCHES | 20 + ...dcode-path-to-awk-in-scripts-ld-vers.patch | 30 + .../011-kbuild-export-SUBARCH.patch | 23 + ...-for-controlling-warnings-to-linux-c.patch | 142 + ...te-alias-warning-for-SYSCALL_DEFINEx.patch | 88 + .../020-backport_netfilter_rtcache.patch | 558 + ...tcp-allow-drivers-to-tweak-TSQ-logic.patch | 85 + ...ption-fix-dwm-158-3g-modem-interface.patch | 42 + ...port-for-host-mode-external-vbus-sup.patch | 109 + ...wc2_vbus_supply_init-fix-error-check.patch | 55 + ...ding-master-MTD-out-of-mtd_add_devic.patch | 74 + ...rid-of-the-mtd_add_device_partitions.patch | 93 + ...dd-of_match_table-parser-matching-fo.patch | 200 + ...t-parser-to-fixed-partitions-as-it-f.patch | 74 + ...of_match_table-with-fixed-partitions.patch | 44 + ...ding-registering-partitions-to-the-p.patch | 168 + ...-improve-handling-TRX-partition-size.patch | 70 + ...add-of_match_table-with-a-new-DT-bin.patch | 39 + ...add-of_match_table-with-the-new-DT-b.patch | 37 + ...se-DT-info-for-parsing-partitions-wi.patch | 102 + ...inal-flags-for-every-struct-mtd_info.patch | 58 + ...ulating-partition-boundaries-when-ch.patch | 55 + ...ying-block-address-non-regular-inode.patch | 69 + ...-master-mode-for-BCM54210E-and-B5021.patch | 50 + ...-support-new-device-flag-for-setting.patch | 54 + ...-direct-pointer-to-the-struct-device.patch | 199 + ...002-bcma-use-dev_-printing-functions.patch | 36 + ...le-working-over-slow-can_sleep-GPIOs.patch | 84 + ...ridge-add-support-for-port-isolation.patch | 145 + ...ddress-assignment-via-ifconfig-ioctl.patch | 79 + ...s3xxx-use-actual-size-reads-for-PCIe.patch | 46 + ...acket.h-include-its-headers-directly.patch | 36 + ...dv-Remove-usage-of-BIT-x-in-packet.h.patch | 72 + ...e-kernel-fixed-width-types-in-packet.patch | 386 + ...-adv-Convert-packet.h-to-uapi-header.patch | 1665 + ...tor-Parse-batman-adv-unicast-headers.patch | 108 + ...add-defines-for-arp-decnet-max-hooks.patch | 67 + ...ake-nf_unregister_net_hooks-simple-w.patch | 91 + ...emove-synchronize_net-call-if-nfqueu.patch | 116 + ...filter-core-free-hooks-with-call_rcu.patch | 132 + ...e-size-of-hook-entry-point-locations.patch | 200 + ...e-hook-array-sizes-to-what-is-needed.patch | 95 + ...allocate-space-for-decnet-hooks-unle.patch | 67 + ...allocate-space-for-arp-bridge-hooks-.patch | 165 + ...ass-hook-number-family-and-device-to.patch | 98 + ...etfilter-core-add-nf_remove_net_hook.patch | 44 + ...ass-family-as-parameter-to-nf_remove.patch | 51 + ...upport-for-NFPROTO_INET-hook-registr.patch | 129 + ...les-explicit-nft_set_pktinfo-call-fr.patch | 291 + ...nly-allow-one-nat-hook-per-hook-poin.patch | 146 + ...les_inet-don-t-use-multihook-infrast.patch | 161 + ...les-remove-multihook-chains-and-fami.patch | 390 + ...hecksum-indirection-to-struct-nf_ipv.patch | 171 + ...hecksum_partial-indirection-to-struc.patch | 204 + ...-saveroute-indirection-in-struct-nf_.patch | 232 + ...oute-indirection-to-struct-nf_ipv6_o.patch | 349 + ...eroute-indirection-to-struct-nf_ipv6.patch | 223 + ...-route_key_size-field-in-struct-nf_a.patch | 94 + ...-struct-nf_afinfo-and-its-helper-fun.patch | 173 + ...f_tables_arp-don-t-set-forward-chain.patch | 20 + ...les-remove-hooks-from-family-definit.patch | 233 + ...-defensive-check-on-malformed-packet.patch | 302 + ...v4.16-netfilter-meta-secpath-support.patch | 101 + ...ack-move-nf_ct_netns_-get-put-to-cor.patch | 142 + ...conntrack-add-IPS_OFFLOAD-status-bit.patch | 169 + ...bles-add-flow-table-netlink-frontend.patch | 1079 + ...dd-generic-flow-table-infrastructure.patch | 586 + ...etfilter-flow-table-support-for-IPv4.patch | 334 + ...etfilter-flow-table-support-for-IPv6.patch | 354 + ...able-support-for-the-mixed-IPv4-IPv6.patch | 141 + ...er-nf_tables-flow-offload-expression.patch | 332 + ...les-remove-nhooks-field-from-struct-.patch | 113 + ...les-fix-a-typo-in-nf_tables_getflowt.patch | 22 + ...rove-flow-table-Kconfig-dependencies.patch | 106 + ...les-remove-flag-field-from-struct-nf.patch | 59 + ...les-no-need-for-struct-nft_af_info-t.patch | 80 + ...les-remove-struct-nft_af_info-parame.patch | 60 + ...les-fix-potential-NULL-ptr-deref-in-.patch | 30 + ...les-add-single-table-list-for-all-fa.patch | 1450 + ...tfilter-exit_net-cleanup-check-added.patch | 100 + ...nf_tables-get-rid-of-pernet-families.patch | 598 + ...les-get-rid-of-struct-nft_af_info-ab.patch | 1204 + ...ow_offload-wait-for-garbage-collecto.patch | 47 + ...ow_offload-no-need-to-flush-entries-.patch | 29 + ...ow_offload-move-flowtable-cleanup-ro.patch | 97 + ...tfilter-nf_tables-fix-flowtable-free.patch | 140 + ...ow_offload-handle-netdevice-events-f.patch | 96 + ...les-allocate-handle-and-delete-objec.patch | 468 + ...w_offload-fix-use-after-free-and-a-r.patch | 95 + ...ble-infrastructure-depends-on-NETFIL.patch | 73 + ...-netfilter-remove-duplicated-include.patch | 29 + ...w_table-use-IP_CT_DIR_-values-for-FL.patch | 35 + ...ow_table-clean-up-flow_offload_alloc.patch | 118 + ...ipv6-make-ip6_dst_mtu_forward-inline.patch | 80 + ...w_table-cache-mtu-in-struct-flow_off.patch | 145 + ...w_table-rename-nf_flow_table.c-to-nf.patch | 952 + ...w_table-move-ipv4-offload-hook-code-.patch | 522 + ...w_table-move-ip-header-check-out-of-.patch | 32 + ...w_table-move-ipv6-offload-hook-code-.patch | 483 + ...w_table-relax-mixed-ipv4-ipv6-flowta.patch | 23 + ...w_table-move-init-code-to-nf_flow_ta.patch | 298 + ...w_table-fix-priv-pointer-for-netdev-.patch | 22 + ...w_table-track-flow-tables-in-nf_flow.patch | 114 + ...w_table-make-flow_offload_dead-inlin.patch | 38 + ...w_table-add-a-new-flow-state-for-tea.patch | 83 + ...w_table-in-flow_offload_lookup-skip-.patch | 36 + ...w_table-add-support-for-sending-flow.patch | 99 + ...w_table-tear-down-TCP-flows-if-RST-o.patch | 81 + ...w_table-fix-checksum-when-handling-D.patch | 19 + ...low_offload-Fix-reverse-route-lookup.patch | 39 + ...w_table-add-missing-condition-for-TC.patch | 48 + ...w_table-fix-offloading-connections-w.patch | 23 + ...ter-nf_flow_table-attach-dst-to-skbs.patch | 49 + ...w_table-fix-offloaded-connection-tim.patch | 110 + ...w_table-fix-up-ct-state-of-flows-aft.patch | 24 + ...ow_offload-fix-interaction-with-vrf-.patch | 86 + .../373-netfilter_actual_sk.patch | 234 + ...et-sched-Introduce-act_ctinfo-action.patch | 566 + ...s-trigger-Introduce-a-NETDEV-trigger.patch | 588 + ...dev-fix-refcnt-leak-on-interface-ren.patch | 69 + ...dev-fix-handling-on-interface-rename.patch | 49 + ...a-quad_enable-callback-in-struct-fla.patch | 47 + ...mtd-spi-nor-add-support-for-GD25Q256.patch | 35 + ...enable-CONFIG_MMC_SDHCI_IO_ACCESSORS.patch | 23 + ...fault-compression-selection-in-ubifs.patch | 37 + ...-dmi-Add-access-to-the-SKU-ID-string.patch | 57 + ...y-serial-exar-generalize-rs485-setup.patch | 75 + target/linux/generic/config-4.14 | 5797 + .../Documentation/networking/adm6996.txt | 110 + .../files/arch/mips/fw/myloader/Makefile | 5 + .../files/arch/mips/fw/myloader/myloader.c | 63 + .../generic/files/drivers/misc/owl-loader.c | 246 + .../files/drivers/mtd/mtdsplit/Kconfig | 76 + .../files/drivers/mtd/mtdsplit/Makefile | 13 + .../files/drivers/mtd/mtdsplit/mtdsplit.c | 130 + .../files/drivers/mtd/mtdsplit/mtdsplit.h | 67 + .../drivers/mtd/mtdsplit/mtdsplit_brnimage.c | 104 + .../files/drivers/mtd/mtdsplit/mtdsplit_eva.c | 102 + .../files/drivers/mtd/mtdsplit/mtdsplit_fit.c | 147 + .../drivers/mtd/mtdsplit/mtdsplit_jimage.c | 283 + .../drivers/mtd/mtdsplit/mtdsplit_lzma.c | 103 + .../drivers/mtd/mtdsplit/mtdsplit_minor.c | 124 + .../drivers/mtd/mtdsplit/mtdsplit_seama.c | 117 + .../drivers/mtd/mtdsplit/mtdsplit_squashfs.c | 72 + .../drivers/mtd/mtdsplit/mtdsplit_tplink.c | 175 + .../files/drivers/mtd/mtdsplit/mtdsplit_trx.c | 154 + .../drivers/mtd/mtdsplit/mtdsplit_uimage.c | 392 + .../drivers/mtd/mtdsplit/mtdsplit_wrgg.c | 141 + .../generic/files/drivers/mtd/myloader.c | 182 + .../generic/files/drivers/net/phy/adm6996.c | 1241 + .../generic/files/drivers/net/phy/adm6996.h | 186 + .../generic/files/drivers/net/phy/ar8216.c | 2913 + .../generic/files/drivers/net/phy/ar8216.h | 723 + .../generic/files/drivers/net/phy/ar8327.c | 1550 + .../generic/files/drivers/net/phy/ar8327.h | 333 + .../generic/files/drivers/net/phy/b53/Kconfig | 37 + .../files/drivers/net/phy/b53/Makefile | 10 + .../files/drivers/net/phy/b53/b53_common.c | 1722 + .../files/drivers/net/phy/b53/b53_mdio.c | 445 + .../files/drivers/net/phy/b53/b53_mmap.c | 241 + .../files/drivers/net/phy/b53/b53_phy_fixup.c | 55 + .../files/drivers/net/phy/b53/b53_priv.h | 341 + .../files/drivers/net/phy/b53/b53_regs.h | 348 + .../files/drivers/net/phy/b53/b53_spi.c | 344 + .../files/drivers/net/phy/b53/b53_srab.c | 378 + .../generic/files/drivers/net/phy/ip17xx.c | 1377 + .../generic/files/drivers/net/phy/mvsw61xx.c | 1093 + .../generic/files/drivers/net/phy/mvsw61xx.h | 309 + .../generic/files/drivers/net/phy/mvswitch.c | 444 + .../generic/files/drivers/net/phy/mvswitch.h | 145 + .../generic/files/drivers/net/phy/psb6970.c | 441 + .../generic/files/drivers/net/phy/rtl8306.c | 1066 + .../files/drivers/net/phy/rtl8366_smi.c | 1632 + .../files/drivers/net/phy/rtl8366_smi.h | 160 + .../generic/files/drivers/net/phy/rtl8366rb.c | 1532 + .../generic/files/drivers/net/phy/rtl8366s.c | 1320 + .../generic/files/drivers/net/phy/rtl8367.c | 1846 + .../generic/files/drivers/net/phy/rtl8367b.c | 1614 + .../generic/files/drivers/net/phy/swconfig.c | 1256 + .../files/drivers/net/phy/swconfig_leds.c | 567 + .../files/drivers/platform/mikrotik/Kconfig | 18 + .../files/drivers/platform/mikrotik/Makefile | 4 + .../drivers/platform/mikrotik/rb_hardconfig.c | 756 + .../drivers/platform/mikrotik/routerboot.c | 183 + .../drivers/platform/mikrotik/routerboot.h | 31 + .../files/include/linux/ar8216_platform.h | 133 + .../files/include/linux/ath5k_platform.h | 30 + .../files/include/linux/ath9k_platform.h | 60 + .../generic/files/include/linux/myloader.h | 121 + .../linux/platform_data/adm6996-gpio.h | 29 + .../generic/files/include/linux/routerboot.h | 106 + .../files/include/linux/rt2x00_platform.h | 23 + .../generic/files/include/linux/rtl8366.h | 42 + .../generic/files/include/linux/rtl8367.h | 60 + .../generic/files/include/linux/switch.h | 179 + .../generic/files/include/uapi/linux/switch.h | 119 + .../generic/hack-4.14/204-module_strip.patch | 208 + .../hack-4.14/207-disable-modorder.patch | 44 + .../210-darwin_scripts_include.patch | 3065 + .../211-host_tools_portability.patch | 40 + .../hack-4.14/212-byteshift_portability.patch | 65 + .../hack-4.14/214-spidev_h_portability.patch | 24 + .../generic/hack-4.14/220-gc_sections.patch | 258 + .../hack-4.14/221-module_exports.patch | 101 + .../hack-4.14/230-openwrt_lzma_options.patch | 71 + .../hack-4.14/250-netfilter_depends.patch | 27 + .../generic/hack-4.14/251-sound_kconfig.patch | 197 + .../hack-4.14/259-regmap_dynamic.patch | 105 + .../260-crypto_test_dependencies.patch | 60 + .../generic/hack-4.14/280-rfkill-stubs.patch | 84 + ...cache-use-more-efficient-cache-blast.patch | 66 + .../301-mips_image_cmdline_hack.patch | 38 + .../321-powerpc_crtsavres_prereq.patch | 38 + .../400-mt29f_spinand-fix-memleak.patch | 90 + .../generic/hack-4.14/531-debloat_lzma.patch | 1040 + .../640-bridge-only-accept-EAP-locally.patch | 82 + .../hack-4.14/647-netfilter-flow-acct.patch | 70 + .../650-netfilter-add-xt_OFFLOAD-target.patch | 553 + .../hack-4.14/651-wireless_mesh_header.patch | 24 + .../hack-4.14/660-fq_codel_defaults.patch | 27 + .../661-use_fq_codel_by_default.patch | 94 + .../hack-4.14/662-remove_pfifo_fast.patch | 159 + .../700-swconfig_switch_drivers.patch | 140 + .../702-phy_add_aneg_done_function.patch | 27 + .../generic/hack-4.14/721-phy_packets.patch | 176 + .../hack-4.14/773-bgmac-add-srab-switch.patch | 98 + .../hack-4.14/835-misc-owl_loader.patch | 52 + .../hack-4.14/901-debloat_sock_diag.patch | 136 + .../generic/hack-4.14/902-debloat_proc.patch | 405 + .../hack-4.14/904-debloat_dma_buf.patch | 64 + .../hack-4.14/910-kobject_uevent.patch | 32 + .../911-kobject_add_broadcast_uevent.patch | 76 + ...ays-create-console-node-in-initramfs.patch | 40 + .../generic/hack-4.14/930-crashlog.patch | 338 + target/linux/generic/image/Makefile | 12 + .../generic/image/initramfs-base-files.txt | 9 + .../linux/generic/image/lzma-loader/Makefile | 46 + .../image/lzma-loader/src/LzmaDecode.c | 590 + .../image/lzma-loader/src/LzmaDecode.h | 131 + .../generic/image/lzma-loader/src/Makefile | 68 + .../image/lzma-loader/src/decompress.c | 157 + .../image/lzma-loader/src/lzma-copy.lds.in | 20 + .../generic/image/lzma-loader/src/lzma.lds.in | 24 + .../generic/image/lzma-loader/src/print.c | 324 + .../generic/image/lzma-loader/src/print.h | 36 + .../generic/image/lzma-loader/src/printf.c | 35 + .../generic/image/lzma-loader/src/printf.h | 18 + .../generic/image/lzma-loader/src/start.S | 160 + .../generic/image/lzma-loader/src/uart16550.c | 86 + .../generic/image/lzma-loader/src/uart16550.h | 47 + target/linux/generic/image/relocate/Makefile | 75 + .../linux/generic/image/relocate/cacheops.h | 85 + .../linux/generic/image/relocate/cp0regdef.h | 39 + target/linux/generic/image/relocate/head.S | 159 + .../linux/generic/image/relocate/loader.lds | 16 + target/linux/generic/other-files/init | 4 + ...problem-with-platfom-data-in-w1-gpio.patch | 38 + ...s-negative-stack-offsets-on-stack-tr.patch | 57 + ...f-ath79-Fix-perfcount-IRQ-assignment.patch | 110 + .../pending-4.14/110-ehci_hcd_ignore_oc.patch | 79 + ...e_mem_map-with-ARCH_PFN_OFFSET-calcu.patch | 82 + ...0-add-linux-spidev-compatible-si3210.patch | 18 + ..._value_cansleep-for-setting-chipsele.patch | 20 + ...ame2-and-add-RENAME_WHITEOUT-support.patch | 62 + ...41-jffs2-add-RENAME_EXCHANGE-support.patch | 73 + ...ge_allow_receiption_on_disabled_port.patch | 47 + ...-generic-parsing-of-linux-part-probe.patch | 172 + ...nefficient-copy-of-unaligned-buffers.patch | 50 + ...et-phy-at803x-add-support-for-AT8032.patch | 73 + ...ng-comment-related-to-link-detection.patch | 43 + .../pending-4.14/201-extra_optimization.patch | 28 + .../203-kallsyms_uncompressed.patch | 119 + .../205-backtrace_module_info.patch | 45 + .../pending-4.14/220-optimize_inlining.patch | 165 + ...e-filenames-from-deps_initramfs-list.patch | 46 + ...able_wilink_platform_without_drivers.patch | 20 + .../270-platform-mikrotik-build-bits.patch | 31 + .../300-mips_expose_boot_raw.patch | 40 + .../302-mips_no_branch_likely.patch | 22 + .../pending-4.14/304-mips_disable_fpu.patch | 137 + .../pending-4.14/305-mips_module_reloc.patch | 371 + .../306-mips_mem_functions_performance.patch | 106 + .../307-mips_highmem_offset.patch | 19 + .../pending-4.14/308-mips32r2_tune.patch | 22 + ...CPU-option-reporting-to-proc-cpuinfo.patch | 140 + .../310-arm_module_unresolved_weak_sym.patch | 22 + ...t-command-line-parameters-from-users.patch | 272 + .../332-arc-add-OWRTDTB-section.patch | 84 + ...able-unaligned-access-in-kernel-mode.patch | 24 + ...IPS-mm-remove-mips_dma_mapping_error.patch | 32 + ...ove-no-op-dma_map_ops-where-possible.patch | 140 + ...ernel-XZ-compression-option-on-PPC_8.patch | 24 + .../400-mtd-add-rootfs-split-support.patch | 108 + ...for-different-partition-parser-types.patch | 142 + ...arsers-for-rootfs-and-firmware-split.patch | 44 + .../403-mtd-hook-mtdsplit-to-Kbuild.patch | 32 + .../404-mtd-add-more-helper-functions.patch | 76 + .../411-mtd-partial_eraseblock_write.patch | 154 + .../412-mtd-partial_eraseblock_unlock.patch | 40 + ...t-add-of_match_table-with-DT-binding.patch | 31 + .../pending-4.14/420-mtd-redboot_space.patch | 41 + ...30-mtd-add-myloader-partition-parser.patch | 47 + ...check-for-bad-blocks-when-calculatin.patch | 68 + ...bcm47xxpart-detect-T_Meter-partition.patch | 37 + .../pending-4.14/440-block2mtd_init.patch | 116 + .../pending-4.14/441-block2mtd_probe.patch | 47 + ...-fallback-from-spi_flash_read-to-reg.patch | 36 + ...w-NOR-driver-to-write-fewer-bytes-th.patch | 36 + ...mtd-cfi_cmdset_0002-no-erase_suspend.patch | 25 + ...et_0002-add-buffer-write-cmd-timeout.patch | 17 + ...25p80-mx-disable-software-protection.patch | 18 + ...or-fix-Spansion-regressions-aliased-.patch | 37 + ...ort-limiting-4K-sectors-support-base.patch | 56 + ...pi-nor-Add-Winbond-w25q128jv-support.patch | 34 + .../476-mtd-spi-nor-add-eon-en25q128.patch | 18 + .../477-mtd-add-spi-nor-add-mx25u3235f.patch | 18 + ...support-for-XM25QH64A-and-XM25QH128A.patch | 30 + .../479-mtd-spi-nor-add-eon-en25qh32.patch | 10 + .../479-mtd-spi-nor-add-eon-en25qh64.patch | 10 + .../480-mtd-set-rootfs-to-be-root-dev.patch | 38 + ...r-add-support-for-Gigadevice-GD25D05.patch | 24 + ...mtd-device-named-ubi-or-data-on-boot.patch | 97 + ...to-create-ubiblock-device-for-rootfs.patch | 66 + ...ting-ubi0-rootfs-in-init-do_mounts.c.patch | 51 + ...ROOT_DEV-to-ubiblock-rootfs-if-unset.patch | 34 + .../494-mtd-ubi-add-EOF-marker-support.patch | 60 + ...-mtd-core-add-get_mtd_device_by_node.patch | 75 + ...-add-bindings-for-mtd-concat-devices.patch | 52 + ...cat-add-dt-driver-for-concat-devices.patch | 216 + .../530-jffs2_make_lzma_available.patch | 5180 + .../pending-4.14/532-jffs2_eofdetect.patch | 65 + ...-to-create-UBI-FS-version-4-on-empty.patch | 63 + .../600-netfilter_conntrack_flush.patch | 95 + ...etfilter_match_bypass_default_checks.patch | 110 + ...netfilter_match_bypass_default_table.patch | 111 + ...netfilter_match_reduce_memory_access.patch | 22 + ...-netfilter_optional_tcp_window_check.patch | 44 + .../616-net_optimize_xfrm_calls.patch | 20 + ...del-do-not-defer-queue-length-update.patch | 86 + .../pending-4.14/630-packet_socket_type.patch | 138 + ...w_table-add-hardware-offload-support.patch | 565 + ...w_table-support-hw-offload-through-v.patch | 306 + ...-support-hardware-flow-table-offload.patch | 60 + ...-support-hardware-flow-table-offload.patch | 61 + ...-support-hardware-flow-table-offload.patch | 125 + ...w_table-rework-hardware-offload-time.patch | 37 + ...low_table-rework-private-driver-data.patch | 25 + .../pending-4.14/655-increase_skb_pad.patch | 20 + ...Add-support-for-MAP-E-FMRs-mesh-mode.patch | 500 + ...ng-with-source-address-failed-policy.patch | 255 + ...nes-for-_POLICY_FAILED-until-all-cod.patch | 50 + ...T-skip-GRO-for-foreign-MAC-addresses.patch | 152 + .../681-NET-add-of_get_mac_address_mtd.patch | 133 + ...detach-callback-to-struct-phy_driver.patch | 38 + ...-at803x-allow-to-configure-via-pdata.patch | 142 + ...net-phy-at803x-fix-at8033-sgmii-mode.patch | 51 + ...phy-at803x-allow-to-configure-via-dt.patch | 47 + .../810-pci_disable_common_quirks.patch | 60 + .../811-pci_disable_usb_common_quirks.patch | 115 + .../pending-4.14/834-ledtrig-libata.patch | 149 + .../pending-4.14/920-mangle_bootargs.patch | 71 + target/linux/imx6/Makefile | 25 + .../imx6/base-files/etc/board.d/02_network | 31 + target/linux/imx6/base-files/etc/inittab | 4 + target/linux/imx6/base-files/lib/imx6.sh | 114 + .../imx6/base-files/lib/preinit/01_sysinfo | 9 + .../base-files/lib/preinit/79_move_config | 21 + .../imx6/base-files/lib/upgrade/platform.sh | 87 + target/linux/imx6/config-4.14 | 525 + .../files/firmware/imx/sdma/sdma-imx6q.bin | Bin 0 -> 2746 bytes target/linux/imx6/image/Makefile | 226 + target/linux/imx6/image/bootscript-apalis | 20 + target/linux/imx6/image/bootscript-cubox | 31 + target/linux/imx6/image/bootscript-ventana | 79 + target/linux/imx6/image/recovery-apalis | 14 + .../imx6/patches-4.14/100-bootargs.patch | 11 + .../imx6/patches-4.14/200-disable-msi.patch | 18 + .../301-apalis-ixora-dts-leds.patch | 86 + .../302-apalis-ixora-dts-reset-button.patch | 76 + target/linux/imx6/profiles/100-default.mk | 17 + target/linux/ipq40xx/Makefile | 24 + .../ipq40xx/base-files/etc/board.d/01_leds | 68 + .../ipq40xx/base-files/etc/board.d/02_network | 101 + .../base-files/etc/board.d/03_gpio_switches | 17 + .../etc/hotplug.d/firmware/11-ath10k-caldata | 258 + .../ipq40xx/base-files/etc/init.d/bootcount | 18 + target/linux/ipq40xx/base-files/etc/inittab | 4 + .../lib/preinit/05_set_iface_mac_ipq40xx.sh | 28 + .../preinit/06_set_preinit_iface_ipq40xx.sh | 20 + .../ipq40xx/base-files/lib/upgrade/linksys.sh | 122 + .../base-files/lib/upgrade/openmesh.sh | 106 + .../base-files/lib/upgrade/platform.sh | 108 + target/linux/ipq40xx/config-4.14 | 485 + .../arch/arm/boot/dts/qcom-ipq4018-a42.dts | 215 + .../arm/boot/dts/qcom-ipq4018-ap120c-ac.dts | 344 + .../arm/boot/dts/qcom-ipq4018-ea6350v3.dts | 273 + .../arm/boot/dts/qcom-ipq4018-eap1300.dts | 231 + .../arm/boot/dts/qcom-ipq4018-ens620ext.dts | 261 + .../arm/boot/dts/qcom-ipq4018-ex6100v2.dts | 33 + .../arm/boot/dts/qcom-ipq4018-ex6150v2.dts | 33 + .../arm/boot/dts/qcom-ipq4018-ex61x0v2.dtsi | 307 + .../arm/boot/dts/qcom-ipq4018-fritz4040.dts | 289 + .../arm/boot/dts/qcom-ipq4018-jalapeno.dts | 266 + .../arm/boot/dts/qcom-ipq4018-nbg6617.dts | 335 + .../arm/boot/dts/qcom-ipq4018-rt-ac58u.dts | 320 + .../arm/boot/dts/qcom-ipq4018-wre6606.dts | 261 + .../arch/arm/boot/dts/qcom-ipq4019-a62.dts | 239 + .../boot/dts/qcom-ipq4019-ap.dk04.1-c1.dts | 21 + .../arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi | 177 + .../boot/dts/qcom-ipq4019-fritzbox-7530.dts | 299 + .../dts/qcom-ipq4019-fritzrepeater-1200.dts | 262 + .../dts/qcom-ipq4019-fritzrepeater-3000.dts | 260 + .../boot/dts/qcom-ipq4019-linksys_ea8300.dts | 399 + .../arm/boot/dts/qcom-ipq4019-map-ac2200.dts | 306 + .../dts/qcom-ipq4019-qxwlan-e2600ac-c1.dts | 80 + .../dts/qcom-ipq4019-qxwlan-e2600ac-c2.dts | 115 + .../boot/dts/qcom-ipq4019-qxwlan-e2600ac.dtsi | 262 + .../arch/arm/boot/dts/qcom-ipq4028-wpj428.dts | 268 + .../arm/boot/dts/qcom-ipq4029-gl-b1300.dts | 278 + .../arch/arm/boot/dts/qcom-ipq4029-mr33.dts | 394 + target/linux/ipq40xx/generic/target.mk | 1 + target/linux/ipq40xx/image/Makefile | 421 + ...ndard-large-page-OOB-layout-when-usi.patch | 47 + ...ual-return-values-for-the-erase-hook.patch | 48 + ...am-Process-multiple-pending-descript.patch | 409 + ...d-command-elements-in-BAM-transactio.patch | 89 + ...pport-for-command-descriptor-formati.patch | 201 + ...-several-helpers-to-do-common-NAND-o.patch | 1586 + ...rivers-to-explicitly-send-READ-PROG-.patch | 94 + .../070-qcom-spm-fix-probe-order.patch | 26 + ...use-v2-of-the-kpss-bringup-mechanism.patch | 109 + ...-cpu-operating-points-for-cpufreq-su.patch | 85 + ...074-ARM-qcom-Add-IPQ4019-SoC-support.patch | 36 + ...qcom-ipq4019-usb-add-binding-documen.patch | 38 + ...4019-usb-add-driver-for-QCOM-IPQ4019.patch | 233 + ...com-ipq4019-add-USB-devicetree-nodes.patch | 123 + ...s-ipq4019-Add-a-few-peripheral-nodes.patch | 278 + .../079-ARM-dts-ipq4019-fix-PCI-range.patch | 23 + ...msm-fix-gpio-hog-related-boot-issues.patch | 71 + .../081-clk-fix-apss-cpu-overclocking.patch | 115 + ...019-Add-TZ-and-SMEM-reserved-regions.patch | 88 + ...nd-add-Winbond-manufacturer-and-chip.patch | 38 + ...ts-ipq4019-Add-a-default-chosen-node.patch | 45 + ...5-mtd-nand-add-macronix-mx35lf1ge4ab.patch | 13 + ...-qcom-ipq4019-enlarge-PCIe-BAR-range.patch | 42 + ...RM-dts-qcom-ipq4019-Fix-MSI-IRQ-type.patch | 32 + ...rights-and-update-to-SPDX-identifier.patch | 36 + ...inor-code-reorganization-for-use_dma.patch | 76 + ...redundant-variables-for-BAM-SG-count.patch | 174 + ...-EOT-and-FLUSH-tags-at-the-end-of-tr.patch | 126 + ...transfer-length-for-BAM-RX-EOT-FLUSH.patch | 33 + ...rror-handling-for-i2c-error-in-BAM-m.patch | 90 + ...complete-transfer-length-to-choose-D.patch | 54 + ...ompletion-timeout-according-to-trans.patch | 61 + ...er-overflow-for-multiple-msg-of-maxi.patch | 311 + ...end-NACK-for-last-read-sub-transfers.patch | 43 + ...zation-of-driver-code-to-remove-poll.patch | 579 + ...zation-of-driver-code-to-remove-poll.patch | 1154 + ...add-CRYPTO_ALG_KERN_DRIVER_ONLY-flag.patch | 31 + ...or-enable-4B-opcodes-for-mx25l25635f.patch | 62 + .../700-net-add-qualcomm-mdio-and-phy.patch | 2690 + .../701-dts-ipq4019-add-mdio-node.patch | 52 + ...702-dts-ipq4019-add-PHY-switch-nodes.patch | 46 + ...4019-needs-rfs-vlan_tag-callbacks-in.patch | 53 + ...706-ar40xx-abort-probe-on-missig-phy.patch | 23 + ...add-qualcomm-essedma-ethernet-driver.patch | 4578 + ...ts-ipq4019-add-ethernet-essedma-node.patch | 92 + .../patches-4.14/712-mr33-essedma.patch | 340 + .../713-essedma-alloc-skb-ip-align.patch | 21 + ...ssedma-add-fix-for-memory-allocation.patch | 197 + ...le-TCP-segmentation-offload-for-IPv6.patch | 46 + .../850-soc-add-qualcomm-syscon.patch | 177 + .../900-dts-ipq4019-ap-dk01.1.patch | 157 + .../901-arm-boot-add-dts-files.patch | 44 + .../997-device_tree_cmdline.patch | 12 + target/linux/ipq40xx/profiles/00-default.mk | 9 + target/linux/ipq806x/Makefile | 27 + .../ipq806x/base-files/etc/board.d/01_leds | 58 + .../ipq806x/base-files/etc/board.d/02_network | 65 + .../etc/hotplug.d/firmware/11-ath10k-caldata | 151 + .../etc/hotplug.d/ieee80211/10_fix_wifi_mac | 31 + .../ipq806x/base-files/etc/init.d/bootcount | 13 + target/linux/ipq806x/base-files/etc/inittab | 4 + .../ipq806x/base-files/lib/upgrade/buffalo.sh | 45 + .../ipq806x/base-files/lib/upgrade/linksys.sh | 118 + .../base-files/lib/upgrade/platform.sh | 54 + .../ipq806x/base-files/lib/upgrade/zyxel.sh | 122 + target/linux/ipq806x/config-4.14 | 489 + .../arch/arm/boot/dts/qcom-ipq8064-ap148.dts | 248 + .../arch/arm/boot/dts/qcom-ipq8064-ap161.dts | 277 + .../arch/arm/boot/dts/qcom-ipq8064-c2600.dts | 493 + .../arch/arm/boot/dts/qcom-ipq8064-d7800.dts | 408 + .../arch/arm/boot/dts/qcom-ipq8064-db149.dts | 232 + .../arch/arm/boot/dts/qcom-ipq8064-ea8500.dts | 400 + .../arch/arm/boot/dts/qcom-ipq8064-r7500.dts | 382 + .../arm/boot/dts/qcom-ipq8064-r7500v2.dts | 407 + .../arch/arm/boot/dts/qcom-ipq8064-v2.0.dtsi | 30 + .../arm/boot/dts/qcom-ipq8064-vr2600v.dts | 417 + .../arm/boot/dts/qcom-ipq8064-wg2600hp.dts | 442 + .../arch/arm/boot/dts/qcom-ipq8064-wpq864.dts | 568 + .../arm/boot/dts/qcom-ipq8064-wxr-2533dhp.dts | 535 + .../arch/arm/boot/dts/qcom-ipq8064.dtsi | 1411 + .../arm/boot/dts/qcom-ipq8065-nbg6817.dts | 386 + .../arch/arm/boot/dts/qcom-ipq8065-r7800.dts | 512 + .../arch/arm/boot/dts/qcom-ipq8065.dtsi | 78 + target/linux/ipq806x/generic/target.mk | 1 + target/linux/ipq806x/image/Makefile | 292 + ...ings-qcom_adm-Fix-channel-specifiers.patch | 71 + .../0002-dmaengine-Add-ADM-driver.patch | 966 + ...0030-clk-Disable-i2c-device-on-gsbi4.patch | 40 + ...d-add-SMEM-parser-for-QCOM-platforms.patch | 282 + .../0032-phy-add-qcom-dwc3-phy.patch | 616 + ...ically-select-PCI_DOMAINS-if-PCI-is-.patch | 29 + ...Krait-L2-register-accessor-functions.patch | 147 + ...lit-out-register-accessors-for-reuse.patch | 195 + ...pport-for-High-Frequency-PLLs-HFPLLs.patch | 352 + .../0039-clk-qcom-Add-HFPLL-driver.patch | 206 + .../0040-clk-qcom-Add-IPQ806X-s-HFPLLs.patch | 129 + ...lk-qcom-Add-support-for-Krait-clocks.patch | 241 + ...042-clk-qcom-Add-KPSS-ACC-GCC-driver.patch | 209 + ...om-Add-Krait-clock-controller-driver.patch | 436 + .../0044-clk-Add-safe-switch-hook.patch | 160 + ...le-to-register-cpufreq-on-Krait-CPUs.patch | 307 + ...cpufreq-qcom-independent-core-clocks.patch | 66 + ...a-BBT-flag-to-access-bad-block-marke.patch | 72 + ...ow-to-set-regulator-without-opp_list.patch | 26 + ...rt-adjusting-OPP-voltages-at-runtime.patch | 147 + ...per-to-get-an-opp-regulator-for-devi.patch | 52 + ...e-voltage-tolerance-when-adjusting-t.patch | 38 + .../0053-regulator-add-smb208-support.patch | 55 + ...-dt-Handle-OPP-voltage-adjust-events.patch | 128 + ...-dt-Add-L2-frequency-scaling-support.patch | 91 + ...056-cpufreq-dt-Add-missing-rcu-locks.patch | 23 + ...le-Add-cpuidle-support-for-QCOM-cpus.patch | 29 + ...arch-arm-force-ZRELADDR-on-arch-qcom.patch | 62 + ...conflicts-with-OpenWrt-auto-mounting.patch | 23 + ...ed-the-enable-regs-and-mask-for-PRNG.patch | 25 + .../0063-1-ipq806x-tsens-driver.patch | 627 + ...sens-support-configurable-interrupts.patch | 453 + .../patches-4.14/0064-clk-clk-rpm-fixes.patch | 93 + .../0065-arm-override-compiler-flags.patch | 21 + ...Mangle-bootloader-s-kernel-arguments.patch | 189 + .../0069-arm-boot-add-dts-files.patch | 31 + .../0070-qcom-spm-fix-probe-order.patch | 16 + ...I-qcom-Fixed-IPQ806x-specific-clocks.patch | 95 + ...qcom-Fixed-IPQ806x-PCIE-init-changes.patch | 126 + ...rogramming-the-PCIE-iATU-for-IPQ806x.patch | 114 + .../0071-6-PCI-qcom-Force-GEN1-support.patch | 61 + ...7-pcie-Set-PCIE-MRRS-and-MPS-to-256B.patch | 69 + ...qcom-Fixed-pcie_phy_clk-branch-issue.patch | 91 + ...nge-duplicate-pci-reset-to-phy-reset.patch | 25 + .../0072-add-ipq806x-with-no-clocks.patch | 12 + ...e-scm_call-to-route-GPIO-irq-to-Apps.patch | 183 + ...ipq806x-usb-Control-USB-master-reset.patch | 71 + ...Fixed-missing-RGMII-pincontrol-defin.patch | 50 + .../105-mtd-nor-add-mx25l25635f.patch | 22 + .../310-msm-adhoc-bus-support.patch | 11026 + .../850-soc-add-qualcomm-syscon.patch | 177 + target/linux/ipq806x/profiles/00-default.mk | 10 + target/linux/kirkwood/Makefile | 24 + .../kirkwood/base-files/etc/board.d/01_leds | 56 + .../base-files/etc/board.d/02_network | 44 + target/linux/kirkwood/base-files/etc/diag.sh | 55 + .../kirkwood/base-files/etc/init.d/bootcount | 14 + .../base-files/etc/init.d/hwmon_fancontrol | 23 + .../base-files/lib/upgrade/linksys.sh | 93 + .../base-files/lib/upgrade/platform.sh | 22 + target/linux/kirkwood/config-4.14 | 347 + target/linux/kirkwood/image/Makefile | 158 + .../kirkwood/patches-4.14/100-ib62x0.patch | 30 + .../kirkwood/patches-4.14/101-iconnect.patch | 50 + .../kirkwood/patches-4.14/102-dockstar.patch | 32 + .../patches-4.14/103-iomega-ix2-200.patch | 33 + .../kirkwood/patches-4.14/104-ea3500.patch | 258 + .../kirkwood/patches-4.14/105-ea4500.patch | 121 + .../patches-4.14/105-goflexhome.patch | 130 + .../kirkwood/patches-4.14/106-goflexnet.patch | 23 + ...-zyxel-nsa3x0-common-nand-partitions.patch | 48 + .../patches-4.14/107-02-nsa310b.patch | 147 + .../kirkwood/patches-4.14/108-on100.patch | 173 + .../patches-4.14/109-pogoplug_v4.patch | 59 + .../patches-4.14/200-disable-tso.patch | 35 + ...able-sata-port-specific-led-triggers.patch | 10 + .../202-linksys-find-active-root.patch | 62 + target/linux/kirkwood/profiles/00-default.mk | 17 + target/linux/lantiq/Makefile | 23 + target/linux/lantiq/ase/config-4.14 | 26 + .../linux/lantiq/ase/profiles/00-default.mk | 9 + target/linux/lantiq/ase/target.mk | 20 + .../lantiq/base-files/etc/board.d/01_leds | 85 + .../lantiq/base-files/etc/board.d/02_network | 268 + .../base-files/etc/hotplug.d/dsl/led_dsl.sh | 32 + .../base-files/etc/hotplug.d/dsl/pppoa.sh | 37 + .../etc/hotplug.d/firmware/11-ath10k-caldata | 50 + .../etc/hotplug.d/firmware/12-ath9k-eeprom | 178 + target/linux/lantiq/base-files/etc/inittab | 3 + .../etc/uci-defaults/01_led_migration | 82 + .../etc/uci-defaults/02_migrate_xdsl_iface | 67 + .../lantiq/base-files/lib/functions/lantiq.sh | 5 + .../base-files/lib/functions/lantiq_dsl.sh | 755 + .../lib/preinit/05_set_preinit_iface_lantiq | 10 + .../lantiq/base-files/lib/upgrade/platform.sh | 27 + .../lantiq/base-files/sbin/dsl_notify.sh | 6 + target/linux/lantiq/config-4.14 | 227 + target/linux/lantiq/falcon/config-4.14 | 12 + .../lantiq/falcon/profiles/00-default.mk | 9 + target/linux/lantiq/falcon/target.mk | 13 + .../files-4.14/arch/mips/boot/dts/ACMP252.dts | 114 + .../arch/mips/boot/dts/ALL0333CJ.dts | 116 + .../arch/mips/boot/dts/ARV4510PW.dts | 230 + .../arch/mips/boot/dts/ARV4518PWR01.dts | 8 + .../arch/mips/boot/dts/ARV4518PWR01.dtsi | 206 + .../arch/mips/boot/dts/ARV4518PWR01A.dts | 12 + .../arch/mips/boot/dts/ARV4519PW.dts | 203 + .../arch/mips/boot/dts/ARV4520PW.dts | 228 + .../arch/mips/boot/dts/ARV4525PW.dts | 162 + .../arch/mips/boot/dts/ARV452CQW.dts | 246 + .../arch/mips/boot/dts/ARV7506PW11.dts | 164 + .../arch/mips/boot/dts/ARV7510PW22.dts | 209 + .../arch/mips/boot/dts/ARV7518PW.dts | 240 + .../arch/mips/boot/dts/ARV7519PW.dts | 229 + .../arch/mips/boot/dts/ARV7519RW22.dts | 254 + .../arch/mips/boot/dts/ARV7525PW.dts | 152 + .../arch/mips/boot/dts/ARV752DPW.dts | 246 + .../arch/mips/boot/dts/ARV752DPW22.dts | 268 + .../arch/mips/boot/dts/ARV8539PW22.dts | 192 + .../arch/mips/boot/dts/ASL56026.dts | 171 + .../arch/mips/boot/dts/BTHOMEHUBV2B.dts | 263 + .../arch/mips/boot/dts/BTHOMEHUBV3A.dts | 216 + .../arch/mips/boot/dts/BTHOMEHUBV5A.dts | 300 + .../arch/mips/boot/dts/DGN1000B.dts | 174 + .../files-4.14/arch/mips/boot/dts/DGN3500.dts | 8 + .../arch/mips/boot/dts/DGN3500.dtsi | 214 + .../arch/mips/boot/dts/DGN3500B.dts | 8 + .../files-4.14/arch/mips/boot/dts/DM200.dts | 217 + .../arch/mips/boot/dts/EASY50712.dts | 81 + .../arch/mips/boot/dts/EASY50810.dts | 87 + .../arch/mips/boot/dts/EASY80920.dtsi | 313 + .../arch/mips/boot/dts/EASY80920NAND.dts | 65 + .../arch/mips/boot/dts/EASY80920NOR.dts | 39 + .../arch/mips/boot/dts/EASY88388.dts | 93 + .../arch/mips/boot/dts/EASY88444.dts | 72 + .../arch/mips/boot/dts/EASY98000-base.dtsi | 110 + .../arch/mips/boot/dts/EASY98000NAND.dts | 40 + .../arch/mips/boot/dts/EASY98000NOR.dts | 38 + .../arch/mips/boot/dts/EASY98000SFLASH.dts | 16 + .../arch/mips/boot/dts/EASY98020.dts | 91 + .../arch/mips/boot/dts/EASY98020V18.dts | 68 + .../arch/mips/boot/dts/EASY98021.dts | 81 + .../arch/mips/boot/dts/EASY98035SYNCE.dts | 76 + .../arch/mips/boot/dts/EASY98035SYNCE1588.dts | 76 + .../arch/mips/boot/dts/FALCON-MDU.dts | 53 + .../arch/mips/boot/dts/FALCON-SFP.dts | 76 + .../mips/boot/dts/FRITZ3370-REV2-HYNIX.dts | 38 + .../mips/boot/dts/FRITZ3370-REV2-MICRON.dts | 36 + .../arch/mips/boot/dts/FRITZ3370-REV2.dtsi | 306 + .../arch/mips/boot/dts/FRITZ7312.dts | 181 + .../arch/mips/boot/dts/FRITZ7320.dts | 217 + .../arch/mips/boot/dts/FRITZ7360SL.dts | 82 + .../arch/mips/boot/dts/FRITZ7362SL.dts | 135 + .../arch/mips/boot/dts/FRITZ736X.dtsi | 206 + .../arch/mips/boot/dts/FRITZ7412.dts | 231 + .../arch/mips/boot/dts/GIGASX76X.dts | 130 + .../files-4.14/arch/mips/boot/dts/H201L.dts | 175 + .../arch/mips/boot/dts/P2601HNFX.dts | 196 + .../arch/mips/boot/dts/P2812HNUF1.dts | 70 + .../arch/mips/boot/dts/P2812HNUF3.dts | 64 + .../arch/mips/boot/dts/P2812HNUFX.dtsi | 298 + .../files-4.14/arch/mips/boot/dts/TDW8970.dts | 8 + .../files-4.14/arch/mips/boot/dts/TDW8980.dts | 33 + .../arch/mips/boot/dts/TDW89X0.dtsi | 299 + .../files-4.14/arch/mips/boot/dts/VG3503J.dts | 165 + .../arch/mips/boot/dts/VGV7510KW22.dtsi | 269 + .../arch/mips/boot/dts/VGV7510KW22BRN.dts | 65 + .../arch/mips/boot/dts/VGV7510KW22NOR.dts | 31 + .../arch/mips/boot/dts/VGV7519.dtsi | 314 + .../arch/mips/boot/dts/VGV7519BRN.dts | 70 + .../arch/mips/boot/dts/VGV7519NOR.dts | 29 + .../files-4.14/arch/mips/boot/dts/VR200.dts | 94 + .../files-4.14/arch/mips/boot/dts/VR200.dtsi | 219 + .../files-4.14/arch/mips/boot/dts/VR200v.dts | 101 + .../files-4.14/arch/mips/boot/dts/WBMR.dts | 200 + .../files-4.14/arch/mips/boot/dts/WBMR300.dts | 330 + .../arch/mips/boot/dts/amazonse.dtsi | 204 + .../files-4.14/arch/mips/boot/dts/ar9.dtsi | 268 + .../files-4.14/arch/mips/boot/dts/danube.dtsi | 252 + .../arch/mips/boot/dts/falcon-sflash-16M.dtsi | 37 + .../files-4.14/arch/mips/boot/dts/falcon.dtsi | 392 + .../files-4.14/arch/mips/boot/dts/vr9.dtsi | 341 + .../firmware/lantiq/xrx200_phy11g_a14.bin | Bin 0 -> 65536 bytes .../firmware/lantiq/xrx200_phy11g_a22.bin | Bin 0 -> 65536 bytes .../firmware/lantiq/xrx200_phy22f_a14.bin | Bin 0 -> 65536 bytes .../firmware/lantiq/xrx200_phy22f_a22.bin | Bin 0 -> 65536 bytes target/linux/lantiq/image/Makefile | 848 + target/linux/lantiq/image/eva.dummy.squashfs | Bin 0 -> 256 bytes target/linux/lantiq/image/tp-link.mk | 64 + target/linux/lantiq/image/ubinize-overlay.cfg | 23 + target/linux/lantiq/image/ubinize.cfg | 14 + target/linux/lantiq/modules.mk | 22 + .../0001-MIPS-lantiq-add-pcie-driver.patch | 5520 + ...gpio-stp-xway-Implement-get-callback.patch | 47 + .../0004-MIPS-lantiq-add-atm-hack.patch | 480 + ...-MIPS-lantiq-backport-old-timer-code.patch | 1034 + .../0018-MTD-nand-lots-of-xrx200-fixes.patch | 122 + ...antiq-handle-NO_XIP-on-cfi0001-flash.patch | 25 + ...25p80-allow-loading-mtd-name-from-OF.patch | 44 + ...T-PHY-add-led-support-for-intel-xway.patch | 294 + ...antiq-autoselect-soc-rev-matching-fw.patch | 45 + ...0025-NET-MIPS-lantiq-adds-xrx200-net.patch | 3430 + ...hy-intel-xway-add-VR9-version-number.patch | 62 + ...-phy-intel-xway-add-VR9-v1.1-phy-ids.patch | 69 + .../0028-NET-lantiq-various-etop-fixes.patch | 868 + .../0030-GPIO-add-named-gpio-exports.patch | 169 + ...PS-lantiq-add-FALC-ON-i2c-bus-master.patch | 1034 + ...iq-wifi-and-ethernet-eeprom-handling.patch | 218 + ...42-arch-mips-increase-io_space_limit.patch | 23 + ...e-lantiq-settings-match-vendor-drive.patch | 78 + ...PS-lantiq-improve-USB-initialization.patch | 49 + .../patches-4.14/0101-find_active_root.patch | 93 + .../0151-lantiq-ifxmips_pcie-use-of.patch | 166 + .../lantiq/patches-4.14/0152-lantiq-VPE.patch | 180 + .../0154-lantiq-pci-bar11mask-fix.patch | 22 + .../patches-4.14/0155-lantiq-VPE-nosmp.patch | 14 + .../0160-owrt-lantiq-multiple-flash.patch | 220 + ...-cmdset-0001-disable-buffered-writes.patch | 11 + ...add-gphy-clk-src-device-tree-binding.patch | 30 + .../0701-NET-lantiq-etop-of-mido.patch | 37 + target/linux/lantiq/xrx200/config-4.14 | 97 + .../lantiq/xrx200/profiles/00-default.mk | 9 + target/linux/lantiq/xrx200/target.mk | 23 + target/linux/lantiq/xway/config-4.14 | 51 + .../linux/lantiq/xway/profiles/00-default.mk | 9 + target/linux/lantiq/xway/target.mk | 11 + target/linux/lantiq/xway_legacy/config-4.14 | 39 + .../lantiq/xway_legacy/profiles/00-default.mk | 9 + target/linux/lantiq/xway_legacy/target.mk | 11 + target/linux/layerscape/Makefile | 24 + target/linux/layerscape/README | 163 + target/linux/layerscape/armv7/config-4.14 | 779 + target/linux/layerscape/armv7/target.mk | 16 + target/linux/layerscape/armv8_64b/config-4.14 | 981 + target/linux/layerscape/armv8_64b/target.mk | 14 + .../layerscape/base-files/etc/board.d/01_led | 25 + .../base-files/etc/board.d/02_network | 21 + .../base-files/etc/board.d/03_gpio_switches | 28 + .../lib/preinit/05_layerscape_reorder_eth | 28 + .../base-files/lib/upgrade/platform.sh | 59 + .../boot/dts/freescale/traverse-ls1043s.dts | 332 + .../boot/dts/freescale/traverse-ls1043v.dts | 253 + target/linux/layerscape/image/Makefile | 54 + target/linux/layerscape/image/armv7.mk | 63 + target/linux/layerscape/image/armv8_64b.mk | 251 + .../layerscape/image/gen_sdcard_head_img.sh | 22 + .../layerscape/image/mkits-multiple-config.sh | 596 + target/linux/layerscape/modules.mk | 22 + .../201-config-support-layerscape.patch | 340 + .../202-core-linux-support-layerscape.patch | 1056 + .../301-arch-support-layerscape.patch | 467 + .../302-dts-support-layerscape.patch | 10900 + .../701-dpaa2-dpio-support-layerscape.patch | 2992 + ...02-dpaa2-ethernet-support-layerscape.patch | 9130 + ...03-dpaa2-l2switch-support-layerscape.patch | 4040 + ...704-dpaa2-mac-phy-support-layerscape.patch | 2164 + .../705-dpaa2-rtc-support-layerscape.patch | 1386 + ...aa2-virtualbridge-support-layerscape.patch | 3256 + ...707-dpaa-ethernet-support-layerscape.patch | 156556 +++++++++++++++ .../708-mc-bus-support-layerscape.patch | 12084 ++ .../709-mdio-phy-support-layerscape.patch | 3729 + .../710-pfe-eth-support-layerscape.patch | 11028 + .../711-dpaa-bqman-support-layerscape.patch | 923 + .../712-etsec-support-layerscape.patch | 77 + ...-Fix-error-in-IP-revision-comparison.patch | 28 + .../801-sata-support-layerscape.patch | 289 + .../802-dma-support-layerscape.patch | 4263 + .../803-flextimer-support-layerscape.patch | 457 + .../804-i2c-support-layerscape.patch | 460 + .../805-qe-support-layerscape.patch | 1961 + .../806-rtc-support-layerscape.patch | 776 + .../807-usb-support-layerscape.patch | 1588 + .../808-vfio-support-layerscape.patch | 1093 + .../809-flexcan-support-layerscape.patch | 596 + .../810-kvm-support-layerscape.patch | 208 + .../811-clock-support-layerscape.patch | 95 + .../812-flexspi-support-layerscape.patch | 1576 + .../813-ifc-nor-nand-support-layerscape.patch | 356 + .../814-ls2-console-support-layerscape.patch | 316 + .../815-msi-support-layerscape.patch | 33 + .../816-pcie-support-layerscape.patch | 5965 + ...platform-security-support-layerscape.patch | 1443 + .../818-qspi-support-layerscape.patch | 732 + .../819-sdhc-support-layerscape.patch | 572 + .../820-sec-support-layerscape.patch | 15294 ++ .../821-smmu-support-layerscape.patch | 506 + .../822-uart-support-layerscape.patch | 52 + .../823-pm-support-layerscape.patch | 631 + .../824-ptp-support-layerscape.patch | 1399 + .../825-tmu-support-layerscape.patch | 188 + target/linux/malta/Makefile | 23 + target/linux/malta/README | 19 + .../malta/base-files/etc/board.d/00_model | 13 + .../malta/base-files/etc/board.d/02_network | 14 + target/linux/malta/base-files/etc/inittab | 7 + target/linux/malta/be/config-default | 3 + target/linux/malta/be/target.mk | 8 + target/linux/malta/be64/config-default | 29 + target/linux/malta/be64/target.mk | 10 + target/linux/malta/config-4.14 | 326 + target/linux/malta/image/Makefile | 51 + target/linux/malta/le/config-default | 3 + target/linux/malta/le/target.mk | 9 + target/linux/malta/le64/config-default | 29 + target/linux/malta/le64/target.mk | 10 + target/linux/mediatek/Makefile | 19 + .../base-files/etc/board.d/02_network | 41 + target/linux/mediatek/base-files/etc/inittab | 3 + .../base-files/etc/uci-defaults/99-net-ps | 19 + .../lib/preinit/05_set_preinit_iface | 9 + .../lib/preinit/06_set_rps_sock_flow | 8 + .../base-files/lib/preinit/07_set_iface_mac | 47 + .../base-files/lib/preinit/79_move_config | 21 + .../base-files/lib/upgrade/platform.sh | 68 + target/linux/mediatek/image/Makefile | 62 + .../mediatek/image/gen_mt7623_emmc_img.sh | 30 + target/linux/mediatek/image/mt7622.mk | 9 + target/linux/mediatek/image/mt7623.mk | 17 + target/linux/mediatek/modules.mk | 51 + target/linux/mediatek/mt7622/config-4.14 | 446 + .../linux/mediatek/mt7622/profiles/default.mk | 15 + target/linux/mediatek/mt7622/target.mk | 10 + target/linux/mediatek/mt7623/config-4.14 | 503 + .../linux/mediatek/mt7623/profiles/default.mk | 15 + target/linux/mediatek/mt7623/target.mk | 16 + ...6-reset-mediatek-mt2701-reset-driver.patch | 27 + .../0012-clk-dont-disable-unused-clocks.patch | 21 + ...27-net-next-mediatek-fix-DQL-support.patch | 92 + ...-add-support-for-GMAC2-wired-to-ext-.patch | 26 + .../patches-4.14/0033-dsa-multi-cpu.patch | 268 + ...-mediatek-disable-RX-VLan-offloading.patch | 47 + ...k-honour-special-tag-bit-inside-RX-D.patch | 50 + ...k-enable-special-tag-indication-for-.patch | 41 + ...iatek-tell-GDMA-when-we-are-turning-.patch | 43 + ...a-mediatek-turn-into-platform-driver.patch | 79 + .../0046-net-mediatek-add-irq-delay.patch | 21 + ...051-net-mediatek-increase-tx_timeout.patch | 21 + .../patches-4.14/0052-net-phy-add-FC.patch | 21 + .../patches-4.14/0062-mdio-atomic.patch | 14 + .../patches-4.14/0063-atomic-sleep.patch | 46 + .../mediatek/patches-4.14/0064-dts.patch | 589 + ...dd-reset-controller-dt-bindings-requ.patch | 114 + ...rap-fixup-warnings-from-coding-style.patch | 71 + ...support-option-to-disable-usb3-ports.patch | 108 + ...-remove-dummy-wakeup-debounce-clocks.patch | 119 + ...-add-optional-mcu-and-dma-bus-clocks.patch | 227 + ...-usb-mtu3-support-36-bit-DMA-address.patch | 362 + ...CE-RG_IDDIG-to-implement-manual-DRD-.patch | 274 + ...9-usb-mtu3-add-support-for-usb3.1-IP.patch | 152 + ...get-optional-vbus-for-host-only-mode.patch | 40 + ...et-invalid-dr_mode-as-dual-role-mode.patch | 29 + ..._sel-for-u2port-only-if-works-as-dua.patch | 44 + ...mtu3-add-a-optional-property-to-disa.patch | 25 + ...mtu3-remove-dummy-clocks-and-add-opt.patch | 41 + ...gs-usb-mtu3-remove-optional-pinctrls.patch | 30 + ...mediatek-add-MT7622-string-to-the-PM.patch | 38 + ...ap-add-pwrap_read32-for-reading-in-3.patch | 134 + ...ap-add-pwrap_write32-for-writing-in-.patch | 132 + ...ap-refactor-pwrap_init-for-the-vario.patch | 227 + ...ap-add-MediaTek-MT6380-as-one-slave-.patch | 98 + ...ap-add-common-way-for-setup-CS-timin.patch | 121 + ...tek-pwrap-add-support-for-MT7622-SoC.patch | 237 + ...ce-Kconfig-for-all-SoC-drivers-under.patch | 57 + ...leanup-message-for-platform-selectio.patch | 34 + ...y-phy-mtk-tphy-add-set_mode-callback.patch | 86 + ...-dma_set_mask_and_coherent-in-probe-.patch | 35 + ...-ports-count-from-xhci-in-xhci_mtk_s.patch | 53 + ...-mtk-check-clock-stability-of-U3_MAC.patch | 36 + ...support-option-to-disable-usb3-ports.patch | 85 + ...-remove-dummy-wakeup-debounce-clocks.patch | 86 + ...-add-optional-mcu-and-dma-bus-clocks.patch | 139 + ...dify-description-for-MTK-xHCI-config.patch | 32 + ...mtk-xhci-add-a-optional-property-to-.patch | 25 + ...mtk-xhci-remove-dummy-clocks-and-add.patch | 58 + ...add-new-compatible-strings-and-impro.patch | 42 + ...d-mtk-nor-add-suspend-resume-support.patch | 128 + ...mediatek-add-bindings-for-MediaTek-S.patch | 41 + ...tek-add-driver-for-RTC-on-MT7622-SoC.patch | 471 + ...ance-the-description-for-MediaTek-PM.patch | 39 + ...nge-the-compile-sequence-of-mtk_nand.patch | 31 + ...Add-reg-source_cg-latch-ck-for-Media.patch | 60 + ...ediatek-add-support-of-mt2701-mt2712.patch | 187 + ...Mediatek-Document-bindings-for-MT271.patch | 196 + ...ek-Add-dt-bindings-for-MT2712-clocks.patch | 446 + ...lk-mediatek-Add-MT2712-clock-support.patch | 2296 + ...k-mediatek-document-clk-bindings-for.patch | 190 + ...-clocks-dt-bindings-required-header-.patch | 310 + ...tek-add-clock-support-for-MT7622-SoC.patch | 1388 + ...-remove-mediatek-mt8135-mmc-from-mmc.patch | 61 + ...e-hs400_tune_response-only-for-mt817.patch | 70 + ...3-mmc-mediatek-add-pad_tune0-support.patch | 256 + ...add-async-fifo-and-data-tune-support.patch | 170 + ...-mmc-mediatek-add-busy_check-support.patch | 67 + ...-stop_clk-fix-and-enhance_rx-support.patch | 168 + ...iatek-add-support-of-source_cg-clock.patch | 85 + ...58-mmc-mediatek-add-latch-ck-support.patch | 45 + ...rove-eMMC-hs400-mode-read-performanc.patch | 68 + ...fer-to-use-rise-edge-latching-for-cm.patch | 28 + ...m-mediatek-Add-MT2712-MT7622-support.patch | 145 + ...-nand_reset-to-reset-NAND-devices-in.patch | 41 + ...atek-add-mt2712-into-compatible-list.patch | 24 + ...0165-mtd-nand-mtk-update-DT-bindings.patch | 41 + ...port-different-MTK-NAND-flash-contro.patch | 380 + ...Support-MT7622-NAND-flash-controller.patch | 109 + ...ndings-add-mmc-support-to-MT7623-SoC.patch | 26 + ...trl-add-bindings-for-MediaTek-MT7622.patch | 371 + ...-cleanup-for-placing-all-drivers-und.patch | 32 + ...ek-add-pinctrl-driver-for-MT7622-SoC.patch | 1675 + ...-group-drivers-under-indpendent-menu.patch | 223 + ...up-test-building-of-MediaTek-clock-d.patch | 27 + ...mediatek-add-condition-to-property-m.patch | 27 + ...ove-superfluous-pin-setup-for-MT7622.patch | 102 + ...-all-warnings-for-missing-struct-clk.patch | 68 + ...-make-shared-banks-optional-for-V1-T.patch | 30 + ...tk-tphy-use-of_device_get_match_data.patch | 51 + ...x-error-handling-in-mt2701_afe_pcm_d.patch | 81 + ...ek-rework-clock-functions-for-MT2701.patch | 919 + ...atek-cleanup-audio-driver-for-MT2701.patch | 428 + ...date-clock-related-properties-of-MT2.patch | 258 + ...-add-some-core-clocks-for-MT2701-AFE.patch | 93 + ...dify-MT2701-AFE-driver-to-adapt-mfd-.patch | 128 + ...date-MT2701-AFE-documentation-to-ada.patch | 214 + ...error-code-for-getting-extcon-device.patch | 26 + ...s-remote-wakeup-for-mt2712-with-two-.patch | 233 + ...sb-mtu3-update-USB-wakeup-properties.patch | 47 + ...ports-remote-wakeup-for-mt2712-with-.patch | 265 + ...low-imod-interval-to-be-configurable.patch | 138 + ...mtk-xhci-update-USB-wakeup-propertie.patch | 49 + ...ust-dependency-of-reset.c-to-avoid-u.patch | 71 + ...-mt7622-fix-potential-uninitialized-.patch | 49 + ...-mt7622-align-error-handling-of-mtk_.patch | 50 + ...modify-functions-name-more-generally.patch | 554 + ...g-mediatek-Setup-default-RNG-quality.patch | 25 + ...s-thermal-add-binding-for-MT7622-SoC.patch | 26 + ...9-thermal-mtk-Cleanup-unused-defines.patch | 51 + ...-mediatek-add-support-for-MT7622-SoC.patch | 81 + ...k-mediatek-add-missing-required-rese.patch | 64 + ...-bindings-add-support-for-MT7622-SoC.patch | 22 + ...-mediatek-add-support-for-MT7622-SoC.patch | 42 + ...ngine-Add-MediaTek-High-Speed-DMA-co.patch | 51 + ...ek-Add-MediaTek-High-Speed-DMA-contr.patch | 1128 + ...k-mediatek-update-audsys-documentati.patch | 45 + ...k-mediatek-add-audsys-support-for-MT.patch | 23 + ...ate-missing-clock-data-for-MT7622-au.patch | 38 + ...-devm_of_platform_populate-for-MT762.patch | 42 + ...22-add-clock-controller-device-nodes.patch | 130 + ...-add-power-domain-controller-device-.patch | 45 + ...622-add-pinctrl-related-device-nodes.patch | 252 + ...mt7622-add-PMIC-MT6380-related-nodes.patch | 155 + ...622-add-cpufreq-related-device-nodes.patch | 112 + ...mt7622-turn-uart0-clock-to-real-ones.patch | 45 + ...-add-SoC-and-peripheral-related-devi.patch | 420 + ...t7622-add-flash-related-device-nodes.patch | 96 + ...dts-mt7622-add-ethernet-device-nodes.patch | 84 + ...m64-dts-mt7622-add-PCIe-device-nodes.patch | 116 + ...m64-dts-mt7622-add-SATA-device-nodes.patch | 87 + ...rm64-dts-mt7622-add-usb-device-nodes.patch | 119 + ...7622-add-High-Speed-DMA-device-nodes.patch | 31 + ...-mt7622-add-mmc-related-device-nodes.patch | 200 + ...config-for-testing-these-new-drivers.patch | 288 + ...rm-dts-Add-missing-mt7623-pcie-nodes.patch | 123 + ...-phy-phy-mtk-tphy-Add-hifsys-support.patch | 66 + .../0227-arm-dts-Add-Unielec-U7623-DTS.patch | 413 + target/linux/mpc85xx/Makefile | 27 + .../mpc85xx/base-files/etc/board.d/02_network | 33 + .../etc/hotplug.d/firmware/10-ath9k-eeprom | 66 + .../etc/hotplug.d/ieee80211/05-wifi-migrate | 63 + .../etc/hotplug.d/ieee80211/10-fix-wifi-mac | 28 + .../lib/preinit/05_set_preinit_iface_mpc85xx | 10 + .../base-files/lib/upgrade/platform.sh | 24 + target/linux/mpc85xx/config-4.14 | 364 + .../arch/powerpc/boot/dts/hiveap-330.dts | 235 + .../files/arch/powerpc/boot/dts/panda.dts | 264 + .../arch/powerpc/boot/dts/red-15w-rev1.dts | 214 + .../arch/powerpc/boot/dts/tl-wdr4900-v1.dts | 291 + .../arch/powerpc/boot/dts/ws-ap3710i.dts | 172 + .../arch/powerpc/platforms/85xx/hiveap-330.c | 89 + .../files/arch/powerpc/platforms/85xx/panda.c | 91 + .../arch/powerpc/platforms/85xx/red15w_rev1.c | 87 + .../powerpc/platforms/85xx/tl_wdr4900_v1.c | 144 + .../arch/powerpc/platforms/85xx/ws-ap3710i.c | 91 + target/linux/mpc85xx/generic/config-default | 19 + .../mpc85xx/generic/profiles/00-default.mk | 15 + target/linux/mpc85xx/generic/target.mk | 8 + target/linux/mpc85xx/image/Makefile | 146 + target/linux/mpc85xx/p1020/config-default | 57 + .../mpc85xx/p1020/profiles/00-default.mk | 15 + target/linux/mpc85xx/p1020/target.mk | 6 + target/linux/mpc85xx/p2020/config-default | 31 + .../mpc85xx/p2020/profiles/00-default.mk | 15 + target/linux/mpc85xx/p2020/target.mk | 5 + ...85xx-add-gpio-keys-to-of-match-table.patch | 10 + ...0-powerpc-85xx-tl-wdr4900-v1-support.patch | 82 + .../101-powerpc-85xx-hiveap-330-support.patch | 30 + .../102-powerpc-add-cmdline-override.patch | 37 + .../103-powerpc-fix-build-cross32ar.patch | 10 + ...change-P2020RDB-dts-file-for-OpenWRT.patch | 170 + .../105-powerpc-85xx-red-15w-rev1.patch | 29 + .../106-powerpc-85xx-panda-support.patch | 30 + .../107-powerpc-85xx-ws-ap3710i-support.patch | 30 + target/linux/mvebu/Makefile | 21 + .../mvebu/base-files/etc/board.d/01_leds | 55 + .../mvebu/base-files/etc/board.d/02_network | 71 + target/linux/mvebu/base-files/etc/diag.sh | 48 + .../ieee80211/00-wifi-config-migrate | 41 + .../mvebu/base-files/etc/init.d/bootcount | 18 + .../base-files/etc/uci-defaults/03_wireless | 56 + .../base-files/etc/uci-defaults/04_mambafan | 23 + .../uci-defaults/35_turris-omnia_uboot-env | 44 + .../base-files/lib/preinit/06_set_iface_mac | 46 + .../base-files/lib/preinit/79_move_config | 26 + .../base-files/lib/preinit/81_linksys_syscfg | 37 + .../mvebu/base-files/lib/upgrade/linksys.sh | 98 + .../mvebu/base-files/lib/upgrade/platform.sh | 46 + .../mvebu/base-files/lib/upgrade/sdcard.sh | 104 + .../linux/mvebu/base-files/sbin/fan_ctrl.sh | 28 + target/linux/mvebu/config-4.14 | 498 + target/linux/mvebu/cortexa53/config-default | 113 + target/linux/mvebu/cortexa53/target.mk | 16 + target/linux/mvebu/cortexa72/config-default | 121 + target/linux/mvebu/cortexa72/target.mk | 16 + target/linux/mvebu/cortexa9/target.mk | 14 + .../arm/boot/dts/armada-385-linksys-venom.dts | 207 + .../marvell/armada-3720-espressobin-emmc.dts | 28 + .../armada-3720-espressobin-v7-emmc.dts | 43 + .../marvell/armada-3720-espressobin-v7.dts | 31 + target/linux/mvebu/image/Makefile | 116 + target/linux/mvebu/image/clearfog.bootscript | 23 + target/linux/mvebu/image/cortex-a53.mk | 42 + target/linux/mvebu/image/cortex-a72.mk | 28 + target/linux/mvebu/image/cortex-a9.mk | 187 + .../linux/mvebu/image/espressobin.bootscript | 34 + .../linux/mvebu/image/gen_mvebu_sdcard_img.sh | 84 + .../mvebu/image/generic-arm64.bootscript | 16 + .../linux/mvebu/image/turris-omnia.bootscript | 17 + .../patches-4.14/002-add_powertables.patch | 770 + .../patches-4.14/003-add_switch_nodes.patch | 40 + .../004-add_sata_disk_activity_trigger.patch | 39 + ...5-linksys_hardcode_nand_ecc_settings.patch | 17 + ...Mangle-bootloader-s-kernel-arguments.patch | 201 + .../patches-4.14/100-find_active_root.patch | 60 + .../patches-4.14/102-revert_i2c_delay.patch | 15 + .../103-remove-nand-driver-bug.patch | 13 + ...04-linksys_mamba_disable_keep_config.patch | 10 + .../110-pxa3xxx_revert_irq_thread.patch | 69 + .../205-armada-385-rd-mtd-partitions.patch | 19 + .../206-ARM-mvebu-385-ap-Add-partitions.patch | 35 + .../210-clearfog_switch_node.patch | 21 + .../220-disable-untested-dsa-boards.patch | 30 + ...-armada-xp-linksys-mamba-broken-idle.patch | 10 + .../300-mvneta-tx-queue-workaround.patch | 35 + ...dicate-failure-to-enter-deeper-sleep.patch | 40 + ...-pci-mvebu-time-out-reset-on-link-up.patch | 60 + ...2-sfp-display-SFP-module-information.patch | 290 + .../403-net-mvneta-convert-to-phylink.patch | 979 + ...04-net-mvneta-hack-fix-phy_interface.patch | 28 + ...le-MVNETA_CAUSE_PSC_SYNC_CHANGE-inte.patch | 56 + ...ta-add-module-EEPROM-reading-support.patch | 44 + ...ed-phy-remove-fixed_phy_update_state.patch | 80 + ...eeprom-ethtool-access-into-netdev-co.patch | 181 + ...fp-use-netdev-sfp_bus-for-start-stop.patch | 34 + ...w-marvell-10G-phy-support-to-use-SFP.patch | 132 + .../411-sfp-add-sfp-compatible.patch | 24 + ...da388-clearfog-emmc-on-clearfog-base.patch | 87 + ...8-clearfog-increase-speed-of-i2c0-to.patch | 42 + ...a388-clearfog-add-SFP-module-support.patch | 81 + ...rmada388-clearfog-document-MPP-usage.patch | 124 + ...38x-add-support-for-trimming-the-RTC.patch | 143 + ...armada38x-reset-after-rtc-power-loss.patch | 73 + ...ada-385-linksys-Disable-internal-RTC.patch | 28 + .../patches-4.14/450-reprobe_sfp_phy.patch | 94 + ...-SPI-mode-before-asserting-chip-sele.patch | 70 + ...s-marvell-armada-37xx-add-UART-clock.patch | 27 + ...-armada-37xx-periph-cosmetic-changes.patch | 78 + ...-37xx-periph-prepare-cpu-clk-to-be-u.patch | 178 + ...-37xx-periph-add-DVFS-support-for-cp.patch | 315 + ...req-Add-DVFS-support-for-Armada-37xx.patch | 297 + ...l-armada-37xx-add-nodes-allowing-cpu.patch | 48 + ...a-3720-espressobin-wire-up-spi-flash.patch | 56 + ...9-cpufreq-armada-37xx-Fix-clock-leak.patch | 35 + ...-37xx-periph-Fix-switching-CPU-rate-.patch | 92 + ...-37xx-periph-Fix-wrong-return-value-.patch | 33 + ...-37xx-periph-Remove-unused-var-num_p.patch | 33 + ...l-armada37xx-Add-emmc-sdio-pinctrl-d.patch | 40 + ...l-armada-37xx-Enable-emmc-on-espress.patch | 49 + ...ts-marvell-armada37xx-Add-eth0-alias.patch | 20 + ...da-3720-espressobin-correct-spi-node.patch | 58 + ...l-armada-3720-espressobin-add-ports-.patch | 26 + ...-device-to-the-same-MAX-payload-size.patch | 138 + ...ark-allow-to-specify-link-capability.patch | 43 + ...-3720-espressobin-set-max-link-to-ge.patch | 73 + ...-armada388-clearfog-enable-spi-flash.patch | 50 + target/linux/mxs/Makefile | 25 + .../mxs/base-files/etc/board.d/02_network | 18 + target/linux/mxs/base-files/etc/diag.sh | 38 + target/linux/mxs/base-files/etc/inittab | 3 + target/linux/mxs/config-4.14 | 311 + target/linux/mxs/image/Config.in | 8 + target/linux/mxs/image/Makefile | 79 + .../linux/mxs/image/gen_sdcard_ext4_ext4.sh | 33 + .../linux/mxs/image/gen_sdcard_vfat_ext4.sh | 37 + ...0-crypto-mxsdcp-provide-importexport.patch | 51 + target/linux/mxs/profiles/01-duckbill.mk | 20 + .../linux/mxs/profiles/02-olinuxino-maxi.mk | 19 + .../linux/mxs/profiles/03-olinuxino-micro.mk | 18 + target/linux/octeon/Makefile | 26 + .../octeon/base-files/etc/board.d/01_network | 22 + .../octeon/base-files/lib/preinit/01_sysinfo | 31 + .../base-files/lib/preinit/79_move_config | 17 + .../octeon/base-files/lib/upgrade/platform.sh | 100 + target/linux/octeon/config-4.14 | 304 + target/linux/octeon/image/Makefile | 45 + .../100-ubnt_edgerouter2_support.patch | 31 + .../110-er200-ethernet_probe_order.patch | 34 + .../patches-4.14/160-cmdline-hack.patch | 47 + .../octeon/patches-4.14/170-cisco-hack.patch | 31 + target/linux/octeon/profiles/000-Generic.mk | 17 + target/linux/octeontx/Makefile | 26 + .../base-files/etc/board.d/02_network | 17 + target/linux/octeontx/base-files/etc/inittab | 5 + target/linux/octeontx/config-4.14 | 533 + target/linux/octeontx/image/Makefile | 21 + ...-support-for-rgmii-internal-delay-mo.patch | 139 + target/linux/omap/Makefile | 31 + target/linux/omap/base-files/etc/inittab | 5 + .../base-files/lib/preinit/79_move_config | 20 + .../omap/base-files/lib/upgrade/platform.sh | 88 + target/linux/omap/config-4.14 | 742 + target/linux/omap/image/Config.in | 5 + target/linux/omap/image/Makefile | 80 + .../linux/omap/image/gen_omap_sdcard_img.sh | 33 + target/linux/omap/image/ubinize.cfg | 14 + target/linux/omap/profiles/00-default.mk | 23 + target/linux/oxnas/Makefile | 22 + .../oxnas/base-files/etc/board.d/02_network | 45 + .../base-files/etc/init.d/set-irq-affinity | 22 + .../oxnas/base-files/lib/upgrade/platform.sh | 9 + target/linux/oxnas/config-4.14 | 362 + .../arm/boot/dts/ox820-akitio-mycloud.dts | 165 + .../dts/ox820-cloudengines-pogoplugpro.dts | 126 + .../arm/boot/dts/ox820-mitrastar-stg-212.dts | 137 + .../arch/arm/boot/dts/ox820-shuttle-kd20.dts | 202 + .../arch/arm/include/debug/uncompress-ox820.h | 32 + .../oxnas/files/drivers/ata/sata_oxnas.c | 2507 + .../oxnas/files/drivers/pci/host/pcie-oxnas.c | 672 + .../oxnas/files/drivers/phy/phy-oxnas-pcie.c | 150 + .../files/drivers/power/reset/oxnas-restart.c | 229 + .../oxnas/files/drivers/usb/host/ehci-oxnas.c | 368 + target/linux/oxnas/image/Makefile | 15 + target/linux/oxnas/image/ox810se.mk | 18 + target/linux/oxnas/image/ox820.mk | 84 + target/linux/oxnas/modules.mk | 33 + target/linux/oxnas/ox810se/config-default | 39 + .../oxnas/ox810se/profiles/00-default.mk | 10 + target/linux/oxnas/ox810se/target.mk | 9 + target/linux/oxnas/ox820/config-default | 106 + .../linux/oxnas/ox820/profiles/00-default.mk | 21 + target/linux/oxnas/ox820/target.mk | 8 + .../0001-ARM-dts-rename-oxnas-dts-files.patch | 459 + ...te-ARM-OXNAS-platform-support-patter.patch | 34 + ...3-ARM-configs-add-OXNAS-v6-defconfig.patch | 111 + ...0-add-console-to-pogoplogv3-bootargs.patch | 11 + .../020-nand-partitions-on-pogoplug-v3.patch | 32 + .../030-led-aliases-on-pogoplug-v3.patch | 34 + ...-pogoplug-series-3-compatible-string.patch | 11 + .../050-ox820-remove-left-overs.patch | 63 + .../100-oxnas-clk-plla-pllb.patch | 273 + .../patches-4.14/150-oxnas-restart.patch | 25 + .../patches-4.14/320-oxnas-phy-pcie.patch | 44 + .../oxnas/patches-4.14/340-oxnas-pcie.patch | 120 + .../oxnas/patches-4.14/500-oxnas-sata.patch | 49 + .../patches-4.14/510-ox820-libata-leds.patch | 10 + .../oxnas/patches-4.14/800-oxnas-ehci.patch | 73 + ...Mangle-bootloader-s-kernel-arguments.patch | 189 + .../oxnas/patches-4.14/999-libata-hacks.patch | 57 + target/linux/pistachio/Makefile | 27 + .../base-files/etc/board.d/02_network | 18 + target/linux/pistachio/base-files/etc/diag.sh | 30 + .../base-files/lib/upgrade/platform.sh | 51 + target/linux/pistachio/config-4.14 | 355 + target/linux/pistachio/image/Makefile | 38 + ...ine-img-mdc-Handle-early-status-read.patch | 68 + ...mg-spfi-Implement-dual-and-quad-mode.patch | 198 + ...-device-select-bits-for-SPFI-port-st.patch | 27 + ...-device-0-configuration-for-all-devi.patch | 64 + ...i-RX-maximum-burst-size-for-DMA-is-8.patch | 59 + ...g-spfi-finish-every-transfer-cleanly.patch | 120 + ...y-programming-min-delta-up-to-10-tim.patch | 66 + ...istachio-Fix-wrong-SDHost-card-speed.patch | 49 + ...-img-marduk-switch-mmc-to-1-bit-mode.patch | 47 + ...or-support-mtd-name-from-device-tree.patch | 34 + ...ength-of-ID-before-reading-bits-per-.patch | 33 + ...JEDEC-manufacturer-ID-for-Gigadevice.patch | 35 + ...413-mtd-Introduce-SPI-NAND-framework.patch | 707 + ...mtd-spi-nand-Support-Gigadevice-GD5F.patch | 524 + ...TS-img-marduk-add-nor-partition-name.patch | 20 + ...S-img-marduk-add-nand-device-support.patch | 30 + target/linux/pistachio/profiles/00-default.mk | 17 + target/linux/ramips/Makefile | 26 + .../ramips/base-files/etc/board.d/01_leds | 453 + .../ramips/base-files/etc/board.d/02_network | 709 + .../base-files/etc/board.d/03_gpio_switches | 46 + .../etc/hotplug.d/firmware/10-rt2x00-eeprom | 79 + .../base-files/etc/hotplug.d/usb/10-motion | 1 + .../ramips/base-files/etc/init.d/bootcount | 21 + .../base-files/etc/init.d/set-irq-affinity | 31 + target/linux/ramips/base-files/etc/inittab | 3 + .../etc/uci-defaults/09_fix-checksum | 26 + .../lib/preinit/01_preinit_do_ramips.sh | 9 + .../lib/preinit/04_handle_checksumming | 56 + .../lib/preinit/07_set_preinit_iface_ramips | 34 + target/linux/ramips/base-files/lib/ramips.sh | 715 + .../ramips/base-files/lib/upgrade/platform.sh | 75 + .../ramips/base-files/lib/upgrade/ubnt.sh | 76 + .../ramips/base-files/sbin/fixup-mac-address | 81 + target/linux/ramips/dts/11ACNAS.dts | 24 + target/linux/ramips/dts/3G-6200N.dts | 124 + target/linux/ramips/dts/3G-6200NL.dts | 111 + target/linux/ramips/dts/3G150B.dts | 130 + target/linux/ramips/dts/3G300M.dts | 136 + target/linux/ramips/dts/A5-V11.dts | 134 + target/linux/ramips/dts/AC1200RM.dts | 183 + target/linux/ramips/dts/AI-BR100.dts | 117 + target/linux/ramips/dts/AIR3GII.dts | 103 + target/linux/ramips/dts/ALL0256N-4M.dts | 48 + target/linux/ramips/dts/ALL0256N-8M.dts | 48 + target/linux/ramips/dts/ALL0256N.dtsi | 63 + target/linux/ramips/dts/ALL5002.dts | 119 + target/linux/ramips/dts/ALL5003.dts | 119 + target/linux/ramips/dts/AP-MT7621A-V60.dts | 131 + target/linux/ramips/dts/AR670W.dts | 116 + target/linux/ramips/dts/AR725W.dts | 126 + target/linux/ramips/dts/ASL26555-16M.dts | 66 + target/linux/ramips/dts/ASL26555-8M.dts | 60 + target/linux/ramips/dts/ASL26555.dtsi | 107 + target/linux/ramips/dts/ATP-52B.dts | 110 + target/linux/ramips/dts/AWAPN2403.dts | 96 + target/linux/ramips/dts/AWM002-EVB-4M.dts | 48 + target/linux/ramips/dts/AWM002-EVB-8M.dts | 48 + target/linux/ramips/dts/AWM002-EVB.dtsi | 73 + target/linux/ramips/dts/AWUSFREE1.dts | 173 + target/linux/ramips/dts/ArcherC2-v1.dts | 194 + target/linux/ramips/dts/ArcherC20i.dts | 170 + target/linux/ramips/dts/ArcherC20v1.dts | 201 + target/linux/ramips/dts/ArcherC20v4.dts | 107 + target/linux/ramips/dts/ArcherC50.dts | 200 + target/linux/ramips/dts/ArcherC50V3.dts | 102 + target/linux/ramips/dts/ArcherC50V4.dts | 99 + target/linux/ramips/dts/ArcherMR200.dts | 202 + target/linux/ramips/dts/BC2.dts | 95 + target/linux/ramips/dts/BDCOM-WAP2100-SK.dts | 153 + target/linux/ramips/dts/BOCCO.dts | 165 + target/linux/ramips/dts/BR-6475ND.dts | 180 + target/linux/ramips/dts/BR-6478AC-V2.dts | 216 + target/linux/ramips/dts/BROADWAY.dts | 100 + target/linux/ramips/dts/C108.dts | 187 + target/linux/ramips/dts/CARAMBOLA.dts | 83 + target/linux/ramips/dts/CF-WR800N.dts | 125 + target/linux/ramips/dts/CS-QR10.dts | 158 + target/linux/ramips/dts/CY-SWR1100.dts | 152 + target/linux/ramips/dts/CreativeBox-v1.dts | 173 + target/linux/ramips/dts/D105.dts | 107 + target/linux/ramips/dts/D240.dts | 206 + target/linux/ramips/dts/DAP-1350.dts | 138 + target/linux/ramips/dts/DAP-1522-A1.dts | 149 + target/linux/ramips/dts/DB-WRT01.dts | 106 + target/linux/ramips/dts/DCH-M225.dts | 191 + target/linux/ramips/dts/DCS-930.dts | 116 + target/linux/ramips/dts/DCS-930L-B1.dts | 118 + target/linux/ramips/dts/DIR-300-B1.dts | 122 + target/linux/ramips/dts/DIR-300-B7.dts | 113 + target/linux/ramips/dts/DIR-320-B1.dts | 141 + target/linux/ramips/dts/DIR-510L.dts | 142 + target/linux/ramips/dts/DIR-600-B1.dts | 122 + target/linux/ramips/dts/DIR-610-A1.dts | 114 + target/linux/ramips/dts/DIR-615-D.dts | 121 + target/linux/ramips/dts/DIR-615-H1.dts | 128 + target/linux/ramips/dts/DIR-620-A1.dts | 131 + target/linux/ramips/dts/DIR-620-D1.dts | 114 + target/linux/ramips/dts/DIR-645.dts | 152 + target/linux/ramips/dts/DIR-810L.dts | 159 + target/linux/ramips/dts/DIR-860L-B1.dts | 149 + target/linux/ramips/dts/DUZUN-DM06.dts | 145 + target/linux/ramips/dts/DWR-116-A1.dts | 114 + target/linux/ramips/dts/DWR-118-A1.dts | 194 + target/linux/ramips/dts/DWR-118-A2.dts | 181 + target/linux/ramips/dts/DWR-512-B.dts | 149 + target/linux/ramips/dts/DWR-921-C1.dts | 152 + target/linux/ramips/dts/DWR-922-E2.dts | 154 + target/linux/ramips/dts/E1700.dts | 163 + target/linux/ramips/dts/ESR-9753.dts | 107 + target/linux/ramips/dts/EW1200.dts | 137 + target/linux/ramips/dts/EX2700.dts | 155 + target/linux/ramips/dts/EX3700.dts | 170 + target/linux/ramips/dts/EX6150.dts | 249 + target/linux/ramips/dts/F5D8235_V1.dts | 245 + target/linux/ramips/dts/F5D8235_V2.dts | 146 + target/linux/ramips/dts/F7C027.dts | 143 + target/linux/ramips/dts/F9K1109V1.dts | 71 + target/linux/ramips/dts/F9K110x.dtsi | 112 + target/linux/ramips/dts/FIREWRT.dts | 130 + target/linux/ramips/dts/FONERA20N.dts | 157 + target/linux/ramips/dts/FREESTATION5.dts | 114 + target/linux/ramips/dts/GB-PC1.dts | 124 + target/linux/ramips/dts/GB-PC2.dts | 135 + target/linux/ramips/dts/GHL-R-001.dts | 130 + target/linux/ramips/dts/GL-MT300A.dts | 151 + target/linux/ramips/dts/GL-MT300N-V2.dts | 151 + target/linux/ramips/dts/GL-MT300N.dts | 142 + target/linux/ramips/dts/GL-MT750.dts | 157 + target/linux/ramips/dts/HC5661.dts | 39 + target/linux/ramips/dts/HC5661A.dts | 132 + target/linux/ramips/dts/HC5761.dts | 59 + target/linux/ramips/dts/HC5861.dts | 105 + target/linux/ramips/dts/HC5861B.dts | 144 + target/linux/ramips/dts/HC5962.dts | 158 + target/linux/ramips/dts/HC5X61.dtsi | 136 + target/linux/ramips/dts/HDRM200.dts | 188 + target/linux/ramips/dts/HG255D.dts | 145 + target/linux/ramips/dts/HLK-7628N.dts | 99 + target/linux/ramips/dts/HLKRM04.dts | 128 + target/linux/ramips/dts/HPM.dts | 162 + target/linux/ramips/dts/HT-TM02.dts | 124 + target/linux/ramips/dts/HW550-3G.dts | 129 + target/linux/ramips/dts/IP2202.dts | 101 + target/linux/ramips/dts/JHR-N805R.dts | 99 + target/linux/ramips/dts/JHR-N825R.dts | 94 + target/linux/ramips/dts/JHR-N926R.dts | 140 + target/linux/ramips/dts/K2G.dts | 144 + target/linux/ramips/dts/K2P.dts | 127 + target/linux/ramips/dts/LINKIT7688.dts | 170 + target/linux/ramips/dts/LR-25G001.dts | 181 + target/linux/ramips/dts/M2M.dts | 122 + target/linux/ramips/dts/M3.dts | 116 + target/linux/ramips/dts/M4-4M.dts | 48 + target/linux/ramips/dts/M4-8M.dts | 48 + target/linux/ramips/dts/M4.dtsi | 66 + target/linux/ramips/dts/MAC1200RV2.dts | 110 + target/linux/ramips/dts/MINIEMBPLUG.dts | 129 + target/linux/ramips/dts/MINIEMBWIFI.dts | 105 + target/linux/ramips/dts/MIR3G.dts | 207 + target/linux/ramips/dts/MIR3P.dts | 192 + target/linux/ramips/dts/MIWIFI-MINI.dts | 162 + target/linux/ramips/dts/MIWIFI-NANO.dts | 112 + target/linux/ramips/dts/MLW221.dts | 132 + target/linux/ramips/dts/MLWG2.dts | 132 + target/linux/ramips/dts/MOFI3500-3GN.dts | 126 + target/linux/ramips/dts/MPRA1.dts | 133 + target/linux/ramips/dts/MPRA2.dts | 130 + target/linux/ramips/dts/MR-102N.dts | 130 + target/linux/ramips/dts/MT7620a.dts | 130 + target/linux/ramips/dts/MT7620a_MT7530.dts | 120 + target/linux/ramips/dts/MT7620a_MT7610e.dts | 99 + target/linux/ramips/dts/MT7620a_V22SG.dts | 120 + target/linux/ramips/dts/MT7621.dts | 60 + target/linux/ramips/dts/MT7628.dts | 70 + target/linux/ramips/dts/MZK-750DHP.dts | 137 + target/linux/ramips/dts/MZK-DP150N.dts | 112 + target/linux/ramips/dts/MZK-EX300NP.dts | 142 + target/linux/ramips/dts/MZK-EX750NP.dts | 158 + target/linux/ramips/dts/MZK-W300NH2.dts | 124 + target/linux/ramips/dts/MZK-WDPR.dts | 93 + target/linux/ramips/dts/MicroWRT.dts | 108 + target/linux/ramips/dts/NA930.dts | 187 + target/linux/ramips/dts/NBG-419N.dts | 107 + target/linux/ramips/dts/NBG-419N2.dts | 130 + target/linux/ramips/dts/NCS601W.dts | 77 + target/linux/ramips/dts/NIXCORE-16M.dts | 48 + target/linux/ramips/dts/NIXCORE-8M.dts | 48 + target/linux/ramips/dts/NIXCORE.dtsi | 155 + target/linux/ramips/dts/NW718.dts | 121 + target/linux/ramips/dts/Newifi-D1.dts | 152 + target/linux/ramips/dts/Newifi-D2.dts | 168 + target/linux/ramips/dts/OMEGA2.dts | 21 + target/linux/ramips/dts/OMEGA2.dtsi | 175 + target/linux/ramips/dts/OMEGA2P.dts | 21 + target/linux/ramips/dts/OY-0001.dts | 130 + target/linux/ramips/dts/PBR-D1.dts | 171 + target/linux/ramips/dts/PBR-M1.dts | 184 + target/linux/ramips/dts/PSG1208.dts | 123 + target/linux/ramips/dts/PSG1218.dtsi | 79 + target/linux/ramips/dts/PSG1218A.dts | 55 + target/linux/ramips/dts/PSG1218B.dts | 50 + target/linux/ramips/dts/PSR-680W.dts | 104 + target/linux/ramips/dts/PWH2004.dts | 97 + target/linux/ramips/dts/PX-4885-4M.dts | 48 + target/linux/ramips/dts/PX-4885-8M.dts | 48 + target/linux/ramips/dts/PX-4885.dtsi | 63 + target/linux/ramips/dts/QUAD-E4G.dts | 236 + target/linux/ramips/dts/R36M-E4G.dts | 217 + target/linux/ramips/dts/R6120.dts | 161 + target/linux/ramips/dts/R6220.dts | 76 + target/linux/ramips/dts/R6220.dtsi | 125 + target/linux/ramips/dts/R6350.dts | 167 + target/linux/ramips/dts/RAK633.dts | 103 + target/linux/ramips/dts/RB750Gr3.dts | 155 + target/linux/ramips/dts/RBM11G.dts | 168 + target/linux/ramips/dts/RBM33G.dts | 197 + target/linux/ramips/dts/RE350.dts | 171 + target/linux/ramips/dts/RE6500.dts | 135 + target/linux/ramips/dts/RP-N53.dts | 178 + target/linux/ramips/dts/RT-AC51U.dts | 147 + target/linux/ramips/dts/RT-AC57U.dts | 153 + target/linux/ramips/dts/RT-G32-B1.dts | 89 + target/linux/ramips/dts/RT-N10-PLUS.dts | 93 + target/linux/ramips/dts/RT-N12-PLUS.dts | 127 + target/linux/ramips/dts/RT-N13U.dts | 111 + target/linux/ramips/dts/RT-N14U.dts | 140 + target/linux/ramips/dts/RT-N15.dts | 124 + target/linux/ramips/dts/RT-N56U.dts | 151 + .../ramips/dts/RT5350F-OLINUXINO-EVB.dts | 32 + target/linux/ramips/dts/RT5350F-OLINUXINO.dts | 8 + .../linux/ramips/dts/RT5350F-OLINUXINO.dtsi | 99 + target/linux/ramips/dts/RUT5XX.dts | 103 + target/linux/ramips/dts/SAP-G3200U3.dts | 127 + target/linux/ramips/dts/SK-WB8.dts | 128 + target/linux/ramips/dts/SKW92A.dts | 121 + target/linux/ramips/dts/SL-R7205.dts | 106 + target/linux/ramips/dts/TEW-638APB-V2.dts | 107 + target/linux/ramips/dts/TEW-691GR.dts | 125 + target/linux/ramips/dts/TEW-692GR.dts | 151 + target/linux/ramips/dts/TEW-714TRU.dts | 129 + target/linux/ramips/dts/TINY-AC.dts | 171 + target/linux/ramips/dts/TL-MR3020V3.dts | 150 + target/linux/ramips/dts/TL-MR3420V5.dts | 97 + target/linux/ramips/dts/TL-WA801NDV5.dts | 75 + target/linux/ramips/dts/TL-WR802NV4.dts | 52 + target/linux/ramips/dts/TL-WR840NV4.dts | 71 + target/linux/ramips/dts/TL-WR840NV5.dts | 117 + target/linux/ramips/dts/TL-WR841NV13.dts | 97 + target/linux/ramips/dts/TL-WR842NV5.dts | 97 + target/linux/ramips/dts/TL-WR902ACV3.dts | 114 + target/linux/ramips/dts/TOTOLINK-LR1200.dts | 155 + .../ramips/dts/TPLINK-8M-SPLIT-UBOOT.dtsi | 92 + target/linux/ramips/dts/TPLINK-8M.dtsi | 70 + target/linux/ramips/dts/TUBE-E4G.dts | 190 + .../linux/ramips/dts/Telco-Electronics-X1.dts | 172 + target/linux/ramips/dts/Timecloud.dts | 115 + target/linux/ramips/dts/U25AWF-H1.dts | 116 + target/linux/ramips/dts/U35WF.dts | 116 + target/linux/ramips/dts/U7621-06-256M-16M.dts | 90 + target/linux/ramips/dts/U7621-06-512M-64M.dts | 91 + target/linux/ramips/dts/U7621-06.dtsi | 120 + target/linux/ramips/dts/U7628-01-128M-16M.dts | 87 + target/linux/ramips/dts/U7628-01.dtsi | 139 + target/linux/ramips/dts/UBNT-ER-e50.dtsi | 115 + target/linux/ramips/dts/UBNT-ERX-SFP.dts | 24 + target/linux/ramips/dts/UBNT-ERX.dts | 7 + target/linux/ramips/dts/UR-326N4G.dts | 126 + target/linux/ramips/dts/UR-336UN.dts | 126 + target/linux/ramips/dts/V11STFE.dts | 90 + target/linux/ramips/dts/V22RW-2X2.dts | 107 + target/linux/ramips/dts/VAR11N-300.dts | 100 + target/linux/ramips/dts/VIXMINI.dts | 114 + target/linux/ramips/dts/VOCORE-16M.dts | 48 + target/linux/ramips/dts/VOCORE-8M.dts | 48 + target/linux/ramips/dts/VOCORE.dtsi | 204 + target/linux/ramips/dts/VOCORE2.dts | 66 + target/linux/ramips/dts/VOCORE2.dtsi | 52 + target/linux/ramips/dts/VOCORE2LITE.dts | 66 + target/linux/ramips/dts/VR500.dts | 96 + target/linux/ramips/dts/W06.dts | 117 + target/linux/ramips/dts/W150M.dts | 127 + target/linux/ramips/dts/W2914NSV2.dts | 23 + target/linux/ramips/dts/W2914NSV2.dtsi | 107 + target/linux/ramips/dts/W306R_V20.dts | 101 + target/linux/ramips/dts/W502U.dts | 117 + target/linux/ramips/dts/WCR-1166DS.dts | 181 + target/linux/ramips/dts/WCR150GN.dts | 113 + target/linux/ramips/dts/WD03.dts | 118 + target/linux/ramips/dts/WE1026-5G-16M.dts | 81 + target/linux/ramips/dts/WE1026-5G.dtsi | 125 + target/linux/ramips/dts/WF-2881.dts | 127 + target/linux/ramips/dts/WHR-1166D.dts | 182 + target/linux/ramips/dts/WHR-300HP2.dts | 157 + target/linux/ramips/dts/WHR-600D.dts | 168 + target/linux/ramips/dts/WHR-G300N.dts | 129 + target/linux/ramips/dts/WIDORA-NEO-16M.dts | 58 + target/linux/ramips/dts/WIDORA-NEO-32M.dts | 58 + target/linux/ramips/dts/WIDORA-NEO.dtsi | 126 + target/linux/ramips/dts/WITI-256M.dts | 13 + target/linux/ramips/dts/WITI-512M.dts | 13 + target/linux/ramips/dts/WITI.dtsi | 115 + target/linux/ramips/dts/WIZARD8800.dts | 85 + target/linux/ramips/dts/WIZFI630A.dts | 158 + target/linux/ramips/dts/WIZFI630S.dts | 171 + target/linux/ramips/dts/WL-330N.dts | 110 + target/linux/ramips/dts/WL-330N3G.dts | 119 + target/linux/ramips/dts/WL-351.dts | 133 + target/linux/ramips/dts/WL-WN570HA1.dts | 138 + target/linux/ramips/dts/WL-WN575A3.dts | 133 + target/linux/ramips/dts/WLI-TX4-AG300N.dts | 125 + target/linux/ramips/dts/WLR-6000.dts | 186 + target/linux/ramips/dts/WMDR-143N.dts | 69 + target/linux/ramips/dts/WMR-300.dts | 116 + target/linux/ramips/dts/WN-AC1167GR.dts | 216 + target/linux/ramips/dts/WN-AC733GR3.dts | 198 + target/linux/ramips/dts/WN-AX1167GR.dts | 172 + target/linux/ramips/dts/WN-GX300GR.dts | 164 + target/linux/ramips/dts/WN3000RPV3.dts | 153 + target/linux/ramips/dts/WNCE2001.dts | 149 + target/linux/ramips/dts/WNDR3700V5.dts | 72 + target/linux/ramips/dts/WR1000.dts | 146 + target/linux/ramips/dts/WR1200JS.dts | 146 + target/linux/ramips/dts/WR1201.dts | 158 + target/linux/ramips/dts/WR512-3GN-4M.dts | 45 + target/linux/ramips/dts/WR512-3GN-8M.dts | 45 + target/linux/ramips/dts/WR512-3GN.dtsi | 82 + target/linux/ramips/dts/WR6202.dts | 119 + target/linux/ramips/dts/WRC-1167GHBK2-S.dts | 155 + target/linux/ramips/dts/WRC-1900GST.dts | 10 + target/linux/ramips/dts/WRC-2533GST.dts | 9 + target/linux/ramips/dts/WRH-300CR.dts | 137 + target/linux/ramips/dts/WRTNODE.dts | 104 + target/linux/ramips/dts/WRTNODE2.dtsi | 99 + target/linux/ramips/dts/WRTNODE2P.dts | 33 + target/linux/ramips/dts/WRTNODE2R.dts | 43 + target/linux/ramips/dts/WSR-1166.dts | 197 + target/linux/ramips/dts/WSR-600.dts | 191 + target/linux/ramips/dts/WT1520-4M.dts | 48 + target/linux/ramips/dts/WT1520-8M.dts | 48 + target/linux/ramips/dts/WT1520.dtsi | 49 + target/linux/ramips/dts/WT3020-4M.dts | 48 + target/linux/ramips/dts/WT3020-8M.dts | 56 + target/linux/ramips/dts/WT3020.dtsi | 61 + target/linux/ramips/dts/WZR-AGL300NH.dts | 149 + target/linux/ramips/dts/X5.dts | 148 + target/linux/ramips/dts/X8.dts | 109 + target/linux/ramips/dts/XDXRN502J.dts | 105 + target/linux/ramips/dts/XIAOMI-MIR4A-100M.dts | 147 + target/linux/ramips/dts/Y1.dts | 58 + target/linux/ramips/dts/Y1.dtsi | 110 + target/linux/ramips/dts/Y1S.dts | 115 + target/linux/ramips/dts/YOUKU-YK1.dts | 138 + target/linux/ramips/dts/YOUKU-YK2.dts | 157 + target/linux/ramips/dts/ZBT-APE522II.dts | 144 + target/linux/ramips/dts/ZBT-CPE102.dts | 129 + target/linux/ramips/dts/ZBT-WA05.dts | 132 + target/linux/ramips/dts/ZBT-WE1226.dts | 122 + target/linux/ramips/dts/ZBT-WE1326.dts | 103 + target/linux/ramips/dts/ZBT-WE2026.dts | 113 + target/linux/ramips/dts/ZBT-WE3526.dts | 114 + target/linux/ramips/dts/ZBT-WE826-16M.dts | 48 + target/linux/ramips/dts/ZBT-WE826-32M.dts | 48 + target/linux/ramips/dts/ZBT-WE826-E.dts | 84 + target/linux/ramips/dts/ZBT-WE826.dtsi | 93 + target/linux/ramips/dts/ZBT-WG2626.dts | 125 + target/linux/ramips/dts/ZBT-WG3526-16M.dts | 12 + target/linux/ramips/dts/ZBT-WG3526-32M.dts | 12 + target/linux/ramips/dts/ZBT-WG3526.dtsi | 126 + target/linux/ramips/dts/ZBT-WR8305RT.dts | 126 + target/linux/ramips/dts/ZL5900V2.dts | 104 + target/linux/ramips/dts/ZTE-Q7.dts | 125 + target/linux/ramips/dts/elecom_wrc-gst.dtsi | 180 + target/linux/ramips/dts/ki_rb.dts | 219 + target/linux/ramips/dts/kn.dts | 125 + target/linux/ramips/dts/kn_rc.dts | 152 + target/linux/ramips/dts/kn_rf.dts | 152 + target/linux/ramips/dts/kn_st.dts | 115 + target/linux/ramips/dts/kng_rc.dts | 178 + target/linux/ramips/dts/mt7620a.dtsi | 603 + target/linux/ramips/dts/mt7620n.dtsi | 400 + target/linux/ramips/dts/mt7621.dtsi | 549 + target/linux/ramips/dts/mt7628an.dtsi | 514 + target/linux/ramips/dts/rt2880.dtsi | 238 + target/linux/ramips/dts/rt3050.dtsi | 356 + target/linux/ramips/dts/rt3352.dtsi | 399 + target/linux/ramips/dts/rt3883.dtsi | 497 + target/linux/ramips/dts/rt5350.dtsi | 409 + .../drivers/mmc/host/mtk-mmc/Kconfig | 12 + .../drivers/mmc/host/mtk-mmc/Makefile | 42 + .../drivers/mmc/host/mtk-mmc/board.h | 63 + .../files-4.14/drivers/mmc/host/mtk-mmc/dbg.c | 306 + .../files-4.14/drivers/mmc/host/mtk-mmc/dbg.h | 155 + .../drivers/mmc/host/mtk-mmc/mt6575_sd.h | 986 + .../files-4.14/drivers/mmc/host/mtk-mmc/sd.c | 2461 + .../drivers/net/ethernet/mediatek/Kconfig | 70 + .../drivers/net/ethernet/mediatek/Makefile | 22 + .../net/ethernet/mediatek/esw_rt3050.c | 1461 + .../net/ethernet/mediatek/esw_rt3050.h | 29 + .../drivers/net/ethernet/mediatek/ethtool.c | 230 + .../drivers/net/ethernet/mediatek/ethtool.h | 22 + .../net/ethernet/mediatek/gsw_mt7620.c | 298 + .../net/ethernet/mediatek/gsw_mt7620.h | 127 + .../net/ethernet/mediatek/gsw_mt7621.c | 275 + .../drivers/net/ethernet/mediatek/mdio.c | 261 + .../drivers/net/ethernet/mediatek/mdio.h | 27 + .../net/ethernet/mediatek/mdio_mt7620.c | 168 + .../net/ethernet/mediatek/mdio_rt2880.c | 222 + .../net/ethernet/mediatek/mdio_rt2880.h | 23 + .../drivers/net/ethernet/mediatek/mt7530.c | 979 + .../drivers/net/ethernet/mediatek/mt7530.h | 186 + .../net/ethernet/mediatek/mtk_debugfs.c | 115 + .../net/ethernet/mediatek/mtk_eth_soc.c | 1694 + .../net/ethernet/mediatek/mtk_eth_soc.h | 532 + .../net/ethernet/mediatek/mtk_offload.c | 540 + .../net/ethernet/mediatek/mtk_offload.h | 260 + .../net/ethernet/mediatek/soc_mt7620.c | 335 + .../net/ethernet/mediatek/soc_mt7621.c | 186 + .../net/ethernet/mediatek/soc_rt2880.c | 76 + .../net/ethernet/mediatek/soc_rt3050.c | 158 + .../net/ethernet/mediatek/soc_rt3883.c | 75 + target/linux/ramips/image/Makefile | 181 + .../linux/ramips/image/lzma-loader/Makefile | 66 + .../ramips/image/lzma-loader/src/LzmaDecode.c | 584 + .../ramips/image/lzma-loader/src/LzmaDecode.h | 113 + .../ramips/image/lzma-loader/src/LzmaTypes.h | 45 + .../ramips/image/lzma-loader/src/Makefile | 109 + .../image/lzma-loader/src/board-mt7621.c | 39 + .../image/lzma-loader/src/board-ralink.c | 42 + .../ramips/image/lzma-loader/src/cache.c | 43 + .../ramips/image/lzma-loader/src/cache.h | 17 + .../ramips/image/lzma-loader/src/cacheops.h | 85 + .../ramips/image/lzma-loader/src/config.h | 27 + .../ramips/image/lzma-loader/src/cp0regdef.h | 39 + .../linux/ramips/image/lzma-loader/src/head.S | 121 + .../ramips/image/lzma-loader/src/lantiq.mk | 1 + .../ramips/image/lzma-loader/src/loader.c | 265 + .../ramips/image/lzma-loader/src/loader.lds | 35 + .../ramips/image/lzma-loader/src/loader2.lds | 10 + .../image/lzma-loader/src/lzma-data.lds | 8 + .../ramips/image/lzma-loader/src/mt7621.mk | 1 + .../ramips/image/lzma-loader/src/printf.c | 350 + .../ramips/image/lzma-loader/src/printf.h | 18 + .../ramips/image/lzma-loader/src/ralink.mk | 1 + target/linux/ramips/image/mt7620.mk | 849 + target/linux/ramips/image/mt7621.mk | 684 + target/linux/ramips/image/mt76x8.mk | 488 + target/linux/ramips/image/rt288x.mk | 91 + target/linux/ramips/image/rt305x.mk | 926 + target/linux/ramips/image/rt3883.mk | 119 + target/linux/ramips/modules.mk | 138 + target/linux/ramips/mt7620/config-4.14 | 240 + .../ramips/mt7620/profiles/00-default.mk | 17 + target/linux/ramips/mt7620/target.mk | 15 + target/linux/ramips/mt7621/config-4.14 | 315 + .../ramips/mt7621/profiles/00-default.mk | 19 + target/linux/ramips/mt7621/target.mk | 13 + target/linux/ramips/mt76x8/config-4.14 | 235 + .../ramips/mt76x8/profiles/00-default.mk | 17 + target/linux/ramips/mt76x8/target.mk | 15 + ...IPS-ralink-Add-rt3352-SPI_CS1-pinmux.patch | 45 + ...ci-rt2880-set-pci-controller-of_node.patch | 32 + ...reservation-in-bootmem_init-for-cert.patch | 45 + ...4-MIPS-ralink-add-MT7621-pcie-driver.patch | 861 + ...e-to-enable-disable-the-cevt-r4k-irq.patch | 82 + ...IPS-ralink-add-cpu-frequency-scaling.patch | 200 + ...-the-commandline-from-the-devicetree.patch | 21 + .../0009-PCI-MIPS-enable-PCIe-on-MT7688.patch | 28 + ...013-owrt-hack-fix-mt7688-cache-issue.patch | 28 + ...-select-illegal-access-driver-by-def.patch | 25 + .../0024-GPIO-add-named-gpio-exports.patch | 165 + ...25-pinctrl-ralink-add-pinctrl-driver.patch | 524 + ...DT-Add-documentation-for-gpio-ralink.patch | 59 + ...alink-add-gpio-driver-for-ralink-SoC.patch | 430 + ...IO-ralink-add-mt7621-gpio-controller.patch | 405 + ...support-for-GPIO-as-interrupt-contro.patch | 44 + ...0031-uvc-add-iPassion-iP2970-support.patch | 246 + .../0034-NET-multi-phy-support.patch | 59 + ...mtd-cfi-cmdset-0002-force-word-write.patch | 70 + ...d-Remove-unused-chip-write_page-hook.patch | 67 + .../0039-mtd-add-mt7621-nand-support.patch | 4436 + .../ramips/patches-4.14/0040-nand-hack.patch | 32 + ...-DT-Add-documentation-for-spi-rt2880.patch | 44 + ...SPI-ralink-add-Ralink-SoC-spi-driver.patch | 574 + .../0043-spi-add-mt7621-support.patch | 487 + ...0044-i2c-MIPS-adds-ralink-I2C-driver.patch | 507 + .../0045-i2c-add-mt7621-driver.patch | 473 + ...IPS-ralink-add-sdhci-for-mt7620a-SoC.patch | 43 + ...047-DMA-ralink-add-rt2880-dma-engine.patch | 1757 + .../0048-asoc-add-mt7620-support.patch | 1046 + ...erial-add-ugly-custom-baud-rate-hack.patch | 22 + .../0052-pwm-add-mediatek-support.patch | 217 + ...d-spi-nor-add-w25q256-3b-mode-switch.patch | 214 + ...spi-nor-w25q256-respect-default-mode.patch | 73 + .../0069-awake-rt305x-dwc2-controller.patch | 15 + .../patches-4.14/0070-weak_reordering.patch | 10 + .../ramips/patches-4.14/0098-disable_cm.patch | 19 + .../ramips/patches-4.14/0099-pci-mt7620.patch | 10 + .../patches-4.14/0200-linkit_bootstrap.patch | 97 + .../100-mt7621-core-detect-hack.patch | 61 + .../patches-4.14/101-mt7621-timer.patch | 87 + .../102-mt7621-fix-cpu-clk-add-clkdev.patch | 224 + .../105-mt7621-memory-detect.patch | 125 + .../patches-4.14/110-mt7621-perfctr-fix.patch | 15 + ...0-mt7620-export-chip-version-and-pkg.patch | 19 + .../302-spi-nor-add-gd25q512.patch | 14 + ...or-enable-4B-opcodes-for-mx25l25635f.patch | 72 + .../999-fix-pci-init-mt7620.patch | 21 + target/linux/ramips/rt288x/config-4.14 | 224 + target/linux/ramips/rt288x/target.mk | 15 + target/linux/ramips/rt305x/config-4.14 | 219 + .../ramips/rt305x/profiles/00-default.mk | 19 + target/linux/ramips/rt305x/target.mk | 15 + target/linux/ramips/rt3883/config-4.14 | 226 + .../ramips/rt3883/profiles/00-default.mk | 17 + target/linux/ramips/rt3883/target.mk | 15 + target/linux/rb532/Makefile | 21 + .../linux/rb532/base-files/etc/config/network | 26 + target/linux/rb532/base-files/etc/diag.sh | 17 + .../rb532/base-files/lib/preinit/01_sysinfo | 11 + .../rb532/base-files/lib/upgrade/platform.sh | 20 + target/linux/rb532/config-4.14 | 182 + target/linux/rb532/image/Makefile | 93 + target/linux/rb532/image/gen_image.sh | 18 + target/linux/rb532/modules.mk | 45 + .../rb532/patches-4.14/001-cmdline_hack.patch | 20 + .../004-rb532-fix-partition-info.patch | 17 + ...overflow-and-tx-underflow-interrupts.patch | 156 + ...actor-rx-descriptor-flags-processing.patch | 110 + .../107-use-NAPI_POLL_WEIGHT.patch | 11 + .../patches-4.14/108-korina-use-gro.patch | 11 + .../109-korina-whitespace-cleanup-2.patch | 135 + .../110-korina-update-authors.patch | 17 + .../111-korina-version-bump.patch | 13 + target/linux/samsung/Makefile | 26 + target/linux/samsung/dts/TQ210.dts | 69 + .../files-4.14/drivers/mtd/nand/s5pxx_nand.c | 498 + target/linux/samsung/image/Makefile | 25 + .../patches-4.14/001-s5pv210-nand.patch | 44 + .../samsung/patches-4.14/002-dm9000-clk.patch | 37 + target/linux/samsung/s5pv210/config-4.14 | 394 + .../samsung/s5pv210/profiles/00-default.mk | 16 + target/linux/samsung/s5pv210/target.mk | 17 + target/linux/sunxi/Makefile | 32 + .../sunxi/base-files/etc/board.d/02_network | 28 + target/linux/sunxi/base-files/etc/inittab | 5 + .../lib/firmware/brcm/brcmfmac4329-sdio.txt | 57 + .../lib/firmware/brcm/brcmfmac43362-sdio.txt | 51 + .../lib/firmware/brcm/brcmfmac43430-sdio.txt | 53 + .../firmware/brcm/brcmfmac43430a0-sdio.txt | 1 + .../base-files/lib/preinit/03_b53_hack.sh | 18 + .../base-files/lib/preinit/79_move_config | 20 + .../sunxi/base-files/lib/upgrade/platform.sh | 88 + target/linux/sunxi/config-4.14 | 601 + target/linux/sunxi/cortexa53/config-4.14 | 102 + target/linux/sunxi/cortexa53/target.mk | 13 + target/linux/sunxi/cortexa7/config-4.14 | 10 + target/linux/sunxi/cortexa7/target.mk | 12 + target/linux/sunxi/cortexa8/config-4.14 | 21 + target/linux/sunxi/cortexa8/target.mk | 12 + target/linux/sunxi/image/Config.in | 5 + target/linux/sunxi/image/Makefile | 46 + target/linux/sunxi/image/cortex-a53.mk | 71 + target/linux/sunxi/image/cortex-a7.mk | 220 + target/linux/sunxi/image/cortex-a8.mk | 69 + .../linux/sunxi/image/gen_sunxi_sdcard_img.sh | 34 + target/linux/sunxi/modules.mk | 85 + ...dwmac-mdio-MDIOs-are-automatically-r.patch | 33 + ...-sun8i-Handle-integrated-external-MD.patch | 506 + ...stmmac-sun8i-Restore-the-compatibles.patch | 35 + ...-sun8i-fix-allwinner-leds-active-low.patch | 29 + ...ts-sunxi-Restore-EMAC-changes-boards.patch | 292 + ...dts-sunxi-h3-h5-Restore-EMAC-changes.patch | 54 + ...-h5-represent-the-mdio-switch-used-b.patch | 59 + ...s-allwinner-A64-Restore-EMAC-changes.patch | 184 + ...ner-add-snps-dwmac-mdio-compatible-t.patch | 28 + ...ts-allwinner-H5-Restore-EMAC-changes.patch | 120 + ...a64-add-Ethernet-PHY-regulator-for-s.patch | 51 + ...arch_counter_get_cntpct-to-read-the-.patch | 118 + ...arm64-dts-allwinner-a64-Add-watchdog.patch | 47 + ...s-sun8i-add-support-for-Orange-Pi-R1.patch | 105 + ...i-support-for-nanopi-neo-plus2-board.patch | 242 + ...80-arm64-allwinner-a64-add-SPI-nodes.patch | 78 + ...ner-sun50i-a64-Add-spi-flash-node-fo.patch | 36 + ...ers-arch_timer-Workaround-for-Allwin.patch | 244 + ...nner-a64-Enable-A64-timer-workaround.patch | 26 + ...n8i-fix-USB-Ethernet-of-Orange-Pi-R1.patch | 48 + ...s-sun8i-activate-SPI-on-Orange-Pi-R1.patch | 29 + .../220-ARM-dts-orange-pi-zero-plus.patch | 185 + ...angepi_pc2_usb_otg_to_host_key_power.patch | 20 + ...un7i-Add-BCM53125-switch-nodes-to-th.patch | 88 + ...a64-sopine-Add-Sopine-flash-partitio.patch | 46 + target/linux/sunxi/profiles/00-default.mk | 27 + target/linux/tegra/Makefile | 29 + target/linux/tegra/base-files/etc/inittab | 4 + .../base-files/lib/preinit/79_move_config | 22 + .../tegra/base-files/lib/upgrade/platform.sh | 105 + target/linux/tegra/config-4.14 | 558 + target/linux/tegra/image/Makefile | 59 + target/linux/tegra/image/generic-bootscript | 6 + ...interrupts-due-to-tegra2-silicon-bug.patch | 77 + ...enable-front-panel-leds-in-TrimSlice.patch | 46 + target/linux/uml/Makefile | 41 + target/linux/uml/README | 46 + target/linux/uml/base-files/etc/inittab | 4 + target/linux/uml/config/i386 | 182 + target/linux/uml/config/x86_64 | 157 + target/linux/uml/image/Makefile | 35 + .../uml/patches-4.14/101-mconsole-exec.patch | 213 + .../patches-4.14/102-pseudo-random-mac.patch | 131 + .../64/base-files/lib/preinit/45_mount_xenfs | 9 + target/linux/x86/64/config-4.14 | 486 + target/linux/x86/64/profiles/000-Generic.mk | 15 + target/linux/x86/64/target.mk | 7 + target/linux/x86/Makefile | 28 + .../linux/x86/base-files/etc/board.d/01_leds | 24 + .../x86/base-files/etc/board.d/02_network | 25 + target/linux/x86/base-files/etc/diag.sh | 80 + target/linux/x86/base-files/etc/inittab | 5 + .../x86/base-files/lib/preinit/01_sysinfo | 39 + .../base-files/lib/preinit/02_load_x86_ucode | 10 + .../lib/preinit/15_essential_fs_x86 | 8 + .../x86/base-files/lib/preinit/20_check_iso | 5 + .../x86/base-files/lib/preinit/79_move_config | 19 + .../x86/base-files/lib/upgrade/platform.sh | 95 + target/linux/x86/config-4.14 | 527 + .../base-files/lib/preinit/45_mount_xenfs | 9 + target/linux/x86/generic/config-4.14 | 430 + .../linux/x86/generic/profiles/000-Generic.mk | 19 + target/linux/x86/generic/target.mk | 11 + target/linux/x86/geode/config-4.14 | 145 + .../linux/x86/geode/profiles/000-Generic.mk | 20 + target/linux/x86/geode/profiles/100-Geos.mk | 19 + target/linux/x86/geode/target.mk | 17 + target/linux/x86/image/Makefile | 187 + target/linux/x86/image/grub-early.cfg | 1 + target/linux/x86/image/grub-iso.cfg | 10 + target/linux/x86/image/grub.cfg | 13 + target/linux/x86/legacy/config-4.14 | 215 + .../linux/x86/legacy/profiles/000-Generic.mk | 18 + target/linux/x86/legacy/target.mk | 7 + target/linux/x86/modules.mk | 36 + .../patches-4.14/011-tune_lzma_options.patch | 22 + .../100-fix_cs5535_clockevt.patch | 12 + .../200-pcengines-apu2-reboot.patch | 19 + ...0-hwmon-w83627ehf-dont-claim-nct677x.patch | 30 + target/linux/zynq/Makefile | 32 + .../zynq/base-files/etc/board.d/02_network | 22 + target/linux/zynq/base-files/etc/inittab | 3 + target/linux/zynq/config-4.14 | 662 + target/linux/zynq/image/Makefile | 81 + .../linux/zynq/image/gen_zynq_sdcard_img.sh | 26 + ...020-v4.17-add-digilent-zybo-z7-board.patch | 94 + ...nufacturer-for-ZedBoard-and-MicroZed.patch | 38 + ...25-v4.19-update-digilent-zybo-z7-dts.patch | 52 + target/sdk/Config.in | 10 + target/sdk/Makefile | 168 + target/sdk/convert-config.pl | 59 + target/sdk/files/Config.in | 88 + target/sdk/files/Makefile | 59 + target/sdk/files/README.SDK | 11 + target/sdk/files/include/prepare.mk | 17 + target/toolchain/Config.in | 8 + target/toolchain/Makefile | 71 + target/toolchain/files/README.TOOLCHAIN | 2 + target/toolchain/files/wrapper.sh | 87 + toolchain/Config.in | 321 + toolchain/Makefile | 99 + toolchain/binutils/Config.in | 31 + toolchain/binutils/Config.version | 16 + toolchain/binutils/Makefile | 102 + .../2.29.1/300-001_ld_makefile_patch.patch | 22 + .../300-012_check_ldrunpath_length.patch | 20 + .../400-mips_no_dynamic_linking_sym.patch | 18 + ...e-default-emulation-for-mips64-linux.patch | 37 + ...nment_expressions_in_output_sections.patch | 276 + .../2.31.1/300-001_ld_makefile_patch.patch | 22 + .../300-012_check_ldrunpath_length.patch | 20 + .../400-mips_no_dynamic_linking_sym.patch | 18 + ...e-default-emulation-for-mips64-linux.patch | 37 + .../2.32/300-001_ld_makefile_patch.patch | 22 + .../2.32/300-012_check_ldrunpath_length.patch | 20 + .../400-mips_no_dynamic_linking_sym.patch | 18 + ...e-default-emulation-for-mips64-linux.patch | 37 + toolchain/fortify-headers/Makefile | 28 + toolchain/gcc/Config.in | 78 + toolchain/gcc/Config.version | 19 + toolchain/gcc/common.mk | 231 + toolchain/gcc/exclude-testsuite | 9 + toolchain/gcc/files/alternate-arch-cc.in | 3 + toolchain/gcc/final/Makefile | 87 + toolchain/gcc/initial/Makefile | 36 + toolchain/gcc/minimal/Makefile | 29 + .../001-revert_register_mode_search.patch | 65 + .../patches/5.5.0/002-case_insensitive.patch | 14 + .../gcc/patches/5.5.0/010-documentation.patch | 23 + .../patches/5.5.0/020-no-plt-backport.patch | 28 + .../5.5.0/040-fix-mips-ICE-PR-68400.patch | 23 + ...efine-__always_inline-in-local_atomi.patch | 1092 + .../gcc/patches/5.5.0/200-musl_config.patch | 309 + .../gcc/patches/5.5.0/201-musl_arm.patch | 43 + .../gcc/patches/5.5.0/202-musl_mips.patch | 35 + .../gcc/patches/5.5.0/203-musl_powerpc.patch | 209 + toolchain/gcc/patches/5.5.0/204-musl_sh.patch | 39 + .../gcc/patches/5.5.0/205-musl_x86.patch | 41 + .../gcc/patches/5.5.0/206-musl_aarch64.patch | 31 + .../patches/5.5.0/207-musl_fixincludes.patch | 30 + .../patches/5.5.0/209-musl_libstdc++.patch | 72 + .../gcc/patches/5.5.0/230-musl_libssp.patch | 13 + .../patches/5.5.0/240-musl-libitm-fixes.patch | 61 + .../gcc/patches/5.5.0/250-add-musl.patch | 120 + .../5.5.0/260-musl-add-unwind-fix.patch | 34 + .../270-musl-add-powerpc-softfloat-fix.patch | 24 + .../280-musl-disable-ifunc-by-default.patch | 36 + .../300-mips_Os_cpu_rtx_cost_model.patch | 14 + .../5.5.0/800-arm_v5te_no_ldrd_strd.patch | 11 + .../5.5.0/810-arm-softfloat-libgcc.patch | 25 + .../gcc/patches/5.5.0/820-libgcc_pic.patch | 36 + .../5.5.0/830-arm_unbreak_armv4t.patch | 13 + .../5.5.0/840-armv4_pass_fix-v4bx_to_ld.patch | 19 + .../patches/5.5.0/850-use_shared_libgcc.patch | 47 + .../patches/5.5.0/851-libgcc_no_compat.patch | 12 + .../patches/5.5.0/870-ppc_no_crtsavres.patch | 11 + .../patches/5.5.0/880-no_java_section.patch | 11 + .../gcc/patches/5.5.0/881-no_tm_section.patch | 11 + .../patches/5.5.0/900-bad-mips16-crt.patch | 9 + .../gcc/patches/5.5.0/910-mbsd_multi.patch | 222 + .../5.5.0/920-specs_nonfatal_getenv.patch | 15 + .../5.5.0/930-fix-mips-noexecstack.patch | 111 + .../931-fix-MIPS-softfloat-build-issue.patch | 167 + .../5.5.0/940-no-clobber-stamp-bits.patch | 11 + .../5.5.0/950-cpp_file_path_translation.patch | 182 + toolchain/gcc/patches/5.5.0/960-go_libm.patch | 11 + .../gcc/patches/5.5.0/970-warn_bug.patch | 11 + .../001-revert_register_mode_search.patch | 77 + .../patches/7.5.0/002-case_insensitive.patch | 24 + .../gcc/patches/7.5.0/010-documentation.patch | 35 + .../patches/7.5.0/110-Fix-MIPS-PR-84790.patch | 20 + .../gcc/patches/7.5.0/230-musl_libssp.patch | 28 + .../300-mips_Os_cpu_rtx_cost_model.patch | 21 + .../7.5.0/800-arm_v5te_no_ldrd_strd.patch | 32 + .../7.5.0/810-arm-softfloat-libgcc.patch | 33 + .../gcc/patches/7.5.0/820-libgcc_pic.patch | 44 + .../7.5.0/840-armv4_pass_fix-v4bx_to_ld.patch | 28 + .../patches/7.5.0/850-use_shared_libgcc.patch | 54 + .../patches/7.5.0/851-libgcc_no_compat.patch | 22 + .../patches/7.5.0/870-ppc_no_crtsavres.patch | 18 + .../gcc/patches/7.5.0/881-no_tm_section.patch | 22 + .../patches/7.5.0/900-bad-mips16-crt.patch | 30 + .../gcc/patches/7.5.0/910-mbsd_multi.patch | 146 + .../7.5.0/920-specs_nonfatal_getenv.patch | 22 + .../7.5.0/930-fix-mips-noexecstack.patch | 111 + ...ibffi-fix-MIPS-softfloat-build-issue.patch | 175 + .../7.5.0/940-no-clobber-stamp-bits.patch | 33 + .../7.5.0/950-cpp_file_path_translation.patch | 181 + ...mpilation-when-making-cross-compiler.patch | 73 + .../patches/8.3.0/002-case_insensitive.patch | 24 + .../gcc/patches/8.3.0/010-documentation.patch | 35 + .../patches/8.3.0/090-rs6000-PR-89587.patch | 30 + .../patches/8.3.0/110-Fix-MIPS-PR-84790.patch | 20 + .../gcc/patches/8.3.0/230-musl_libssp.patch | 13 + .../300-mips_Os_cpu_rtx_cost_model.patch | 21 + .../8.3.0/800-arm_v5te_no_ldrd_strd.patch | 11 + .../8.3.0/810-arm-softfloat-libgcc.patch | 33 + .../gcc/patches/8.3.0/820-libgcc_pic.patch | 44 + .../8.3.0/840-armv4_pass_fix-v4bx_to_ld.patch | 28 + .../patches/8.3.0/850-use_shared_libgcc.patch | 54 + .../patches/8.3.0/851-libgcc_no_compat.patch | 22 + .../patches/8.3.0/870-ppc_no_crtsavres.patch | 11 + .../gcc/patches/8.3.0/881-no_tm_section.patch | 11 + .../patches/8.3.0/900-bad-mips16-crt.patch | 9 + .../gcc/patches/8.3.0/910-mbsd_multi.patch | 146 + .../8.3.0/920-specs_nonfatal_getenv.patch | 22 + .../8.3.0/930-fix-mips-noexecstack.patch | 111 + ...ibffi-fix-MIPS-softfloat-build-issue.patch | 168 + ...mpilation-when-making-cross-compiler.patch | 67 + toolchain/gdb/Makefile | 68 + .../patches-arc/100-no_extern_inline.patch | 32 + .../gdb/patches-arc/110-no_testsuite.patch | 21 + .../120-fix-compile-flag-mismatch.patch | 11 + .../gdb/patches/100-no_extern_inline.patch | 24 + toolchain/gdb/patches/110-no_testsuite.patch | 21 + .../120-fix-compile-flag-mismatch.patch | 11 + toolchain/glibc/Makefile | 32 + toolchain/glibc/common.mk | 98 + toolchain/glibc/headers/Makefile | 28 + toolchain/glibc/include/libintl.h | 6 + .../patches/001-regex-read-overrun.patch | 26 + .../glibc/patches/100-fix_cross_rpcgen.patch | 52 + .../patches/200-add-dl-search-paths.patch | 14 + toolchain/info.mk | 6 + toolchain/kernel-headers/Makefile | 112 + toolchain/musl/Config.in | 12 + toolchain/musl/Makefile | 31 + toolchain/musl/common.mk | 58 + toolchain/musl/include/bits/wordsize.h | 1 + toolchain/musl/include/features.h | 48 + toolchain/musl/include/sgidefs.h | 73 + toolchain/musl/include/sys/cdefs.h | 378 + toolchain/musl/include/sys/glibc-types.h | 35 + toolchain/musl/include/sys/queue.h | 574 + .../musl/patches/100-add_glob_onlydir.patch | 11 + .../patches/110-read_timezone_from_fs.patch | 28 + .../patches/200-add_libssp_nonshared.patch | 53 + toolchain/musl/patches/300-relative.patch | 11 + ...ribute-to-some-function-declarations.patch | 197 + ...hreads_minus_1-as-relaxed-atomic-for.patch | 69 + .../700-wcsnrtombs-cve-2020-28928.diff | 65 + .../musl/patches/900-iconv_size_hack.patch | 100 + .../musl/patches/901-crypt_size_hack.patch | 75 + toolchain/nasm/Makefile | 53 + toolchain/uClibc/Config.in | 6 + toolchain/uClibc/Makefile | 37 + toolchain/uClibc/common.mk | 97 + toolchain/uClibc/config/arc | 10 + toolchain/uClibc/config/archs | 10 + toolchain/uClibc/config/arm | 9 + toolchain/uClibc/config/armeb | 9 + toolchain/uClibc/config/common | 226 + toolchain/uClibc/config/debug | 6 + toolchain/uClibc/config/i386 | 21 + toolchain/uClibc/config/i686 | 21 + toolchain/uClibc/config/m68k | 6 + toolchain/uClibc/config/mips | 18 + toolchain/uClibc/config/mips64 | 18 + toolchain/uClibc/config/mips64.32 | 19 + toolchain/uClibc/config/mips64.64 | 19 + toolchain/uClibc/config/mips64.n32 | 19 + toolchain/uClibc/config/mips64el | 18 + toolchain/uClibc/config/mips64el.32 | 19 + toolchain/uClibc/config/mips64el.64 | 19 + toolchain/uClibc/config/mips64el.n32 | 19 + toolchain/uClibc/config/mipsel | 18 + toolchain/uClibc/config/mipsel.cobalt | 18 + toolchain/uClibc/config/powerpc | 6 + toolchain/uClibc/config/powerpc.e500 | 6 + toolchain/uClibc/config/sparc | 8 + toolchain/uClibc/config/sparc.leon | 8 + toolchain/uClibc/config/x86_64 | 6 + toolchain/uClibc/headers/Makefile | 27 + toolchain/uClibc/utils/Makefile | 24 + toolchain/wrapper/Makefile | 62 + tools/Makefile | 157 + tools/autoconf/Makefile | 37 + tools/autoconf/patches/000-relocatable.patch | 229 + tools/autoconf/patches/001-no_emacs_lib.patch | 22 + .../patches/002-musl_host_fixup.patch | 24 + tools/automake/Makefile | 51 + tools/automake/files/aclocal | 2 + tools/automake/patches/000-relocatable.patch | 96 + ...clocal-skip-not-existing-directories.patch | 15 + .../200-do-not-override-silent-rules.patch | 13 + tools/b43-tools/Makefile | 50 + tools/b43-tools/files/b43-fwsquash.py | 149 + tools/b43-tools/patches/001-fw-dirname.patch | 16 + tools/b43-tools/patches/002-no_libfl.patch | 14 + tools/bc/Makefile | 21 + tools/bc/patches/001-no_doc.patch | 23 + tools/bison/Makefile | 32 + .../bison/patches/100-fix-gets-removal.patch | 17 + tools/bison/scripts/yacc | 2 + tools/cbootimage-configs/Makefile | 32 + tools/cbootimage/Makefile | 31 + tools/ccache/Makefile | 35 + tools/ccache/files/ccache_cc | 2 + tools/ccache/files/ccache_cxx | 2 + tools/ccache/patches/100-honour-copts.patch | 10 + tools/cmake/Makefile | 50 + .../cmake/patches/100-disable_qt_tests.patch | 34 + .../110-libarchive-fix-libressl-compat.patch | 11 + .../120-curl-fix-libressl-linking.patch | 37 + .../130-bootstrap_parallel_make_flag.patch | 14 + .../patches/140-libarchive-fix-libressl.patch | 25 + tools/coreutils/Makefile | 37 + .../patches/001-fix-macos-vasnprintf.patch | 25 + tools/dosfstools/Makefile | 27 + ..._CHECK_LIB-for-iconv-library-linking.patch | 27 + tools/e2fsprogs/Makefile | 53 + .../001-exit_0_on_corrected_errors.patch | 11 + .../patches/002-dont-build-e4defrag.patch | 11 + tools/e2fsprogs/patches/003-no-crond.patch | 11 + tools/elftosb/Makefile | 26 + tools/elftosb/patches/001-libm.patch | 11 + .../elftosb/patches/002-fix-header-path.patch | 19 + tools/elftosb/patches/003-use-ldflags.patch | 26 + tools/expat/Makefile | 29 + tools/findutils/Makefile | 21 + .../patches/100-include_sysmacros.patch | 13 + .../110-glibc-change-work-around.patch | 104 + tools/firmware-utils/Makefile | 96 + tools/firmware-utils/src/add_header.c | 138 + tools/firmware-utils/src/addpattern.c | 358 + tools/firmware-utils/src/asustrx.c | 256 + tools/firmware-utils/src/bcm_tag.h | 70 + tools/firmware-utils/src/bcmalgo.c | 248 + tools/firmware-utils/src/bcmalgo.h | 83 + tools/firmware-utils/src/buffalo-enc.c | 322 + tools/firmware-utils/src/buffalo-lib.c | 480 + tools/firmware-utils/src/buffalo-lib.h | 141 + tools/firmware-utils/src/buffalo-tag.c | 414 + tools/firmware-utils/src/buffalo-tftp.c | 177 + tools/firmware-utils/src/csysimg.h | 79 + tools/firmware-utils/src/cyg_crc.h | 109 + tools/firmware-utils/src/cyg_crc16.c | 110 + tools/firmware-utils/src/cyg_crc32.c | 172 + tools/firmware-utils/src/dgfirmware.c | 377 + tools/firmware-utils/src/dgn3500sum.c | 166 + tools/firmware-utils/src/dns313-header.c | 239 + tools/firmware-utils/src/edimax_fw_header.c | 386 + tools/firmware-utils/src/encode_crc.c | 151 + tools/firmware-utils/src/fix-u-media-header.c | 354 + tools/firmware-utils/src/fw.h | 78 + tools/firmware-utils/src/hcsmakeimage.c | 203 + tools/firmware-utils/src/imagetag.c | 491 + tools/firmware-utils/src/imagetag.ggo | 46 + tools/firmware-utils/src/imagetag_cmdline.c | 1193 + tools/firmware-utils/src/imagetag_cmdline.h | 275 + tools/firmware-utils/src/jcgimage.c | 437 + tools/firmware-utils/src/lxlfw.c | 282 + tools/firmware-utils/src/lzma2eva.c | 190 + tools/firmware-utils/src/makeamitbin.c | 316 + tools/firmware-utils/src/md5.c | 296 + tools/firmware-utils/src/md5.h | 45 + tools/firmware-utils/src/mkbrncmdline.c | 168 + tools/firmware-utils/src/mkbrnimg.c | 189 + tools/firmware-utils/src/mkbuffaloimg.c | 223 + tools/firmware-utils/src/mkcameofw.c | 433 + tools/firmware-utils/src/mkcasfw.c | 1030 + tools/firmware-utils/src/mkchkimg.c | 341 + tools/firmware-utils/src/mkcsysimg.c | 1157 + tools/firmware-utils/src/mkdapimg.c | 226 + tools/firmware-utils/src/mkdapimg2.c | 204 + tools/firmware-utils/src/mkdhpimg.c | 85 + tools/firmware-utils/src/mkdlinkfw-lib.c | 151 + tools/firmware-utils/src/mkdlinkfw-lib.h | 84 + tools/firmware-utils/src/mkdlinkfw.c | 668 + tools/firmware-utils/src/mkdniimg.c | 208 + tools/firmware-utils/src/mkedimaximg.c | 286 + tools/firmware-utils/src/mkfwimage.c | 545 + tools/firmware-utils/src/mkfwimage2.c | 451 + tools/firmware-utils/src/mkheader_gemtek.c | 211 + tools/firmware-utils/src/mkhilinkfw.c | 323 + tools/firmware-utils/src/mkmerakifw-old.c | 369 + tools/firmware-utils/src/mkmerakifw.c | 320 + tools/firmware-utils/src/mkmylofw.c | 1297 + tools/firmware-utils/src/mkplanexfw.c | 269 + tools/firmware-utils/src/mkporayfw.c | 791 + tools/firmware-utils/src/mkrasimage.c | 460 + tools/firmware-utils/src/mkrtn56uimg.c | 293 + tools/firmware-utils/src/mksenaofw.c | 570 + tools/firmware-utils/src/mksercommfw.c | 261 + tools/firmware-utils/src/mktitanimg.c | 1040 + tools/firmware-utils/src/mktitanimg.h | 171 + tools/firmware-utils/src/mktplinkfw-lib.c | 265 + tools/firmware-utils/src/mktplinkfw-lib.h | 68 + tools/firmware-utils/src/mktplinkfw.c | 642 + tools/firmware-utils/src/mktplinkfw2.c | 646 + tools/firmware-utils/src/mkwrggimg.c | 283 + tools/firmware-utils/src/mkwrgimg.c | 240 + tools/firmware-utils/src/mkzcfw.c | 408 + tools/firmware-utils/src/mkzynfw.c | 1131 + tools/firmware-utils/src/motorola-bin.c | 227 + tools/firmware-utils/src/myloader.h | 176 + tools/firmware-utils/src/nand_ecc.c | 204 + tools/firmware-utils/src/nec-enc.c | 129 + tools/firmware-utils/src/osbridge-crc.c | 309 + tools/firmware-utils/src/oseama.c | 556 + tools/firmware-utils/src/otrx.c | 592 + tools/firmware-utils/src/pc1crypt.c | 361 + tools/firmware-utils/src/ptgen.c | 263 + tools/firmware-utils/src/seama.c | 529 + tools/firmware-utils/src/seama.h | 108 + tools/firmware-utils/src/sha1.c | 443 + tools/firmware-utils/src/sha1.h | 57 + tools/firmware-utils/src/spw303v.c | 242 + tools/firmware-utils/src/srec2bin.c | 524 + tools/firmware-utils/src/tplink-safeloader.c | 2364 + tools/firmware-utils/src/trx.c | 427 + tools/firmware-utils/src/trx2edips.c | 171 + tools/firmware-utils/src/trx2usr.c | 186 + tools/firmware-utils/src/wrt400n.c | 336 + tools/firmware-utils/src/xorimage.c | 167 + tools/firmware-utils/src/zyimage.c | 148 + tools/firmware-utils/src/zynos.h | 225 + tools/firmware-utils/src/zyxbcm.c | 259 + tools/flex/Makefile | 34 + .../flex/patches/100-disable-tests-docs.patch | 13 + ...SE_SYSTEM_EXTENSIONS-in-configure.ac.patch | 27 + tools/flock/Makefile | 25 + tools/flock/src/flock.c | 342 + tools/genext2fs/Makefile | 51 + tools/genext2fs/patches/100-c99_scanf.patch | 21 + tools/genext2fs/patches/200-autoconf.patch | 13 + .../patches/300-blocksize-creator.patch | 558 + .../genext2fs/patches/400-byteswap_fix.patch | 44 + tools/gengetopt/Makefile | 30 + .../gengetopt/patches/100-no-tests-docs.patch | 33 + tools/gmp/Makefile | 35 + tools/include/byteswap.h | 5 + tools/include/elf.h | 3007 + tools/include/endian.h | 40 + tools/include/sys/sysmacros.h | 56 + tools/isl/Makefile | 27 + tools/kernel2minor/Makefile | 29 + tools/libelf/Makefile | 54 + .../900-fix-undefined-macro-access.patch | 198 + tools/libressl/Makefile | 33 + .../patches/001-dont-build-tests-man.patch | 11 + tools/libressl/patches/010-avoid-glibc.patch | 23 + tools/libtool/Makefile | 42 + tools/libtool/files/libtool-v1.5.patch | 118 + tools/libtool/files/libtool-v2.2.patch | 123 + tools/libtool/files/libtool-v2.4.patch | 160 + tools/libtool/patches/000-relocatable.patch | 141 + .../libtool/patches/001-fix-func_append.patch | 22 + tools/libtool/patches/100-libdir-fixes.patch | 94 + ...10-dont-use-target-dir-for-relinking.patch | 20 + .../120-strip-unsafe-dirs-for-relinking.patch | 24 + tools/libtool/patches/150-trailingslash.patch | 49 + .../libtool/patches/160-passthrough-ssp.patch | 12 + .../patches/200-openwrt-branding.patch | 112 + tools/lzma-old/Makefile | 38 + tools/lzma-old/patches/100-lzma_zlib.patch | 404 + tools/lzma-old/patches/110-ranlib.patch | 10 + tools/lzma-old/patches/120-add-cflags.patch | 11 + tools/lzma/Makefile | 36 + tools/lzma/patches/001-large_files.patch | 13 + tools/lzma/patches/002-lzmp.patch | 1059 + tools/lzma/patches/003-compile_fixes.patch | 26 + tools/lzma/patches/100-static_library.patch | 70 + .../101-move-copyright-to-usage-info.patch | 20 + tools/m4/Makefile | 29 + .../m4/patches/001-fix-macos-vasnprintf.patch | 25 + .../010-glibc-change-work-around.patch | 118 + tools/make-ext4fs/Makefile | 28 + tools/missing-macros/Makefile | 28 + tools/missing-macros/src/README | 100 + tools/missing-macros/src/bin/help2man | 29 + tools/missing-macros/src/bin/makeinfo | 112 + tools/missing-macros/src/m4/as-ac-expand.m4 | 43 + .../missing-macros/src/m4/as-compiler-flag.m4 | 62 + .../src/m4/as-unaligned-access.m4 | 41 + tools/missing-macros/src/m4/as-version.m4 | 71 + tools/missing-macros/src/m4/dnet.m4 | 322 + .../src/m4/fake-gtk-doc-check.m4 | 13 + tools/missing-macros/src/m4/fake-intltool.m4 | 16 + tools/missing-macros/src/m4/glibc2.m4 | 30 + tools/missing-macros/src/m4/glibc21.m4 | 30 + tools/missing-macros/src/m4/intdiv0.m4 | 84 + tools/missing-macros/src/m4/intmax.m4 | 33 + tools/missing-macros/src/m4/inttypes-pri.m4 | 36 + tools/missing-macros/src/m4/inttypes_h.m4 | 26 + tools/missing-macros/src/m4/lib-ld.m4 | 110 + tools/missing-macros/src/m4/lib-link.m4 | 774 + tools/missing-macros/src/m4/lib-prefix.m4 | 224 + tools/missing-macros/src/m4/mfx_acc.m4 | 163 + tools/missing-macros/src/m4/mfx_cppflags.m4 | 41 + tools/missing-macros/src/m4/mfx_limits.m4 | 154 + tools/missing-macros/src/m4/progtest.m4 | 92 + tools/missing-macros/src/m4/stdint_h.m4 | 26 + tools/missing-macros/src/m4/uintmax_t.m4 | 30 + tools/missing-macros/src/m4/va_copy.m4 | 111 + tools/missing-macros/src/m4/wint_t.m4 | 28 + tools/mkimage/Makefile | 46 + .../patches/010-freebsd-ulong-fix.patch | 13 + .../patches/020-include_compile_fix.patch | 10 + .../030-allow-to-use-different-magic.patch | 69 + .../patches/050-image_h_portability.patch | 31 + .../patches/060-remove_kernel_includes.patch | 34 + .../patches/080-remove_compiler_check.patch | 16 + .../mkimage/patches/100-freebsd-compat.patch | 14 + ...00-rsa-sign-add-support-for-libressl.patch | 68 + .../patches/210-link-libcrypto-static.patch | 14 + tools/mklibs/Makefile | 34 + tools/mklibs/include/elf.h | 2559 + tools/mklibs/patches/001-compile.patch | 8 + .../patches/002-disable_symbol_checks.patch | 20 + tools/mklibs/patches/003-no_copy.patch | 50 + .../mklibs/patches/004-libpthread_link.patch | 28 + tools/mklibs/patches/005-duplicate_syms.patch | 35 + tools/mklibs/patches/006-uclibc_init.patch | 14 + tools/mklibs/patches/007-gc_sections.patch | 11 + .../patches/008-uclibc_libgcc_link.patch | 37 + .../009-uclibc_libpthread_symbols.patch | 63 + .../patches/010-remove_STT_GNU_IFUNC.patch | 20 + .../mklibs/patches/011-remove_multiarch.patch | 10 + tools/mm-macros/Makefile | 31 + tools/mpc/Makefile | 28 + tools/mpfr/Makefile | 28 + tools/mpfr/patches/001-only_src.patch | 22 + tools/mpfr/patches/100-freebsd-compat.patch | 10 + tools/mtd-utils/Makefile | 55 + tools/mtd-utils/include/fls.h | 2 + tools/mtd-utils/include/linux/types.h | 18 + tools/mtd-utils/patches/100-sscanf_fix.patch | 11 + tools/mtd-utils/patches/110-portability.patch | 175 + tools/mtd-utils/patches/130-lzma_jffs2.patch | 5033 + .../patches/134-freebsd_loff_t.patch | 14 + ...add-ubigen_write_terminator-function.patch | 89 + .../201-ubinize-add-terminator-support.patch | 68 + .../320-mkfs.jffs2-SOURCE_DATE_EPOCH.patch | 60 + tools/mtools/Makefile | 39 + tools/padjffs2/Makefile | 36 + tools/padjffs2/src/Makefile | 15 + tools/padjffs2/src/padjffs2.c | 210 + tools/patch-image/Makefile | 28 + tools/patch-image/src/patch-cmdline.c | 85 + tools/patch-image/src/patch-dtb.c | 103 + tools/patch/Makefile | 25 + tools/patch/patches/010-CVE-2018-6951.patch | 24 + .../patch/patches/020-CVE-2018-1000156.patch | 142 + tools/patch/patches/030-CVE-2018-6952.patch | 25 + ...rror-handling-with-git-style-patches.patch | 53 + tools/patch/patches/050-CVE-2019-13636.patch | 108 + tools/patch/patches/060-CVE-2019-13638.patch | 38 + tools/patchelf/Makefile | 26 + tools/pkg-config/Makefile | 39 + tools/pkg-config/files/pkg-config | 3 + tools/qemu/Makefile | 45 + tools/quilt/Makefile | 36 + tools/quilt/patches/000-relocatable.patch | 170 + tools/quilt/patches/001-fix_compile.patch | 18 + tools/scons/Makefile | 35 + tools/scons/files/pywrap.sh | 15 + tools/scons/patches/001-platform_env.patch | 11 + tools/sdimage/Makefile | 34 + .../sdimage/patches/100-deactivate-ufb.patch | 13 + tools/sed/Makefile | 46 + tools/sparse/Makefile | 24 + tools/squashfs/Makefile | 41 + tools/squashfs/patches/100-lzma.patch | 22 + .../patches/110-no_nonstatic_inline.patch | 11 + .../120-add-fixed-timestamp-support.patch | 79 + .../patches/130-include_sysmacros.patch | 20 + tools/squashfs/patches/140-gcc-10-fix.patch | 25 + tools/squashfskit4/Makefile | 41 + .../patches/0001-fix-version.sh.patch | 21 + ...002-fix-build-failure-against-gcc-10.patch | 43 + tools/sstrip/Makefile | 25 + tools/sstrip/src/sstrip.c | 466 + tools/tar/Makefile | 31 + .../patches/100-symlink-force-root-name.patch | 27 + .../110-symlink-force-permissions.patch | 10 + tools/upslug2/Makefile | 25 + tools/upslug2/patches/100-libpcap_fix.patch | 153 + tools/wrt350nv2-builder/Makefile | 41 + tools/wrt350nv2-builder/src/crypt.h | 132 + tools/wrt350nv2-builder/src/ioapi.c | 177 + tools/wrt350nv2-builder/src/ioapi.h | 75 + tools/wrt350nv2-builder/src/md5.c | 381 + tools/wrt350nv2-builder/src/md5.h | 91 + tools/wrt350nv2-builder/src/upgrade.h | 77 + .../wrt350nv2-builder/src/wrt350nv2-builder.c | 1126 + tools/xz/Makefile | 35 + tools/zip/Makefile | 36 + ...e-borrow-the-LFS-test-from-autotools.patch | 89 + .../004-do-not-set-unwanted-cflags.patch | 15 + ...k-markings-to-avoid-executable-stack.patch | 21 + .../007-fclose-in-file-not-fclose-x.patch | 16 + .../patches/008-hardening-build-fix-1.patch | 25 + .../patches/009-hardening-build-fix-2.patch | 16 + tools/zip/patches/010-remove-build-date.patch | 15 + ...add-option-for-reproducible-archives.patch | 145 + tools/zlib/Makefile | 41 + .../900-overridable-pc-exec-prefix.patch | 14 + 6949 files changed, 1441681 insertions(+) create mode 100644 .gitattributes create mode 100644 .github/issue_template create mode 100644 .github/pull_request_template create mode 100644 .gitignore create mode 100644 BSDmakefile create mode 100644 Config.in create mode 100644 LICENSE create mode 100644 Makefile create mode 100644 README create mode 100644 config/Config-build.in create mode 100644 config/Config-devel.in create mode 100644 config/Config-images.in create mode 100644 config/Config-kernel.in create mode 100644 feeds.conf.default create mode 100644 include/autotools.mk create mode 100644 include/cmake.mk create mode 100644 include/debug.mk create mode 100644 include/depends.mk create mode 100644 include/device_table.txt create mode 100644 include/download.mk create mode 100644 include/feeds.mk create mode 100644 include/hardened-ld-pie.specs create mode 100644 include/hardening.mk create mode 100644 include/host-build.mk create mode 100644 include/image-commands.mk create mode 100644 include/image-legacy.mk create mode 100644 include/image.mk create mode 100644 include/kernel-build.mk create mode 100644 include/kernel-defaults.mk create mode 100644 include/kernel-version.mk create mode 100644 include/kernel.mk create mode 100644 include/netfilter.mk create mode 100644 include/nls.mk create mode 100644 include/package-bin.mk create mode 100644 include/package-defaults.mk create mode 100644 include/package-dumpinfo.mk create mode 100644 include/package-ipkg.mk create mode 100644 include/package-seccomp.mk create mode 100644 include/package.mk create mode 100644 include/prereq-build.mk create mode 100644 include/prereq.mk create mode 100644 include/quilt.mk create mode 100644 include/rootfs.mk create mode 100644 include/scan.awk create mode 100644 include/scan.mk create mode 100644 include/scons.mk create mode 100644 include/shell.sh create mode 100644 include/site/aarch64 create mode 100644 include/site/aarch64_be create mode 100644 include/site/arc create mode 100644 include/site/arm create mode 100644 include/site/armeb create mode 100644 include/site/darwin create mode 100644 include/site/i386 create mode 100644 include/site/i486 create mode 100644 include/site/i686 create mode 100644 include/site/linux create mode 100644 include/site/m68k create mode 100644 include/site/mips create mode 100644 include/site/mips64 create mode 100644 include/site/mips64el create mode 100644 include/site/mipsel create mode 100644 include/site/powerpc create mode 100644 include/site/powerpc64 create mode 100644 include/site/sparc create mode 100644 include/site/x86_64 create mode 100644 include/subdir.mk create mode 100644 include/target.mk create mode 100644 include/toolchain-build.mk create mode 100644 include/toplevel.mk create mode 100644 include/u-boot.mk create mode 100644 include/uclibc++.mk create mode 100644 include/unpack.mk create mode 100644 include/verbose.mk create mode 100644 include/version.mk create mode 100644 package/Makefile create mode 100644 package/base-files/Makefile create mode 100755 package/base-files/files/bin/board_detect create mode 100755 package/base-files/files/bin/config_generate create mode 100755 package/base-files/files/bin/ipcalc.sh create mode 100644 package/base-files/files/etc/banner create mode 100644 package/base-files/files/etc/banner.failsafe create mode 100755 package/base-files/files/etc/board.d/99-default_network create mode 100644 package/base-files/files/etc/device_info create mode 100644 package/base-files/files/etc/diag.sh create mode 100644 package/base-files/files/etc/ethers create mode 100644 package/base-files/files/etc/fstab create mode 100644 package/base-files/files/etc/group create mode 100644 package/base-files/files/etc/hosts create mode 100644 package/base-files/files/etc/hotplug.d/net/00-sysctl create mode 100755 package/base-files/files/etc/init.d/boot create mode 100755 package/base-files/files/etc/init.d/done create mode 100755 package/base-files/files/etc/init.d/gpio_switch create mode 100755 package/base-files/files/etc/init.d/led create mode 100755 package/base-files/files/etc/init.d/sysctl create mode 100755 package/base-files/files/etc/init.d/sysfixtime create mode 100755 package/base-files/files/etc/init.d/system create mode 100755 package/base-files/files/etc/init.d/umount create mode 100644 package/base-files/files/etc/inittab create mode 100644 package/base-files/files/etc/iproute2/ematch_map create mode 100644 package/base-files/files/etc/iproute2/rt_protos create mode 100644 package/base-files/files/etc/iproute2/rt_tables create mode 100644 package/base-files/files/etc/openwrt_release create mode 100644 package/base-files/files/etc/openwrt_version create mode 120000 package/base-files/files/etc/os-release create mode 100644 package/base-files/files/etc/passwd create mode 100755 package/base-files/files/etc/preinit create mode 100644 package/base-files/files/etc/profile create mode 100644 package/base-files/files/etc/protocols create mode 100755 package/base-files/files/etc/rc.button/failsafe create mode 100755 package/base-files/files/etc/rc.button/power create mode 100755 package/base-files/files/etc/rc.button/reboot create mode 100755 package/base-files/files/etc/rc.button/reset create mode 100755 package/base-files/files/etc/rc.button/rfkill create mode 100755 package/base-files/files/etc/rc.common create mode 100644 package/base-files/files/etc/rc.local create mode 100644 package/base-files/files/etc/services create mode 100644 package/base-files/files/etc/shadow create mode 100644 package/base-files/files/etc/shells create mode 100644 package/base-files/files/etc/sysctl.conf create mode 100644 package/base-files/files/etc/sysctl.d/10-default.conf create mode 100644 package/base-files/files/etc/sysupgrade.conf create mode 100644 package/base-files/files/etc/uci-defaults/10_migrate-shadow create mode 100644 package/base-files/files/etc/uci-defaults/12_network-generate-ula create mode 100644 package/base-files/files/etc/uci-defaults/13_fix_group_user create mode 100755 package/base-files/files/lib/functions.sh create mode 100644 package/base-files/files/lib/functions/leds.sh create mode 100644 package/base-files/files/lib/functions/migrations.sh create mode 100644 package/base-files/files/lib/functions/network.sh create mode 100644 package/base-files/files/lib/functions/preinit.sh create mode 100644 package/base-files/files/lib/functions/service.sh create mode 100644 package/base-files/files/lib/functions/system.sh create mode 100755 package/base-files/files/lib/functions/uci-defaults.sh create mode 100644 package/base-files/files/lib/preinit/02_default_set_state create mode 100644 package/base-files/files/lib/preinit/02_sysinfo create mode 100644 package/base-files/files/lib/preinit/10_indicate_failsafe create mode 100644 package/base-files/files/lib/preinit/10_indicate_preinit create mode 100644 package/base-files/files/lib/preinit/30_failsafe_wait create mode 100644 package/base-files/files/lib/preinit/40_run_failsafe_hook create mode 100644 package/base-files/files/lib/preinit/50_indicate_regular_preinit create mode 100644 package/base-files/files/lib/preinit/70_initramfs_test create mode 100644 package/base-files/files/lib/preinit/80_mount_root create mode 100644 package/base-files/files/lib/preinit/99_10_failsafe_login create mode 100644 package/base-files/files/lib/preinit/99_10_run_init create mode 100644 package/base-files/files/lib/upgrade/common.sh create mode 100755 package/base-files/files/lib/upgrade/do_stage2 create mode 100644 package/base-files/files/lib/upgrade/fwtool.sh create mode 100644 package/base-files/files/lib/upgrade/keep.d/base-files-essential create mode 100644 package/base-files/files/lib/upgrade/nand.sh create mode 100755 package/base-files/files/lib/upgrade/stage2 create mode 100644 package/base-files/files/rom/note create mode 100755 package/base-files/files/sbin/firstboot create mode 100755 package/base-files/files/sbin/hotplug-call create mode 100755 package/base-files/files/sbin/led.sh create mode 100755 package/base-files/files/sbin/pkg_check create mode 100755 package/base-files/files/sbin/sysupgrade create mode 100755 package/base-files/files/sbin/wifi create mode 100644 package/base-files/files/usr/lib/os-release create mode 100755 package/base-files/files/usr/libexec/login.sh create mode 100755 package/base-files/files/usr/libexec/validate_firmware_image create mode 100644 package/base-files/image-config.in create mode 100644 package/boot/apex/Makefile create mode 100644 package/boot/apex/patches/001-compile_fix.patch create mode 100644 package/boot/apex/patches/100-openwrt_nslu2_armeb_config.patch create mode 100644 package/boot/apex/patches/120-openwrt_nslu2_16mb_armeb_config.patch create mode 100644 package/boot/apex/patches/140-openwrt_fsg3_armeb_config.patch create mode 100644 package/boot/apex/patches/150-limit_ram_to_64mb.patch create mode 100644 package/boot/apex/patches/160-openwrt_nas100d_armeb_config.patch create mode 100644 package/boot/arm-trusted-firmware-sunxi/Makefile create mode 100644 package/boot/at91bootstrap/Makefile create mode 100644 package/boot/at91bootstrap/at91bootstrap.mk create mode 100644 package/boot/fconfig/Makefile create mode 100644 package/boot/grub2/Makefile create mode 100644 package/boot/grub2/patches/0008-Fix-packed-not-aligned-error-on-GCC-8.patch create mode 100644 package/boot/grub2/patches/100-grub_setup_root.patch create mode 100644 package/boot/grub2/patches/101-disable-gettext-check-macro-version.patch create mode 100644 package/boot/grub2/patches/200-fix-gets-removal.patch create mode 100644 package/boot/grub2/patches/300-CVE-2015-8370.patch create mode 100644 package/boot/grub2/patches/400-R_X86_64_PLT32.patch create mode 100644 package/boot/imx-bootlets/Makefile create mode 100644 package/boot/imx-bootlets/patches/001-skip_sb_generation.patch create mode 100644 package/boot/imx-bootlets/patches/002-set_elftosb_config.patch create mode 100644 package/boot/imx-bootlets/patches/003-add-olinuxino.patch create mode 100644 package/boot/kexec-tools/Config.in create mode 100644 package/boot/kexec-tools/Makefile create mode 100644 package/boot/kexec-tools/files/kdump.config create mode 100644 package/boot/kexec-tools/files/kdump.defaults create mode 100755 package/boot/kexec-tools/files/kdump.init create mode 100644 package/boot/kobs-ng/Makefile create mode 100644 package/boot/kobs-ng/patches/001-compile.patch create mode 100644 package/boot/kobs-ng/patches/002-add-init-size-param.patch create mode 100644 package/boot/kobs-ng/patches/003-raw-mode.patch create mode 100644 package/boot/kobs-ng/patches/004-fix-cal_nfc_geometry.patch create mode 100644 package/boot/rbcfg/Makefile create mode 100644 package/boot/rbcfg/src/Makefile create mode 100644 package/boot/rbcfg/src/cyg_crc.h create mode 100644 package/boot/rbcfg/src/cyg_crc32.c create mode 100644 package/boot/rbcfg/src/main.c create mode 100644 package/boot/rbcfg/src/rbcfg.h create mode 100644 package/boot/tfa-layerscape/Makefile create mode 100644 package/boot/tfa-layerscape/patches/001-fiptool-hostbuild-fixes.patch create mode 100644 package/boot/tfa-layerscape/patches/002-plat-nxp-tools-fix-a-makefile-bug-that-will-use-defa.patch create mode 100644 package/boot/tfa-layerscape/patches/003-plat-nxp-tools-fix-create_pbl-and-byte_swap-host-bui.patch create mode 100644 package/boot/uboot-ar71xx/Makefile create mode 100644 package/boot/uboot-ar71xx/patches/0001-upstream-Reproducible-U-Boot-build-support-using-SOURCE_DATE_.patch create mode 100644 package/boot/uboot-ar71xx/patches/0002-upstream-Makefile-Reproducible-U-Boot-build-support.patch create mode 100644 package/boot/uboot-ar71xx/patches/001-ar71xx.patch create mode 100644 package/boot/uboot-ar71xx/patches/002-ar71xx-spi.patch create mode 100644 package/boot/uboot-ar71xx/patches/010-enet-ag71xx.patch create mode 100644 package/boot/uboot-ar71xx/patches/011-switch-rtl8366sr.patch create mode 100644 package/boot/uboot-ar71xx/patches/020-freebsd-compat.patch create mode 100644 package/boot/uboot-ar71xx/patches/021-darwin_compat.patch create mode 100644 package/boot/uboot-ar71xx/patches/022-getline_backport.patch create mode 100644 package/boot/uboot-ar71xx/patches/023-musl-compat.patch create mode 100644 package/boot/uboot-ar71xx/patches/030-no_examples.patch create mode 100644 package/boot/uboot-ar71xx/patches/040-no_extern_inline.patch create mode 100644 package/boot/uboot-ar71xx/patches/041-no_weak_alias.patch create mode 100644 package/boot/uboot-ar71xx/src/board/zyxel/nbg460n/Makefile create mode 100644 package/boot/uboot-ar71xx/src/board/zyxel/nbg460n/config.mk create mode 100644 package/boot/uboot-ar71xx/src/board/zyxel/nbg460n/lowlevel_init.S create mode 100644 package/boot/uboot-ar71xx/src/board/zyxel/nbg460n/nbg460n.c create mode 100644 package/boot/uboot-ar71xx/src/board/zyxel/nbg460n/u-boot.lds create mode 100644 package/boot/uboot-ar71xx/src/cpu/mips/ar71xx_serial.c create mode 100644 package/boot/uboot-ar71xx/src/drivers/net/ag71xx.c create mode 100644 package/boot/uboot-ar71xx/src/drivers/net/ag71xx.h create mode 100644 package/boot/uboot-ar71xx/src/drivers/net/phy/rtl8366.h create mode 100644 package/boot/uboot-ar71xx/src/drivers/net/phy/rtl8366_mii.c create mode 100644 package/boot/uboot-ar71xx/src/drivers/spi/ar71xx_spi.c create mode 100644 package/boot/uboot-ar71xx/src/include/asm-mips/ar71xx.h create mode 100644 package/boot/uboot-ar71xx/src/include/asm-mips/ar71xx_gpio.h create mode 100644 package/boot/uboot-ar71xx/src/include/configs/nbg460n.h create mode 100644 package/boot/uboot-at91/Makefile create mode 100644 package/boot/uboot-envtools/Makefile create mode 100644 package/boot/uboot-envtools/files/apm821xx create mode 100644 package/boot/uboot-envtools/files/ar71xx create mode 100644 package/boot/uboot-envtools/files/ath79 create mode 100644 package/boot/uboot-envtools/files/cns3xxx create mode 100644 package/boot/uboot-envtools/files/imx6 create mode 100644 package/boot/uboot-envtools/files/ipq40xx create mode 100644 package/boot/uboot-envtools/files/ipq806x create mode 100644 package/boot/uboot-envtools/files/kirkwood create mode 100644 package/boot/uboot-envtools/files/lantiq create mode 100644 package/boot/uboot-envtools/files/layerscape create mode 100644 package/boot/uboot-envtools/files/mpc85xx create mode 100644 package/boot/uboot-envtools/files/mvebu create mode 100644 package/boot/uboot-envtools/files/mxs create mode 100644 package/boot/uboot-envtools/files/oxnas create mode 100644 package/boot/uboot-envtools/files/pistachio create mode 100644 package/boot/uboot-envtools/files/ramips create mode 100644 package/boot/uboot-envtools/files/uboot-envtools.sh create mode 100644 package/boot/uboot-envtools/patches/001-compile.patch create mode 100644 package/boot/uboot-fritz4040/Makefile create mode 100644 package/boot/uboot-imx6/Makefile create mode 100644 package/boot/uboot-imx6/patches/0001-imx6-apalis-Make-the-boot-process-more-generic.patch create mode 100644 package/boot/uboot-imx6/patches/100-wandboard-enable-fit.patch create mode 100644 package/boot/uboot-imx6/patches/110-mx6cuboxi-mmc-fallback.patch create mode 100644 package/boot/uboot-kirkwood/Makefile create mode 100644 package/boot/uboot-kirkwood/patches/001-ARM-kirkwood-disable-dcache-for-Kirkwood-boards.patch create mode 100644 package/boot/uboot-kirkwood/patches/007-nsa310-uboot-generic.patch create mode 100644 package/boot/uboot-kirkwood/patches/008-nsa325-uboot-generic.patch create mode 100644 package/boot/uboot-kirkwood/patches/010-pogoplug_v4.patch create mode 100644 package/boot/uboot-kirkwood/patches/110-dockstar.patch create mode 100644 package/boot/uboot-kirkwood/patches/120-iconnect.patch create mode 100644 package/boot/uboot-kirkwood/patches/130-ib62x0.patch create mode 100644 package/boot/uboot-kirkwood/patches/140-pogoplug_e02.patch create mode 100644 package/boot/uboot-kirkwood/patches/150-goflexhome.patch create mode 100644 package/boot/uboot-kirkwood/patches/200-openwrt-config.patch create mode 100644 package/boot/uboot-lantiq/Makefile create mode 100644 package/boot/uboot-lantiq/README create mode 100644 package/boot/uboot-lantiq/patches/0001-sf-fix-out-of-order-calls-for-spi_claim_bus-and-spi_.patch create mode 100644 package/boot/uboot-lantiq/patches/0002-sf-consistently-use-debug-for-warning-error-messages.patch create mode 100644 package/boot/uboot-lantiq/patches/0003-sf-move-malloc-of-spi_flash-to-spi_flash_probe.patch create mode 100644 package/boot/uboot-lantiq/patches/0004-sf-add-slim-probe-funtions-for-SPL.patch create mode 100644 package/boot/uboot-lantiq/patches/0005-sf-make-calculatiom-of-address-bytes-completely-conf.patch create mode 100644 package/boot/uboot-lantiq/patches/0006-sf-add-support-for-4-byte-addressing.patch create mode 100644 package/boot/uboot-lantiq/patches/0007-sf-add-support-for-EN25QH256.patch create mode 100644 package/boot/uboot-lantiq/patches/0008-sf-fix-sector-layout-of-S25FL256S_256K-and-S25FL512S.patch create mode 100644 package/boot/uboot-lantiq/patches/0009-net-switchlib-add-framework-for-ethernet-switch-driv.patch create mode 100644 package/boot/uboot-lantiq/patches/0010-net-switchlib-add-driver-for-Lantiq-PSB697X-switch-f.patch create mode 100644 package/boot/uboot-lantiq/patches/0011-net-switchlib-add-driver-for-Lantiq-ADM6996I-switch-.patch create mode 100644 package/boot/uboot-lantiq/patches/0012-net-switchlib-add-driver-for-Atheros-AR8216.patch create mode 100644 package/boot/uboot-lantiq/patches/0013-net-switchlib-add-driver-for-REALTEK-RTL8306.patch create mode 100644 package/boot/uboot-lantiq/patches/0014-MIPS-add-support-for-Lantiq-XWAY-SoCs.patch create mode 100644 package/boot/uboot-lantiq/patches/0015-MIPS-lantiq-add-support-for-Lantiq-XWAY-ARX100-SoC-f.patch create mode 100644 package/boot/uboot-lantiq/patches/0016-net-add-driver-for-Lantiq-XWAY-ARX100-switch.patch create mode 100644 package/boot/uboot-lantiq/patches/0017-tools-add-some-helper-tools-for-Lantiq-SoCs.patch create mode 100644 package/boot/uboot-lantiq/patches/0018-tools-lantiq-add-NAND-SPL-support.patch create mode 100644 package/boot/uboot-lantiq/patches/0019-Makefile-add-Lantiq-NAND-SPL-images.patch create mode 100644 package/boot/uboot-lantiq/patches/0020-MIPS-lantiq-add-NAND-SPL-support.patch create mode 100644 package/boot/uboot-lantiq/patches/0021-MIPS-vrx200-add-NAND-SPL-support.patch create mode 100644 package/boot/uboot-lantiq/patches/0022-MIPS-lantiq-add-default-openwrt-config.patch create mode 100644 package/boot/uboot-lantiq/patches/0023-lzma-fixup.patch create mode 100644 package/boot/uboot-lantiq/patches/0024-Makefile-prepare-u-boot-lantiq-v2013.10-openwrt4.patch create mode 100644 package/boot/uboot-lantiq/patches/0025-arx100-cgu-fixes.patch create mode 100644 package/boot/uboot-lantiq/patches/0026-no_extern_inline.patch create mode 100644 package/boot/uboot-lantiq/patches/0027-no_weak_alias.patch create mode 100644 package/boot/uboot-lantiq/patches/0028-gcc-compat.patch create mode 100644 package/boot/uboot-lantiq/patches/0029-net-Use_packed_structures-for_networking.patch create mode 100644 package/boot/uboot-lantiq/patches/0100-MIPS-add-board-support-for-Easy-50712.patch create mode 100644 package/boot/uboot-lantiq/patches/0101-MIPS-add-board-support-for-Easy-80920.patch create mode 100644 package/boot/uboot-lantiq/patches/0102-MIPS-add-board-support-for-Arcadyan-ARV4519PW.patch create mode 100644 package/boot/uboot-lantiq/patches/0103-MIPS-add-board-support-for-Arcadyan-ARV7518PW.patch create mode 100644 package/boot/uboot-lantiq/patches/0104-MIPS-add-board-support-for-AudioCodes-MP-252.patch create mode 100644 package/boot/uboot-lantiq/patches/0105-MIPS-add-board-support-for-AVM-FritzBox-3370.patch create mode 100644 package/boot/uboot-lantiq/patches/0106-MIPS-add-board-support-for-Gigaset-SX76X.patch create mode 100644 package/boot/uboot-lantiq/patches/0107-MIPS-add-board-support-for-ZyXEL-P-2812HNU-Fx.patch create mode 100644 package/boot/uboot-lantiq/patches/0108-MIPS-add-board-support-for-Arcadyan-ARV752DPW.patch create mode 100644 package/boot/uboot-lantiq/patches/0109-MIPS-add-board-support-for-Arcadyan-ARV752DPW22.patch create mode 100644 package/boot/uboot-lantiq/patches/0110-MIPS-add-board-support-for-Arcadyan-ARV7510PW.patch create mode 100644 package/boot/uboot-lantiq/patches/0111-MIPS-add-board-support-for-Arcadyan-ARV7510PW22.patch create mode 100644 package/boot/uboot-lantiq/patches/0112-MIPS-add-board-support-for-Arcadyan-VGV7510KW22.patch create mode 100644 package/boot/uboot-lantiq/patches/0113-MIPS-add-board-support-for-Arcadyan-ARV8539PW22.patch create mode 100644 package/boot/uboot-lantiq/patches/0114-MIPS-add-board-support-for-Arcadyan-VGV7519.patch create mode 100644 package/boot/uboot-lantiq/patches/0115-MIPS-add-board-support-for-Arcadyan-ARV7506PW11.patch create mode 100644 package/boot/uboot-lantiq/patches/0116-MIPS-add-board-support-for-BT-Home-Hub-5A.patch create mode 100644 package/boot/uboot-lantiq/patches/100-portability.patch create mode 100644 package/boot/uboot-lantiq/patches/200-fix-dtc-header-guard.patch create mode 100644 package/boot/uboot-layerscape/Makefile create mode 100644 package/boot/uboot-layerscape/files/ls1012afrwy-uEnv.txt create mode 100644 package/boot/uboot-layerscape/files/ls1012ardb-uEnv.txt create mode 100644 package/boot/uboot-layerscape/files/ls1021aiot-sdboot-uEnv.txt create mode 100644 package/boot/uboot-layerscape/files/ls1021atwr-sdboot-uEnv.txt create mode 100644 package/boot/uboot-layerscape/files/ls1021atwr-uEnv.txt create mode 100644 package/boot/uboot-layerscape/files/ls1043ardb-sdboot-uEnv.txt create mode 100644 package/boot/uboot-layerscape/files/ls1043ardb-uEnv.txt create mode 100644 package/boot/uboot-layerscape/files/ls1046ardb-sdboot-uEnv.txt create mode 100644 package/boot/uboot-layerscape/files/ls1046ardb-uEnv.txt create mode 100644 package/boot/uboot-layerscape/files/ls1088ardb-sdboot-uEnv.txt create mode 100644 package/boot/uboot-layerscape/files/ls1088ardb-uEnv.txt create mode 100644 package/boot/uboot-layerscape/files/ls2088ardb-uEnv.txt create mode 100644 package/boot/uboot-layerscape/patches/0001-modify-macro-QSPI_NOR_BOOTCOMMAND-of-ls1046ardb-for-.patch create mode 100644 package/boot/uboot-layerscape/patches/0002-modify-macro-QSPI_NOR_BOOTCOMMAND-of-ls1012afrwy-for.patch create mode 100644 package/boot/uboot-layerscape/patches/0003-modify-macro-QSPI_NOR_BOOTCOMMAND-of-ls1012ardb-for-.patch create mode 100644 package/boot/uboot-mvebu/Makefile create mode 100644 package/boot/uboot-mvebu/patches/210-link-libcrypto-static.patch create mode 100644 package/boot/uboot-mxs/Makefile create mode 100644 package/boot/uboot-mxs/patches/001-add-i2se-duckbill.patch create mode 100644 package/boot/uboot-mxs/patches/210-link-libcrypto-static.patch create mode 100644 package/boot/uboot-omap/Makefile create mode 100644 package/boot/uboot-omap/files/uEnv-default.txt create mode 100644 package/boot/uboot-omap/patches/101-disable-thumb-omap3.patch create mode 100644 package/boot/uboot-omap/patches/102-minify-spl.patch create mode 100644 package/boot/uboot-omap/patches/103-disable-fat-write-spl.patch create mode 100644 package/boot/uboot-omap/patches/104-omap3-overo-enable-thumb.patch create mode 100644 package/boot/uboot-omap/patches/105-serial-ns16550-bugfix-ns16550-fifo-not-enabled.patch create mode 100644 package/boot/uboot-omap/patches/106-backport-from-upstream-b08c8c4870831c9315dcae2377722.patch create mode 100644 package/boot/uboot-omap/patches/107-tools-include-necessary-headers-explicitly.patch create mode 100644 package/boot/uboot-oxnas/Makefile create mode 100644 package/boot/uboot-oxnas/patches/010-capacity-is-unsigned.patch create mode 100644 package/boot/uboot-oxnas/patches/020-socfpgaimage_portability.patch create mode 100644 package/boot/uboot-oxnas/patches/150-spl-block.patch create mode 100644 package/boot/uboot-oxnas/patches/200-icplus-phy.patch create mode 100644 package/boot/uboot-oxnas/patches/300-oxnas-target.patch create mode 100644 package/boot/uboot-oxnas/patches/400-gcc-5-compiler.patch create mode 100644 package/boot/uboot-oxnas/patches/410-gcc-6-compiler.patch create mode 100644 package/boot/uboot-oxnas/patches/420-gcc-7-compiler.patch create mode 100644 package/boot/uboot-oxnas/patches/800-fix-bootm-assertion.patch create mode 100644 package/boot/uboot-oxnas/src/arch/arm/cpu/arm1136/nas782x/Makefile create mode 100644 package/boot/uboot-oxnas/src/arch/arm/cpu/arm1136/nas782x/clock.c create mode 100644 package/boot/uboot-oxnas/src/arch/arm/cpu/arm1136/nas782x/pinmux.c create mode 100644 package/boot/uboot-oxnas/src/arch/arm/cpu/arm1136/nas782x/reset.c create mode 100644 package/boot/uboot-oxnas/src/arch/arm/cpu/arm1136/nas782x/timer.c create mode 100644 package/boot/uboot-oxnas/src/arch/arm/include/asm/arch-nas782x/clock.h create mode 100644 package/boot/uboot-oxnas/src/arch/arm/include/asm/arch-nas782x/cpu.h create mode 100644 package/boot/uboot-oxnas/src/arch/arm/include/asm/arch-nas782x/hardware.h create mode 100644 package/boot/uboot-oxnas/src/arch/arm/include/asm/arch-nas782x/pinmux.h create mode 100644 package/boot/uboot-oxnas/src/arch/arm/include/asm/arch-nas782x/spl.h create mode 100644 package/boot/uboot-oxnas/src/arch/arm/include/asm/arch-nas782x/sysctl.h create mode 100644 package/boot/uboot-oxnas/src/arch/arm/include/asm/arch-nas782x/timer.h create mode 100644 package/boot/uboot-oxnas/src/board/ox820/Kconfig create mode 100644 package/boot/uboot-oxnas/src/board/ox820/MAINTAINERS create mode 100644 package/boot/uboot-oxnas/src/board/ox820/Makefile create mode 100755 package/boot/uboot-oxnas/src/board/ox820/ddr.c create mode 100644 package/boot/uboot-oxnas/src/board/ox820/ddr.h create mode 100644 package/boot/uboot-oxnas/src/board/ox820/lowlevel_init.S create mode 100644 package/boot/uboot-oxnas/src/board/ox820/ox820.c create mode 100644 package/boot/uboot-oxnas/src/board/ox820/spl_start.S create mode 100644 package/boot/uboot-oxnas/src/board/ox820/u-boot-spl.lds create mode 100644 package/boot/uboot-oxnas/src/common/env_ext4.c create mode 100644 package/boot/uboot-oxnas/src/common/spl/spl_block.c create mode 100644 package/boot/uboot-oxnas/src/configs/ox820_defconfig create mode 100644 package/boot/uboot-oxnas/src/drivers/block/plxsata_ide.c create mode 100644 package/boot/uboot-oxnas/src/drivers/usb/host/ehci-oxnas.c create mode 100644 package/boot/uboot-oxnas/src/include/configs/ox820.h create mode 100644 package/boot/uboot-oxnas/src/tools/mkox820crc.c create mode 100644 package/boot/uboot-sunxi/Makefile create mode 100644 package/boot/uboot-sunxi/patches/002-add-olimex-a13-som.patch create mode 100644 package/boot/uboot-sunxi/patches/003-add-theobroma-a31-pangolin.patch create mode 100644 package/boot/uboot-sunxi/patches/062-A20-improve-gmac-upload.patch create mode 100644 package/boot/uboot-sunxi/patches/063-fix-lime2-revK-add-micrel-PHY.patch create mode 100644 package/boot/uboot-sunxi/patches/091-sun6i-sync-PLL1-multdiv-with-Boot1.patch create mode 100644 package/boot/uboot-sunxi/patches/093-sun6i-fix-PLL-LDO-voltselect.patch create mode 100644 package/boot/uboot-sunxi/patches/100-sun6i-alternate-on-UART2.patch create mode 100644 package/boot/uboot-sunxi/patches/101-sun6i-support-console-on-UART2.patch create mode 100644 package/boot/uboot-sunxi/patches/102-sunxi-make_CONS_INDEX-configurable.patch create mode 100644 package/boot/uboot-sunxi/patches/200-mkimage-check-environment-for-dtc-binary-location.patch create mode 100644 package/boot/uboot-sunxi/patches/210-sunxi-deactivate-binman.patch create mode 100644 package/boot/uboot-sunxi/patches/221-compatible-old-dtc.patch create mode 100644 package/boot/uboot-sunxi/patches/230-disable-axp209-on-a13-olinuxino.diff create mode 100644 package/boot/uboot-sunxi/patches/240-sun50i-h5-Orange-Pi-Zero-Plus-Fix-SdCard-detection.patch create mode 100644 package/boot/uboot-sunxi/uEnv-a64.txt create mode 100644 package/boot/uboot-sunxi/uEnv-default.txt create mode 100644 package/boot/uboot-sunxi/uEnv-pangolin.txt create mode 100644 package/boot/uboot-tegra/Makefile create mode 100644 package/boot/uboot-zynq/Makefile create mode 100644 package/boot/uboot-zynq/files/uEnv-default.txt create mode 100644 package/boot/uboot-zynq/patches/020-v2018.09-arm-zynq-dts-add-spi-flash-node-to-zedboard.patch create mode 100644 package/boot/uboot-zynq/patches/025-v2018.09-arm-zynq-add-support-for-the-zybo-z7-board.patch create mode 100644 package/boot/uboot-zynq/patches/110-zybo-z7-read-mac-address-from-SPI-flash-memory.patch create mode 100644 package/boot/uboot-zynq/patches/210-link-libcrypto-static.patch create mode 100644 package/devel/binutils/Makefile create mode 100644 package/devel/binutils/patches/0001-Do-not-pass-host-compiler-sanitization-flags-on-to-l.patch create mode 100644 package/devel/binutils/patches/0002-When-building-target-binaries-ensure-that-the-warnin.patch create mode 100644 package/devel/gdb-arc/Makefile create mode 100644 package/devel/gdb-arc/patches/100-no_extern_inline.patch create mode 100644 package/devel/gdb-arc/patches/110-no_testsuite.patch create mode 100644 package/devel/gdb-arc/patches/120-fix-compile-flag-mismatch.patch create mode 100644 package/devel/gdb/Makefile create mode 100644 package/devel/gdb/patches/001-gdb-pr14523-mips-signal-number.patch create mode 100644 package/devel/gdb/patches/010-aarch64-headers.patch create mode 100644 package/devel/gdb/patches/100-musl_fix.patch create mode 100644 package/devel/gdb/patches/110-shared_libgcc.patch create mode 100644 package/devel/gdb/patches/120-sigprocmask-invalid-call.patch create mode 100644 package/devel/perf/Makefile create mode 100644 package/devel/strace/Makefile create mode 100644 package/devel/trace-cmd/Makefile create mode 100644 package/devel/trace-cmd/patches/110-mac80211_tracepoint.patch create mode 100644 package/devel/valgrind/Makefile create mode 100644 package/devel/valgrind/files/default.supp create mode 100644 package/devel/valgrind/patches/100-fix_configure_check.patch create mode 100644 package/devel/valgrind/patches/130-fix_arm_arch_detection.patch create mode 100644 package/firmware/am33x-cm3/Makefile create mode 100644 package/firmware/amd64-microcode/Makefile create mode 100644 package/firmware/ath10k-ct-firmware/Makefile create mode 100644 package/firmware/ath10k-firmware/Makefile create mode 100644 package/firmware/b43legacy-firmware/Makefile create mode 100644 package/firmware/brcmfmac-board-rpi/Makefile create mode 100644 package/firmware/intel-microcode/Makefile create mode 100644 package/firmware/ipq-wifi/Makefile create mode 100644 package/firmware/ipq-wifi/board-alfa-network_ap120c-ac.bin create mode 120000 package/firmware/ipq-wifi/board-asus_map-ac2200.bin create mode 100644 package/firmware/ipq-wifi/board-avm_fritzbox-7530.bin create mode 100644 package/firmware/ipq-wifi/board-avm_fritzrepeater-1200.qca4019 create mode 100644 package/firmware/ipq-wifi/board-avm_fritzrepeater-3000.bin create mode 100644 package/firmware/ipq-wifi/board-engenius_eap1300.bin create mode 100644 package/firmware/ipq-wifi/board-engenius_ens620ext.bin create mode 100644 package/firmware/ipq-wifi/board-linksys_ea6350v3.bin create mode 100644 package/firmware/ipq-wifi/board-linksys_ea8300.qca4019 create mode 100644 package/firmware/ipq-wifi/board-linksys_ea8300.qca9888 create mode 100644 package/firmware/ipq-wifi/board-map-ac2200.bin create mode 100644 package/firmware/ipq-wifi/board-qxwlan-e2600ac.bin create mode 120000 package/firmware/ipq-wifi/board-qxwlan_e2600ac.bin create mode 100644 package/firmware/ixp4xx-microcode/Makefile create mode 100644 package/firmware/ixp4xx-microcode/src/IxNpeMicrocode.h create mode 100644 package/firmware/ixp4xx-microcode/src/LICENSE.IPL create mode 100644 package/firmware/lantiq/dsl-vrx200-firmware-xdsl/Makefile create mode 100644 package/firmware/layerscape/fman-ucode/Makefile create mode 100644 package/firmware/layerscape/ls-dpl/Makefile create mode 100644 package/firmware/layerscape/ls-mc/Makefile create mode 100644 package/firmware/layerscape/ls-rcw/Makefile create mode 100644 package/firmware/layerscape/ls-rcw/patches/0001-rcw-support-byte-swapping-without-tclsh-tool.patch create mode 100644 package/firmware/layerscape/ppfe-firmware/Makefile create mode 100644 package/firmware/linux-firmware/Makefile create mode 100644 package/firmware/linux-firmware/amdgpu.mk create mode 100644 package/firmware/linux-firmware/broadcom.mk create mode 100644 package/firmware/linux-firmware/cis.mk create mode 100644 package/firmware/linux-firmware/edgeport.mk create mode 100644 package/firmware/linux-firmware/intel.mk create mode 100644 package/firmware/linux-firmware/marvell.mk create mode 100644 package/firmware/linux-firmware/mediatek.mk create mode 100644 package/firmware/linux-firmware/qca.mk create mode 100644 package/firmware/linux-firmware/qca_ath10k.mk create mode 100644 package/firmware/linux-firmware/radeon.mk create mode 100644 package/firmware/linux-firmware/realtek.mk create mode 100644 package/firmware/linux-firmware/rsi.mk create mode 100644 package/firmware/linux-firmware/ti.mk create mode 100644 package/firmware/prism54-firmware/Makefile create mode 100644 package/firmware/vsc73x5-ucode/Makefile create mode 100644 package/firmware/vsc73x5-ucode/files/Makefile create mode 100644 package/firmware/wireless-regdb/Makefile create mode 100644 package/firmware/wireless-regdb/patches/500-world-regd-5GHz.patch create mode 100644 package/kernel/acx-mac80211/Makefile create mode 100644 package/kernel/acx-mac80211/patches/100-compat.patch create mode 100644 package/kernel/acx-mac80211/patches/200-initial-macaddr.patch create mode 100644 package/kernel/acx-mac80211/patches/300-api_sync.patch create mode 100644 package/kernel/ar7-atm/Config.in create mode 100644 package/kernel/ar7-atm/Makefile create mode 100644 package/kernel/ar7-atm/patches-D7.04.03.00/090-no-date-time.patch create mode 100644 package/kernel/ar7-atm/patches-D7.04.03.00/100-compile_fix.patch create mode 100644 package/kernel/ar7-atm/patches-D7.04.03.00/110-interrupt_fix.patch create mode 100644 package/kernel/ar7-atm/patches-D7.04.03.00/120-no_dumb_inline.patch create mode 100644 package/kernel/ar7-atm/patches-D7.04.03.00/130-powercutback.patch create mode 100644 package/kernel/ar7-atm/patches-D7.04.03.00/140-debug_mode.patch create mode 100644 package/kernel/ar7-atm/patches-D7.04.03.00/150-tasklet_mode.patch create mode 100644 package/kernel/ar7-atm/patches-D7.04.03.00/160-module-params.patch create mode 100644 package/kernel/ar7-atm/patches-D7.04.03.00/170-bus_id_removal.patch create mode 100644 package/kernel/ar7-atm/patches-D7.04.03.00/180-git_headers_include.patch create mode 100644 package/kernel/ar7-atm/patches-D7.04.03.00/190-2.6.32_proc_fixes.patch create mode 100644 package/kernel/ar7-atm/patches-D7.04.03.00/200-2.6.37_args.patch create mode 100644 package/kernel/ar7-atm/patches-D7.04.03.00/210-3.3-remove-smp_lock.h.patch create mode 100644 package/kernel/ar7-atm/patches-D7.04.03.00/220-3.10-update_proc_code.patch create mode 100644 package/kernel/ar7-atm/patches-D7.04.03.00/230-compile_fixes.patch create mode 100644 package/kernel/ar7-atm/patches-D7.04.03.00/240-3.18_fixes.patch create mode 100644 package/kernel/ar7-atm/patches-D7.04.03.00/250-4.1_fixes.patch create mode 100644 package/kernel/ar7-atm/patches-D7.04.03.00/260-fix_function_signatures.patch create mode 100644 package/kernel/ar7-atm/patches-D7.05.01.00/090-no-date-time.patch create mode 100644 package/kernel/ar7-atm/patches-D7.05.01.00/100-compile_fix.patch create mode 100644 package/kernel/ar7-atm/patches-D7.05.01.00/110-interrupt_fix.patch create mode 100644 package/kernel/ar7-atm/patches-D7.05.01.00/120-no_dumb_inline.patch create mode 100644 package/kernel/ar7-atm/patches-D7.05.01.00/130-powercutback.patch create mode 100644 package/kernel/ar7-atm/patches-D7.05.01.00/140-debug_mode.patch create mode 100644 package/kernel/ar7-atm/patches-D7.05.01.00/150-tasklet_mode.patch create mode 100644 package/kernel/ar7-atm/patches-D7.05.01.00/160-module-params.patch create mode 100644 package/kernel/ar7-atm/patches-D7.05.01.00/170-bus_id_removal.patch create mode 100644 package/kernel/ar7-atm/patches-D7.05.01.00/180-git_headers_include.patch create mode 100644 package/kernel/ar7-atm/patches-D7.05.01.00/190-2.6.32_proc_fixes.patch create mode 100644 package/kernel/ar7-atm/patches-D7.05.01.00/200-2.6.37_args.patch create mode 100644 package/kernel/ar7-atm/patches-D7.05.01.00/210-3.3-remove-smp_lock.h.patch create mode 100644 package/kernel/ar7-atm/patches-D7.05.01.00/220-3.10-update_proc_code.patch create mode 100644 package/kernel/ar7-atm/patches-D7.05.01.00/240-3.18_fixes.patch create mode 100644 package/kernel/ar7-atm/patches-D7.05.01.00/250-4.1_fixes.patch create mode 100644 package/kernel/ar7-atm/patches-D7.05.01.00/260-fix_function_signatures.patch create mode 100644 package/kernel/ath10k-ct/Makefile create mode 100644 package/kernel/ath10k-ct/patches/161-ath10k-add-support-for-configuring-management-packet.patch create mode 100644 package/kernel/ath10k-ct/patches/162-ath10k-fix-possible-out-of-bound-access-of-ath10k_ra.patch create mode 100644 package/kernel/ath10k-ct/patches/163-ath10k-fix-incorrect-multicast-broadcast-rate-settin.patch create mode 100644 package/kernel/ath10k-ct/patches/164-ath10k-commit-rates-from-mac80211.patch create mode 100644 package/kernel/ath10k-ct/patches/201-ath10k-4.16_add-LED-and-GPIO-controlling-support-for-various-chipsets.patch create mode 100644 package/kernel/ath10k-ct/patches/202-ath10k-4.16-use-tpt-trigger-by-default.patch create mode 100644 package/kernel/ath10k-ct/patches/203-ath10k-Limit-available-channels-via-DT-ieee80211-fre.patch create mode 100644 package/kernel/ath10k-ct/patches/960-0010-ath10k-limit-htt-rx-ring-size.patch create mode 100644 package/kernel/ath10k-ct/patches/960-0011-ath10k-limit-pci-buffer-size.patch create mode 100644 package/kernel/avila-wdt/Makefile create mode 100644 package/kernel/avila-wdt/src/Makefile create mode 100644 package/kernel/avila-wdt/src/avila-wdt.c create mode 100644 package/kernel/brcm2708-gpu-fw/Makefile create mode 100644 package/kernel/broadcom-wl/Makefile create mode 100644 package/kernel/broadcom-wl/files/etc/hotplug.d/net/00-broadcom-wifi-detect create mode 100644 package/kernel/broadcom-wl/files/etc/hotplug.d/net/20-broadcom_wds create mode 100755 package/kernel/broadcom-wl/files/etc/init.d/wlunbind create mode 100644 package/kernel/broadcom-wl/files/lib/wifi/broadcom.sh create mode 100644 package/kernel/broadcom-wl/patches/003-compat-2.6.35.patch create mode 100644 package/kernel/broadcom-wl/patches/004-remove-pcmcia.patch create mode 100644 package/kernel/broadcom-wl/patches/005-fix-mem-leak-on-unload.patch create mode 100644 package/kernel/broadcom-wl/patches/006-generic-dma-api.patch create mode 100644 package/kernel/broadcom-wl/patches/007-use-glue-driver.patch create mode 100644 package/kernel/broadcom-wl/patches/008-fix_virtual_interfaces.patch create mode 100644 package/kernel/broadcom-wl/patches/009-fix_compile_3_2.patch create mode 100644 package/kernel/broadcom-wl/patches/010-remove_irqf_samble_random.patch create mode 100644 package/kernel/broadcom-wl/patches/011-fix_compile_3_4.patch create mode 100644 package/kernel/broadcom-wl/patches/012-compat-3.10.patch create mode 100644 package/kernel/broadcom-wl/patches/013-interface-name.patch create mode 100644 package/kernel/broadcom-wl/patches/014-fix-band-reporting.patch create mode 100644 package/kernel/broadcom-wl/patches/015-support-probe-of-wds-interfaces.patch create mode 100644 package/kernel/broadcom-wl/patches/020-musl-fixes.patch create mode 100644 package/kernel/broadcom-wl/patches/030-remove_devinit_devexit.patch create mode 100644 package/kernel/broadcom-wl/patches/040-remove_last_rx_usage.patch create mode 100644 package/kernel/broadcom-wl/patches/100-fix_nvram_two_devices.patch create mode 100644 package/kernel/broadcom-wl/patches/110-add_number_to_dev_name.patch create mode 100644 package/kernel/broadcom-wl/patches/120-fixup-mac-addresses.patch create mode 100644 package/kernel/broadcom-wl/patches/200-add_bcm_a8xx_support.patch create mode 100644 package/kernel/broadcom-wl/patches/910-fallback-sprom.patch create mode 100644 package/kernel/broadcom-wl/patches/912-pci-bus-nvram-hack.patch create mode 100644 package/kernel/broadcom-wl/patches/913-avoid-dbe-on-ifs_ctl-readw-hack.patch create mode 100644 package/kernel/broadcom-wl/patches/914-eliminate-date-time-error.patch create mode 100644 package/kernel/broadcom-wl/src/glue/Makefile create mode 100644 package/kernel/broadcom-wl/src/glue/wl_glue.c create mode 100644 package/kernel/broadcom-wl/src/glue/wl_glue.h create mode 100644 package/kernel/broadcom-wl/src/wlc.c create mode 100644 package/kernel/button-hotplug/Makefile create mode 100644 package/kernel/button-hotplug/src/Kconfig create mode 100644 package/kernel/button-hotplug/src/Makefile create mode 100644 package/kernel/button-hotplug/src/button-hotplug.c create mode 100644 package/kernel/cryptodev-linux/Makefile create mode 100644 package/kernel/dtc/patches/0001-scripts-dtc-Update-to-version-with-overlays.patch create mode 100644 package/kernel/gpio-button-hotplug/Makefile create mode 100644 package/kernel/gpio-button-hotplug/src/Makefile create mode 100644 package/kernel/gpio-button-hotplug/src/gpio-button-hotplug.c create mode 100644 package/kernel/gpio-nct5104d/Makefile create mode 100644 package/kernel/gpio-nct5104d/src/Kconfig create mode 100644 package/kernel/gpio-nct5104d/src/Makefile create mode 100644 package/kernel/gpio-nct5104d/src/gpio-nct5104d.c create mode 100644 package/kernel/hwmon-gsc/Makefile create mode 100644 package/kernel/hwmon-gsc/src/Makefile create mode 100644 package/kernel/hwmon-gsc/src/gsc.c create mode 100644 package/kernel/i2c-gpio-custom/Makefile create mode 100644 package/kernel/i2c-gpio-custom/src/Kconfig create mode 100644 package/kernel/i2c-gpio-custom/src/Makefile create mode 100644 package/kernel/i2c-gpio-custom/src/i2c-gpio-custom.c create mode 100644 package/kernel/kmod-sched-cake/Makefile create mode 100644 package/kernel/lantiq/ltq-adsl-fw/Makefile create mode 100644 package/kernel/lantiq/ltq-adsl-mei/Makefile create mode 100644 package/kernel/lantiq/ltq-adsl-mei/src/Makefile create mode 100644 package/kernel/lantiq/ltq-adsl-mei/src/drv_mei_cpe.c create mode 100644 package/kernel/lantiq/ltq-adsl-mei/src/ifxmips_mei_interface.h create mode 100644 package/kernel/lantiq/ltq-adsl/Config.in create mode 100644 package/kernel/lantiq/ltq-adsl/Makefile create mode 100644 package/kernel/lantiq/ltq-adsl/patches/020-not-leak-cflags.patch create mode 100644 package/kernel/lantiq/ltq-adsl/patches/100-dsl_compat.patch create mode 100644 package/kernel/lantiq/ltq-adsl/patches/110-fix_status_polling_loop.patch create mode 100644 package/kernel/lantiq/ltq-adsl/patches/120-platform.patch create mode 100644 package/kernel/lantiq/ltq-adsl/patches/130-linux3.8.patch create mode 100644 package/kernel/lantiq/ltq-adsl/patches/140-linux_3.18.patch create mode 100644 package/kernel/lantiq/ltq-atm/Makefile create mode 100644 package/kernel/lantiq/ltq-atm/src/Makefile create mode 100644 package/kernel/lantiq/ltq-atm/src/ifxmips_atm_amazon_se.c create mode 100644 package/kernel/lantiq/ltq-atm/src/ifxmips_atm_ar9.c create mode 100644 package/kernel/lantiq/ltq-atm/src/ifxmips_atm_core.h create mode 100644 package/kernel/lantiq/ltq-atm/src/ifxmips_atm_danube.c create mode 100644 package/kernel/lantiq/ltq-atm/src/ifxmips_atm_fw_amazon_se.h create mode 100644 package/kernel/lantiq/ltq-atm/src/ifxmips_atm_fw_ar9.h create mode 100644 package/kernel/lantiq/ltq-atm/src/ifxmips_atm_fw_ar9_retx.h create mode 100644 package/kernel/lantiq/ltq-atm/src/ifxmips_atm_fw_danube.h create mode 100644 package/kernel/lantiq/ltq-atm/src/ifxmips_atm_fw_danube_retx.h create mode 100644 package/kernel/lantiq/ltq-atm/src/ifxmips_atm_fw_regs_amazon_se.h create mode 100644 package/kernel/lantiq/ltq-atm/src/ifxmips_atm_fw_regs_ar9.h create mode 100644 package/kernel/lantiq/ltq-atm/src/ifxmips_atm_fw_regs_common.h create mode 100644 package/kernel/lantiq/ltq-atm/src/ifxmips_atm_fw_regs_danube.h create mode 100644 package/kernel/lantiq/ltq-atm/src/ifxmips_atm_fw_regs_vr9.h create mode 100644 package/kernel/lantiq/ltq-atm/src/ifxmips_atm_fw_vr9.h create mode 100644 package/kernel/lantiq/ltq-atm/src/ifxmips_atm_ppe_amazon_se.h create mode 100644 package/kernel/lantiq/ltq-atm/src/ifxmips_atm_ppe_ar9.h create mode 100644 package/kernel/lantiq/ltq-atm/src/ifxmips_atm_ppe_common.h create mode 100644 package/kernel/lantiq/ltq-atm/src/ifxmips_atm_ppe_danube.h create mode 100644 package/kernel/lantiq/ltq-atm/src/ifxmips_atm_ppe_vr9.h create mode 100644 package/kernel/lantiq/ltq-atm/src/ifxmips_atm_vr9.c create mode 100644 package/kernel/lantiq/ltq-atm/src/ltq_atm.c create mode 100644 package/kernel/lantiq/ltq-deu/Makefile create mode 100644 package/kernel/lantiq/ltq-deu/src/Makefile create mode 100644 package/kernel/lantiq/ltq-deu/src/ifxmips_aes.c create mode 100644 package/kernel/lantiq/ltq-deu/src/ifxmips_arc4.c create mode 100644 package/kernel/lantiq/ltq-deu/src/ifxmips_async_aes.c create mode 100644 package/kernel/lantiq/ltq-deu/src/ifxmips_async_des.c create mode 100644 package/kernel/lantiq/ltq-deu/src/ifxmips_des.c create mode 100644 package/kernel/lantiq/ltq-deu/src/ifxmips_deu.c create mode 100644 package/kernel/lantiq/ltq-deu/src/ifxmips_deu.h create mode 100644 package/kernel/lantiq/ltq-deu/src/ifxmips_deu_ar9.c create mode 100644 package/kernel/lantiq/ltq-deu/src/ifxmips_deu_ar9.h create mode 100644 package/kernel/lantiq/ltq-deu/src/ifxmips_deu_danube.c create mode 100644 package/kernel/lantiq/ltq-deu/src/ifxmips_deu_danube.h create mode 100644 package/kernel/lantiq/ltq-deu/src/ifxmips_deu_dma.c create mode 100644 package/kernel/lantiq/ltq-deu/src/ifxmips_deu_dma.h create mode 100644 package/kernel/lantiq/ltq-deu/src/ifxmips_deu_vr9.c create mode 100644 package/kernel/lantiq/ltq-deu/src/ifxmips_deu_vr9.h create mode 100644 package/kernel/lantiq/ltq-deu/src/ifxmips_md5.c create mode 100644 package/kernel/lantiq/ltq-deu/src/ifxmips_md5_hmac.c create mode 100644 package/kernel/lantiq/ltq-deu/src/ifxmips_sha1.c create mode 100644 package/kernel/lantiq/ltq-deu/src/ifxmips_sha1_hmac.c create mode 100644 package/kernel/lantiq/ltq-deu/src/ifxmips_tcrypt.h create mode 100644 package/kernel/lantiq/ltq-deu/src/internal.h create mode 100644 package/kernel/lantiq/ltq-ifxos/Makefile create mode 100644 package/kernel/lantiq/ltq-ifxos/patches/001-warnings.patch create mode 100644 package/kernel/lantiq/ltq-ifxos/patches/002-fix-compile.patch create mode 100644 package/kernel/lantiq/ltq-ifxos/patches/020-no-O3.patch create mode 100644 package/kernel/lantiq/ltq-ifxos/patches/100-compat.patch create mode 100644 package/kernel/lantiq/ltq-ifxos/patches/200-Fix-app-compilation-failure-from-inclusion-of-wrong-.patch create mode 100644 package/kernel/lantiq/ltq-ptm/Makefile create mode 100644 package/kernel/lantiq/ltq-ptm/src/Makefile create mode 100644 package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_adsl.c create mode 100644 package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_adsl.h create mode 100644 package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_amazon_se.c create mode 100644 package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_ar9.c create mode 100644 package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_common.h create mode 100644 package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_danube.c create mode 100644 package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_fw_amazon_se.h create mode 100644 package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_fw_ar9.h create mode 100644 package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_fw_danube.h create mode 100644 package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_fw_regs_adsl.h create mode 100644 package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_fw_regs_amazon_se.h create mode 100644 package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_fw_regs_ar9.h create mode 100644 package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_fw_regs_danube.h create mode 100644 package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_fw_regs_vdsl.h create mode 100644 package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_fw_regs_vr9.h create mode 100644 package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_fw_vr9.h create mode 100644 package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_ppe_amazon_se.h create mode 100644 package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_ppe_ar9.h create mode 100644 package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_ppe_common.h create mode 100644 package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_ppe_danube.h create mode 100644 package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_ppe_vr9.h create mode 100644 package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_test.c create mode 100644 package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.c create mode 100644 package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.h create mode 100644 package/kernel/lantiq/ltq-ptm/src/ifxmips_ptm_vr9.c create mode 100644 package/kernel/lantiq/ltq-tapi/Config.in create mode 100644 package/kernel/lantiq/ltq-tapi/Makefile create mode 100644 package/kernel/lantiq/ltq-tapi/patches/000-portability.patch create mode 100644 package/kernel/lantiq/ltq-tapi/patches/010-fix-compile.patch create mode 100644 package/kernel/lantiq/ltq-tapi/patches/020-not-leak-cflags.patch create mode 100644 package/kernel/lantiq/ltq-tapi/patches/100-ifxmips.patch create mode 100644 package/kernel/lantiq/ltq-tapi/patches/200-linux-37.patch create mode 100644 package/kernel/lantiq/ltq-tapi/patches/300-linux-310.patch create mode 100644 package/kernel/lantiq/ltq-vdsl-fw/Makefile create mode 100644 package/kernel/lantiq/ltq-vdsl-fw/src/LzmaDecode.c create mode 100644 package/kernel/lantiq/ltq-vdsl-fw/src/LzmaDecode.h create mode 100644 package/kernel/lantiq/ltq-vdsl-fw/src/LzmaTypes.h create mode 100644 package/kernel/lantiq/ltq-vdsl-fw/src/LzmaWrapper.c create mode 100644 package/kernel/lantiq/ltq-vdsl-fw/src/LzmaWrapper.h create mode 100644 package/kernel/lantiq/ltq-vdsl-fw/src/Makefile create mode 100755 package/kernel/lantiq/ltq-vdsl-fw/src/vdsl_fw_install.sh create mode 100644 package/kernel/lantiq/ltq-vdsl-fw/src/w921v_fw_cutter.c create mode 100644 package/kernel/lantiq/ltq-vdsl-mei/Makefile create mode 100644 package/kernel/lantiq/ltq-vdsl-mei/patches/001-fix-compile.patch create mode 100644 package/kernel/lantiq/ltq-vdsl-mei/patches/010-warnings.patch create mode 100644 package/kernel/lantiq/ltq-vdsl-mei/patches/020-not-leak-cflags.patch create mode 100644 package/kernel/lantiq/ltq-vdsl-mei/patches/100-compat.patch create mode 100644 package/kernel/lantiq/ltq-vdsl-mei/patches/101_no-date-time.patch create mode 100644 package/kernel/lantiq/ltq-vdsl-mei/patches/110-reset-g_tx_link_rate-on-showtime-exit.patch create mode 100644 package/kernel/lantiq/ltq-vdsl/Makefile create mode 100644 package/kernel/lantiq/ltq-vdsl/patches/001-fix-compile.patch create mode 100644 package/kernel/lantiq/ltq-vdsl/patches/020-not-leak-cflags.patch create mode 100644 package/kernel/lantiq/ltq-vdsl/patches/100-compat.patch create mode 100644 package/kernel/lantiq/ltq-vdsl/patches/110-semaphore-lock.patch create mode 100644 package/kernel/lantiq/ltq-vmmc/Config.in create mode 100644 package/kernel/lantiq/ltq-vmmc/Makefile create mode 100644 package/kernel/lantiq/ltq-vmmc/files/vmmc.init create mode 100644 package/kernel/lantiq/ltq-vmmc/patches/000-portability.patch create mode 100644 package/kernel/lantiq/ltq-vmmc/patches/020-not-leak-cflags.patch create mode 100644 package/kernel/lantiq/ltq-vmmc/patches/100-target.patch create mode 100644 package/kernel/lantiq/ltq-vmmc/patches/200-compat.patch create mode 100644 package/kernel/lantiq/ltq-vmmc/patches/400-falcon.patch create mode 100644 package/kernel/lantiq/ltq-vmmc/patches/500-ar9_vr9.patch create mode 100644 package/kernel/leds-apu2/Makefile create mode 100644 package/kernel/leds-apu2/src/Kconfig create mode 100644 package/kernel/leds-apu2/src/Makefile create mode 100644 package/kernel/leds-apu2/src/leds-apu2.c create mode 100644 package/kernel/linux/Makefile create mode 100644 package/kernel/linux/files/sysctl-br-netfilter.conf create mode 100644 package/kernel/linux/files/sysctl-nf-conntrack.conf create mode 100644 package/kernel/linux/files/sysctl-tcp-bbr-k4_9.conf create mode 100644 package/kernel/linux/files/sysctl-tcp-bbr.conf create mode 100644 package/kernel/linux/modules/001-depends.mk create mode 100644 package/kernel/linux/modules/block.mk create mode 100644 package/kernel/linux/modules/can.mk create mode 100644 package/kernel/linux/modules/crypto.mk create mode 100644 package/kernel/linux/modules/firewire.mk create mode 100644 package/kernel/linux/modules/fs.mk create mode 100644 package/kernel/linux/modules/hwmon.mk create mode 100644 package/kernel/linux/modules/i2c.mk create mode 100644 package/kernel/linux/modules/iio.mk create mode 100644 package/kernel/linux/modules/input.mk create mode 100644 package/kernel/linux/modules/leds.mk create mode 100644 package/kernel/linux/modules/lib.mk create mode 100644 package/kernel/linux/modules/netdevices.mk create mode 100644 package/kernel/linux/modules/netfilter.mk create mode 100644 package/kernel/linux/modules/netsupport.mk create mode 100644 package/kernel/linux/modules/nls.mk create mode 100644 package/kernel/linux/modules/other.mk create mode 100644 package/kernel/linux/modules/pcmcia.mk create mode 100644 package/kernel/linux/modules/sound.mk create mode 100644 package/kernel/linux/modules/spi.mk create mode 100644 package/kernel/linux/modules/usb.mk create mode 100644 package/kernel/linux/modules/video.mk create mode 100644 package/kernel/linux/modules/virt.mk create mode 100644 package/kernel/linux/modules/w1.mk create mode 100644 package/kernel/linux/modules/wireless.mk create mode 100644 package/kernel/linux/modules/wpan.mk create mode 100644 package/kernel/mac80211/Makefile create mode 100644 package/kernel/mac80211/ath.mk create mode 100644 package/kernel/mac80211/broadcom.mk create mode 100644 package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh create mode 100644 package/kernel/mac80211/files/lib/wifi/mac80211.sh create mode 100644 package/kernel/mac80211/files/mac80211.hotplug create mode 100644 package/kernel/mac80211/intel.mk create mode 100644 package/kernel/mac80211/marvell.mk create mode 100644 package/kernel/mac80211/patches/ath/070-ath_common_config.patch create mode 100644 package/kernel/mac80211/patches/ath/080-ath10k_thermal_config.patch create mode 100644 package/kernel/mac80211/patches/ath/201-ath5k-WAR-for-AR71xx-PCI-bug.patch create mode 100644 package/kernel/mac80211/patches/ath/350-ath9k_hw-reset-AHB-WMAC-interface-on-AR91xx.patch create mode 100644 package/kernel/mac80211/patches/ath/351-ath9k_hw-issue-external-reset-for-QCA955x.patch create mode 100644 package/kernel/mac80211/patches/ath/354-ath9k-force-rx_clear-when-disabling-rx.patch create mode 100644 package/kernel/mac80211/patches/ath/356-Revert-ath9k-interpret-requested-txpower-in-EIRP-dom.patch create mode 100644 package/kernel/mac80211/patches/ath/365-ath9k-adjust-tx-power-reduction-for-US-regulatory-do.patch create mode 100644 package/kernel/mac80211/patches/ath/400-ath_move_debug_code.patch create mode 100644 package/kernel/mac80211/patches/ath/401-ath9k_blink_default.patch create mode 100644 package/kernel/mac80211/patches/ath/402-ath_regd_optional.patch create mode 100644 package/kernel/mac80211/patches/ath/403-world_regd_fixup.patch create mode 100644 package/kernel/mac80211/patches/ath/404-regd_no_assoc_hints.patch create mode 100644 package/kernel/mac80211/patches/ath/405-ath_regd_us.patch create mode 100644 package/kernel/mac80211/patches/ath/406-ath_relax_default_regd.patch create mode 100644 package/kernel/mac80211/patches/ath/407-regd_add_extra_country_codes.patch create mode 100644 package/kernel/mac80211/patches/ath/410-ath9k_allow_adhoc_and_ap.patch create mode 100644 package/kernel/mac80211/patches/ath/411-ath5k_allow_adhoc_and_ap.patch create mode 100644 package/kernel/mac80211/patches/ath/420-ath5k_disable_fast_cc.patch create mode 100644 package/kernel/mac80211/patches/ath/430-add_ath5k_platform.patch create mode 100644 package/kernel/mac80211/patches/ath/431-add_platform_eeprom_support_to_ath5k.patch create mode 100644 package/kernel/mac80211/patches/ath/432-ath5k_add_pciids.patch create mode 100644 package/kernel/mac80211/patches/ath/440-ath5k_channel_bw_debugfs.patch create mode 100644 package/kernel/mac80211/patches/ath/500-ath9k_eeprom_debugfs.patch create mode 100644 package/kernel/mac80211/patches/ath/501-ath9k_ahb_init.patch create mode 100644 package/kernel/mac80211/patches/ath/510-ath9k_intr_mitigation_tweak.patch create mode 100644 package/kernel/mac80211/patches/ath/511-ath9k_reduce_rxbuf.patch create mode 100644 package/kernel/mac80211/patches/ath/512-ath9k_channelbw_debugfs.patch create mode 100644 package/kernel/mac80211/patches/ath/513-ath9k_add_pci_ids.patch create mode 100644 package/kernel/mac80211/patches/ath/530-ath9k_extra_leds.patch create mode 100644 package/kernel/mac80211/patches/ath/531-ath9k_extra_platform_leds.patch create mode 100644 package/kernel/mac80211/patches/ath/540-ath9k_reduce_ani_interval.patch create mode 100644 package/kernel/mac80211/patches/ath/542-ath9k_debugfs_diag.patch create mode 100644 package/kernel/mac80211/patches/ath/543-ath9k_entropy_from_adc.patch create mode 100644 package/kernel/mac80211/patches/ath/544-ath9k-ar933x-usb-hang-workaround.patch create mode 100644 package/kernel/mac80211/patches/ath/545-ath9k_ani_ws_detect.patch create mode 100644 package/kernel/mac80211/patches/ath/547-ath9k_led_defstate_fix.patch create mode 100644 package/kernel/mac80211/patches/ath/548-ath9k_enable_gpio_chip.patch create mode 100644 package/kernel/mac80211/patches/ath/549-ath9k_enable_gpio_buttons.patch create mode 100644 package/kernel/mac80211/patches/ath/550-ath9k-disable-bands-via-dt.patch create mode 100644 package/kernel/mac80211/patches/ath/551-ath9k_ubnt_uap_plus_hsr.patch create mode 100644 package/kernel/mac80211/patches/ath/552-ahb_of.patch create mode 100644 package/kernel/mac80211/patches/ath/554-ath9k-dynack-move-debug-log-after-buffer-increments.patch create mode 100644 package/kernel/mac80211/patches/ath/557-ath9k-dynack-remove-experimental-tag.patch create mode 100644 package/kernel/mac80211/patches/ath/558-ath9k-dynack-introduce-ath_dynack_set_timeout-routin.patch create mode 100644 package/kernel/mac80211/patches/ath/559-ath9k-dynack-properly-set-last-timeout-timestamp-in-.patch create mode 100644 package/kernel/mac80211/patches/ath/560-ath9k-dynack-set-max-timeout-according-to-channel-wi.patch create mode 100644 package/kernel/mac80211/patches/ath/561-ath9k-dynack-set-ackto-to-max-timeout-in-ath_dynack_.patch create mode 100644 package/kernel/mac80211/patches/ath/921-ath10k_init_devices_synchronously.patch create mode 100644 package/kernel/mac80211/patches/ath/922-ath10k-increase-rx-buffer-size-to-2048.patch create mode 100644 package/kernel/mac80211/patches/ath/930-ath10k_add_tpt_led_trigger.patch create mode 100644 package/kernel/mac80211/patches/ath/960-0010-ath10k-limit-htt-rx-ring-size.patch create mode 100644 package/kernel/mac80211/patches/ath/960-0011-ath10k-limit-pci-buffer-size.patch create mode 100644 package/kernel/mac80211/patches/ath/972-ath10k_fix-crash-due-to-wrong-handling-of-peer_bw_rxnss_override-parameter.patch create mode 100644 package/kernel/mac80211/patches/ath/973-ath10k_fix-band_center_freq-handling-for-VHT160-in-recent-firmwares.patch create mode 100644 package/kernel/mac80211/patches/ath/974-ath10k_add-LED-and-GPIO-controlling-support-for-various-chipsets.patch create mode 100644 package/kernel/mac80211/patches/ath/975-ath10k-use-tpt-trigger-by-default.patch create mode 100644 package/kernel/mac80211/patches/ath/977-ath10k-add-support-for-configuring-management-packet.patch create mode 100644 package/kernel/mac80211/patches/ath/978-ath10k-fix-possible-out-of-bound-access-of-ath10k_ra.patch create mode 100644 package/kernel/mac80211/patches/ath/979-ath10k-fix-incorrect-multicast-broadcast-rate-settin.patch create mode 100644 package/kernel/mac80211/patches/ath/980-ath10k-fix-max-antenna-gain-unit.patch create mode 100644 package/kernel/mac80211/patches/ath/981-ath10k-adjust-tx-power-reduction-for-US-regulatory-d.patch create mode 100644 package/kernel/mac80211/patches/brcm/040-brcmutil_option.patch create mode 100644 package/kernel/mac80211/patches/brcm/300-v4.20-0001-brcmfmac-add-CYW89342-mini-PCIe-device.patch create mode 100644 package/kernel/mac80211/patches/brcm/305-v4.20-0001-brcmfmac-remove-set-but-not-used-variables-sfdoff-an.patch create mode 100644 package/kernel/mac80211/patches/brcm/320-v5.0-0001-brcmfmac-Remove-firmware-loading-code-duplication.patch create mode 100644 package/kernel/mac80211/patches/brcm/320-v5.0-0002-brcmfmac-Remove-recursion-from-firmware-load-error-h.patch create mode 100644 package/kernel/mac80211/patches/brcm/320-v5.0-0003-brcmfmac-Add-support-for-first-trying-to-get-a-board.patch create mode 100644 package/kernel/mac80211/patches/brcm/320-v5.0-0004-brcmfmac-Set-board_type-used-for-nvram-file-selectio.patch create mode 100644 package/kernel/mac80211/patches/brcm/320-v5.0-0005-brcmfmac-Set-board_type-from-DMI-on-x86-based-machin.patch create mode 100644 package/kernel/mac80211/patches/brcm/320-v5.0-0006-brcmfmac-Cleanup-brcmf_fw_request_done.patch create mode 100644 package/kernel/mac80211/patches/brcm/321-v5.0-0001-brcmfmac-Add-support-for-getting-nvram-contents-from.patch create mode 100644 package/kernel/mac80211/patches/brcm/321-v5.0-0002-brcmfmac-Fix-ccode-from-EFI-nvram-when-necessary.patch create mode 100644 package/kernel/mac80211/patches/brcm/322-v5.0-0001-brcmfmac-fix-spelling-mistake-Retreiving-Retrieving.patch create mode 100644 package/kernel/mac80211/patches/brcm/323-v5.0-0001-brcmutil-print-invalid-chanspec-when-WARN-ing.patch create mode 100644 package/kernel/mac80211/patches/brcm/325-v5.0-brcmfmac-support-STA-info-struct-v7.patch create mode 100644 package/kernel/mac80211/patches/brcm/326-v5.0-brcmfmac-Call-brcmf_dmi_probe-before-brcmf_of_probe.patch create mode 100644 package/kernel/mac80211/patches/brcm/328-v5.0-0001-brcmfmac-add-credit-numbers-updating-support.patch create mode 100644 package/kernel/mac80211/patches/brcm/328-v5.0-0002-brcmfmac-enable-frameburst-mode-in-default-firmware-.patch create mode 100644 package/kernel/mac80211/patches/brcm/328-v5.0-0003-brcmfmac-handle-compressed-tx-status-signal.patch create mode 100644 package/kernel/mac80211/patches/brcm/329-v5.0-0001-brcmfmac-add-4354-raw-pcie-device-id.patch create mode 100644 package/kernel/mac80211/patches/brcm/329-v5.0-0004-brcmfmac-add-support-for-CYW43012-SDIO-chipset.patch create mode 100644 package/kernel/mac80211/patches/brcm/329-v5.0-0005-brcmfmac-allow-GCI-core-enumuration.patch create mode 100644 package/kernel/mac80211/patches/brcm/329-v5.0-0006-brcmfmac-update-43012-F2-watermark-setting-to-fix-DM.patch create mode 100644 package/kernel/mac80211/patches/brcm/329-v5.0-0007-brcmfmac-4373-save-restore-support.patch create mode 100644 package/kernel/mac80211/patches/brcm/329-v5.0-0008-brcmfmac-disable-command-decode-in-sdio_aos.patch create mode 100644 package/kernel/mac80211/patches/brcm/330-v5.0-0001-brcmfmac-fix-false-positive-Wmaybe-unintialized-warn.patch create mode 100644 package/kernel/mac80211/patches/brcm/340-v5.1-brcmfmac-Add-DMI-nvram-filename-quirk-for-PoV-TAB-P1.patch create mode 100644 package/kernel/mac80211/patches/brcm/341-v5.1-brcmfmac-add-a-check-for-the-status-of-usb_register.patch create mode 100644 package/kernel/mac80211/patches/brcm/342-v5.1-brcmfmac-fix-system-warning-message-during-wowl-susp.patch create mode 100644 package/kernel/mac80211/patches/brcm/344-v5.1-brcmfmac-modify-__brcmf_err-to-take-bus-as-a-paramet.patch create mode 100644 package/kernel/mac80211/patches/brcm/345-v5.1-brcmfmac-pass-bus-to-the-__brcmf_err-in-pcie.c.patch create mode 100644 package/kernel/mac80211/patches/brcm/346-v5.1-brcmfmac-add-bphy_err-and-use-it-in-the-cfg80211.c.patch create mode 100644 package/kernel/mac80211/patches/brcm/347-v5.1-brcmfmac-fix-typos.patch create mode 100644 package/kernel/mac80211/patches/brcm/348-v5.1-brcmfmac-support-monitor-frames-with-the-hardware-uc.patch create mode 100644 package/kernel/mac80211/patches/brcm/349-v5.1-0004-brcmfmac-disable-MBSS-feature-for-bcm4330-device.patch create mode 100644 package/kernel/mac80211/patches/brcm/349-v5.1-0005-brcmfmac-check-and-dump-trap-info-during-sdio-probe.patch create mode 100644 package/kernel/mac80211/patches/brcm/349-v5.1-0006-brcmfmac-use-chipname-in-brcmf_fw_alloc_request-for-.patch create mode 100644 package/kernel/mac80211/patches/brcm/350-v5.1-brcmfmac-print-firmware-reported-ring-status-errors.patch create mode 100644 package/kernel/mac80211/patches/brcm/351-v5.1-0001-brcmfmac-improve-code-handling-bandwidth-of-firmware.patch create mode 100644 package/kernel/mac80211/patches/brcm/351-v5.1-0002-brcmfmac-support-firmware-reporting-160-MHz-channels.patch create mode 100644 package/kernel/mac80211/patches/brcm/352-v5.1-brcmfmac-rework-bphy_err-to-take-struct-brcmf_pub-ar.patch create mode 100644 package/kernel/mac80211/patches/brcm/353-v5.1-brcmfmac-remove-set-but-not-used-variable-old_state.patch create mode 100644 package/kernel/mac80211/patches/brcm/354-v5.1-brcmfmac-use-bphy_err-in-all-wiphy-related-code.patch create mode 100644 package/kernel/mac80211/patches/brcm/355-v5.1-brcmfmac-add-basic-validation-of-shared-RAM-address.patch create mode 100644 package/kernel/mac80211/patches/brcm/356-v5.1-0001-brcmfmac-fix-size-of-the-struct-msgbuf_ring_status.patch create mode 100644 package/kernel/mac80211/patches/brcm/356-v5.1-0002-brcmfmac-print-firmware-reported-general-status-erro.patch create mode 100644 package/kernel/mac80211/patches/brcm/360-v5.2-0001-brcmfmac-support-repeated-brcmf_fw_alloc_request-cal.patch create mode 100644 package/kernel/mac80211/patches/brcm/360-v5.2-0002-brcmfmac-add-a-function-designated-for-handling-firm.patch create mode 100644 package/kernel/mac80211/patches/brcm/360-v5.2-0003-brcmfmac-reset-PCIe-bus-on-a-firmware-crash.patch create mode 100644 package/kernel/mac80211/patches/brcm/362-v5.2-0002-brcmfmac-remove-pending-parameter-from-brcmf_usb_fre.patch create mode 100644 package/kernel/mac80211/patches/brcm/362-v5.2-0003-brcmfmac-remove-unused-variable-i-from-brcmf_usb_fre.patch create mode 100644 package/kernel/mac80211/patches/brcm/366-v5.2-brcmfmac-Use-struct_size-in-kzalloc.patch create mode 100644 package/kernel/mac80211/patches/brcm/367-v5.2-brcmfmac-Loading-the-correct-firmware-for-brcm43456.patch create mode 100644 package/kernel/mac80211/patches/brcm/369-v5.2-brcmfmac-Add-DMI-nvram-filename-quirk-for-ACEPC-T8-a.patch create mode 100644 package/kernel/mac80211/patches/brcm/370-v5.2-brcmfmac-send-mailbox-interrupt-twice-for-specific-h.patch create mode 100644 package/kernel/mac80211/patches/brcm/371-v5.2-Revert-brcmfmac-send-mailbox-interrupt-twice-for-spe.patch create mode 100644 package/kernel/mac80211/patches/brcm/372-v5.2-brcmfmac-send-mailbox-interrupt-twice-for-specific-h.patch create mode 100644 package/kernel/mac80211/patches/brcm/374-v5.2-brcmfmac-set-txflow-request-id-from-1-to-pktids-arra.patch create mode 100644 package/kernel/mac80211/patches/brcm/375-v5.2-brcmfmac-print-firmware-messages-after-a-firmware-cr.patch create mode 100644 package/kernel/mac80211/patches/brcm/380-v5.4-0001-brcmfmac-switch-source-files-to-using-SPDX-license-i.patch create mode 100644 package/kernel/mac80211/patches/brcm/381-v5.4-brcmfmac-fix-typos-in-code-comments.patch create mode 100644 package/kernel/mac80211/patches/brcm/382-v5.4-brcmfmac-use-strlcpy-instead-of-strcpy.patch create mode 100644 package/kernel/mac80211/patches/brcm/383-v5.4-0001-brcmfmac-add-160MHz-in-chandef_to_chanspec.patch create mode 100644 package/kernel/mac80211/patches/brcm/383-v5.4-0002-brcmfmac-enable-DFS_OFFLOAD-extended-feature-if-supp.patch create mode 100644 package/kernel/mac80211/patches/brcm/383-v5.4-0003-brcmfmac-allow-160MHz-in-custom-regulatory-rules.patch create mode 100644 package/kernel/mac80211/patches/brcm/384-v5.4-0001-Revert-brcmfmac-fix-NULL-pointer-derefence-during-US.patch create mode 100644 package/kernel/mac80211/patches/brcm/384-v5.4-0002-brcmfmac-change-the-order-of-things-in-brcmf_detach.patch create mode 100644 package/kernel/mac80211/patches/brcm/384-v5.4-0003-brcmfmac-avoid-firmware-command-in-brcmf_netdev_open.patch create mode 100644 package/kernel/mac80211/patches/brcm/384-v5.4-0004-brcmfmac-clear-events-in-brcmf_fweh_detach-will-alwa.patch create mode 100644 package/kernel/mac80211/patches/brcm/384-v5.4-0005-brcmfmac-avoid-firmware-commands-when-bus-is-down.patch create mode 100644 package/kernel/mac80211/patches/brcm/384-v5.4-0006-brcmfmac-simply-remove-flowring-if-bus-is-down.patch create mode 100644 package/kernel/mac80211/patches/brcm/384-v5.4-0007-brcmfmac-remove-unnecessary-strlcpy-upon-obtaining-v.patch create mode 100644 package/kernel/mac80211/patches/brcm/385-v5.4-brcmfmac-don-t-net_ratelimit-CONSOLE-messages-on-fir.patch create mode 100644 package/kernel/mac80211/patches/brcm/386-v5.4-brcmfmac-remove-set-but-not-used-variable-dtim_perio.patch create mode 100644 package/kernel/mac80211/patches/brcm/387-v5.4-brcmfmac-remove-redundant-assignment-to-pointer-hash.patch create mode 100644 package/kernel/mac80211/patches/brcm/388-v5.4-brcmfmac-replace-strncpy-by-strscpy.patch create mode 100644 package/kernel/mac80211/patches/brcm/389-v5.4-brcmfmac-get-chip-s-default-RAM-info-during-PCIe-set.patch create mode 100644 package/kernel/mac80211/patches/brcm/390-v5.4-0001-brcmfmac-add-stub-version-of-brcmf_debugfs_get_devdi.patch create mode 100644 package/kernel/mac80211/patches/brcm/390-v5.4-0002-brcmfmac-add-reset-debugfs-entry-for-testing-reset.patch create mode 100644 package/kernel/mac80211/patches/brcm/391-v5.4-brcmfmac-use-ph-to-print-small-buffer.patch create mode 100644 package/kernel/mac80211/patches/brcm/392-v5.4-0001-brcmfmac-move-cfg80211_ops-pointer-to-another-struct.patch create mode 100644 package/kernel/mac80211/patches/brcm/392-v5.4-0002-brcmfmac-split-brcmf_attach-and-brcmf_detach-functio.patch create mode 100644 package/kernel/mac80211/patches/brcm/392-v5.4-0003-brcmfmac-don-t-realloc-wiphy-during-PCIe-reset.patch create mode 100644 package/kernel/mac80211/patches/brcm/401-v5.5-0001-brcmfmac-don-t-WARN-when-there-are-no-requests.patch create mode 100644 package/kernel/mac80211/patches/brcm/401-v5.5-0002-brcmfmac-fix-suspend-resume-when-power-is-cut-off.patch create mode 100644 package/kernel/mac80211/patches/brcm/403-v5.5-brcmfmac-remove-set-but-not-used-variable-mpnum-nsp-.patch create mode 100644 package/kernel/mac80211/patches/brcm/404-v5.5-brcmfmac-disable-PCIe-interrupts-before-bus-reset.patch create mode 100644 package/kernel/mac80211/patches/brcm/410-v5.6-brcmfmac-Fix-memory-leak-in-brcmf_p2p_create_p2pdev.patch create mode 100644 package/kernel/mac80211/patches/brcm/412-v5.6-brcmfmac-set-interface-carrier-to-off-by-default.patch create mode 100644 package/kernel/mac80211/patches/brcm/414-v5.6-0001-brcmfmac-reset-two-D11-cores-if-chip-has-two-D11-cor.patch create mode 100644 package/kernel/mac80211/patches/brcm/414-v5.6-0002-brcmfmac-set-F2-blocksize-and-watermark-for-4359.patch create mode 100644 package/kernel/mac80211/patches/brcm/414-v5.6-0003-brcmfmac-fix-rambase-for-4359-9.patch create mode 100644 package/kernel/mac80211/patches/brcm/414-v5.6-0004-brcmfmac-make-errors-when-setting-roaming-parameters.patch create mode 100644 package/kernel/mac80211/patches/brcm/414-v5.6-0005-brcmfmac-add-support-for-BCM4359-SDIO-chipset.patch create mode 100644 package/kernel/mac80211/patches/brcm/414-v5.6-0006-brcmfmac-add-RSDB-condition-when-setting-interface-c.patch create mode 100644 package/kernel/mac80211/patches/brcm/414-v5.6-0007-brcmfmac-not-set-mbss-in-vif-if-firmware-does-not-su.patch create mode 100644 package/kernel/mac80211/patches/brcm/416-v5.6-brcmfmac-Keep-OOB-wake-interrupt-disabled-when-it-sh.patch create mode 100644 package/kernel/mac80211/patches/brcm/417-v5.6-brcmfmac-use-true-false-for-bool-variable.patch create mode 100644 package/kernel/mac80211/patches/brcm/418-v5.6-brcmfmac-sdio-Fix-OOB-interrupt-initialization-on-br.patch create mode 100644 package/kernel/mac80211/patches/brcm/419-v5.6-0001-brcmfmac-simplify-building-interface-combinations.patch create mode 100644 package/kernel/mac80211/patches/brcm/419-v5.6-0002-brcmfmac-add-initial-support-for-monitor-mode.patch create mode 100644 package/kernel/mac80211/patches/brcm/420-v5.6-brcmfmac-Remove-always-false-idx-0-statement.patch create mode 100644 package/kernel/mac80211/patches/brcm/500-brcmfmac-add-stub-for-monitor-interface-xmit.patch create mode 100644 package/kernel/mac80211/patches/brcm/810-b43-gpio-mask-module-option.patch create mode 100644 package/kernel/mac80211/patches/brcm/811-b43_no_pio.patch create mode 100644 package/kernel/mac80211/patches/brcm/812-b43-add-antenna-control.patch create mode 100644 package/kernel/mac80211/patches/brcm/813-b43-reduce-number-of-RX-slots.patch create mode 100644 package/kernel/mac80211/patches/brcm/814-b43-only-use-gpio-0-1-for-led.patch create mode 100644 package/kernel/mac80211/patches/brcm/815-b43-always-take-overlapping-devs.patch create mode 100644 package/kernel/mac80211/patches/brcm/850-brcmsmac-remove-extra-regulation-restriction.patch create mode 100644 package/kernel/mac80211/patches/brcm/860-brcmfmac-register-wiphy-s-during-module_init.patch create mode 100644 package/kernel/mac80211/patches/brcm/861-brcmfmac-workaround-bug-with-some-inconsistent-BSSes.patch create mode 100644 package/kernel/mac80211/patches/brcm/862-brcmfmac-Disable-power-management.patch create mode 100644 package/kernel/mac80211/patches/brcm/863-brcmfmac-add-in-driver-tables-with-country-codes.patch create mode 100644 package/kernel/mac80211/patches/brcm/864-brcmfmac-do-not-use-internal-roaming-engine-by-default.patch create mode 100644 package/kernel/mac80211/patches/build/000-fix_kconfig.patch create mode 100644 package/kernel/mac80211/patches/build/001-fix_build.patch create mode 100644 package/kernel/mac80211/patches/build/002-change_allconfig.patch create mode 100644 package/kernel/mac80211/patches/build/003-remove_bogus_modparams.patch create mode 100644 package/kernel/mac80211/patches/build/004-kconfig_backport_fix.patch create mode 100644 package/kernel/mac80211/patches/build/010-disable_rfkill.patch create mode 100644 package/kernel/mac80211/patches/build/012-kernel_build_check.patch create mode 100644 package/kernel/mac80211/patches/build/015-ipw200-mtu.patch create mode 100644 package/kernel/mac80211/patches/build/050-lib80211_option.patch create mode 100644 package/kernel/mac80211/patches/build/060-no_local_ssb_bcma.patch create mode 100644 package/kernel/mac80211/patches/build/100-backports-pci-Include-linux-pci-aspm.h.patch create mode 100644 package/kernel/mac80211/patches/build/101-backport-add-pci_disable_link_state-wrapper-with-ret.patch create mode 100644 package/kernel/mac80211/patches/mwl/700-mwl8k-missing-pci-id-for-WNR854T.patch create mode 100644 package/kernel/mac80211/patches/mwl/801-libertas-configure-sysfs-links.patch create mode 100644 package/kernel/mac80211/patches/mwl/802-libertas-set-wireless-macaddr.patch create mode 100644 package/kernel/mac80211/patches/mwl/940-mwl8k_init_devices_synchronously.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/001-rt2x00-use-simple_read_from_buffer.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/002-rt2800-move-usb-specific-txdone-txstatus-routines-to.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/003-rt2800mmio-use-txdone-txstatus-routines-from-lib.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/004-rt2x00-do-not-check-for-txstatus-timeout-every-time-.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/005-rt2x00-use-different-txstatus-timeouts-when-flushing.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/006-rt2800-flush-and-txstatus-rework-for-rt2800mmio.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/007-rt2x00-rt2400pci-mark-expected-switch-fall-through.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/008-rt2x00-rt2500pci-mark-expected-switch-fall-through.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/009-rt2x00-rt2800lib-mark-expected-switch-fall-throughs.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/010-rt2x00-rt61pci-mark-expected-switch-fall-through.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/011-cross-tree-phase-out-dma_zalloc_coherent.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/012-rt2x00-reduce-tx-power-to-nominal-level-on-RT6352.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/013-rt2x00-Work-around-a-firmware-bug-with-shared-keys.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/014-rt2x00-no-need-to-check-return-value-of-debugfs_crea.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/015-rt2x00-remove-unneeded-check.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/016-rt2x00-remove-confusing-AGC-register.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/017-rt2800-enable-TX_PIN_CFG_LNA_PE_-bits-per-band.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/018-rt2800-enable-TX_PIN_CFG_RFRX_EN-only-for-MT7620.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/019-rt2800-comment-and-simplify-AGC-init-for-RT6352.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/020-cfg80211-add-ratelimited-variants-of-err-and-warn.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/021-rt2x00-use-ratelimited-variants-dev_warn-dev_err.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/022-rt2x00-check-number-of-EPROTO-errors.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/023-rt2x00-do-not-print-error-when-queue-is-full.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/024-rt2800-partially-restore-old-mmio-txstatus-behaviour.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/025-rt2800-new-flush-implementation-for-SoC-devices.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/026-rt2800-move-txstatus-pending-routine.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/027-rt2800mmio-fetch-tx-status-changes.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/028-rt2800mmio-use-timer-and-work-for-handling-tx-status.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/029-rt2x00-remove-last_nostatus_check.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/030-rt2x00-remove-not-used-entry-field.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/031-rt2x00mmio-remove-legacy-comment.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/050-rt2x00-add-RT3883-support.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/060-rt2x00-allow-to-specify-watchdog-interval.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/061-rt2800-add-helpers-for-reading-dma-done-index.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/062-rt2800-initial-watchdog-implementation.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/063-rt2800-add-pre_reset_hw-callback.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/064-rt2800-do-not-nullify-initialization-vector-data.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/065-rt2x00-add-restart-hw.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/066-rt2800-do-not-enable-watchdog-by-default.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/067-rt2x00usb-fix-rx-queue-hang.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/068-rt2x00usb-remove-unnecessary-rx-flag-checks.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/069-rt2x00-no-need-to-check-return-value-of-debugfs_crea.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/070-rt2800usb-Add-new-rt2800usb-device-PLANEX-GW-USMicro.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/071-rt2x00-clear-IV-s-on-start-to-fix-AP-mode-regression.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/072-rt2x00-do-not-set-IEEE80211_TX_STAT_AMPDU_NO_BACK-on.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/073-rt2x00-clear-up-IV-s-on-key-removal.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/074-Revert-rt2800-enable-TX_PIN_CFG_LNA_PE_-bits-per-ban.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/075-rt2800-remove-errornous-duplicate-condition.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/100-rt2x00_options.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/501-rt2x00-allow-to-build-rt2800soc-module-for-RT3883.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/601-rt2x00-introduce-rt2x00_platform_h.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/602-rt2x00-introduce-rt2x00eeprom.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/603-rt2x00-of_load_eeprom_filename.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/604-rt2x00-load-eeprom-on-SoC-from-a-mtd-device-defines-.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/606-rt2x00-allow_disabling_bands_through_platform_data.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/607-rt2x00-add_platform_data_mac_addr.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/608-rt2x00-allow_disabling_bands_through_dts.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/609-rt2x00-make-wmac-loadable-via-OF-on-rt288x-305x-SoC.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/610-rt2x00-change-led-polarity-from-OF.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/611-rt2x00-add-AP+STA-support.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/612-rt2x00-led-tpt-trigger-support.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/650-rt2x00-add-support-for-external-PA-on-MT7620.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/982-rt2x00-add-rf-self-txdc-calibration.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/983-rt2x00-add-r-calibration.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/984-rt2x00-add-rxdcoc-calibration.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/985-rt2x00-add-rxiq-calibration.patch create mode 100644 package/kernel/mac80211/patches/rt2x00/986-rt2x00-add-TX-LOFT-calibration.patch create mode 100644 package/kernel/mac80211/patches/subsys/100-remove-cryptoapi-dependencies.patch create mode 100644 package/kernel/mac80211/patches/subsys/110-mac80211_keep_keys_on_stop_ap.patch create mode 100644 package/kernel/mac80211/patches/subsys/120-cfg80211_allow_perm_addr_change.patch create mode 100644 package/kernel/mac80211/patches/subsys/130-disable-fils.patch create mode 100644 package/kernel/mac80211/patches/subsys/131-Revert-mac80211-aes-cmac-switch-to-shash-CMAC-driver.patch create mode 100644 package/kernel/mac80211/patches/subsys/132-mac80211-remove-cmac-dependency.patch create mode 100644 package/kernel/mac80211/patches/subsys/140-tweak-TSQ-setting.patch create mode 100644 package/kernel/mac80211/patches/subsys/150-disable_addr_notifier.patch create mode 100644 package/kernel/mac80211/patches/subsys/210-ap_scan.patch create mode 100644 package/kernel/mac80211/patches/subsys/300-mac80211-add-stop-start-logic-for-software-TXQs.patch create mode 100644 package/kernel/mac80211/patches/subsys/303-mac80211-minstrel-Enable-STBC-and-LDPC-for-VHT-Rates.patch create mode 100644 package/kernel/mac80211/patches/subsys/304-mac80211-minstrel-remove-unnecessary-debugfs-cleanup.patch create mode 100644 package/kernel/mac80211/patches/subsys/305-mac80211-fix-tx-status-for-no-ack-cases.patch create mode 100644 package/kernel/mac80211/patches/subsys/305-mac80211-minstrel-merge-with-minstrel_ht-always-enab.patch create mode 100644 package/kernel/mac80211/patches/subsys/306-mac80211-minstrel-reduce-minstrel_mcs_groups-size.patch create mode 100644 package/kernel/mac80211/patches/subsys/310-mac80211-minstrel-do-not-sample-rates-3-times-slower.patch create mode 100644 package/kernel/mac80211/patches/subsys/312-mac80211-minstrel_ht-add-flag-to-indicate-missing-in.patch create mode 100644 package/kernel/mac80211/patches/subsys/314-mac80211-minstrel_ht-reduce-unnecessary-rate-probing.patch create mode 100644 package/kernel/mac80211/patches/subsys/315-mac80211-minstrel_ht-fix-default-max-throughput-rate.patch create mode 100644 package/kernel/mac80211/patches/subsys/316-mac80211-minstrel_ht-improve-rate-probing-for-device.patch create mode 100644 package/kernel/mac80211/patches/subsys/317-mac80211-minstrel_ht-fix-infinite-loop-because-suppo.patch create mode 100644 package/kernel/mac80211/patches/subsys/320-mac80211-Add-TXQ-scheduling-API.patch create mode 100644 package/kernel/mac80211/patches/subsys/321-cfg80211-Add-airtime-statistics-and-settings.patch create mode 100644 package/kernel/mac80211/patches/subsys/322-mac80211-Add-airtime-accounting-and-scheduling-to-TX.patch create mode 100644 package/kernel/mac80211/patches/subsys/323-mac80211-Expose-ieee80211_schedule_txq-function.patch create mode 100644 package/kernel/mac80211/patches/subsys/350-mac80211-add-hdrlen-to-ieee80211_tx_data.patch create mode 100644 package/kernel/mac80211/patches/subsys/351-mac80211-add-TX_NEEDS_ALIGNED4_SKBS-hw-flag.patch create mode 100644 package/kernel/mac80211/patches/subsys/352-mac80211-rework-locking-for-txq-scheduling-airtime-f.patch create mode 100644 package/kernel/mac80211/patches/subsys/353-mac80211-mesh-drop-redundant-rcu_read_lock-unlock-ca.patch create mode 100644 package/kernel/mac80211/patches/subsys/354-mac80211-calculate-hash-for-fq-without-holding-fq-lo.patch create mode 100644 package/kernel/mac80211/patches/subsys/355-mac80211-run-late-dequeue-late-tx-handlers-without-h.patch create mode 100644 package/kernel/mac80211/patches/subsys/356-mac80211-set-NETIF_F_LLTX-when-using-intermediate-tx.patch create mode 100644 package/kernel/mac80211/patches/subsys/358-mac80211-make-ieee80211_schedule_txq-schedule-empty-.patch create mode 100644 package/kernel/mac80211/patches/subsys/359-mac80211-un-schedule-TXQs-on-powersave-start.patch create mode 100644 package/kernel/mac80211/patches/subsys/360-mac80211-when-using-iTXQ-select-the-queue-in-ieee802.patch create mode 100644 package/kernel/mac80211/patches/subsys/361-mac80211-add-IEEE80211_KEY_FLAG_GENERATE_MMIE-to-iee.patch create mode 100644 package/kernel/mac80211/patches/subsys/362-mac80211-minstrel-remove-divisions-in-tx-status-path.patch create mode 100644 package/kernel/mac80211/patches/subsys/363-mac80211-minstrel_ht-replace-rate-stats-ewma-with-a-.patch create mode 100644 package/kernel/mac80211/patches/subsys/364-mac80211-minstrel_ht-rename-prob_ewma-to-prob_avg-us.patch create mode 100644 package/kernel/mac80211/patches/subsys/365-mac80211-IBSS-send-deauth-when-expiring-inactive-STA.patch create mode 100644 package/kernel/mac80211/patches/subsys/367-mac80211-sta-randomize-BA-session-dialog-token-alloc.patch create mode 100644 package/kernel/mac80211/patches/subsys/368-cfg80211-add-local-BSS-receive-time-to-survey-inform.patch create mode 100644 package/kernel/mac80211/patches/subsys/522-mac80211_configure_antenna_gain.patch create mode 100644 package/kernel/mac80211/ralink.mk create mode 100644 package/kernel/mac80211/realtek.mk create mode 100755 package/kernel/mac80211/scripts/import-backports.sh create mode 100644 package/kernel/mt76/Makefile create mode 100644 package/kernel/mwlwifi/Makefile create mode 100644 package/kernel/nat46/Makefile create mode 100644 package/kernel/om-watchdog/Makefile create mode 100644 package/kernel/om-watchdog/files/om-watchdog create mode 100644 package/kernel/om-watchdog/files/om-watchdog.init create mode 100644 package/kernel/rtc-rv5c386a/Makefile create mode 100644 package/kernel/rtc-rv5c386a/src/Makefile create mode 100644 package/kernel/rtc-rv5c386a/src/rtc.c create mode 100644 package/kernel/rtl8812au-ct/Makefile create mode 100644 package/kernel/rtl8812au-ct/patches/001-use-kernel-byteorder.patch create mode 100644 package/kernel/spi-gpio-custom/Makefile create mode 100644 package/kernel/spi-gpio-custom/src/Kconfig create mode 100644 package/kernel/spi-gpio-custom/src/Makefile create mode 100644 package/kernel/spi-gpio-custom/src/spi-gpio-custom.c create mode 100644 package/kernel/trelay/Makefile create mode 100644 package/kernel/trelay/files/trelay.config create mode 100644 package/kernel/trelay/files/trelay.hotplug create mode 100644 package/kernel/trelay/files/trelay.init create mode 100644 package/kernel/trelay/src/Makefile create mode 100644 package/kernel/trelay/src/trelay.c create mode 100644 package/kernel/w1-gpio-custom/Makefile create mode 100644 package/kernel/w1-gpio-custom/src/Kconfig create mode 100644 package/kernel/w1-gpio-custom/src/Makefile create mode 100644 package/kernel/w1-gpio-custom/src/w1-gpio-custom.c create mode 100644 package/libs/argp-standalone/Makefile create mode 100644 package/libs/argp-standalone/patches/001-throw-in-funcdef.patch create mode 100644 package/libs/argp-standalone/patches/002-no_optimize.patch create mode 100644 package/libs/elfutils/Makefile create mode 100644 package/libs/elfutils/patches/003-libintl-compatibility.patch create mode 100644 package/libs/elfutils/patches/005-build_only_libs.patch create mode 100644 package/libs/elfutils/patches/100-musl-compat.patch create mode 100644 package/libs/elfutils/patches/101-no-fts.patch create mode 100644 package/libs/gettext-full/Makefile create mode 100644 package/libs/gettext-full/patches/000-relocatable.patch create mode 100644 package/libs/gettext-full/patches/001-autotools.patch create mode 100644 package/libs/gettext-full/patches/001-no_examples_and_tests.patch create mode 100644 package/libs/gettext-full/patches/003-gettext-error_print_progname.patch create mode 100644 package/libs/gettext-full/patches/100-error_progname.patch create mode 100644 package/libs/gettext-full/patches/110-error_progname_def.patch create mode 100644 package/libs/gettext-full/patches/120-uclibc-nolocale.patch create mode 100644 package/libs/gettext-full/patches/130-format-secuirty.patch create mode 100644 package/libs/gettext-full/patches/150-disable_libxml_iconv.patch create mode 100644 package/libs/gettext/Makefile create mode 100644 package/libs/gettext/src/LICENSE create mode 100644 package/libs/gettext/src/include/libintl.h create mode 100644 package/libs/gettext/src/m4/codeset.m4 create mode 100644 package/libs/gettext/src/m4/gettext.m4 create mode 100644 package/libs/gettext/src/m4/intl.m4 create mode 100644 package/libs/gettext/src/m4/intldir.m4 create mode 100644 package/libs/gettext/src/m4/intlmacosx.m4 create mode 100644 package/libs/gettext/src/m4/lcmessage.m4 create mode 100644 package/libs/gettext/src/m4/nls.m4 create mode 100644 package/libs/gettext/src/m4/po.m4 create mode 100644 package/libs/gmp/Makefile create mode 100644 package/libs/libbsd/Makefile create mode 100644 package/libs/libbsd/patches/001-handle-systems-missing-sys_cdefs.h.patch create mode 100644 package/libs/libbsd/patches/002-fix_function_declaration_protection_for_glibc_already_providing_them.patch create mode 100644 package/libs/libbsd/patches/010-fix-arc.patch create mode 100644 package/libs/libconfig/Makefile create mode 100644 package/libs/libevent2/Makefile create mode 100644 package/libs/libevent2/patches/0001-Add-missing-file-Uninstall.cmake.in.patch create mode 100644 package/libs/libevent2/patches/0002-Add-Uninstall.cmake.in-into-dist-archive.patch create mode 100644 package/libs/libiconv-full/Makefile create mode 100644 package/libs/libiconv-full/patches/100-strip_charsets.patch create mode 100644 package/libs/libiconv-full/patches/101-autotools.patch create mode 100644 package/libs/libiconv-full/patches/103-configure_ac_fix.patch create mode 100644 package/libs/libiconv-full/patches/200-work-with-libtool2.patch create mode 100644 package/libs/libiconv-full/patches/300-fortify-source-compat.patch create mode 100644 package/libs/libiconv/COPYING create mode 100644 package/libs/libiconv/COPYRIGHT create mode 100644 package/libs/libiconv/Makefile create mode 100644 package/libs/libiconv/src/LICENSE create mode 100644 package/libs/libiconv/src/iconv.c create mode 100644 package/libs/libiconv/src/include/charmaps.h create mode 100644 package/libs/libiconv/src/include/charmaps/iso-8859-10.h create mode 100644 package/libs/libiconv/src/include/charmaps/iso-8859-13.h create mode 100644 package/libs/libiconv/src/include/charmaps/iso-8859-14.h create mode 100644 package/libs/libiconv/src/include/charmaps/iso-8859-16.h create mode 100644 package/libs/libiconv/src/include/charmaps/iso-8859-2.h create mode 100644 package/libs/libiconv/src/include/charmaps/iso-8859-3.h create mode 100644 package/libs/libiconv/src/include/charmaps/iso-8859-4.h create mode 100644 package/libs/libiconv/src/include/charmaps/iso-8859-5.h create mode 100644 package/libs/libiconv/src/include/charmaps/iso-8859-6.h create mode 100644 package/libs/libiconv/src/include/charmaps/iso-8859-7.h create mode 100644 package/libs/libiconv/src/include/charmaps/iso-8859-8.h create mode 100644 package/libs/libiconv/src/include/charmaps/iso-8859-9.h create mode 100644 package/libs/libiconv/src/include/charmaps/koi8-r.h create mode 100644 package/libs/libiconv/src/include/charmaps/windows-1250.h create mode 100644 package/libs/libiconv/src/include/charmaps/windows-1251.h create mode 100644 package/libs/libiconv/src/include/charmaps/windows-1252.h create mode 100644 package/libs/libiconv/src/include/charmaps/windows-1253.h create mode 100644 package/libs/libiconv/src/include/charmaps/windows-1254.h create mode 100644 package/libs/libiconv/src/include/charmaps/windows-1255.h create mode 100644 package/libs/libiconv/src/include/charmaps/windows-1256.h create mode 100644 package/libs/libiconv/src/include/charmaps/windows-1257.h create mode 100644 package/libs/libiconv/src/include/charmaps/windows-1258.h create mode 100644 package/libs/libiconv/src/include/charmaps/windows-874.h create mode 100644 package/libs/libiconv/src/include/iconv.h create mode 100644 package/libs/libiconv/src/m4/iconv.m4 create mode 100644 package/libs/libjson-c/Makefile create mode 100644 package/libs/libjson-c/patches/000-libm.patch create mode 100644 package/libs/libjson-c/patches/001-Prevent-division-by-zero-in-linkhash.patch create mode 100644 package/libs/libjson-c/patches/002-Fix-integer-overflows.patch create mode 100644 package/libs/libmnl/Makefile create mode 100644 package/libs/libnetfilter-conntrack/Makefile create mode 100644 package/libs/libnetfilter-cthelper/Makefile create mode 100644 package/libs/libnetfilter-cttimeout/Makefile create mode 100644 package/libs/libnetfilter-log/Makefile create mode 100644 package/libs/libnetfilter-log/patches/0001-build-remove-unnecessary-pkgconfig-config.status-dep.patch create mode 100644 package/libs/libnetfilter-log/patches/0002-build-remove-unused-lines-in-Makefile.am.patch create mode 100644 package/libs/libnetfilter-log/patches/0003-build-resolve-automake-1.12-warnings.patch create mode 100644 package/libs/libnetfilter-log/patches/0004-Add-include-needed-for-integer-type-definition.patch create mode 100644 package/libs/libnetfilter-log/patches/0005-configure-uclinux-is-also-linux.patch create mode 100644 package/libs/libnetfilter-log/patches/0006-configure-add-without-ipulog-option-to-disable-libip.patch create mode 100644 package/libs/libnetfilter-queue/Makefile create mode 100644 package/libs/libnetfilter-queue/patches/100-checksum_computation.patch create mode 100644 package/libs/libnfnetlink/Makefile create mode 100644 package/libs/libnfnetlink/patches/100-missing_include.patch create mode 100644 package/libs/libnftnl/Makefile create mode 100644 package/libs/libnl-tiny/Makefile create mode 100644 package/libs/libnl-tiny/files/libnl-tiny.pc create mode 100644 package/libs/libnl-tiny/src/Makefile create mode 100644 package/libs/libnl-tiny/src/attr.c create mode 100644 package/libs/libnl-tiny/src/cache.c create mode 100644 package/libs/libnl-tiny/src/cache_mngt.c create mode 100644 package/libs/libnl-tiny/src/error.c create mode 100644 package/libs/libnl-tiny/src/genl.c create mode 100644 package/libs/libnl-tiny/src/genl_ctrl.c create mode 100644 package/libs/libnl-tiny/src/genl_family.c create mode 100644 package/libs/libnl-tiny/src/genl_mngt.c create mode 100644 package/libs/libnl-tiny/src/handlers.c create mode 100644 package/libs/libnl-tiny/src/include/netlink-generic.h create mode 100644 package/libs/libnl-tiny/src/include/netlink-local.h create mode 100644 package/libs/libnl-tiny/src/include/netlink-types.h create mode 100644 package/libs/libnl-tiny/src/include/netlink/addr.h create mode 100644 package/libs/libnl-tiny/src/include/netlink/attr.h create mode 100644 package/libs/libnl-tiny/src/include/netlink/cache-api.h create mode 100644 package/libs/libnl-tiny/src/include/netlink/cache.h create mode 100644 package/libs/libnl-tiny/src/include/netlink/data.h create mode 100644 package/libs/libnl-tiny/src/include/netlink/errno.h create mode 100644 package/libs/libnl-tiny/src/include/netlink/genl/ctrl.h create mode 100644 package/libs/libnl-tiny/src/include/netlink/genl/family.h create mode 100644 package/libs/libnl-tiny/src/include/netlink/genl/genl.h create mode 100644 package/libs/libnl-tiny/src/include/netlink/genl/mngt.h create mode 100644 package/libs/libnl-tiny/src/include/netlink/handlers.h create mode 100644 package/libs/libnl-tiny/src/include/netlink/list.h create mode 100644 package/libs/libnl-tiny/src/include/netlink/msg.h create mode 100644 package/libs/libnl-tiny/src/include/netlink/netlink-compat.h create mode 100644 package/libs/libnl-tiny/src/include/netlink/netlink-kernel.h create mode 100644 package/libs/libnl-tiny/src/include/netlink/netlink.h create mode 100644 package/libs/libnl-tiny/src/include/netlink/object-api.h create mode 100644 package/libs/libnl-tiny/src/include/netlink/object.h create mode 100644 package/libs/libnl-tiny/src/include/netlink/socket.h create mode 100644 package/libs/libnl-tiny/src/include/netlink/types.h create mode 100644 package/libs/libnl-tiny/src/include/netlink/utils.h create mode 100644 package/libs/libnl-tiny/src/include/netlink/version.h create mode 100644 package/libs/libnl-tiny/src/include/unl.h create mode 100644 package/libs/libnl-tiny/src/msg.c create mode 100644 package/libs/libnl-tiny/src/nl.c create mode 100644 package/libs/libnl-tiny/src/object.c create mode 100644 package/libs/libnl-tiny/src/socket.c create mode 100644 package/libs/libnl-tiny/src/unl.c create mode 100644 package/libs/libnl/Makefile create mode 100644 package/libs/libnl/patches/100-build-add-Libs.private-field-in-libnl-pkg-config-file.patch create mode 100644 package/libs/libnl/patches/101-add-musl-workaround-to-the-libc-compat.h-copy.patch create mode 100644 package/libs/libnl/patches/102-revert-build-enable-building-cli-during-tests.patch create mode 100644 package/libs/libpcap/Config.in create mode 100644 package/libs/libpcap/Makefile create mode 100644 package/libs/libpcap/patches/100-debian_shared_lib.patch create mode 100644 package/libs/libpcap/patches/102-makefile_disable_manpages.patch create mode 100644 package/libs/libpcap/patches/103-makefile_flex_workaround.patch create mode 100644 package/libs/libpcap/patches/201-space_optimization.patch create mode 100644 package/libs/libpcap/patches/203-undef_iw_mode_monitor.patch create mode 100644 package/libs/libpcap/patches/204-usb-bus-path.patch create mode 100644 package/libs/libroxml/Makefile create mode 100644 package/libs/libtool/Makefile create mode 100644 package/libs/libubox/Makefile create mode 100644 package/libs/libunwind/Makefile create mode 100644 package/libs/libunwind/patches/002-fix-building-getcontext_S.patch create mode 100644 package/libs/libunwind/patches/003-fix-missing-ef_reg-defs-with-musl.patch create mode 100644 package/libs/libunwind/patches/004-ppc-musl.patch create mode 100644 package/libs/libusb-compat/Makefile create mode 100644 package/libs/libusb-compat/patches/001-fix-musl-stdint.patch create mode 100644 package/libs/libusb/Makefile create mode 100644 package/libs/lzo/Makefile create mode 100644 package/libs/mbedtls/Makefile create mode 100644 package/libs/mbedtls/patches/200-config.patch create mode 100644 package/libs/ncurses/Makefile create mode 100644 package/libs/ncurses/patches/100-ncurses-5.6-20080112-urxvt.patch create mode 100644 package/libs/ncurses/patches/101-ncurses-5.6-20080628-kbs.patch create mode 100644 package/libs/ncurses/patches/102-ncurses-5.9-gcc-5.patch create mode 100644 package/libs/ncurses/patches/103-ncurses-ar-determinism.patch create mode 100644 package/libs/ncurses/patches/200-fix_missing_include.patch create mode 100644 package/libs/ncurses/patches/900-terminfo.patch create mode 100644 package/libs/nettle/Config.in create mode 100644 package/libs/nettle/Makefile create mode 100644 package/libs/nghttp2/Makefile create mode 100644 package/libs/openssl/Config.in create mode 100644 package/libs/openssl/Makefile create mode 100644 package/libs/openssl/patches/100-Configure-afalg-support.patch create mode 100644 package/libs/openssl/patches/110-openwrt_targets.patch create mode 100644 package/libs/openssl/patches/120-strip-cflags-from-binary.patch create mode 100644 package/libs/openssl/patches/130-dont-build-tests-fuzz.patch create mode 100644 package/libs/openssl/patches/140-allow-prefer-chacha20.patch create mode 100644 package/libs/openssl/patches/150-openssl.cnf-add-engines-conf.patch create mode 100644 package/libs/openssl/patches/400-eng_devcrypto-save-ioctl-if-EVP_MD_.FLAG_ONESHOT.patch create mode 100644 package/libs/openssl/patches/410-eng_devcrypto-add-configuration-options.patch create mode 100644 package/libs/openssl/patches/420-eng_devcrypto-add-command-to-dump-driver-info.patch create mode 100644 package/libs/openssl/patches/430-e_devcrypto-make-the-dev-crypto-engine-dynamic.patch create mode 100644 package/libs/openssl/patches/500-e_devcrypto-default-to-not-use-digests-in-engine.patch create mode 100644 package/libs/openssl/patches/510-e_devcrypto-ignore-error-when-closing-session.patch create mode 100644 package/libs/popt/Makefile create mode 100644 package/libs/readline/Makefile create mode 100644 package/libs/readline/patches/001-curses-link.patch create mode 100644 package/libs/sysfsutils/Makefile create mode 100644 package/libs/sysfsutils/files/local.conf create mode 100644 package/libs/sysfsutils/files/sysfs.conf create mode 100644 package/libs/sysfsutils/files/sysfsutils create mode 100644 package/libs/sysfsutils/patches/200-mnt_path_check.patch create mode 100644 package/libs/toolchain/Makefile create mode 100644 package/libs/toolchain/glibc-files/etc/nsswitch.conf create mode 100644 package/libs/uclibc++/Makefile create mode 100644 package/libs/uclibc++/files/config.default create mode 100644 package/libs/uclibc++/patches/001-no-ansi.patch create mode 100644 package/libs/uclibc++/patches/002-undef-functions.patch create mode 100644 package/libs/uclibc++/patches/003-no-fPIC.patch create mode 100644 package/libs/uclibc++/patches/004-uClibc-Make-long-long-available-to-C-11.patch create mode 100644 package/libs/uclibc++/patches/005-istream_helpers-Fix-sscanf-typo.patch create mode 100644 package/libs/uclient/Makefile create mode 100644 package/libs/ustream-ssl/Makefile create mode 100644 package/libs/wolfssl/Config.in create mode 100644 package/libs/wolfssl/Makefile create mode 100644 package/libs/wolfssl/patches/100-disable-hardening-check.patch create mode 100644 package/libs/zlib/Config.in create mode 100644 package/libs/zlib/Makefile create mode 100644 package/libs/zlib/patches/001-neon-implementation-of-adler32.patch create mode 100644 package/libs/zlib/patches/002-arm-specific-optimisations-for-inflate.patch create mode 100644 package/libs/zlib/patches/003-attach-sourcefiles-in-patch-002-to-buildsystem.patch create mode 100644 package/libs/zlib/patches/004-relative-pkg-config-paths.patch create mode 100644 package/network/config/firewall/Makefile create mode 100644 package/network/config/firewall/files/firewall.config create mode 100644 package/network/config/firewall/files/firewall.hotplug create mode 100755 package/network/config/firewall/files/firewall.init create mode 100644 package/network/config/firewall/files/firewall.user create mode 100644 package/network/config/firewall/patches/0001-zones-apply-tcp-mss-clamping-also-on-ingress-path.patch create mode 100644 package/network/config/firewall/patches/0002-options-fix-parsing-of-boolean-attributes.patch create mode 100644 package/network/config/gre/Makefile create mode 100755 package/network/config/gre/files/gre.sh create mode 100644 package/network/config/ipip/Makefile create mode 100755 package/network/config/ipip/files/ipip.sh create mode 100644 package/network/config/ltq-adsl-app/Makefile create mode 100755 package/network/config/ltq-adsl-app/files/10_atm.sh create mode 100755 package/network/config/ltq-adsl-app/files/10_ptm.sh create mode 100644 package/network/config/ltq-adsl-app/files/dsl_control create mode 100644 package/network/config/ltq-adsl-app/patches/001-stupid_breakage_fix.patch create mode 100644 package/network/config/ltq-adsl-app/patches/010-eglibc_compile_fix.patch create mode 100644 package/network/config/ltq-adsl-app/patches/100-add-more-script-notifications.patch create mode 100644 package/network/config/ltq-vdsl-app/Makefile create mode 100755 package/network/config/ltq-vdsl-app/files/10_atm.sh create mode 100755 package/network/config/ltq-vdsl-app/files/10_ptm.sh create mode 100644 package/network/config/ltq-vdsl-app/files/dsl_control create mode 100755 package/network/config/ltq-vdsl-app/files/dsl_cpe_pipe.sh create mode 100644 package/network/config/ltq-vdsl-app/patches/100-compat.patch create mode 100644 package/network/config/ltq-vdsl-app/patches/101-musl.patch create mode 100644 package/network/config/ltq-vdsl-app/patches/200-autoboot.patch create mode 100644 package/network/config/netifd/Makefile create mode 100644 package/network/config/netifd/files/etc/hotplug.d/iface/00-netstate create mode 100644 package/network/config/netifd/files/etc/hotplug.d/net/20-smp-tune create mode 100755 package/network/config/netifd/files/etc/init.d/network create mode 100755 package/network/config/netifd/files/lib/netifd/dhcp.script create mode 100755 package/network/config/netifd/files/lib/netifd/proto/dhcp.sh create mode 100755 package/network/config/netifd/files/lib/network/config.sh create mode 100755 package/network/config/netifd/files/sbin/devstatus create mode 120000 package/network/config/netifd/files/sbin/ifdown create mode 100755 package/network/config/netifd/files/sbin/ifstatus create mode 100755 package/network/config/netifd/files/sbin/ifup create mode 100755 package/network/config/netifd/files/usr/share/udhcpc/default.script create mode 100644 package/network/config/qos-scripts/Makefile create mode 100644 package/network/config/qos-scripts/files/etc/config/qos create mode 100755 package/network/config/qos-scripts/files/etc/hotplug.d/iface/10-qos create mode 100755 package/network/config/qos-scripts/files/etc/init.d/qos create mode 100755 package/network/config/qos-scripts/files/usr/bin/qos-start create mode 100755 package/network/config/qos-scripts/files/usr/bin/qos-stat create mode 100755 package/network/config/qos-scripts/files/usr/bin/qos-stop create mode 100755 package/network/config/qos-scripts/files/usr/lib/qos/generate.sh create mode 100644 package/network/config/qos-scripts/files/usr/lib/qos/tcrules.awk create mode 100644 package/network/config/soloscli/Makefile create mode 100644 package/network/config/soloscli/files/etc/hotplug.d/atm/15-solos-init create mode 100644 package/network/config/soloscli/files/etc/uci-default/solos create mode 100644 package/network/config/soloscli/files/solos-log-stats create mode 100644 package/network/config/soloscli/patches/001-no-driver.patch create mode 100644 package/network/config/soloscli/patches/002-cflags.patch create mode 100644 package/network/config/swconfig/Makefile create mode 100644 package/network/config/swconfig/files/switch.sh create mode 100644 package/network/config/swconfig/src/Makefile create mode 100644 package/network/config/swconfig/src/cli.c create mode 100644 package/network/config/swconfig/src/swlib.c create mode 100644 package/network/config/swconfig/src/swlib.h create mode 100644 package/network/config/swconfig/src/uci.c create mode 100644 package/network/config/vti/Makefile create mode 100755 package/network/config/vti/files/vti.sh create mode 100644 package/network/config/vxlan/Makefile create mode 100755 package/network/config/vxlan/files/vxlan.sh create mode 100644 package/network/config/xfrm/Makefile create mode 100755 package/network/config/xfrm/files/xfrm.sh create mode 100644 package/network/ipv6/464xlat/Makefile create mode 100755 package/network/ipv6/464xlat/files/464xlat.sh create mode 100644 package/network/ipv6/464xlat/src/464xlatcfg.c create mode 100644 package/network/ipv6/464xlat/src/Makefile create mode 100644 package/network/ipv6/6in4/Makefile create mode 100755 package/network/ipv6/6in4/files/6in4.sh create mode 100644 package/network/ipv6/6rd/Makefile create mode 100644 package/network/ipv6/6rd/files/6rd.sh create mode 100644 package/network/ipv6/6rd/src/6rdcalc.c create mode 100644 package/network/ipv6/6rd/src/Makefile create mode 100644 package/network/ipv6/6to4/Makefile create mode 100755 package/network/ipv6/6to4/files/6to4.sh create mode 100644 package/network/ipv6/ds-lite/Makefile create mode 100644 package/network/ipv6/ds-lite/files/dslite.sh create mode 100644 package/network/ipv6/map/Makefile create mode 100755 package/network/ipv6/map/files/map.sh create mode 100644 package/network/ipv6/map/src/CMakeLists.txt create mode 100644 package/network/ipv6/map/src/mapcalc.c create mode 100644 package/network/ipv6/odhcp6c/Makefile create mode 100755 package/network/ipv6/odhcp6c/files/dhcpv6.script create mode 100755 package/network/ipv6/odhcp6c/files/dhcpv6.sh create mode 100644 package/network/ipv6/thc-ipv6/Makefile create mode 100644 package/network/ipv6/thc-ipv6/patches/000-cflags_override.patch create mode 100644 package/network/ipv6/thc-ipv6/patches/100-no-ssl.patch create mode 100644 package/network/services/dnsmasq/Makefile create mode 100755 package/network/services/dnsmasq/files/dhcp-script.sh create mode 100644 package/network/services/dnsmasq/files/dhcp.conf create mode 100644 package/network/services/dnsmasq/files/dhcpbogushostname.conf create mode 100644 package/network/services/dnsmasq/files/dnsmasq.conf create mode 100644 package/network/services/dnsmasq/files/dnsmasq.init create mode 100644 package/network/services/dnsmasq/files/dnsmasq_acl.json create mode 100644 package/network/services/dnsmasq/files/dnsmasqsec.hotplug create mode 100644 package/network/services/dnsmasq/files/rfc6761.conf create mode 100644 package/network/services/dnsmasq/patches/0001-Impove-cache-behaviour-for-TCP-connections.patch create mode 100644 package/network/services/dnsmasq/patches/0002-Ensure-that-AD-bit-is-reset-on-answers-from-address-.patch create mode 100644 package/network/services/dnsmasq/patches/0003-Remove-ability-to-compile-without-IPv6-support.patch create mode 100644 package/network/services/dnsmasq/patches/0004-Don-t-forward-.bind-.server-queries-upstream.patch create mode 100644 package/network/services/dnsmasq/patches/0005-Fix-logging-in-cf5984367bc6a949e3803a576512c5a7bc48e.patch create mode 100644 package/network/services/dnsmasq/patches/0006-Fix-spurious-AD-flags-in-some-DNS-replies-from-local.patch create mode 100644 package/network/services/dnsmasq/patches/0007-Do-not-rely-on-dead-code-elimination-use-array-inste.patch create mode 100644 package/network/services/dnsmasq/patches/0008-Fix-Makefile-lines-generating-UBUS-linker-config.patch create mode 100644 package/network/services/dnsmasq/patches/0009-Revert-68f6312d4bae30b78daafcd6f51dc441b8685b1e.patch create mode 100644 package/network/services/dnsmasq/patches/0010-Remove-the-NO_FORK-compile-time-option-and-support-f.patch create mode 100644 package/network/services/dnsmasq/patches/0011-Free-config-file-values-on-parsing-errors.patch create mode 100644 package/network/services/dnsmasq/patches/0013-Treat-DS-and-DNSKEY-queries-being-forwarded-the-same.patch create mode 100644 package/network/services/dnsmasq/patches/0014-Fix-option-parsing-errors-introduced-in-59e470381f84.patch create mode 100644 package/network/services/dnsmasq/patches/0015-fix-ipv6-ipset-bug-in-master.patch create mode 100644 package/network/services/dnsmasq/patches/0016-build-failure-on-master-with-NO_DHCPv6-and-fix.patch create mode 100644 package/network/services/dnsmasq/patches/0017-Alter-DHCP-address-selection-after-DECLINE-in-consec.patch create mode 100644 package/network/services/dnsmasq/patches/0018-Tidy-all_addr-union-merge-log-and-rcode-fields.patch create mode 100644 package/network/services/dnsmasq/patches/0019-Tidy-address-union-handling-move-class-into-explicit.patch create mode 100644 package/network/services/dnsmasq/patches/0020-Futher-address-union-tidying.patch create mode 100644 package/network/services/dnsmasq/patches/0021-Remove-nested-struct-union-in-cache-records-and-all_.patch create mode 100644 package/network/services/dnsmasq/patches/0022-File-logic-bug-in-cache-marshalling-code.-Introduced.patch create mode 100644 package/network/services/dnsmasq/patches/0023-Fix-typo-in-ra-param-man-page-section.patch create mode 100644 package/network/services/dnsmasq/patches/0024-Cache-SRV-records.patch create mode 100644 package/network/services/dnsmasq/patches/0025-Fix-crash-freeing-negative-SRV-cache-entries.patch create mode 100644 package/network/services/dnsmasq/patches/0026-Check-for-not-DS-or-DNSKEY-in-is_outdated_cname_poin.patch create mode 100644 package/network/services/dnsmasq/patches/0027-Fix-e7bfd556c079c8b5e7425aed44abc35925b24043-to-actu.patch create mode 100644 package/network/services/dnsmasq/patches/0028-Tidy-cache_blockdata_free.patch create mode 100644 package/network/services/dnsmasq/patches/0029-Fix-removal-of-DHCP_CLIENT_MAC-options-from-DHCPv6-r.patch create mode 100644 package/network/services/dnsmasq/patches/0030-Fix-entries-in-etc-hosts-disabling-static-leases.patch create mode 100644 package/network/services/dnsmasq/patches/0031-Fix-missing-braces-in-8eac67c0a15b673c8d27002c248651.patch create mode 100644 package/network/services/dnsmasq/patches/0032-Change-read_leases-to-skip-invalid-entries.patch create mode 100644 package/network/services/dnsmasq/patches/0040-Fix-crash-when-negative-SRV-response-over-TCP-gets-s.patch create mode 100644 package/network/services/dnsmasq/patches/0102-Fix-remote-buffer-overflow-CERT-VU-434904.patch create mode 100644 package/network/services/dnsmasq/patches/0103-Check-destination-of-DNS-UDP-query-replies.patch create mode 100644 package/network/services/dnsmasq/patches/0104-Use-SHA-256-to-provide-security-against-DNS-cache-po.patch create mode 100644 package/network/services/dnsmasq/patches/0105-Optimse-RR-digest-calculation-in-DNSSEC.patch create mode 100644 package/network/services/dnsmasq/patches/0107-Add-missing-check-for-NULL-return-from-allocate_rfd.patch create mode 100644 package/network/services/dnsmasq/patches/0108-Handle-multiple-identical-near-simultaneous-DNS-quer.patch create mode 100644 package/network/services/dnsmasq/patches/0109-Handle-caching-with-EDNS-options-better.patch create mode 100644 package/network/services/dnsmasq/patches/0110-Support-hash-function-from-nettle-only.patch create mode 100644 package/network/services/dnsmasq/patches/0111-Small-cleanups-in-frec_src-datastucture-handling.patch create mode 100644 package/network/services/dnsmasq/patches/0112-Add-CVE-numbers-to-security-update-descriptions-in-C.patch create mode 100644 package/network/services/dnsmasq/patches/0113-Fix-warning-message-logic.patch create mode 100644 package/network/services/dnsmasq/patches/0115-Update-to-new-struct-frec-fields-in-conntrack-code.patch create mode 100644 package/network/services/dnsmasq/patches/0120-Move-fd-into-frec_src-fixes-15b60ddf935a531269bb8c68.patch create mode 100644 package/network/services/dnsmasq/patches/0121-Fix-to-75e2f0aec33e58ef5b8d4d107d821c215a52827c.patch create mode 100644 package/network/services/dnsmasq/patches/0123-Fix-for-12af2b171de0d678d98583e2190789e544440e02.patch create mode 100644 package/network/services/dnsmasq/patches/050-crypto-use-nettle-ecc_curve-access-functions.patch create mode 100644 package/network/services/dnsmasq/patches/110-ipset-remove-old-kernel-support.patch create mode 100644 package/network/services/dnsmasq/patches/230-fix-poll-h-include-warning-on-musl.patch create mode 100644 package/network/services/dropbear/Config.in create mode 100644 package/network/services/dropbear/Makefile create mode 100644 package/network/services/dropbear/files/dropbear.config create mode 100755 package/network/services/dropbear/files/dropbear.init create mode 100644 package/network/services/dropbear/patches/100-pubkey_path.patch create mode 100644 package/network/services/dropbear/patches/110-change_user.patch create mode 100644 package/network/services/dropbear/patches/130-ssh_ignore_x_args.patch create mode 100644 package/network/services/dropbear/patches/140-disable_assert.patch create mode 100644 package/network/services/dropbear/patches/160-lto-jobserver.patch create mode 100644 package/network/services/dropbear/patches/600-allow-blank-root-password.patch create mode 100644 package/network/services/dropbear/patches/900-configure-hardening.patch create mode 100644 package/network/services/dropbear/patches/901-bundled-libs-cflags.patch create mode 100644 package/network/services/ead/Makefile create mode 100644 package/network/services/ead/src/Makefile create mode 100644 package/network/services/ead/src/aes.c create mode 100644 package/network/services/ead/src/ead-client.c create mode 100644 package/network/services/ead/src/ead-crypt.c create mode 100644 package/network/services/ead/src/ead-crypt.h create mode 100644 package/network/services/ead/src/ead-pcap.h create mode 100644 package/network/services/ead/src/ead.c create mode 100644 package/network/services/ead/src/ead.h create mode 100644 package/network/services/ead/src/filter.c create mode 100644 package/network/services/ead/src/libbridge.h create mode 100644 package/network/services/ead/src/libbridge_init.c create mode 100644 package/network/services/ead/src/libbridge_private.h create mode 100644 package/network/services/ead/src/list.h create mode 100644 package/network/services/ead/src/passwd create mode 100644 package/network/services/ead/src/pfc.c create mode 100644 package/network/services/ead/src/pw_encrypt_md5.c create mode 100644 package/network/services/ead/src/sha1.c create mode 100644 package/network/services/ead/src/tinysrp/Makefile.am create mode 100644 package/network/services/ead/src/tinysrp/Makefile.in create mode 100644 package/network/services/ead/src/tinysrp/Notes create mode 100644 package/network/services/ead/src/tinysrp/acconfig.h create mode 100644 package/network/services/ead/src/tinysrp/acinclude.m4 create mode 100644 package/network/services/ead/src/tinysrp/aclocal.m4 create mode 100644 package/network/services/ead/src/tinysrp/bn.h create mode 100644 package/network/services/ead/src/tinysrp/bn_add.c create mode 100644 package/network/services/ead/src/tinysrp/bn_asm.c create mode 100644 package/network/services/ead/src/tinysrp/bn_ctx.c create mode 100644 package/network/services/ead/src/tinysrp/bn_div.c create mode 100644 package/network/services/ead/src/tinysrp/bn_exp.c create mode 100644 package/network/services/ead/src/tinysrp/bn_lcl.h create mode 100644 package/network/services/ead/src/tinysrp/bn_lib.c create mode 100644 package/network/services/ead/src/tinysrp/bn_mul.c create mode 100644 package/network/services/ead/src/tinysrp/bn_prime.h create mode 100644 package/network/services/ead/src/tinysrp/bn_shift.c create mode 100644 package/network/services/ead/src/tinysrp/bn_sqr.c create mode 100644 package/network/services/ead/src/tinysrp/bn_word.c create mode 100644 package/network/services/ead/src/tinysrp/clitest.c create mode 100644 package/network/services/ead/src/tinysrp/config.h.in create mode 100755 package/network/services/ead/src/tinysrp/configure create mode 100644 package/network/services/ead/src/tinysrp/configure.in create mode 100755 package/network/services/ead/src/tinysrp/install-sh create mode 100755 package/network/services/ead/src/tinysrp/missing create mode 100755 package/network/services/ead/src/tinysrp/mkinstalldirs create mode 100644 package/network/services/ead/src/tinysrp/srvtest.c create mode 100644 package/network/services/ead/src/tinysrp/stamp-h.in create mode 100644 package/network/services/ead/src/tinysrp/t_client.c create mode 100644 package/network/services/ead/src/tinysrp/t_client.h create mode 100644 package/network/services/ead/src/tinysrp/t_conf.c create mode 100644 package/network/services/ead/src/tinysrp/t_conv.c create mode 100644 package/network/services/ead/src/tinysrp/t_defines.h create mode 100644 package/network/services/ead/src/tinysrp/t_getconf.c create mode 100644 package/network/services/ead/src/tinysrp/t_getpass.c create mode 100644 package/network/services/ead/src/tinysrp/t_math.c create mode 100644 package/network/services/ead/src/tinysrp/t_misc.c create mode 100644 package/network/services/ead/src/tinysrp/t_pw.c create mode 100644 package/network/services/ead/src/tinysrp/t_pwd.h create mode 100644 package/network/services/ead/src/tinysrp/t_read.c create mode 100644 package/network/services/ead/src/tinysrp/t_read.h create mode 100644 package/network/services/ead/src/tinysrp/t_server.c create mode 100644 package/network/services/ead/src/tinysrp/t_server.h create mode 100644 package/network/services/ead/src/tinysrp/t_sha.c create mode 100644 package/network/services/ead/src/tinysrp/t_sha.h create mode 100644 package/network/services/ead/src/tinysrp/t_truerand.c create mode 100644 package/network/services/ead/src/tinysrp/tconf.c create mode 100644 package/network/services/ead/src/tinysrp/tinysrp.c create mode 100644 package/network/services/ead/src/tinysrp/tinysrp.h create mode 100644 package/network/services/ead/src/tinysrp/tpasswd create mode 100644 package/network/services/ead/src/tinysrp/tphrase.c create mode 100644 package/network/services/hostapd/Config.in create mode 100644 package/network/services/hostapd/Makefile create mode 100644 package/network/services/hostapd/files/hostapd-basic.config create mode 100644 package/network/services/hostapd/files/hostapd-full.config create mode 100644 package/network/services/hostapd/files/hostapd-mini.config create mode 100644 package/network/services/hostapd/files/hostapd.sh create mode 100644 package/network/services/hostapd/files/multicall.c create mode 100644 package/network/services/hostapd/files/wpa_supplicant-basic.config create mode 100644 package/network/services/hostapd/files/wpa_supplicant-full.config create mode 100644 package/network/services/hostapd/files/wpa_supplicant-mini.config create mode 100644 package/network/services/hostapd/files/wpa_supplicant-p2p.config create mode 100644 package/network/services/hostapd/files/wps-hotplug.sh create mode 100644 package/network/services/hostapd/patches/004-mesh-use-setup-completion-callback-to-complete-mesh-.patch create mode 100644 package/network/services/hostapd/patches/005-mesh-update-ssid-frequency-as-pri-sec-channel-switch.patch create mode 100644 package/network/services/hostapd/patches/006-mesh-inform-kernel-driver-DFS-handler-in-userspace.patch create mode 100644 package/network/services/hostapd/patches/007-mesh-apply-channel-attributes-before-running-Mesh.patch create mode 100644 package/network/services/hostapd/patches/011-mesh-Allow-DFS-channels-to-be-selected-if-dfs-is-ena.patch create mode 100644 package/network/services/hostapd/patches/013-mesh-do-not-allow-pri-sec-channel-switch.patch create mode 100644 package/network/services/hostapd/patches/015-mesh-do-not-use-offchan-mgmt-tx-on-DFS.patch create mode 100644 package/network/services/hostapd/patches/016-mesh-fix-channel-switch-error-during-CAC.patch create mode 100644 package/network/services/hostapd/patches/018-mesh-make-forwarding-configurable.patch create mode 100644 package/network/services/hostapd/patches/020-ignore-4addr-mode-enabling-error.patch create mode 100644 package/network/services/hostapd/patches/051-wpa_supplicant-fix-race-condition-in-mesh-mpm-new-pe.patch create mode 100644 package/network/services/hostapd/patches/060-P2P-Fix-a-corner-case-in-peer-addition-based-on-PD-R.patch create mode 100644 package/network/services/hostapd/patches/067-0001-AP-Silently-ignore-management-frame-from-unexpected-.patch create mode 100644 package/network/services/hostapd/patches/070-driver_nl80211-fix-WMM-queue-mapping-for-regulatory-.patch create mode 100644 package/network/services/hostapd/patches/071-driver_nl80211-fix-regulatory-limits-for-wmm-cwmin-c.patch create mode 100644 package/network/services/hostapd/patches/090-wolfssl-fix-crypto_bignum_sum.patch create mode 100644 package/network/services/hostapd/patches/091-0001-wolfssl-Fix-compiler-warnings-on-size_t-printf-forma.patch create mode 100644 package/network/services/hostapd/patches/091-0002-wolfssl-Fix-crypto_bignum_rand-implementation.patch create mode 100644 package/network/services/hostapd/patches/091-0003-wolfssl-Do-not-hardcode-include-directory-in-wpa_sup.patch create mode 100644 package/network/services/hostapd/patches/100-daemonize_fix.patch create mode 100644 package/network/services/hostapd/patches/110-wolfssl-compile-fix.patch create mode 100644 package/network/services/hostapd/patches/200-multicall.patch create mode 100644 package/network/services/hostapd/patches/300-noscan.patch create mode 100644 package/network/services/hostapd/patches/301-mesh-noscan.patch create mode 100644 package/network/services/hostapd/patches/310-rescan_immediately.patch create mode 100644 package/network/services/hostapd/patches/320-optional_rfkill.patch create mode 100644 package/network/services/hostapd/patches/330-nl80211_fix_set_freq.patch create mode 100644 package/network/services/hostapd/patches/340-reload_freq_change.patch create mode 100644 package/network/services/hostapd/patches/341-mesh-ctrl-iface-channel-switch.patch create mode 100644 package/network/services/hostapd/patches/350-nl80211_del_beacon_bss.patch create mode 100644 package/network/services/hostapd/patches/360-ctrl_iface_reload.patch create mode 100644 package/network/services/hostapd/patches/370-ap_sta_support.patch create mode 100644 package/network/services/hostapd/patches/380-disable_ctrl_iface_mib.patch create mode 100644 package/network/services/hostapd/patches/381-hostapd_cli_UNKNOWN-COMMAND.patch create mode 100644 package/network/services/hostapd/patches/390-wpa_ie_cap_workaround.patch create mode 100644 package/network/services/hostapd/patches/400-wps_single_auth_enc_type.patch create mode 100644 package/network/services/hostapd/patches/410-limit_debug_messages.patch create mode 100644 package/network/services/hostapd/patches/420-indicate-features.patch create mode 100644 package/network/services/hostapd/patches/430-hostapd_cli_ifdef.patch create mode 100644 package/network/services/hostapd/patches/431-wpa_cli_ifdef.patch create mode 100644 package/network/services/hostapd/patches/432-missing-typedef.patch create mode 100644 package/network/services/hostapd/patches/450-scan_wait.patch create mode 100644 package/network/services/hostapd/patches/460-wpa_supplicant-add-new-config-params-to-be-used-with.patch create mode 100644 package/network/services/hostapd/patches/461-driver_nl80211-use-new-parameters-during-ibss-join.patch create mode 100644 package/network/services/hostapd/patches/463-add-mcast_rate-to-11s.patch create mode 100644 package/network/services/hostapd/patches/464-fix-mesh-obss-check.patch create mode 100644 package/network/services/hostapd/patches/470-survey_data_fallback.patch create mode 100644 package/network/services/hostapd/patches/500-lto-jobserver-support.patch create mode 100644 package/network/services/hostapd/patches/599-wpa_supplicant-fix-warnings.patch create mode 100644 package/network/services/hostapd/patches/600-ubus_support.patch create mode 100644 package/network/services/hostapd/patches/801-P2P-Fix-copying-of-secondary-device-types-for-P2P-gr.patch create mode 100644 package/network/services/hostapd/src/src/ap/ubus.c create mode 100644 package/network/services/hostapd/src/src/ap/ubus.h create mode 100644 package/network/services/hostapd/src/src/utils/build_features.h create mode 100644 package/network/services/hostapd/src/wpa_supplicant/ubus.c create mode 100644 package/network/services/hostapd/src/wpa_supplicant/ubus.h create mode 100644 package/network/services/igmpproxy/Makefile create mode 100644 package/network/services/igmpproxy/files/igmpproxy.config create mode 100644 package/network/services/igmpproxy/files/igmpproxy.init create mode 100644 package/network/services/ipset-dns/Makefile create mode 100644 package/network/services/ipset-dns/files/ipset-dns.config create mode 100755 package/network/services/ipset-dns/files/ipset-dns.init create mode 100644 package/network/services/lldpd/Config.in create mode 100644 package/network/services/lldpd/Makefile create mode 100644 package/network/services/lldpd/files/lldpd.config create mode 100644 package/network/services/lldpd/files/lldpd.init create mode 100644 package/network/services/lldpd/patches/001-disable_libcap.patch create mode 100644 package/network/services/odhcpd/Makefile create mode 100755 package/network/services/odhcpd/files/odhcpd-update create mode 100644 package/network/services/odhcpd/files/odhcpd.defaults create mode 100644 package/network/services/odhcpd/files/odhcpd.init create mode 100644 package/network/services/omcproxy/Makefile create mode 100644 package/network/services/omcproxy/files/omcproxy.config create mode 100644 package/network/services/omcproxy/files/omcproxy.init create mode 100644 package/network/services/openvpn-easy-rsa/Makefile create mode 100644 package/network/services/openvpn-easy-rsa/files/openvpn-easy-rsa.upgrade create mode 100644 package/network/services/openvpn-easy-rsa/patches/101-static_EASYRSA.patch create mode 100644 package/network/services/openvpn/Config-mbedtls.in create mode 100644 package/network/services/openvpn/Config-nossl.in create mode 100644 package/network/services/openvpn/Config-openssl.in create mode 100644 package/network/services/openvpn/Makefile create mode 100644 package/network/services/openvpn/files/openvpn.config create mode 100644 package/network/services/openvpn/files/openvpn.init create mode 100644 package/network/services/openvpn/files/openvpn.options create mode 100644 package/network/services/openvpn/files/openvpn.upgrade create mode 100644 package/network/services/openvpn/patches/001-reproducible-remove_DATE.patch create mode 100644 package/network/services/openvpn/patches/100-mbedtls-disable-runtime-version-check.patch create mode 100644 package/network/services/openvpn/patches/210-build_always_use_internal_lz4.patch create mode 100644 package/network/services/openvpn/patches/220-disable_des.patch create mode 100644 package/network/services/ppp/Makefile create mode 100644 package/network/services/ppp/files/etc/ppp/chap-secrets create mode 100644 package/network/services/ppp/files/etc/ppp/filter create mode 100644 package/network/services/ppp/files/etc/ppp/options create mode 100644 package/network/services/ppp/files/etc/ppp/options.pptp create mode 100644 package/network/services/ppp/files/etc/ppp/radius.conf create mode 100644 package/network/services/ppp/files/etc/ppp/radius/dictionary create mode 100644 package/network/services/ppp/files/etc/ppp/radius/dictionary.asnet create mode 100644 package/network/services/ppp/files/etc/ppp/radius/dictionary.microsoft create mode 100644 package/network/services/ppp/files/etc/ppp/radius/servers create mode 100755 package/network/services/ppp/files/lib/netifd/ppp-down create mode 100755 package/network/services/ppp/files/lib/netifd/ppp-up create mode 100755 package/network/services/ppp/files/lib/netifd/ppp6-up create mode 100755 package/network/services/ppp/files/ppp.sh create mode 100644 package/network/services/ppp/patches/010-use_target_for_configure.patch create mode 100644 package/network/services/ppp/patches/100-debian_ip-ip_option.patch create mode 100644 package/network/services/ppp/patches/101-debian_close_dev_ppp.patch create mode 100644 package/network/services/ppp/patches/103-debian_fix_link_pidfile.patch create mode 100644 package/network/services/ppp/patches/105-debian_demand.patch create mode 100644 package/network/services/ppp/patches/106-debian_stripMSdomain.patch create mode 100644 package/network/services/ppp/patches/107-debian_pppoatm_wildcard.patch create mode 100644 package/network/services/ppp/patches/110-debian_defaultroute.patch create mode 100644 package/network/services/ppp/patches/120-debian_ipv6_updown_option.patch create mode 100644 package/network/services/ppp/patches/121-debian_adaptive_lcp_echo.patch create mode 100644 package/network/services/ppp/patches/130-no_cdefs_h.patch create mode 100644 package/network/services/ppp/patches/131-missing_prototype_macro.patch create mode 100644 package/network/services/ppp/patches/132-fix_linux_includes.patch create mode 100644 package/network/services/ppp/patches/133-fix_sha1_include.patch create mode 100644 package/network/services/ppp/patches/140-pppoe_compile_fix.patch create mode 100644 package/network/services/ppp/patches/200-makefile.patch create mode 100644 package/network/services/ppp/patches/201-mppe_mppc_1.1.patch create mode 100644 package/network/services/ppp/patches/202-no_strip.patch create mode 100644 package/network/services/ppp/patches/203-opt_flags.patch create mode 100644 package/network/services/ppp/patches/204-radius_config.patch create mode 100644 package/network/services/ppp/patches/205-no_exponential_timeout.patch create mode 100644 package/network/services/ppp/patches/206-compensate_time_change.patch create mode 100644 package/network/services/ppp/patches/207-lcp_mtu_max.patch create mode 100644 package/network/services/ppp/patches/208-fix_status_code.patch create mode 100644 package/network/services/ppp/patches/300-filter-pcap-includes-lib.patch create mode 100644 package/network/services/ppp/patches/310-precompile_filter.patch create mode 100644 package/network/services/ppp/patches/321-multilink_support_custom_iface_names.patch create mode 100644 package/network/services/ppp/patches/330-retain_foreign_default_routes.patch create mode 100644 package/network/services/ppp/patches/340-populate_default_gateway.patch create mode 100644 package/network/services/ppp/patches/400-simplify_kernel_checks.patch create mode 100644 package/network/services/ppp/patches/401-no_record_file.patch create mode 100644 package/network/services/ppp/patches/403-no_wtmp.patch create mode 100644 package/network/services/ppp/patches/404-remove_obsolete_protocol_names.patch create mode 100644 package/network/services/ppp/patches/405-no_multilink_option.patch create mode 100644 package/network/services/ppp/patches/500-add-pptp-plugin.patch create mode 100644 package/network/services/ppp/patches/510-pptp_compile_fix.patch create mode 100644 package/network/services/ppp/patches/511-pptp_cflags.patch create mode 100644 package/network/services/ppp/patches/540-save-pppol2tp_fd_str.patch create mode 100644 package/network/services/ppp/patches/600-Revert-pppd-Use-openssl-for-the-DES-instead-of-the-l.patch create mode 100644 package/network/services/ppp/patches/700-radius-Prevent-buffer-overflow-in-rc_mksid.patch create mode 100644 package/network/services/ppp/patches/701-pppd-Fix-bounds-check-in-EAP-code.patch create mode 100644 package/network/services/ppp/patches/702-pppd-Ignore-received-EAP-messages-when-not-doing-EAP.patch create mode 100644 package/network/services/ppp/utils/pfc.c create mode 100644 package/network/services/relayd/Makefile create mode 100644 package/network/services/relayd/files/relay.init create mode 100644 package/network/services/samba36/Makefile create mode 100644 package/network/services/samba36/files/samba.config create mode 100644 package/network/services/samba36/files/samba.hotplug create mode 100755 package/network/services/samba36/files/samba.init create mode 100644 package/network/services/samba36/files/smb.conf.template create mode 100644 package/network/services/samba36/patches/010-patch-cve-2015-5252.patch create mode 100644 package/network/services/samba36/patches/011-patch-cve-2015-5296.patch create mode 100644 package/network/services/samba36/patches/012-patch-cve-2015-5299.patch create mode 100644 package/network/services/samba36/patches/015-patch-cve-2015-7560.patch create mode 100644 package/network/services/samba36/patches/020-CVE-preparation-v3-6.patch create mode 100644 package/network/services/samba36/patches/021-CVE-preparation-v3-6-addition.patch create mode 100644 package/network/services/samba36/patches/022-CVE-2015-5370-v3-6.patch create mode 100644 package/network/services/samba36/patches/023-CVE-2016-2110-v3-6.patch create mode 100644 package/network/services/samba36/patches/024-CVE-2016-2111-v3-6.patch create mode 100644 package/network/services/samba36/patches/025-CVE-2016-2112-v3-6.patch create mode 100644 package/network/services/samba36/patches/026-CVE-2016-2115-v3-6.patch create mode 100644 package/network/services/samba36/patches/027-CVE-2016-2118-v3-6.patch create mode 100644 package/network/services/samba36/patches/028-CVE-2016-2125-v3.6.patch create mode 100644 package/network/services/samba36/patches/029-CVE-2017-7494-v3-6.patch create mode 100644 package/network/services/samba36/patches/030-CVE-2017-15275-v3.6.patch create mode 100644 package/network/services/samba36/patches/031-CVE-2017-12163-v3.6.patch create mode 100644 package/network/services/samba36/patches/032-CVE-2017-12150-v3.6.patch create mode 100644 package/network/services/samba36/patches/032-CVE-2018-1050-v3-6.patch create mode 100644 package/network/services/samba36/patches/100-configure_fixes.patch create mode 100644 package/network/services/samba36/patches/110-multicall.patch create mode 100644 package/network/services/samba36/patches/111-owrt_smbpasswd.patch create mode 100644 package/network/services/samba36/patches/120-add_missing_ifdef.patch create mode 100644 package/network/services/samba36/patches/200-remove_printer_support.patch create mode 100644 package/network/services/samba36/patches/210-remove_ad_support.patch create mode 100644 package/network/services/samba36/patches/220-remove_services.patch create mode 100644 package/network/services/samba36/patches/230-remove_winreg_support.patch create mode 100644 package/network/services/samba36/patches/240-remove_dfs_api.patch create mode 100644 package/network/services/samba36/patches/250-remove_domain_logon.patch create mode 100644 package/network/services/samba36/patches/260-remove_samr.patch create mode 100644 package/network/services/samba36/patches/270-remove_registry_backend.patch create mode 100644 package/network/services/samba36/patches/280-strip_srvsvc.patch create mode 100644 package/network/services/samba36/patches/290-remove_lsa.patch create mode 100644 package/network/services/samba36/patches/300-assert_debug_level.patch create mode 100644 package/network/services/samba36/patches/310-remove_error_strings.patch create mode 100644 package/network/services/samba36/patches/320-debug_level_checks.patch create mode 100644 package/network/services/samba36/patches/330-librpc_default_print.patch create mode 100644 package/network/services/uhttpd/Makefile create mode 100644 package/network/services/uhttpd/files/ubus.default create mode 100644 package/network/services/uhttpd/files/uhttpd.config create mode 100755 package/network/services/uhttpd/files/uhttpd.init create mode 100644 package/network/services/umdns/Makefile create mode 100644 package/network/services/umdns/files/umdns.config create mode 100644 package/network/services/umdns/files/umdns.init create mode 100644 package/network/services/umdns/files/umdns.json create mode 100644 package/network/services/wireguard/Makefile create mode 100644 package/network/services/wireguard/patches/001-kernel-compile-skb_mark_not_on_list.patch create mode 100644 package/network/utils/adb-enablemodem/Makefile create mode 100644 package/network/utils/adb-enablemodem/files/adb-enablemodem create mode 100644 package/network/utils/arptables/Makefile create mode 100644 package/network/utils/comgt/Makefile create mode 100644 package/network/utils/comgt/files/3g.chat create mode 100644 package/network/utils/comgt/files/3g.sh create mode 100644 package/network/utils/comgt/files/3g.usb create mode 100644 package/network/utils/comgt/files/directip-stop.gcom create mode 100644 package/network/utils/comgt/files/directip.gcom create mode 100644 package/network/utils/comgt/files/directip.sh create mode 100644 package/network/utils/comgt/files/evdo.chat create mode 100644 package/network/utils/comgt/files/getcardinfo.gcom create mode 100644 package/network/utils/comgt/files/getcarrier.gcom create mode 100644 package/network/utils/comgt/files/getcnum.gcom create mode 100644 package/network/utils/comgt/files/getimsi.gcom create mode 100644 package/network/utils/comgt/files/getstrength.gcom create mode 100644 package/network/utils/comgt/files/ncm.json create mode 100644 package/network/utils/comgt/files/ncm.sh create mode 100644 package/network/utils/comgt/files/runcommand.gcom create mode 100644 package/network/utils/comgt/files/setmode.gcom create mode 100644 package/network/utils/comgt/files/setpin.gcom create mode 100644 package/network/utils/comgt/patches/001-compile_fix.patch create mode 100644 package/network/utils/comgt/patches/002-termios.patch create mode 100644 package/network/utils/comgt/patches/003-no_XCASE.patch create mode 100644 package/network/utils/comgt/patches/004-check_tty.patch create mode 100644 package/network/utils/curl/Config.in create mode 100644 package/network/utils/curl/Makefile create mode 100644 package/network/utils/curl/patches/100-file-on-Windows-refuse-paths-that-start-with.patch create mode 100644 package/network/utils/curl/patches/101-CVE-2020-8169.patch create mode 100644 package/network/utils/curl/patches/200-no_docs_tests.patch create mode 100644 package/network/utils/dante/Makefile create mode 100644 package/network/utils/dante/patches/200-fix-RTLD_NEXT.patch create mode 100644 package/network/utils/dante/patches/210-deactivate-sched_setscheduler.patch create mode 100644 package/network/utils/ebtables/Makefile create mode 100644 package/network/utils/ebtables/patches/100-musl_fix.patch create mode 100644 package/network/utils/ebtables/patches/200-fix-extension-init.patch create mode 100644 package/network/utils/ethtool/Makefile create mode 100644 package/network/utils/iftop/Makefile create mode 100644 package/network/utils/iperf/Makefile create mode 100644 package/network/utils/iperf/patches/0003-fix-non-ipv6-builds.patch create mode 100644 package/network/utils/iperf3/Makefile create mode 100644 package/network/utils/iproute2/Makefile create mode 100644 package/network/utils/iproute2/files/15-teql create mode 100644 package/network/utils/iproute2/patches/010-cake-fwmark.patch create mode 100644 package/network/utils/iproute2/patches/090-tc-add-support-for-action-act_ctinfo.patch create mode 100644 package/network/utils/iproute2/patches/100-configure.patch create mode 100644 package/network/utils/iproute2/patches/110-darwin_fixes.patch create mode 100644 package/network/utils/iproute2/patches/115-add-config-xtlibdir.patch create mode 100644 package/network/utils/iproute2/patches/120-no_arpd.patch create mode 100644 package/network/utils/iproute2/patches/130-no_netem.patch create mode 100644 package/network/utils/iproute2/patches/135-sync-iptables-header.patch create mode 100644 package/network/utils/iproute2/patches/140-allow_pfifo_fast.patch create mode 100644 package/network/utils/iproute2/patches/140-keep_libmnl_optional.patch create mode 100644 package/network/utils/iproute2/patches/145-keep_libelf_optional.patch create mode 100644 package/network/utils/iproute2/patches/150-keep_libcap_optional.patch create mode 100644 package/network/utils/iproute2/patches/160-libnetlink-pic.patch create mode 100644 package/network/utils/iproute2/patches/170-ip_tiny.patch create mode 100644 package/network/utils/iproute2/patches/175-reduce-dynamic-syms.patch create mode 100644 package/network/utils/iproute2/patches/180-drop_FAILED_POLICY.patch create mode 100644 package/network/utils/iproute2/patches/200-drop_libbsd_dependency.patch create mode 100644 package/network/utils/ipset/Makefile create mode 100644 package/network/utils/iptables/Makefile create mode 100644 package/network/utils/iptables/patches/101-remove-check-already.patch create mode 100644 package/network/utils/iptables/patches/102-iptables-disable-modprobe.patch create mode 100644 package/network/utils/iptables/patches/103-optional-xml.patch create mode 100644 package/network/utils/iptables/patches/200-configurable_builtin.patch create mode 100644 package/network/utils/iptables/patches/600-shared-libext.patch create mode 100644 package/network/utils/iptables/patches/700-disable-legacy-revisions.patch create mode 100644 package/network/utils/iptables/patches/800-flowoffload_target.patch create mode 100644 package/network/utils/iputils/Makefile create mode 100644 package/network/utils/iputils/patches/001-iputils.patch create mode 100644 package/network/utils/iputils/patches/002-fix-ipv6.patch create mode 100644 package/network/utils/iputils/patches/003-fix-makefile.patch create mode 100644 package/network/utils/iputils/patches/010-ping6_uclibc_resolv.patch create mode 100644 package/network/utils/iputils/patches/011-ping6_use_gnu_source.patch create mode 100644 package/network/utils/iputils/patches/020-include_fixes.patch create mode 100644 package/network/utils/iw/Makefile create mode 100644 package/network/utils/iw/patches/001-nl80211_h_sync.patch create mode 100644 package/network/utils/iw/patches/120-antenna_gain.patch create mode 100644 package/network/utils/iw/patches/200-reduce_size.patch create mode 100644 package/network/utils/iwcap/Makefile create mode 100644 package/network/utils/iwcap/src/iwcap.c create mode 100644 package/network/utils/iwinfo/Makefile create mode 100644 package/network/utils/layerscape/restool/Makefile create mode 100644 package/network/utils/layerscape/restool/patches/0001-restool-fix-get_device_file-function.patch create mode 100644 package/network/utils/linux-atm/Makefile create mode 100644 package/network/utils/linux-atm/files/atm.hotplug create mode 100644 package/network/utils/linux-atm/files/br2684-up create mode 100755 package/network/utils/linux-atm/files/br2684ctl create mode 100644 package/network/utils/linux-atm/files/br2684ctl_wrap create mode 100644 package/network/utils/linux-atm/patches/000-debian_16.patch create mode 100644 package/network/utils/linux-atm/patches/200-no_libfl.patch create mode 100644 package/network/utils/linux-atm/patches/300-objcopy_path.patch create mode 100644 package/network/utils/linux-atm/patches/400-portability_fixes.patch create mode 100644 package/network/utils/linux-atm/patches/500-br2684ctl_script.patch create mode 100644 package/network/utils/linux-atm/patches/501-br2684ctl_itfname.patch create mode 100644 package/network/utils/linux-atm/patches/510-remove-LINUX_NETDEVICE-hack.patch create mode 100644 package/network/utils/linux-atm/patches/600-fix-format-errors.patch create mode 100644 package/network/utils/linux-atm/patches/700-musl-include.patch create mode 100644 package/network/utils/maccalc/Makefile create mode 100644 package/network/utils/maccalc/src/Makefile create mode 100644 package/network/utils/maccalc/src/main.c create mode 100644 package/network/utils/nftables/Makefile create mode 100644 package/network/utils/owipcalc/Makefile create mode 100644 package/network/utils/owipcalc/src/owipcalc.c create mode 100644 package/network/utils/resolveip/Makefile create mode 100644 package/network/utils/resolveip/src/resolveip.c create mode 100644 package/network/utils/rssileds/Makefile create mode 100644 package/network/utils/rssileds/files/rssileds.init create mode 100644 package/network/utils/rssileds/src/rssileds.c create mode 100644 package/network/utils/tcpdump/Makefile create mode 100644 package/network/utils/tcpdump/patches/001-remove_pcap_debug.patch create mode 100644 package/network/utils/tcpdump/patches/002-remove_static_libpcap_check.patch create mode 100644 package/network/utils/tcpdump/patches/100-tcpdump_mini.patch create mode 100644 package/network/utils/tcpdump/patches/101-CVE-2020-8037.patch create mode 100644 package/network/utils/umbim/Makefile create mode 100755 package/network/utils/umbim/files/lib/netifd/proto/mbim.sh create mode 100644 package/network/utils/uqmi/Makefile create mode 100755 package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh create mode 100644 package/network/utils/wireguard-tools/Makefile create mode 100644 package/network/utils/wireguard-tools/files/wireguard.sh create mode 100644 package/network/utils/wireguard-tools/files/wireguard_watchdog create mode 100644 package/network/utils/wireless-tools/Makefile create mode 100644 package/network/utils/wireless-tools/patches/001-debian.patch create mode 100644 package/network/utils/wireless-tools/patches/002-fix-iwconfig-power-argument-parsing.patch create mode 100644 package/network/utils/wireless-tools/patches/003-we_essential_def.patch create mode 100644 package/network/utils/wireless-tools/patches/004-increase_iwlist_buffer.patch create mode 100644 package/network/utils/wpan-tools/Makefile create mode 100644 package/network/utils/wpan-tools/patches/001-src-nl_extras.h-fix-compatibility-with-libnl-3.3.0.patch create mode 100644 package/network/utils/wwan/Makefile create mode 100644 package/network/utils/wwan/files/data/0421-03a7 create mode 100644 package/network/utils/wwan/files/data/0421-060d create mode 100644 package/network/utils/wwan/files/data/0421-060e create mode 100644 package/network/utils/wwan/files/data/0421-0612 create mode 100644 package/network/utils/wwan/files/data/0421-0619 create mode 100644 package/network/utils/wwan/files/data/0421-061e create mode 100644 package/network/utils/wwan/files/data/0421-0623 create mode 100644 package/network/utils/wwan/files/data/0421-0629 create mode 100644 package/network/utils/wwan/files/data/0421-062d create mode 100644 package/network/utils/wwan/files/data/0421-062f create mode 100644 package/network/utils/wwan/files/data/0421-0638 create mode 100644 package/network/utils/wwan/files/data/05c6-0016 create mode 100644 package/network/utils/wwan/files/data/05c6-0023 create mode 100644 package/network/utils/wwan/files/data/05c6-00a0 create mode 100644 package/network/utils/wwan/files/data/05c6-6000 create mode 100644 package/network/utils/wwan/files/data/05c6-9000 create mode 100644 package/network/utils/wwan/files/data/07d1-3e01 create mode 100644 package/network/utils/wwan/files/data/07d1-3e02 create mode 100644 package/network/utils/wwan/files/data/07d1-7e11 create mode 100644 package/network/utils/wwan/files/data/0af0-4005 create mode 100644 package/network/utils/wwan/files/data/0af0-6901 create mode 100644 package/network/utils/wwan/files/data/0af0-7201 create mode 100644 package/network/utils/wwan/files/data/0af0-8120 create mode 100644 package/network/utils/wwan/files/data/0af0-9200 create mode 100644 package/network/utils/wwan/files/data/0b3c-c000 create mode 100644 package/network/utils/wwan/files/data/0b3c-c001 create mode 100644 package/network/utils/wwan/files/data/0b3c-c002 create mode 100644 package/network/utils/wwan/files/data/0b3c-c003 create mode 100644 package/network/utils/wwan/files/data/0b3c-c004 create mode 100644 package/network/utils/wwan/files/data/0b3c-c005 create mode 100644 package/network/utils/wwan/files/data/0b3c-c00a create mode 100644 package/network/utils/wwan/files/data/0b3c-c00b create mode 100644 package/network/utils/wwan/files/data/0bdb-1900 create mode 100644 package/network/utils/wwan/files/data/0bdb-1902 create mode 100644 package/network/utils/wwan/files/data/0bdb-190a create mode 100644 package/network/utils/wwan/files/data/0bdb-190d create mode 100644 package/network/utils/wwan/files/data/0bdb-1910 create mode 100644 package/network/utils/wwan/files/data/0c88-17da create mode 100644 package/network/utils/wwan/files/data/0c88-180a create mode 100644 package/network/utils/wwan/files/data/0f3d-68a2 create mode 100644 package/network/utils/wwan/files/data/0f3d-68aa create mode 100644 package/network/utils/wwan/files/data/1004-6124 create mode 100644 package/network/utils/wwan/files/data/1004-6141 create mode 100644 package/network/utils/wwan/files/data/1004-6157 create mode 100644 package/network/utils/wwan/files/data/1004-618f create mode 100644 package/network/utils/wwan/files/data/106c-3711 create mode 100644 package/network/utils/wwan/files/data/106c-3714 create mode 100644 package/network/utils/wwan/files/data/106c-3715 create mode 100644 package/network/utils/wwan/files/data/106c-3716 create mode 100644 package/network/utils/wwan/files/data/106c-3717 create mode 100644 package/network/utils/wwan/files/data/106c-3718 create mode 100644 package/network/utils/wwan/files/data/106c-3721 create mode 100644 package/network/utils/wwan/files/data/1199-0017 create mode 100644 package/network/utils/wwan/files/data/1199-0018 create mode 100644 package/network/utils/wwan/files/data/1199-0019 create mode 100644 package/network/utils/wwan/files/data/1199-0020 create mode 100644 package/network/utils/wwan/files/data/1199-0021 create mode 100644 package/network/utils/wwan/files/data/1199-0022 create mode 100644 package/network/utils/wwan/files/data/1199-0023 create mode 100644 package/network/utils/wwan/files/data/1199-0024 create mode 100644 package/network/utils/wwan/files/data/1199-0025 create mode 100644 package/network/utils/wwan/files/data/1199-0026 create mode 100644 package/network/utils/wwan/files/data/1199-0027 create mode 100644 package/network/utils/wwan/files/data/1199-0028 create mode 100644 package/network/utils/wwan/files/data/1199-0112 create mode 100644 package/network/utils/wwan/files/data/1199-0120 create mode 100644 package/network/utils/wwan/files/data/1199-0218 create mode 100644 package/network/utils/wwan/files/data/1199-0220 create mode 100644 package/network/utils/wwan/files/data/1199-0224 create mode 100644 package/network/utils/wwan/files/data/1199-0301 create mode 100644 package/network/utils/wwan/files/data/1199-6802 create mode 100644 package/network/utils/wwan/files/data/1199-6803 create mode 100644 package/network/utils/wwan/files/data/1199-6804 create mode 100644 package/network/utils/wwan/files/data/1199-6805 create mode 100644 package/network/utils/wwan/files/data/1199-6808 create mode 100644 package/network/utils/wwan/files/data/1199-6809 create mode 100644 package/network/utils/wwan/files/data/1199-6813 create mode 100644 package/network/utils/wwan/files/data/1199-6815 create mode 100644 package/network/utils/wwan/files/data/1199-6816 create mode 100644 package/network/utils/wwan/files/data/1199-6820 create mode 100644 package/network/utils/wwan/files/data/1199-6821 create mode 100644 package/network/utils/wwan/files/data/1199-6822 create mode 100644 package/network/utils/wwan/files/data/1199-6833 create mode 100644 package/network/utils/wwan/files/data/1199-6834 create mode 100644 package/network/utils/wwan/files/data/1199-6835 create mode 100644 package/network/utils/wwan/files/data/1199-6838 create mode 100644 package/network/utils/wwan/files/data/1199-6839 create mode 100644 package/network/utils/wwan/files/data/1199-683a create mode 100644 package/network/utils/wwan/files/data/1199-683b create mode 100644 package/network/utils/wwan/files/data/1199-6850 create mode 100644 package/network/utils/wwan/files/data/1199-6851 create mode 100644 package/network/utils/wwan/files/data/1199-6852 create mode 100644 package/network/utils/wwan/files/data/1199-6853 create mode 100644 package/network/utils/wwan/files/data/1199-6855 create mode 100644 package/network/utils/wwan/files/data/1199-6856 create mode 100644 package/network/utils/wwan/files/data/1199-6859 create mode 100644 package/network/utils/wwan/files/data/1199-685a create mode 100644 package/network/utils/wwan/files/data/1199-6880 create mode 100644 package/network/utils/wwan/files/data/1199-6890 create mode 100644 package/network/utils/wwan/files/data/1199-6891 create mode 100644 package/network/utils/wwan/files/data/1199-6892 create mode 100644 package/network/utils/wwan/files/data/1199-6893 create mode 100644 package/network/utils/wwan/files/data/1199-68a2 create mode 100644 package/network/utils/wwan/files/data/1199-68aa create mode 100644 package/network/utils/wwan/files/data/12d1-1035 create mode 100644 package/network/utils/wwan/files/data/12d1-1404 create mode 100644 package/network/utils/wwan/files/data/12d1-1406 create mode 100644 package/network/utils/wwan/files/data/12d1-140b create mode 100644 package/network/utils/wwan/files/data/12d1-140c create mode 100644 package/network/utils/wwan/files/data/12d1-1412 create mode 100644 package/network/utils/wwan/files/data/12d1-141b create mode 100644 package/network/utils/wwan/files/data/12d1-1433 create mode 100644 package/network/utils/wwan/files/data/12d1-1436 create mode 100644 package/network/utils/wwan/files/data/12d1-1444 create mode 100644 package/network/utils/wwan/files/data/12d1-144e create mode 100644 package/network/utils/wwan/files/data/12d1-1464 create mode 100644 package/network/utils/wwan/files/data/12d1-1465 create mode 100644 package/network/utils/wwan/files/data/12d1-1491 create mode 100644 package/network/utils/wwan/files/data/12d1-14a5 create mode 100644 package/network/utils/wwan/files/data/12d1-14a8 create mode 100644 package/network/utils/wwan/files/data/12d1-14ac create mode 100644 package/network/utils/wwan/files/data/12d1-14ae create mode 100644 package/network/utils/wwan/files/data/12d1-14c6 create mode 100644 package/network/utils/wwan/files/data/12d1-14c8 create mode 100644 package/network/utils/wwan/files/data/12d1-14c9 create mode 100644 package/network/utils/wwan/files/data/12d1-14ca create mode 100644 package/network/utils/wwan/files/data/12d1-14cb create mode 100644 package/network/utils/wwan/files/data/12d1-14cc create mode 100644 package/network/utils/wwan/files/data/12d1-14cf create mode 100644 package/network/utils/wwan/files/data/12d1-14d2 create mode 100644 package/network/utils/wwan/files/data/12d1-1506 create mode 100644 package/network/utils/wwan/files/data/12d1-150a create mode 100644 package/network/utils/wwan/files/data/12d1-150c create mode 100644 package/network/utils/wwan/files/data/12d1-150f create mode 100644 package/network/utils/wwan/files/data/12d1-151b create mode 100644 package/network/utils/wwan/files/data/12d1-151d create mode 100644 package/network/utils/wwan/files/data/12d1-156c create mode 100644 package/network/utils/wwan/files/data/12d1-1576 create mode 100644 package/network/utils/wwan/files/data/12d1-1577 create mode 100644 package/network/utils/wwan/files/data/12d1-1578 create mode 100644 package/network/utils/wwan/files/data/12d1-1589 create mode 100644 package/network/utils/wwan/files/data/12d1-1c05 create mode 100644 package/network/utils/wwan/files/data/12d1-1c07 create mode 100644 package/network/utils/wwan/files/data/12d1-1c08 create mode 100644 package/network/utils/wwan/files/data/12d1-1c10 create mode 100644 package/network/utils/wwan/files/data/12d1-1c12 create mode 100644 package/network/utils/wwan/files/data/12d1-1c1e create mode 100644 package/network/utils/wwan/files/data/12d1-1c1f create mode 100644 package/network/utils/wwan/files/data/12d1-1c23 create mode 100644 package/network/utils/wwan/files/data/12d1-1f16 create mode 100644 package/network/utils/wwan/files/data/1410-1400 create mode 100644 package/network/utils/wwan/files/data/1410-1410 create mode 100644 package/network/utils/wwan/files/data/1410-1420 create mode 100644 package/network/utils/wwan/files/data/1410-1430 create mode 100644 package/network/utils/wwan/files/data/1410-1450 create mode 100644 package/network/utils/wwan/files/data/1410-2100 create mode 100644 package/network/utils/wwan/files/data/1410-2110 create mode 100644 package/network/utils/wwan/files/data/1410-2120 create mode 100644 package/network/utils/wwan/files/data/1410-2130 create mode 100644 package/network/utils/wwan/files/data/1410-2400 create mode 100644 package/network/utils/wwan/files/data/1410-2410 create mode 100644 package/network/utils/wwan/files/data/1410-2420 create mode 100644 package/network/utils/wwan/files/data/1410-4100 create mode 100644 package/network/utils/wwan/files/data/1410-4400 create mode 100644 package/network/utils/wwan/files/data/1410-6000 create mode 100644 package/network/utils/wwan/files/data/1410-6001 create mode 100644 package/network/utils/wwan/files/data/1410-6002 create mode 100644 package/network/utils/wwan/files/data/1410-6010 create mode 100644 package/network/utils/wwan/files/data/1410-7001 create mode 100644 package/network/utils/wwan/files/data/1410-7003 create mode 100644 package/network/utils/wwan/files/data/1410-7030 create mode 100644 package/network/utils/wwan/files/data/1410-7031 create mode 100644 package/network/utils/wwan/files/data/1410-7041 create mode 100644 package/network/utils/wwan/files/data/1410-7042 create mode 100644 package/network/utils/wwan/files/data/1410-9011 create mode 100644 package/network/utils/wwan/files/data/1410-b001 create mode 100644 package/network/utils/wwan/files/data/1529-3100 create mode 100644 package/network/utils/wwan/files/data/16d5-6202 create mode 100644 package/network/utils/wwan/files/data/16d5-6501 create mode 100644 package/network/utils/wwan/files/data/16d5-6502 create mode 100644 package/network/utils/wwan/files/data/16d5-6603 create mode 100644 package/network/utils/wwan/files/data/16d5-900d create mode 100644 package/network/utils/wwan/files/data/16d8-5141 create mode 100644 package/network/utils/wwan/files/data/16d8-5533 create mode 100644 package/network/utils/wwan/files/data/16d8-5543 create mode 100644 package/network/utils/wwan/files/data/16d8-5553 create mode 100644 package/network/utils/wwan/files/data/16d8-6002 create mode 100644 package/network/utils/wwan/files/data/16d8-6006 create mode 100644 package/network/utils/wwan/files/data/16d8-6007 create mode 100644 package/network/utils/wwan/files/data/16d8-6008 create mode 100644 package/network/utils/wwan/files/data/16d8-6522 create mode 100644 package/network/utils/wwan/files/data/16d8-6523 create mode 100644 package/network/utils/wwan/files/data/16d8-6532 create mode 100644 package/network/utils/wwan/files/data/16d8-6533 create mode 100644 package/network/utils/wwan/files/data/16d8-6543 create mode 100644 package/network/utils/wwan/files/data/16d8-680a create mode 100644 package/network/utils/wwan/files/data/19d2-0001 create mode 100644 package/network/utils/wwan/files/data/19d2-0002 create mode 100644 package/network/utils/wwan/files/data/19d2-0015 create mode 100644 package/network/utils/wwan/files/data/19d2-0016 create mode 100644 package/network/utils/wwan/files/data/19d2-0017 create mode 100644 package/network/utils/wwan/files/data/19d2-0018 create mode 100644 package/network/utils/wwan/files/data/19d2-0019 create mode 100644 package/network/utils/wwan/files/data/19d2-0022 create mode 100644 package/network/utils/wwan/files/data/19d2-0024 create mode 100644 package/network/utils/wwan/files/data/19d2-0025 create mode 100644 package/network/utils/wwan/files/data/19d2-0031 create mode 100644 package/network/utils/wwan/files/data/19d2-0033 create mode 100644 package/network/utils/wwan/files/data/19d2-0037 create mode 100644 package/network/utils/wwan/files/data/19d2-0039 create mode 100644 package/network/utils/wwan/files/data/19d2-0042 create mode 100644 package/network/utils/wwan/files/data/19d2-0052 create mode 100644 package/network/utils/wwan/files/data/19d2-0055 create mode 100644 package/network/utils/wwan/files/data/19d2-0057 create mode 100644 package/network/utils/wwan/files/data/19d2-0063 create mode 100644 package/network/utils/wwan/files/data/19d2-0064 create mode 100644 package/network/utils/wwan/files/data/19d2-0066 create mode 100644 package/network/utils/wwan/files/data/19d2-0073 create mode 100644 package/network/utils/wwan/files/data/19d2-0079 create mode 100644 package/network/utils/wwan/files/data/19d2-0082 create mode 100644 package/network/utils/wwan/files/data/19d2-0086 create mode 100644 package/network/utils/wwan/files/data/19d2-0091 create mode 100644 package/network/utils/wwan/files/data/19d2-0094 create mode 100644 package/network/utils/wwan/files/data/19d2-0104 create mode 100644 package/network/utils/wwan/files/data/19d2-0108 create mode 100644 package/network/utils/wwan/files/data/19d2-0116 create mode 100644 package/network/utils/wwan/files/data/19d2-0117 create mode 100644 package/network/utils/wwan/files/data/19d2-0121 create mode 100644 package/network/utils/wwan/files/data/19d2-0124 create mode 100644 package/network/utils/wwan/files/data/19d2-0128 create mode 100644 package/network/utils/wwan/files/data/19d2-0142 create mode 100644 package/network/utils/wwan/files/data/19d2-0143 create mode 100644 package/network/utils/wwan/files/data/19d2-0152 create mode 100644 package/network/utils/wwan/files/data/19d2-0157 create mode 100644 package/network/utils/wwan/files/data/19d2-0167 create mode 100644 package/network/utils/wwan/files/data/19d2-0170 create mode 100644 package/network/utils/wwan/files/data/19d2-0199 create mode 100644 package/network/utils/wwan/files/data/19d2-0257 create mode 100644 package/network/utils/wwan/files/data/19d2-0265 create mode 100644 package/network/utils/wwan/files/data/19d2-0284 create mode 100644 package/network/utils/wwan/files/data/19d2-0326 create mode 100644 package/network/utils/wwan/files/data/19d2-1003 create mode 100644 package/network/utils/wwan/files/data/19d2-1008 create mode 100644 package/network/utils/wwan/files/data/19d2-1010 create mode 100644 package/network/utils/wwan/files/data/19d2-1015 create mode 100644 package/network/utils/wwan/files/data/19d2-1018 create mode 100644 package/network/utils/wwan/files/data/19d2-1172 create mode 100644 package/network/utils/wwan/files/data/19d2-1173 create mode 100644 package/network/utils/wwan/files/data/19d2-1176 create mode 100644 package/network/utils/wwan/files/data/19d2-1177 create mode 100644 package/network/utils/wwan/files/data/19d2-1181 create mode 100644 package/network/utils/wwan/files/data/19d2-1203 create mode 100644 package/network/utils/wwan/files/data/19d2-1208 create mode 100644 package/network/utils/wwan/files/data/19d2-1211 create mode 100644 package/network/utils/wwan/files/data/19d2-1212 create mode 100644 package/network/utils/wwan/files/data/19d2-1217 create mode 100644 package/network/utils/wwan/files/data/19d2-1218 create mode 100644 package/network/utils/wwan/files/data/19d2-1220 create mode 100644 package/network/utils/wwan/files/data/19d2-1222 create mode 100644 package/network/utils/wwan/files/data/19d2-1245 create mode 100644 package/network/utils/wwan/files/data/19d2-1252 create mode 100644 package/network/utils/wwan/files/data/19d2-1254 create mode 100644 package/network/utils/wwan/files/data/19d2-1256 create mode 100644 package/network/utils/wwan/files/data/19d2-1270 create mode 100644 package/network/utils/wwan/files/data/19d2-1401 create mode 100644 package/network/utils/wwan/files/data/19d2-1402 create mode 100644 package/network/utils/wwan/files/data/19d2-1426 create mode 100644 package/network/utils/wwan/files/data/19d2-1512 create mode 100644 package/network/utils/wwan/files/data/19d2-1515 create mode 100644 package/network/utils/wwan/files/data/19d2-1518 create mode 100644 package/network/utils/wwan/files/data/19d2-1519 create mode 100644 package/network/utils/wwan/files/data/19d2-1522 create mode 100644 package/network/utils/wwan/files/data/19d2-1525 create mode 100644 package/network/utils/wwan/files/data/19d2-1527 create mode 100644 package/network/utils/wwan/files/data/19d2-1537 create mode 100644 package/network/utils/wwan/files/data/19d2-1538 create mode 100644 package/network/utils/wwan/files/data/19d2-1544 create mode 100644 package/network/utils/wwan/files/data/19d2-2002 create mode 100644 package/network/utils/wwan/files/data/19d2-2003 create mode 100644 package/network/utils/wwan/files/data/19d2-ffdd create mode 100644 package/network/utils/wwan/files/data/19d2-ffe4 create mode 100644 package/network/utils/wwan/files/data/19d2-ffe9 create mode 100644 package/network/utils/wwan/files/data/19d2-fff1 create mode 100644 package/network/utils/wwan/files/data/19d2-fffb create mode 100644 package/network/utils/wwan/files/data/19d2-fffc create mode 100644 package/network/utils/wwan/files/data/19d2-fffd create mode 100644 package/network/utils/wwan/files/data/19d2-fffe create mode 100644 package/network/utils/wwan/files/data/19d2-ffff create mode 100644 package/network/utils/wwan/files/data/1a8d-1002 create mode 100644 package/network/utils/wwan/files/data/1a8d-1003 create mode 100644 package/network/utils/wwan/files/data/1a8d-1007 create mode 100644 package/network/utils/wwan/files/data/1a8d-1009 create mode 100644 package/network/utils/wwan/files/data/1a8d-100c create mode 100644 package/network/utils/wwan/files/data/1a8d-100d create mode 100644 package/network/utils/wwan/files/data/1a8d-2006 create mode 100644 package/network/utils/wwan/files/data/1bbb-0000 create mode 100644 package/network/utils/wwan/files/data/1bbb-0012 create mode 100644 package/network/utils/wwan/files/data/1bbb-0017 create mode 100644 package/network/utils/wwan/files/data/1bbb-0052 create mode 100644 package/network/utils/wwan/files/data/1bbb-00b7 create mode 100644 package/network/utils/wwan/files/data/1bbb-00ca create mode 100644 package/network/utils/wwan/files/data/1bbb-011e create mode 100644 package/network/utils/wwan/files/data/1bbb-0203 create mode 100644 package/network/utils/wwan/files/data/1c9e-6060 create mode 100644 package/network/utils/wwan/files/data/1c9e-6061 create mode 100644 package/network/utils/wwan/files/data/1c9e-9000 create mode 100644 package/network/utils/wwan/files/data/1c9e-9603 create mode 100644 package/network/utils/wwan/files/data/1c9e-9605 create mode 100644 package/network/utils/wwan/files/data/1c9e-9607 create mode 100644 package/network/utils/wwan/files/data/1c9e-9801 create mode 100644 package/network/utils/wwan/files/data/1c9e-9900 create mode 100644 package/network/utils/wwan/files/data/1e0e-9000 create mode 100644 package/network/utils/wwan/files/data/1e0e-9100 create mode 100644 package/network/utils/wwan/files/data/1e0e-9200 create mode 100644 package/network/utils/wwan/files/data/1e0e-ce16 create mode 100644 package/network/utils/wwan/files/data/1e0e-cefe create mode 100644 package/network/utils/wwan/files/data/1e2d-0053 create mode 100644 package/network/utils/wwan/files/data/1e2d-005b create mode 100644 package/network/utils/wwan/files/data/2001-7d00 create mode 100644 package/network/utils/wwan/files/data/2001-7d01 create mode 100644 package/network/utils/wwan/files/data/2001-7d02 create mode 100644 package/network/utils/wwan/files/data/2001-7d03 create mode 100644 package/network/utils/wwan/files/data/211f-6801 create mode 100644 package/network/utils/wwan/files/data/2357-0201 create mode 100644 package/network/utils/wwan/files/data/2357-0202 create mode 100644 package/network/utils/wwan/files/data/2357-0203 create mode 100644 package/network/utils/wwan/files/data/2357-9000 create mode 100644 package/network/utils/wwan/files/data/413c-8114 create mode 100644 package/network/utils/wwan/files/data/413c-8115 create mode 100644 package/network/utils/wwan/files/data/413c-8116 create mode 100644 package/network/utils/wwan/files/data/413c-8117 create mode 100644 package/network/utils/wwan/files/data/413c-8118 create mode 100644 package/network/utils/wwan/files/data/413c-8128 create mode 100644 package/network/utils/wwan/files/data/413c-8129 create mode 100644 package/network/utils/wwan/files/data/413c-8133 create mode 100644 package/network/utils/wwan/files/data/413c-8134 create mode 100644 package/network/utils/wwan/files/data/413c-8135 create mode 100644 package/network/utils/wwan/files/data/413c-8136 create mode 100644 package/network/utils/wwan/files/data/413c-8137 create mode 100644 package/network/utils/wwan/files/data/413c-8138 create mode 100644 package/network/utils/wwan/files/data/413c-8147 create mode 100644 package/network/utils/wwan/files/data/413c-8180 create mode 100644 package/network/utils/wwan/files/data/413c-8181 create mode 100644 package/network/utils/wwan/files/data/413c-8182 create mode 100644 package/network/utils/wwan/files/data/413c-8186 create mode 100644 package/network/utils/wwan/files/data/413c-8194 create mode 100644 package/network/utils/wwan/files/data/413c-8195 create mode 100644 package/network/utils/wwan/files/data/413c-8196 create mode 100644 package/network/utils/wwan/files/data/413c-819b create mode 100755 package/network/utils/wwan/files/wwan.sh create mode 100644 package/network/utils/wwan/files/wwan.usb create mode 100644 package/network/utils/wwan/files/wwan.usbmisc create mode 100644 package/system/ca-certificates/Makefile create mode 100644 package/system/fstools/Makefile create mode 100755 package/system/fstools/files/blockd.init create mode 100644 package/system/fstools/files/fstab.default create mode 100644 package/system/fstools/files/fstab.init create mode 100644 package/system/fstools/files/media-change.hotplug create mode 100644 package/system/fstools/files/mount.hotplug create mode 100644 package/system/fstools/files/snapshot create mode 100644 package/system/fwtool/Makefile create mode 100644 package/system/fwtool/src/crc32.h create mode 100644 package/system/fwtool/src/fwimage.h create mode 100644 package/system/fwtool/src/fwtool.c create mode 100644 package/system/fwtool/src/utils.h create mode 100644 package/system/iucode-tool/Makefile create mode 100644 package/system/mtd/Makefile create mode 100644 package/system/mtd/src/Makefile create mode 100644 package/system/mtd/src/crc32.c create mode 100644 package/system/mtd/src/crc32.h create mode 100644 package/system/mtd/src/fis.c create mode 100644 package/system/mtd/src/fis.h create mode 100644 package/system/mtd/src/imagetag.c create mode 100644 package/system/mtd/src/jffs2.c create mode 100644 package/system/mtd/src/jffs2.h create mode 100644 package/system/mtd/src/linksys_bootcount.c create mode 100644 package/system/mtd/src/md5.c create mode 100644 package/system/mtd/src/md5.h create mode 100644 package/system/mtd/src/mtd.c create mode 100644 package/system/mtd/src/mtd.h create mode 100644 package/system/mtd/src/seama.c create mode 100644 package/system/mtd/src/seama.h create mode 100644 package/system/mtd/src/tpl_ramips_recoveryflag.c create mode 100644 package/system/mtd/src/trx.c create mode 100644 package/system/mtd/src/wrg.c create mode 100644 package/system/mtd/src/wrgg.c create mode 100644 package/system/mtd/src/wrgg.h create mode 100644 package/system/openwrt-keyring/Makefile create mode 100644 package/system/opkg/Makefile create mode 100644 package/system/opkg/files/20_migrate-feeds create mode 100644 package/system/opkg/files/customfeeds.conf create mode 100755 package/system/opkg/files/opkg-key create mode 100644 package/system/opkg/files/opkg-smime.conf create mode 100644 package/system/opkg/files/opkg.conf create mode 100644 package/system/procd/Makefile create mode 100644 package/system/procd/files/hotplug-preinit.json create mode 100644 package/system/procd/files/hotplug.json create mode 100644 package/system/procd/files/procd.sh create mode 100644 package/system/procd/files/reload_config create mode 100644 package/system/rpcd/Makefile create mode 100644 package/system/rpcd/files/rpcd.config create mode 100755 package/system/rpcd/files/rpcd.init create mode 100644 package/system/ubox/Makefile create mode 100644 package/system/ubox/files/log.init create mode 100644 package/system/ubus/Makefile create mode 100644 package/system/ucert/Makefile create mode 100644 package/system/uci/Makefile create mode 100644 package/system/uci/files/lib/config/uci.sh create mode 100644 package/system/uci/patches/001-file-uci_parse_package-fix-heap-use-after-free.patch create mode 100644 package/system/uci/patches/002-file-Check-buffer-size-after-strtok.patch create mode 100644 package/system/urandom-seed/Makefile create mode 100755 package/system/urandom-seed/files/etc/init.d/urandom_seed create mode 100644 package/system/urandom-seed/files/lib/preinit/81_urandom_seed create mode 100755 package/system/urandom-seed/files/sbin/urandom_seed create mode 100644 package/system/urngd/Makefile create mode 100644 package/system/urngd/files/urngd.init create mode 100644 package/system/usign/Makefile create mode 100644 package/system/zram-swap/Makefile create mode 100755 package/system/zram-swap/files/zram.init create mode 100644 package/utils/adb/Makefile create mode 100644 package/utils/adb/patches/001-create_Makefile.patch create mode 100644 package/utils/adb/patches/003-fix-musl-build.patch create mode 100644 package/utils/adb/patches/010-openssl-1.1.patch create mode 100644 package/utils/adb/patches/020-cherry-picked-superspeed-fix.patch create mode 100644 package/utils/bsdiff/Makefile create mode 100644 package/utils/bsdiff/patches/001-musl.patch create mode 100644 package/utils/busybox/Config-defaults.in create mode 100644 package/utils/busybox/Config.in create mode 100644 package/utils/busybox/Makefile create mode 100644 package/utils/busybox/config/Config.in create mode 100644 package/utils/busybox/config/archival/Config.in create mode 100644 package/utils/busybox/config/console-tools/Config.in create mode 100644 package/utils/busybox/config/coreutils/Config.in create mode 100644 package/utils/busybox/config/debianutils/Config.in create mode 100644 package/utils/busybox/config/e2fsprogs/Config.in create mode 100644 package/utils/busybox/config/e2fsprogs/old_e2fsprogs/Config.in create mode 100644 package/utils/busybox/config/editors/Config.in create mode 100644 package/utils/busybox/config/findutils/Config.in create mode 100644 package/utils/busybox/config/init/Config.in create mode 100644 package/utils/busybox/config/klibc-utils/Config.in create mode 100644 package/utils/busybox/config/libbb/Config.in create mode 100644 package/utils/busybox/config/loginutils/Config.in create mode 100644 package/utils/busybox/config/mailutils/Config.in create mode 100644 package/utils/busybox/config/miscutils/Config.in create mode 100644 package/utils/busybox/config/modutils/Config.in create mode 100644 package/utils/busybox/config/networking/Config.in create mode 100644 package/utils/busybox/config/networking/udhcp/Config.in create mode 100644 package/utils/busybox/config/printutils/Config.in create mode 100644 package/utils/busybox/config/procps/Config.in create mode 100644 package/utils/busybox/config/runit/Config.in create mode 100644 package/utils/busybox/config/selinux/Config.in create mode 100644 package/utils/busybox/config/shell/Config.in create mode 100644 package/utils/busybox/config/sysklogd/Config.in create mode 100644 package/utils/busybox/config/util-linux/Config.in create mode 100644 package/utils/busybox/config/util-linux/volume_id/Config.in create mode 100755 package/utils/busybox/convert_defaults.pl create mode 100755 package/utils/busybox/convert_menuconfig.pl create mode 100755 package/utils/busybox/files/cron create mode 100755 package/utils/busybox/files/ntpd-hotplug create mode 100755 package/utils/busybox/files/sysntpd create mode 100644 package/utils/busybox/patches/100-trylink_bash.patch create mode 100644 package/utils/busybox/patches/101-gen_build_files_bash.patch create mode 100644 package/utils/busybox/patches/110-no_static_libgcc.patch create mode 100644 package/utils/busybox/patches/120-lto-jobserver.patch create mode 100644 package/utils/busybox/patches/200-udhcpc_reduce_msgs.patch create mode 100644 package/utils/busybox/patches/201-udhcpc_changed_ifindex.patch create mode 100644 package/utils/busybox/patches/203-udhcpc_renew_no_deconfig.patch create mode 100644 package/utils/busybox/patches/210-add_netmsg_util.patch create mode 100644 package/utils/busybox/patches/220-add_lock_util.patch create mode 100644 package/utils/busybox/patches/230-add_nslookup_lede.patch create mode 100644 package/utils/busybox/patches/240-telnetd_intr.patch create mode 100644 package/utils/busybox/patches/250-date-k-flag.patch create mode 100644 package/utils/busybox/patches/270-libbb_make_unicode_printable.patch create mode 100644 package/utils/busybox/patches/301-ip-link-fix-netlink-msg-size.patch create mode 100644 package/utils/busybox/patches/500-move-traceroute-applets-to-bin.patch create mode 100644 package/utils/busybox/patches/510-move-passwd-applet-to-bin.patch create mode 100644 package/utils/busybox/patches/520-loginutils-handle-crypt-failures.patch create mode 100644 package/utils/busybox/patches/530-ip-use-rtnl_send_check-on-flush-commands.patch create mode 100644 package/utils/bzip2/Makefile create mode 100644 package/utils/bzip2/patches/020-no-utime.patch create mode 100644 package/utils/bzip2/patches/021-fix-LDFLAGS.patch create mode 100644 package/utils/ct-bugcheck/Makefile create mode 100644 package/utils/ct-bugcheck/src/bugcheck.initd create mode 100755 package/utils/ct-bugcheck/src/bugcheck.sh create mode 100755 package/utils/ct-bugcheck/src/bugchecker.sh create mode 100644 package/utils/e2fsprogs/Makefile create mode 100644 package/utils/e2fsprogs/files/e2fsck.conf create mode 100644 package/utils/e2fsprogs/files/e2fsck.sh create mode 100644 package/utils/e2fsprogs/patches/000-relocatable.patch create mode 100644 package/utils/e2fsprogs/patches/001-com_err_version.patch create mode 100644 package/utils/e2fsprogs/patches/002-fix-subst-host-build.patch create mode 100644 package/utils/e2fsprogs/patches/100-CVE-2019-5094-libsupport.patch create mode 100644 package/utils/f2fs-tools/Makefile create mode 100644 package/utils/f2fs-tools/patches/010-fsck-Fix-big-endian-platforms.patch create mode 100644 package/utils/f2fs-tools/patches/020-dump.f2fs-fix-incorrect-endian-conversion.patch create mode 100644 package/utils/fbtest/Makefile create mode 100644 package/utils/fbtest/src/Makefile create mode 100644 package/utils/fbtest/src/fbtest.c create mode 100644 package/utils/fritz-tools/Makefile create mode 100644 package/utils/fritz-tools/README.md create mode 100644 package/utils/fritz-tools/src/CMakeLists.txt create mode 100644 package/utils/fritz-tools/src/fritz_cal_extract.c create mode 100644 package/utils/fritz-tools/src/fritz_tffs_nand_read.c create mode 100644 package/utils/fritz-tools/src/fritz_tffs_read.c create mode 100644 package/utils/fuse/Makefile create mode 100644 package/utils/fuse/patches/100-missing_includes.patch create mode 100644 package/utils/fuse/patches/112-no_break_on_mknod.patch create mode 100644 package/utils/fuse/patches/200-backport_arm64_fuse_kernel_h_clean_includes.patch create mode 100644 package/utils/jboot-tools/Makefile create mode 100644 package/utils/jboot-tools/README.md create mode 100644 package/utils/jboot-tools/src/CMakeLists.txt create mode 100644 package/utils/jboot-tools/src/jboot_config_read.c create mode 100644 package/utils/jsonfilter/Makefile create mode 100644 package/utils/lua/Makefile create mode 100644 package/utils/lua/patches-host/010-lua-5.1.3-lnum-full-260308.patch create mode 100644 package/utils/lua/patches-host/011-lnum-use-double.patch create mode 100644 package/utils/lua/patches-host/012-lnum-fix-ltle-relational-operators.patch create mode 100644 package/utils/lua/patches-host/013-lnum-strtoul-parsing-fixes.patch create mode 100644 package/utils/lua/patches-host/015-lnum-ppc-compat.patch create mode 100644 package/utils/lua/patches-host/030-archindependent-bytecode.patch create mode 100644 package/utils/lua/patches-host/100-no_readline.patch create mode 100644 package/utils/lua/patches/010-lua-5.1.3-lnum-full-260308.patch create mode 100644 package/utils/lua/patches/011-lnum-use-double.patch create mode 100644 package/utils/lua/patches/012-lnum-fix-ltle-relational-operators.patch create mode 100644 package/utils/lua/patches/013-lnum-strtoul-parsing-fixes.patch create mode 100644 package/utils/lua/patches/015-lnum-ppc-compat.patch create mode 100644 package/utils/lua/patches/020-shared_liblua.patch create mode 100644 package/utils/lua/patches/030-archindependent-bytecode.patch create mode 100644 package/utils/lua/patches/040-use-symbolic-functions.patch create mode 100644 package/utils/lua/patches/050-honor-cflags.patch create mode 100644 package/utils/lua/patches/100-no_readline.patch create mode 100644 package/utils/lua/patches/200-lua-path.patch create mode 100644 package/utils/lua/patches/300-opcode_performance.patch create mode 100644 package/utils/mdadm/Makefile create mode 100644 package/utils/mdadm/files/mdadm.config create mode 100644 package/utils/mdadm/files/mdadm.init create mode 100644 package/utils/mdadm/patches/100-cross_compile.patch create mode 100644 package/utils/mdadm/patches/101-mdadm.h-Undefine-dprintf-before-redefining.patch create mode 100644 package/utils/mdadm/patches/102-Add-missing-include-file-sys-sysmacros.h.patch create mode 100644 package/utils/mdadm/patches/200-reduce_size.patch create mode 100644 package/utils/mtd-utils/Makefile create mode 100644 package/utils/mtd-utils/patches/100-fix_includes.patch create mode 100644 package/utils/mtd-utils/patches/130-lzma_jffs2.patch create mode 100644 package/utils/nvram/Makefile create mode 100755 package/utils/nvram/files/nvram.init create mode 100644 package/utils/nvram/src/Makefile create mode 100644 package/utils/nvram/src/cli.c create mode 100644 package/utils/nvram/src/crc.c create mode 100644 package/utils/nvram/src/nvram.c create mode 100644 package/utils/nvram/src/nvram.h create mode 100644 package/utils/nvram/src/sdinitvals.h create mode 100644 package/utils/osafeloader/Makefile create mode 100644 package/utils/osafeloader/src/Makefile create mode 100644 package/utils/osafeloader/src/md5.c create mode 100644 package/utils/osafeloader/src/md5.h create mode 100644 package/utils/osafeloader/src/osafeloader.c create mode 100644 package/utils/oseama/Makefile create mode 100644 package/utils/oseama/src/Makefile create mode 100644 package/utils/oseama/src/md5.c create mode 100644 package/utils/oseama/src/md5.h create mode 100644 package/utils/oseama/src/oseama.c create mode 100644 package/utils/otrx/Makefile create mode 100644 package/utils/otrx/src/Makefile create mode 100644 package/utils/otrx/src/otrx.c create mode 100644 package/utils/px5g/Makefile create mode 100644 package/utils/px5g/px5g.c create mode 100644 package/utils/spidev_test/Makefile create mode 100644 package/utils/ugps/Makefile create mode 100644 package/utils/ugps/files/gps.config create mode 100644 package/utils/ugps/files/ugps.init create mode 100644 package/utils/usbmode/Makefile create mode 100644 package/utils/usbmode/data/12d1-1f16 create mode 100644 package/utils/usbmode/files/usbmode.hotplug create mode 100755 package/utils/usbmode/files/usbmode.init create mode 100644 package/utils/usbreset/Makefile create mode 100644 package/utils/usbreset/src/usbreset.c create mode 100644 package/utils/usbutils/Makefile create mode 100644 package/utils/util-linux/Makefile create mode 100644 package/utils/util-linux/patches/003-fix_pkgconfig_files.patch create mode 100644 package/utils/util-linux/patches/100-use_urandom.patch create mode 100644 package/utils/xfsprogs/Makefile create mode 100644 package/utils/xfsprogs/patches/100-no-selftest.patch create mode 100644 package/utils/xfsprogs/patches/110-subdirs.patch create mode 100644 package/utils/xfsprogs/patches/120-disable_assert.patch create mode 100644 package/utils/xfsprogs/patches/130-db-malloc-Use-posix_memalign-instead-of-deprecated-v.patch create mode 100644 package/utils/xfsprogs/patches/140-copy-file-range.patch create mode 100644 rules.mk create mode 100755 scripts/arm-magic.sh create mode 100755 scripts/brcmImage.pl create mode 100755 scripts/bundle-libraries.sh create mode 100755 scripts/checkpatch.pl create mode 100755 scripts/clang-gcc-wrapper create mode 100755 scripts/clean-package.sh create mode 100755 scripts/cleanfile create mode 100755 scripts/cleanpatch create mode 100755 scripts/combined-ext-image.sh create mode 100755 scripts/combined-image.sh create mode 100755 scripts/config.guess create mode 100755 scripts/config.rpath create mode 100755 scripts/config.sub create mode 100644 scripts/config/.gitignore create mode 100644 scripts/config/Makefile create mode 100644 scripts/config/README create mode 100644 scripts/config/conf.c create mode 100644 scripts/config/confdata.c create mode 100644 scripts/config/expr.c create mode 100644 scripts/config/expr.h create mode 100644 scripts/config/images.c create mode 100644 scripts/config/list.h create mode 100644 scripts/config/lkc.h create mode 100644 scripts/config/lkc_proto.h create mode 100644 scripts/config/lxdialog/.gitignore create mode 100644 scripts/config/lxdialog/check-lxdialog.sh create mode 100644 scripts/config/lxdialog/checklist.c create mode 100644 scripts/config/lxdialog/dialog.h create mode 100644 scripts/config/lxdialog/inputbox.c create mode 100644 scripts/config/lxdialog/menubox.c create mode 100644 scripts/config/lxdialog/textbox.c create mode 100644 scripts/config/lxdialog/util.c create mode 100644 scripts/config/lxdialog/yesno.c create mode 100644 scripts/config/mconf.c create mode 100644 scripts/config/menu.c create mode 100644 scripts/config/qconf.cc create mode 100644 scripts/config/qconf.h create mode 100644 scripts/config/symbol.c create mode 100644 scripts/config/util.c create mode 100644 scripts/config/zconf.gperf create mode 100644 scripts/config/zconf.hash.c_shipped create mode 100644 scripts/config/zconf.l create mode 100644 scripts/config/zconf.lex.c_shipped create mode 100644 scripts/config/zconf.tab.c_shipped create mode 100644 scripts/config/zconf.y create mode 100755 scripts/deptest.sh create mode 100755 scripts/diffconfig.sh create mode 100755 scripts/dl_cleanup.py create mode 100755 scripts/dl_github_archive.py create mode 100755 scripts/download.pl create mode 100755 scripts/dump-target-info.pl create mode 100755 scripts/env create mode 100755 scripts/ext-toolchain.sh create mode 100755 scripts/feeds create mode 100755 scripts/fixup-makefile.pl create mode 100755 scripts/flashing/adam2flash-502T.pl create mode 100755 scripts/flashing/adam2flash-fritzbox.pl create mode 100755 scripts/flashing/adam2flash.pl create mode 100755 scripts/flashing/adsl2mue_flash.pl create mode 100755 scripts/flashing/eva_ramboot.py create mode 100755 scripts/flashing/flash.sh create mode 100755 scripts/flashing/jungo-image.py create mode 100755 scripts/gen-dependencies.sh create mode 100755 scripts/gen_image_generic.sh create mode 100755 scripts/get_source_date_epoch.sh create mode 100755 scripts/getver.sh create mode 100755 scripts/ipkg-build create mode 100755 scripts/ipkg-make-index.sh create mode 100755 scripts/ipkg-remove create mode 100755 scripts/json_add_image_info.py create mode 100755 scripts/json_overview_image_info.py create mode 100755 scripts/kconfig.pl create mode 100755 scripts/linksys-image.sh create mode 100755 scripts/make-ipkg-dir.sh create mode 100755 scripts/md5sum create mode 100644 scripts/metadata.pm create mode 100644 scripts/mkhash.c create mode 100755 scripts/mkits-qsdk-ipq-image.sh create mode 100755 scripts/mkits.sh create mode 100755 scripts/om-fwupgradecfg-gen.sh create mode 100755 scripts/package-metadata.pl create mode 100755 scripts/pad_image create mode 100755 scripts/patch-kernel.sh create mode 100755 scripts/patch-specs.sh create mode 100755 scripts/portable_date.sh create mode 100755 scripts/qemustart create mode 100755 scripts/redboot-script.pl create mode 100755 scripts/relink-lib.sh create mode 100755 scripts/remote-gdb create mode 100755 scripts/rstrip.sh create mode 100755 scripts/slugimage.pl create mode 100755 scripts/srecimage.pl create mode 100755 scripts/strip-kmod.sh create mode 100755 scripts/symlink-tree.sh create mode 100755 scripts/sysupgrade-tar.sh create mode 100755 scripts/target-metadata.pl create mode 100755 scripts/time.pl create mode 100755 scripts/timestamp.pl create mode 100755 scripts/ubinize-image.sh create mode 100644 target/Config.in create mode 100644 target/Makefile create mode 100644 target/imagebuilder/Config.in create mode 100644 target/imagebuilder/Makefile create mode 100644 target/imagebuilder/files/Makefile create mode 100644 target/imagebuilder/files/repositories.conf create mode 100644 target/linux/Makefile create mode 100644 target/linux/apm821xx/Makefile create mode 100755 target/linux/apm821xx/base-files/etc/board.d/01_leds create mode 100755 target/linux/apm821xx/base-files/etc/board.d/02_network create mode 100644 target/linux/apm821xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom create mode 100644 target/linux/apm821xx/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac create mode 100644 target/linux/apm821xx/base-files/etc/inittab create mode 100644 target/linux/apm821xx/base-files/lib/preinit/05_set_iface_mac_apm821xx create mode 100644 target/linux/apm821xx/base-files/lib/preinit/05_set_preinit_iface_apm821xx create mode 100644 target/linux/apm821xx/base-files/lib/preinit/79_move_config create mode 100755 target/linux/apm821xx/base-files/lib/upgrade/platform.sh create mode 100644 target/linux/apm821xx/base-files/lib/upgrade/wdbook.sh create mode 100644 target/linux/apm821xx/config-4.14 create mode 100644 target/linux/apm821xx/dts/apm82181.dtsi create mode 100644 target/linux/apm821xx/dts/meraki-mr24.dts create mode 100644 target/linux/apm821xx/dts/meraki-mx60.dts create mode 100644 target/linux/apm821xx/dts/netgear-wndap620.dts create mode 100644 target/linux/apm821xx/dts/netgear-wndap660.dts create mode 100644 target/linux/apm821xx/dts/netgear-wndap6x0.dtsi create mode 100644 target/linux/apm821xx/dts/netgear-wndr4700.dts create mode 100644 target/linux/apm821xx/dts/wd-mybooklive.dts create mode 100644 target/linux/apm821xx/files/arch/powerpc/platforms/44x/wndr4700.c create mode 100644 target/linux/apm821xx/image/Makefile create mode 100644 target/linux/apm821xx/image/mbl_boot.scr create mode 100755 target/linux/apm821xx/image/mbl_gen_hdd_img.sh create mode 100644 target/linux/apm821xx/nand/config-default create mode 100644 target/linux/apm821xx/nand/profiles/00-default.mk create mode 100644 target/linux/apm821xx/nand/target.mk create mode 100644 target/linux/apm821xx/patches-4.14/020-0002-crypto-crypto4xx-remove-unused-definitions-and-write.patch create mode 100644 target/linux/apm821xx/patches-4.14/020-0003-crypto-crypto4xx-set-CRYPTO_ALG_KERN_DRIVER_ONLY-fla.patch create mode 100644 target/linux/apm821xx/patches-4.14/020-0004-crypto-crypto4xx-remove-extern-statement-before-func.patch create mode 100644 target/linux/apm821xx/patches-4.14/020-0005-crypto-crypto4xx-remove-double-assignment-of-pd_uinf.patch create mode 100644 target/linux/apm821xx/patches-4.14/020-0006-crypto-crypto4xx-fix-dynamic_sa_ctl-s-sa_contents-de.patch create mode 100644 target/linux/apm821xx/patches-4.14/020-0007-crypto-crypto4xx-move-and-refactor-dynamic_contents-.patch create mode 100644 target/linux/apm821xx/patches-4.14/020-0008-crypto-crypto4xx-enable-AES-RFC3686-ECB-CFB-and-OFB-.patch create mode 100644 target/linux/apm821xx/patches-4.14/020-0009-crypto-crypto4xx-refactor-crypto4xx_copy_pkt_to_dst.patch create mode 100644 target/linux/apm821xx/patches-4.14/020-0010-crypto-crypto4xx-replace-crypto4xx_dev-s-scatter_buf.patch create mode 100644 target/linux/apm821xx/patches-4.14/020-0012-crypto-crypto4xx-pointer-arithmetic-overhaul.patch create mode 100644 target/linux/apm821xx/patches-4.14/020-0013-crypto-crypto4xx-wire-up-hmac_mc-to-hmac_muting.patch create mode 100644 target/linux/apm821xx/patches-4.14/020-0014-crypto-crypto4xx-fix-off-by-one-AES-OFB.patch create mode 100644 target/linux/apm821xx/patches-4.14/020-0015-crypto-crypto4xx-fix-type-mismatch-compiler-error.patch create mode 100644 target/linux/apm821xx/patches-4.14/020-0017-crypto-crypto4xx-add-backlog-queue-support.patch create mode 100644 target/linux/apm821xx/patches-4.14/020-0018-crypto-crypto4xx-use-the-correct-LE32-format-for-IV-.patch create mode 100644 target/linux/apm821xx/patches-4.14/020-0019-crypto-crypto4xx-overhaul-crypto4xx_build_pd.patch create mode 100644 target/linux/apm821xx/patches-4.14/020-0020-crypto-crypto4xx-fix-various-warnings.patch create mode 100644 target/linux/apm821xx/patches-4.14/020-0021-crypto-crypto4xx-fix-stalls-under-heavy-load.patch create mode 100644 target/linux/apm821xx/patches-4.14/020-0022-crypto-crypto4xx-simplify-sa-and-state-context-acqui.patch create mode 100644 target/linux/apm821xx/patches-4.14/020-0023-crypto-crypto4xx-prepare-for-AEAD-support.patch create mode 100644 target/linux/apm821xx/patches-4.14/020-0024-crypto-crypto4xx-add-aes-ccm-support.patch create mode 100644 target/linux/apm821xx/patches-4.14/020-0025-crypto-crypto4xx-add-aes-gcm-support.patch create mode 100644 target/linux/apm821xx/patches-4.14/021-0001-crypto-crypto4xx-shuffle-iomap-in-front-of-request_i.patch create mode 100644 target/linux/apm821xx/patches-4.14/021-0002-crypto-crypto4xx-support-Revision-B-parts.patch create mode 100644 target/linux/apm821xx/patches-4.14/021-0003-crypto-crypto4xx-fix-missing-irq-devname.patch create mode 100644 target/linux/apm821xx/patches-4.14/021-0004-crypto-crypto4xx-kill-MODULE_NAME.patch create mode 100644 target/linux/apm821xx/patches-4.14/021-0005-crypto-crypto4xx-perform-aead-icv-check-in-the-drive.patch create mode 100644 target/linux/apm821xx/patches-4.14/022-0001-crypto-Use-zeroing-memory-allocator-instead-of-alloc.patch create mode 100644 target/linux/apm821xx/patches-4.14/022-0002-crypto-crypto4xx-performance-optimizations.patch create mode 100644 target/linux/apm821xx/patches-4.14/022-0003-crypto-crypto4xx-convert-to-skcipher.patch create mode 100644 target/linux/apm821xx/patches-4.14/022-0004-crypto-crypto4xx-avoid-VLA-use.patch create mode 100644 target/linux/apm821xx/patches-4.14/022-0005-crypto-crypto4xx-add-aes-ctr-support.patch create mode 100644 target/linux/apm821xx/patches-4.14/022-0007-crypto-crypto4xx-extend-aead-fallback-checks.patch create mode 100644 target/linux/apm821xx/patches-4.14/022-0008-crypto-crypto4xx-put-temporary-dst-sg-into-request-c.patch create mode 100644 target/linux/apm821xx/patches-4.14/023-0001-treewide-kzalloc-kcalloc.patch create mode 100644 target/linux/apm821xx/patches-4.14/023-0002-crypto-skcipher-remove-useless-setting-of-type-flags.patch create mode 100644 target/linux/apm821xx/patches-4.14/023-0003-crypto-drop-mask-CRYPTO_ALG_ASYNC-from-cipher-tfm-al.patch create mode 100644 target/linux/apm821xx/patches-4.14/023-0004-crypto4xx_core-don-t-abuse-__dma_sync_page.patch create mode 100644 target/linux/apm821xx/patches-4.14/023-0005-cross-tree-phase-out-dma_zalloc_coherent.patch create mode 100644 target/linux/apm821xx/patches-4.14/023-0006-crypto-crypto4xx-add-prng-crypto-support.patch create mode 100644 target/linux/apm821xx/patches-4.14/023-0013-crypto-crypto4xx-fix-AES-CTR-blocksize-value.patch create mode 100644 target/linux/apm821xx/patches-4.14/023-0014-crypto-crypto4xx-fix-blocksize-for-cfb-and-ofb.patch create mode 100644 target/linux/apm821xx/patches-4.14/023-0015-crypto-crypto4xx-block-ciphers-should-only-accept-co.patch create mode 100644 target/linux/apm821xx/patches-4.14/030-0001-net-ibm-emac-replace-custom-rgmii_mode_name-with-phy.patch create mode 100644 target/linux/apm821xx/patches-4.14/030-0002-net-ibm-emac-replace-custom-PHY_MODE_-macros.patch create mode 100644 target/linux/apm821xx/patches-4.14/030-0003-net-ibm-emac-support-RGMII-RX-TX-ID-phymode.patch create mode 100644 target/linux/apm821xx/patches-4.14/140-GPIO-add-named-gpio-exports.patch create mode 100644 target/linux/apm821xx/patches-4.14/200-add-meraki-mr24-ikarem-support.patch create mode 100644 target/linux/apm821xx/patches-4.14/201-add-amcc-apollo3g-support.patch create mode 100644 target/linux/apm821xx/patches-4.14/202-add-netgear-wndr4700-support.patch create mode 100644 target/linux/apm821xx/patches-4.14/203-add-meraki-mx60-buckminster-support.patch create mode 100644 target/linux/apm821xx/patches-4.14/300-fix-atheros-nics-on-apm82181.patch create mode 100644 target/linux/apm821xx/patches-4.14/301-fix-memory-map-wndr4700.patch create mode 100644 target/linux/apm821xx/patches-4.14/302-0001-dt-bindings-add-protection-control-property.patch create mode 100644 target/linux/apm821xx/patches-4.14/701-powerpc_ibm_apm82181_phyclk_fix.patch create mode 100644 target/linux/apm821xx/patches-4.14/801-usb-xhci-add-firmware-loader-for-uPD720201-and-uPD72.patch create mode 100644 target/linux/apm821xx/patches-4.14/802-usb-xhci-force-msi-renesas-xhci.patch create mode 100644 target/linux/apm821xx/patches-4.14/803-hwmon-tc654-add-detection-routine.patch create mode 100644 target/linux/apm821xx/patches-4.14/804-hwmon-tc654-add-thermal_cooling-device.patch create mode 100644 target/linux/apm821xx/sata/config-default create mode 100644 target/linux/apm821xx/sata/profiles/00-default.mk create mode 100644 target/linux/apm821xx/sata/target.mk create mode 100644 target/linux/ar71xx/Makefile create mode 100755 target/linux/ar71xx/base-files/etc/board.d/01_leds create mode 100755 target/linux/ar71xx/base-files/etc/board.d/02_network create mode 100755 target/linux/ar71xx/base-files/etc/board.d/03_gpio_switches create mode 100644 target/linux/ar71xx/base-files/etc/diag.sh create mode 100644 target/linux/ar71xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom create mode 100644 target/linux/ar71xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata create mode 100644 target/linux/ar71xx/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac create mode 100644 target/linux/ar71xx/base-files/etc/hotplug.d/net/10-ar922x-led-fix create mode 100644 target/linux/ar71xx/base-files/etc/inittab create mode 100644 target/linux/ar71xx/base-files/etc/uci-defaults/03_network-switchX-migration create mode 100644 target/linux/ar71xx/base-files/etc/uci-defaults/03_network-vlan-migration create mode 100644 target/linux/ar71xx/base-files/etc/uci-defaults/04_led_migration create mode 100644 target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-checksum create mode 100644 target/linux/ar71xx/base-files/etc/uci-defaults/09_fix-seama-header create mode 100755 target/linux/ar71xx/base-files/lib/ar71xx.sh create mode 100644 target/linux/ar71xx/base-files/lib/preinit/01_preinit_do_ar71xx.sh create mode 100644 target/linux/ar71xx/base-files/lib/preinit/05_set_iface_mac_ar71xx create mode 100644 target/linux/ar71xx/base-files/lib/preinit/05_set_preinit_iface_ar71xx create mode 100644 target/linux/ar71xx/base-files/lib/preinit/82_patch_ath10k create mode 100644 target/linux/ar71xx/base-files/lib/upgrade/allnet.sh create mode 100644 target/linux/ar71xx/base-files/lib/upgrade/dir825.sh create mode 100644 target/linux/ar71xx/base-files/lib/upgrade/merakinand.sh create mode 100644 target/linux/ar71xx/base-files/lib/upgrade/openmesh.sh create mode 100755 target/linux/ar71xx/base-files/lib/upgrade/platform.sh create mode 100644 target/linux/ar71xx/config-4.14 create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/Kconfig.openwrt create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/Makefile create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/dev-ap9x-pci.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/dev-ap9x-pci.h create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/dev-dsa.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/dev-dsa.h create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/dev-eth.h create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/dev-m25p80.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/dev-m25p80.h create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/dev-nfc.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/dev-nfc.h create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-a60.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-alfa-ap120c.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-alfa-ap96.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-alfa-nx.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-all0258n.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-all0315n.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-antminer-s1.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-antminer-s3.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-antrouter-r1.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-ap121f.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-ap132.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-ap143.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-ap147.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-ap152.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-ap531b0.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-ap90q.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-ap91-5g.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-ap96.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c25-v1.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c59-v1.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c60-v1.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c7-v4.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c7-v5.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-archer-c7.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-arduino-yun.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-aw-nr580.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-bhr-4grv2.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-bhu-bxu2000n2-a.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-bsb.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-c55.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-c60.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-cap324.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-cap4200ag.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-carambola2.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-cf-e316n-v2.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-cpe510.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-cpe870.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-cr3000.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-cr5000.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-dap-1330-a1.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-dap-2695-a1.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-dgl-5500-a1.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-dhp-1565-a1.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-dir-505-a1.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-dir-600-a1.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-dir-615-c1.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-dir-615-i1.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-dir-825-b1.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-dir-825-c1.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-dir-869-a1.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-dlan-hotspot.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-dlan-pro-1200-ac.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-dlan-pro-500-wp.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-domywifi-dw33d.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-dr344.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-dr531.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-dragino2.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-e1700ac-v2.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-e2100l.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-e558-v2.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-e600g-v2.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-e750a-v4.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-e750g-v8.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-eap120.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-eap300v2.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-eap7660d.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-el-m150.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-el-mini.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-ens202ext.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-epg5000.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-esr1750.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-esr900.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-ew-balin.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-ew-dorin.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-f9k1115v2.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-fritz300e.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-fritz4020.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-fritz450e.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar150.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar300m.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar750.c create mode 100755 target/linux/ar71xx/files/arch/mips/ath79/mach-gl-ar750s.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-gl-domino.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-gl-inet.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-gl-mifi.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-gl-usb150.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-gs-minibox-v32.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-gs-oolite-v1.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-gs-oolite-v5-2.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-hiveap-121.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-hiwifi-hc6361.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-hornet-ub.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-ja76pf.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-jwap003.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-jwap230.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-koala.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-lan-turtle.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-lima.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-mc-mac1200r.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-mr12.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-mr16.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-mr1750.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-mr18.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-mr600.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-mr900.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-mynet-n600.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-mynet-n750.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-mynet-rext.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-mzk-w04nu.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-mzk-w300nh.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-n5q.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-nbg460n.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-nbg6716.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-om2p.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-om5p.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-om5pac.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-om5pacv2.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-omy-g1.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-omy-x1.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-onion-omega.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-pb42.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-pqi-air-pen.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-qihoo-c301.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-r36a.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-r602n.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-r6100.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-rambutan.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-rb2011.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-rb4xx.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-rb750.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-rb91x.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-rb922.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-rb95x.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-rbspi.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-rbsxtlite.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-re450.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-rme-eg200.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-rut9xx.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-rw2458n.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-sc1750.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-sc300m.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-sc450.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-smart-300.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-som9331.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-sr3200.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-t830.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tellstick-znet-lite.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tew-632brp.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tew-673gru.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tew-712br.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tew-732br.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tew-823dru.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-mr11u.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-mr13u.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-mr3020.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-mr3x20.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-mr6400.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wa701nd-v2.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wa7210n-v2.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wa801nd-v3.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wa830re-v2.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wa901nd-v2.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wa901nd-v4.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wa901nd.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wax50re.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wdr3320-v2.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wdr3500.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wdr4300.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wdr6500-v2.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wpa8630.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr1041n-v2.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr1043nd-v2.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr1043nd-v4.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr1043nd.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr2543n.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr703n.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr720n-v3.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr741nd-v4.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr741nd.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr802n.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr810n.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr841n-v8.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr841n-v9.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr841n.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr902ac-v1.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr940n-v4.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr941nd-v6.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr941nd.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tl-wr942n-v1.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-ts-d084.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-tube2h.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-unifiac.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt-xm.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-ubnt.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-wam250.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-weio.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-whr-hp-g300n.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-wi2a-ac200i.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-wifi-pineapple-nano.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-wlae-ag300n.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-wlr8100.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-wndap360.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-wndr3700.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-wndr4300.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000-v3.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000-v4.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2000.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-wnr2200.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-wp543.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-wpe72.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-wpj342.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-wpj344.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-wpj531.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-wpj558.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-wpj563.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-wrt160nl.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-wrt400n.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-wrtnode2q.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-wzr-450hp2.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-wzr-hp-ag300h.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-wzr-hp-g300nh.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-wzr-hp-g300nh2.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-wzr-hp-g450h.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-z1.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-zbt-we1526.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-zcn-1523h.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/machtypes.h create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/nvram.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/nvram.h create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/pci-ath9k-fixup.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/pci-ath9k-fixup.h create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/routerboot.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/routerboot.h create mode 100644 target/linux/ar71xx/files/arch/mips/include/asm/fw/myloader/myloader.h create mode 100644 target/linux/ar71xx/files/arch/mips/include/asm/mach-ath79/ag71xx_platform.h create mode 100644 target/linux/ar71xx/files/arch/mips/include/asm/mach-ath79/mach-rb750.h create mode 100644 target/linux/ar71xx/files/arch/mips/include/asm/mach-ath79/rb4xx_cpld.h create mode 100644 target/linux/ar71xx/files/drivers/gpio/gpio-latch.c create mode 100644 target/linux/ar71xx/files/drivers/gpio/gpio-nxp-74hc153.c create mode 100644 target/linux/ar71xx/files/drivers/leds/leds-nu801.c create mode 100644 target/linux/ar71xx/files/drivers/leds/leds-rb750.c create mode 100644 target/linux/ar71xx/files/drivers/leds/leds-wndr3700-usb.c create mode 100644 target/linux/ar71xx/files/drivers/mtd/cybertan_part.c create mode 100644 target/linux/ar71xx/files/drivers/mtd/nand/ar934x_nfc.c create mode 100644 target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c create mode 100644 target/linux/ar71xx/files/drivers/mtd/nand/rb750_nand.c create mode 100644 target/linux/ar71xx/files/drivers/mtd/nand/rb91x_nand.c create mode 100644 target/linux/ar71xx/files/drivers/mtd/tplinkpart.c create mode 100644 target/linux/ar71xx/files/drivers/net/dsa/mv88e6063.c create mode 100644 target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/Kconfig create mode 100644 target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/Makefile create mode 100644 target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h create mode 100644 target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_ar7240.c create mode 100644 target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_ar8216.c create mode 100644 target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_debugfs.c create mode 100644 target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_ethtool.c create mode 100644 target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c create mode 100644 target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_mdio.c create mode 100644 target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_phy.c create mode 100644 target/linux/ar71xx/files/drivers/spi/spi-rb4xx-cpld.c create mode 100644 target/linux/ar71xx/files/drivers/spi/spi-rb4xx.c create mode 100644 target/linux/ar71xx/files/drivers/spi/spi-vsc7385.c create mode 100644 target/linux/ar71xx/files/include/linux/leds-nu801.h create mode 100644 target/linux/ar71xx/files/include/linux/nxp_74hc153.h create mode 100644 target/linux/ar71xx/files/include/linux/platform/ar934x_nfc.h create mode 100644 target/linux/ar71xx/files/include/linux/platform_data/gpio-latch.h create mode 100644 target/linux/ar71xx/files/include/linux/platform_data/rb91x_nand.h create mode 100644 target/linux/ar71xx/files/include/linux/spi/vsc7385.h create mode 100644 target/linux/ar71xx/generic/config-default create mode 100644 target/linux/ar71xx/generic/profiles/00-default.mk create mode 100644 target/linux/ar71xx/generic/target.mk create mode 100644 target/linux/ar71xx/image/Makefile create mode 100644 target/linux/ar71xx/image/common-tp-link.mk create mode 100644 target/linux/ar71xx/image/generic-legacy-devices.mk create mode 100644 target/linux/ar71xx/image/generic-tp-link.mk create mode 100644 target/linux/ar71xx/image/generic-ubnt.mk create mode 100644 target/linux/ar71xx/image/generic.mk create mode 100644 target/linux/ar71xx/image/legacy.mk create mode 100644 target/linux/ar71xx/image/lzma-loader/Makefile create mode 100644 target/linux/ar71xx/image/lzma-loader/src/LzmaDecode.c create mode 100644 target/linux/ar71xx/image/lzma-loader/src/LzmaDecode.h create mode 100644 target/linux/ar71xx/image/lzma-loader/src/LzmaTypes.h create mode 100644 target/linux/ar71xx/image/lzma-loader/src/Makefile create mode 100644 target/linux/ar71xx/image/lzma-loader/src/ar71xx_regs.h create mode 100644 target/linux/ar71xx/image/lzma-loader/src/board.c create mode 100644 target/linux/ar71xx/image/lzma-loader/src/cache.c create mode 100644 target/linux/ar71xx/image/lzma-loader/src/cache.h create mode 100644 target/linux/ar71xx/image/lzma-loader/src/cacheops.h create mode 100644 target/linux/ar71xx/image/lzma-loader/src/config.h create mode 100644 target/linux/ar71xx/image/lzma-loader/src/cp0regdef.h create mode 100644 target/linux/ar71xx/image/lzma-loader/src/head.S create mode 100644 target/linux/ar71xx/image/lzma-loader/src/loader.c create mode 100644 target/linux/ar71xx/image/lzma-loader/src/loader.lds create mode 100644 target/linux/ar71xx/image/lzma-loader/src/loader2.lds create mode 100644 target/linux/ar71xx/image/lzma-loader/src/lzma-data.lds create mode 100644 target/linux/ar71xx/image/lzma-loader/src/printf.c create mode 100644 target/linux/ar71xx/image/lzma-loader/src/printf.h create mode 100644 target/linux/ar71xx/image/mikrotik.mk create mode 100644 target/linux/ar71xx/image/nand.mk create mode 100644 target/linux/ar71xx/image/tiny-legacy-devices.mk create mode 100644 target/linux/ar71xx/image/tiny-senao.mk create mode 100644 target/linux/ar71xx/image/tiny-tp-link.mk create mode 100644 target/linux/ar71xx/image/tiny.mk create mode 100644 target/linux/ar71xx/image/ubinize-nbg6716.ini create mode 100644 target/linux/ar71xx/image/ubinize-wndr4300.ini create mode 100644 target/linux/ar71xx/mikrotik/config-default create mode 100644 target/linux/ar71xx/mikrotik/profiles/00-default.mk create mode 100644 target/linux/ar71xx/mikrotik/target.mk create mode 100644 target/linux/ar71xx/modules.mk create mode 100644 target/linux/ar71xx/nand/config-default create mode 100644 target/linux/ar71xx/nand/profiles/00-default.mk create mode 100644 target/linux/ar71xx/nand/target.mk create mode 100644 target/linux/ar71xx/patches-4.14/001-spi-cs-gpio.patch create mode 100644 target/linux/ar71xx/patches-4.14/002-add_back_gpio_function_select.patch create mode 100644 target/linux/ar71xx/patches-4.14/004-register_gpio_driver_earlier.patch create mode 100644 target/linux/ar71xx/patches-4.14/100-MIPS-ath79-Avoid-using-unitialized-reg-variable.patch create mode 100644 target/linux/ar71xx/patches-4.14/106-02-MIPS-ath79-do-AR724x-PCIe-root-complex-init.patch create mode 100644 target/linux/ar71xx/patches-4.14/200-MIPS-ath79-fix-ar933x-wmac-reset.patch create mode 100644 target/linux/ar71xx/patches-4.14/201-ar913x_wmac_external_reset.patch create mode 100644 target/linux/ar71xx/patches-4.14/202-MIPS-ath79-ar934x-wmac-revision.patch create mode 100644 target/linux/ar71xx/patches-4.14/220-add_cpu_feature_overrides.patch create mode 100644 target/linux/ar71xx/patches-4.14/300-MIPS-add-MIPS_MACHINE_NONAME-macro.patch create mode 100644 target/linux/ar71xx/patches-4.14/310-lib-add-rle-decompression.patch create mode 100644 target/linux/ar71xx/patches-4.14/343-MIPS-ath79-Fix-potentially-missed-IRQ-handling-durin.patch create mode 100644 target/linux/ar71xx/patches-4.14/401-mtd-physmap-add-lock-unlock.patch create mode 100644 target/linux/ar71xx/patches-4.14/402-mtd-SST39VF6401B-support.patch create mode 100644 target/linux/ar71xx/patches-4.14/403-mtd_fix_cfi_cmdset_0002_status_check.patch create mode 100644 target/linux/ar71xx/patches-4.14/404-mtd-cybertan-trx-parser.patch create mode 100644 target/linux/ar71xx/patches-4.14/405-mtd-tp-link-partition-parser.patch create mode 100644 target/linux/ar71xx/patches-4.14/407-mtd-m25p80-allow-to-pass-probe-types-via-platform-data.patch create mode 100644 target/linux/ar71xx/patches-4.14/408-mtd-redboot_partition_scan.patch create mode 100644 target/linux/ar71xx/patches-4.14/409-mtd-rb4xx_nand_driver.patch create mode 100644 target/linux/ar71xx/patches-4.14/410-mtd-rb750-nand-driver.patch create mode 100644 target/linux/ar71xx/patches-4.14/411-mtd-cfi_cmdset_0002-force-word-write.patch create mode 100644 target/linux/ar71xx/patches-4.14/413-mtd-ar934x-nand-driver.patch create mode 100644 target/linux/ar71xx/patches-4.14/414-mtd-rb91x-nand-driver.patch create mode 100644 target/linux/ar71xx/patches-4.14/420-net-ar71xx_mac_driver.patch create mode 100644 target/linux/ar71xx/patches-4.14/423-dsa-add-88e6063-driver.patch create mode 100644 target/linux/ar71xx/patches-4.14/430-drivers-link-spi-before-mtd.patch create mode 100644 target/linux/ar71xx/patches-4.14/432-spi-rb4xx-spi-driver.patch create mode 100644 target/linux/ar71xx/patches-4.14/433-spi-rb4xx-cpld-driver.patch create mode 100644 target/linux/ar71xx/patches-4.14/435-spi-vsc7385_driver.patch create mode 100644 target/linux/ar71xx/patches-4.14/440-leds-wndr3700-usb-led-driver.patch create mode 100644 target/linux/ar71xx/patches-4.14/441-leds-rb750-led-driver.patch create mode 100644 target/linux/ar71xx/patches-4.14/442-leds-gpio-allow-to-use-OPEN_-DRAIN-SOURCE-flags-with.patch create mode 100644 target/linux/ar71xx/patches-4.14/450-gpio-nxp-74hc153-gpio-chip-driver.patch create mode 100644 target/linux/ar71xx/patches-4.14/451-gpio-74x164-improve-platform-device-support.patch create mode 100644 target/linux/ar71xx/patches-4.14/452-gpio-add-gpio-latch-driver.patch create mode 100644 target/linux/ar71xx/patches-4.14/461-spi-ath79-add-fast-flash-read.patch create mode 100644 target/linux/ar71xx/patches-4.14/470-MIPS-ath79-swizzle-pci-address-for-ar71xx.patch create mode 100644 target/linux/ar71xx/patches-4.14/490-usb-ehci-add-quirks-for-qca-socs.patch create mode 100644 target/linux/ar71xx/patches-4.14/500-MIPS-fw-myloader.patch create mode 100644 target/linux/ar71xx/patches-4.14/501-MIPS-ath79-add-mac-argument-to-ath79_register_wmac.patch create mode 100644 target/linux/ar71xx/patches-4.14/504-MIPS-ath79-add-ath79_device_reset_get.patch create mode 100644 target/linux/ar71xx/patches-4.14/505-MIPS-ath79-add-ath79_gpio_function_select.patch create mode 100644 target/linux/ar71xx/patches-4.14/506-MIPS-ath79-prom-parse-redboot-args.patch create mode 100644 target/linux/ar71xx/patches-4.14/507-MIPS-ath79-prom-add-myloader-support.patch create mode 100644 target/linux/ar71xx/patches-4.14/508-MIPS-ath79-prom-image-command-line-hack.patch create mode 100644 target/linux/ar71xx/patches-4.14/509-MIPS-ath79-process-board-kernel-option.patch create mode 100644 target/linux/ar71xx/patches-4.14/510-MIPS-ath79-init-gpio-pin-of-wmac-device.patch create mode 100644 target/linux/ar71xx/patches-4.14/520-MIPS-ath79-enable-UART-function.patch create mode 100644 target/linux/ar71xx/patches-4.14/521-MIPS-ath79-enable-UART-for-early_serial.patch create mode 100644 target/linux/ar71xx/patches-4.14/522-MIPS-ath79-add-ath79_wmac_register_simple-helper.patch create mode 100644 target/linux/ar71xx/patches-4.14/523-MIPS-ath79-OTP-support.patch create mode 100644 target/linux/ar71xx/patches-4.14/524-MIPS-ath79-add-ath79_wmac_disable_25ghz-helpers.patch create mode 100644 target/linux/ar71xx/patches-4.14/525-MIPS-ath79-enable-qca-usb-quirks.patch create mode 100644 target/linux/ar71xx/patches-4.14/601-MIPS-ath79-add-more-register-defines.patch create mode 100644 target/linux/ar71xx/patches-4.14/602-MIPS-ath79-add-openwrt-stuff.patch create mode 100644 target/linux/ar71xx/patches-4.14/603-MIPS-ath79-ap121-fixes.patch create mode 100644 target/linux/ar71xx/patches-4.14/604-MIPS-ath79-no-of.patch create mode 100644 target/linux/ar71xx/patches-4.14/605-MIPS-ath79-db120-fixes.patch create mode 100644 target/linux/ar71xx/patches-4.14/606-MIPS-ath79-pb44-fixes.patch create mode 100644 target/linux/ar71xx/patches-4.14/607-MIPS-ath79-ubnt-xm-fixes.patch create mode 100644 target/linux/ar71xx/patches-4.14/608-MIPS-ath79-ubnt-xm-add-more-boards.patch create mode 100644 target/linux/ar71xx/patches-4.14/609-MIPS-ath79-ap136-fixes.patch create mode 100644 target/linux/ar71xx/patches-4.14/611-MIPS-ath79-wdt-timeout.patch create mode 100644 target/linux/ar71xx/patches-4.14/612-MIPS-ath79-set-buffalo-txgain.patch create mode 100644 target/linux/ar71xx/patches-4.14/613-MIPS-ath79-add-ath79_wmac_setup_ext_lna_gpio-helper.patch create mode 100644 target/linux/ar71xx/patches-4.14/620-MIPS-ath79-add-support-for-QCA953x-SoC.patch create mode 100644 target/linux/ar71xx/patches-4.14/621-MIPS-ath79-add-support-for-QCA956x-SoC.patch create mode 100644 target/linux/ar71xx/patches-4.14/622-MIPS-ath79-add-more-register-defines-for-QCA956x-SoC.patch create mode 100644 target/linux/ar71xx/patches-4.14/630-MIPS-ath79-fix-chained-irq-disable.patch create mode 100644 target/linux/ar71xx/patches-4.14/631-MIPS-ath79-wmac-enable-set-led-pin.patch create mode 100644 target/linux/ar71xx/patches-4.14/632-MIPS-ath79-gpio-enable-set-direction.patch create mode 100644 target/linux/ar71xx/patches-4.14/640-MIPS-ath79-add-QCA955x-wmac-reset.patch create mode 100644 target/linux/ar71xx/patches-4.14/700-MIPS-ath79-add-openwrt-Kconfig.patch create mode 100644 target/linux/ar71xx/patches-4.14/701-MIPS-ath79-add-routerboard-detection.patch create mode 100644 target/linux/ar71xx/patches-4.14/702-MIPS-ath79-fixup-routerboot-board-parameter.patch create mode 100644 target/linux/ar71xx/patches-4.14/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch create mode 100644 target/linux/ar71xx/patches-4.14/740-MIPS-ath79-add-PCI-for-QCA953x-SoC.patch create mode 100644 target/linux/ar71xx/patches-4.14/741-MIPS-ath79-add-PCI-for-QCA9556-SoC.patch create mode 100644 target/linux/ar71xx/patches-4.14/818-MIPS-ath79-add-nu801-led-driver.patch create mode 100644 target/linux/ar71xx/patches-4.14/820-MIPS-ath79-add_gpio_function2_setup.patch create mode 100644 target/linux/ar71xx/patches-4.14/821-serial-core-add-support-for-boot-console-with-arbitr.patch create mode 100644 target/linux/ar71xx/patches-4.14/900-mdio_bitbang_ignore_ta_value.patch create mode 100644 target/linux/ar71xx/patches-4.14/901-phy-mdio-bitbang-prevent-rescheduling-during-command.patch create mode 100644 target/linux/ar71xx/patches-4.14/902-at803x-add-reset-gpio-pdata.patch create mode 100644 target/linux/ar71xx/patches-4.14/903-at803x-add-sgmii-aneg-override-pdata.patch create mode 100644 target/linux/ar71xx/patches-4.14/910-unaligned_access_hacks.patch create mode 100644 target/linux/ar71xx/patches-4.14/920-usb-chipidea-AR933x-platform-support.patch create mode 100644 target/linux/ar71xx/patches-4.14/921-MIPS-ath79-add-even-more-register-defines-for-QCA956x-SoC.patch create mode 100644 target/linux/ar71xx/patches-4.14/930-chipidea-pullup.patch create mode 100644 target/linux/ar71xx/patches-4.14/940-qca955x-add-more-registers.patch create mode 100644 target/linux/ar71xx/patches-4.14/950-add-boardinfo-platform-data.patch create mode 100644 target/linux/ar71xx/patches-4.14/952-qca955x-enable-ddr-wb-flush.patch create mode 100644 target/linux/ar71xx/patches-4.14/953-qca955x-pci-reset-fixes.patch create mode 100644 target/linux/ar71xx/patches-4.14/955-qca953x-fix-potential-missing-irq-dispatch.patch create mode 100644 target/linux/ar71xx/tiny/config-default create mode 100644 target/linux/ar71xx/tiny/profiles/00-default.mk create mode 100644 target/linux/ar71xx/tiny/target.mk create mode 100644 target/linux/arc770/Makefile create mode 100755 target/linux/arc770/base-files/etc/board.d/02_network create mode 100644 target/linux/arc770/base-files/lib/arc.sh create mode 100644 target/linux/arc770/base-files/lib/preinit/01_preinit_arc.sh create mode 100644 target/linux/arc770/config-4.14 create mode 100644 target/linux/arc770/generic/profiles/00-default.mk create mode 100644 target/linux/arc770/generic/target.mk create mode 100644 target/linux/arc770/image/Config.in create mode 100644 target/linux/arc770/image/Makefile create mode 100755 target/linux/arc770/image/gen_axs10x_sdcard_img.sh create mode 100644 target/linux/arc770/image/uEnv.txt create mode 100644 target/linux/arc770/patches-4.14/700-stmmac-Disable-frame-filtering-completely.patch create mode 100644 target/linux/archs38/Makefile create mode 100755 target/linux/archs38/base-files/etc/board.d/02_network create mode 100644 target/linux/archs38/base-files/lib/arc.sh create mode 100644 target/linux/archs38/base-files/lib/preinit/01_preinit_arc.sh create mode 100644 target/linux/archs38/config-4.14 create mode 100644 target/linux/archs38/generic/profiles/00-default.mk create mode 100644 target/linux/archs38/generic/target.mk create mode 100644 target/linux/archs38/image/Config.in create mode 100644 target/linux/archs38/image/Makefile create mode 100755 target/linux/archs38/image/gen_axs10x_sdcard_img.sh create mode 100644 target/linux/archs38/image/uEnv.txt create mode 100644 target/linux/archs38/image/uboot.env.txt create mode 100644 target/linux/archs38/patches-4.14/700-stmmac-Disable-frame-filtering-completely.patch create mode 100644 target/linux/armvirt/32/config-default create mode 100644 target/linux/armvirt/32/target.mk create mode 100644 target/linux/armvirt/64/config-default create mode 100644 target/linux/armvirt/64/target.mk create mode 100644 target/linux/armvirt/Makefile create mode 100644 target/linux/armvirt/README create mode 100755 target/linux/armvirt/base-files/etc/board.d/00_model create mode 100644 target/linux/armvirt/base-files/etc/inittab create mode 100644 target/linux/armvirt/config-4.14 create mode 100644 target/linux/armvirt/image/Makefile create mode 100644 target/linux/at91/Makefile create mode 100755 target/linux/at91/base-files/etc/board.d/02_network create mode 100644 target/linux/at91/base-files/etc/config/firewall create mode 100644 target/linux/at91/base-files/etc/config/network create mode 100755 target/linux/at91/base-files/lib/at91.sh create mode 100644 target/linux/at91/base-files/lib/preinit/01_preinit_do_at91.sh create mode 100644 target/linux/at91/config-4.14 create mode 100644 target/linux/at91/files/arch/arm/boot/dts/at91-q5xr5.dts create mode 100644 target/linux/at91/files/arch/arm/boot/dts/lmu5000.dts create mode 100644 target/linux/at91/files/arch/arm/boot/dts/wb45n.dts create mode 100644 target/linux/at91/files/arch/arm/boot/dts/wb50n.dts create mode 100644 target/linux/at91/files/arch/arm/boot/dts/wb50n.dtsi create mode 100644 target/linux/at91/image/Config.in create mode 100644 target/linux/at91/image/Makefile create mode 100644 target/linux/at91/image/dfboot/Makefile create mode 100644 target/linux/at91/image/dfboot/src/Makefile create mode 100644 target/linux/at91/image/dfboot/src/_udivsi3.S create mode 100644 target/linux/at91/image/dfboot/src/_umodsi3.S create mode 100644 target/linux/at91/image/dfboot/src/asm_isr.S create mode 100644 target/linux/at91/image/dfboot/src/asm_mci_isr.S create mode 100644 target/linux/at91/image/dfboot/src/at45.c create mode 100644 target/linux/at91/image/dfboot/src/com.c create mode 100644 target/linux/at91/image/dfboot/src/com.h create mode 100644 target/linux/at91/image/dfboot/src/config.h create mode 100644 target/linux/at91/image/dfboot/src/cstartup_ram.S create mode 100644 target/linux/at91/image/dfboot/src/dataflash.c create mode 100644 target/linux/at91/image/dfboot/src/dataflash.h create mode 100644 target/linux/at91/image/dfboot/src/div0.c create mode 100644 target/linux/at91/image/dfboot/src/elf32-littlearm.lds create mode 100644 target/linux/at91/image/dfboot/src/embedded_services.h create mode 100644 target/linux/at91/image/dfboot/src/include/AT91C_MCI_Device.h create mode 100644 target/linux/at91/image/dfboot/src/include/AT91RM9200.h create mode 100644 target/linux/at91/image/dfboot/src/include/AT91RM9200.inc create mode 100644 target/linux/at91/image/dfboot/src/include/AT91RM9200_inc.h create mode 100644 target/linux/at91/image/dfboot/src/include/led.h create mode 100644 target/linux/at91/image/dfboot/src/include/lib_AT91RM9200.h create mode 100644 target/linux/at91/image/dfboot/src/init.c create mode 100644 target/linux/at91/image/dfboot/src/jump.S create mode 100644 target/linux/at91/image/dfboot/src/led.c create mode 100644 target/linux/at91/image/dfboot/src/main.c create mode 100644 target/linux/at91/image/dfboot/src/main.h create mode 100644 target/linux/at91/image/dfboot/src/mci_device.c create mode 100644 target/linux/at91/image/dfboot/src/stdio.h create mode 100755 target/linux/at91/image/gen_at91_sdcard_img.sh create mode 100644 target/linux/at91/image/sam9x.mk create mode 100644 target/linux/at91/image/sama5.mk create mode 100644 target/linux/at91/image/sama5d3.mk create mode 100644 target/linux/at91/image/sama5d4.mk create mode 100644 target/linux/at91/modules.mk create mode 100644 target/linux/at91/patches-4.14/100-ARM-at91-build-dtb-for-LMU5000.patch create mode 100644 target/linux/at91/patches-4.14/101-ARM-at91-build-dtb-for-q5xr5.patch create mode 100644 target/linux/at91/patches-4.14/102-ARM-at91-build-dtb-for-wb45n.patch create mode 100644 target/linux/at91/patches-4.14/103-ARM-at91-build-dtb-for-wb50n.patch create mode 100644 target/linux/at91/patches-4.14/105-ARM-at91-build-dtb-for-sama5d2-ptc-Ek.patch create mode 100644 target/linux/at91/sam9x/config-default create mode 100644 target/linux/at91/sam9x/target.mk create mode 100644 target/linux/at91/sama5/config-default create mode 100644 target/linux/at91/sama5/target.mk create mode 100644 target/linux/ath25/Makefile create mode 100755 target/linux/ath25/base-files/etc/board.d/01_leds create mode 100755 target/linux/ath25/base-files/etc/board.d/02_network create mode 100644 target/linux/ath25/base-files/lib/preinit/15_preinit_iface_atheros create mode 100644 target/linux/ath25/base-files/lib/upgrade/platform.sh create mode 100644 target/linux/ath25/config-4.14 create mode 100644 target/linux/ath25/image/Makefile create mode 100644 target/linux/ath25/patches-4.14/107-ar5312_gpio.patch create mode 100644 target/linux/ath25/patches-4.14/108-ar2315_gpio.patch create mode 100644 target/linux/ath25/patches-4.14/110-ar2313_ethernet.patch create mode 100644 target/linux/ath25/patches-4.14/120-spiflash.patch create mode 100644 target/linux/ath25/patches-4.14/130-watchdog.patch create mode 100644 target/linux/ath25/patches-4.14/140-redboot_boardconfig.patch create mode 100644 target/linux/ath25/patches-4.14/141-redboot_partition_scan.patch create mode 100644 target/linux/ath25/patches-4.14/142-redboot_various_erase_size_fix.patch create mode 100644 target/linux/ath25/patches-4.14/210-reset_button.patch create mode 100644 target/linux/ath25/patches-4.14/220-enet_micrel_workaround.patch create mode 100644 target/linux/ath25/patches-4.14/330-board_leds.patch create mode 100644 target/linux/ath25/profiles/00-default.mk create mode 100644 target/linux/ath79/Makefile create mode 100755 target/linux/ath79/base-files/etc/board.d/01_leds create mode 100755 target/linux/ath79/base-files/etc/board.d/02_network create mode 100755 target/linux/ath79/base-files/etc/board.d/03_gpio_switches create mode 100644 target/linux/ath79/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom create mode 100644 target/linux/ath79/base-files/etc/hotplug.d/firmware/11-ath10k-caldata create mode 100644 target/linux/ath79/base-files/etc/hotplug.d/ieee80211/00-wifi-migration create mode 100644 target/linux/ath79/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac create mode 100644 target/linux/ath79/base-files/etc/uci-defaults/04_led_migration create mode 100755 target/linux/ath79/base-files/lib/functions/k2t.sh create mode 100644 target/linux/ath79/base-files/lib/upgrade/platform.sh create mode 100644 target/linux/ath79/config-4.14 create mode 100644 target/linux/ath79/dts/ar1022_iodata_wn-ag300dgr.dts create mode 100644 target/linux/ath79/dts/ar7100.dtsi create mode 100644 target/linux/ath79/dts/ar7161_aruba_ap-105.dts create mode 100644 target/linux/ath79/dts/ar7161_buffalo_wzr-hp-ag300h.dts create mode 100644 target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts create mode 100644 target/linux/ath79/dts/ar7161_jjplus_ja76pf2.dts create mode 100644 target/linux/ath79/dts/ar7161_netgear_wndr3700.dts create mode 100644 target/linux/ath79/dts/ar7161_netgear_wndr3700.dtsi create mode 100644 target/linux/ath79/dts/ar7161_netgear_wndr3700v2.dts create mode 100644 target/linux/ath79/dts/ar7161_netgear_wndr3800.dts create mode 100644 target/linux/ath79/dts/ar7161_ubnt_routerstation-pro.dts create mode 100644 target/linux/ath79/dts/ar7161_ubnt_routerstation.dts create mode 100644 target/linux/ath79/dts/ar7161_ubnt_routerstation.dtsi create mode 100644 target/linux/ath79/dts/ar7240.dtsi create mode 100644 target/linux/ath79/dts/ar7240_buffalo_whr-g301n.dts create mode 100644 target/linux/ath79/dts/ar7240_netgear_wnr612-v2.dts create mode 100644 target/linux/ath79/dts/ar7240_netgear_wnr612-v2.dtsi create mode 100644 target/linux/ath79/dts/ar7240_on_n150r.dts create mode 100644 target/linux/ath79/dts/ar7240_tplink.dtsi create mode 100644 target/linux/ath79/dts/ar7240_tplink_tl-wa.dtsi create mode 100644 target/linux/ath79/dts/ar7240_tplink_tl-wa701nd-v1.dts create mode 100644 target/linux/ath79/dts/ar7240_tplink_tl-wa730re-v1.dts create mode 100644 target/linux/ath79/dts/ar7240_tplink_tl-wa801nd-v1.dts create mode 100644 target/linux/ath79/dts/ar7240_tplink_tl-wa830re-v1.dts create mode 100644 target/linux/ath79/dts/ar7240_tplink_tl-wa901nd-v1.dts create mode 100644 target/linux/ath79/dts/ar7240_tplink_tl-wr.dtsi create mode 100644 target/linux/ath79/dts/ar7240_tplink_tl-wr740n-v1.dts create mode 100644 target/linux/ath79/dts/ar7240_tplink_tl-wr740n-v3.dts create mode 100644 target/linux/ath79/dts/ar7240_tplink_tl-wr741-v1.dts create mode 100644 target/linux/ath79/dts/ar7240_tplink_tl-wr743nd-v1.dts create mode 100644 target/linux/ath79/dts/ar7240_tplink_tl-wr841-v5.dts create mode 100644 target/linux/ath79/dts/ar7240_tplink_tl-wr941-v4.dts create mode 100644 target/linux/ath79/dts/ar7241.dtsi create mode 100644 target/linux/ath79/dts/ar7241_tplink.dtsi create mode 100644 target/linux/ath79/dts/ar7241_tplink_tl-mr3220-v1.dts create mode 100644 target/linux/ath79/dts/ar7241_tplink_tl-mr3420-v1.dts create mode 100644 target/linux/ath79/dts/ar7241_tplink_tl-mr3x20.dtsi create mode 100644 target/linux/ath79/dts/ar7241_tplink_tl-wr841-v7.dts create mode 100644 target/linux/ath79/dts/ar7241_tplink_tl-wr842n-v1.dts create mode 100644 target/linux/ath79/dts/ar7241_ubnt_airrouter.dts create mode 100644 target/linux/ath79/dts/ar7241_ubnt_bullet-m.dts create mode 100644 target/linux/ath79/dts/ar7241_ubnt_nanostation-loco-m.dts create mode 100644 target/linux/ath79/dts/ar7241_ubnt_nanostation-m.dts create mode 100644 target/linux/ath79/dts/ar7241_ubnt_picostation-m.dts create mode 100644 target/linux/ath79/dts/ar7241_ubnt_rocket-m.dts create mode 100644 target/linux/ath79/dts/ar7241_ubnt_unifi.dts create mode 100644 target/linux/ath79/dts/ar7241_ubnt_xm.dtsi create mode 100644 target/linux/ath79/dts/ar7241_ubnt_xm_outdoor.dtsi create mode 100644 target/linux/ath79/dts/ar7242.dtsi create mode 100644 target/linux/ath79/dts/ar7242_avm_fritz300e.dts create mode 100644 target/linux/ath79/dts/ar7242_buffalo_bhr-4grv.dts create mode 100644 target/linux/ath79/dts/ar7242_buffalo_wzr-bhr.dtsi create mode 100644 target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g302h-a1a0.dts create mode 100644 target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts create mode 100644 target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts create mode 100644 target/linux/ath79/dts/ar724x.dtsi create mode 100644 target/linux/ath79/dts/ar9132.dtsi create mode 100644 target/linux/ath79/dts/ar9132_tplink_tl-wa901nd-v2.dts create mode 100644 target/linux/ath79/dts/ar9132_tplink_tl-wr1043nd-v1.dts create mode 100644 target/linux/ath79/dts/ar9132_tplink_tl-wr941-v2.dts create mode 100644 target/linux/ath79/dts/ar9330.dtsi create mode 100644 target/linux/ath79/dts/ar9330_glinet_gl-ar150.dts create mode 100644 target/linux/ath79/dts/ar9330_pqi_air-pen.dts create mode 100644 target/linux/ath79/dts/ar9331.dtsi create mode 100644 target/linux/ath79/dts/ar9331_8dev_carambola2.dts create mode 100644 target/linux/ath79/dts/ar9331_embeddedwireless_dorin.dts create mode 100644 target/linux/ath79/dts/ar9331_etactica_eg200.dts create mode 100644 target/linux/ath79/dts/ar9331_pisen_wmm003n.dts create mode 100644 target/linux/ath79/dts/ar9331_tplink_tl-mr10u.dts create mode 100644 target/linux/ath79/dts/ar9331_tplink_tl-mr3020-v1.dts create mode 100644 target/linux/ath79/dts/ar9331_tplink_tl-mr3040-v2.dts create mode 100644 target/linux/ath79/dts/ar9331_tplink_tl-wr703n.dts create mode 100644 target/linux/ath79/dts/ar9331_tplink_tl-wr703n_tl-mr10u.dtsi create mode 100644 target/linux/ath79/dts/ar9331_tplink_tl-wr710n-8m.dtsi create mode 100644 target/linux/ath79/dts/ar9331_tplink_tl-wr710n-v1.dts create mode 100644 target/linux/ath79/dts/ar9331_tplink_tl-wr710n-v2.1.dts create mode 100644 target/linux/ath79/dts/ar9331_tplink_tl-wr710n.dtsi create mode 100644 target/linux/ath79/dts/ar9331_tplink_tl-wr740n-v4.dts create mode 100644 target/linux/ath79/dts/ar9331_tplink_tl-wr740n-v5.dts create mode 100644 target/linux/ath79/dts/ar9331_tplink_tl-wr741nd-v4.dts create mode 100644 target/linux/ath79/dts/ar9331_tplink_tl-wr741nd-v4.dtsi create mode 100644 target/linux/ath79/dts/ar9341.dtsi create mode 100644 target/linux/ath79/dts/ar9341_pcs_cr3000.dts create mode 100644 target/linux/ath79/dts/ar9341_tplink_tl-mr3420-v2.dts create mode 100644 target/linux/ath79/dts/ar9341_tplink_tl-wa.dtsi create mode 100644 target/linux/ath79/dts/ar9341_tplink_tl-wa850re-v1.dts create mode 100644 target/linux/ath79/dts/ar9341_tplink_tl-wa860re-v1.dts create mode 100644 target/linux/ath79/dts/ar9341_tplink_tl-wr841-v8.dts create mode 100644 target/linux/ath79/dts/ar9341_tplink_tl-wr842n-v2.dts create mode 100644 target/linux/ath79/dts/ar9342_iodata_etg3-r.dts create mode 100644 target/linux/ath79/dts/ar9342_ubnt_bullet-m-xw.dts create mode 100644 target/linux/ath79/dts/ar9342_ubnt_lap-120.dts create mode 100644 target/linux/ath79/dts/ar9342_ubnt_nanobeam-ac.dts create mode 100644 target/linux/ath79/dts/ar9342_ubnt_nanostation-ac-loco.dts create mode 100644 target/linux/ath79/dts/ar9342_ubnt_nanostation-ac.dts create mode 100644 target/linux/ath79/dts/ar9342_ubnt_nanostation-loco-m-xw.dts create mode 100644 target/linux/ath79/dts/ar9342_ubnt_nanostation-m-xw.dts create mode 100644 target/linux/ath79/dts/ar9342_ubnt_wa.dtsi create mode 100644 target/linux/ath79/dts/ar9342_ubnt_xw.dtsi create mode 100644 target/linux/ath79/dts/ar9344.dtsi create mode 100644 target/linux/ath79/dts/ar9344_comfast_cf-e120a-v3.dts create mode 100644 target/linux/ath79/dts/ar9344_dlink_dir-825-c1.dts create mode 100644 target/linux/ath79/dts/ar9344_dlink_dir-835-a1.dts create mode 100644 target/linux/ath79/dts/ar9344_dlink_dir-8x5.dtsi create mode 100644 target/linux/ath79/dts/ar9344_ocedo_raccoon.dts create mode 100644 target/linux/ath79/dts/ar9344_pcs_cap324.dts create mode 100644 target/linux/ath79/dts/ar9344_pcs_cr5000.dts create mode 100644 target/linux/ath79/dts/ar9344_tplink_tl-wdr3500-v1.dts create mode 100644 target/linux/ath79/dts/ar9344_tplink_tl-wdr3600-v1.dts create mode 100644 target/linux/ath79/dts/ar9344_tplink_tl-wdr4300-v1-il.dts create mode 100644 target/linux/ath79/dts/ar9344_tplink_tl-wdr4300-v1.dts create mode 100644 target/linux/ath79/dts/ar9344_tplink_tl-wdr4300.dtsi create mode 100644 target/linux/ath79/dts/ar9344_tplink_tl-wdr4310-v1.dts create mode 100644 target/linux/ath79/dts/ar9344_tplink_tl-wdrxxxx.dtsi create mode 100644 target/linux/ath79/dts/ar9344_wd_mynet-n750.dts create mode 100644 target/linux/ath79/dts/ar9344_wd_mynet-wifi-rangeextender.dts create mode 100644 target/linux/ath79/dts/ar9344_winchannel_wb2000.dts create mode 100644 target/linux/ath79/dts/ar9344_zbtlink_zbt-wd323.dts create mode 100644 target/linux/ath79/dts/ar934x.dtsi create mode 100644 target/linux/ath79/dts/ath79.dtsi create mode 100644 target/linux/ath79/dts/qca9531_comfast_cf-e5.dts create mode 100644 target/linux/ath79/dts/qca9531_engenius_ews511ap.dts create mode 100644 target/linux/ath79/dts/qca9531_glinet_gl-ar300m-lite.dts create mode 100644 target/linux/ath79/dts/qca9531_glinet_gl-ar300m-nand.dts create mode 100644 target/linux/ath79/dts/qca9531_glinet_gl-ar300m-nor.dts create mode 100644 target/linux/ath79/dts/qca9531_glinet_gl-ar300m.dtsi create mode 100644 target/linux/ath79/dts/qca9531_glinet_gl-x750.dts create mode 100644 target/linux/ath79/dts/qca9531_tplink_archer-d50-v1.dts create mode 100644 target/linux/ath79/dts/qca9531_tplink_tl-wr810n-v1.dts create mode 100644 target/linux/ath79/dts/qca9531_yuncore_a770.dts create mode 100644 target/linux/ath79/dts/qca9533_comfast_cf-e110n-v2.dts create mode 100644 target/linux/ath79/dts/qca9533_tplink_cpe210-v2.dts create mode 100644 target/linux/ath79/dts/qca9533_tplink_cpe210-v3.dts create mode 100644 target/linux/ath79/dts/qca9533_tplink_cpe210.dtsi create mode 100644 target/linux/ath79/dts/qca9533_tplink_cpe220-v3.dts create mode 100644 target/linux/ath79/dts/qca9533_tplink_cpexxx.dtsi create mode 100644 target/linux/ath79/dts/qca9533_tplink_tl-wa801nd-v3.dts create mode 100644 target/linux/ath79/dts/qca9533_tplink_tl-wa801nd-v4.dts create mode 100644 target/linux/ath79/dts/qca9533_tplink_tl-wa801nd.dtsi create mode 100644 target/linux/ath79/dts/qca9533_tplink_tl-wr802n-v1.dts create mode 100644 target/linux/ath79/dts/qca9533_tplink_tl-wr802n-v2.dts create mode 100644 target/linux/ath79/dts/qca9533_tplink_tl-wr802n.dtsi create mode 100644 target/linux/ath79/dts/qca9533_tplink_tl-wr810n-v2.dts create mode 100644 target/linux/ath79/dts/qca9533_tplink_tl-wr841-v10.dts create mode 100644 target/linux/ath79/dts/qca9533_tplink_tl-wr841-v11.dts create mode 100644 target/linux/ath79/dts/qca9533_tplink_tl-wr841-v11.dtsi create mode 100644 target/linux/ath79/dts/qca9533_tplink_tl-wr841-v12.dts create mode 100644 target/linux/ath79/dts/qca9533_tplink_tl-wr841-v9.dts create mode 100644 target/linux/ath79/dts/qca9533_tplink_tl-wr841.dtsi create mode 100644 target/linux/ath79/dts/qca9533_tplink_tl-wr842n-v3.dts create mode 100644 target/linux/ath79/dts/qca9533_ubnt_acb-isp.dts create mode 100644 target/linux/ath79/dts/qca953x.dtsi create mode 100644 target/linux/ath79/dts/qca953x_tplink_tl-wr810n.dtsi create mode 100644 target/linux/ath79/dts/qca9557.dtsi create mode 100644 target/linux/ath79/dts/qca9557_buffalo_bhr-4grv2.dts create mode 100644 target/linux/ath79/dts/qca9557_iodata_wn-ac-dgr.dtsi create mode 100644 target/linux/ath79/dts/qca9557_iodata_wn-ac1167dgr.dts create mode 100644 target/linux/ath79/dts/qca9557_iodata_wn-ac1600dgr.dts create mode 100644 target/linux/ath79/dts/qca9557_iodata_wn-ac1600dgr2.dts create mode 100644 target/linux/ath79/dts/qca9558_devolo_dvl1200e.dts create mode 100644 target/linux/ath79/dts/qca9558_devolo_dvl1200i.dts create mode 100644 target/linux/ath79/dts/qca9558_devolo_dvl1750c.dts create mode 100644 target/linux/ath79/dts/qca9558_devolo_dvl1750e.dts create mode 100644 target/linux/ath79/dts/qca9558_devolo_dvl1750i.dts create mode 100644 target/linux/ath79/dts/qca9558_devolo_dvl1750x.dts create mode 100644 target/linux/ath79/dts/qca9558_devolo_dvl1xxx.dtsi create mode 100644 target/linux/ath79/dts/qca9558_engenius_ecb1750.dts create mode 100644 target/linux/ath79/dts/qca9558_engenius_epg5000.dts create mode 100644 target/linux/ath79/dts/qca9558_librerouter_librerouter-v1.dts create mode 100644 target/linux/ath79/dts/qca9558_netgear_ex6400.dts create mode 100644 target/linux/ath79/dts/qca9558_netgear_ex7300.dts create mode 100644 target/linux/ath79/dts/qca9558_netgear_ex7300.dtsi create mode 100644 target/linux/ath79/dts/qca9558_ocedo_koala.dts create mode 100644 target/linux/ath79/dts/qca9558_ocedo_ursus.dts create mode 100644 target/linux/ath79/dts/qca9558_openmesh_om5p-ac-v2.dts create mode 100644 target/linux/ath79/dts/qca9558_tplink_archer-c5-v1.dts create mode 100644 target/linux/ath79/dts/qca9558_tplink_archer-c7-v1.dts create mode 100644 target/linux/ath79/dts/qca9558_tplink_archer-c7-v2.dts create mode 100644 target/linux/ath79/dts/qca9558_tplink_archer-c7.dtsi create mode 100644 target/linux/ath79/dts/qca9558_tplink_re350k-v1.dts create mode 100644 target/linux/ath79/dts/qca9558_tplink_tl-wdr4900-v2.dts create mode 100644 target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd-v2.dts create mode 100644 target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd-v3.dts create mode 100644 target/linux/ath79/dts/qca9558_tplink_tl-wr1043nd.dtsi create mode 100644 target/linux/ath79/dts/qca9558_tplink_tl-wr941n-v7-cn.dts create mode 100644 target/linux/ath79/dts/qca9561_avm_fritz4020.dts create mode 100644 target/linux/ath79/dts/qca9561_tplink_archer-c25-v1.dts create mode 100644 target/linux/ath79/dts/qca9561_tplink_archer-c58-v1.dts create mode 100644 target/linux/ath79/dts/qca9561_tplink_archer-c59-v1.dts create mode 100644 target/linux/ath79/dts/qca9561_tplink_archer-c5x.dtsi create mode 100644 target/linux/ath79/dts/qca9561_tplink_archer-c60-v1.dts create mode 100644 target/linux/ath79/dts/qca9561_tplink_archer-c60-v2.dts create mode 100644 target/linux/ath79/dts/qca9561_tplink_archer-c60-v3.dts create mode 100644 target/linux/ath79/dts/qca9561_tplink_archer-c6x.dtsi create mode 100644 target/linux/ath79/dts/qca9561_xiaomi_mi-router-4q.dts create mode 100644 target/linux/ath79/dts/qca9563_dlink_dir-859-a1.dts create mode 100644 target/linux/ath79/dts/qca9563_elecom_wrc-1750ghbk2-i.dts create mode 100644 target/linux/ath79/dts/qca9563_elecom_wrc-300ghbk2-i.dts create mode 100644 target/linux/ath79/dts/qca9563_elecom_wrc-ghbk2-i.dtsi create mode 100644 target/linux/ath79/dts/qca9563_glinet_gl-ar750s.dts create mode 100644 target/linux/ath79/dts/qca9563_nec_wg1200cr.dts create mode 100644 target/linux/ath79/dts/qca9563_nec_wg800hp.dts create mode 100644 target/linux/ath79/dts/qca9563_phicomm_k2t.dts create mode 100644 target/linux/ath79/dts/qca9563_rosinson_wr818.dts create mode 100644 target/linux/ath79/dts/qca9563_tplink_archer-a7-v5.dts create mode 100644 target/linux/ath79/dts/qca9563_tplink_archer-c2-v3.dts create mode 100644 target/linux/ath79/dts/qca9563_tplink_archer-c6-v2.dts create mode 100644 target/linux/ath79/dts/qca9563_tplink_archer-c7-v4.dts create mode 100644 target/linux/ath79/dts/qca9563_tplink_archer-c7-v5.dts create mode 100644 target/linux/ath79/dts/qca9563_tplink_archer-x6-v2.dtsi create mode 100644 target/linux/ath79/dts/qca9563_tplink_archer-x7-v5.dtsi create mode 100644 target/linux/ath79/dts/qca9563_tplink_re450-v2.dts create mode 100644 target/linux/ath79/dts/qca9563_tplink_tl-wr1043n-v5.dts create mode 100644 target/linux/ath79/dts/qca9563_tplink_tl-wr1043n.dtsi create mode 100644 target/linux/ath79/dts/qca9563_tplink_tl-wr1043nd-v4.dts create mode 100644 target/linux/ath79/dts/qca9563_ubnt_unifiac-lite.dts create mode 100644 target/linux/ath79/dts/qca9563_ubnt_unifiac-lite.dtsi create mode 100644 target/linux/ath79/dts/qca9563_ubnt_unifiac-lr.dts create mode 100644 target/linux/ath79/dts/qca9563_ubnt_unifiac-mesh-pro.dts create mode 100644 target/linux/ath79/dts/qca9563_ubnt_unifiac-mesh.dts create mode 100644 target/linux/ath79/dts/qca9563_ubnt_unifiac-pro.dts create mode 100644 target/linux/ath79/dts/qca9563_ubnt_unifiac-pro.dtsi create mode 100644 target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi create mode 100644 target/linux/ath79/dts/qca9563_yuncore_a782.dts create mode 100644 target/linux/ath79/dts/qca9563_yuncore_xd4200.dts create mode 100644 target/linux/ath79/dts/qca9563_yuncore_xd4200.dtsi create mode 100644 target/linux/ath79/dts/qca956x.dtsi create mode 100644 target/linux/ath79/dts/tp9343_tplink_tl-wa901nd-v4.dts create mode 100644 target/linux/ath79/dts/tp9343_tplink_tl-wa901nd-v5.dts create mode 100644 target/linux/ath79/dts/tp9343_tplink_tl-wa901nd.dtsi create mode 100644 target/linux/ath79/dts/tp9343_tplink_tl-wr940n-v3.dts create mode 100644 target/linux/ath79/dts/tp9343_tplink_tl-wr940n-v3.dtsi create mode 100644 target/linux/ath79/dts/tp9343_tplink_tl-wr940n-v4.dts create mode 100644 target/linux/ath79/dts/tp9343_tplink_tl-wr940n-v6.dts create mode 100644 target/linux/ath79/dts/tp9343_tplink_tl-wr941nd-v6.dts create mode 100644 target/linux/ath79/dts/tp9343_tplink_tl-wr94x.dtsi create mode 100644 target/linux/ath79/dts/tp9343_tplink_tl-wx.dtsi create mode 100644 target/linux/ath79/files/arch/mips/ath79/pci-ath9k-fixup.c create mode 100644 target/linux/ath79/files/arch/mips/ath79/pci-ath9k-fixup.h create mode 100644 target/linux/ath79/files/arch/mips/include/asm/fw/myloader/myloader.h create mode 100644 target/linux/ath79/files/drivers/mtd/parsers/parser_cybertan.c create mode 100644 target/linux/ath79/files/drivers/mtd/tplinkpart.c create mode 100644 target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/Kconfig create mode 100644 target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/Makefile create mode 100644 target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx.h create mode 100644 target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_debugfs.c create mode 100644 target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_ethtool.c create mode 100644 target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_gmac.c create mode 100644 target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c create mode 100644 target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_mdio.c create mode 100644 target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_phy.c create mode 100644 target/linux/ath79/generic/config-default create mode 100644 target/linux/ath79/generic/profiles/00-default.mk create mode 100644 target/linux/ath79/generic/target.mk create mode 100644 target/linux/ath79/image/Makefile create mode 100644 target/linux/ath79/image/common-buffalo.mk create mode 100644 target/linux/ath79/image/common-netgear.mk create mode 100644 target/linux/ath79/image/common-tp-link.mk create mode 100644 target/linux/ath79/image/common-yuncore.mk create mode 100644 target/linux/ath79/image/generic-tp-link.mk create mode 100644 target/linux/ath79/image/generic-ubnt.mk create mode 100644 target/linux/ath79/image/generic.mk create mode 100644 target/linux/ath79/image/lzma-loader/Makefile create mode 100644 target/linux/ath79/image/lzma-loader/src/LzmaDecode.c create mode 100644 target/linux/ath79/image/lzma-loader/src/LzmaDecode.h create mode 100644 target/linux/ath79/image/lzma-loader/src/LzmaTypes.h create mode 100644 target/linux/ath79/image/lzma-loader/src/Makefile create mode 100644 target/linux/ath79/image/lzma-loader/src/ar71xx_regs.h create mode 100644 target/linux/ath79/image/lzma-loader/src/board.c create mode 100644 target/linux/ath79/image/lzma-loader/src/cache.c create mode 100644 target/linux/ath79/image/lzma-loader/src/cache.h create mode 100644 target/linux/ath79/image/lzma-loader/src/cacheops.h create mode 100644 target/linux/ath79/image/lzma-loader/src/config.h create mode 100644 target/linux/ath79/image/lzma-loader/src/cp0regdef.h create mode 100644 target/linux/ath79/image/lzma-loader/src/head.S create mode 100644 target/linux/ath79/image/lzma-loader/src/loader.c create mode 100644 target/linux/ath79/image/lzma-loader/src/loader.lds create mode 100644 target/linux/ath79/image/lzma-loader/src/loader2.lds create mode 100644 target/linux/ath79/image/lzma-loader/src/lzma-data.lds create mode 100644 target/linux/ath79/image/lzma-loader/src/printf.c create mode 100644 target/linux/ath79/image/lzma-loader/src/printf.h create mode 100644 target/linux/ath79/image/nand.mk create mode 100644 target/linux/ath79/image/tiny-netgear.mk create mode 100644 target/linux/ath79/image/tiny-tp-link.mk create mode 100644 target/linux/ath79/image/tiny.mk create mode 100644 target/linux/ath79/modules.mk create mode 100644 target/linux/ath79/nand/config-default create mode 100644 target/linux/ath79/nand/profiles/00-default.mk create mode 100644 target/linux/ath79/nand/target.mk create mode 100644 target/linux/ath79/patches-4.14/0001-tty-serial-drop-QCA-pecific-SoC-symbols.patch create mode 100644 target/linux/ath79/patches-4.14/0002-watchdog-ath79-fix-maximum-timeout.patch create mode 100644 target/linux/ath79/patches-4.14/0003-leds-add-reset-controller-based-driver.patch create mode 100644 target/linux/ath79/patches-4.14/0004-phy-add-ath79-usb-phys.patch create mode 100644 target/linux/ath79/patches-4.14/0005-usb-add-more-OF-quirk-properties.patch create mode 100644 target/linux/ath79/patches-4.14/0006-usb-drop-deprecated-symbols.patch create mode 100644 target/linux/ath79/patches-4.14/0007-irqchip-irq-ath79-intc-add-irq-cascade-driver-for-QC.patch create mode 100644 target/linux/ath79/patches-4.14/0008-irqchip-irq-ath79-cpu-drop-OF-init-helper.patch create mode 100644 target/linux/ath79/patches-4.14/0009-MIPS-ath79-add-lots-of-missing-registers.patch create mode 100644 target/linux/ath79/patches-4.14/0010-MIPS-ath79-add-support-for-QCA953x-QCA956x-TP9343.patch create mode 100644 target/linux/ath79/patches-4.14/0011-MIPS-ath79-select-the-PINCTRL-subsystem.patch create mode 100644 target/linux/ath79/patches-4.14/0014-MIPS-ath79-finetune-cpu-overrides.patch create mode 100644 target/linux/ath79/patches-4.14/0015-MIPS-ath79-enable-uart-during-early_prink.patch create mode 100644 target/linux/ath79/patches-4.14/0016-MIPS-ath79-get-PCIe-controller-out-of-reset.patch create mode 100644 target/linux/ath79/patches-4.14/0017-dt-bindings-PCI-qcom-ar7100-adds-binding-doc.patch create mode 100644 target/linux/ath79/patches-4.14/0018-MIPS-pci-ar71xx-convert-to-OF.patch create mode 100644 target/linux/ath79/patches-4.14/0019-dt-bindings-PCI-qcom-ar7240-adds-binding-doc.patch create mode 100644 target/linux/ath79/patches-4.14/0020-MIPS-pci-ar724x-convert-to-OF.patch create mode 100644 target/linux/ath79/patches-4.14/0021-MIPS-ath79-add-helpers-for-setting-clocks-and-expose.patch create mode 100644 target/linux/ath79/patches-4.14/0022-MIPS-ath79-move-legacy-wdt-and-uart-clock-aliases-ou.patch create mode 100644 target/linux/ath79/patches-4.14/0023-MIPS-ath79-pass-PLL-base-to-clock-init-functions.patch create mode 100644 target/linux/ath79/patches-4.14/0024-MIPS-ath79-make-specifying-the-reference-clock-in-DT.patch create mode 100644 target/linux/ath79/patches-4.14/0025-MIPS-ath79-support-setting-up-clock-via-DT-on-all-So.patch create mode 100644 target/linux/ath79/patches-4.14/0026-MIPS-ath79-export-switch-MDIO-reference-clock.patch create mode 100644 target/linux/ath79/patches-4.14/0027-MIPS-ath79-drop-legacy-IRQ-code.patch create mode 100644 target/linux/ath79/patches-4.14/0028-MIPS-ath79-drop-machfiles.patch create mode 100644 target/linux/ath79/patches-4.14/0029-MIPS-ath79-drop-legacy-pci-code.patch create mode 100644 target/linux/ath79/patches-4.14/0030-MIPS-ath79-drop-platform-device-registration-code.patch create mode 100644 target/linux/ath79/patches-4.14/0031-MIPS-ath79-drop-OF-clock-code.patch create mode 100644 target/linux/ath79/patches-4.14/0032-MIPS-ath79-sanitize-symbols.patch create mode 100644 target/linux/ath79/patches-4.14/0033-spi-ath79-drop-pdata-support.patch create mode 100644 target/linux/ath79/patches-4.14/0034-MIPS-ath79-ath9k-exports.patch create mode 100644 target/linux/ath79/patches-4.14/0036-GPIO-add-named-gpio-exports.patch create mode 100644 target/linux/ath79/patches-4.14/0036-MIPS-ath79-remove-irq-code-from-pci.patch create mode 100644 target/linux/ath79/patches-4.14/0037-missing-registers.patch create mode 100644 target/linux/ath79/patches-4.14/004-register_gpio_driver_earlier.patch create mode 100644 target/linux/ath79/patches-4.14/403-mtd_fix_cfi_cmdset_0002_status_check.patch create mode 100644 target/linux/ath79/patches-4.14/404-mtd-cybertan-trx-parser.patch create mode 100644 target/linux/ath79/patches-4.14/405-mtd-tp-link-partition-parser.patch create mode 100644 target/linux/ath79/patches-4.14/408-mtd-redboot_partition_scan.patch create mode 100644 target/linux/ath79/patches-4.14/420-net-ar71xx_mac_driver.patch create mode 100644 target/linux/ath79/patches-4.14/430-drivers-link-spi-before-mtd.patch create mode 100644 target/linux/ath79/patches-4.14/461-spi-ath79-add-fast-flash-read.patch create mode 100644 target/linux/ath79/patches-4.14/470-MIPS-ath79-swizzle-pci-address-for-ar71xx.patch create mode 100644 target/linux/ath79/patches-4.14/490-usb-ehci-add-quirks-for-qca-socs.patch create mode 100644 target/linux/ath79/patches-4.14/900-mdio_bitbang_ignore_ta_value.patch create mode 100644 target/linux/ath79/patches-4.14/901-phy-mdio-bitbang-prevent-rescheduling-during-command.patch create mode 100644 target/linux/ath79/patches-4.14/910-unaligned_access_hacks.patch create mode 100644 target/linux/ath79/patches-4.14/921-serial-core-add-support-for-boot-console-with-arbitr.patch create mode 100644 target/linux/ath79/patches-4.14/930-ar8216-make-reg-access-atomic.patch create mode 100644 target/linux/ath79/tiny/config-default create mode 100644 target/linux/ath79/tiny/profiles/00-default.mk create mode 100644 target/linux/ath79/tiny/target.mk create mode 100644 target/linux/bcm53xx/Makefile create mode 100755 target/linux/bcm53xx/base-files/etc/board.d/01_leds create mode 100755 target/linux/bcm53xx/base-files/etc/board.d/02_network create mode 100644 target/linux/bcm53xx/base-files/etc/diag.sh create mode 100644 target/linux/bcm53xx/base-files/etc/uci-defaults/09_fix_crc create mode 100644 target/linux/bcm53xx/base-files/lib/upgrade/platform.sh create mode 100644 target/linux/bcm53xx/config-4.14 create mode 100644 target/linux/bcm53xx/files/arch/arm/boot/compressed/cache-v7-min.S create mode 100644 target/linux/bcm53xx/image/Makefile create mode 100644 target/linux/bcm53xx/modules.mk create mode 100644 target/linux/bcm53xx/patches-4.14/030-v4.15-0001-ARM-dts-BCM5301X-Specify-USB-ports-for-USB-LED-of-Lu.patch create mode 100644 target/linux/bcm53xx/patches-4.14/030-v4.15-0002-ARM-dts-BCM5301X-Add-DT-for-Luxul-XBR-4500.patch create mode 100644 target/linux/bcm53xx/patches-4.14/030-v4.15-0003-ARM-dts-BCM5301X-Add-DT-for-Luxul-ABR-4500.patch create mode 100644 target/linux/bcm53xx/patches-4.14/030-v4.15-0004-ARM-dts-BCM53573-Add-DT-for-Luxul-XAP-810.patch create mode 100644 target/linux/bcm53xx/patches-4.14/030-v4.15-0005-ARM-dts-BCM53573-Add-DT-for-Luxul-XAP-1440.patch create mode 100644 target/linux/bcm53xx/patches-4.14/031-v4.17-0001-ARM-dts-BCM5301X-add-missing-LEDs-for-Buffalo-WZR-90.patch create mode 100644 target/linux/bcm53xx/patches-4.14/032-v4.18-0001-ARM-dts-BCM5301X-Switch-Luxul-XWC-1000-to-the-new-fi.patch create mode 100644 target/linux/bcm53xx/patches-4.14/032-v4.18-0002-ARM-dts-BCM5301X-Relicense-most-DTS-files-to-the-GPL.patch create mode 100644 target/linux/bcm53xx/patches-4.14/032-v4.18-0003-ARM-dts-BCM5301X-Relicense-Buffalo-files-to-the-GPL-.patch create mode 100644 target/linux/bcm53xx/patches-4.14/032-v4.18-0004-ARM-dts-BCM5301X-Add-DT-for-Luxul-XWR-3150-V1.patch create mode 100644 target/linux/bcm53xx/patches-4.14/032-v4.18-0005-ARM-dts-BCM5301X-Add-DT-for-Luxul-XAP-1610.patch create mode 100644 target/linux/bcm53xx/patches-4.14/032-v4.18-0006-ARM-dts-BCM5301X-Relicense-Asus-RT-AC87U-file-to-the.patch create mode 100644 target/linux/bcm53xx/patches-4.14/032-v4.18-0007-ARM-dts-BCM5301X-Switch-D-Link-DIR-885L-to-the-new-p.patch create mode 100644 target/linux/bcm53xx/patches-4.14/033-v4.19-0001-ARM-dts-BCM5301X-Make-USB-3.0-PHY-use-MDIO-PHY-drive.patch create mode 100644 target/linux/bcm53xx/patches-4.14/033-v4.19-0002-ARM-dts-BCM53573-Add-architected-timer.patch create mode 100644 target/linux/bcm53xx/patches-4.14/033-v4.19-0003-ARM-dts-BCM5301X-Add-support-for-Linksys-EA9500.patch create mode 100644 target/linux/bcm53xx/patches-4.14/034-v4.20-0001-ARM-dts-BCM5301X-Specify-flash-partitions.patch create mode 100644 target/linux/bcm53xx/patches-4.14/035-v4.21-0001-ARM-dts-BCM5301X-Relicense-BCM47081-BCM4709-files-to.patch create mode 100644 target/linux/bcm53xx/patches-4.14/035-v4.21-0002-ARM-dts-BCM5301X-Relicense-BCM47094-file-to-the-GPL-.patch create mode 100644 target/linux/bcm53xx/patches-4.14/035-v4.21-0003-ARM-dts-BCM53573-Relicense-Tenda-AC9-file-to-the-GPL.patch create mode 100644 target/linux/bcm53xx/patches-4.14/035-v4.21-0004-ARM-dts-BCM53573-Relicense-SoC-file-to-the-GPL-2.0-M.patch create mode 100644 target/linux/bcm53xx/patches-4.14/035-v4.21-0005-ARM-dts-BCM5301X-Add-basic-DT-for-Linksys-EA6500-V2.patch create mode 100644 target/linux/bcm53xx/patches-4.14/035-v4.21-0006-ARM-dts-BCM5301X-Describe-Northstar-pins-mux-control.patch create mode 100644 target/linux/bcm53xx/patches-4.14/036-v5.1-0001-ARM-dts-BCM53573-Relicense-Luxul-files-to-the-GPL-2..patch create mode 100644 target/linux/bcm53xx/patches-4.14/036-v5.1-0002-ARM-dts-BCM5301X-Add-basic-DT-for-Phicomm-K3.patch create mode 100644 target/linux/bcm53xx/patches-4.14/080-spi-bcm53xx-simplify-reading-SPI-data.patch create mode 100644 target/linux/bcm53xx/patches-4.14/082-pinctrl-bcm-add-Northstar-driver.patch create mode 100644 target/linux/bcm53xx/patches-4.14/083-pinctrl-bcm-ns-Use-uintptr_t-for-casting-data.patch create mode 100644 target/linux/bcm53xx/patches-4.14/084-v4.21-pinctrl-bcm-ns-support-updated-DT-binding-as-syscon-.patch create mode 100644 target/linux/bcm53xx/patches-4.14/130-ARM-dts-BCM5301X-Add-DT-for-Luxul-XWC-2000.patch create mode 100644 target/linux/bcm53xx/patches-4.14/180-usb-xhci-add-support-for-performing-fake-doorbell.patch create mode 100644 target/linux/bcm53xx/patches-4.14/300-ARM-BCM5301X-Disable-MMU-and-Dcache-during-decompres.patch create mode 100644 target/linux/bcm53xx/patches-4.14/302-ARM-dts-BCM5301X-Update-Northstar-pinctrl-binding.patch create mode 100644 target/linux/bcm53xx/patches-4.14/310-ARM-BCM5301X-Add-DT-for-Netgear-R7900.patch create mode 100644 target/linux/bcm53xx/patches-4.14/311-ARM-BCM5301X-Add-power-button-for-Buffalo-WZR-1750DHP.patch create mode 100644 target/linux/bcm53xx/patches-4.14/320-ARM-dts-BCM5301X-Add-serial-to-the-bootargs.patch create mode 100644 target/linux/bcm53xx/patches-4.14/321-ARM-dts-BCM5301X-Describe-partition-formats.patch create mode 100644 target/linux/bcm53xx/patches-4.14/400-mtd-spi-nor-detect-JEDEC-incompatible-w25q128-using-.patch create mode 100644 target/linux/bcm53xx/patches-4.14/500-UBI-Detect-EOF-mark-and-erase-all-remaining-blocks.patch create mode 100644 target/linux/bcm53xx/patches-4.14/700-b53-add-hacky-CPU-port-fixes-for-devices-not-using-p.patch create mode 100644 target/linux/bcm53xx/patches-4.14/905-BCM53573-minor-hacks.patch create mode 100644 target/linux/bcm53xx/profiles/100-Generic.mk create mode 100644 target/linux/brcm2708/Makefile create mode 100755 target/linux/brcm2708/base-files/etc/board.d/02_network create mode 100644 target/linux/brcm2708/base-files/etc/diag.sh create mode 100644 target/linux/brcm2708/base-files/etc/inittab create mode 100644 target/linux/brcm2708/base-files/lib/preinit/05_set_preinit_iface_brcm2708 create mode 100644 target/linux/brcm2708/base-files/lib/preinit/79_move_config create mode 100644 target/linux/brcm2708/base-files/lib/upgrade/keep.d/platform create mode 100644 target/linux/brcm2708/base-files/lib/upgrade/platform.sh create mode 100644 target/linux/brcm2708/bcm2708/config-4.14 create mode 100644 target/linux/brcm2708/bcm2708/target.mk create mode 100644 target/linux/brcm2708/bcm2709/config-4.14 create mode 100644 target/linux/brcm2708/bcm2709/target.mk create mode 100644 target/linux/brcm2708/bcm2710/config-4.14 create mode 100644 target/linux/brcm2708/bcm2710/target.mk create mode 100644 target/linux/brcm2708/image/Makefile create mode 100644 target/linux/brcm2708/image/cmdline.txt create mode 100644 target/linux/brcm2708/image/config.txt create mode 100755 target/linux/brcm2708/image/gen_rpi_sdcard_img.sh create mode 100644 target/linux/brcm2708/modules.mk create mode 100644 target/linux/brcm2708/patches-4.14/950-0001-arm-partially-revert-702b94bff3c50542a6e4ab9a4f4cef0.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0002-smsx95xx-fix-crimes-against-truesize.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0003-smsc95xx-Experimental-Enable-turbo_mode-and-packetsi.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0004-Allow-mac-address-to-be-set-in-smsc95xx.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0005-Protect-__release_resource-against-resources-without.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0006-irq-bcm2836-Prevent-spurious-interrupts-and-trap-the.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0007-irq-bcm2836-Avoid-Invalid-trigger-warning.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0008-irqchip-bcm2835-Add-FIQ-support.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0009-irqchip-irq-bcm2835-Add-2836-FIQ-support.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0010-irq_bcm2836-Send-event-when-onlining-sleeping-cores.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0011-spidev-Add-spidev-compatible-string-to-silence-warni.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0012-spi-bcm2835-Support-pin-groups-other-than-7-11.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0013-spi-bcm2835-Disable-forced-software-CS.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0014-spi-bcm2835-Remove-unused-code.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0015-ARM-bcm2835-Set-Serial-number-and-Revision.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0016-dmaengine-bcm2835-Load-driver-early-and-support-lega.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0017-firmware-Updated-mailbox-header.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0018-rtc-Add-SPI-alias-for-pcf2123-driver.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0019-watchdog-bcm2835-Support-setting-reboot-partition.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0020-reboot-Use-power-off-rather-than-busy-spinning-when-.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0021-bcm-Make-RASPBERRYPI_POWER-depend-on-PM.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0022-Register-the-clocks-early-during-the-boot-process-so.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0023-bcm2835-rng-Avoid-initialising-if-already-enabled.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0024-kbuild-Ignore-dtco-targets-when-filtering-symbols.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0025-BCM2835_DT-Fix-I2S-register-map.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0026-clk-bcm2835-Mark-used-PLLs-and-dividers-CRITICAL.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0027-clk-bcm2835-Add-claim-clocks-property.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0028-clk-bcm2835-Read-max-core-clock-from-firmware.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0029-clk-bcm2835-Mark-GPIO-clocks-enabled-at-boot-as-crit.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0030-sound-Demote-deferral-errors-to-INFO-level.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0031-Update-vfpmodule.c.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0032-ASoC-bcm2835_i2s.c-relax-the-ch2-register-setting-fo.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0033-i2c-bcm2835-Add-debug-support.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0034-mm-Remove-the-PFN-busy-warning.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0035-ASoC-Add-prompt-for-ICS43432-codec.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0036-Main-bcm2708-bcm2709-linux-port.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0037-Add-dwc_otg-driver.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0038-bcm2708-framebuffer-driver.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0039-dmaengine-Add-support-for-BCM2708.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0040-MMC-added-alternative-MMC-driver.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0041-Adding-bcm2835-sdhost-driver-and-an-overlay-to-enabl.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0042-vc_mem-Add-vc_mem-driver-for-querying-firmware-memor.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0043-vcsm-VideoCore-shared-memory-service-for-BCM2835.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0044-Add-dev-gpiomem-device-for-rootless-user-GPIO-access.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0045-Add-SMI-driver.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0046-MISC-bcm2835-smi-use-clock-manager-and-fix-reload-is.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0047-Add-SMI-NAND-driver.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0048-lirc-added-support-for-RaspberryPi-GPIO.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0049-Add-cpufreq-driver.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0050-Add-Chris-Boot-s-i2c-driver.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0051-char-broadcom-Add-vcio-module.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0052-firmware-bcm2835-Support-ARCH_BCM270x.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0053-scripts-Add-mkknlimg-and-knlinfo-scripts-from-tools-.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0054-BCM2708-Add-core-Device-Tree-support.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0055-BCM270x_DT-Add-pwr_led-and-the-required-input-trigge.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0056-fbdev-add-FBIOCOPYAREA-ioctl.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0057-Speed-up-console-framebuffer-imageblit-function.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0058-enabling-the-realtime-clock-1-wire-chip-DS1307-and-1.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0059-Added-Device-IDs-for-August-DVB-T-205.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0060-rpi-ft5406-Add-touchscreen-driver-for-pi-LCD-display.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0061-Improve-__copy_to_user-and-__copy_from_user-performa.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0062-gpio-poweroff-Allow-it-to-work-on-Raspberry-Pi.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0063-mfd-Add-Raspberry-Pi-Sense-HAT-core-driver.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0064-ASoC-Add-support-for-HifiBerry-DAC.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0065-ASoC-Add-support-for-Rpi-DAC.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0066-ASoC-wm8804-Implement-MCLK-configuration-options-add.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0067-ASoC-BCM-Add-support-for-HiFiBerry-Digi.-Driver-is-b.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0068-Add-IQaudIO-Sound-Card-support-for-Raspberry-Pi.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0069-Added-support-for-HiFiBerry-DAC.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0070-Added-driver-for-HiFiBerry-Amp-amplifier-add-on-boar.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0071-Add-driver-for-rpi-proto.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0072-RaspiDAC3-support.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0073-Add-Support-for-JustBoom-Audio-boards.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0074-ARM-adau1977-adc-Add-basic-machine-driver-for-adau19.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0075-New-AudioInjector.net-Pi-soundcard-with-low-jitter-a.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0076-Add-IQAudIO-Digi-WM8804-board-support.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0077-New-driver-for-RRA-DigiDAC1-soundcard-using-WM8741-W.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0078-Add-support-for-Dion-Audio-LOCO-DAC-AMP-HAT.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0079-Allo-Piano-DAC-boards-Initial-2-channel-stereo-suppo.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0080-Add-support-for-Allo-Piano-DAC-2.1-plus-add-on-board.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0081-Add-support-for-Allo-Boss-DAC-add-on-board-for-Raspb.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0082-Support-for-Blokas-Labs-pisound-board.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0083-ASoC-Add-driver-for-Cirrus-Logic-Audio-Card.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0084-sound-Support-for-Dion-Audio-LOCO-V2-DAC-AMP-HAT.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0085-Add-support-for-Fe-Pi-audio-sound-card.-1867.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0086-Add-support-for-the-AudioInjector.net-Octo-sound-car.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0087-Driver-support-for-Google-voiceHAT-soundcard.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0088-Allo-Digione-Driver-2048.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0089-rpi_display-add-backlight-driver-and-overlay.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0090-bcm2835-virtgpio-Virtual-GPIO-driver.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0091-bcm2835-gpio-exp-Driver-for-GPIO-expander-via-mailbo.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0092-amba_pl011-Don-t-use-DT-aliases-for-numbering.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0093-amba_pl011-Round-input-clock-up.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0094-OF-DT-Overlay-configfs-interface.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0095-hci_h5-Don-t-send-conf_req-when-ACTIVE.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0096-config-Add-default-configs.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0097-Add-arm64-configuration-and-device-tree-differences..patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0098-ARM64-Make-it-work-again-on-4.9-1790.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0099-ARM64-Enable-HDMI-audio-and-vc04_services-in-bcmrpi3.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0100-ARM64-Run-bcmrpi3_defconfig-through-savedefconfig.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0101-ARM64-Enable-Kernel-Address-Space-Randomization-1792.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0102-ARM64-DWC_OTG-Port-dwc_otg-driver-to-ARM64.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0103-ARM64-Round-Robin-dispatch-IRQs-between-CPUs.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0104-ARM64-Enable-DWC_OTG-Driver-In-ARM64-Build-Config-bc.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0105-ARM64-Force-hardware-emulation-of-deprecated-instruc.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0106-build-arm64-Add-rules-for-.dtbo-files-for-dts-overla.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0107-enable-drivers-for-GPIO-expander-and-vcio.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0108-bcm2835-aux-Add-aux-interrupt-controller.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0109-raspberrypi-firmware-Export-the-general-transaction-.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0110-drm-vc4-Add-a-mode-for-using-the-closed-firmware-for.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0111-drm-vc4-Name-the-primary-and-cursor-planes-in-fkms.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0112-drm-vc4-Add-DRM_DEBUG_ATOMIC-for-the-insides-of-fkms.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0113-drm-vc4-Fix-sending-of-page-flip-completion-events-i.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0114-vc4_fkms-Apply-firmware-overscan-offset-to-hardware-.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0115-ASoC-bcm2835-Add-support-for-TDM-modes.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0116-ASoC-bcm2835-Support-left-right-justified-and-DSP-mo.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0117-ASoC-bcm2835-Support-additional-samplerates-up-to-38.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0118-ASoC-bcm2835-Enforce-full-symmetry.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0119-dma-bcm2708-Fix-module-compilation-of-CONFIG_DMA_BCM.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0120-cache-export-clean-and-invalidate.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0121-amba_pl011-Insert-mb-for-correct-FIFO-handling.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0122-amba_pl011-Add-cts-event-workaround-DT-property.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0123-amba-pl011-Report-AUTOCTS-capability-to-framework.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0124-scripts-Update-mkknlimg-just-in-case.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0125-AXI-performance-monitor-driver-2222.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0126-drm-panel-Add-support-for-the-Raspberry-Pi-7-Touchsc.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0127-panel-raspberrypi-touchscreen-Fix-NULL-deref-if-prob.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0128-panel-raspberrypi-touchscreen-Round-up-clk-rate-to-f.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0129-BCM270X-Add-the-DSI-panel-to-the-defconfig.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0130-drm-vc4-Add-support-for-setting-DPMS-in-firmwarekms.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0131-drm-vc4-Fix-pitch-setup-for-T-format-scanout.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0132-mcp2515-Use-DT-supplied-interrupt-flags.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0133-Tidy-up-of-the-ft5406-driver-to-use-DT-2189.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0134-pinctrl-bcm2835-Set-base-to-0-give-expected-gpio-num.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0135-fiq_fsm-rewind-DMA-pointer-for-OUT-transactions-that.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0136-cgroup-Disable-cgroup-memory-by-default.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0137-pwm-Set-class-for-exported-channels-in-sysfs.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0138-Updates-for-Pisound-module-code.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0139-overlays-Add-applepi-dac-overlay.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0140-staging-vchiq_arm-Make-debugfs-failure-non-fatal.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0141-config-Add-PINCTRL_MCP23S08.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0142-Add-Raspberry-Pi-firmware-driver-to-the-dependencies.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0143-overlays-Add-media-center-HAT-overlay-2313.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0144-add-backlight-control-to-rpi-display-overlay.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0145-add-backlight-control-to-media-center-overlay.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0146-Add-overlay-for-mcp3202-12-bit-ADC.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0147-dwc_otg-don-t-unconditionally-force-host-mode-in-dwc.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0148-vcsm-Define-cache-operation-constants-in-user-header.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0149-vcsm-Support-for-finding-user-vc-handle-in-memory-po.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0150-vcsm-Unify-cache-manipulating-functions.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0151-vcsm-Fix-obscure-conditions.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0152-vcsm-Fix-memory-leaking-on-clean_invalid2-ioctl-hand.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0153-vcsm-Describe-the-use-of-cache-operation-constants.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0154-vcsm-Fix-obscure-conditions-again.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0155-vcsm-Add-no-op-cache-operation-constant.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0156-vcsm-Revert-to-do-page-table-walk-based-cache-manipu.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0157-add-gpio-key-overlay-2329.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0158-add-additional-overrides-to-rotary-encoder-overlay-2.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0159-overlays-Add-uart0-overlay-to-change-pin-usage.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0160-overlays-Fix-resetgpio-and-ledgpio-for-hy28a-b.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0161-ASoC-bcm2835-fix-hw_params-error-when-device-is-in-p.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0162-Input-add-I2C-attached-EETI-EXC3000-multi-touch-driv.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0163-config-Add-EETI-EXC3000-touch-controller-module.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0164-overlays-Add-EETI-EXC3000-overlay.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0165-Added-support-for-mbed-AudioCODEC-TLV320AIC23B.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0166-mmc-bcm2835-sdhost-Support-underclocking.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0167-mmc-bcm2835-mmc-Support-underclocking.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0168-serial-8250-bcm2835aux-suppress-EPROBE_DEFER.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0169-irqchip-irq-bcm2836-Remove-regmap-and-syscon-use.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0170-lan78xx-Avoid-spurious-kevent-4-error.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0171-overlays-Allow-multiple-pps-gpio-instantiations.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0172-drm-vc4-Use-correct-path-to-trace-include.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0173-drm-vc4-clean-up-error-handling-on-devm_kzalloc-fail.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0174-drm-vc4-Add-the-DRM_IOCTL_VC4_GEM_MADVISE-ioctl.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0175-drm-vc4-Fix-false-positive-WARN-backtrace-on-refcoun.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0176-drm-vc4-Fix-sleeps-during-the-IRQ-handler-for-DSI-tr.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0177-drm-vc4-Convert-timers-to-use-timer_setup.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0178-drm-vc4-Fix-wrong-printk-format-in-vc4_bo_stats_debu.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0179-drm-vc4-Reject-HDMI-modes-with-too-high-of-clocks.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0180-drm-vc4-Add-support-for-DRM_FORMAT_RGB888-and-DRM_FO.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0181-drm-vc4-Use-.pixel_order-instead-of-custom-.flip_cbc.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0182-drm-vc4-Add-support-for-NV21-and-NV61.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0183-BCM270X-Disable-VEC-unless-vc4-kms-v3d-is-present.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0184-drm-vc4-Flush-the-caches-before-the-render-jobs-as-w.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0185-drm-vc4-Add-FB-modifier-support-to-firmwarekms.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0186-drm-vc4-Add-missing-enable-disable-vblank-handlers-i.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0187-drm-vc4-Fix-warning-about-vblank-interrupts-before-D.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0188-drm-vc4-Skip-SET_CURSOR_INFO-when-the-cursor-content.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0189-drm-vc4-Remove-duplicate-primary-cursor-fields-from-.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0190-drm-vc4-Don-t-wait-for-vblank-on-fkms-cursor-updates.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0191-config-Add-SND_USB_HIFACE-m.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0192-mmc-bcm2835-sdhost-Add-include.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0193-hid-Reduce-default-mouse-polling-interval-to-60Hz.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0194-BCM270X_DT-Minor-cosmetic-DT-tidy.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0195-BCM270X_DT-More-cosmetic-DT-changes.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0196-config-enable-Audio-Graph-Card-module.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0197-Add-missing-SND_PISOUND-selects-dependency-to-SND_RA.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0198-BCM2835-V4L2-Ensure-H264-header-bytes-get-a-sensible.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0199-BCM2835-V4L2-Correctly-denote-key-frames-in-encoded-.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0200-bcm2835-camera-Fix-timestamp-calculation-problem-221.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0201-drm-panel-rpi-touchscreen-propagate-errors-in-rpi_to.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0202-drm-vc4-Fix-crash-if-we-have-to-unbind-HDMI.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0203-drm-vc4-Skip-ULPS-latching-when-we-re-in-that-ULPS-s.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0204-drm-vc4-Move-the-DSI-clock-divider-workaround-closer.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0205-dwc_otg-Fix-a-regression-when-dequeueing-isochronous.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0206-overlays-Allow-multiple-instances-of-gpio-ir-tx.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0207-dwc_otg-add-smp_mb-to-prevent-driver-state-corruptio.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0208-overlay-Add-missing-pinctrl-reference-to-gpio-ir.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0209-ASoC-pcm512x-revert-downstream-changes.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0210-ASoC-allo-boss-dac-fix-S24_LE-format.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0211-ASoC-allo-piano-dac-plus-fix-S24_LE-format.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0212-ASoC-allo-piano-dac-fix-S24_LE-format.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0213-ASoC-dionaudio_loco-v2-fix-S24_LE-format.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0214-ASoC-hifiberry_dacplus-fix-S24_LE-format.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0215-ASoC-iqaudio-dac-fix-S24_LE-format.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0216-ASoC-justboom-dac-fix-S24_LE-format.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0217-ASoC-raspidac3-fix-S24_LE-format.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0218-Generic-Rotary-Encoder-overlay-for-multiple-instance.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0219-Add-support-for-SuperAudioBoard-sound-card-2386.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0220-Revert-downstream-wm8804-changes.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0221-BCM270X_DT-Add-brcm-bcm2835-sdhci-as-a-fallback.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0222-overlays-i2c-gpio-Support-for-multiple-instances.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0223-i2c-gpio-Also-set-bus-numbers-from-reg-property.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0224-overlays-i2c-gpio-Explain-bus-numbers-in-README.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0225-Update-rpi-ft5406-overlay.dts.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0226-overlays-Add-overlay-for-missing-AUX-interrupt-contr.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0227-overlays-Add-sc16is752-i2c-overlay.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0228-bcm2709-enable-usb-gadget-functions.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0229-ASoC-pcm512x-implement-set_tdm_slot-interface.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0230-ASoC-allo-boss-dac-transmit-S24_LE-with-64-BCLK-cycl.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0231-ASoC-hifiberry_dacplus-transmit-S24_LE-with-64-BCLK-.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0232-Fixing-memset-call-in-pisound.c.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0233-overlays-Rework-sdio-overlays-to-allow-polling.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0234-firmware-raspberrypi-Add-a-get_throttled-sysfs-file.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0235-overlays-Add-overlay-for-PiBell-soundcard.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0236-Removing-broken-RaspiDac3-support.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0237-overlays-Add-updated-mmc1-alias-to-sdio-overlays.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0238-config-Enable-CONFIG_GPIO_MOCKUP-module.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0239-overlays-Add-upstream-overlay.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0240-audioinjector-octo-Add-continuous-clock-feature.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0241-sound-bcm-Fix-memset-dereference-warning.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0242-staging-vchiq_arm-Remove-unused-variable.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0243-usb-dwb_otg-Fix-unreachable-switch-statement-warning.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0244-ARM-dts-Add-model-specific-compatible-strings.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0245-irqchip-bcm2836-Move-SMP-startup-code-to-arch-arm-v2.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0246-arm64-enable-thermal-enable-mmc-2425.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0247-added-capture_clear-option-to-pps-gpio-via-dtoverlay.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0248-bcm2710-rpi-3-b.dts-Remove-duplicate-memreserve.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0249-config-Set-CONFIG_USB_LAN78XX-y.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0250-BCM270X_DT-Add-Pi-3-dts-files.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0251-lan78xx-Read-initial-EEE-status-from-DT.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0252-lan78xx-Change-LEDs-to-include-10Mb-activity.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0253-BCM27XX_DT-Delete-stdout-path-property.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0254-Fix-for-Pisound-s-MIDI-Input-getting-blocked-for-a-w.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0255-overlays-use-all-seven-dwc2-gadget-fifos.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0256-overlays-Update-upstream-overlay-with-new-dwc2.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0257-lan78xx-Read-LED-states-from-Device-Tree.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0258-BCM27XX_DT-Set-LED-modes-from-Device-Tree.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0259-This-commit-adds-support-for-RP3-B-Plus-in-in-arch-a.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0260-Add-overlay-for-Semtech-SX150X-I2C-GPIO-Expanders.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0261-usb-dwc_otg-fix-memory-corruption-in-dwc_otg-driver.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0262-config-Add-NFS_V4_1-support.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0263-config-Add-IPVLAN-module.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0264-Add-overlay-for-JEDEC-SPI-NOR-flash.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0265-net-lan78xx-Allow-for-VLAN-headers-in-timeout.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0266-config-Add-BT_HCIUART_BCM-y-and-SERIAL_DEV_BUS-m.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0267-arm64-Add-CONFIG_SERIAL_DEV_BUS-m-to-bcmrpi3_defconf.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0268-lan78xx-Move-enabling-of-EEE-into-PHY-init-code.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0269-net-lan78xx-Request-s-w-csum-check-on-VLAN-tagged-pa.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0270-net-lan78xx-Add-support-for-VLAN-filtering.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0271-net-lan78xx-Add-support-for-VLAN-tag-stripping.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0272-net-lan78xx-Reduce-s-w-csum-check-on-VLANs.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0273-config-Enable-the-DS1621-I2C-temperature-sensor.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0274-overlays-Add-ds1621-to-the-i2c-sensor-overlay.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0275-overlays-Fix-typo-in-README.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0276-configs-Add-CONFIG_BCM2835_DEVGPIOMEM-for-aarch64.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0277-overlays-Add-combine-option-to-i2c-overlays.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0278-Prevent-voltage-low-warnings-from-filling-log.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0279-BCM270X_DT-Add-sdio_overclock-parameter.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0280-gpiolib-Don-t-prevent-IRQ-usage-of-output-GPIOs.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0281-Drivers-for-Allo-Katana-DAC.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0282-Drivers-for-Allo-Katana-DAC.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0283-Driver-for-Allo-Katana-DAC.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0284-Driver-for-Allo-Katana-DAC.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0285-Reduce-log-spam-when-mailbox-call-not-implemented.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0286-config-Add-I2C_TINY_USB-m.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0287-ARM-bcm_defconfig-Re-enable-QCA7000-SPI-driver.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0288-config-Add-CONFIG_BATTERY_GAUGE_LTC2941-m.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0289-overlays-Add-ltc294x-battery-gauge.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0290-overlays-Add-support-for-Balena-Fin-board.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0291-ARM-dts-bcm283x-Fix-DTC-warnings-about-missing-phy-c.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0292-net-mdiobus-add-unlocked-accessors.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0293-net-phy-use-unlocked-accessors-for-indirect-MMD-acce.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0294-net-phy-add-unlocked-accessors.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0295-net-phy-add-paged-phy-register-accessors.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0296-lan78xx-PHY-DSP-registers-initialization-to-address-.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0297-Cleanup-of-bcm2708_fb-file-to-kernel-coding-standard.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0298-Add-ability-to-export-gpio-used-by-gpio-poweroff.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0299-Added-export-feature-to-gpio-poweroff-documentation.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0300-Updated-the-gpio-poweroff-overlay-and-README-entry.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0301-config-Add-CONFIG_DM_CACHE.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0302-firmware-raspberrypi-Add-two-new-messages.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0303-firmware-raspberrypi-Notify-firmware-of-a-reboot.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0304-config-Add-CONFIG_MTD_BLOCK2MTD-m.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0305-config-Add-LZ4-compression-support-to-arm64-kernel-2.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0306-config-Add-KEYBOARD_MATRIX-m.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0307-Enable-AES-AES-bit-slice-and-AES-NEON-engines-on-arm.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0308-overlays-Add-sdtweak-features-for-network-booting.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0309-Enable-bbr-module-for-arm64.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0310-Added-mute-stream-func.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0312-config-Add-CONFIG_SPI_GPIO.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0313-config-Add-CONFIG_NET_IPVTI-m.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0314-net-lan78xx-Disable-TCP-Segmentation-Offload-TSO.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0315-usb-gadget-ethernet-Re-enable-Jumbo-frames.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0316-overlays-Add-gpio-no-irq-overlay.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0317-ifb-fix-packets-checksum.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0318-netfilter-ip6t_MASQUERADE-add-dependency-on-conntrac.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0319-Allo-Katana-DAC-Updated-default-values.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0320-ARM-bcm283x-Add-missing-interrupt-for-RNG-block.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0321-ov5647-Add-set_fmt-and-get_fmt-calls.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0322-ov5647-dt-add-device-tree-for-PWDN-control.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0323-ov5647-Add-support-for-PWDN-GPIO.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0324-ov5647-Add-support-for-non-continuous-clock-mode.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0325-media-tc358743-Increase-FIFO-level-to-374.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0326-tc358743-fix-connected-active-CSI-2-lane-reporting.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0327-tc358743-Add-support-for-972Mbit-s-link-freq.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0328-media-tc358743-Check-I2C-succeeded-during-probe.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0329-adv7180-Default-to-the-first-valid-input.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0330-videodev2-Add-helper-defines-for-printing-FOURCCs.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0331-dt-bindings-Document-BCM283x-CSI2-CCP2-receiver.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0332-bcm2835-unicam-Driver-for-CCP2-CSI2-camera-interface.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0333-bcm2835-unicam-Revert-changes-for-notifier-fn-ptrs.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0334-MAINTAINERS-Add-entry-for-BCM2835-camera-driver.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0335-defconfig-Enable-Unicam-driver-and-various-sources-o.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0336-media-adv7180-Nasty-hack-to-allow-input-selection.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0337-media-adv7180-Add-YPrPb-support-for-ADV7282M.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0338-arm-dts-bcm2710-rpi-3-b-plus-fix-hpd-gpio-pin.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0339-Add-device-tree-overlay-for-HD44780.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0340-Add-hd44780-module-to-defconfig.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0341-BCM283x-DT-Add-CSI-nodes-to-the-device-tree.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0342-BCM270X_DT-Add-CSI-defines-for-all-the-downstream-Pi.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0343-arm-dt-Add-DT-overlays-for-ADV7282M-OV5647-and-TC358.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0344-drm-vc4-Set-premultiplied-for-alpha-formats.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0345-drm-vc4-Check-if-plane-requires-background-fill.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0346-drm-vc4-Move-plane-state-to-header.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0347-drm-vc4-Enable-background-color-fill-when-necessary.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0348-overlays-Add-addr-parameter-to-i2c-rtc-gpio.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0349-drm-vc4-Fix-oops-dereferencing-DPI-s-connector-since.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0350-ARM-bcm2835-Add-the-DPI-hardware-to-the-device-tree.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0351-ARM-BCM270X-Add-the-18-bit-DPI-pinmux-to-the-RPI-DTs.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0352-overlays-Add-an-overlay-for-the-Adafruit-Kippah-with.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0353-overlays-Remove-stale-notes-about-vc4-s-CMA-alignmen.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0354-drm-vc4-Advertise-supported-modifiers-for-planes.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0355-drm-vc4-Add-some-missing-HVS-register-definitions.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0356-drm-vc4-Add-missing-formats-to-vc4_format_mod_suppor.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0357-drm-vc4-Add-support-for-SAND-modifier.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0358-spi-Make-GPIO-CSs-honour-the-SPI_NO_CS-flag.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0359-net-lan78xx-fix-rx-handling-before-first-packet-is-s.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0360-lan78xx-Fix-link-status-notifications.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0361-overlays-Fix-vc4-kms-kippah-7inch.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0362-dwc-otg-FIQ-Fix-bad-mode-in-data-abort-handler.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0363-End-log-messages-in-one-newline-not-two.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0364-Fix-one-more-log-message-ending-in-two-newlines.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0365-Add-rpi-poe-fan-driver.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0366-devicetree-add-RPi-CM3-dts-to-arm64-mimic-the-RPi-3B.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0367-staging-bcm2835-camera-Skip-ISP-pass-to-eliminate-pa.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0368-staging-bcm2835-camera-Allocate-context-once-per-buf.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0369-staging-bcm2835-camera-Remove-bulk_mutex-as-it-is-no.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0370-staging-bcm2835-camera-Match-MMAL-buffer-count-to-V4.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0371-staging-bcm2835-camera-Remove-V4L2-MMAL-buffer-remap.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0372-staging-bcm2835-camera-Add-multiple-include-protecti.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0373-staging-bcm2835-camera-Move-struct-vchiq_mmal_rect.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0374-staging-bcm2835-camera-Replace-BUG_ON-with-return-er.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0375-staging-bcm2835-camera-Fix-comment-typos.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0376-staging-bcm2835-camera-Fix-indentation-of-tables.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0377-staging-bcm2835-camera-Fix-warnings-about-string-ops.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0378-staging-bcm2835-Remove-dead-code-related-to-framerat.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0379-staging-bcm2835-Fix-mmal_port_parameter_get-signed-u.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0380-staging-bcm2835-Use-BIT_ULL-macro.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0381-staging-vc04_services-no-need-to-check-debugfs-retur.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0382-staging-vc04_services-remove-odd-vchiq_debugfs_top-w.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0383-staging-vc04_services-move-client-dbg-directory-into.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0384-staging-vc04_services-remove-struct-vchiq_debugfs_in.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0385-staging-vc04_services-vchiq_debugfs_log_entry-can-be.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0386-staging-vc04_services-no-need-to-save-the-log-debufs.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0387-staging-vc04_services-Join-multiline-dereferences.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0388-Revert-bcm2835-camera-Fix-timestamp-calculation-prob.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0389-staging-bcm2835-camera-use-ktime_t-for-timestamps.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0390-staging-vc04_services-Unsplit-user-visible-strings.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0391-staging-vc04_services-Use-__func__.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0392-staging-bcm2835-camera-Do-not-bulk-receive-from-serv.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0393-staging-bcm2835-camera-Return-early-on-errors.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0394-staging-bcm2835-camera-Remove-dead-email-addresses.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0395-staging-bcm2835-camera-Fix-comment-style-violations.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0396-staging-bcm2835-camera-Fix-spacing-around-operators.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0397-staging-bcm2835-camera-Reduce-length-of-enum-names.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0398-staging-bcm2835-camera-Fix-multiple-line-dereference.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0399-staging-bcm2835-camera-Fix-brace-style-issues.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0400-staging-bcm2835-camera-Fix-missing-lines-between-ite.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0401-staging-bcm2835-camera-Fix-logical-continuation-spli.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0402-staging-bcm2835-camera-Fix-open-parenthesis-alignmen.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0403-staging-bcm2835-camera-Fix-typo.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0404-staging-bcm2835_camera-Ensure-all-buffers-are-return.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0405-staging-mmal-vchiq-Remove-check-of-the-number-of-buf.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0406-staging-bcm2835-camera-Handle-empty-EOS-buffers-whil.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0407-staging-bcm2835-camera-Set-sequence-number-correctly.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0408-staging-bcm2835-camera-Ensure-timestamps-never-go-ba.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0409-dtoverlays-Add-support-for-ADV7280-M-ADV7281-M-and-A.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0410-bcm2835-interpolate-audio-delay.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0411-Add-support-for-audioinjector.net-ultra-soundcard.-2.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0412-PoE-HAT-driver-cleanup.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0413-ASoC-cs4265-Add-a-S-PDIF-enable-switch.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0414-ASoC-cs4265-Add-native-32bit-I2S-transport.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0416-configs-Add-SENSOR_GPIO_FAN-m.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0417-BCM270X_DT-Add-gpio-fan-overlay.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0418-dtoverlays-Correct-DT-handling-camera-GPIOs.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0419-media-ov5647-Use-gpiod_set_value_cansleep.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0420-dwc_otg-fiq_fsm-fix-incorrect-DMA-register-offset-ca.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0422-configs-Add-CONFIG_HID_BIGBEN_FF-m.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0423-ASoC-cs4265-Add-a-MIC-pre.-route-2696.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0424-vchiq_2835_arm-Implement-a-DMA-pool-for-small-bulk-t.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0425-Update-gpio-fan-overlay.dts-2711.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0426-drivers-thermal-step_wise-add-support-for-hysteresis.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0427-drivers-thermal-step_wise-avoid-throttling-at-hyster.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0428-hwmon-adjust-rpi-poe-fan-overlay-trip-points.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0429-overlays-add-overrides-for-PoE-HAT-fan-control.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0430-overlays-Add-gpio-no-bank0-irq-overlay.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0431-Add-hy28b-2017-model-device-tree-overlay-2721.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0432-config-Add-CONFIG_USBIP_VUDC.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0433-mmc-bcm2835-sdhost-Recover-from-MMC_SEND_EXT_CSD.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0435-overlays-pi3-disable-bt-Clear-out-bt_pins-node.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0436-Revert-rtc-pcf8523-properly-handle-oscillator-stop-b.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0437-Update-issue-templates-2736.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0438-sc16is7xx-Don-t-spin-if-no-data-received.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0439-overlays-uart0-return-GPIOs-14-and-15-to-inputs.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0440-Update-README-2750.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0441-overlays-Remove-superfluous-address-size-cells.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0442-vcsm-Fix-an-NULL-dereference-in-the-import_dmabuf-er.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0443-net-lan78xx-Support-auto-downshift-to-100Mb-s.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0444-ARM-dts-bcm283x-Set-downshift-after-for-Pi-3B.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0445-BCM270X_DT-Add-new-Ethernet-DT-parameters.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0446-staging-bcm2835-camera-Fix-stride-on-RGB3-BGR3-forma.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0447-tpm-Make-SECURITYFS-a-weak-dependency.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0448-Enable-TPM-TIS-SPI-support-for-TPM1.2-and-TPM2.0-chi.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0449-Add-overlay-for-SLB9760-Iridium-LetsTrust-TPM.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0450-ASoC-add-driver-for-3Dlab-Nano-soundcard-2758.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0451-dtoverlays-fe-pi-audio-fix-sgtl5000-compatible-strin.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0452-bcm2835_smi-re-add-dereference-to-fix-DMA-transfers.patch create mode 100644 target/linux/brcm2708/patches-4.14/950-0454-lan78xx-Debounce-link-events-to-minimize-poll-storm.patch create mode 100644 target/linux/brcm2708/patches-4.14/960-add-rasbperrypi-compatible.patch create mode 100644 target/linux/brcm2708/patches-4.14/961-lan78xx-enable-LED.patch create mode 100644 target/linux/brcm47xx/Makefile create mode 100755 target/linux/brcm47xx/base-files/etc/board.d/01_network create mode 100644 target/linux/brcm47xx/base-files/etc/diag.sh create mode 100755 target/linux/brcm47xx/base-files/etc/init.d/wmacfixup create mode 100644 target/linux/brcm47xx/base-files/etc/uci-defaults/03_network_migration create mode 100644 target/linux/brcm47xx/base-files/etc/uci-defaults/09_fix_crc create mode 100644 target/linux/brcm47xx/base-files/lib/preinit/01_sysinfo create mode 100644 target/linux/brcm47xx/base-files/lib/upgrade/platform.sh create mode 100644 target/linux/brcm47xx/config-4.14 create mode 100644 target/linux/brcm47xx/generic/profiles/100-Broadcom-b43.mk create mode 100644 target/linux/brcm47xx/generic/profiles/101-Broadcom-wl.mk create mode 100644 target/linux/brcm47xx/generic/profiles/104-Broadcom-ath5k.mk create mode 100644 target/linux/brcm47xx/generic/profiles/105-Broadcom-none.mk create mode 100644 target/linux/brcm47xx/generic/profiles/200-Broadcom-b44-b43.mk create mode 100644 target/linux/brcm47xx/generic/profiles/201-Broadcom-b44-wl.mk create mode 100644 target/linux/brcm47xx/generic/profiles/204-Broadcom-b44-ath5k.mk create mode 100644 target/linux/brcm47xx/generic/profiles/205-Broadcom-b44-none.mk create mode 100644 target/linux/brcm47xx/generic/profiles/210-Broadcom-tg3-b43.mk create mode 100644 target/linux/brcm47xx/generic/profiles/211-Broadcom-tg3-wl.mk create mode 100644 target/linux/brcm47xx/generic/profiles/215-Broadcom-tg3-none.mk create mode 100644 target/linux/brcm47xx/generic/profiles/220-Broadcom-bgmac-b43.mk create mode 100644 target/linux/brcm47xx/generic/profiles/221-Broadcom-bgmac-wl.mk create mode 100644 target/linux/brcm47xx/generic/profiles/225-Broadcom-bgmac-none.mk create mode 100644 target/linux/brcm47xx/generic/profiles/226-Broadcom-bgmac-brcsmac.mk create mode 100644 target/linux/brcm47xx/generic/profiles/PS-1208MFG.mk create mode 100644 target/linux/brcm47xx/generic/target.mk create mode 100644 target/linux/brcm47xx/image/Makefile create mode 100644 target/linux/brcm47xx/image/lzma-loader/Makefile create mode 100644 target/linux/brcm47xx/image/lzma-loader/src/LzmaDecode.c create mode 100644 target/linux/brcm47xx/image/lzma-loader/src/LzmaDecode.h create mode 100644 target/linux/brcm47xx/image/lzma-loader/src/Makefile create mode 100644 target/linux/brcm47xx/image/lzma-loader/src/README create mode 100644 target/linux/brcm47xx/image/lzma-loader/src/decompress.c create mode 100644 target/linux/brcm47xx/image/lzma-loader/src/decompress.lds.in create mode 100644 target/linux/brcm47xx/image/lzma-loader/src/head.S create mode 100644 target/linux/brcm47xx/image/lzma-loader/src/loader.lds.in create mode 100644 target/linux/brcm47xx/legacy/config-default create mode 100644 target/linux/brcm47xx/legacy/profiles/100-Broadcom-b43.mk create mode 100644 target/linux/brcm47xx/legacy/profiles/101-Broadcom-wl.mk create mode 100644 target/linux/brcm47xx/legacy/target.mk create mode 100644 target/linux/brcm47xx/mips74k/config-default create mode 100644 target/linux/brcm47xx/mips74k/profiles/100-Broadcom-b43.mk create mode 100644 target/linux/brcm47xx/mips74k/profiles/101-Broadcom-brcsmac.mk create mode 100644 target/linux/brcm47xx/mips74k/profiles/102-Broadcom-wl.mk create mode 100644 target/linux/brcm47xx/mips74k/profiles/103-Broadcom-none.mk create mode 100644 target/linux/brcm47xx/mips74k/target.mk create mode 100644 target/linux/brcm47xx/modules.mk create mode 100644 target/linux/brcm47xx/patches-4.14/031-MIPS-BCM47XX-Add-Luxul-XAP1500-XWR1750-WiFi-LEDs.patch create mode 100644 target/linux/brcm47xx/patches-4.14/032-MIPS-BCM47XX-Add-support-for-Netgear-WNR1000-V3.patch create mode 100644 target/linux/brcm47xx/patches-4.14/033-firmware-bcm47xx_nvram-support-small-0x6000-B-NVRAM-.patch create mode 100644 target/linux/brcm47xx/patches-4.14/035-v5.1-mips-bcm47xx-Enable-USB-power-on-Netgear-WNDR3400v2.patch create mode 100644 target/linux/brcm47xx/patches-4.14/159-cpu_fixes.patch create mode 100644 target/linux/brcm47xx/patches-4.14/160-kmap_coherent.patch create mode 100644 target/linux/brcm47xx/patches-4.14/209-b44-register-adm-switch.patch create mode 100644 target/linux/brcm47xx/patches-4.14/210-b44_phy_fix.patch create mode 100644 target/linux/brcm47xx/patches-4.14/280-activate_ssb_support_in_usb.patch create mode 100644 target/linux/brcm47xx/patches-4.14/300-fork_cacheflush.patch create mode 100644 target/linux/brcm47xx/patches-4.14/310-no_highpage.patch create mode 100644 target/linux/brcm47xx/patches-4.14/320-MIPS-BCM47XX-Devices-database-update-for-4.x.patch create mode 100644 target/linux/brcm47xx/patches-4.14/400-mtd-bcm47xxpart-get-nvram.patch create mode 100644 target/linux/brcm47xx/patches-4.14/610-pci_ide_fix.patch create mode 100644 target/linux/brcm47xx/patches-4.14/791-tg3-no-pci-sleep.patch create mode 100644 target/linux/brcm47xx/patches-4.14/800-bcma-add-table-of-serial-flashes-with-smaller-blocks.patch create mode 100644 target/linux/brcm47xx/patches-4.14/820-wgt634u-nvram-fix.patch create mode 100644 target/linux/brcm47xx/patches-4.14/830-huawei_e970_support.patch create mode 100644 target/linux/brcm47xx/patches-4.14/831-old_gpio_wdt.patch create mode 100644 target/linux/brcm47xx/patches-4.14/900-ssb-reject-PCI-writes-setting-CardBus-bridge-resourc.patch create mode 100644 target/linux/brcm47xx/patches-4.14/901-Revert-bcma-switch-GPIO-portions-to-use-GPIOLIB_IRQC.patch create mode 100644 target/linux/brcm47xx/patches-4.14/940-bcm47xx-yenta.patch create mode 100644 target/linux/brcm47xx/patches-4.14/976-ssb_increase_pci_delay.patch create mode 100644 target/linux/brcm47xx/patches-4.14/999-wl_exports.patch create mode 100644 target/linux/brcm63xx/Makefile create mode 100755 target/linux/brcm63xx/base-files/etc/board.d/01_leds create mode 100755 target/linux/brcm63xx/base-files/etc/board.d/02_network create mode 100644 target/linux/brcm63xx/base-files/etc/diag.sh create mode 100644 target/linux/brcm63xx/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom create mode 100644 target/linux/brcm63xx/base-files/etc/uci-defaults/09_fix_crc create mode 100755 target/linux/brcm63xx/base-files/lib/brcm63xx.sh create mode 100644 target/linux/brcm63xx/base-files/lib/preinit/01_do_brcm63xx.sh create mode 100644 target/linux/brcm63xx/base-files/lib/upgrade/platform.sh create mode 100644 target/linux/brcm63xx/config-4.14 create mode 100644 target/linux/brcm63xx/dts/a226g.dts create mode 100644 target/linux/brcm63xx/dts/a226m-fwb.dts create mode 100644 target/linux/brcm63xx/dts/a226m.dts create mode 100644 target/linux/brcm63xx/dts/a4001n.dts create mode 100644 target/linux/brcm63xx/dts/a4001n1.dts create mode 100644 target/linux/brcm63xx/dts/ad1018-nor.dts create mode 100644 target/linux/brcm63xx/dts/agpf-s0.dts create mode 100644 target/linux/brcm63xx/dts/ar-5315u.dts create mode 100644 target/linux/brcm63xx/dts/ar-5381u.dts create mode 100644 target/linux/brcm63xx/dts/ar-5387un.dts create mode 100644 target/linux/brcm63xx/dts/ar1004g.dts create mode 100644 target/linux/brcm63xx/dts/av4202n.dts create mode 100644 target/linux/brcm63xx/dts/bcm3368.dtsi create mode 100644 target/linux/brcm63xx/dts/bcm6318.dtsi create mode 100644 target/linux/brcm63xx/dts/bcm63268.dtsi create mode 100644 target/linux/brcm63xx/dts/bcm6328.dtsi create mode 100644 target/linux/brcm63xx/dts/bcm6338.dtsi create mode 100644 target/linux/brcm63xx/dts/bcm6345.dtsi create mode 100644 target/linux/brcm63xx/dts/bcm6348.dtsi create mode 100644 target/linux/brcm63xx/dts/bcm6358.dtsi create mode 100644 target/linux/brcm63xx/dts/bcm6362.dtsi create mode 100644 target/linux/brcm63xx/dts/bcm6368.dtsi create mode 100644 target/linux/brcm63xx/dts/bcm96318ref.dts create mode 100644 target/linux/brcm63xx/dts/bcm96318ref_p300.dts create mode 100644 target/linux/brcm63xx/dts/bcm963268bu_p300.dts create mode 100644 target/linux/brcm63xx/dts/bcm963269bhr.dts create mode 100644 target/linux/brcm63xx/dts/bcm963281TAN.dts create mode 100644 target/linux/brcm63xx/dts/bcm96328avng.dts create mode 100644 target/linux/brcm63xx/dts/bcm96338GW.dts create mode 100644 target/linux/brcm63xx/dts/bcm96338W.dts create mode 100644 target/linux/brcm63xx/dts/bcm96345GW2.dts create mode 100644 target/linux/brcm63xx/dts/bcm96348GW-10.dts create mode 100644 target/linux/brcm63xx/dts/bcm96348GW-11.dts create mode 100644 target/linux/brcm63xx/dts/bcm96348GW.dts create mode 100644 target/linux/brcm63xx/dts/bcm96348R.dts create mode 100644 target/linux/brcm63xx/dts/bcm96358VW.dts create mode 100644 target/linux/brcm63xx/dts/bcm96358VW2.dts create mode 100644 target/linux/brcm63xx/dts/bcm96368MVNgr.dts create mode 100644 target/linux/brcm63xx/dts/bcm96368MVWG.dts create mode 100644 target/linux/brcm63xx/dts/cpva502plus.dts create mode 100644 target/linux/brcm63xx/dts/cpva642.dts create mode 100644 target/linux/brcm63xx/dts/ct-5365.dts create mode 100644 target/linux/brcm63xx/dts/ct-6373.dts create mode 100644 target/linux/brcm63xx/dts/ct536plus.dts create mode 100644 target/linux/brcm63xx/dts/cvg834g.dts create mode 100644 target/linux/brcm63xx/dts/dg834g_v4.dts create mode 100644 target/linux/brcm63xx/dts/dg834gtpn.dts create mode 100644 target/linux/brcm63xx/dts/dgnd3700v1.dts create mode 100644 target/linux/brcm63xx/dts/dsl-2640b-b.dts create mode 100644 target/linux/brcm63xx/dts/dsl-2640u.dts create mode 100644 target/linux/brcm63xx/dts/dsl-2650u.dts create mode 100644 target/linux/brcm63xx/dts/dsl-274xb-c.dts create mode 100644 target/linux/brcm63xx/dts/dsl-274xb-f.dts create mode 100644 target/linux/brcm63xx/dts/dsl-275xb-d.dts create mode 100644 target/linux/brcm63xx/dts/dv-201amr.dts create mode 100644 target/linux/brcm63xx/dts/dva-g3810bn_tl.dts create mode 100644 target/linux/brcm63xx/dts/evg2000.dts create mode 100644 target/linux/brcm63xx/dts/f5d7633.dts create mode 100644 target/linux/brcm63xx/dts/fast2404.dts create mode 100644 target/linux/brcm63xx/dts/fast2504n.dts create mode 100644 target/linux/brcm63xx/dts/fast2604.dts create mode 100644 target/linux/brcm63xx/dts/fast2704n.dts create mode 100644 target/linux/brcm63xx/dts/fast2704v2.dts create mode 100644 target/linux/brcm63xx/dts/gw6000.dts create mode 100644 target/linux/brcm63xx/dts/gw6200.dts create mode 100644 target/linux/brcm63xx/dts/hg520v.dts create mode 100644 target/linux/brcm63xx/dts/hg553.dts create mode 100644 target/linux/brcm63xx/dts/hg556a-a.dts create mode 100644 target/linux/brcm63xx/dts/hg556a-b.dts create mode 100644 target/linux/brcm63xx/dts/hg556a-c.dts create mode 100644 target/linux/brcm63xx/dts/hg622.dts create mode 100644 target/linux/brcm63xx/dts/hg655b.dts create mode 100644 target/linux/brcm63xx/dts/homehub2a.dts create mode 100644 target/linux/brcm63xx/dts/livebox-blue-5g.dts create mode 100644 target/linux/brcm63xx/dts/magic.dts create mode 100644 target/linux/brcm63xx/dts/nb4-fxc-r1.dts create mode 100644 target/linux/brcm63xx/dts/nb4-ser-r0.dts create mode 100644 target/linux/brcm63xx/dts/nb6-ser-r0.dts create mode 100644 target/linux/brcm63xx/dts/p870hw-51a-v2.dts create mode 100644 target/linux/brcm63xx/dts/r1000h.dts create mode 100644 target/linux/brcm63xx/dts/r5010unv2.dts create mode 100644 target/linux/brcm63xx/dts/rg100a.dts create mode 100644 target/linux/brcm63xx/dts/rta1025w.dts create mode 100644 target/linux/brcm63xx/dts/rta1320.dts create mode 100644 target/linux/brcm63xx/dts/rta770bw.dts create mode 100644 target/linux/brcm63xx/dts/rta770w.dts create mode 100644 target/linux/brcm63xx/dts/spw303v.dts create mode 100644 target/linux/brcm63xx/dts/spw500v.dts create mode 100644 target/linux/brcm63xx/dts/sr102.dts create mode 100644 target/linux/brcm63xx/dts/td-w8900gb.dts create mode 100644 target/linux/brcm63xx/dts/usr9108.dts create mode 100644 target/linux/brcm63xx/dts/v2110.dts create mode 100644 target/linux/brcm63xx/dts/v2500v-bb.dts create mode 100644 target/linux/brcm63xx/dts/vg50.dts create mode 100644 target/linux/brcm63xx/dts/vh4032n.dts create mode 100644 target/linux/brcm63xx/dts/vr-3025u.dts create mode 100644 target/linux/brcm63xx/dts/vr-3025un.dts create mode 100644 target/linux/brcm63xx/dts/vr-3026e.dts create mode 100644 target/linux/brcm63xx/dts/wap-5813n.dts create mode 100644 target/linux/brcm63xx/generic/target.mk create mode 100644 target/linux/brcm63xx/image/Makefile create mode 100644 target/linux/brcm63xx/image/README.images-bcm63xx create mode 100644 target/linux/brcm63xx/image/bcm63xx.mk create mode 100644 target/linux/brcm63xx/image/lzma-loader/Makefile create mode 100644 target/linux/brcm63xx/image/lzma-loader/src/LzmaDecode.c create mode 100644 target/linux/brcm63xx/image/lzma-loader/src/LzmaDecode.h create mode 100644 target/linux/brcm63xx/image/lzma-loader/src/LzmaTypes.h create mode 100644 target/linux/brcm63xx/image/lzma-loader/src/Makefile create mode 100644 target/linux/brcm63xx/image/lzma-loader/src/board.c create mode 100644 target/linux/brcm63xx/image/lzma-loader/src/cache.c create mode 100644 target/linux/brcm63xx/image/lzma-loader/src/cache.h create mode 100644 target/linux/brcm63xx/image/lzma-loader/src/cacheops.h create mode 100644 target/linux/brcm63xx/image/lzma-loader/src/config.h create mode 100644 target/linux/brcm63xx/image/lzma-loader/src/cp0regdef.h create mode 100644 target/linux/brcm63xx/image/lzma-loader/src/head.S create mode 100644 target/linux/brcm63xx/image/lzma-loader/src/loader.c create mode 100644 target/linux/brcm63xx/image/lzma-loader/src/loader.lds create mode 100644 target/linux/brcm63xx/image/lzma-loader/src/loader2.lds create mode 100644 target/linux/brcm63xx/image/lzma-loader/src/lzma-data.lds create mode 100644 target/linux/brcm63xx/image/lzma-loader/src/printf.c create mode 100644 target/linux/brcm63xx/image/lzma-loader/src/printf.h create mode 100644 target/linux/brcm63xx/modules.mk create mode 100644 target/linux/brcm63xx/patches-4.14/001-4.15-01-MIPS-BCM63XX-add-clkdev-lookup-support.patch create mode 100644 target/linux/brcm63xx/patches-4.14/001-4.15-02-MIPS-BCM63XX-provide-periph-clock-as-refclk-for-uart.patch create mode 100644 target/linux/brcm63xx/patches-4.14/001-4.15-03-tty-bcm63xx_uart-use-refclk-for-the-expected-clock-n.patch create mode 100644 target/linux/brcm63xx/patches-4.14/001-4.15-04-tty-bcm63xx_uart-allow-naming-clock-in-device-tree.patch create mode 100644 target/linux/brcm63xx/patches-4.14/001-4.15-05-MIPS-BCM63XX-move-the-HSSPI-PLL-HZ-into-its-own-cloc.patch create mode 100644 target/linux/brcm63xx/patches-4.14/001-4.15-06-MIPS-BCM63XX-provide-enet-clocks-as-enet-to-the-ethe.patch create mode 100644 target/linux/brcm63xx/patches-4.14/001-4.15-07-MIPS-BCM63XX-split-out-swpkt_sar-usb-clocks.patch create mode 100644 target/linux/brcm63xx/patches-4.14/001-4.15-10-bcm63xx_enet-do-not-rely-on-probe-order.patch create mode 100644 target/linux/brcm63xx/patches-4.14/001-4.15-11-bcm63xx_enet-use-managed-functions-for-clock-ioremap.patch create mode 100644 target/linux/brcm63xx/patches-4.14/001-4.15-12-bcm63xx_enet-drop-unneeded-NULL-phy_clk-check.patch create mode 100644 target/linux/brcm63xx/patches-4.14/001-4.15-13-bcm63xx_enet-remove-unneeded-include.patch create mode 100644 target/linux/brcm63xx/patches-4.14/001-4.16-01-bcm63xx_enet-just-use-enet-as-the-clock-name.patch create mode 100644 target/linux/brcm63xx/patches-4.14/001-4.16-02-bcm63xx_enet-use-platform-data-for-dma-channel-numbe.patch create mode 100644 target/linux/brcm63xx/patches-4.14/001-4.16-03-bcm63xx_enet-remove-pointless-mac_id-check.patch create mode 100644 target/linux/brcm63xx/patches-4.14/001-4.16-04-bcm63xx_enet-use-platform-device-id-directly-for-mii.patch create mode 100644 target/linux/brcm63xx/patches-4.14/100-MIPS-BCM63XX-add-USB-host-clock-enable-delay.patch create mode 100644 target/linux/brcm63xx/patches-4.14/101-MIPS-BCM63XX-add-USB-device-clock-enable-delay-to-cl.patch create mode 100644 target/linux/brcm63xx/patches-4.14/102-MIPS-BCM63XX-move-code-touching-the-USB-private-regi.patch create mode 100644 target/linux/brcm63xx/patches-4.14/103-MIPS-BCM63XX-add-OHCI-EHCI-configuration-bits-to-com.patch create mode 100644 target/linux/brcm63xx/patches-4.14/104-MIPS-BCM63XX-introduce-BCM63XX_OHCI-configuration-sy.patch create mode 100644 target/linux/brcm63xx/patches-4.14/105-MIPS-BCM63XX-add-support-for-the-on-chip-OHCI-contro.patch create mode 100644 target/linux/brcm63xx/patches-4.14/106-MIPS-BCM63XX-register-OHCI-controller-if-board-enabl.patch create mode 100644 target/linux/brcm63xx/patches-4.14/107-MIPS-BCM63XX-introduce-BCM63XX_EHCI-configuration-sy.patch create mode 100644 target/linux/brcm63xx/patches-4.14/108-MIPS-BCM63XX-add-support-for-the-on-chip-EHCI-contro.patch create mode 100644 target/linux/brcm63xx/patches-4.14/109-MIPS-BCM63XX-register-EHCI-controller-if-board-enabl.patch create mode 100644 target/linux/brcm63xx/patches-4.14/110-MIPS-BCM63XX-EHCI-controller-does-not-support-overcu.patch create mode 100644 target/linux/brcm63xx/patches-4.14/121-mtd-bcm63xxpart-move-imagetag-parsing-to-its-own-par.patch create mode 100644 target/linux/brcm63xx/patches-4.14/122-mtd-bcm63xxpart-add-of_match_table.patch create mode 100644 target/linux/brcm63xx/patches-4.14/123-mtd-parser_bcm63xx_imagetag-add-of_match_table-suppo.patch create mode 100644 target/linux/brcm63xx/patches-4.14/130-pinctrl-add-bcm63xx-base-code.patch create mode 100644 target/linux/brcm63xx/patches-4.14/131-Documentation-add-BCM6328-pincontroller-binding-docu.patch create mode 100644 target/linux/brcm63xx/patches-4.14/132-pinctrl-add-a-pincontrol-driver-for-BCM6328.patch create mode 100644 target/linux/brcm63xx/patches-4.14/133-Documentation-add-BCM6348-pincontroller-binding-docu.patch create mode 100644 target/linux/brcm63xx/patches-4.14/134-pinctrl-add-a-pincontrol-driver-for-BCM6348.patch create mode 100644 target/linux/brcm63xx/patches-4.14/135-Documentation-add-BCM6358-pincontroller-binding-docu.patch create mode 100644 target/linux/brcm63xx/patches-4.14/136-pinctrl-add-a-pincontrol-driver-for-BCM6358.patch create mode 100644 target/linux/brcm63xx/patches-4.14/137-Documentation-add-BCM6362-pincontroller-binding-docu.patch create mode 100644 target/linux/brcm63xx/patches-4.14/138-pinctrl-add-a-pincontrol-driver-for-BCM6362.patch create mode 100644 target/linux/brcm63xx/patches-4.14/139-Documentation-add-BCM6368-pincontroller-binding-docu.patch create mode 100644 target/linux/brcm63xx/patches-4.14/140-pinctrl-add-a-pincontrol-driver-for-BCM6368.patch create mode 100644 target/linux/brcm63xx/patches-4.14/141-Documentation-add-BCM63268-pincontroller-binding-doc.patch create mode 100644 target/linux/brcm63xx/patches-4.14/142-pinctrl-add-a-pincontrol-driver-for-BCM63268.patch create mode 100644 target/linux/brcm63xx/patches-4.14/143-gpio-fix-device-tree-gpio-hogs-on-dual-role-gpio-pin.patch create mode 100644 target/linux/brcm63xx/patches-4.14/145-pinctrl-BCM6362-fix-gpio-mode.patch create mode 100644 target/linux/brcm63xx/patches-4.14/206-USB-EHCI-allow-limiting-ports-for-ehci-platform.patch create mode 100644 target/linux/brcm63xx/patches-4.14/207-MIPS-BCM63XX-move-device-registration-code-into-its-.patch create mode 100644 target/linux/brcm63xx/patches-4.14/208-MIPS-BCM63XX-pass-a-mac-addresss-allocator-to-board-.patch create mode 100644 target/linux/brcm63xx/patches-4.14/309-cfe_version_mod.patch create mode 100644 target/linux/brcm63xx/patches-4.14/310-cfe_simplify_detection.patch create mode 100644 target/linux/brcm63xx/patches-4.14/311-bcm63xxpart_use_cfedetection.patch create mode 100644 target/linux/brcm63xx/patches-4.14/320-irqchip-add-support-for-bcm6345-style-periphery-irq-.patch create mode 100644 target/linux/brcm63xx/patches-4.14/321-irqchip-add-support-for-bcm6345-style-external-inter.patch create mode 100644 target/linux/brcm63xx/patches-4.14/322-MIPS-BCM63XX-switch-to-IRQ_DOMAIN.patch create mode 100644 target/linux/brcm63xx/patches-4.14/323-MIPS-BCM63XX-wire-up-BCM6358-s-external-interrupts-4.patch create mode 100644 target/linux/brcm63xx/patches-4.14/324-irqchip-bcm6345-periph-fix-block-uninitialized.patch create mode 100644 target/linux/brcm63xx/patches-4.14/325-irqchip-bcm6345-external-fix-base-uninitialized.patch create mode 100644 target/linux/brcm63xx/patches-4.14/326-irqchip-bcm6345-report-eff-affinity.patch create mode 100644 target/linux/brcm63xx/patches-4.14/327-irqchip-bcm6345-periph-clear-on-init.patch create mode 100644 target/linux/brcm63xx/patches-4.14/330-MIPS-BCM63XX-add-a-new-cpu-variant-helper.patch create mode 100644 target/linux/brcm63xx/patches-4.14/331-MIPS-BCM63XX-define-variant-id-field.patch create mode 100644 target/linux/brcm63xx/patches-4.14/332-MIPS-BCM63XX-detect-BCM6328-variants.patch create mode 100644 target/linux/brcm63xx/patches-4.14/333-MIPS-BCM63XX-detect-BCM6362-variants.patch create mode 100644 target/linux/brcm63xx/patches-4.14/334-MIPS-BCM63XX-detect-BCM6368-variants.patch create mode 100644 target/linux/brcm63xx/patches-4.14/335-MIPS-BCM63XX-fix-PCIe-memory-window-size.patch create mode 100644 target/linux/brcm63xx/patches-4.14/336-MIPS-BCM63XX-dynamically-set-the-pcie-memory-windows.patch create mode 100644 target/linux/brcm63xx/patches-4.14/337-MIPS-BCM63XX-widen-cpuid-field.patch create mode 100644 target/linux/brcm63xx/patches-4.14/338-MIPS-BCM63XX-increase-number-of-IRQs.patch create mode 100644 target/linux/brcm63xx/patches-4.14/339-MIPS-BCM63XX-add-support-for-BCM63268.patch create mode 100644 target/linux/brcm63xx/patches-4.14/340-MIPS-BCM63XX-add-pcie-support-for-BCM63268.patch create mode 100644 target/linux/brcm63xx/patches-4.14/341-MIPS-BCM63XX-add-support-for-BCM6318.patch create mode 100644 target/linux/brcm63xx/patches-4.14/342-MIPS-BCM63XX-split-PCIe-reset-signals.patch create mode 100644 target/linux/brcm63xx/patches-4.14/343-MIPS-BCM63XX-add-PCIe-support-for-BCM6318.patch create mode 100644 target/linux/brcm63xx/patches-4.14/344-MIPS-BCM63XX-detect-flash-type-early-and-store-the-r.patch create mode 100644 target/linux/brcm63xx/patches-4.14/345-MIPS-BCM63XX-fixup-mapped-SPI-flash-access-on-boot.patch create mode 100644 target/linux/brcm63xx/patches-4.14/346-MIPS-BCM63XX-USB-ENETSW-6318-clocks.patch create mode 100644 target/linux/brcm63xx/patches-4.14/347-MIPS-BCM6318-USB-support.patch create mode 100644 target/linux/brcm63xx/patches-4.14/348-MIPS-BCM63XX-fix-BCM63268-USB-clock.patch create mode 100644 target/linux/brcm63xx/patches-4.14/349-MIPS-BCM63XX-add-BCM63268-USB-support.patch create mode 100644 target/linux/brcm63xx/patches-4.14/350-MIPS-BCM63XX-support-settings-num-usbh-ports.patch create mode 100644 target/linux/brcm63xx/patches-4.14/351-set-board-usbh-ports.patch create mode 100644 target/linux/brcm63xx/patches-4.14/354-MIPS-BCM63XX-allow-building-support-for-more-than-on.patch create mode 100644 target/linux/brcm63xx/patches-4.14/355-MIPS-BCM63XX-allow-board-implementations-to-force-fl.patch create mode 100644 target/linux/brcm63xx/patches-4.14/356-MIPS-BCM63XX-move-fallback-sprom-support-into-its-ow.patch create mode 100644 target/linux/brcm63xx/patches-4.14/357-MIPS-BCM63XX-use-platform-data-for-the-sprom.patch create mode 100644 target/linux/brcm63xx/patches-4.14/358-MIPS-BCM63XX-make-fallback-sprom-optional.patch create mode 100644 target/linux/brcm63xx/patches-4.14/359-MIPS-BCM63XX-allow-different-types-of-sprom.patch create mode 100644 target/linux/brcm63xx/patches-4.14/360-MIPS-BCM63XX-add-support-for-raw-sproms.patch create mode 100644 target/linux/brcm63xx/patches-4.14/361-MIPS-BCM63XX-add-raw-fallback-sproms-for-most-common.patch create mode 100644 target/linux/brcm63xx/patches-4.14/362-MIPS-BCM63XX-also-register-a-fallback-sprom-for-bcma.patch create mode 100644 target/linux/brcm63xx/patches-4.14/363-MIPS-BCM63XX-add-BCMA-based-sprom-templates.patch create mode 100644 target/linux/brcm63xx/patches-4.14/364-MIPS-BCM63XX-allow-board-files-to-provide-sprom-fixu.patch create mode 100644 target/linux/brcm63xx/patches-4.14/365-MIPS-BCM63XX-allow-setting-a-pci-bus-device-for-fall.patch create mode 100644 target/linux/brcm63xx/patches-4.14/366-MIPS-BCM63XX-fallback-sprom-override-devid.patch create mode 100644 target/linux/brcm63xx/patches-4.14/367-MIPS-BCM63XX-add-support-for-loading-DTB.patch create mode 100644 target/linux/brcm63xx/patches-4.14/368-MIPS-BCM63XX-add-support-for-matching-the-board_info.patch create mode 100644 target/linux/brcm63xx/patches-4.14/369-MIPS-BCM63XX-populate-the-compatible-to-board_info-l.patch create mode 100644 target/linux/brcm63xx/patches-4.14/371_add_of_node_available_by_alias.patch create mode 100644 target/linux/brcm63xx/patches-4.14/372_dont_register_pflash_when_available_in_dtb.patch create mode 100644 target/linux/brcm63xx/patches-4.14/373-MIPS-BCM63XX-register-interrupt-controllers-through-.patch create mode 100644 target/linux/brcm63xx/patches-4.14/374-gpio-add-a-simple-GPIO-driver-for-bcm63xx.patch create mode 100644 target/linux/brcm63xx/patches-4.14/375-MIPS-BCM63XX-switch-to-new-gpio-driver.patch create mode 100644 target/linux/brcm63xx/patches-4.14/377-MIPS-BCM63XX-register-lookup-for-ephy-reset-gpio.patch create mode 100644 target/linux/brcm63xx/patches-4.14/378-MIPS-BCM63XX-do-not-register-gpio-controller-if-pres.patch create mode 100644 target/linux/brcm63xx/patches-4.14/379-MIPS-BCM63XX-provide-a-gpio-lookup-for-the-pcmcia-re.patch create mode 100644 target/linux/brcm63xx/patches-4.14/380-pcmcia-bcm63xx_pmcia-use-the-new-named-gpio.patch create mode 100644 target/linux/brcm63xx/patches-4.14/381-Documentation-add-BCM6318-pincontroller-binding-docu.patch create mode 100644 target/linux/brcm63xx/patches-4.14/382-pinctrl-add-a-pincontrol-driver-for-BCM6318.patch create mode 100644 target/linux/brcm63xx/patches-4.14/383-bcm63xx_select_pinctrl.patch create mode 100644 target/linux/brcm63xx/patches-4.14/389-MIPS-BCM63XX-add-clkdev-lookups-for-device-tree.patch create mode 100644 target/linux/brcm63xx/patches-4.14/390-MIPS-BCM63XX-do-not-register-SPI-controllers.patch create mode 100644 target/linux/brcm63xx/patches-4.14/391-MIPS-BCM63XX-do-not-register-uart.patch create mode 100644 target/linux/brcm63xx/patches-4.14/392-MIPS-BCM63XX-remove-leds-and-buttons.patch create mode 100644 target/linux/brcm63xx/patches-4.14/400-bcm963xx_flashmap.patch create mode 100644 target/linux/brcm63xx/patches-4.14/401-bcm963xx_real_rootfs_length.patch create mode 100644 target/linux/brcm63xx/patches-4.14/402_bcm63xx_enet_vlan_incoming_fixed.patch create mode 100644 target/linux/brcm63xx/patches-4.14/403-6358-enet1-external-mii-clk.patch create mode 100644 target/linux/brcm63xx/patches-4.14/404-NET-bcm63xx_enet-move-phy_-dis-connect-into-probe-re.patch create mode 100644 target/linux/brcm63xx/patches-4.14/408-bcm63xx_enet-enable-rgmii-clock-on-external-ports.patch create mode 100644 target/linux/brcm63xx/patches-4.14/411-MIPS-BCM63XX-Register-SPI-flash-if-present.patch create mode 100644 target/linux/brcm63xx/patches-4.14/413-BCM63XX-allow-providing-fixup-data-in-board-data.patch create mode 100644 target/linux/brcm63xx/patches-4.14/415-MIPS-BCM63XX-export-the-attached-flash-type.patch create mode 100644 target/linux/brcm63xx/patches-4.14/416-BCM63XX-add-a-fixup-for-ath9k-devices.patch create mode 100644 target/linux/brcm63xx/patches-4.14/420-BCM63XX-add-endian-check-for-ath9k.patch create mode 100644 target/linux/brcm63xx/patches-4.14/421-BCM63XX-add-led-pin-for-ath9k.patch create mode 100644 target/linux/brcm63xx/patches-4.14/422-BCM63XX-add-a-fixup-for-rt2x00-devices.patch create mode 100644 target/linux/brcm63xx/patches-4.14/423-bcm63xx_enet_add_b53_support.patch create mode 100644 target/linux/brcm63xx/patches-4.14/424-bcm63xx_enet_no_request_mem_region.patch create mode 100644 target/linux/brcm63xx/patches-4.14/427-boards_probe_switch.patch create mode 100644 target/linux/brcm63xx/patches-4.14/499-allow_better_context_for_board_patches.patch create mode 100644 target/linux/brcm63xx/patches-4.14/500-board-D4PW.patch create mode 100644 target/linux/brcm63xx/patches-4.14/501-board-NB4.patch create mode 100644 target/linux/brcm63xx/patches-4.14/502-board-96338W2_E7T.patch create mode 100644 target/linux/brcm63xx/patches-4.14/503-board-CPVA642.patch create mode 100644 target/linux/brcm63xx/patches-4.14/504-board_dsl_274xb_rev_c.patch create mode 100644 target/linux/brcm63xx/patches-4.14/505-board_spw500v.patch create mode 100644 target/linux/brcm63xx/patches-4.14/506-board_gw6200_gw6000.patch create mode 100644 target/linux/brcm63xx/patches-4.14/507-board-MAGIC.patch create mode 100644 target/linux/brcm63xx/patches-4.14/508-board_hw553.patch create mode 100644 target/linux/brcm63xx/patches-4.14/509-board_rta1320_16m.patch create mode 100644 target/linux/brcm63xx/patches-4.14/510-board_spw303v.patch create mode 100644 target/linux/brcm63xx/patches-4.14/511-board_V2500V.patch create mode 100644 target/linux/brcm63xx/patches-4.14/512-board_BTV2110.patch create mode 100644 target/linux/brcm63xx/patches-4.14/513-MIPS-BCM63XX-add-inventel-Livebox-support.patch create mode 100644 target/linux/brcm63xx/patches-4.14/514-board_ct536_ct5621.patch create mode 100644 target/linux/brcm63xx/patches-4.14/515-board_DWV-S0_fixes.patch create mode 100644 target/linux/brcm63xx/patches-4.14/516-board_96348A-122.patch create mode 100644 target/linux/brcm63xx/patches-4.14/519_board_CPVA502plus.patch create mode 100644 target/linux/brcm63xx/patches-4.14/520-bcm63xx-add-support-for-96368MVWG-board.patch create mode 100644 target/linux/brcm63xx/patches-4.14/521-bcm63xx-add-support-for-96368MVNgr-board.patch create mode 100644 target/linux/brcm63xx/patches-4.14/522-MIPS-BCM63XX-add-96328avng-reference-board.patch create mode 100644 target/linux/brcm63xx/patches-4.14/523-MIPS-BCM63XX-add-963281TAN-reference-board.patch create mode 100644 target/linux/brcm63xx/patches-4.14/524-board_dsl_274xb_rev_f.patch create mode 100644 target/linux/brcm63xx/patches-4.14/525-board_96348w3.patch create mode 100644 target/linux/brcm63xx/patches-4.14/526-board_CT6373-1.patch create mode 100644 target/linux/brcm63xx/patches-4.14/527-board_dva-g3810bn-tl-1.patch create mode 100644 target/linux/brcm63xx/patches-4.14/528-board_nb6.patch create mode 100644 target/linux/brcm63xx/patches-4.14/529-board_fast2604.patch create mode 100644 target/linux/brcm63xx/patches-4.14/530-board_A4001N1.patch create mode 100644 target/linux/brcm63xx/patches-4.14/531-board_AR-5387un.patch create mode 100644 target/linux/brcm63xx/patches-4.14/532-board_AR-5381u.patch create mode 100644 target/linux/brcm63xx/patches-4.14/533-board_rta770bw.patch create mode 100644 target/linux/brcm63xx/patches-4.14/534-board_hw556.patch create mode 100644 target/linux/brcm63xx/patches-4.14/535-board_rta770w.patch create mode 100644 target/linux/brcm63xx/patches-4.14/536-board_fast2704.patch create mode 100644 target/linux/brcm63xx/patches-4.14/537-board_fast2504n.patch create mode 100644 target/linux/brcm63xx/patches-4.14/555-board_96318ref.patch create mode 100644 target/linux/brcm63xx/patches-4.14/556-board_96318ref_p300.patch create mode 100644 target/linux/brcm63xx/patches-4.14/557-board_bcm963269bhr.patch create mode 100644 target/linux/brcm63xx/patches-4.14/558-board_AR1004G.patch create mode 100644 target/linux/brcm63xx/patches-4.14/559-board_vw6339gu.patch create mode 100644 target/linux/brcm63xx/patches-4.14/560-board_963268gu_p300.patch create mode 100644 target/linux/brcm63xx/patches-4.14/561-board_WAP-5813n.patch create mode 100644 target/linux/brcm63xx/patches-4.14/562-board_VR-3025u.patch create mode 100644 target/linux/brcm63xx/patches-4.14/563-board_VR-3025un.patch create mode 100644 target/linux/brcm63xx/patches-4.14/564-board_P870HW-51a_v2.patch create mode 100644 target/linux/brcm63xx/patches-4.14/565-board_hw520.patch create mode 100644 target/linux/brcm63xx/patches-4.14/566-board_A4001N.patch create mode 100644 target/linux/brcm63xx/patches-4.14/567-board_dsl-2751b_e1.patch create mode 100644 target/linux/brcm63xx/patches-4.14/568-board_DGND3700v1_3800B.patch create mode 100644 target/linux/brcm63xx/patches-4.14/569-board_homehub2a.patch create mode 100644 target/linux/brcm63xx/patches-4.14/570-board_HG655b.patch create mode 100644 target/linux/brcm63xx/patches-4.14/571-board_fast2704n.patch create mode 100644 target/linux/brcm63xx/patches-4.14/572-board_VR-3026e.patch create mode 100644 target/linux/brcm63xx/patches-4.14/573-board_R5010UNv2.patch create mode 100644 target/linux/brcm63xx/patches-4.14/574-board_HG622.patch create mode 100644 target/linux/brcm63xx/patches-4.14/575-board_EVG2000.patch create mode 100644 target/linux/brcm63xx/patches-4.14/576-board_AV4202N.patch create mode 100644 target/linux/brcm63xx/patches-4.14/577-board_VH4032N.patch create mode 100644 target/linux/brcm63xx/patches-4.14/578-board_R1000H.patch create mode 100644 target/linux/brcm63xx/patches-4.14/579-board_AR-5315u.patch create mode 100644 target/linux/brcm63xx/patches-4.14/580-board_AD1018.patch create mode 100644 target/linux/brcm63xx/patches-4.14/598-board_sr102.patch create mode 100644 target/linux/brcm63xx/patches-4.14/800-wl_exports.patch create mode 100644 target/linux/brcm63xx/patches-4.14/801-ssb_export_fallback_sprom.patch create mode 100644 target/linux/brcm63xx/patches-4.14/802-rtl8367r_fix_RGMII_support.patch create mode 100644 target/linux/brcm63xx/patches-4.14/803-jffs2-work-around-unaligned-accesses-failing-on-bcm6.patch create mode 100644 target/linux/brcm63xx/patches-4.14/804-bcm63xx_enet_63268_rgmii_ports.patch create mode 100644 target/linux/brcm63xx/profiles/default.mk create mode 100644 target/linux/brcm63xx/smp/config-default create mode 100644 target/linux/brcm63xx/smp/target.mk create mode 100644 target/linux/cns3xxx/Makefile create mode 100755 target/linux/cns3xxx/base-files/etc/init.d/netdev-cpu create mode 100644 target/linux/cns3xxx/base-files/lib/cns3xxx.sh create mode 100644 target/linux/cns3xxx/base-files/lib/preinit/01_sysinfo create mode 100644 target/linux/cns3xxx/base-files/lib/upgrade/platform.sh create mode 100644 target/linux/cns3xxx/config-4.14 create mode 100644 target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/cns3xxx_fiq.S create mode 100644 target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/gpio.c create mode 100644 target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/headsmp.S create mode 100644 target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/hotplug.c create mode 100644 target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/include/mach/gpio.h create mode 100644 target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/include/mach/smp.h create mode 100644 target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/laguna.c create mode 100644 target/linux/cns3xxx/files/arch/arm/mach-cns3xxx/platsmp.c create mode 100644 target/linux/cns3xxx/files/drivers/i2c/busses/i2c-cns3xxx.c create mode 100644 target/linux/cns3xxx/files/drivers/net/ethernet/cavium/Kconfig create mode 100644 target/linux/cns3xxx/files/drivers/net/ethernet/cavium/Makefile create mode 100644 target/linux/cns3xxx/files/drivers/net/ethernet/cavium/cns3xxx_eth.c create mode 100644 target/linux/cns3xxx/files/drivers/spi/spi-cns3xxx.c create mode 100644 target/linux/cns3xxx/files/include/linux/platform_data/cns3xxx.h create mode 100644 target/linux/cns3xxx/image/Makefile create mode 100644 target/linux/cns3xxx/patches-4.14/000-cns3xxx_arch_include.patch create mode 100644 target/linux/cns3xxx/patches-4.14/001-arm_openwrt_machtypes.patch create mode 100644 target/linux/cns3xxx/patches-4.14/010-arm_introduce-dma-fiq-irq-broadcast.patch create mode 100644 target/linux/cns3xxx/patches-4.14/020-watchdog_support.patch create mode 100644 target/linux/cns3xxx/patches-4.14/025-smp_support.patch create mode 100644 target/linux/cns3xxx/patches-4.14/030-pcie_clock.patch create mode 100644 target/linux/cns3xxx/patches-4.14/040-fiq_support.patch create mode 100644 target/linux/cns3xxx/patches-4.14/045-twd_base.patch create mode 100644 target/linux/cns3xxx/patches-4.14/055-pcie_io.patch create mode 100644 target/linux/cns3xxx/patches-4.14/060-pcie_abort.patch create mode 100644 target/linux/cns3xxx/patches-4.14/065-pcie_skip_inactive.patch create mode 100644 target/linux/cns3xxx/patches-4.14/070-i2c_support.patch create mode 100644 target/linux/cns3xxx/patches-4.14/075-spi_support.patch create mode 100644 target/linux/cns3xxx/patches-4.14/080-sata_support.patch create mode 100644 target/linux/cns3xxx/patches-4.14/090-timers.patch create mode 100644 target/linux/cns3xxx/patches-4.14/093-add-virt-pci-io-mapping.patch create mode 100644 target/linux/cns3xxx/patches-4.14/095-gpio_support.patch create mode 100644 target/linux/cns3xxx/patches-4.14/097-l2x0_cmdline_disable.patch create mode 100644 target/linux/cns3xxx/patches-4.14/100-laguna_support.patch create mode 100644 target/linux/cns3xxx/patches-4.14/101-laguna_sdhci_card_detect.patch create mode 100644 target/linux/cns3xxx/patches-4.14/110-pci_isolated_interrupts.patch create mode 100644 target/linux/cns3xxx/patches-4.14/130-Extend-PCIE_BUS_PEER2PEER-to-set-MRSS-128-to-fix-CNS3xxx-BM-DMA..patch create mode 100644 target/linux/cns3xxx/patches-4.14/200-broadcom_phy_reinit.patch create mode 100644 target/linux/cns3xxx/patches-4.14/210-dwc2_defaults.patch create mode 100644 target/linux/gemini/Makefile create mode 100644 target/linux/gemini/base-files/etc/uci-defaults/09_fix-checksum create mode 100644 target/linux/gemini/base-files/lib/preinit/05_set_ether_mac_gemini create mode 100644 target/linux/gemini/base-files/lib/upgrade/platform.sh create mode 100644 target/linux/gemini/config-4.14 create mode 100644 target/linux/gemini/image/ImageInfo-itian_sq201 create mode 100644 target/linux/gemini/image/ImageInfo-raidsonic_ib-4220-b create mode 100644 target/linux/gemini/image/Makefile create mode 100755 target/linux/gemini/image/dns313_gen_hdd_img.sh create mode 100644 target/linux/gemini/patches-4.14/0001-cache-patch-from-OpenWRT.patch create mode 100644 target/linux/gemini/patches-4.14/0002-pinctrl-gemini-Add-missing-functions.patch create mode 100644 target/linux/gemini/patches-4.14/0003-ARM-dts-Add-TVE200-to-the-Gemini-SoC-DTSI.patch create mode 100644 target/linux/gemini/patches-4.14/0004-pinctrl-Add-skew-delay-pin-config-and-bindings.patch create mode 100644 target/linux/gemini/patches-4.14/0005-pinctrl-gemini-Use-generic-DT-parser.patch create mode 100644 target/linux/gemini/patches-4.14/0006-pinctrl-gemini-Implement-clock-skew-delay-config.patch create mode 100644 target/linux/gemini/patches-4.14/0007-pinctrl-gemini-Fix-GMAC-groups.patch create mode 100644 target/linux/gemini/patches-4.14/0008-pinctrl-gemini-Fix-missing-pad-descriptions.patch create mode 100644 target/linux/gemini/patches-4.14/0009-pinctrl-gemini-Add-two-missing-GPIO-groups.patch create mode 100644 target/linux/gemini/patches-4.14/0010-pinctrl-gemini-Fix-usage-of-3512-groups.patch create mode 100644 target/linux/gemini/patches-4.14/0011-pinctrl-gemini-Support-drive-strength-setting.patch create mode 100644 target/linux/gemini/patches-4.14/0012-ARM-dts-Add-ethernet-PHYs-to-the-a-bunch-of-Geminis.patch create mode 100644 target/linux/gemini/patches-4.14/0013-ARM-dts-Add-basic-devicetree-for-D-Link-DNS-313.patch create mode 100644 target/linux/gemini/patches-4.14/0014-ARM-dts-Flags-D-Link-DIR-685-I2C-bus-gpios.patch create mode 100644 target/linux/gemini/patches-4.14/0015-ARM-dts-Add-PCI-to-WBD111-and-WBD222.patch create mode 100644 target/linux/gemini/patches-4.14/0016-ARM-dts-Add-TVE-TVC-and-ILI9322-panel-to-DIR-685.patch create mode 100644 target/linux/gemini/patches-4.14/0017-watchdog-gemini-ftwdt010-rename-DT-bindings.patch create mode 100644 target/linux/gemini/patches-4.14/0018-watchdog-gemini-ftwdt010-rename-driver-and-symbols.patch create mode 100644 target/linux/gemini/patches-4.14/0019-watchdog-ftwdt010-Make-interrupt-optional.patch create mode 100644 target/linux/gemini/patches-4.14/0020-soc-Add-SoC-driver-for-Gemini.patch create mode 100644 target/linux/gemini/patches-4.14/0021-net-ethernet-Add-DT-bindings-for-the-Gemini-ethernet.patch create mode 100644 target/linux/gemini/patches-4.14/0022-net-ethernet-Add-a-driver-for-Gemini-gigabit-etherne.patch create mode 100644 target/linux/gemini/patches-4.14/0023-ARM-dts-Add-ethernet-to-the-Gemini-SoC.patch create mode 100644 target/linux/gemini/patches-4.14/0024-net-gemini-Depend-on-HAS_IOMEM.patch create mode 100644 target/linux/gemini/patches-4.14/0025-ARM-dts-Set-D-Link-DNS-313-SATA-to-muxmode-0.patch create mode 100644 target/linux/gemini/patches-4.14/0026-power-gemini-poweroff-Avoid-spurious-poweroff.patch create mode 100644 target/linux/gemini/patches-4.14/0027-usb-host-add-DT-bindings-for-faraday-fotg2.patch create mode 100644 target/linux/gemini/patches-4.14/0028-usb-host-fotg2-add-device-tree-probing.patch create mode 100644 target/linux/gemini/patches-4.14/0029-usb-host-fotg2-add-silicon-clock-handling.patch create mode 100644 target/linux/gemini/patches-4.14/0030-usb-host-fotg2-add-Gemini-specific-handling.patch create mode 100644 target/linux/gemini/patches-4.14/0031-ARM-dts-Add-the-FOTG210-USB-host-to-Gemini.patch create mode 100644 target/linux/gemini/patches-4.14/0033-ARM-dts-Fix-bootargs-for-Gemini-D-Link-devices.patch create mode 100644 target/linux/gemini/patches-4.14/0034-ARM-dts-Add-ethernet-to-a-bunch-of-platforms.patch create mode 100644 target/linux/gemini/patches-4.14/0900-arm-dts-gemini-add-openwrt-partitions-for-nas4220b.patch create mode 100644 target/linux/gemini/patches-4.14/0901-arm-dts-gemini-fix-ethernet-for-nas4220b.patch create mode 100644 target/linux/gemini/patches-4.14/0902-arm-dts-gemini-add-second-ata-for-nas4220b.patch create mode 100644 target/linux/gemini/patches-4.14/0903-arm-dts-gemini-disable-usb-port-1-until-fixed.patch create mode 100644 target/linux/gemini/patches-4.14/0904-net-cortina-fix-uninitialized-struct-member-usage.patch create mode 100644 target/linux/gemini/patches-4.14/0905-arm-dts-gemini-dlink-dir-685-add-rtl8366rb.patch create mode 100644 target/linux/gemini/patches-4.19/0021-ARM-dts-gemini-Fix-up-DNS-313-compatible-string.patch create mode 100644 target/linux/generic/PATCHES create mode 100644 target/linux/generic/backport-4.14/010-Kbuild-don-t-hardcode-path-to-awk-in-scripts-ld-vers.patch create mode 100644 target/linux/generic/backport-4.14/011-kbuild-export-SUBARCH.patch create mode 100644 target/linux/generic/backport-4.14/012-kbuild-add-macro-for-controlling-warnings-to-linux-c.patch create mode 100644 target/linux/generic/backport-4.14/013-disable-Wattribute-alias-warning-for-SYSCALL_DEFINEx.patch create mode 100644 target/linux/generic/backport-4.14/020-backport_netfilter_rtcache.patch create mode 100644 target/linux/generic/backport-4.14/025-tcp-allow-drivers-to-tweak-TSQ-logic.patch create mode 100644 target/linux/generic/backport-4.14/030-USB-serial-option-fix-dwm-158-3g-modem-interface.patch create mode 100644 target/linux/generic/backport-4.14/030-v4.17-0001-usb-dwc2-add-support-for-host-mode-external-vbus-sup.patch create mode 100644 target/linux/generic/backport-4.14/030-v4.17-0002-usb-dwc2-dwc2_vbus_supply_init-fix-error-check.patch create mode 100644 target/linux/generic/backport-4.14/040-v4.17-0001-mtd-move-code-adding-master-MTD-out-of-mtd_add_devic.patch create mode 100644 target/linux/generic/backport-4.14/040-v4.17-0002-mtd-get-rid-of-the-mtd_add_device_partitions.patch create mode 100644 target/linux/generic/backport-4.14/041-v4.17-0001-mtd-partitions-add-of_match_table-parser-matching-fo.patch create mode 100644 target/linux/generic/backport-4.14/041-v4.17-0002-mtd-rename-ofpart-parser-to-fixed-partitions-as-it-f.patch create mode 100644 target/linux/generic/backport-4.14/041-v4.17-0003-mtd-ofpart-add-of_match_table-with-fixed-partitions.patch create mode 100644 target/linux/generic/backport-4.14/042-v4.18-0001-mtd-move-code-adding-registering-partitions-to-the-p.patch create mode 100644 target/linux/generic/backport-4.14/043-v4.18-mtd-bcm47xxpart-improve-handling-TRX-partition-size.patch create mode 100644 target/linux/generic/backport-4.14/044-v4.18-mtd-bcm47xxpart-add-of_match_table-with-a-new-DT-bin.patch create mode 100644 target/linux/generic/backport-4.14/045-v4.19-mtd-parsers-trx-add-of_match_table-with-the-new-DT-b.patch create mode 100644 target/linux/generic/backport-4.14/046-v4.19-mtd-partitions-use-DT-info-for-parsing-partitions-wi.patch create mode 100644 target/linux/generic/backport-4.14/047-v4.21-mtd-keep-original-flags-for-every-struct-mtd_info.patch create mode 100644 target/linux/generic/backport-4.14/048-v4.21-mtd-improve-calculating-partition-boundaries-when-ch.patch create mode 100644 target/linux/generic/backport-4.14/050-v4.19-f2fs-skip-verifying-block-address-non-regular-inode.patch create mode 100644 target/linux/generic/backport-4.14/071-v4.15-0001-net-bgmac-enable-master-mode-for-BCM54210E-and-B5021.patch create mode 100644 target/linux/generic/backport-4.14/076-v4.15-0001-net-phy-broadcom-support-new-device-flag-for-setting.patch create mode 100644 target/linux/generic/backport-4.14/080-v5.1-0001-bcma-keep-a-direct-pointer-to-the-struct-device.patch create mode 100644 target/linux/generic/backport-4.14/080-v5.1-0002-bcma-use-dev_-printing-functions.patch create mode 100644 target/linux/generic/backport-4.14/085-v4.16-0001-i2c-gpio-Enable-working-over-slow-can_sleep-GPIOs.patch create mode 100644 target/linux/generic/backport-4.14/090-net-bridge-add-support-for-port-isolation.patch create mode 100644 target/linux/generic/backport-4.14/095-Allow-class-e-address-assignment-via-ifconfig-ioctl.patch create mode 100644 target/linux/generic/backport-4.14/101-arm-cns3xxx-use-actual-size-reads-for-PCIe.patch create mode 100644 target/linux/generic/backport-4.14/270-batman-adv-Let-packet.h-include-its-headers-directly.patch create mode 100644 target/linux/generic/backport-4.14/271-batman-adv-Remove-usage-of-BIT-x-in-packet.h.patch create mode 100644 target/linux/generic/backport-4.14/272-batman-adv-Remove-kernel-fixed-width-types-in-packet.patch create mode 100644 target/linux/generic/backport-4.14/273-batman-adv-Convert-packet.h-to-uapi-header.patch create mode 100644 target/linux/generic/backport-4.14/274-flow_dissector-Parse-batman-adv-unicast-headers.patch create mode 100644 target/linux/generic/backport-4.14/289-v4.16-netfilter-add-defines-for-arp-decnet-max-hooks.patch create mode 100644 target/linux/generic/backport-4.14/290-v4.16-netfilter-core-make-nf_unregister_net_hooks-simple-w.patch create mode 100644 target/linux/generic/backport-4.14/291-v4.16-netfilter-core-remove-synchronize_net-call-if-nfqueu.patch create mode 100644 target/linux/generic/backport-4.14/292-v4.16-netfilter-core-free-hooks-with-call_rcu.patch create mode 100644 target/linux/generic/backport-4.14/293-v4.16-netfilter-reduce-size-of-hook-entry-point-locations.patch create mode 100644 target/linux/generic/backport-4.14/294-v4.16-netfilter-reduce-hook-array-sizes-to-what-is-needed.patch create mode 100644 target/linux/generic/backport-4.14/295-v4.16-netfilter-don-t-allocate-space-for-decnet-hooks-unle.patch create mode 100644 target/linux/generic/backport-4.14/296-v4.16-netfilter-don-t-allocate-space-for-arp-bridge-hooks-.patch create mode 100644 target/linux/generic/backport-4.14/297-v4.16-netfilter-core-pass-hook-number-family-and-device-to.patch create mode 100644 target/linux/generic/backport-4.14/298-v4.16-netfilter-core-add-nf_remove_net_hook.patch create mode 100644 target/linux/generic/backport-4.14/298-v4.16-netfilter-core-pass-family-as-parameter-to-nf_remove.patch create mode 100644 target/linux/generic/backport-4.14/299-v4.16-netfilter-core-support-for-NFPROTO_INET-hook-registr.patch create mode 100644 target/linux/generic/backport-4.14/300-v4.16-netfilter-nf_tables-explicit-nft_set_pktinfo-call-fr.patch create mode 100644 target/linux/generic/backport-4.14/301-v4.16-netfilter-core-only-allow-one-nat-hook-per-hook-poin.patch create mode 100644 target/linux/generic/backport-4.14/302-v4.16-netfilter-nf_tables_inet-don-t-use-multihook-infrast.patch create mode 100644 target/linux/generic/backport-4.14/303-v4.16-netfilter-nf_tables-remove-multihook-chains-and-fami.patch create mode 100644 target/linux/generic/backport-4.14/304-v4.16-netfilter-move-checksum-indirection-to-struct-nf_ipv.patch create mode 100644 target/linux/generic/backport-4.14/305-v4.16-netfilter-move-checksum_partial-indirection-to-struc.patch create mode 100644 target/linux/generic/backport-4.14/306-v4.16-netfilter-remove-saveroute-indirection-in-struct-nf_.patch create mode 100644 target/linux/generic/backport-4.14/307-v4.16-netfilter-move-route-indirection-to-struct-nf_ipv6_o.patch create mode 100644 target/linux/generic/backport-4.14/308-v4.16-netfilter-move-reroute-indirection-to-struct-nf_ipv6.patch create mode 100644 target/linux/generic/backport-4.14/309-v4.16-netfilter-remove-route_key_size-field-in-struct-nf_a.patch create mode 100644 target/linux/generic/backport-4.14/310-v4.16-netfilter-remove-struct-nf_afinfo-and-its-helper-fun.patch create mode 100644 target/linux/generic/backport-4.14/311-v4.16-netfilter-nf_tables_arp-don-t-set-forward-chain.patch create mode 100644 target/linux/generic/backport-4.14/312-v4.16-netfilter-nf_tables-remove-hooks-from-family-definit.patch create mode 100644 target/linux/generic/backport-4.14/313-v4.16-netfilter-remove-defensive-check-on-malformed-packet.patch create mode 100644 target/linux/generic/backport-4.14/314-v4.16-netfilter-meta-secpath-support.patch create mode 100644 target/linux/generic/backport-4.14/315-v4.15-netfilter-conntrack-move-nf_ct_netns_-get-put-to-cor.patch create mode 100644 target/linux/generic/backport-4.14/320-v4.16-netfilter-nf_conntrack-add-IPS_OFFLOAD-status-bit.patch create mode 100644 target/linux/generic/backport-4.14/321-v4.16-netfilter-nf_tables-add-flow-table-netlink-frontend.patch create mode 100644 target/linux/generic/backport-4.14/322-v4.16-netfilter-add-generic-flow-table-infrastructure.patch create mode 100644 target/linux/generic/backport-4.14/323-v4.16-netfilter-flow-table-support-for-IPv4.patch create mode 100644 target/linux/generic/backport-4.14/324-v4.16-netfilter-flow-table-support-for-IPv6.patch create mode 100644 target/linux/generic/backport-4.14/325-v4.16-netfilter-flow-table-support-for-the-mixed-IPv4-IPv6.patch create mode 100644 target/linux/generic/backport-4.14/326-v4.16-netfilter-nf_tables-flow-offload-expression.patch create mode 100644 target/linux/generic/backport-4.14/327-v4.16-netfilter-nf_tables-remove-nhooks-field-from-struct-.patch create mode 100644 target/linux/generic/backport-4.14/328-v4.16-netfilter-nf_tables-fix-a-typo-in-nf_tables_getflowt.patch create mode 100644 target/linux/generic/backport-4.14/329-v4.16-netfilter-improve-flow-table-Kconfig-dependencies.patch create mode 100644 target/linux/generic/backport-4.14/330-v4.16-netfilter-nf_tables-remove-flag-field-from-struct-nf.patch create mode 100644 target/linux/generic/backport-4.14/331-v4.16-netfilter-nf_tables-no-need-for-struct-nft_af_info-t.patch create mode 100644 target/linux/generic/backport-4.14/332-v4.16-netfilter-nf_tables-remove-struct-nft_af_info-parame.patch create mode 100644 target/linux/generic/backport-4.14/334-v4.15-netfilter-nf_tables-fix-potential-NULL-ptr-deref-in-.patch create mode 100644 target/linux/generic/backport-4.14/335-v4.16-netfilter-nf_tables-add-single-table-list-for-all-fa.patch create mode 100644 target/linux/generic/backport-4.14/336-v4.15-netfilter-exit_net-cleanup-check-added.patch create mode 100644 target/linux/generic/backport-4.14/337-v4.16-netfilter-nf_tables-get-rid-of-pernet-families.patch create mode 100644 target/linux/generic/backport-4.14/338-v4.16-netfilter-nf_tables-get-rid-of-struct-nft_af_info-ab.patch create mode 100644 target/linux/generic/backport-4.14/339-v4.16-netfilter-nft_flow_offload-wait-for-garbage-collecto.patch create mode 100644 target/linux/generic/backport-4.14/340-v4.16-netfilter-nft_flow_offload-no-need-to-flush-entries-.patch create mode 100644 target/linux/generic/backport-4.14/341-v4.16-netfilter-nft_flow_offload-move-flowtable-cleanup-ro.patch create mode 100644 target/linux/generic/backport-4.14/342-v4.16-netfilter-nf_tables-fix-flowtable-free.patch create mode 100644 target/linux/generic/backport-4.14/343-netfilter-nft_flow_offload-handle-netdevice-events-f.patch create mode 100644 target/linux/generic/backport-4.14/344-v4.16-netfilter-nf_tables-allocate-handle-and-delete-objec.patch create mode 100644 target/linux/generic/backport-4.14/345-v4.16-netfilter-nf_flow_offload-fix-use-after-free-and-a-r.patch create mode 100644 target/linux/generic/backport-4.14/346-v4.16-netfilter-flowtable-infrastructure-depends-on-NETFIL.patch create mode 100644 target/linux/generic/backport-4.14/347-v4.16-netfilter-remove-duplicated-include.patch create mode 100644 target/linux/generic/backport-4.14/348-v4.18-netfilter-nf_flow_table-use-IP_CT_DIR_-values-for-FL.patch create mode 100644 target/linux/generic/backport-4.14/349-v4.18-netfilter-nf_flow_table-clean-up-flow_offload_alloc.patch create mode 100644 target/linux/generic/backport-4.14/350-v4.18-ipv6-make-ip6_dst_mtu_forward-inline.patch create mode 100644 target/linux/generic/backport-4.14/351-v4.18-netfilter-nf_flow_table-cache-mtu-in-struct-flow_off.patch create mode 100644 target/linux/generic/backport-4.14/352-v4.18-netfilter-nf_flow_table-rename-nf_flow_table.c-to-nf.patch create mode 100644 target/linux/generic/backport-4.14/353-v4.18-netfilter-nf_flow_table-move-ipv4-offload-hook-code-.patch create mode 100644 target/linux/generic/backport-4.14/354-v4.18-netfilter-nf_flow_table-move-ip-header-check-out-of-.patch create mode 100644 target/linux/generic/backport-4.14/355-v4.18-netfilter-nf_flow_table-move-ipv6-offload-hook-code-.patch create mode 100644 target/linux/generic/backport-4.14/356-v4.18-netfilter-nf_flow_table-relax-mixed-ipv4-ipv6-flowta.patch create mode 100644 target/linux/generic/backport-4.14/357-v4.18-netfilter-nf_flow_table-move-init-code-to-nf_flow_ta.patch create mode 100644 target/linux/generic/backport-4.14/358-v4.18-netfilter-nf_flow_table-fix-priv-pointer-for-netdev-.patch create mode 100644 target/linux/generic/backport-4.14/359-v4.18-netfilter-nf_flow_table-track-flow-tables-in-nf_flow.patch create mode 100644 target/linux/generic/backport-4.14/360-v4.18-netfilter-nf_flow_table-make-flow_offload_dead-inlin.patch create mode 100644 target/linux/generic/backport-4.14/361-v4.18-netfilter-nf_flow_table-add-a-new-flow-state-for-tea.patch create mode 100644 target/linux/generic/backport-4.14/362-v4.18-netfilter-nf_flow_table-in-flow_offload_lookup-skip-.patch create mode 100644 target/linux/generic/backport-4.14/363-v4.18-netfilter-nf_flow_table-add-support-for-sending-flow.patch create mode 100644 target/linux/generic/backport-4.14/364-v4.18-netfilter-nf_flow_table-tear-down-TCP-flows-if-RST-o.patch create mode 100644 target/linux/generic/backport-4.14/365-v4.16-netfilter-nf_flow_table-fix-checksum-when-handling-D.patch create mode 100644 target/linux/generic/backport-4.14/366-netfilter-nft_flow_offload-Fix-reverse-route-lookup.patch create mode 100644 target/linux/generic/backport-4.14/367-v4.18-netfilter-nf_flow_table-add-missing-condition-for-TC.patch create mode 100644 target/linux/generic/backport-4.14/368-v4.18-netfilter-nf_flow_table-fix-offloading-connections-w.patch create mode 100644 target/linux/generic/backport-4.14/369-v4.18-netfilter-nf_flow_table-attach-dst-to-skbs.patch create mode 100644 target/linux/generic/backport-4.14/370-netfilter-nf_flow_table-fix-offloaded-connection-tim.patch create mode 100644 target/linux/generic/backport-4.14/371-netfilter-nf_flow_table-fix-up-ct-state-of-flows-aft.patch create mode 100644 target/linux/generic/backport-4.14/372-netfilter-nft_flow_offload-fix-interaction-with-vrf-.patch create mode 100644 target/linux/generic/backport-4.14/373-netfilter_actual_sk.patch create mode 100644 target/linux/generic/backport-4.14/380-v5.3-net-sched-Introduce-act_ctinfo-action.patch create mode 100644 target/linux/generic/backport-4.14/400-v4.16-leds-trigger-Introduce-a-NETDEV-trigger.patch create mode 100644 target/linux/generic/backport-4.14/401-v5.2-leds-trigger-netdev-fix-refcnt-leak-on-interface-ren.patch create mode 100644 target/linux/generic/backport-4.14/402-leds-trigger-netdev-fix-handling-on-interface-rename.patch create mode 100644 target/linux/generic/backport-4.14/403-v4.15-0001-mtd-spi-nor-add-a-quad_enable-callback-in-struct-fla.patch create mode 100644 target/linux/generic/backport-4.14/403-v4.15-0002-mtd-spi-nor-add-support-for-GD25Q256.patch create mode 100644 target/linux/generic/backport-4.14/420-enable-CONFIG_MMC_SDHCI_IO_ACCESSORS.patch create mode 100644 target/linux/generic/backport-4.14/500-v4.20-ubifs-Fix-default-compression-selection-in-ubifs.patch create mode 100644 target/linux/generic/backport-4.14/900-v4.18-firmware-dmi-Add-access-to-the-SKU-ID-string.patch create mode 100644 target/linux/generic/backport-4.14/950-tty-serial-exar-generalize-rs485-setup.patch create mode 100644 target/linux/generic/config-4.14 create mode 100644 target/linux/generic/files/Documentation/networking/adm6996.txt create mode 100644 target/linux/generic/files/arch/mips/fw/myloader/Makefile create mode 100644 target/linux/generic/files/arch/mips/fw/myloader/myloader.c create mode 100644 target/linux/generic/files/drivers/misc/owl-loader.c create mode 100644 target/linux/generic/files/drivers/mtd/mtdsplit/Kconfig create mode 100644 target/linux/generic/files/drivers/mtd/mtdsplit/Makefile create mode 100644 target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit.c create mode 100644 target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit.h create mode 100644 target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_brnimage.c create mode 100644 target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_eva.c create mode 100644 target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_fit.c create mode 100644 target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_jimage.c create mode 100644 target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_lzma.c create mode 100644 target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_minor.c create mode 100644 target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_seama.c create mode 100644 target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_squashfs.c create mode 100644 target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_tplink.c create mode 100644 target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_trx.c create mode 100644 target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_uimage.c create mode 100644 target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_wrgg.c create mode 100644 target/linux/generic/files/drivers/mtd/myloader.c create mode 100644 target/linux/generic/files/drivers/net/phy/adm6996.c create mode 100644 target/linux/generic/files/drivers/net/phy/adm6996.h create mode 100644 target/linux/generic/files/drivers/net/phy/ar8216.c create mode 100644 target/linux/generic/files/drivers/net/phy/ar8216.h create mode 100644 target/linux/generic/files/drivers/net/phy/ar8327.c create mode 100644 target/linux/generic/files/drivers/net/phy/ar8327.h create mode 100644 target/linux/generic/files/drivers/net/phy/b53/Kconfig create mode 100644 target/linux/generic/files/drivers/net/phy/b53/Makefile create mode 100644 target/linux/generic/files/drivers/net/phy/b53/b53_common.c create mode 100644 target/linux/generic/files/drivers/net/phy/b53/b53_mdio.c create mode 100644 target/linux/generic/files/drivers/net/phy/b53/b53_mmap.c create mode 100644 target/linux/generic/files/drivers/net/phy/b53/b53_phy_fixup.c create mode 100644 target/linux/generic/files/drivers/net/phy/b53/b53_priv.h create mode 100644 target/linux/generic/files/drivers/net/phy/b53/b53_regs.h create mode 100644 target/linux/generic/files/drivers/net/phy/b53/b53_spi.c create mode 100644 target/linux/generic/files/drivers/net/phy/b53/b53_srab.c create mode 100644 target/linux/generic/files/drivers/net/phy/ip17xx.c create mode 100644 target/linux/generic/files/drivers/net/phy/mvsw61xx.c create mode 100644 target/linux/generic/files/drivers/net/phy/mvsw61xx.h create mode 100644 target/linux/generic/files/drivers/net/phy/mvswitch.c create mode 100644 target/linux/generic/files/drivers/net/phy/mvswitch.h create mode 100644 target/linux/generic/files/drivers/net/phy/psb6970.c create mode 100644 target/linux/generic/files/drivers/net/phy/rtl8306.c create mode 100644 target/linux/generic/files/drivers/net/phy/rtl8366_smi.c create mode 100644 target/linux/generic/files/drivers/net/phy/rtl8366_smi.h create mode 100644 target/linux/generic/files/drivers/net/phy/rtl8366rb.c create mode 100644 target/linux/generic/files/drivers/net/phy/rtl8366s.c create mode 100644 target/linux/generic/files/drivers/net/phy/rtl8367.c create mode 100644 target/linux/generic/files/drivers/net/phy/rtl8367b.c create mode 100644 target/linux/generic/files/drivers/net/phy/swconfig.c create mode 100644 target/linux/generic/files/drivers/net/phy/swconfig_leds.c create mode 100644 target/linux/generic/files/drivers/platform/mikrotik/Kconfig create mode 100644 target/linux/generic/files/drivers/platform/mikrotik/Makefile create mode 100644 target/linux/generic/files/drivers/platform/mikrotik/rb_hardconfig.c create mode 100644 target/linux/generic/files/drivers/platform/mikrotik/routerboot.c create mode 100644 target/linux/generic/files/drivers/platform/mikrotik/routerboot.h create mode 100644 target/linux/generic/files/include/linux/ar8216_platform.h create mode 100644 target/linux/generic/files/include/linux/ath5k_platform.h create mode 100644 target/linux/generic/files/include/linux/ath9k_platform.h create mode 100644 target/linux/generic/files/include/linux/myloader.h create mode 100644 target/linux/generic/files/include/linux/platform_data/adm6996-gpio.h create mode 100644 target/linux/generic/files/include/linux/routerboot.h create mode 100644 target/linux/generic/files/include/linux/rt2x00_platform.h create mode 100644 target/linux/generic/files/include/linux/rtl8366.h create mode 100644 target/linux/generic/files/include/linux/rtl8367.h create mode 100644 target/linux/generic/files/include/linux/switch.h create mode 100644 target/linux/generic/files/include/uapi/linux/switch.h create mode 100644 target/linux/generic/hack-4.14/204-module_strip.patch create mode 100644 target/linux/generic/hack-4.14/207-disable-modorder.patch create mode 100644 target/linux/generic/hack-4.14/210-darwin_scripts_include.patch create mode 100644 target/linux/generic/hack-4.14/211-host_tools_portability.patch create mode 100644 target/linux/generic/hack-4.14/212-byteshift_portability.patch create mode 100644 target/linux/generic/hack-4.14/214-spidev_h_portability.patch create mode 100644 target/linux/generic/hack-4.14/220-gc_sections.patch create mode 100644 target/linux/generic/hack-4.14/221-module_exports.patch create mode 100644 target/linux/generic/hack-4.14/230-openwrt_lzma_options.patch create mode 100644 target/linux/generic/hack-4.14/250-netfilter_depends.patch create mode 100644 target/linux/generic/hack-4.14/251-sound_kconfig.patch create mode 100644 target/linux/generic/hack-4.14/259-regmap_dynamic.patch create mode 100644 target/linux/generic/hack-4.14/260-crypto_test_dependencies.patch create mode 100644 target/linux/generic/hack-4.14/280-rfkill-stubs.patch create mode 100644 target/linux/generic/hack-4.14/300-MIPS-r4k_cache-use-more-efficient-cache-blast.patch create mode 100644 target/linux/generic/hack-4.14/301-mips_image_cmdline_hack.patch create mode 100644 target/linux/generic/hack-4.14/321-powerpc_crtsavres_prereq.patch create mode 100644 target/linux/generic/hack-4.14/400-mt29f_spinand-fix-memleak.patch create mode 100644 target/linux/generic/hack-4.14/531-debloat_lzma.patch create mode 100644 target/linux/generic/hack-4.14/640-bridge-only-accept-EAP-locally.patch create mode 100644 target/linux/generic/hack-4.14/647-netfilter-flow-acct.patch create mode 100644 target/linux/generic/hack-4.14/650-netfilter-add-xt_OFFLOAD-target.patch create mode 100644 target/linux/generic/hack-4.14/651-wireless_mesh_header.patch create mode 100644 target/linux/generic/hack-4.14/660-fq_codel_defaults.patch create mode 100644 target/linux/generic/hack-4.14/661-use_fq_codel_by_default.patch create mode 100644 target/linux/generic/hack-4.14/662-remove_pfifo_fast.patch create mode 100644 target/linux/generic/hack-4.14/700-swconfig_switch_drivers.patch create mode 100644 target/linux/generic/hack-4.14/702-phy_add_aneg_done_function.patch create mode 100644 target/linux/generic/hack-4.14/721-phy_packets.patch create mode 100644 target/linux/generic/hack-4.14/773-bgmac-add-srab-switch.patch create mode 100644 target/linux/generic/hack-4.14/835-misc-owl_loader.patch create mode 100644 target/linux/generic/hack-4.14/901-debloat_sock_diag.patch create mode 100644 target/linux/generic/hack-4.14/902-debloat_proc.patch create mode 100644 target/linux/generic/hack-4.14/904-debloat_dma_buf.patch create mode 100644 target/linux/generic/hack-4.14/910-kobject_uevent.patch create mode 100644 target/linux/generic/hack-4.14/911-kobject_add_broadcast_uevent.patch create mode 100644 target/linux/generic/hack-4.14/921-always-create-console-node-in-initramfs.patch create mode 100644 target/linux/generic/hack-4.14/930-crashlog.patch create mode 100644 target/linux/generic/image/Makefile create mode 100644 target/linux/generic/image/initramfs-base-files.txt create mode 100644 target/linux/generic/image/lzma-loader/Makefile create mode 100644 target/linux/generic/image/lzma-loader/src/LzmaDecode.c create mode 100644 target/linux/generic/image/lzma-loader/src/LzmaDecode.h create mode 100644 target/linux/generic/image/lzma-loader/src/Makefile create mode 100644 target/linux/generic/image/lzma-loader/src/decompress.c create mode 100644 target/linux/generic/image/lzma-loader/src/lzma-copy.lds.in create mode 100644 target/linux/generic/image/lzma-loader/src/lzma.lds.in create mode 100644 target/linux/generic/image/lzma-loader/src/print.c create mode 100644 target/linux/generic/image/lzma-loader/src/print.h create mode 100644 target/linux/generic/image/lzma-loader/src/printf.c create mode 100644 target/linux/generic/image/lzma-loader/src/printf.h create mode 100644 target/linux/generic/image/lzma-loader/src/start.S create mode 100644 target/linux/generic/image/lzma-loader/src/uart16550.c create mode 100644 target/linux/generic/image/lzma-loader/src/uart16550.h create mode 100644 target/linux/generic/image/relocate/Makefile create mode 100644 target/linux/generic/image/relocate/cacheops.h create mode 100644 target/linux/generic/image/relocate/cp0regdef.h create mode 100644 target/linux/generic/image/relocate/head.S create mode 100644 target/linux/generic/image/relocate/loader.lds create mode 100755 target/linux/generic/other-files/init create mode 100644 target/linux/generic/pending-4.14/0931-w1-gpio-fix-problem-with-platfom-data-in-w1-gpio.patch create mode 100644 target/linux/generic/pending-4.14/102-MIPS-only-process-negative-stack-offsets-on-stack-tr.patch create mode 100644 target/linux/generic/pending-4.14/103-MIPS-perf-ath79-Fix-perfcount-IRQ-assignment.patch create mode 100644 target/linux/generic/pending-4.14/110-ehci_hcd_ignore_oc.patch create mode 100644 target/linux/generic/pending-4.14/120-Fix-alloc_node_mem_map-with-ARCH_PFN_OFFSET-calcu.patch create mode 100644 target/linux/generic/pending-4.14/130-add-linux-spidev-compatible-si3210.patch create mode 100644 target/linux/generic/pending-4.14/131-spi-use-gpio_set_value_cansleep-for-setting-chipsele.patch create mode 100644 target/linux/generic/pending-4.14/140-jffs2-use-.rename2-and-add-RENAME_WHITEOUT-support.patch create mode 100644 target/linux/generic/pending-4.14/141-jffs2-add-RENAME_EXCHANGE-support.patch create mode 100644 target/linux/generic/pending-4.14/150-bridge_allow_receiption_on_disabled_port.patch create mode 100644 target/linux/generic/pending-4.14/161-mtd-part-add-generic-parsing-of-linux-part-probe.patch create mode 100644 target/linux/generic/pending-4.14/171-usb-dwc2-Fix-inefficient-copy-of-unaligned-buffers.patch create mode 100644 target/linux/generic/pending-4.14/180-net-phy-at803x-add-support-for-AT8032.patch create mode 100644 target/linux/generic/pending-4.14/190-2-5-e1000e-Fix-wrong-comment-related-to-link-detection.patch create mode 100644 target/linux/generic/pending-4.14/201-extra_optimization.patch create mode 100644 target/linux/generic/pending-4.14/203-kallsyms_uncompressed.patch create mode 100644 target/linux/generic/pending-4.14/205-backtrace_module_info.patch create mode 100644 target/linux/generic/pending-4.14/220-optimize_inlining.patch create mode 100644 target/linux/generic/pending-4.14/240-remove-unsane-filenames-from-deps_initramfs-list.patch create mode 100644 target/linux/generic/pending-4.14/261-enable_wilink_platform_without_drivers.patch create mode 100644 target/linux/generic/pending-4.14/270-platform-mikrotik-build-bits.patch create mode 100644 target/linux/generic/pending-4.14/300-mips_expose_boot_raw.patch create mode 100644 target/linux/generic/pending-4.14/302-mips_no_branch_likely.patch create mode 100644 target/linux/generic/pending-4.14/304-mips_disable_fpu.patch create mode 100644 target/linux/generic/pending-4.14/305-mips_module_reloc.patch create mode 100644 target/linux/generic/pending-4.14/306-mips_mem_functions_performance.patch create mode 100644 target/linux/generic/pending-4.14/307-mips_highmem_offset.patch create mode 100644 target/linux/generic/pending-4.14/308-mips32r2_tune.patch create mode 100644 target/linux/generic/pending-4.14/309-MIPS-Add-CPU-option-reporting-to-proc-cpuinfo.patch create mode 100644 target/linux/generic/pending-4.14/310-arm_module_unresolved_weak_sym.patch create mode 100644 target/linux/generic/pending-4.14/330-MIPS-kexec-Accept-command-line-parameters-from-users.patch create mode 100644 target/linux/generic/pending-4.14/332-arc-add-OWRTDTB-section.patch create mode 100644 target/linux/generic/pending-4.14/333-arc-enable-unaligned-access-in-kernel-mode.patch create mode 100644 target/linux/generic/pending-4.14/340-MIPS-mm-remove-mips_dma_mapping_error.patch create mode 100644 target/linux/generic/pending-4.14/341-MIPS-mm-remove-no-op-dma_map_ops-where-possible.patch create mode 100644 target/linux/generic/pending-4.14/342-powerpc-Enable-kernel-XZ-compression-option-on-PPC_8.patch create mode 100644 target/linux/generic/pending-4.14/400-mtd-add-rootfs-split-support.patch create mode 100644 target/linux/generic/pending-4.14/401-mtd-add-support-for-different-partition-parser-types.patch create mode 100644 target/linux/generic/pending-4.14/402-mtd-use-typed-mtd-parsers-for-rootfs-and-firmware-split.patch create mode 100644 target/linux/generic/pending-4.14/403-mtd-hook-mtdsplit-to-Kbuild.patch create mode 100644 target/linux/generic/pending-4.14/404-mtd-add-more-helper-functions.patch create mode 100644 target/linux/generic/pending-4.14/411-mtd-partial_eraseblock_write.patch create mode 100644 target/linux/generic/pending-4.14/412-mtd-partial_eraseblock_unlock.patch create mode 100644 target/linux/generic/pending-4.14/419-mtd-redboot-add-of_match_table-with-DT-binding.patch create mode 100644 target/linux/generic/pending-4.14/420-mtd-redboot_space.patch create mode 100644 target/linux/generic/pending-4.14/430-mtd-add-myloader-partition-parser.patch create mode 100644 target/linux/generic/pending-4.14/431-mtd-bcm47xxpart-check-for-bad-blocks-when-calculatin.patch create mode 100644 target/linux/generic/pending-4.14/432-mtd-bcm47xxpart-detect-T_Meter-partition.patch create mode 100644 target/linux/generic/pending-4.14/440-block2mtd_init.patch create mode 100644 target/linux/generic/pending-4.14/441-block2mtd_probe.patch create mode 100644 target/linux/generic/pending-4.14/450-mtd-m25p80-allow-fallback-from-spi_flash_read-to-reg.patch create mode 100644 target/linux/generic/pending-4.14/450-mtd-spi-nor-allow-NOR-driver-to-write-fewer-bytes-th.patch create mode 100644 target/linux/generic/pending-4.14/460-mtd-cfi_cmdset_0002-no-erase_suspend.patch create mode 100644 target/linux/generic/pending-4.14/461-mtd-cfi_cmdset_0002-add-buffer-write-cmd-timeout.patch create mode 100644 target/linux/generic/pending-4.14/465-m25p80-mx-disable-software-protection.patch create mode 100644 target/linux/generic/pending-4.14/466-Revert-mtd-spi-nor-fix-Spansion-regressions-aliased-.patch create mode 100644 target/linux/generic/pending-4.14/470-mtd-spi-nor-support-limiting-4K-sectors-support-base.patch create mode 100644 target/linux/generic/pending-4.14/475-mtd-spi-nor-Add-Winbond-w25q128jv-support.patch create mode 100644 target/linux/generic/pending-4.14/476-mtd-spi-nor-add-eon-en25q128.patch create mode 100644 target/linux/generic/pending-4.14/477-mtd-add-spi-nor-add-mx25u3235f.patch create mode 100644 target/linux/generic/pending-4.14/478-mtd-spi-nor-Add-support-for-XM25QH64A-and-XM25QH128A.patch create mode 100644 target/linux/generic/pending-4.14/479-mtd-spi-nor-add-eon-en25qh32.patch create mode 100644 target/linux/generic/pending-4.14/479-mtd-spi-nor-add-eon-en25qh64.patch create mode 100644 target/linux/generic/pending-4.14/480-mtd-set-rootfs-to-be-root-dev.patch create mode 100644 target/linux/generic/pending-4.14/481-mtd-spi-nor-add-support-for-Gigadevice-GD25D05.patch create mode 100644 target/linux/generic/pending-4.14/490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch create mode 100644 target/linux/generic/pending-4.14/491-ubi-auto-create-ubiblock-device-for-rootfs.patch create mode 100644 target/linux/generic/pending-4.14/492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch create mode 100644 target/linux/generic/pending-4.14/493-ubi-set-ROOT_DEV-to-ubiblock-rootfs-if-unset.patch create mode 100644 target/linux/generic/pending-4.14/494-mtd-ubi-add-EOF-marker-support.patch create mode 100644 target/linux/generic/pending-4.14/495-mtd-core-add-get_mtd_device_by_node.patch create mode 100644 target/linux/generic/pending-4.14/496-dt-bindings-add-bindings-for-mtd-concat-devices.patch create mode 100644 target/linux/generic/pending-4.14/497-mtd-mtdconcat-add-dt-driver-for-concat-devices.patch create mode 100644 target/linux/generic/pending-4.14/530-jffs2_make_lzma_available.patch create mode 100644 target/linux/generic/pending-4.14/532-jffs2_eofdetect.patch create mode 100644 target/linux/generic/pending-4.14/553-ubifs-Add-option-to-create-UBI-FS-version-4-on-empty.patch create mode 100644 target/linux/generic/pending-4.14/600-netfilter_conntrack_flush.patch create mode 100644 target/linux/generic/pending-4.14/610-netfilter_match_bypass_default_checks.patch create mode 100644 target/linux/generic/pending-4.14/611-netfilter_match_bypass_default_table.patch create mode 100644 target/linux/generic/pending-4.14/612-netfilter_match_reduce_memory_access.patch create mode 100644 target/linux/generic/pending-4.14/613-netfilter_optional_tcp_window_check.patch create mode 100644 target/linux/generic/pending-4.14/616-net_optimize_xfrm_calls.patch create mode 100644 target/linux/generic/pending-4.14/620-net_sched-codel-do-not-defer-queue-length-update.patch create mode 100644 target/linux/generic/pending-4.14/630-packet_socket_type.patch create mode 100644 target/linux/generic/pending-4.14/640-netfilter-nf_flow_table-add-hardware-offload-support.patch create mode 100644 target/linux/generic/pending-4.14/641-netfilter-nf_flow_table-support-hw-offload-through-v.patch create mode 100644 target/linux/generic/pending-4.14/642-net-8021q-support-hardware-flow-table-offload.patch create mode 100644 target/linux/generic/pending-4.14/643-net-bridge-support-hardware-flow-table-offload.patch create mode 100644 target/linux/generic/pending-4.14/644-net-pppoe-support-hardware-flow-table-offload.patch create mode 100644 target/linux/generic/pending-4.14/645-netfilter-nf_flow_table-rework-hardware-offload-time.patch create mode 100644 target/linux/generic/pending-4.14/646-netfilter-nf_flow_table-rework-private-driver-data.patch create mode 100644 target/linux/generic/pending-4.14/655-increase_skb_pad.patch create mode 100644 target/linux/generic/pending-4.14/666-Add-support-for-MAP-E-FMRs-mesh-mode.patch create mode 100644 target/linux/generic/pending-4.14/670-ipv6-allow-rejecting-with-source-address-failed-policy.patch create mode 100644 target/linux/generic/pending-4.14/671-net-provide-defines-for-_POLICY_FAILED-until-all-cod.patch create mode 100644 target/linux/generic/pending-4.14/680-NET-skip-GRO-for-foreign-MAC-addresses.patch create mode 100644 target/linux/generic/pending-4.14/681-NET-add-of_get_mac_address_mtd.patch create mode 100644 target/linux/generic/pending-4.14/703-phy-add-detach-callback-to-struct-phy_driver.patch create mode 100644 target/linux/generic/pending-4.14/734-net-phy-at803x-allow-to-configure-via-pdata.patch create mode 100644 target/linux/generic/pending-4.14/735-net-phy-at803x-fix-at8033-sgmii-mode.patch create mode 100644 target/linux/generic/pending-4.14/736-net-phy-at803x-allow-to-configure-via-dt.patch create mode 100644 target/linux/generic/pending-4.14/810-pci_disable_common_quirks.patch create mode 100644 target/linux/generic/pending-4.14/811-pci_disable_usb_common_quirks.patch create mode 100644 target/linux/generic/pending-4.14/834-ledtrig-libata.patch create mode 100644 target/linux/generic/pending-4.14/920-mangle_bootargs.patch create mode 100644 target/linux/imx6/Makefile create mode 100755 target/linux/imx6/base-files/etc/board.d/02_network create mode 100644 target/linux/imx6/base-files/etc/inittab create mode 100755 target/linux/imx6/base-files/lib/imx6.sh create mode 100644 target/linux/imx6/base-files/lib/preinit/01_sysinfo create mode 100644 target/linux/imx6/base-files/lib/preinit/79_move_config create mode 100755 target/linux/imx6/base-files/lib/upgrade/platform.sh create mode 100644 target/linux/imx6/config-4.14 create mode 100644 target/linux/imx6/files/firmware/imx/sdma/sdma-imx6q.bin create mode 100644 target/linux/imx6/image/Makefile create mode 100644 target/linux/imx6/image/bootscript-apalis create mode 100644 target/linux/imx6/image/bootscript-cubox create mode 100644 target/linux/imx6/image/bootscript-ventana create mode 100644 target/linux/imx6/image/recovery-apalis create mode 100644 target/linux/imx6/patches-4.14/100-bootargs.patch create mode 100644 target/linux/imx6/patches-4.14/200-disable-msi.patch create mode 100644 target/linux/imx6/patches-4.14/301-apalis-ixora-dts-leds.patch create mode 100644 target/linux/imx6/patches-4.14/302-apalis-ixora-dts-reset-button.patch create mode 100644 target/linux/imx6/profiles/100-default.mk create mode 100644 target/linux/ipq40xx/Makefile create mode 100755 target/linux/ipq40xx/base-files/etc/board.d/01_leds create mode 100755 target/linux/ipq40xx/base-files/etc/board.d/02_network create mode 100755 target/linux/ipq40xx/base-files/etc/board.d/03_gpio_switches create mode 100644 target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata create mode 100755 target/linux/ipq40xx/base-files/etc/init.d/bootcount create mode 100644 target/linux/ipq40xx/base-files/etc/inittab create mode 100644 target/linux/ipq40xx/base-files/lib/preinit/05_set_iface_mac_ipq40xx.sh create mode 100644 target/linux/ipq40xx/base-files/lib/preinit/06_set_preinit_iface_ipq40xx.sh create mode 100755 target/linux/ipq40xx/base-files/lib/upgrade/linksys.sh create mode 100644 target/linux/ipq40xx/base-files/lib/upgrade/openmesh.sh create mode 100644 target/linux/ipq40xx/base-files/lib/upgrade/platform.sh create mode 100644 target/linux/ipq40xx/config-4.14 create mode 100644 target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-a42.dts create mode 100644 target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dts create mode 100644 target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-ea6350v3.dts create mode 100644 target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-eap1300.dts create mode 100644 target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-ens620ext.dts create mode 100644 target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-ex6100v2.dts create mode 100644 target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-ex6150v2.dts create mode 100644 target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-ex61x0v2.dtsi create mode 100644 target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-fritz4040.dts create mode 100644 target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-jalapeno.dts create mode 100644 target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-nbg6617.dts create mode 100644 target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-rt-ac58u.dts create mode 100644 target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-wre6606.dts create mode 100644 target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4019-a62.dts create mode 100644 target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c1.dts create mode 100644 target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1.dtsi create mode 100644 target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4019-fritzbox-7530.dts create mode 100644 target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4019-fritzrepeater-1200.dts create mode 100644 target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4019-fritzrepeater-3000.dts create mode 100644 target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4019-linksys_ea8300.dts create mode 100644 target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4019-map-ac2200.dts create mode 100644 target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4019-qxwlan-e2600ac-c1.dts create mode 100644 target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4019-qxwlan-e2600ac-c2.dts create mode 100644 target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4019-qxwlan-e2600ac.dtsi create mode 100644 target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4028-wpj428.dts create mode 100644 target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4029-gl-b1300.dts create mode 100644 target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4029-mr33.dts create mode 100644 target/linux/ipq40xx/generic/target.mk create mode 100644 target/linux/ipq40xx/image/Makefile create mode 100644 target/linux/ipq40xx/patches-4.14/030-mtd-nand-Use-standard-large-page-OOB-layout-when-usi.patch create mode 100644 target/linux/ipq40xx/patches-4.14/031-mtd-nand-use-usual-return-values-for-the-erase-hook.patch create mode 100644 target/linux/ipq40xx/patches-4.14/040-dmaengine-qcom-bam-Process-multiple-pending-descript.patch create mode 100644 target/linux/ipq40xx/patches-4.14/050-0002-mtd-nand-qcom-add-command-elements-in-BAM-transactio.patch create mode 100644 target/linux/ipq40xx/patches-4.14/050-0003-mtd-nand-qcom-support-for-command-descriptor-formati.patch create mode 100644 target/linux/ipq40xx/patches-4.14/050-0004-mtd-nand-provide-several-helpers-to-do-common-NAND-o.patch create mode 100644 target/linux/ipq40xx/patches-4.14/050-0005-mtd-nand-force-drivers-to-explicitly-send-READ-PROG-.patch create mode 100644 target/linux/ipq40xx/patches-4.14/070-qcom-spm-fix-probe-order.patch create mode 100644 target/linux/ipq40xx/patches-4.14/071-qcom-ipq4019-use-v2-of-the-kpss-bringup-mechanism.patch create mode 100644 target/linux/ipq40xx/patches-4.14/072-qcom-ipq4019-add-cpu-operating-points-for-cpufreq-su.patch create mode 100644 target/linux/ipq40xx/patches-4.14/074-ARM-qcom-Add-IPQ4019-SoC-support.patch create mode 100644 target/linux/ipq40xx/patches-4.14/075-dt-bindings-phy-qcom-ipq4019-usb-add-binding-documen.patch create mode 100644 target/linux/ipq40xx/patches-4.14/076-phy-qcom-ipq4019-usb-add-driver-for-QCOM-IPQ4019.patch create mode 100644 target/linux/ipq40xx/patches-4.14/077-qcom-ipq4019-add-USB-devicetree-nodes.patch create mode 100644 target/linux/ipq40xx/patches-4.14/078-ARM-dts-ipq4019-Add-a-few-peripheral-nodes.patch create mode 100644 target/linux/ipq40xx/patches-4.14/079-ARM-dts-ipq4019-fix-PCI-range.patch create mode 100644 target/linux/ipq40xx/patches-4.14/080-pinctrl-msm-fix-gpio-hog-related-boot-issues.patch create mode 100644 target/linux/ipq40xx/patches-4.14/081-clk-fix-apss-cpu-overclocking.patch create mode 100644 target/linux/ipq40xx/patches-4.14/082-ARM-dts-ipq4019-Add-TZ-and-SMEM-reserved-regions.patch create mode 100644 target/linux/ipq40xx/patches-4.14/083-mtd-nand-add-Winbond-manufacturer-and-chip.patch create mode 100644 target/linux/ipq40xx/patches-4.14/084-ARM-dts-ipq4019-Add-a-default-chosen-node.patch create mode 100644 target/linux/ipq40xx/patches-4.14/085-mtd-nand-add-macronix-mx35lf1ge4ab.patch create mode 100644 target/linux/ipq40xx/patches-4.14/086-ARM-dts-qcom-ipq4019-enlarge-PCIe-BAR-range.patch create mode 100644 target/linux/ipq40xx/patches-4.14/087-ARM-dts-qcom-ipq4019-Fix-MSI-IRQ-type.patch create mode 100644 target/linux/ipq40xx/patches-4.14/088-0001-i2c-qup-fix-copyrights-and-update-to-SPDX-identifier.patch create mode 100644 target/linux/ipq40xx/patches-4.14/088-0003-i2c-qup-minor-code-reorganization-for-use_dma.patch create mode 100644 target/linux/ipq40xx/patches-4.14/088-0004-i2c-qup-remove-redundant-variables-for-BAM-SG-count.patch create mode 100644 target/linux/ipq40xx/patches-4.14/088-0005-i2c-qup-schedule-EOT-and-FLUSH-tags-at-the-end-of-tr.patch create mode 100644 target/linux/ipq40xx/patches-4.14/088-0006-i2c-qup-fix-the-transfer-length-for-BAM-RX-EOT-FLUSH.patch create mode 100644 target/linux/ipq40xx/patches-4.14/088-0007-i2c-qup-proper-error-handling-for-i2c-error-in-BAM-m.patch create mode 100644 target/linux/ipq40xx/patches-4.14/088-0008-i2c-qup-use-the-complete-transfer-length-to-choose-D.patch create mode 100644 target/linux/ipq40xx/patches-4.14/088-0009-i2c-qup-change-completion-timeout-according-to-trans.patch create mode 100644 target/linux/ipq40xx/patches-4.14/088-0010-i2c-qup-fix-buffer-overflow-for-multiple-msg-of-maxi.patch create mode 100644 target/linux/ipq40xx/patches-4.14/088-0011-i2c-qup-send-NACK-for-last-read-sub-transfers.patch create mode 100644 target/linux/ipq40xx/patches-4.14/088-0012-i2c-qup-reorganization-of-driver-code-to-remove-poll.patch create mode 100644 target/linux/ipq40xx/patches-4.14/088-0013-i2c-qup-reorganization-of-driver-code-to-remove-poll.patch create mode 100644 target/linux/ipq40xx/patches-4.14/181-crypto-qce-add-CRYPTO_ALG_KERN_DRIVER_ONLY-flag.patch create mode 100644 target/linux/ipq40xx/patches-4.14/303-spi-nor-enable-4B-opcodes-for-mx25l25635f.patch create mode 100644 target/linux/ipq40xx/patches-4.14/700-net-add-qualcomm-mdio-and-phy.patch create mode 100644 target/linux/ipq40xx/patches-4.14/701-dts-ipq4019-add-mdio-node.patch create mode 100644 target/linux/ipq40xx/patches-4.14/702-dts-ipq4019-add-PHY-switch-nodes.patch create mode 100644 target/linux/ipq40xx/patches-4.14/703-net-IPQ4019-needs-rfs-vlan_tag-callbacks-in.patch create mode 100644 target/linux/ipq40xx/patches-4.14/706-ar40xx-abort-probe-on-missig-phy.patch create mode 100644 target/linux/ipq40xx/patches-4.14/710-net-add-qualcomm-essedma-ethernet-driver.patch create mode 100644 target/linux/ipq40xx/patches-4.14/711-dts-ipq4019-add-ethernet-essedma-node.patch create mode 100644 target/linux/ipq40xx/patches-4.14/712-mr33-essedma.patch create mode 100644 target/linux/ipq40xx/patches-4.14/713-essedma-alloc-skb-ip-align.patch create mode 100644 target/linux/ipq40xx/patches-4.14/714-essedma-add-fix-for-memory-allocation.patch create mode 100644 target/linux/ipq40xx/patches-4.14/715-essedma-Disable-TCP-segmentation-offload-for-IPv6.patch create mode 100644 target/linux/ipq40xx/patches-4.14/850-soc-add-qualcomm-syscon.patch create mode 100644 target/linux/ipq40xx/patches-4.14/900-dts-ipq4019-ap-dk01.1.patch create mode 100644 target/linux/ipq40xx/patches-4.14/901-arm-boot-add-dts-files.patch create mode 100644 target/linux/ipq40xx/patches-4.14/997-device_tree_cmdline.patch create mode 100644 target/linux/ipq40xx/profiles/00-default.mk create mode 100644 target/linux/ipq806x/Makefile create mode 100755 target/linux/ipq806x/base-files/etc/board.d/01_leds create mode 100755 target/linux/ipq806x/base-files/etc/board.d/02_network create mode 100644 target/linux/ipq806x/base-files/etc/hotplug.d/firmware/11-ath10k-caldata create mode 100644 target/linux/ipq806x/base-files/etc/hotplug.d/ieee80211/10_fix_wifi_mac create mode 100755 target/linux/ipq806x/base-files/etc/init.d/bootcount create mode 100644 target/linux/ipq806x/base-files/etc/inittab create mode 100644 target/linux/ipq806x/base-files/lib/upgrade/buffalo.sh create mode 100644 target/linux/ipq806x/base-files/lib/upgrade/linksys.sh create mode 100644 target/linux/ipq806x/base-files/lib/upgrade/platform.sh create mode 100644 target/linux/ipq806x/base-files/lib/upgrade/zyxel.sh create mode 100644 target/linux/ipq806x/config-4.14 create mode 100644 target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-ap148.dts create mode 100644 target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-ap161.dts create mode 100644 target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-c2600.dts create mode 100644 target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-d7800.dts create mode 100644 target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-db149.dts create mode 100644 target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts create mode 100644 target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-r7500.dts create mode 100644 target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-r7500v2.dts create mode 100644 target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-v2.0.dtsi create mode 100644 target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts create mode 100644 target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-wg2600hp.dts create mode 100644 target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-wpq864.dts create mode 100644 target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-wxr-2533dhp.dts create mode 100644 target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064.dtsi create mode 100644 target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8065-nbg6817.dts create mode 100644 target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8065-r7800.dts create mode 100644 target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8065.dtsi create mode 100644 target/linux/ipq806x/generic/target.mk create mode 100644 target/linux/ipq806x/image/Makefile create mode 100644 target/linux/ipq806x/patches-4.14/0001-dtbindings-qcom_adm-Fix-channel-specifiers.patch create mode 100644 target/linux/ipq806x/patches-4.14/0002-dmaengine-Add-ADM-driver.patch create mode 100644 target/linux/ipq806x/patches-4.14/0030-clk-Disable-i2c-device-on-gsbi4.patch create mode 100644 target/linux/ipq806x/patches-4.14/0031-mtd-add-SMEM-parser-for-QCOM-platforms.patch create mode 100644 target/linux/ipq806x/patches-4.14/0032-phy-add-qcom-dwc3-phy.patch create mode 100644 target/linux/ipq806x/patches-4.14/0033-ARM-qcom-automatically-select-PCI_DOMAINS-if-PCI-is-.patch create mode 100644 target/linux/ipq806x/patches-4.14/0034-ARM-Add-Krait-L2-register-accessor-functions.patch create mode 100644 target/linux/ipq806x/patches-4.14/0035-clk-mux-Split-out-register-accessors-for-reuse.patch create mode 100644 target/linux/ipq806x/patches-4.14/0038-clk-qcom-Add-support-for-High-Frequency-PLLs-HFPLLs.patch create mode 100644 target/linux/ipq806x/patches-4.14/0039-clk-qcom-Add-HFPLL-driver.patch create mode 100644 target/linux/ipq806x/patches-4.14/0040-clk-qcom-Add-IPQ806X-s-HFPLLs.patch create mode 100644 target/linux/ipq806x/patches-4.14/0041-clk-qcom-Add-support-for-Krait-clocks.patch create mode 100644 target/linux/ipq806x/patches-4.14/0042-clk-qcom-Add-KPSS-ACC-GCC-driver.patch create mode 100644 target/linux/ipq806x/patches-4.14/0043-clk-qcom-Add-Krait-clock-controller-driver.patch create mode 100644 target/linux/ipq806x/patches-4.14/0044-clk-Add-safe-switch-hook.patch create mode 100644 target/linux/ipq806x/patches-4.14/0045-cpufreq-Add-module-to-register-cpufreq-on-Krait-CPUs.patch create mode 100644 target/linux/ipq806x/patches-4.14/0046-cpufreq-qcom-independent-core-clocks.patch create mode 100644 target/linux/ipq806x/patches-4.14/0047-mtd-nand-Create-a-BBT-flag-to-access-bad-block-marke.patch create mode 100644 target/linux/ipq806x/patches-4.14/0048-PM-OPP-HACK-Allow-to-set-regulator-without-opp_list.patch create mode 100644 target/linux/ipq806x/patches-4.14/0049-PM-OPP-Support-adjusting-OPP-voltages-at-runtime.patch create mode 100644 target/linux/ipq806x/patches-4.14/0051-PM-OPP-Add-a-helper-to-get-an-opp-regulator-for-devi.patch create mode 100644 target/linux/ipq806x/patches-4.14/0052-PM-OPP-Update-the-voltage-tolerance-when-adjusting-t.patch create mode 100644 target/linux/ipq806x/patches-4.14/0053-regulator-add-smb208-support.patch create mode 100644 target/linux/ipq806x/patches-4.14/0054-cpufreq-dt-Handle-OPP-voltage-adjust-events.patch create mode 100644 target/linux/ipq806x/patches-4.14/0055-cpufreq-dt-Add-L2-frequency-scaling-support.patch create mode 100644 target/linux/ipq806x/patches-4.14/0056-cpufreq-dt-Add-missing-rcu-locks.patch create mode 100644 target/linux/ipq806x/patches-4.14/0059-ARM-cpuidle-Add-cpuidle-support-for-QCOM-cpus.patch create mode 100644 target/linux/ipq806x/patches-4.14/0060-HACK-arch-arm-force-ZRELADDR-on-arch-qcom.patch create mode 100644 target/linux/ipq806x/patches-4.14/0061-mtd-rootfs-conflicts-with-OpenWrt-auto-mounting.patch create mode 100644 target/linux/ipq806x/patches-4.14/0062-ipq806x-gcc-Added-the-enable-regs-and-mask-for-PRNG.patch create mode 100644 target/linux/ipq806x/patches-4.14/0063-1-ipq806x-tsens-driver.patch create mode 100644 target/linux/ipq806x/patches-4.14/0063-2-tsens-support-configurable-interrupts.patch create mode 100644 target/linux/ipq806x/patches-4.14/0064-clk-clk-rpm-fixes.patch create mode 100644 target/linux/ipq806x/patches-4.14/0065-arm-override-compiler-flags.patch create mode 100644 target/linux/ipq806x/patches-4.14/0067-generic-Mangle-bootloader-s-kernel-arguments.patch create mode 100644 target/linux/ipq806x/patches-4.14/0069-arm-boot-add-dts-files.patch create mode 100644 target/linux/ipq806x/patches-4.14/0070-qcom-spm-fix-probe-order.patch create mode 100644 target/linux/ipq806x/patches-4.14/0071-1-PCI-qcom-Fixed-IPQ806x-specific-clocks.patch create mode 100644 target/linux/ipq806x/patches-4.14/0071-3-PCI-qcom-Fixed-IPQ806x-PCIE-init-changes.patch create mode 100644 target/linux/ipq806x/patches-4.14/0071-5-PCI-qcom-Programming-the-PCIE-iATU-for-IPQ806x.patch create mode 100644 target/linux/ipq806x/patches-4.14/0071-6-PCI-qcom-Force-GEN1-support.patch create mode 100644 target/linux/ipq806x/patches-4.14/0071-7-pcie-Set-PCIE-MRRS-and-MPS-to-256B.patch create mode 100644 target/linux/ipq806x/patches-4.14/0071-8-pcie-qcom-Fixed-pcie_phy_clk-branch-issue.patch create mode 100644 target/linux/ipq806x/patches-4.14/0071-9-pcie-qcom-change-duplicate-pci-reset-to-phy-reset.patch create mode 100644 target/linux/ipq806x/patches-4.14/0072-add-ipq806x-with-no-clocks.patch create mode 100644 target/linux/ipq806x/patches-4.14/0073-pinctrl-qom-use-scm_call-to-route-GPIO-irq-to-Apps.patch create mode 100644 target/linux/ipq806x/patches-4.14/0074-ipq806x-usb-Control-USB-master-reset.patch create mode 100644 target/linux/ipq806x/patches-4.14/0075-ipq8064-pinctrl-Fixed-missing-RGMII-pincontrol-defin.patch create mode 100644 target/linux/ipq806x/patches-4.14/105-mtd-nor-add-mx25l25635f.patch create mode 100644 target/linux/ipq806x/patches-4.14/310-msm-adhoc-bus-support.patch create mode 100644 target/linux/ipq806x/patches-4.14/850-soc-add-qualcomm-syscon.patch create mode 100644 target/linux/ipq806x/profiles/00-default.mk create mode 100644 target/linux/kirkwood/Makefile create mode 100755 target/linux/kirkwood/base-files/etc/board.d/01_leds create mode 100755 target/linux/kirkwood/base-files/etc/board.d/02_network create mode 100755 target/linux/kirkwood/base-files/etc/diag.sh create mode 100755 target/linux/kirkwood/base-files/etc/init.d/bootcount create mode 100755 target/linux/kirkwood/base-files/etc/init.d/hwmon_fancontrol create mode 100644 target/linux/kirkwood/base-files/lib/upgrade/linksys.sh create mode 100644 target/linux/kirkwood/base-files/lib/upgrade/platform.sh create mode 100644 target/linux/kirkwood/config-4.14 create mode 100644 target/linux/kirkwood/image/Makefile create mode 100644 target/linux/kirkwood/patches-4.14/100-ib62x0.patch create mode 100644 target/linux/kirkwood/patches-4.14/101-iconnect.patch create mode 100644 target/linux/kirkwood/patches-4.14/102-dockstar.patch create mode 100644 target/linux/kirkwood/patches-4.14/103-iomega-ix2-200.patch create mode 100644 target/linux/kirkwood/patches-4.14/104-ea3500.patch create mode 100644 target/linux/kirkwood/patches-4.14/105-ea4500.patch create mode 100644 target/linux/kirkwood/patches-4.14/105-goflexhome.patch create mode 100644 target/linux/kirkwood/patches-4.14/106-goflexnet.patch create mode 100644 target/linux/kirkwood/patches-4.14/107-01-zyxel-nsa3x0-common-nand-partitions.patch create mode 100644 target/linux/kirkwood/patches-4.14/107-02-nsa310b.patch create mode 100644 target/linux/kirkwood/patches-4.14/108-on100.patch create mode 100644 target/linux/kirkwood/patches-4.14/109-pogoplug_v4.patch create mode 100644 target/linux/kirkwood/patches-4.14/200-disable-tso.patch create mode 100644 target/linux/kirkwood/patches-4.14/201-enable-sata-port-specific-led-triggers.patch create mode 100644 target/linux/kirkwood/patches-4.14/202-linksys-find-active-root.patch create mode 100644 target/linux/kirkwood/profiles/00-default.mk create mode 100644 target/linux/lantiq/Makefile create mode 100644 target/linux/lantiq/ase/config-4.14 create mode 100644 target/linux/lantiq/ase/profiles/00-default.mk create mode 100644 target/linux/lantiq/ase/target.mk create mode 100755 target/linux/lantiq/base-files/etc/board.d/01_leds create mode 100755 target/linux/lantiq/base-files/etc/board.d/02_network create mode 100755 target/linux/lantiq/base-files/etc/hotplug.d/dsl/led_dsl.sh create mode 100755 target/linux/lantiq/base-files/etc/hotplug.d/dsl/pppoa.sh create mode 100644 target/linux/lantiq/base-files/etc/hotplug.d/firmware/11-ath10k-caldata create mode 100644 target/linux/lantiq/base-files/etc/hotplug.d/firmware/12-ath9k-eeprom create mode 100644 target/linux/lantiq/base-files/etc/inittab create mode 100644 target/linux/lantiq/base-files/etc/uci-defaults/01_led_migration create mode 100644 target/linux/lantiq/base-files/etc/uci-defaults/02_migrate_xdsl_iface create mode 100644 target/linux/lantiq/base-files/lib/functions/lantiq.sh create mode 100755 target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh create mode 100644 target/linux/lantiq/base-files/lib/preinit/05_set_preinit_iface_lantiq create mode 100755 target/linux/lantiq/base-files/lib/upgrade/platform.sh create mode 100755 target/linux/lantiq/base-files/sbin/dsl_notify.sh create mode 100644 target/linux/lantiq/config-4.14 create mode 100644 target/linux/lantiq/falcon/config-4.14 create mode 100644 target/linux/lantiq/falcon/profiles/00-default.mk create mode 100644 target/linux/lantiq/falcon/target.mk create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/ACMP252.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/ALL0333CJ.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4510PW.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4518PWR01.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4518PWR01.dtsi create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4518PWR01A.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4519PW.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4520PW.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4525PW.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV452CQW.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7506PW11.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7510PW22.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7518PW.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7519PW.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7519RW22.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV7525PW.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV752DPW.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV752DPW22.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV8539PW22.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/ASL56026.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/BTHOMEHUBV2B.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/BTHOMEHUBV3A.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/BTHOMEHUBV5A.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/DGN1000B.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/DGN3500.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/DGN3500.dtsi create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/DGN3500B.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/DM200.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY50712.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY50810.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY80920.dtsi create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY80920NAND.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY80920NOR.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY88388.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY88444.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY98000-base.dtsi create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY98000NAND.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY98000NOR.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY98000SFLASH.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY98020.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY98020V18.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY98021.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY98035SYNCE.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY98035SYNCE1588.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/FALCON-MDU.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/FALCON-SFP.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ3370-REV2-HYNIX.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ3370-REV2-MICRON.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ3370-REV2.dtsi create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7312.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7320.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7360SL.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7362SL.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ736X.dtsi create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/FRITZ7412.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/GIGASX76X.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/H201L.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/P2601HNFX.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/P2812HNUF1.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/P2812HNUF3.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/P2812HNUFX.dtsi create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/TDW8970.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/TDW8980.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/TDW89X0.dtsi create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/VG3503J.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/VGV7510KW22.dtsi create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/VGV7510KW22BRN.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/VGV7510KW22NOR.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/VGV7519.dtsi create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/VGV7519BRN.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/VGV7519NOR.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/VR200.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/VR200.dtsi create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/VR200v.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/WBMR.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/WBMR300.dts create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/amazonse.dtsi create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/ar9.dtsi create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/danube.dtsi create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/falcon-sflash-16M.dtsi create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/falcon.dtsi create mode 100644 target/linux/lantiq/files-4.14/arch/mips/boot/dts/vr9.dtsi create mode 100644 target/linux/lantiq/files/firmware/lantiq/xrx200_phy11g_a14.bin create mode 100644 target/linux/lantiq/files/firmware/lantiq/xrx200_phy11g_a22.bin create mode 100644 target/linux/lantiq/files/firmware/lantiq/xrx200_phy22f_a14.bin create mode 100644 target/linux/lantiq/files/firmware/lantiq/xrx200_phy22f_a22.bin create mode 100644 target/linux/lantiq/image/Makefile create mode 100644 target/linux/lantiq/image/eva.dummy.squashfs create mode 100644 target/linux/lantiq/image/tp-link.mk create mode 100644 target/linux/lantiq/image/ubinize-overlay.cfg create mode 100644 target/linux/lantiq/image/ubinize.cfg create mode 100644 target/linux/lantiq/modules.mk create mode 100644 target/linux/lantiq/patches-4.14/0001-MIPS-lantiq-add-pcie-driver.patch create mode 100644 target/linux/lantiq/patches-4.14/0002-gpio-stp-xway-Implement-get-callback.patch create mode 100644 target/linux/lantiq/patches-4.14/0004-MIPS-lantiq-add-atm-hack.patch create mode 100644 target/linux/lantiq/patches-4.14/0008-MIPS-lantiq-backport-old-timer-code.patch create mode 100644 target/linux/lantiq/patches-4.14/0018-MTD-nand-lots-of-xrx200-fixes.patch create mode 100644 target/linux/lantiq/patches-4.14/0020-MTD-lantiq-handle-NO_XIP-on-cfi0001-flash.patch create mode 100644 target/linux/lantiq/patches-4.14/0022-MTD-m25p80-allow-loading-mtd-name-from-OF.patch create mode 100644 target/linux/lantiq/patches-4.14/0023-NET-PHY-add-led-support-for-intel-xway.patch create mode 100644 target/linux/lantiq/patches-4.14/0024-MIPS-lantiq-autoselect-soc-rev-matching-fw.patch create mode 100644 target/linux/lantiq/patches-4.14/0025-NET-MIPS-lantiq-adds-xrx200-net.patch create mode 100644 target/linux/lantiq/patches-4.14/0027-01-net-phy-intel-xway-add-VR9-version-number.patch create mode 100644 target/linux/lantiq/patches-4.14/0027-02-net-phy-intel-xway-add-VR9-v1.1-phy-ids.patch create mode 100644 target/linux/lantiq/patches-4.14/0028-NET-lantiq-various-etop-fixes.patch create mode 100644 target/linux/lantiq/patches-4.14/0030-GPIO-add-named-gpio-exports.patch create mode 100644 target/linux/lantiq/patches-4.14/0031-I2C-MIPS-lantiq-add-FALC-ON-i2c-bus-master.patch create mode 100644 target/linux/lantiq/patches-4.14/0035-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch create mode 100644 target/linux/lantiq/patches-4.14/0042-arch-mips-increase-io_space_limit.patch create mode 100644 target/linux/lantiq/patches-4.14/0050-USB-DWC2-make-the-lantiq-settings-match-vendor-drive.patch create mode 100644 target/linux/lantiq/patches-4.14/0051-MIPS-lantiq-improve-USB-initialization.patch create mode 100644 target/linux/lantiq/patches-4.14/0101-find_active_root.patch create mode 100644 target/linux/lantiq/patches-4.14/0151-lantiq-ifxmips_pcie-use-of.patch create mode 100644 target/linux/lantiq/patches-4.14/0152-lantiq-VPE.patch create mode 100644 target/linux/lantiq/patches-4.14/0154-lantiq-pci-bar11mask-fix.patch create mode 100644 target/linux/lantiq/patches-4.14/0155-lantiq-VPE-nosmp.patch create mode 100644 target/linux/lantiq/patches-4.14/0160-owrt-lantiq-multiple-flash.patch create mode 100644 target/linux/lantiq/patches-4.14/0300-MTD-cfi-cmdset-0001-disable-buffered-writes.patch create mode 100644 target/linux/lantiq/patches-4.14/0301-xrx200-add-gphy-clk-src-device-tree-binding.patch create mode 100644 target/linux/lantiq/patches-4.14/0701-NET-lantiq-etop-of-mido.patch create mode 100644 target/linux/lantiq/xrx200/config-4.14 create mode 100644 target/linux/lantiq/xrx200/profiles/00-default.mk create mode 100644 target/linux/lantiq/xrx200/target.mk create mode 100644 target/linux/lantiq/xway/config-4.14 create mode 100644 target/linux/lantiq/xway/profiles/00-default.mk create mode 100644 target/linux/lantiq/xway/target.mk create mode 100644 target/linux/lantiq/xway_legacy/config-4.14 create mode 100644 target/linux/lantiq/xway_legacy/profiles/00-default.mk create mode 100644 target/linux/lantiq/xway_legacy/target.mk create mode 100644 target/linux/layerscape/Makefile create mode 100644 target/linux/layerscape/README create mode 100644 target/linux/layerscape/armv7/config-4.14 create mode 100644 target/linux/layerscape/armv7/target.mk create mode 100644 target/linux/layerscape/armv8_64b/config-4.14 create mode 100644 target/linux/layerscape/armv8_64b/target.mk create mode 100755 target/linux/layerscape/base-files/etc/board.d/01_led create mode 100755 target/linux/layerscape/base-files/etc/board.d/02_network create mode 100755 target/linux/layerscape/base-files/etc/board.d/03_gpio_switches create mode 100644 target/linux/layerscape/base-files/lib/preinit/05_layerscape_reorder_eth create mode 100644 target/linux/layerscape/base-files/lib/upgrade/platform.sh create mode 100644 target/linux/layerscape/files/arch/arm64/boot/dts/freescale/traverse-ls1043s.dts create mode 100644 target/linux/layerscape/files/arch/arm64/boot/dts/freescale/traverse-ls1043v.dts create mode 100644 target/linux/layerscape/image/Makefile create mode 100644 target/linux/layerscape/image/armv7.mk create mode 100644 target/linux/layerscape/image/armv8_64b.mk create mode 100755 target/linux/layerscape/image/gen_sdcard_head_img.sh create mode 100755 target/linux/layerscape/image/mkits-multiple-config.sh create mode 100644 target/linux/layerscape/modules.mk create mode 100644 target/linux/layerscape/patches-4.14/201-config-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/202-core-linux-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/301-arch-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/302-dts-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/701-dpaa2-dpio-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/702-dpaa2-ethernet-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/703-dpaa2-l2switch-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/704-dpaa2-mac-phy-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/705-dpaa2-rtc-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/706-dpaa2-virtualbridge-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/707-dpaa-ethernet-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/708-mc-bus-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/709-mdio-phy-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/710-pfe-eth-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/711-dpaa-bqman-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/712-etsec-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/713-sdk_qbman-Fix-error-in-IP-revision-comparison.patch create mode 100644 target/linux/layerscape/patches-4.14/801-sata-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/802-dma-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/803-flextimer-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/804-i2c-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/805-qe-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/806-rtc-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/807-usb-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/808-vfio-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/809-flexcan-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/810-kvm-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/811-clock-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/812-flexspi-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/813-ifc-nor-nand-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/814-ls2-console-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/815-msi-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/816-pcie-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/817-platform-security-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/818-qspi-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/819-sdhc-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/820-sec-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/821-smmu-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/822-uart-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/823-pm-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/824-ptp-support-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.14/825-tmu-support-layerscape.patch create mode 100644 target/linux/malta/Makefile create mode 100644 target/linux/malta/README create mode 100755 target/linux/malta/base-files/etc/board.d/00_model create mode 100755 target/linux/malta/base-files/etc/board.d/02_network create mode 100644 target/linux/malta/base-files/etc/inittab create mode 100644 target/linux/malta/be/config-default create mode 100644 target/linux/malta/be/target.mk create mode 100644 target/linux/malta/be64/config-default create mode 100644 target/linux/malta/be64/target.mk create mode 100644 target/linux/malta/config-4.14 create mode 100644 target/linux/malta/image/Makefile create mode 100644 target/linux/malta/le/config-default create mode 100644 target/linux/malta/le/target.mk create mode 100644 target/linux/malta/le64/config-default create mode 100644 target/linux/malta/le64/target.mk create mode 100644 target/linux/mediatek/Makefile create mode 100755 target/linux/mediatek/base-files/etc/board.d/02_network create mode 100644 target/linux/mediatek/base-files/etc/inittab create mode 100755 target/linux/mediatek/base-files/etc/uci-defaults/99-net-ps create mode 100644 target/linux/mediatek/base-files/lib/preinit/05_set_preinit_iface create mode 100644 target/linux/mediatek/base-files/lib/preinit/06_set_rps_sock_flow create mode 100644 target/linux/mediatek/base-files/lib/preinit/07_set_iface_mac create mode 100644 target/linux/mediatek/base-files/lib/preinit/79_move_config create mode 100755 target/linux/mediatek/base-files/lib/upgrade/platform.sh create mode 100644 target/linux/mediatek/image/Makefile create mode 100755 target/linux/mediatek/image/gen_mt7623_emmc_img.sh create mode 100644 target/linux/mediatek/image/mt7622.mk create mode 100644 target/linux/mediatek/image/mt7623.mk create mode 100644 target/linux/mediatek/modules.mk create mode 100644 target/linux/mediatek/mt7622/config-4.14 create mode 100644 target/linux/mediatek/mt7622/profiles/default.mk create mode 100644 target/linux/mediatek/mt7622/target.mk create mode 100644 target/linux/mediatek/mt7623/config-4.14 create mode 100644 target/linux/mediatek/mt7623/profiles/default.mk create mode 100644 target/linux/mediatek/mt7623/target.mk create mode 100644 target/linux/mediatek/patches-4.14/0006-reset-mediatek-mt2701-reset-driver.patch create mode 100644 target/linux/mediatek/patches-4.14/0012-clk-dont-disable-unused-clocks.patch create mode 100644 target/linux/mediatek/patches-4.14/0027-net-next-mediatek-fix-DQL-support.patch create mode 100644 target/linux/mediatek/patches-4.14/0032-net-dsa-mediatek-add-support-for-GMAC2-wired-to-ext-.patch create mode 100644 target/linux/mediatek/patches-4.14/0033-dsa-multi-cpu.patch create mode 100644 target/linux/mediatek/patches-4.14/0035-net-mediatek-disable-RX-VLan-offloading.patch create mode 100644 target/linux/mediatek/patches-4.14/0042-net-next-mediatek-honour-special-tag-bit-inside-RX-D.patch create mode 100644 target/linux/mediatek/patches-4.14/0043-net-next-mediatek-enable-special-tag-indication-for-.patch create mode 100644 target/linux/mediatek/patches-4.14/0044-net-next-dsa-mediatek-tell-GDMA-when-we-are-turning-.patch create mode 100644 target/linux/mediatek/patches-4.14/0045-net-dsa-mediatek-turn-into-platform-driver.patch create mode 100644 target/linux/mediatek/patches-4.14/0046-net-mediatek-add-irq-delay.patch create mode 100644 target/linux/mediatek/patches-4.14/0051-net-mediatek-increase-tx_timeout.patch create mode 100644 target/linux/mediatek/patches-4.14/0052-net-phy-add-FC.patch create mode 100644 target/linux/mediatek/patches-4.14/0062-mdio-atomic.patch create mode 100644 target/linux/mediatek/patches-4.14/0063-atomic-sleep.patch create mode 100644 target/linux/mediatek/patches-4.14/0064-dts.patch create mode 100644 target/linux/mediatek/patches-4.14/0101-reset-mediatek-add-reset-controller-dt-bindings-requ.patch create mode 100644 target/linux/mediatek/patches-4.14/0102-soc-mediatek-pwrap-fixup-warnings-from-coding-style.patch create mode 100644 target/linux/mediatek/patches-4.14/0104-usb-mtu3-support-option-to-disable-usb3-ports.patch create mode 100644 target/linux/mediatek/patches-4.14/0105-usb-mtu3-remove-dummy-wakeup-debounce-clocks.patch create mode 100644 target/linux/mediatek/patches-4.14/0106-usb-mtu3-add-optional-mcu-and-dma-bus-clocks.patch create mode 100644 target/linux/mediatek/patches-4.14/0107-usb-mtu3-support-36-bit-DMA-address.patch create mode 100644 target/linux/mediatek/patches-4.14/0108-usb-mtu3-use-FORCE-RG_IDDIG-to-implement-manual-DRD-.patch create mode 100644 target/linux/mediatek/patches-4.14/0109-usb-mtu3-add-support-for-usb3.1-IP.patch create mode 100644 target/linux/mediatek/patches-4.14/0110-usb-mtu3-get-optional-vbus-for-host-only-mode.patch create mode 100644 target/linux/mediatek/patches-4.14/0111-usb-mtu3-set-invalid-dr_mode-as-dual-role-mode.patch create mode 100644 target/linux/mediatek/patches-4.14/0112-usb-mtu3-set-otg_sel-for-u2port-only-if-works-as-dua.patch create mode 100644 target/linux/mediatek/patches-4.14/0113-dt-bindings-usb-mtu3-add-a-optional-property-to-disa.patch create mode 100644 target/linux/mediatek/patches-4.14/0114-dt-bindings-usb-mtu3-remove-dummy-clocks-and-add-opt.patch create mode 100644 target/linux/mediatek/patches-4.14/0115-dt-bindings-usb-mtu3-remove-optional-pinctrls.patch create mode 100644 target/linux/mediatek/patches-4.14/0116-dt-bindings-arm-mediatek-add-MT7622-string-to-the-PM.patch create mode 100644 target/linux/mediatek/patches-4.14/0117-soc-mediatek-pwrap-add-pwrap_read32-for-reading-in-3.patch create mode 100644 target/linux/mediatek/patches-4.14/0118-soc-mediatek-pwrap-add-pwrap_write32-for-writing-in-.patch create mode 100644 target/linux/mediatek/patches-4.14/0119-soc-mediatek-pwrap-refactor-pwrap_init-for-the-vario.patch create mode 100644 target/linux/mediatek/patches-4.14/0120-soc-mediatek-pwrap-add-MediaTek-MT6380-as-one-slave-.patch create mode 100644 target/linux/mediatek/patches-4.14/0121-soc-mediatek-pwrap-add-common-way-for-setup-CS-timin.patch create mode 100644 target/linux/mediatek/patches-4.14/0122-soc-mediatek-pwrap-add-support-for-MT7622-SoC.patch create mode 100644 target/linux/mediatek/patches-4.14/0123-soc-mediatek-place-Kconfig-for-all-SoC-drivers-under.patch create mode 100644 target/linux/mediatek/patches-4.14/0124-arm64-mediatek-cleanup-message-for-platform-selectio.patch create mode 100644 target/linux/mediatek/patches-4.14/0125-phy-phy-mtk-tphy-add-set_mode-callback.patch create mode 100644 target/linux/mediatek/patches-4.14/0126-usb-xhci-mtk-use-dma_set_mask_and_coherent-in-probe-.patch create mode 100644 target/linux/mediatek/patches-4.14/0127-usb-xhci-mtk-use-ports-count-from-xhci-in-xhci_mtk_s.patch create mode 100644 target/linux/mediatek/patches-4.14/0128-usb-xhci-mtk-check-clock-stability-of-U3_MAC.patch create mode 100644 target/linux/mediatek/patches-4.14/0129-usb-xhci-mtk-support-option-to-disable-usb3-ports.patch create mode 100644 target/linux/mediatek/patches-4.14/0130-usb-xhci-mtk-remove-dummy-wakeup-debounce-clocks.patch create mode 100644 target/linux/mediatek/patches-4.14/0131-usb-xhci-mtk-add-optional-mcu-and-dma-bus-clocks.patch create mode 100644 target/linux/mediatek/patches-4.14/0132-usb-host-modify-description-for-MTK-xHCI-config.patch create mode 100644 target/linux/mediatek/patches-4.14/0133-dt-bindings-usb-mtk-xhci-add-a-optional-property-to-.patch create mode 100644 target/linux/mediatek/patches-4.14/0134-dt-bindings-usb-mtk-xhci-remove-dummy-clocks-and-add.patch create mode 100644 target/linux/mediatek/patches-4.14/0135-dt-bindings-mtd-add-new-compatible-strings-and-impro.patch create mode 100644 target/linux/mediatek/patches-4.14/0136-mtd-mtk-nor-add-suspend-resume-support.patch create mode 100644 target/linux/mediatek/patches-4.14/0137-dt-bindings-rtc-mediatek-add-bindings-for-MediaTek-S.patch create mode 100644 target/linux/mediatek/patches-4.14/0138-rtc-mediatek-add-driver-for-RTC-on-MT7622-SoC.patch create mode 100644 target/linux/mediatek/patches-4.14/0139-rtc-mediatek-enhance-the-description-for-MediaTek-PM.patch create mode 100644 target/linux/mediatek/patches-4.14/0140-mtd-nand-mtk-change-the-compile-sequence-of-mtk_nand.patch create mode 100644 target/linux/mediatek/patches-4.14/0142-mmc-dt-bindings-Add-reg-source_cg-latch-ck-for-Media.patch create mode 100644 target/linux/mediatek/patches-4.14/0143-mmc-mediatek-add-support-of-mt2701-mt2712.patch create mode 100644 target/linux/mediatek/patches-4.14/0144-dt-bindings-ARM-Mediatek-Document-bindings-for-MT271.patch create mode 100644 target/linux/mediatek/patches-4.14/0145-clk-mediatek-Add-dt-bindings-for-MT2712-clocks.patch create mode 100644 target/linux/mediatek/patches-4.14/0146-clk-mediatek-Add-MT2712-clock-support.patch create mode 100644 target/linux/mediatek/patches-4.14/0147-dt-bindings-clock-mediatek-document-clk-bindings-for.patch create mode 100644 target/linux/mediatek/patches-4.14/0149-clk-mediatek-add-clocks-dt-bindings-required-header-.patch create mode 100644 target/linux/mediatek/patches-4.14/0150-clk-mediatek-add-clock-support-for-MT7622-SoC.patch create mode 100644 target/linux/mediatek/patches-4.14/0151-arm64-dts-mt8173-remove-mediatek-mt8135-mmc-from-mmc.patch create mode 100644 target/linux/mediatek/patches-4.14/0152-mmc-mediatek-make-hs400_tune_response-only-for-mt817.patch create mode 100644 target/linux/mediatek/patches-4.14/0153-mmc-mediatek-add-pad_tune0-support.patch create mode 100644 target/linux/mediatek/patches-4.14/0154-mmc-mediatek-add-async-fifo-and-data-tune-support.patch create mode 100644 target/linux/mediatek/patches-4.14/0155-mmc-mediatek-add-busy_check-support.patch create mode 100644 target/linux/mediatek/patches-4.14/0156-mmc-mediatek-add-stop_clk-fix-and-enhance_rx-support.patch create mode 100644 target/linux/mediatek/patches-4.14/0157-mmc-mediatek-add-support-of-source_cg-clock.patch create mode 100644 target/linux/mediatek/patches-4.14/0158-mmc-mediatek-add-latch-ck-support.patch create mode 100644 target/linux/mediatek/patches-4.14/0159-mmc-mediatek-improve-eMMC-hs400-mode-read-performanc.patch create mode 100644 target/linux/mediatek/patches-4.14/0160-mmc-mediatek-perfer-to-use-rise-edge-latching-for-cm.patch create mode 100644 target/linux/mediatek/patches-4.14/0161-pwm-mediatek-Add-MT2712-MT7622-support.patch create mode 100644 target/linux/mediatek/patches-4.14/0162-mtd-nand-mtk-use-nand_reset-to-reset-NAND-devices-in.patch create mode 100644 target/linux/mediatek/patches-4.14/0164-cpufreq-mediatek-add-mt2712-into-compatible-list.patch create mode 100644 target/linux/mediatek/patches-4.14/0165-mtd-nand-mtk-update-DT-bindings.patch create mode 100644 target/linux/mediatek/patches-4.14/0166-mtd-nand-mtk-Support-different-MTK-NAND-flash-contro.patch create mode 100644 target/linux/mediatek/patches-4.14/0167-mtd-nand-mtk-Support-MT7622-NAND-flash-controller.patch create mode 100644 target/linux/mediatek/patches-4.14/0168-mmc-dt-bindings-add-mmc-support-to-MT7623-SoC.patch create mode 100644 target/linux/mediatek/patches-4.14/0169-dt-bindings-pinctrl-add-bindings-for-MediaTek-MT7622.patch create mode 100644 target/linux/mediatek/patches-4.14/0170-pinctrl-mediatek-cleanup-for-placing-all-drivers-und.patch create mode 100644 target/linux/mediatek/patches-4.14/0171-pinctrl-mediatek-add-pinctrl-driver-for-MT7622-SoC.patch create mode 100644 target/linux/mediatek/patches-4.14/0172-clk-mediatek-group-drivers-under-indpendent-menu.patch create mode 100644 target/linux/mediatek/patches-4.14/0173-clk-mediatek-fixup-test-building-of-MediaTek-clock-d.patch create mode 100644 target/linux/mediatek/patches-4.14/0174-dt-bindings-net-mediatek-add-condition-to-property-m.patch create mode 100644 target/linux/mediatek/patches-4.14/0175-net-mediatek-remove-superfluous-pin-setup-for-MT7622.patch create mode 100644 target/linux/mediatek/patches-4.14/0176-clk-mediatek-Fix-all-warnings-for-missing-struct-clk.patch create mode 100644 target/linux/mediatek/patches-4.14/0178-phy-phy-mtk-tphy-make-shared-banks-optional-for-V1-T.patch create mode 100644 target/linux/mediatek/patches-4.14/0179-phy-phy-mtk-tphy-use-of_device_get_match_data.patch create mode 100644 target/linux/mediatek/patches-4.14/0180-ASoC-mediatek-fix-error-handling-in-mt2701_afe_pcm_d.patch create mode 100644 target/linux/mediatek/patches-4.14/0181-ASoC-mediatek-rework-clock-functions-for-MT2701.patch create mode 100644 target/linux/mediatek/patches-4.14/0182-ASoC-mediatek-cleanup-audio-driver-for-MT2701.patch create mode 100644 target/linux/mediatek/patches-4.14/0183-ASoC-mediatek-update-clock-related-properties-of-MT2.patch create mode 100644 target/linux/mediatek/patches-4.14/0184-ASoC-mediatek-add-some-core-clocks-for-MT2701-AFE.patch create mode 100644 target/linux/mediatek/patches-4.14/0185-ASoC-mediatek-modify-MT2701-AFE-driver-to-adapt-mfd-.patch create mode 100644 target/linux/mediatek/patches-4.14/0186-ASoC-mediatek-update-MT2701-AFE-documentation-to-ada.patch create mode 100644 target/linux/mediatek/patches-4.14/0187-usb-mtu3-fix-error-code-for-getting-extcon-device.patch create mode 100644 target/linux/mediatek/patches-4.14/0188-usb-mtu3-supports-remote-wakeup-for-mt2712-with-two-.patch create mode 100644 target/linux/mediatek/patches-4.14/0189-dt-bindings-usb-mtu3-update-USB-wakeup-properties.patch create mode 100644 target/linux/mediatek/patches-4.14/0190-usb-xhci-mtk-supports-remote-wakeup-for-mt2712-with-.patch create mode 100644 target/linux/mediatek/patches-4.14/0191-usb-xhci-allow-imod-interval-to-be-configurable.patch create mode 100644 target/linux/mediatek/patches-4.14/0192-dt-bindings-usb-mtk-xhci-update-USB-wakeup-propertie.patch create mode 100644 target/linux/mediatek/patches-4.14/0193-clk-mediatek-adjust-dependency-of-reset.c-to-avoid-u.patch create mode 100644 target/linux/mediatek/patches-4.14/0194-pinctrl-mediatek-mt7622-fix-potential-uninitialized-.patch create mode 100644 target/linux/mediatek/patches-4.14/0195-pinctrl-mediatek-mt7622-align-error-handling-of-mtk_.patch create mode 100644 target/linux/mediatek/patches-4.14/0196-mtd-mtk-nor-modify-functions-name-more-generally.patch create mode 100644 target/linux/mediatek/patches-4.14/0197-hwrng-mediatek-Setup-default-RNG-quality.patch create mode 100644 target/linux/mediatek/patches-4.14/0198-dt-bindings-thermal-add-binding-for-MT7622-SoC.patch create mode 100644 target/linux/mediatek/patches-4.14/0199-thermal-mtk-Cleanup-unused-defines.patch create mode 100644 target/linux/mediatek/patches-4.14/0200-thermal-mediatek-add-support-for-MT7622-SoC.patch create mode 100644 target/linux/mediatek/patches-4.14/0201-dt-bindings-clock-mediatek-add-missing-required-rese.patch create mode 100644 target/linux/mediatek/patches-4.14/0202-mmc-dt-bindings-add-support-for-MT7622-SoC.patch create mode 100644 target/linux/mediatek/patches-4.14/0203-mmc-mediatek-add-support-for-MT7622-SoC.patch create mode 100644 target/linux/mediatek/patches-4.14/0204-dt-bindings-dmaengine-Add-MediaTek-High-Speed-DMA-co.patch create mode 100644 target/linux/mediatek/patches-4.14/0205-dmaengine-mediatek-Add-MediaTek-High-Speed-DMA-contr.patch create mode 100644 target/linux/mediatek/patches-4.14/0206-dt-bindings-clock-mediatek-update-audsys-documentati.patch create mode 100644 target/linux/mediatek/patches-4.14/0207-dt-bindings-clock-mediatek-add-audsys-support-for-MT.patch create mode 100644 target/linux/mediatek/patches-4.14/0208-clk-mediatek-update-missing-clock-data-for-MT7622-au.patch create mode 100644 target/linux/mediatek/patches-4.14/0209-clk-mediatek-add-devm_of_platform_populate-for-MT762.patch create mode 100644 target/linux/mediatek/patches-4.14/0210-arm64-dts-mt7622-add-clock-controller-device-nodes.patch create mode 100644 target/linux/mediatek/patches-4.14/0211-arm64-dts-mt7622-add-power-domain-controller-device-.patch create mode 100644 target/linux/mediatek/patches-4.14/0212-arm64-dts-mt7622-add-pinctrl-related-device-nodes.patch create mode 100644 target/linux/mediatek/patches-4.14/0213-arm64-dts-mt7622-add-PMIC-MT6380-related-nodes.patch create mode 100644 target/linux/mediatek/patches-4.14/0214-arm64-dts-mt7622-add-cpufreq-related-device-nodes.patch create mode 100644 target/linux/mediatek/patches-4.14/0215-arm64-dts-mt7622-turn-uart0-clock-to-real-ones.patch create mode 100644 target/linux/mediatek/patches-4.14/0216-arm64-dts-mt7622-add-SoC-and-peripheral-related-devi.patch create mode 100644 target/linux/mediatek/patches-4.14/0217-arm64-dts-mt7622-add-flash-related-device-nodes.patch create mode 100644 target/linux/mediatek/patches-4.14/0218-arm64-dts-mt7622-add-ethernet-device-nodes.patch create mode 100644 target/linux/mediatek/patches-4.14/0219-arm64-dts-mt7622-add-PCIe-device-nodes.patch create mode 100644 target/linux/mediatek/patches-4.14/0220-arm64-dts-mt7622-add-SATA-device-nodes.patch create mode 100644 target/linux/mediatek/patches-4.14/0221-arm64-dts-mt7622-add-usb-device-nodes.patch create mode 100644 target/linux/mediatek/patches-4.14/0222-arm64-dts-mt7622-add-High-Speed-DMA-device-nodes.patch create mode 100644 target/linux/mediatek/patches-4.14/0223-arm64-dts-mt7622-add-mmc-related-device-nodes.patch create mode 100644 target/linux/mediatek/patches-4.14/0224-add-mt7622-defconfig-for-testing-these-new-drivers.patch create mode 100644 target/linux/mediatek/patches-4.14/0225-arm-dts-Add-missing-mt7623-pcie-nodes.patch create mode 100644 target/linux/mediatek/patches-4.14/0226-phy-phy-mtk-tphy-Add-hifsys-support.patch create mode 100644 target/linux/mediatek/patches-4.14/0227-arm-dts-Add-Unielec-U7623-DTS.patch create mode 100644 target/linux/mpc85xx/Makefile create mode 100755 target/linux/mpc85xx/base-files/etc/board.d/02_network create mode 100644 target/linux/mpc85xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom create mode 100644 target/linux/mpc85xx/base-files/etc/hotplug.d/ieee80211/05-wifi-migrate create mode 100644 target/linux/mpc85xx/base-files/etc/hotplug.d/ieee80211/10-fix-wifi-mac create mode 100644 target/linux/mpc85xx/base-files/lib/preinit/05_set_preinit_iface_mpc85xx create mode 100755 target/linux/mpc85xx/base-files/lib/upgrade/platform.sh create mode 100644 target/linux/mpc85xx/config-4.14 create mode 100644 target/linux/mpc85xx/files/arch/powerpc/boot/dts/hiveap-330.dts create mode 100644 target/linux/mpc85xx/files/arch/powerpc/boot/dts/panda.dts create mode 100644 target/linux/mpc85xx/files/arch/powerpc/boot/dts/red-15w-rev1.dts create mode 100644 target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts create mode 100644 target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3710i.dts create mode 100644 target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/hiveap-330.c create mode 100644 target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/panda.c create mode 100644 target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/red15w_rev1.c create mode 100644 target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/tl_wdr4900_v1.c create mode 100644 target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/ws-ap3710i.c create mode 100644 target/linux/mpc85xx/generic/config-default create mode 100644 target/linux/mpc85xx/generic/profiles/00-default.mk create mode 100644 target/linux/mpc85xx/generic/target.mk create mode 100644 target/linux/mpc85xx/image/Makefile create mode 100644 target/linux/mpc85xx/p1020/config-default create mode 100644 target/linux/mpc85xx/p1020/profiles/00-default.mk create mode 100644 target/linux/mpc85xx/p1020/target.mk create mode 100644 target/linux/mpc85xx/p2020/config-default create mode 100644 target/linux/mpc85xx/p2020/profiles/00-default.mk create mode 100644 target/linux/mpc85xx/p2020/target.mk create mode 100644 target/linux/mpc85xx/patches-4.14/001-powerpc-85xx-add-gpio-keys-to-of-match-table.patch create mode 100644 target/linux/mpc85xx/patches-4.14/100-powerpc-85xx-tl-wdr4900-v1-support.patch create mode 100644 target/linux/mpc85xx/patches-4.14/101-powerpc-85xx-hiveap-330-support.patch create mode 100644 target/linux/mpc85xx/patches-4.14/102-powerpc-add-cmdline-override.patch create mode 100644 target/linux/mpc85xx/patches-4.14/103-powerpc-fix-build-cross32ar.patch create mode 100644 target/linux/mpc85xx/patches-4.14/104-powerpc-mpc85xx-change-P2020RDB-dts-file-for-OpenWRT.patch create mode 100644 target/linux/mpc85xx/patches-4.14/105-powerpc-85xx-red-15w-rev1.patch create mode 100644 target/linux/mpc85xx/patches-4.14/106-powerpc-85xx-panda-support.patch create mode 100644 target/linux/mpc85xx/patches-4.14/107-powerpc-85xx-ws-ap3710i-support.patch create mode 100644 target/linux/mvebu/Makefile create mode 100755 target/linux/mvebu/base-files/etc/board.d/01_leds create mode 100755 target/linux/mvebu/base-files/etc/board.d/02_network create mode 100644 target/linux/mvebu/base-files/etc/diag.sh create mode 100644 target/linux/mvebu/base-files/etc/hotplug.d/ieee80211/00-wifi-config-migrate create mode 100755 target/linux/mvebu/base-files/etc/init.d/bootcount create mode 100644 target/linux/mvebu/base-files/etc/uci-defaults/03_wireless create mode 100644 target/linux/mvebu/base-files/etc/uci-defaults/04_mambafan create mode 100644 target/linux/mvebu/base-files/etc/uci-defaults/35_turris-omnia_uboot-env create mode 100644 target/linux/mvebu/base-files/lib/preinit/06_set_iface_mac create mode 100644 target/linux/mvebu/base-files/lib/preinit/79_move_config create mode 100644 target/linux/mvebu/base-files/lib/preinit/81_linksys_syscfg create mode 100644 target/linux/mvebu/base-files/lib/upgrade/linksys.sh create mode 100755 target/linux/mvebu/base-files/lib/upgrade/platform.sh create mode 100644 target/linux/mvebu/base-files/lib/upgrade/sdcard.sh create mode 100755 target/linux/mvebu/base-files/sbin/fan_ctrl.sh create mode 100644 target/linux/mvebu/config-4.14 create mode 100644 target/linux/mvebu/cortexa53/config-default create mode 100644 target/linux/mvebu/cortexa53/target.mk create mode 100644 target/linux/mvebu/cortexa72/config-default create mode 100644 target/linux/mvebu/cortexa72/target.mk create mode 100644 target/linux/mvebu/cortexa9/target.mk create mode 100644 target/linux/mvebu/files-4.14/arch/arm/boot/dts/armada-385-linksys-venom.dts create mode 100644 target/linux/mvebu/files-4.14/arch/arm64/boot/dts/marvell/armada-3720-espressobin-emmc.dts create mode 100644 target/linux/mvebu/files-4.14/arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7-emmc.dts create mode 100644 target/linux/mvebu/files-4.14/arch/arm64/boot/dts/marvell/armada-3720-espressobin-v7.dts create mode 100644 target/linux/mvebu/image/Makefile create mode 100644 target/linux/mvebu/image/clearfog.bootscript create mode 100644 target/linux/mvebu/image/cortex-a53.mk create mode 100644 target/linux/mvebu/image/cortex-a72.mk create mode 100644 target/linux/mvebu/image/cortex-a9.mk create mode 100644 target/linux/mvebu/image/espressobin.bootscript create mode 100755 target/linux/mvebu/image/gen_mvebu_sdcard_img.sh create mode 100644 target/linux/mvebu/image/generic-arm64.bootscript create mode 100644 target/linux/mvebu/image/turris-omnia.bootscript create mode 100644 target/linux/mvebu/patches-4.14/002-add_powertables.patch create mode 100644 target/linux/mvebu/patches-4.14/003-add_switch_nodes.patch create mode 100644 target/linux/mvebu/patches-4.14/004-add_sata_disk_activity_trigger.patch create mode 100644 target/linux/mvebu/patches-4.14/005-linksys_hardcode_nand_ecc_settings.patch create mode 100644 target/linux/mvebu/patches-4.14/006-mvebu-Mangle-bootloader-s-kernel-arguments.patch create mode 100644 target/linux/mvebu/patches-4.14/100-find_active_root.patch create mode 100644 target/linux/mvebu/patches-4.14/102-revert_i2c_delay.patch create mode 100644 target/linux/mvebu/patches-4.14/103-remove-nand-driver-bug.patch create mode 100644 target/linux/mvebu/patches-4.14/104-linksys_mamba_disable_keep_config.patch create mode 100644 target/linux/mvebu/patches-4.14/110-pxa3xxx_revert_irq_thread.patch create mode 100644 target/linux/mvebu/patches-4.14/205-armada-385-rd-mtd-partitions.patch create mode 100644 target/linux/mvebu/patches-4.14/206-ARM-mvebu-385-ap-Add-partitions.patch create mode 100644 target/linux/mvebu/patches-4.14/210-clearfog_switch_node.patch create mode 100644 target/linux/mvebu/patches-4.14/220-disable-untested-dsa-boards.patch create mode 100644 target/linux/mvebu/patches-4.14/230-armada-xp-linksys-mamba-broken-idle.patch create mode 100644 target/linux/mvebu/patches-4.14/300-mvneta-tx-queue-workaround.patch create mode 100644 target/linux/mvebu/patches-4.14/400-cpuidle-mvebu-indicate-failure-to-enter-deeper-sleep.patch create mode 100644 target/linux/mvebu/patches-4.14/401-pci-mvebu-time-out-reset-on-link-up.patch create mode 100644 target/linux/mvebu/patches-4.14/402-sfp-display-SFP-module-information.patch create mode 100644 target/linux/mvebu/patches-4.14/403-net-mvneta-convert-to-phylink.patch create mode 100644 target/linux/mvebu/patches-4.14/404-net-mvneta-hack-fix-phy_interface.patch create mode 100644 target/linux/mvebu/patches-4.14/405-net-mvneta-disable-MVNETA_CAUSE_PSC_SYNC_CHANGE-inte.patch create mode 100644 target/linux/mvebu/patches-4.14/406-net-mvneta-add-module-EEPROM-reading-support.patch create mode 100644 target/linux/mvebu/patches-4.14/407-phy-fixed-phy-remove-fixed_phy_update_state.patch create mode 100644 target/linux/mvebu/patches-4.14/408-sfp-move-module-eeprom-ethtool-access-into-netdev-co.patch create mode 100644 target/linux/mvebu/patches-4.14/409-sfp-use-netdev-sfp_bus-for-start-stop.patch create mode 100644 target/linux/mvebu/patches-4.14/410-sfp-hack-allow-marvell-10G-phy-support-to-use-SFP.patch create mode 100644 target/linux/mvebu/patches-4.14/411-sfp-add-sfp-compatible.patch create mode 100644 target/linux/mvebu/patches-4.14/412-ARM-dts-armada388-clearfog-emmc-on-clearfog-base.patch create mode 100644 target/linux/mvebu/patches-4.14/413-ARM-dts-armada388-clearfog-increase-speed-of-i2c0-to.patch create mode 100644 target/linux/mvebu/patches-4.14/414-ARM-dts-armada388-clearfog-add-SFP-module-support.patch create mode 100644 target/linux/mvebu/patches-4.14/415-ARM-dts-armada388-clearfog-document-MPP-usage.patch create mode 100644 target/linux/mvebu/patches-4.14/420-rtc-armada38x-add-support-for-trimming-the-RTC.patch create mode 100644 target/linux/mvebu/patches-4.14/421-rtc-armada38x-reset-after-rtc-power-loss.patch create mode 100644 target/linux/mvebu/patches-4.14/423-ARM-dts-armada-385-linksys-Disable-internal-RTC.patch create mode 100644 target/linux/mvebu/patches-4.14/450-reprobe_sfp_phy.patch create mode 100644 target/linux/mvebu/patches-4.14/501-spi-a3700-Change-SPI-mode-before-asserting-chip-sele.patch create mode 100644 target/linux/mvebu/patches-4.14/502-arm64-dts-marvell-armada-37xx-add-UART-clock.patch create mode 100644 target/linux/mvebu/patches-4.14/503-clk-mvebu-armada-37xx-periph-cosmetic-changes.patch create mode 100644 target/linux/mvebu/patches-4.14/504-clk-mvebu-armada-37xx-periph-prepare-cpu-clk-to-be-u.patch create mode 100644 target/linux/mvebu/patches-4.14/505-clk-mvebu-armada-37xx-periph-add-DVFS-support-for-cp.patch create mode 100644 target/linux/mvebu/patches-4.14/506-cpufreq-Add-DVFS-support-for-Armada-37xx.patch create mode 100644 target/linux/mvebu/patches-4.14/507-arm64-dts-marvell-armada-37xx-add-nodes-allowing-cpu.patch create mode 100644 target/linux/mvebu/patches-4.14/508-arm64-dts-armada-3720-espressobin-wire-up-spi-flash.patch create mode 100644 target/linux/mvebu/patches-4.14/509-cpufreq-armada-37xx-Fix-clock-leak.patch create mode 100644 target/linux/mvebu/patches-4.14/510-clk-mvebu-armada-37xx-periph-Fix-switching-CPU-rate-.patch create mode 100644 target/linux/mvebu/patches-4.14/511-clk-mvebu-armada-37xx-periph-Fix-wrong-return-value-.patch create mode 100644 target/linux/mvebu/patches-4.14/512-clk-mvebu-armada-37xx-periph-Remove-unused-var-num_p.patch create mode 100644 target/linux/mvebu/patches-4.14/513-arm64-dts-marvell-armada37xx-Add-emmc-sdio-pinctrl-d.patch create mode 100644 target/linux/mvebu/patches-4.14/514-arm64-dts-marvell-armada-37xx-Enable-emmc-on-espress.patch create mode 100644 target/linux/mvebu/patches-4.14/520-arm64-dts-marvell-armada37xx-Add-eth0-alias.patch create mode 100644 target/linux/mvebu/patches-4.14/521-arm64-dts-armada-3720-espressobin-correct-spi-node.patch create mode 100644 target/linux/mvebu/patches-4.14/522-arm64-dts-marvell-armada-3720-espressobin-add-ports-.patch create mode 100644 target/linux/mvebu/patches-4.14/524-PCI-aardvark-set-host-and-device-to-the-same-MAX-payload-size.patch create mode 100644 target/linux/mvebu/patches-4.14/527-PCI-aardvark-allow-to-specify-link-capability.patch create mode 100644 target/linux/mvebu/patches-4.14/528-arm64-dts-armada-3720-espressobin-set-max-link-to-ge.patch create mode 100644 target/linux/mvebu/patches-4.14/529-armada388-clearfog-enable-spi-flash.patch create mode 100644 target/linux/mxs/Makefile create mode 100755 target/linux/mxs/base-files/etc/board.d/02_network create mode 100644 target/linux/mxs/base-files/etc/diag.sh create mode 100644 target/linux/mxs/base-files/etc/inittab create mode 100644 target/linux/mxs/config-4.14 create mode 100644 target/linux/mxs/image/Config.in create mode 100644 target/linux/mxs/image/Makefile create mode 100755 target/linux/mxs/image/gen_sdcard_ext4_ext4.sh create mode 100755 target/linux/mxs/image/gen_sdcard_vfat_ext4.sh create mode 100644 target/linux/mxs/patches-4.14/110-crypto-mxsdcp-provide-importexport.patch create mode 100644 target/linux/mxs/profiles/01-duckbill.mk create mode 100644 target/linux/mxs/profiles/02-olinuxino-maxi.mk create mode 100644 target/linux/mxs/profiles/03-olinuxino-micro.mk create mode 100644 target/linux/octeon/Makefile create mode 100755 target/linux/octeon/base-files/etc/board.d/01_network create mode 100644 target/linux/octeon/base-files/lib/preinit/01_sysinfo create mode 100644 target/linux/octeon/base-files/lib/preinit/79_move_config create mode 100755 target/linux/octeon/base-files/lib/upgrade/platform.sh create mode 100644 target/linux/octeon/config-4.14 create mode 100644 target/linux/octeon/image/Makefile create mode 100644 target/linux/octeon/patches-4.14/100-ubnt_edgerouter2_support.patch create mode 100644 target/linux/octeon/patches-4.14/110-er200-ethernet_probe_order.patch create mode 100644 target/linux/octeon/patches-4.14/160-cmdline-hack.patch create mode 100644 target/linux/octeon/patches-4.14/170-cisco-hack.patch create mode 100644 target/linux/octeon/profiles/000-Generic.mk create mode 100644 target/linux/octeontx/Makefile create mode 100755 target/linux/octeontx/base-files/etc/board.d/02_network create mode 100644 target/linux/octeontx/base-files/etc/inittab create mode 100644 target/linux/octeontx/config-4.14 create mode 100644 target/linux/octeontx/image/Makefile create mode 100644 target/linux/octeontx/patches-4.14/0001-net-thunderx-add-support-for-rgmii-internal-delay-mo.patch create mode 100644 target/linux/omap/Makefile create mode 100644 target/linux/omap/base-files/etc/inittab create mode 100644 target/linux/omap/base-files/lib/preinit/79_move_config create mode 100644 target/linux/omap/base-files/lib/upgrade/platform.sh create mode 100644 target/linux/omap/config-4.14 create mode 100644 target/linux/omap/image/Config.in create mode 100644 target/linux/omap/image/Makefile create mode 100755 target/linux/omap/image/gen_omap_sdcard_img.sh create mode 100644 target/linux/omap/image/ubinize.cfg create mode 100644 target/linux/omap/profiles/00-default.mk create mode 100644 target/linux/oxnas/Makefile create mode 100755 target/linux/oxnas/base-files/etc/board.d/02_network create mode 100755 target/linux/oxnas/base-files/etc/init.d/set-irq-affinity create mode 100644 target/linux/oxnas/base-files/lib/upgrade/platform.sh create mode 100644 target/linux/oxnas/config-4.14 create mode 100644 target/linux/oxnas/files/arch/arm/boot/dts/ox820-akitio-mycloud.dts create mode 100644 target/linux/oxnas/files/arch/arm/boot/dts/ox820-cloudengines-pogoplugpro.dts create mode 100644 target/linux/oxnas/files/arch/arm/boot/dts/ox820-mitrastar-stg-212.dts create mode 100644 target/linux/oxnas/files/arch/arm/boot/dts/ox820-shuttle-kd20.dts create mode 100644 target/linux/oxnas/files/arch/arm/include/debug/uncompress-ox820.h create mode 100644 target/linux/oxnas/files/drivers/ata/sata_oxnas.c create mode 100644 target/linux/oxnas/files/drivers/pci/host/pcie-oxnas.c create mode 100644 target/linux/oxnas/files/drivers/phy/phy-oxnas-pcie.c create mode 100644 target/linux/oxnas/files/drivers/power/reset/oxnas-restart.c create mode 100644 target/linux/oxnas/files/drivers/usb/host/ehci-oxnas.c create mode 100644 target/linux/oxnas/image/Makefile create mode 100644 target/linux/oxnas/image/ox810se.mk create mode 100644 target/linux/oxnas/image/ox820.mk create mode 100644 target/linux/oxnas/modules.mk create mode 100644 target/linux/oxnas/ox810se/config-default create mode 100644 target/linux/oxnas/ox810se/profiles/00-default.mk create mode 100644 target/linux/oxnas/ox810se/target.mk create mode 100644 target/linux/oxnas/ox820/config-default create mode 100644 target/linux/oxnas/ox820/profiles/00-default.mk create mode 100644 target/linux/oxnas/ox820/target.mk create mode 100644 target/linux/oxnas/patches-4.14/0001-ARM-dts-rename-oxnas-dts-files.patch create mode 100644 target/linux/oxnas/patches-4.14/0002-MAINTAINERS-update-ARM-OXNAS-platform-support-patter.patch create mode 100644 target/linux/oxnas/patches-4.14/0003-ARM-configs-add-OXNAS-v6-defconfig.patch create mode 100644 target/linux/oxnas/patches-4.14/010-add-console-to-pogoplogv3-bootargs.patch create mode 100644 target/linux/oxnas/patches-4.14/020-nand-partitions-on-pogoplug-v3.patch create mode 100644 target/linux/oxnas/patches-4.14/030-led-aliases-on-pogoplug-v3.patch create mode 100644 target/linux/oxnas/patches-4.14/040-pogoplug-series-3-compatible-string.patch create mode 100644 target/linux/oxnas/patches-4.14/050-ox820-remove-left-overs.patch create mode 100644 target/linux/oxnas/patches-4.14/100-oxnas-clk-plla-pllb.patch create mode 100644 target/linux/oxnas/patches-4.14/150-oxnas-restart.patch create mode 100644 target/linux/oxnas/patches-4.14/320-oxnas-phy-pcie.patch create mode 100644 target/linux/oxnas/patches-4.14/340-oxnas-pcie.patch create mode 100644 target/linux/oxnas/patches-4.14/500-oxnas-sata.patch create mode 100644 target/linux/oxnas/patches-4.14/510-ox820-libata-leds.patch create mode 100644 target/linux/oxnas/patches-4.14/800-oxnas-ehci.patch create mode 100644 target/linux/oxnas/patches-4.14/996-generic-Mangle-bootloader-s-kernel-arguments.patch create mode 100644 target/linux/oxnas/patches-4.14/999-libata-hacks.patch create mode 100644 target/linux/pistachio/Makefile create mode 100755 target/linux/pistachio/base-files/etc/board.d/02_network create mode 100755 target/linux/pistachio/base-files/etc/diag.sh create mode 100755 target/linux/pistachio/base-files/lib/upgrade/platform.sh create mode 100644 target/linux/pistachio/config-4.14 create mode 100644 target/linux/pistachio/image/Makefile create mode 100644 target/linux/pistachio/patches-4.14/101-dmaengine-img-mdc-Handle-early-status-read.patch create mode 100644 target/linux/pistachio/patches-4.14/102-spi-img-spfi-Implement-dual-and-quad-mode.patch create mode 100644 target/linux/pistachio/patches-4.14/103-spi-img-spfi-set-device-select-bits-for-SPFI-port-st.patch create mode 100644 target/linux/pistachio/patches-4.14/104-spi-img-spfi-use-device-0-configuration-for-all-devi.patch create mode 100644 target/linux/pistachio/patches-4.14/105-spi-img-spfi-RX-maximum-burst-size-for-DMA-is-8.patch create mode 100644 target/linux/pistachio/patches-4.14/106-spi-img-spfi-finish-every-transfer-cleanly.patch create mode 100644 target/linux/pistachio/patches-4.14/107-clockevents-Retry-programming-min-delta-up-to-10-tim.patch create mode 100644 target/linux/pistachio/patches-4.14/108-clk-pistachio-Fix-wrong-SDHost-card-speed.patch create mode 100644 target/linux/pistachio/patches-4.14/109-MIPS-DTS-img-marduk-switch-mmc-to-1-bit-mode.patch create mode 100644 target/linux/pistachio/patches-4.14/401-mtd-nor-support-mtd-name-from-device-tree.patch create mode 100644 target/linux/pistachio/patches-4.14/411-mtd-nand-Check-length-of-ID-before-reading-bits-per-.patch create mode 100644 target/linux/pistachio/patches-4.14/412-mtd-nand-Add-JEDEC-manufacturer-ID-for-Gigadevice.patch create mode 100644 target/linux/pistachio/patches-4.14/413-mtd-Introduce-SPI-NAND-framework.patch create mode 100644 target/linux/pistachio/patches-4.14/414-mtd-spi-nand-Support-Gigadevice-GD5F.patch create mode 100644 target/linux/pistachio/patches-4.14/901-MIPS-DTS-img-marduk-add-nor-partition-name.patch create mode 100644 target/linux/pistachio/patches-4.14/902-MIPS-DTS-img-marduk-add-nand-device-support.patch create mode 100644 target/linux/pistachio/profiles/00-default.mk create mode 100644 target/linux/ramips/Makefile create mode 100755 target/linux/ramips/base-files/etc/board.d/01_leds create mode 100755 target/linux/ramips/base-files/etc/board.d/02_network create mode 100755 target/linux/ramips/base-files/etc/board.d/03_gpio_switches create mode 100644 target/linux/ramips/base-files/etc/hotplug.d/firmware/10-rt2x00-eeprom create mode 100644 target/linux/ramips/base-files/etc/hotplug.d/usb/10-motion create mode 100755 target/linux/ramips/base-files/etc/init.d/bootcount create mode 100755 target/linux/ramips/base-files/etc/init.d/set-irq-affinity create mode 100644 target/linux/ramips/base-files/etc/inittab create mode 100644 target/linux/ramips/base-files/etc/uci-defaults/09_fix-checksum create mode 100644 target/linux/ramips/base-files/lib/preinit/01_preinit_do_ramips.sh create mode 100644 target/linux/ramips/base-files/lib/preinit/04_handle_checksumming create mode 100644 target/linux/ramips/base-files/lib/preinit/07_set_preinit_iface_ramips create mode 100755 target/linux/ramips/base-files/lib/ramips.sh create mode 100755 target/linux/ramips/base-files/lib/upgrade/platform.sh create mode 100644 target/linux/ramips/base-files/lib/upgrade/ubnt.sh create mode 100755 target/linux/ramips/base-files/sbin/fixup-mac-address create mode 100644 target/linux/ramips/dts/11ACNAS.dts create mode 100644 target/linux/ramips/dts/3G-6200N.dts create mode 100644 target/linux/ramips/dts/3G-6200NL.dts create mode 100644 target/linux/ramips/dts/3G150B.dts create mode 100644 target/linux/ramips/dts/3G300M.dts create mode 100644 target/linux/ramips/dts/A5-V11.dts create mode 100644 target/linux/ramips/dts/AC1200RM.dts create mode 100644 target/linux/ramips/dts/AI-BR100.dts create mode 100644 target/linux/ramips/dts/AIR3GII.dts create mode 100644 target/linux/ramips/dts/ALL0256N-4M.dts create mode 100644 target/linux/ramips/dts/ALL0256N-8M.dts create mode 100644 target/linux/ramips/dts/ALL0256N.dtsi create mode 100644 target/linux/ramips/dts/ALL5002.dts create mode 100644 target/linux/ramips/dts/ALL5003.dts create mode 100644 target/linux/ramips/dts/AP-MT7621A-V60.dts create mode 100644 target/linux/ramips/dts/AR670W.dts create mode 100644 target/linux/ramips/dts/AR725W.dts create mode 100644 target/linux/ramips/dts/ASL26555-16M.dts create mode 100644 target/linux/ramips/dts/ASL26555-8M.dts create mode 100644 target/linux/ramips/dts/ASL26555.dtsi create mode 100644 target/linux/ramips/dts/ATP-52B.dts create mode 100644 target/linux/ramips/dts/AWAPN2403.dts create mode 100644 target/linux/ramips/dts/AWM002-EVB-4M.dts create mode 100644 target/linux/ramips/dts/AWM002-EVB-8M.dts create mode 100644 target/linux/ramips/dts/AWM002-EVB.dtsi create mode 100644 target/linux/ramips/dts/AWUSFREE1.dts create mode 100644 target/linux/ramips/dts/ArcherC2-v1.dts create mode 100644 target/linux/ramips/dts/ArcherC20i.dts create mode 100644 target/linux/ramips/dts/ArcherC20v1.dts create mode 100644 target/linux/ramips/dts/ArcherC20v4.dts create mode 100644 target/linux/ramips/dts/ArcherC50.dts create mode 100644 target/linux/ramips/dts/ArcherC50V3.dts create mode 100644 target/linux/ramips/dts/ArcherC50V4.dts create mode 100644 target/linux/ramips/dts/ArcherMR200.dts create mode 100644 target/linux/ramips/dts/BC2.dts create mode 100644 target/linux/ramips/dts/BDCOM-WAP2100-SK.dts create mode 100644 target/linux/ramips/dts/BOCCO.dts create mode 100644 target/linux/ramips/dts/BR-6475ND.dts create mode 100644 target/linux/ramips/dts/BR-6478AC-V2.dts create mode 100644 target/linux/ramips/dts/BROADWAY.dts create mode 100644 target/linux/ramips/dts/C108.dts create mode 100644 target/linux/ramips/dts/CARAMBOLA.dts create mode 100644 target/linux/ramips/dts/CF-WR800N.dts create mode 100644 target/linux/ramips/dts/CS-QR10.dts create mode 100644 target/linux/ramips/dts/CY-SWR1100.dts create mode 100644 target/linux/ramips/dts/CreativeBox-v1.dts create mode 100644 target/linux/ramips/dts/D105.dts create mode 100644 target/linux/ramips/dts/D240.dts create mode 100644 target/linux/ramips/dts/DAP-1350.dts create mode 100644 target/linux/ramips/dts/DAP-1522-A1.dts create mode 100644 target/linux/ramips/dts/DB-WRT01.dts create mode 100644 target/linux/ramips/dts/DCH-M225.dts create mode 100644 target/linux/ramips/dts/DCS-930.dts create mode 100644 target/linux/ramips/dts/DCS-930L-B1.dts create mode 100644 target/linux/ramips/dts/DIR-300-B1.dts create mode 100644 target/linux/ramips/dts/DIR-300-B7.dts create mode 100644 target/linux/ramips/dts/DIR-320-B1.dts create mode 100644 target/linux/ramips/dts/DIR-510L.dts create mode 100644 target/linux/ramips/dts/DIR-600-B1.dts create mode 100644 target/linux/ramips/dts/DIR-610-A1.dts create mode 100644 target/linux/ramips/dts/DIR-615-D.dts create mode 100644 target/linux/ramips/dts/DIR-615-H1.dts create mode 100644 target/linux/ramips/dts/DIR-620-A1.dts create mode 100644 target/linux/ramips/dts/DIR-620-D1.dts create mode 100644 target/linux/ramips/dts/DIR-645.dts create mode 100644 target/linux/ramips/dts/DIR-810L.dts create mode 100644 target/linux/ramips/dts/DIR-860L-B1.dts create mode 100644 target/linux/ramips/dts/DUZUN-DM06.dts create mode 100644 target/linux/ramips/dts/DWR-116-A1.dts create mode 100644 target/linux/ramips/dts/DWR-118-A1.dts create mode 100644 target/linux/ramips/dts/DWR-118-A2.dts create mode 100644 target/linux/ramips/dts/DWR-512-B.dts create mode 100644 target/linux/ramips/dts/DWR-921-C1.dts create mode 100644 target/linux/ramips/dts/DWR-922-E2.dts create mode 100644 target/linux/ramips/dts/E1700.dts create mode 100644 target/linux/ramips/dts/ESR-9753.dts create mode 100644 target/linux/ramips/dts/EW1200.dts create mode 100644 target/linux/ramips/dts/EX2700.dts create mode 100644 target/linux/ramips/dts/EX3700.dts create mode 100644 target/linux/ramips/dts/EX6150.dts create mode 100644 target/linux/ramips/dts/F5D8235_V1.dts create mode 100644 target/linux/ramips/dts/F5D8235_V2.dts create mode 100644 target/linux/ramips/dts/F7C027.dts create mode 100644 target/linux/ramips/dts/F9K1109V1.dts create mode 100644 target/linux/ramips/dts/F9K110x.dtsi create mode 100644 target/linux/ramips/dts/FIREWRT.dts create mode 100644 target/linux/ramips/dts/FONERA20N.dts create mode 100644 target/linux/ramips/dts/FREESTATION5.dts create mode 100644 target/linux/ramips/dts/GB-PC1.dts create mode 100644 target/linux/ramips/dts/GB-PC2.dts create mode 100644 target/linux/ramips/dts/GHL-R-001.dts create mode 100644 target/linux/ramips/dts/GL-MT300A.dts create mode 100644 target/linux/ramips/dts/GL-MT300N-V2.dts create mode 100644 target/linux/ramips/dts/GL-MT300N.dts create mode 100644 target/linux/ramips/dts/GL-MT750.dts create mode 100644 target/linux/ramips/dts/HC5661.dts create mode 100644 target/linux/ramips/dts/HC5661A.dts create mode 100644 target/linux/ramips/dts/HC5761.dts create mode 100644 target/linux/ramips/dts/HC5861.dts create mode 100644 target/linux/ramips/dts/HC5861B.dts create mode 100644 target/linux/ramips/dts/HC5962.dts create mode 100644 target/linux/ramips/dts/HC5X61.dtsi create mode 100644 target/linux/ramips/dts/HDRM200.dts create mode 100644 target/linux/ramips/dts/HG255D.dts create mode 100644 target/linux/ramips/dts/HLK-7628N.dts create mode 100644 target/linux/ramips/dts/HLKRM04.dts create mode 100644 target/linux/ramips/dts/HPM.dts create mode 100644 target/linux/ramips/dts/HT-TM02.dts create mode 100644 target/linux/ramips/dts/HW550-3G.dts create mode 100644 target/linux/ramips/dts/IP2202.dts create mode 100644 target/linux/ramips/dts/JHR-N805R.dts create mode 100644 target/linux/ramips/dts/JHR-N825R.dts create mode 100644 target/linux/ramips/dts/JHR-N926R.dts create mode 100644 target/linux/ramips/dts/K2G.dts create mode 100644 target/linux/ramips/dts/K2P.dts create mode 100644 target/linux/ramips/dts/LINKIT7688.dts create mode 100644 target/linux/ramips/dts/LR-25G001.dts create mode 100644 target/linux/ramips/dts/M2M.dts create mode 100644 target/linux/ramips/dts/M3.dts create mode 100644 target/linux/ramips/dts/M4-4M.dts create mode 100644 target/linux/ramips/dts/M4-8M.dts create mode 100644 target/linux/ramips/dts/M4.dtsi create mode 100644 target/linux/ramips/dts/MAC1200RV2.dts create mode 100644 target/linux/ramips/dts/MINIEMBPLUG.dts create mode 100644 target/linux/ramips/dts/MINIEMBWIFI.dts create mode 100644 target/linux/ramips/dts/MIR3G.dts create mode 100644 target/linux/ramips/dts/MIR3P.dts create mode 100644 target/linux/ramips/dts/MIWIFI-MINI.dts create mode 100644 target/linux/ramips/dts/MIWIFI-NANO.dts create mode 100644 target/linux/ramips/dts/MLW221.dts create mode 100644 target/linux/ramips/dts/MLWG2.dts create mode 100644 target/linux/ramips/dts/MOFI3500-3GN.dts create mode 100644 target/linux/ramips/dts/MPRA1.dts create mode 100644 target/linux/ramips/dts/MPRA2.dts create mode 100644 target/linux/ramips/dts/MR-102N.dts create mode 100644 target/linux/ramips/dts/MT7620a.dts create mode 100644 target/linux/ramips/dts/MT7620a_MT7530.dts create mode 100644 target/linux/ramips/dts/MT7620a_MT7610e.dts create mode 100644 target/linux/ramips/dts/MT7620a_V22SG.dts create mode 100644 target/linux/ramips/dts/MT7621.dts create mode 100644 target/linux/ramips/dts/MT7628.dts create mode 100644 target/linux/ramips/dts/MZK-750DHP.dts create mode 100644 target/linux/ramips/dts/MZK-DP150N.dts create mode 100644 target/linux/ramips/dts/MZK-EX300NP.dts create mode 100644 target/linux/ramips/dts/MZK-EX750NP.dts create mode 100644 target/linux/ramips/dts/MZK-W300NH2.dts create mode 100644 target/linux/ramips/dts/MZK-WDPR.dts create mode 100644 target/linux/ramips/dts/MicroWRT.dts create mode 100644 target/linux/ramips/dts/NA930.dts create mode 100644 target/linux/ramips/dts/NBG-419N.dts create mode 100644 target/linux/ramips/dts/NBG-419N2.dts create mode 100644 target/linux/ramips/dts/NCS601W.dts create mode 100644 target/linux/ramips/dts/NIXCORE-16M.dts create mode 100644 target/linux/ramips/dts/NIXCORE-8M.dts create mode 100644 target/linux/ramips/dts/NIXCORE.dtsi create mode 100644 target/linux/ramips/dts/NW718.dts create mode 100644 target/linux/ramips/dts/Newifi-D1.dts create mode 100644 target/linux/ramips/dts/Newifi-D2.dts create mode 100644 target/linux/ramips/dts/OMEGA2.dts create mode 100644 target/linux/ramips/dts/OMEGA2.dtsi create mode 100644 target/linux/ramips/dts/OMEGA2P.dts create mode 100644 target/linux/ramips/dts/OY-0001.dts create mode 100644 target/linux/ramips/dts/PBR-D1.dts create mode 100644 target/linux/ramips/dts/PBR-M1.dts create mode 100644 target/linux/ramips/dts/PSG1208.dts create mode 100644 target/linux/ramips/dts/PSG1218.dtsi create mode 100644 target/linux/ramips/dts/PSG1218A.dts create mode 100644 target/linux/ramips/dts/PSG1218B.dts create mode 100644 target/linux/ramips/dts/PSR-680W.dts create mode 100644 target/linux/ramips/dts/PWH2004.dts create mode 100644 target/linux/ramips/dts/PX-4885-4M.dts create mode 100644 target/linux/ramips/dts/PX-4885-8M.dts create mode 100644 target/linux/ramips/dts/PX-4885.dtsi create mode 100644 target/linux/ramips/dts/QUAD-E4G.dts create mode 100644 target/linux/ramips/dts/R36M-E4G.dts create mode 100644 target/linux/ramips/dts/R6120.dts create mode 100644 target/linux/ramips/dts/R6220.dts create mode 100644 target/linux/ramips/dts/R6220.dtsi create mode 100644 target/linux/ramips/dts/R6350.dts create mode 100644 target/linux/ramips/dts/RAK633.dts create mode 100644 target/linux/ramips/dts/RB750Gr3.dts create mode 100644 target/linux/ramips/dts/RBM11G.dts create mode 100644 target/linux/ramips/dts/RBM33G.dts create mode 100644 target/linux/ramips/dts/RE350.dts create mode 100644 target/linux/ramips/dts/RE6500.dts create mode 100644 target/linux/ramips/dts/RP-N53.dts create mode 100644 target/linux/ramips/dts/RT-AC51U.dts create mode 100644 target/linux/ramips/dts/RT-AC57U.dts create mode 100644 target/linux/ramips/dts/RT-G32-B1.dts create mode 100644 target/linux/ramips/dts/RT-N10-PLUS.dts create mode 100644 target/linux/ramips/dts/RT-N12-PLUS.dts create mode 100644 target/linux/ramips/dts/RT-N13U.dts create mode 100644 target/linux/ramips/dts/RT-N14U.dts create mode 100644 target/linux/ramips/dts/RT-N15.dts create mode 100644 target/linux/ramips/dts/RT-N56U.dts create mode 100644 target/linux/ramips/dts/RT5350F-OLINUXINO-EVB.dts create mode 100644 target/linux/ramips/dts/RT5350F-OLINUXINO.dts create mode 100644 target/linux/ramips/dts/RT5350F-OLINUXINO.dtsi create mode 100644 target/linux/ramips/dts/RUT5XX.dts create mode 100644 target/linux/ramips/dts/SAP-G3200U3.dts create mode 100644 target/linux/ramips/dts/SK-WB8.dts create mode 100644 target/linux/ramips/dts/SKW92A.dts create mode 100644 target/linux/ramips/dts/SL-R7205.dts create mode 100644 target/linux/ramips/dts/TEW-638APB-V2.dts create mode 100644 target/linux/ramips/dts/TEW-691GR.dts create mode 100644 target/linux/ramips/dts/TEW-692GR.dts create mode 100644 target/linux/ramips/dts/TEW-714TRU.dts create mode 100644 target/linux/ramips/dts/TINY-AC.dts create mode 100644 target/linux/ramips/dts/TL-MR3020V3.dts create mode 100644 target/linux/ramips/dts/TL-MR3420V5.dts create mode 100644 target/linux/ramips/dts/TL-WA801NDV5.dts create mode 100644 target/linux/ramips/dts/TL-WR802NV4.dts create mode 100644 target/linux/ramips/dts/TL-WR840NV4.dts create mode 100644 target/linux/ramips/dts/TL-WR840NV5.dts create mode 100644 target/linux/ramips/dts/TL-WR841NV13.dts create mode 100644 target/linux/ramips/dts/TL-WR842NV5.dts create mode 100644 target/linux/ramips/dts/TL-WR902ACV3.dts create mode 100644 target/linux/ramips/dts/TOTOLINK-LR1200.dts create mode 100644 target/linux/ramips/dts/TPLINK-8M-SPLIT-UBOOT.dtsi create mode 100644 target/linux/ramips/dts/TPLINK-8M.dtsi create mode 100644 target/linux/ramips/dts/TUBE-E4G.dts create mode 100644 target/linux/ramips/dts/Telco-Electronics-X1.dts create mode 100644 target/linux/ramips/dts/Timecloud.dts create mode 100644 target/linux/ramips/dts/U25AWF-H1.dts create mode 100644 target/linux/ramips/dts/U35WF.dts create mode 100644 target/linux/ramips/dts/U7621-06-256M-16M.dts create mode 100644 target/linux/ramips/dts/U7621-06-512M-64M.dts create mode 100644 target/linux/ramips/dts/U7621-06.dtsi create mode 100644 target/linux/ramips/dts/U7628-01-128M-16M.dts create mode 100644 target/linux/ramips/dts/U7628-01.dtsi create mode 100644 target/linux/ramips/dts/UBNT-ER-e50.dtsi create mode 100644 target/linux/ramips/dts/UBNT-ERX-SFP.dts create mode 100644 target/linux/ramips/dts/UBNT-ERX.dts create mode 100644 target/linux/ramips/dts/UR-326N4G.dts create mode 100644 target/linux/ramips/dts/UR-336UN.dts create mode 100644 target/linux/ramips/dts/V11STFE.dts create mode 100644 target/linux/ramips/dts/V22RW-2X2.dts create mode 100644 target/linux/ramips/dts/VAR11N-300.dts create mode 100644 target/linux/ramips/dts/VIXMINI.dts create mode 100644 target/linux/ramips/dts/VOCORE-16M.dts create mode 100644 target/linux/ramips/dts/VOCORE-8M.dts create mode 100644 target/linux/ramips/dts/VOCORE.dtsi create mode 100644 target/linux/ramips/dts/VOCORE2.dts create mode 100644 target/linux/ramips/dts/VOCORE2.dtsi create mode 100644 target/linux/ramips/dts/VOCORE2LITE.dts create mode 100644 target/linux/ramips/dts/VR500.dts create mode 100644 target/linux/ramips/dts/W06.dts create mode 100644 target/linux/ramips/dts/W150M.dts create mode 100644 target/linux/ramips/dts/W2914NSV2.dts create mode 100644 target/linux/ramips/dts/W2914NSV2.dtsi create mode 100644 target/linux/ramips/dts/W306R_V20.dts create mode 100644 target/linux/ramips/dts/W502U.dts create mode 100644 target/linux/ramips/dts/WCR-1166DS.dts create mode 100644 target/linux/ramips/dts/WCR150GN.dts create mode 100644 target/linux/ramips/dts/WD03.dts create mode 100644 target/linux/ramips/dts/WE1026-5G-16M.dts create mode 100644 target/linux/ramips/dts/WE1026-5G.dtsi create mode 100644 target/linux/ramips/dts/WF-2881.dts create mode 100644 target/linux/ramips/dts/WHR-1166D.dts create mode 100644 target/linux/ramips/dts/WHR-300HP2.dts create mode 100644 target/linux/ramips/dts/WHR-600D.dts create mode 100644 target/linux/ramips/dts/WHR-G300N.dts create mode 100644 target/linux/ramips/dts/WIDORA-NEO-16M.dts create mode 100644 target/linux/ramips/dts/WIDORA-NEO-32M.dts create mode 100644 target/linux/ramips/dts/WIDORA-NEO.dtsi create mode 100644 target/linux/ramips/dts/WITI-256M.dts create mode 100644 target/linux/ramips/dts/WITI-512M.dts create mode 100644 target/linux/ramips/dts/WITI.dtsi create mode 100644 target/linux/ramips/dts/WIZARD8800.dts create mode 100644 target/linux/ramips/dts/WIZFI630A.dts create mode 100644 target/linux/ramips/dts/WIZFI630S.dts create mode 100644 target/linux/ramips/dts/WL-330N.dts create mode 100644 target/linux/ramips/dts/WL-330N3G.dts create mode 100644 target/linux/ramips/dts/WL-351.dts create mode 100644 target/linux/ramips/dts/WL-WN570HA1.dts create mode 100644 target/linux/ramips/dts/WL-WN575A3.dts create mode 100644 target/linux/ramips/dts/WLI-TX4-AG300N.dts create mode 100644 target/linux/ramips/dts/WLR-6000.dts create mode 100644 target/linux/ramips/dts/WMDR-143N.dts create mode 100644 target/linux/ramips/dts/WMR-300.dts create mode 100644 target/linux/ramips/dts/WN-AC1167GR.dts create mode 100644 target/linux/ramips/dts/WN-AC733GR3.dts create mode 100644 target/linux/ramips/dts/WN-AX1167GR.dts create mode 100644 target/linux/ramips/dts/WN-GX300GR.dts create mode 100644 target/linux/ramips/dts/WN3000RPV3.dts create mode 100644 target/linux/ramips/dts/WNCE2001.dts create mode 100644 target/linux/ramips/dts/WNDR3700V5.dts create mode 100644 target/linux/ramips/dts/WR1000.dts create mode 100644 target/linux/ramips/dts/WR1200JS.dts create mode 100644 target/linux/ramips/dts/WR1201.dts create mode 100644 target/linux/ramips/dts/WR512-3GN-4M.dts create mode 100644 target/linux/ramips/dts/WR512-3GN-8M.dts create mode 100644 target/linux/ramips/dts/WR512-3GN.dtsi create mode 100644 target/linux/ramips/dts/WR6202.dts create mode 100644 target/linux/ramips/dts/WRC-1167GHBK2-S.dts create mode 100644 target/linux/ramips/dts/WRC-1900GST.dts create mode 100644 target/linux/ramips/dts/WRC-2533GST.dts create mode 100644 target/linux/ramips/dts/WRH-300CR.dts create mode 100644 target/linux/ramips/dts/WRTNODE.dts create mode 100644 target/linux/ramips/dts/WRTNODE2.dtsi create mode 100644 target/linux/ramips/dts/WRTNODE2P.dts create mode 100644 target/linux/ramips/dts/WRTNODE2R.dts create mode 100644 target/linux/ramips/dts/WSR-1166.dts create mode 100644 target/linux/ramips/dts/WSR-600.dts create mode 100644 target/linux/ramips/dts/WT1520-4M.dts create mode 100644 target/linux/ramips/dts/WT1520-8M.dts create mode 100644 target/linux/ramips/dts/WT1520.dtsi create mode 100644 target/linux/ramips/dts/WT3020-4M.dts create mode 100644 target/linux/ramips/dts/WT3020-8M.dts create mode 100644 target/linux/ramips/dts/WT3020.dtsi create mode 100644 target/linux/ramips/dts/WZR-AGL300NH.dts create mode 100644 target/linux/ramips/dts/X5.dts create mode 100644 target/linux/ramips/dts/X8.dts create mode 100644 target/linux/ramips/dts/XDXRN502J.dts create mode 100644 target/linux/ramips/dts/XIAOMI-MIR4A-100M.dts create mode 100644 target/linux/ramips/dts/Y1.dts create mode 100644 target/linux/ramips/dts/Y1.dtsi create mode 100644 target/linux/ramips/dts/Y1S.dts create mode 100644 target/linux/ramips/dts/YOUKU-YK1.dts create mode 100644 target/linux/ramips/dts/YOUKU-YK2.dts create mode 100644 target/linux/ramips/dts/ZBT-APE522II.dts create mode 100644 target/linux/ramips/dts/ZBT-CPE102.dts create mode 100644 target/linux/ramips/dts/ZBT-WA05.dts create mode 100644 target/linux/ramips/dts/ZBT-WE1226.dts create mode 100644 target/linux/ramips/dts/ZBT-WE1326.dts create mode 100644 target/linux/ramips/dts/ZBT-WE2026.dts create mode 100644 target/linux/ramips/dts/ZBT-WE3526.dts create mode 100644 target/linux/ramips/dts/ZBT-WE826-16M.dts create mode 100644 target/linux/ramips/dts/ZBT-WE826-32M.dts create mode 100644 target/linux/ramips/dts/ZBT-WE826-E.dts create mode 100644 target/linux/ramips/dts/ZBT-WE826.dtsi create mode 100644 target/linux/ramips/dts/ZBT-WG2626.dts create mode 100644 target/linux/ramips/dts/ZBT-WG3526-16M.dts create mode 100644 target/linux/ramips/dts/ZBT-WG3526-32M.dts create mode 100644 target/linux/ramips/dts/ZBT-WG3526.dtsi create mode 100644 target/linux/ramips/dts/ZBT-WR8305RT.dts create mode 100644 target/linux/ramips/dts/ZL5900V2.dts create mode 100644 target/linux/ramips/dts/ZTE-Q7.dts create mode 100644 target/linux/ramips/dts/elecom_wrc-gst.dtsi create mode 100644 target/linux/ramips/dts/ki_rb.dts create mode 100644 target/linux/ramips/dts/kn.dts create mode 100644 target/linux/ramips/dts/kn_rc.dts create mode 100644 target/linux/ramips/dts/kn_rf.dts create mode 100644 target/linux/ramips/dts/kn_st.dts create mode 100644 target/linux/ramips/dts/kng_rc.dts create mode 100644 target/linux/ramips/dts/mt7620a.dtsi create mode 100644 target/linux/ramips/dts/mt7620n.dtsi create mode 100644 target/linux/ramips/dts/mt7621.dtsi create mode 100644 target/linux/ramips/dts/mt7628an.dtsi create mode 100644 target/linux/ramips/dts/rt2880.dtsi create mode 100644 target/linux/ramips/dts/rt3050.dtsi create mode 100644 target/linux/ramips/dts/rt3352.dtsi create mode 100644 target/linux/ramips/dts/rt3883.dtsi create mode 100644 target/linux/ramips/dts/rt5350.dtsi create mode 100644 target/linux/ramips/files-4.14/drivers/mmc/host/mtk-mmc/Kconfig create mode 100644 target/linux/ramips/files-4.14/drivers/mmc/host/mtk-mmc/Makefile create mode 100644 target/linux/ramips/files-4.14/drivers/mmc/host/mtk-mmc/board.h create mode 100644 target/linux/ramips/files-4.14/drivers/mmc/host/mtk-mmc/dbg.c create mode 100644 target/linux/ramips/files-4.14/drivers/mmc/host/mtk-mmc/dbg.h create mode 100644 target/linux/ramips/files-4.14/drivers/mmc/host/mtk-mmc/mt6575_sd.h create mode 100644 target/linux/ramips/files-4.14/drivers/mmc/host/mtk-mmc/sd.c create mode 100644 target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/Kconfig create mode 100644 target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/Makefile create mode 100644 target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/esw_rt3050.c create mode 100644 target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/esw_rt3050.h create mode 100644 target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/ethtool.c create mode 100644 target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/ethtool.h create mode 100644 target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/gsw_mt7620.c create mode 100644 target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/gsw_mt7620.h create mode 100644 target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/gsw_mt7621.c create mode 100644 target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mdio.c create mode 100644 target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mdio.h create mode 100644 target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mdio_mt7620.c create mode 100644 target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mdio_rt2880.c create mode 100644 target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mdio_rt2880.h create mode 100644 target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mt7530.c create mode 100644 target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mt7530.h create mode 100644 target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mtk_debugfs.c create mode 100644 target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mtk_eth_soc.c create mode 100644 target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mtk_eth_soc.h create mode 100644 target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mtk_offload.c create mode 100644 target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/mtk_offload.h create mode 100644 target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/soc_mt7620.c create mode 100644 target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/soc_mt7621.c create mode 100644 target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/soc_rt2880.c create mode 100644 target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/soc_rt3050.c create mode 100644 target/linux/ramips/files-4.14/drivers/net/ethernet/mediatek/soc_rt3883.c create mode 100644 target/linux/ramips/image/Makefile create mode 100644 target/linux/ramips/image/lzma-loader/Makefile create mode 100644 target/linux/ramips/image/lzma-loader/src/LzmaDecode.c create mode 100644 target/linux/ramips/image/lzma-loader/src/LzmaDecode.h create mode 100644 target/linux/ramips/image/lzma-loader/src/LzmaTypes.h create mode 100644 target/linux/ramips/image/lzma-loader/src/Makefile create mode 100644 target/linux/ramips/image/lzma-loader/src/board-mt7621.c create mode 100644 target/linux/ramips/image/lzma-loader/src/board-ralink.c create mode 100644 target/linux/ramips/image/lzma-loader/src/cache.c create mode 100644 target/linux/ramips/image/lzma-loader/src/cache.h create mode 100644 target/linux/ramips/image/lzma-loader/src/cacheops.h create mode 100644 target/linux/ramips/image/lzma-loader/src/config.h create mode 100644 target/linux/ramips/image/lzma-loader/src/cp0regdef.h create mode 100644 target/linux/ramips/image/lzma-loader/src/head.S create mode 100644 target/linux/ramips/image/lzma-loader/src/lantiq.mk create mode 100644 target/linux/ramips/image/lzma-loader/src/loader.c create mode 100644 target/linux/ramips/image/lzma-loader/src/loader.lds create mode 100644 target/linux/ramips/image/lzma-loader/src/loader2.lds create mode 100644 target/linux/ramips/image/lzma-loader/src/lzma-data.lds create mode 100644 target/linux/ramips/image/lzma-loader/src/mt7621.mk create mode 100644 target/linux/ramips/image/lzma-loader/src/printf.c create mode 100644 target/linux/ramips/image/lzma-loader/src/printf.h create mode 100644 target/linux/ramips/image/lzma-loader/src/ralink.mk create mode 100644 target/linux/ramips/image/mt7620.mk create mode 100644 target/linux/ramips/image/mt7621.mk create mode 100644 target/linux/ramips/image/mt76x8.mk create mode 100644 target/linux/ramips/image/rt288x.mk create mode 100644 target/linux/ramips/image/rt305x.mk create mode 100644 target/linux/ramips/image/rt3883.mk create mode 100644 target/linux/ramips/modules.mk create mode 100644 target/linux/ramips/mt7620/config-4.14 create mode 100644 target/linux/ramips/mt7620/profiles/00-default.mk create mode 100644 target/linux/ramips/mt7620/target.mk create mode 100644 target/linux/ramips/mt7621/config-4.14 create mode 100644 target/linux/ramips/mt7621/profiles/00-default.mk create mode 100644 target/linux/ramips/mt7621/target.mk create mode 100644 target/linux/ramips/mt76x8/config-4.14 create mode 100644 target/linux/ramips/mt76x8/profiles/00-default.mk create mode 100644 target/linux/ramips/mt76x8/target.mk create mode 100644 target/linux/ramips/patches-4.14/0001-MIPS-ralink-Add-rt3352-SPI_CS1-pinmux.patch create mode 100644 target/linux/ramips/patches-4.14/0002-MIPS-pci-rt2880-set-pci-controller-of_node.patch create mode 100644 target/linux/ramips/patches-4.14/0003-MIPS-Fix-memory-reservation-in-bootmem_init-for-cert.patch create mode 100644 target/linux/ramips/patches-4.14/0004-MIPS-ralink-add-MT7621-pcie-driver.patch create mode 100644 target/linux/ramips/patches-4.14/0005-MIPS-use-set_mode-to-enable-disable-the-cevt-r4k-irq.patch create mode 100644 target/linux/ramips/patches-4.14/0006-MIPS-ralink-add-cpu-frequency-scaling.patch create mode 100644 target/linux/ramips/patches-4.14/0007-MIPS-ralink-copy-the-commandline-from-the-devicetree.patch create mode 100644 target/linux/ramips/patches-4.14/0009-PCI-MIPS-enable-PCIe-on-MT7688.patch create mode 100644 target/linux/ramips/patches-4.14/0013-owrt-hack-fix-mt7688-cache-issue.patch create mode 100644 target/linux/ramips/patches-4.14/0015-arch-mips-do-not-select-illegal-access-driver-by-def.patch create mode 100644 target/linux/ramips/patches-4.14/0024-GPIO-add-named-gpio-exports.patch create mode 100644 target/linux/ramips/patches-4.14/0025-pinctrl-ralink-add-pinctrl-driver.patch create mode 100644 target/linux/ramips/patches-4.14/0026-DT-Add-documentation-for-gpio-ralink.patch create mode 100644 target/linux/ramips/patches-4.14/0027-GPIO-MIPS-ralink-add-gpio-driver-for-ralink-SoC.patch create mode 100644 target/linux/ramips/patches-4.14/0028-GPIO-ralink-add-mt7621-gpio-controller.patch create mode 100644 target/linux/ramips/patches-4.14/0029-gpio-ralink-Add-support-for-GPIO-as-interrupt-contro.patch create mode 100644 target/linux/ramips/patches-4.14/0031-uvc-add-iPassion-iP2970-support.patch create mode 100644 target/linux/ramips/patches-4.14/0034-NET-multi-phy-support.patch create mode 100644 target/linux/ramips/patches-4.14/0037-mtd-cfi-cmdset-0002-force-word-write.patch create mode 100644 target/linux/ramips/patches-4.14/0038-Revert-mtd-nand-Remove-unused-chip-write_page-hook.patch create mode 100644 target/linux/ramips/patches-4.14/0039-mtd-add-mt7621-nand-support.patch create mode 100644 target/linux/ramips/patches-4.14/0040-nand-hack.patch create mode 100644 target/linux/ramips/patches-4.14/0041-DT-Add-documentation-for-spi-rt2880.patch create mode 100644 target/linux/ramips/patches-4.14/0042-SPI-ralink-add-Ralink-SoC-spi-driver.patch create mode 100644 target/linux/ramips/patches-4.14/0043-spi-add-mt7621-support.patch create mode 100644 target/linux/ramips/patches-4.14/0044-i2c-MIPS-adds-ralink-I2C-driver.patch create mode 100644 target/linux/ramips/patches-4.14/0045-i2c-add-mt7621-driver.patch create mode 100644 target/linux/ramips/patches-4.14/0046-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch create mode 100644 target/linux/ramips/patches-4.14/0047-DMA-ralink-add-rt2880-dma-engine.patch create mode 100644 target/linux/ramips/patches-4.14/0048-asoc-add-mt7620-support.patch create mode 100644 target/linux/ramips/patches-4.14/0051-serial-add-ugly-custom-baud-rate-hack.patch create mode 100644 target/linux/ramips/patches-4.14/0052-pwm-add-mediatek-support.patch create mode 100644 target/linux/ramips/patches-4.14/0053-mtd-spi-nor-add-w25q256-3b-mode-switch.patch create mode 100644 target/linux/ramips/patches-4.14/0054-mtd-spi-nor-w25q256-respect-default-mode.patch create mode 100644 target/linux/ramips/patches-4.14/0069-awake-rt305x-dwc2-controller.patch create mode 100644 target/linux/ramips/patches-4.14/0070-weak_reordering.patch create mode 100644 target/linux/ramips/patches-4.14/0098-disable_cm.patch create mode 100644 target/linux/ramips/patches-4.14/0099-pci-mt7620.patch create mode 100644 target/linux/ramips/patches-4.14/0200-linkit_bootstrap.patch create mode 100644 target/linux/ramips/patches-4.14/100-mt7621-core-detect-hack.patch create mode 100644 target/linux/ramips/patches-4.14/101-mt7621-timer.patch create mode 100644 target/linux/ramips/patches-4.14/102-mt7621-fix-cpu-clk-add-clkdev.patch create mode 100644 target/linux/ramips/patches-4.14/105-mt7621-memory-detect.patch create mode 100644 target/linux/ramips/patches-4.14/110-mt7621-perfctr-fix.patch create mode 100644 target/linux/ramips/patches-4.14/300-mt7620-export-chip-version-and-pkg.patch create mode 100644 target/linux/ramips/patches-4.14/302-spi-nor-add-gd25q512.patch create mode 100644 target/linux/ramips/patches-4.14/304-spi-nor-enable-4B-opcodes-for-mx25l25635f.patch create mode 100644 target/linux/ramips/patches-4.14/999-fix-pci-init-mt7620.patch create mode 100644 target/linux/ramips/rt288x/config-4.14 create mode 100644 target/linux/ramips/rt288x/target.mk create mode 100644 target/linux/ramips/rt305x/config-4.14 create mode 100644 target/linux/ramips/rt305x/profiles/00-default.mk create mode 100644 target/linux/ramips/rt305x/target.mk create mode 100644 target/linux/ramips/rt3883/config-4.14 create mode 100644 target/linux/ramips/rt3883/profiles/00-default.mk create mode 100644 target/linux/ramips/rt3883/target.mk create mode 100644 target/linux/rb532/Makefile create mode 100644 target/linux/rb532/base-files/etc/config/network create mode 100644 target/linux/rb532/base-files/etc/diag.sh create mode 100644 target/linux/rb532/base-files/lib/preinit/01_sysinfo create mode 100644 target/linux/rb532/base-files/lib/upgrade/platform.sh create mode 100644 target/linux/rb532/config-4.14 create mode 100644 target/linux/rb532/image/Makefile create mode 100755 target/linux/rb532/image/gen_image.sh create mode 100644 target/linux/rb532/modules.mk create mode 100644 target/linux/rb532/patches-4.14/001-cmdline_hack.patch create mode 100644 target/linux/rb532/patches-4.14/004-rb532-fix-partition-info.patch create mode 100644 target/linux/rb532/patches-4.14/106-dont-use-rx-overflow-and-tx-underflow-interrupts.patch create mode 100644 target/linux/rb532/patches-4.14/107-korina-refactor-rx-descriptor-flags-processing.patch create mode 100644 target/linux/rb532/patches-4.14/107-use-NAPI_POLL_WEIGHT.patch create mode 100644 target/linux/rb532/patches-4.14/108-korina-use-gro.patch create mode 100644 target/linux/rb532/patches-4.14/109-korina-whitespace-cleanup-2.patch create mode 100644 target/linux/rb532/patches-4.14/110-korina-update-authors.patch create mode 100644 target/linux/rb532/patches-4.14/111-korina-version-bump.patch create mode 100644 target/linux/samsung/Makefile create mode 100644 target/linux/samsung/dts/TQ210.dts create mode 100644 target/linux/samsung/files-4.14/drivers/mtd/nand/s5pxx_nand.c create mode 100644 target/linux/samsung/image/Makefile create mode 100644 target/linux/samsung/patches-4.14/001-s5pv210-nand.patch create mode 100644 target/linux/samsung/patches-4.14/002-dm9000-clk.patch create mode 100644 target/linux/samsung/s5pv210/config-4.14 create mode 100644 target/linux/samsung/s5pv210/profiles/00-default.mk create mode 100644 target/linux/samsung/s5pv210/target.mk create mode 100644 target/linux/sunxi/Makefile create mode 100755 target/linux/sunxi/base-files/etc/board.d/02_network create mode 100644 target/linux/sunxi/base-files/etc/inittab create mode 100644 target/linux/sunxi/base-files/lib/firmware/brcm/brcmfmac4329-sdio.txt create mode 100644 target/linux/sunxi/base-files/lib/firmware/brcm/brcmfmac43362-sdio.txt create mode 100644 target/linux/sunxi/base-files/lib/firmware/brcm/brcmfmac43430-sdio.txt create mode 120000 target/linux/sunxi/base-files/lib/firmware/brcm/brcmfmac43430a0-sdio.txt create mode 100644 target/linux/sunxi/base-files/lib/preinit/03_b53_hack.sh create mode 100644 target/linux/sunxi/base-files/lib/preinit/79_move_config create mode 100644 target/linux/sunxi/base-files/lib/upgrade/platform.sh create mode 100644 target/linux/sunxi/config-4.14 create mode 100644 target/linux/sunxi/cortexa53/config-4.14 create mode 100644 target/linux/sunxi/cortexa53/target.mk create mode 100644 target/linux/sunxi/cortexa7/config-4.14 create mode 100644 target/linux/sunxi/cortexa7/target.mk create mode 100644 target/linux/sunxi/cortexa8/config-4.14 create mode 100644 target/linux/sunxi/cortexa8/target.mk create mode 100644 target/linux/sunxi/image/Config.in create mode 100644 target/linux/sunxi/image/Makefile create mode 100644 target/linux/sunxi/image/cortex-a53.mk create mode 100644 target/linux/sunxi/image/cortex-a7.mk create mode 100644 target/linux/sunxi/image/cortex-a8.mk create mode 100755 target/linux/sunxi/image/gen_sunxi_sdcard_img.sh create mode 100644 target/linux/sunxi/modules.mk create mode 100644 target/linux/sunxi/patches-4.14/001-net-stmmac-snps-dwmac-mdio-MDIOs-are-automatically-r.patch create mode 100644 target/linux/sunxi/patches-4.14/002-net-stmmac-dwmac-sun8i-Handle-integrated-external-MD.patch create mode 100644 target/linux/sunxi/patches-4.14/003-net-stmmac-sun8i-Restore-the-compatibles.patch create mode 100644 target/linux/sunxi/patches-4.14/004-net-stmmac-dwmac-sun8i-fix-allwinner-leds-active-low.patch create mode 100644 target/linux/sunxi/patches-4.14/020-ARM-dts-sunxi-Restore-EMAC-changes-boards.patch create mode 100644 target/linux/sunxi/patches-4.14/021-arm-dts-sunxi-h3-h5-Restore-EMAC-changes.patch create mode 100644 target/linux/sunxi/patches-4.14/022-ARM-dts-sunxi-h3-h5-represent-the-mdio-switch-used-b.patch create mode 100644 target/linux/sunxi/patches-4.14/025-arm64-dts-allwinner-A64-Restore-EMAC-changes.patch create mode 100644 target/linux/sunxi/patches-4.14/026-arm64-dts-allwinner-add-snps-dwmac-mdio-compatible-t.patch create mode 100644 target/linux/sunxi/patches-4.14/027-arm64-dts-allwinner-H5-Restore-EMAC-changes.patch create mode 100644 target/linux/sunxi/patches-4.14/030-arm64-allwinner-a64-add-Ethernet-PHY-regulator-for-s.patch create mode 100644 target/linux/sunxi/patches-4.14/031-arm64-Implement-arch_counter_get_cntpct-to-read-the-.patch create mode 100644 target/linux/sunxi/patches-4.14/040-arm64-dts-allwinner-a64-Add-watchdog.patch create mode 100644 target/linux/sunxi/patches-4.14/060-ARM-dts-sun8i-add-support-for-Orange-Pi-R1.patch create mode 100644 target/linux/sunxi/patches-4.14/061-arm-dts-sun50i-support-for-nanopi-neo-plus2-board.patch create mode 100644 target/linux/sunxi/patches-4.14/080-arm64-allwinner-a64-add-SPI-nodes.patch create mode 100644 target/linux/sunxi/patches-4.14/081-arm64-dts-allwinner-sun50i-a64-Add-spi-flash-node-fo.patch create mode 100644 target/linux/sunxi/patches-4.14/100-clocksource-drivers-arch_timer-Workaround-for-Allwin.patch create mode 100644 target/linux/sunxi/patches-4.14/101-arm64-dts-allwinner-a64-Enable-A64-timer-workaround.patch create mode 100644 target/linux/sunxi/patches-4.14/201-ARM-dts-sun8i-fix-USB-Ethernet-of-Orange-Pi-R1.patch create mode 100644 target/linux/sunxi/patches-4.14/202-ARM-dts-sun8i-activate-SPI-on-Orange-Pi-R1.patch create mode 100644 target/linux/sunxi/patches-4.14/220-ARM-dts-orange-pi-zero-plus.patch create mode 100644 target/linux/sunxi/patches-4.14/301-orangepi_pc2_usb_otg_to_host_key_power.patch create mode 100644 target/linux/sunxi/patches-4.14/310-Revert-ARM-dts-sun7i-Add-BCM53125-switch-nodes-to-th.patch create mode 100644 target/linux/sunxi/patches-4.14/400-arm64-allwinner-a64-sopine-Add-Sopine-flash-partitio.patch create mode 100644 target/linux/sunxi/profiles/00-default.mk create mode 100644 target/linux/tegra/Makefile create mode 100644 target/linux/tegra/base-files/etc/inittab create mode 100644 target/linux/tegra/base-files/lib/preinit/79_move_config create mode 100644 target/linux/tegra/base-files/lib/upgrade/platform.sh create mode 100644 target/linux/tegra/config-4.14 create mode 100644 target/linux/tegra/image/Makefile create mode 100644 target/linux/tegra/image/generic-bootscript create mode 100644 target/linux/tegra/patches-4.14/100-serial8250-on-tegra-hsuart-recover-from-spurious-interrupts-due-to-tegra2-silicon-bug.patch create mode 100644 target/linux/tegra/patches-4.14/101-ARM-dtc-tegra-enable-front-panel-leds-in-TrimSlice.patch create mode 100644 target/linux/uml/Makefile create mode 100644 target/linux/uml/README create mode 100644 target/linux/uml/base-files/etc/inittab create mode 100644 target/linux/uml/config/i386 create mode 100644 target/linux/uml/config/x86_64 create mode 100644 target/linux/uml/image/Makefile create mode 100644 target/linux/uml/patches-4.14/101-mconsole-exec.patch create mode 100644 target/linux/uml/patches-4.14/102-pseudo-random-mac.patch create mode 100644 target/linux/x86/64/base-files/lib/preinit/45_mount_xenfs create mode 100644 target/linux/x86/64/config-4.14 create mode 100644 target/linux/x86/64/profiles/000-Generic.mk create mode 100644 target/linux/x86/64/target.mk create mode 100644 target/linux/x86/Makefile create mode 100755 target/linux/x86/base-files/etc/board.d/01_leds create mode 100755 target/linux/x86/base-files/etc/board.d/02_network create mode 100644 target/linux/x86/base-files/etc/diag.sh create mode 100644 target/linux/x86/base-files/etc/inittab create mode 100644 target/linux/x86/base-files/lib/preinit/01_sysinfo create mode 100644 target/linux/x86/base-files/lib/preinit/02_load_x86_ucode create mode 100644 target/linux/x86/base-files/lib/preinit/15_essential_fs_x86 create mode 100644 target/linux/x86/base-files/lib/preinit/20_check_iso create mode 100644 target/linux/x86/base-files/lib/preinit/79_move_config create mode 100644 target/linux/x86/base-files/lib/upgrade/platform.sh create mode 100644 target/linux/x86/config-4.14 create mode 100644 target/linux/x86/generic/base-files/lib/preinit/45_mount_xenfs create mode 100644 target/linux/x86/generic/config-4.14 create mode 100644 target/linux/x86/generic/profiles/000-Generic.mk create mode 100644 target/linux/x86/generic/target.mk create mode 100644 target/linux/x86/geode/config-4.14 create mode 100644 target/linux/x86/geode/profiles/000-Generic.mk create mode 100644 target/linux/x86/geode/profiles/100-Geos.mk create mode 100644 target/linux/x86/geode/target.mk create mode 100644 target/linux/x86/image/Makefile create mode 100644 target/linux/x86/image/grub-early.cfg create mode 100644 target/linux/x86/image/grub-iso.cfg create mode 100644 target/linux/x86/image/grub.cfg create mode 100644 target/linux/x86/legacy/config-4.14 create mode 100644 target/linux/x86/legacy/profiles/000-Generic.mk create mode 100644 target/linux/x86/legacy/target.mk create mode 100644 target/linux/x86/modules.mk create mode 100644 target/linux/x86/patches-4.14/011-tune_lzma_options.patch create mode 100644 target/linux/x86/patches-4.14/100-fix_cs5535_clockevt.patch create mode 100644 target/linux/x86/patches-4.14/200-pcengines-apu2-reboot.patch create mode 100644 target/linux/x86/patches-4.14/800-hwmon-w83627ehf-dont-claim-nct677x.patch create mode 100644 target/linux/zynq/Makefile create mode 100755 target/linux/zynq/base-files/etc/board.d/02_network create mode 100644 target/linux/zynq/base-files/etc/inittab create mode 100644 target/linux/zynq/config-4.14 create mode 100644 target/linux/zynq/image/Makefile create mode 100755 target/linux/zynq/image/gen_zynq_sdcard_img.sh create mode 100644 target/linux/zynq/patches-4.14/020-v4.17-add-digilent-zybo-z7-board.patch create mode 100644 target/linux/zynq/patches-4.14/022-v4.19-dts-set-correct-manufacturer-for-ZedBoard-and-MicroZed.patch create mode 100644 target/linux/zynq/patches-4.14/025-v4.19-update-digilent-zybo-z7-dts.patch create mode 100644 target/sdk/Config.in create mode 100644 target/sdk/Makefile create mode 100755 target/sdk/convert-config.pl create mode 100644 target/sdk/files/Config.in create mode 100644 target/sdk/files/Makefile create mode 100644 target/sdk/files/README.SDK create mode 100644 target/sdk/files/include/prepare.mk create mode 100644 target/toolchain/Config.in create mode 100644 target/toolchain/Makefile create mode 100644 target/toolchain/files/README.TOOLCHAIN create mode 100755 target/toolchain/files/wrapper.sh create mode 100644 toolchain/Config.in create mode 100644 toolchain/Makefile create mode 100644 toolchain/binutils/Config.in create mode 100644 toolchain/binutils/Config.version create mode 100644 toolchain/binutils/Makefile create mode 100644 toolchain/binutils/patches/2.29.1/300-001_ld_makefile_patch.patch create mode 100644 toolchain/binutils/patches/2.29.1/300-012_check_ldrunpath_length.patch create mode 100644 toolchain/binutils/patches/2.29.1/400-mips_no_dynamic_linking_sym.patch create mode 100644 toolchain/binutils/patches/2.29.1/500-Change-default-emulation-for-mips64-linux.patch create mode 100644 toolchain/binutils/patches/2.31.1/100-delay_evaluation_of_alignment_expressions_in_output_sections.patch create mode 100644 toolchain/binutils/patches/2.31.1/300-001_ld_makefile_patch.patch create mode 100644 toolchain/binutils/patches/2.31.1/300-012_check_ldrunpath_length.patch create mode 100644 toolchain/binutils/patches/2.31.1/400-mips_no_dynamic_linking_sym.patch create mode 100644 toolchain/binutils/patches/2.31.1/500-Change-default-emulation-for-mips64-linux.patch create mode 100644 toolchain/binutils/patches/2.32/300-001_ld_makefile_patch.patch create mode 100644 toolchain/binutils/patches/2.32/300-012_check_ldrunpath_length.patch create mode 100644 toolchain/binutils/patches/2.32/400-mips_no_dynamic_linking_sym.patch create mode 100644 toolchain/binutils/patches/2.32/500-Change-default-emulation-for-mips64-linux.patch create mode 100644 toolchain/fortify-headers/Makefile create mode 100644 toolchain/gcc/Config.in create mode 100644 toolchain/gcc/Config.version create mode 100644 toolchain/gcc/common.mk create mode 100644 toolchain/gcc/exclude-testsuite create mode 100644 toolchain/gcc/files/alternate-arch-cc.in create mode 100644 toolchain/gcc/final/Makefile create mode 100644 toolchain/gcc/initial/Makefile create mode 100644 toolchain/gcc/minimal/Makefile create mode 100644 toolchain/gcc/patches/5.5.0/001-revert_register_mode_search.patch create mode 100644 toolchain/gcc/patches/5.5.0/002-case_insensitive.patch create mode 100644 toolchain/gcc/patches/5.5.0/010-documentation.patch create mode 100644 toolchain/gcc/patches/5.5.0/020-no-plt-backport.patch create mode 100644 toolchain/gcc/patches/5.5.0/040-fix-mips-ICE-PR-68400.patch create mode 100644 toolchain/gcc/patches/5.5.0/050-libitm-Don-t-redefine-__always_inline-in-local_atomi.patch create mode 100644 toolchain/gcc/patches/5.5.0/200-musl_config.patch create mode 100644 toolchain/gcc/patches/5.5.0/201-musl_arm.patch create mode 100644 toolchain/gcc/patches/5.5.0/202-musl_mips.patch create mode 100644 toolchain/gcc/patches/5.5.0/203-musl_powerpc.patch create mode 100644 toolchain/gcc/patches/5.5.0/204-musl_sh.patch create mode 100644 toolchain/gcc/patches/5.5.0/205-musl_x86.patch create mode 100644 toolchain/gcc/patches/5.5.0/206-musl_aarch64.patch create mode 100644 toolchain/gcc/patches/5.5.0/207-musl_fixincludes.patch create mode 100644 toolchain/gcc/patches/5.5.0/209-musl_libstdc++.patch create mode 100644 toolchain/gcc/patches/5.5.0/230-musl_libssp.patch create mode 100644 toolchain/gcc/patches/5.5.0/240-musl-libitm-fixes.patch create mode 100644 toolchain/gcc/patches/5.5.0/250-add-musl.patch create mode 100644 toolchain/gcc/patches/5.5.0/260-musl-add-unwind-fix.patch create mode 100644 toolchain/gcc/patches/5.5.0/270-musl-add-powerpc-softfloat-fix.patch create mode 100644 toolchain/gcc/patches/5.5.0/280-musl-disable-ifunc-by-default.patch create mode 100644 toolchain/gcc/patches/5.5.0/300-mips_Os_cpu_rtx_cost_model.patch create mode 100644 toolchain/gcc/patches/5.5.0/800-arm_v5te_no_ldrd_strd.patch create mode 100644 toolchain/gcc/patches/5.5.0/810-arm-softfloat-libgcc.patch create mode 100644 toolchain/gcc/patches/5.5.0/820-libgcc_pic.patch create mode 100644 toolchain/gcc/patches/5.5.0/830-arm_unbreak_armv4t.patch create mode 100644 toolchain/gcc/patches/5.5.0/840-armv4_pass_fix-v4bx_to_ld.patch create mode 100644 toolchain/gcc/patches/5.5.0/850-use_shared_libgcc.patch create mode 100644 toolchain/gcc/patches/5.5.0/851-libgcc_no_compat.patch create mode 100644 toolchain/gcc/patches/5.5.0/870-ppc_no_crtsavres.patch create mode 100644 toolchain/gcc/patches/5.5.0/880-no_java_section.patch create mode 100644 toolchain/gcc/patches/5.5.0/881-no_tm_section.patch create mode 100644 toolchain/gcc/patches/5.5.0/900-bad-mips16-crt.patch create mode 100644 toolchain/gcc/patches/5.5.0/910-mbsd_multi.patch create mode 100644 toolchain/gcc/patches/5.5.0/920-specs_nonfatal_getenv.patch create mode 100644 toolchain/gcc/patches/5.5.0/930-fix-mips-noexecstack.patch create mode 100644 toolchain/gcc/patches/5.5.0/931-fix-MIPS-softfloat-build-issue.patch create mode 100644 toolchain/gcc/patches/5.5.0/940-no-clobber-stamp-bits.patch create mode 100644 toolchain/gcc/patches/5.5.0/950-cpp_file_path_translation.patch create mode 100644 toolchain/gcc/patches/5.5.0/960-go_libm.patch create mode 100644 toolchain/gcc/patches/5.5.0/970-warn_bug.patch create mode 100644 toolchain/gcc/patches/7.5.0/001-revert_register_mode_search.patch create mode 100644 toolchain/gcc/patches/7.5.0/002-case_insensitive.patch create mode 100644 toolchain/gcc/patches/7.5.0/010-documentation.patch create mode 100644 toolchain/gcc/patches/7.5.0/110-Fix-MIPS-PR-84790.patch create mode 100644 toolchain/gcc/patches/7.5.0/230-musl_libssp.patch create mode 100644 toolchain/gcc/patches/7.5.0/300-mips_Os_cpu_rtx_cost_model.patch create mode 100644 toolchain/gcc/patches/7.5.0/800-arm_v5te_no_ldrd_strd.patch create mode 100644 toolchain/gcc/patches/7.5.0/810-arm-softfloat-libgcc.patch create mode 100644 toolchain/gcc/patches/7.5.0/820-libgcc_pic.patch create mode 100644 toolchain/gcc/patches/7.5.0/840-armv4_pass_fix-v4bx_to_ld.patch create mode 100644 toolchain/gcc/patches/7.5.0/850-use_shared_libgcc.patch create mode 100644 toolchain/gcc/patches/7.5.0/851-libgcc_no_compat.patch create mode 100644 toolchain/gcc/patches/7.5.0/870-ppc_no_crtsavres.patch create mode 100644 toolchain/gcc/patches/7.5.0/881-no_tm_section.patch create mode 100644 toolchain/gcc/patches/7.5.0/900-bad-mips16-crt.patch create mode 100644 toolchain/gcc/patches/7.5.0/910-mbsd_multi.patch create mode 100644 toolchain/gcc/patches/7.5.0/920-specs_nonfatal_getenv.patch create mode 100644 toolchain/gcc/patches/7.5.0/930-fix-mips-noexecstack.patch create mode 100644 toolchain/gcc/patches/7.5.0/931-libffi-fix-MIPS-softfloat-build-issue.patch create mode 100644 toolchain/gcc/patches/7.5.0/940-no-clobber-stamp-bits.patch create mode 100644 toolchain/gcc/patches/7.5.0/950-cpp_file_path_translation.patch create mode 100644 toolchain/gcc/patches/7.5.0/960-gotools-fix-compilation-when-making-cross-compiler.patch create mode 100644 toolchain/gcc/patches/8.3.0/002-case_insensitive.patch create mode 100644 toolchain/gcc/patches/8.3.0/010-documentation.patch create mode 100644 toolchain/gcc/patches/8.3.0/090-rs6000-PR-89587.patch create mode 100644 toolchain/gcc/patches/8.3.0/110-Fix-MIPS-PR-84790.patch create mode 100644 toolchain/gcc/patches/8.3.0/230-musl_libssp.patch create mode 100644 toolchain/gcc/patches/8.3.0/300-mips_Os_cpu_rtx_cost_model.patch create mode 100644 toolchain/gcc/patches/8.3.0/800-arm_v5te_no_ldrd_strd.patch create mode 100644 toolchain/gcc/patches/8.3.0/810-arm-softfloat-libgcc.patch create mode 100644 toolchain/gcc/patches/8.3.0/820-libgcc_pic.patch create mode 100644 toolchain/gcc/patches/8.3.0/840-armv4_pass_fix-v4bx_to_ld.patch create mode 100644 toolchain/gcc/patches/8.3.0/850-use_shared_libgcc.patch create mode 100644 toolchain/gcc/patches/8.3.0/851-libgcc_no_compat.patch create mode 100644 toolchain/gcc/patches/8.3.0/870-ppc_no_crtsavres.patch create mode 100644 toolchain/gcc/patches/8.3.0/881-no_tm_section.patch create mode 100644 toolchain/gcc/patches/8.3.0/900-bad-mips16-crt.patch create mode 100644 toolchain/gcc/patches/8.3.0/910-mbsd_multi.patch create mode 100644 toolchain/gcc/patches/8.3.0/920-specs_nonfatal_getenv.patch create mode 100644 toolchain/gcc/patches/8.3.0/930-fix-mips-noexecstack.patch create mode 100644 toolchain/gcc/patches/8.3.0/931-libffi-fix-MIPS-softfloat-build-issue.patch create mode 100644 toolchain/gcc/patches/8.3.0/960-gotools-fix-compilation-when-making-cross-compiler.patch create mode 100644 toolchain/gdb/Makefile create mode 100644 toolchain/gdb/patches-arc/100-no_extern_inline.patch create mode 100644 toolchain/gdb/patches-arc/110-no_testsuite.patch create mode 100644 toolchain/gdb/patches-arc/120-fix-compile-flag-mismatch.patch create mode 100644 toolchain/gdb/patches/100-no_extern_inline.patch create mode 100644 toolchain/gdb/patches/110-no_testsuite.patch create mode 100644 toolchain/gdb/patches/120-fix-compile-flag-mismatch.patch create mode 100644 toolchain/glibc/Makefile create mode 100644 toolchain/glibc/common.mk create mode 100644 toolchain/glibc/headers/Makefile create mode 100644 toolchain/glibc/include/libintl.h create mode 100644 toolchain/glibc/patches/001-regex-read-overrun.patch create mode 100644 toolchain/glibc/patches/100-fix_cross_rpcgen.patch create mode 100644 toolchain/glibc/patches/200-add-dl-search-paths.patch create mode 100644 toolchain/info.mk create mode 100644 toolchain/kernel-headers/Makefile create mode 100644 toolchain/musl/Config.in create mode 100644 toolchain/musl/Makefile create mode 100644 toolchain/musl/common.mk create mode 100644 toolchain/musl/include/bits/wordsize.h create mode 100644 toolchain/musl/include/features.h create mode 100644 toolchain/musl/include/sgidefs.h create mode 100644 toolchain/musl/include/sys/cdefs.h create mode 100644 toolchain/musl/include/sys/glibc-types.h create mode 100644 toolchain/musl/include/sys/queue.h create mode 100644 toolchain/musl/patches/100-add_glob_onlydir.patch create mode 100644 toolchain/musl/patches/110-read_timezone_from_fs.patch create mode 100644 toolchain/musl/patches/200-add_libssp_nonshared.patch create mode 100644 toolchain/musl/patches/300-relative.patch create mode 100644 toolchain/musl/patches/400-Add-format-attribute-to-some-function-declarations.patch create mode 100644 toolchain/musl/patches/500-0002-don-t-use-libc.threads_minus_1-as-relaxed-atomic-for.patch create mode 100644 toolchain/musl/patches/700-wcsnrtombs-cve-2020-28928.diff create mode 100644 toolchain/musl/patches/900-iconv_size_hack.patch create mode 100644 toolchain/musl/patches/901-crypt_size_hack.patch create mode 100644 toolchain/nasm/Makefile create mode 100644 toolchain/uClibc/Config.in create mode 100644 toolchain/uClibc/Makefile create mode 100644 toolchain/uClibc/common.mk create mode 100644 toolchain/uClibc/config/arc create mode 100644 toolchain/uClibc/config/archs create mode 100644 toolchain/uClibc/config/arm create mode 100644 toolchain/uClibc/config/armeb create mode 100644 toolchain/uClibc/config/common create mode 100644 toolchain/uClibc/config/debug create mode 100644 toolchain/uClibc/config/i386 create mode 100644 toolchain/uClibc/config/i686 create mode 100644 toolchain/uClibc/config/m68k create mode 100644 toolchain/uClibc/config/mips create mode 100644 toolchain/uClibc/config/mips64 create mode 100644 toolchain/uClibc/config/mips64.32 create mode 100644 toolchain/uClibc/config/mips64.64 create mode 100644 toolchain/uClibc/config/mips64.n32 create mode 100644 toolchain/uClibc/config/mips64el create mode 100644 toolchain/uClibc/config/mips64el.32 create mode 100644 toolchain/uClibc/config/mips64el.64 create mode 100644 toolchain/uClibc/config/mips64el.n32 create mode 100644 toolchain/uClibc/config/mipsel create mode 100644 toolchain/uClibc/config/mipsel.cobalt create mode 100644 toolchain/uClibc/config/powerpc create mode 100644 toolchain/uClibc/config/powerpc.e500 create mode 100644 toolchain/uClibc/config/sparc create mode 100644 toolchain/uClibc/config/sparc.leon create mode 100644 toolchain/uClibc/config/x86_64 create mode 100644 toolchain/uClibc/headers/Makefile create mode 100644 toolchain/uClibc/utils/Makefile create mode 100644 toolchain/wrapper/Makefile create mode 100644 tools/Makefile create mode 100644 tools/autoconf/Makefile create mode 100644 tools/autoconf/patches/000-relocatable.patch create mode 100644 tools/autoconf/patches/001-no_emacs_lib.patch create mode 100644 tools/autoconf/patches/002-musl_host_fixup.patch create mode 100644 tools/automake/Makefile create mode 100755 tools/automake/files/aclocal create mode 100644 tools/automake/patches/000-relocatable.patch create mode 100644 tools/automake/patches/100-aclocal-skip-not-existing-directories.patch create mode 100644 tools/automake/patches/200-do-not-override-silent-rules.patch create mode 100644 tools/b43-tools/Makefile create mode 100755 tools/b43-tools/files/b43-fwsquash.py create mode 100644 tools/b43-tools/patches/001-fw-dirname.patch create mode 100644 tools/b43-tools/patches/002-no_libfl.patch create mode 100644 tools/bc/Makefile create mode 100644 tools/bc/patches/001-no_doc.patch create mode 100644 tools/bison/Makefile create mode 100644 tools/bison/patches/100-fix-gets-removal.patch create mode 100755 tools/bison/scripts/yacc create mode 100644 tools/cbootimage-configs/Makefile create mode 100644 tools/cbootimage/Makefile create mode 100644 tools/ccache/Makefile create mode 100755 tools/ccache/files/ccache_cc create mode 100755 tools/ccache/files/ccache_cxx create mode 100644 tools/ccache/patches/100-honour-copts.patch create mode 100644 tools/cmake/Makefile create mode 100644 tools/cmake/patches/100-disable_qt_tests.patch create mode 100644 tools/cmake/patches/110-libarchive-fix-libressl-compat.patch create mode 100644 tools/cmake/patches/120-curl-fix-libressl-linking.patch create mode 100644 tools/cmake/patches/130-bootstrap_parallel_make_flag.patch create mode 100644 tools/cmake/patches/140-libarchive-fix-libressl.patch create mode 100644 tools/coreutils/Makefile create mode 100644 tools/coreutils/patches/001-fix-macos-vasnprintf.patch create mode 100644 tools/dosfstools/Makefile create mode 100644 tools/dosfstools/patches/0002-Switch-to-AC_CHECK_LIB-for-iconv-library-linking.patch create mode 100644 tools/e2fsprogs/Makefile create mode 100644 tools/e2fsprogs/patches/001-exit_0_on_corrected_errors.patch create mode 100644 tools/e2fsprogs/patches/002-dont-build-e4defrag.patch create mode 100644 tools/e2fsprogs/patches/003-no-crond.patch create mode 100644 tools/elftosb/Makefile create mode 100644 tools/elftosb/patches/001-libm.patch create mode 100644 tools/elftosb/patches/002-fix-header-path.patch create mode 100644 tools/elftosb/patches/003-use-ldflags.patch create mode 100644 tools/expat/Makefile create mode 100644 tools/findutils/Makefile create mode 100644 tools/findutils/patches/100-include_sysmacros.patch create mode 100644 tools/findutils/patches/110-glibc-change-work-around.patch create mode 100644 tools/firmware-utils/Makefile create mode 100644 tools/firmware-utils/src/add_header.c create mode 100644 tools/firmware-utils/src/addpattern.c create mode 100644 tools/firmware-utils/src/asustrx.c create mode 100644 tools/firmware-utils/src/bcm_tag.h create mode 100644 tools/firmware-utils/src/bcmalgo.c create mode 100644 tools/firmware-utils/src/bcmalgo.h create mode 100644 tools/firmware-utils/src/buffalo-enc.c create mode 100644 tools/firmware-utils/src/buffalo-lib.c create mode 100644 tools/firmware-utils/src/buffalo-lib.h create mode 100644 tools/firmware-utils/src/buffalo-tag.c create mode 100644 tools/firmware-utils/src/buffalo-tftp.c create mode 100644 tools/firmware-utils/src/csysimg.h create mode 100644 tools/firmware-utils/src/cyg_crc.h create mode 100644 tools/firmware-utils/src/cyg_crc16.c create mode 100644 tools/firmware-utils/src/cyg_crc32.c create mode 100644 tools/firmware-utils/src/dgfirmware.c create mode 100644 tools/firmware-utils/src/dgn3500sum.c create mode 100644 tools/firmware-utils/src/dns313-header.c create mode 100644 tools/firmware-utils/src/edimax_fw_header.c create mode 100644 tools/firmware-utils/src/encode_crc.c create mode 100644 tools/firmware-utils/src/fix-u-media-header.c create mode 100644 tools/firmware-utils/src/fw.h create mode 100644 tools/firmware-utils/src/hcsmakeimage.c create mode 100644 tools/firmware-utils/src/imagetag.c create mode 100644 tools/firmware-utils/src/imagetag.ggo create mode 100644 tools/firmware-utils/src/imagetag_cmdline.c create mode 100644 tools/firmware-utils/src/imagetag_cmdline.h create mode 100644 tools/firmware-utils/src/jcgimage.c create mode 100644 tools/firmware-utils/src/lxlfw.c create mode 100644 tools/firmware-utils/src/lzma2eva.c create mode 100644 tools/firmware-utils/src/makeamitbin.c create mode 100644 tools/firmware-utils/src/md5.c create mode 100644 tools/firmware-utils/src/md5.h create mode 100644 tools/firmware-utils/src/mkbrncmdline.c create mode 100644 tools/firmware-utils/src/mkbrnimg.c create mode 100644 tools/firmware-utils/src/mkbuffaloimg.c create mode 100644 tools/firmware-utils/src/mkcameofw.c create mode 100644 tools/firmware-utils/src/mkcasfw.c create mode 100644 tools/firmware-utils/src/mkchkimg.c create mode 100644 tools/firmware-utils/src/mkcsysimg.c create mode 100644 tools/firmware-utils/src/mkdapimg.c create mode 100644 tools/firmware-utils/src/mkdapimg2.c create mode 100644 tools/firmware-utils/src/mkdhpimg.c create mode 100644 tools/firmware-utils/src/mkdlinkfw-lib.c create mode 100644 tools/firmware-utils/src/mkdlinkfw-lib.h create mode 100644 tools/firmware-utils/src/mkdlinkfw.c create mode 100644 tools/firmware-utils/src/mkdniimg.c create mode 100644 tools/firmware-utils/src/mkedimaximg.c create mode 100644 tools/firmware-utils/src/mkfwimage.c create mode 100644 tools/firmware-utils/src/mkfwimage2.c create mode 100644 tools/firmware-utils/src/mkheader_gemtek.c create mode 100644 tools/firmware-utils/src/mkhilinkfw.c create mode 100644 tools/firmware-utils/src/mkmerakifw-old.c create mode 100644 tools/firmware-utils/src/mkmerakifw.c create mode 100644 tools/firmware-utils/src/mkmylofw.c create mode 100644 tools/firmware-utils/src/mkplanexfw.c create mode 100644 tools/firmware-utils/src/mkporayfw.c create mode 100644 tools/firmware-utils/src/mkrasimage.c create mode 100644 tools/firmware-utils/src/mkrtn56uimg.c create mode 100644 tools/firmware-utils/src/mksenaofw.c create mode 100644 tools/firmware-utils/src/mksercommfw.c create mode 100644 tools/firmware-utils/src/mktitanimg.c create mode 100644 tools/firmware-utils/src/mktitanimg.h create mode 100644 tools/firmware-utils/src/mktplinkfw-lib.c create mode 100644 tools/firmware-utils/src/mktplinkfw-lib.h create mode 100644 tools/firmware-utils/src/mktplinkfw.c create mode 100644 tools/firmware-utils/src/mktplinkfw2.c create mode 100644 tools/firmware-utils/src/mkwrggimg.c create mode 100644 tools/firmware-utils/src/mkwrgimg.c create mode 100644 tools/firmware-utils/src/mkzcfw.c create mode 100644 tools/firmware-utils/src/mkzynfw.c create mode 100644 tools/firmware-utils/src/motorola-bin.c create mode 100644 tools/firmware-utils/src/myloader.h create mode 100644 tools/firmware-utils/src/nand_ecc.c create mode 100644 tools/firmware-utils/src/nec-enc.c create mode 100644 tools/firmware-utils/src/osbridge-crc.c create mode 100644 tools/firmware-utils/src/oseama.c create mode 100644 tools/firmware-utils/src/otrx.c create mode 100644 tools/firmware-utils/src/pc1crypt.c create mode 100644 tools/firmware-utils/src/ptgen.c create mode 100644 tools/firmware-utils/src/seama.c create mode 100644 tools/firmware-utils/src/seama.h create mode 100644 tools/firmware-utils/src/sha1.c create mode 100644 tools/firmware-utils/src/sha1.h create mode 100644 tools/firmware-utils/src/spw303v.c create mode 100644 tools/firmware-utils/src/srec2bin.c create mode 100644 tools/firmware-utils/src/tplink-safeloader.c create mode 100644 tools/firmware-utils/src/trx.c create mode 100644 tools/firmware-utils/src/trx2edips.c create mode 100644 tools/firmware-utils/src/trx2usr.c create mode 100644 tools/firmware-utils/src/wrt400n.c create mode 100644 tools/firmware-utils/src/xorimage.c create mode 100644 tools/firmware-utils/src/zyimage.c create mode 100644 tools/firmware-utils/src/zynos.h create mode 100644 tools/firmware-utils/src/zyxbcm.c create mode 100644 tools/flex/Makefile create mode 100644 tools/flex/patches/100-disable-tests-docs.patch create mode 100644 tools/flex/patches/200-build-AC_USE_SYSTEM_EXTENSIONS-in-configure.ac.patch create mode 100644 tools/flock/Makefile create mode 100644 tools/flock/src/flock.c create mode 100644 tools/genext2fs/Makefile create mode 100644 tools/genext2fs/patches/100-c99_scanf.patch create mode 100644 tools/genext2fs/patches/200-autoconf.patch create mode 100644 tools/genext2fs/patches/300-blocksize-creator.patch create mode 100644 tools/genext2fs/patches/400-byteswap_fix.patch create mode 100644 tools/gengetopt/Makefile create mode 100644 tools/gengetopt/patches/100-no-tests-docs.patch create mode 100644 tools/gmp/Makefile create mode 100644 tools/include/byteswap.h create mode 100644 tools/include/elf.h create mode 100644 tools/include/endian.h create mode 100644 tools/include/sys/sysmacros.h create mode 100644 tools/isl/Makefile create mode 100644 tools/kernel2minor/Makefile create mode 100644 tools/libelf/Makefile create mode 100644 tools/libelf/patches/900-fix-undefined-macro-access.patch create mode 100644 tools/libressl/Makefile create mode 100644 tools/libressl/patches/001-dont-build-tests-man.patch create mode 100644 tools/libressl/patches/010-avoid-glibc.patch create mode 100644 tools/libtool/Makefile create mode 100644 tools/libtool/files/libtool-v1.5.patch create mode 100644 tools/libtool/files/libtool-v2.2.patch create mode 100644 tools/libtool/files/libtool-v2.4.patch create mode 100644 tools/libtool/patches/000-relocatable.patch create mode 100644 tools/libtool/patches/001-fix-func_append.patch create mode 100644 tools/libtool/patches/100-libdir-fixes.patch create mode 100644 tools/libtool/patches/110-dont-use-target-dir-for-relinking.patch create mode 100644 tools/libtool/patches/120-strip-unsafe-dirs-for-relinking.patch create mode 100644 tools/libtool/patches/150-trailingslash.patch create mode 100644 tools/libtool/patches/160-passthrough-ssp.patch create mode 100644 tools/libtool/patches/200-openwrt-branding.patch create mode 100644 tools/lzma-old/Makefile create mode 100644 tools/lzma-old/patches/100-lzma_zlib.patch create mode 100644 tools/lzma-old/patches/110-ranlib.patch create mode 100644 tools/lzma-old/patches/120-add-cflags.patch create mode 100644 tools/lzma/Makefile create mode 100644 tools/lzma/patches/001-large_files.patch create mode 100644 tools/lzma/patches/002-lzmp.patch create mode 100644 tools/lzma/patches/003-compile_fixes.patch create mode 100644 tools/lzma/patches/100-static_library.patch create mode 100644 tools/lzma/patches/101-move-copyright-to-usage-info.patch create mode 100644 tools/m4/Makefile create mode 100644 tools/m4/patches/001-fix-macos-vasnprintf.patch create mode 100644 tools/m4/patches/010-glibc-change-work-around.patch create mode 100644 tools/make-ext4fs/Makefile create mode 100644 tools/missing-macros/Makefile create mode 100644 tools/missing-macros/src/README create mode 100755 tools/missing-macros/src/bin/help2man create mode 100755 tools/missing-macros/src/bin/makeinfo create mode 100644 tools/missing-macros/src/m4/as-ac-expand.m4 create mode 100644 tools/missing-macros/src/m4/as-compiler-flag.m4 create mode 100644 tools/missing-macros/src/m4/as-unaligned-access.m4 create mode 100644 tools/missing-macros/src/m4/as-version.m4 create mode 100644 tools/missing-macros/src/m4/dnet.m4 create mode 100644 tools/missing-macros/src/m4/fake-gtk-doc-check.m4 create mode 100644 tools/missing-macros/src/m4/fake-intltool.m4 create mode 100644 tools/missing-macros/src/m4/glibc2.m4 create mode 100644 tools/missing-macros/src/m4/glibc21.m4 create mode 100644 tools/missing-macros/src/m4/intdiv0.m4 create mode 100644 tools/missing-macros/src/m4/intmax.m4 create mode 100644 tools/missing-macros/src/m4/inttypes-pri.m4 create mode 100644 tools/missing-macros/src/m4/inttypes_h.m4 create mode 100644 tools/missing-macros/src/m4/lib-ld.m4 create mode 100644 tools/missing-macros/src/m4/lib-link.m4 create mode 100644 tools/missing-macros/src/m4/lib-prefix.m4 create mode 100644 tools/missing-macros/src/m4/mfx_acc.m4 create mode 100644 tools/missing-macros/src/m4/mfx_cppflags.m4 create mode 100644 tools/missing-macros/src/m4/mfx_limits.m4 create mode 100644 tools/missing-macros/src/m4/progtest.m4 create mode 100644 tools/missing-macros/src/m4/stdint_h.m4 create mode 100644 tools/missing-macros/src/m4/uintmax_t.m4 create mode 100644 tools/missing-macros/src/m4/va_copy.m4 create mode 100644 tools/missing-macros/src/m4/wint_t.m4 create mode 100644 tools/mkimage/Makefile create mode 100644 tools/mkimage/patches/010-freebsd-ulong-fix.patch create mode 100644 tools/mkimage/patches/020-include_compile_fix.patch create mode 100644 tools/mkimage/patches/030-allow-to-use-different-magic.patch create mode 100644 tools/mkimage/patches/050-image_h_portability.patch create mode 100644 tools/mkimage/patches/060-remove_kernel_includes.patch create mode 100644 tools/mkimage/patches/080-remove_compiler_check.patch create mode 100644 tools/mkimage/patches/100-freebsd-compat.patch create mode 100644 tools/mkimage/patches/200-rsa-sign-add-support-for-libressl.patch create mode 100644 tools/mkimage/patches/210-link-libcrypto-static.patch create mode 100644 tools/mklibs/Makefile create mode 100644 tools/mklibs/include/elf.h create mode 100644 tools/mklibs/patches/001-compile.patch create mode 100644 tools/mklibs/patches/002-disable_symbol_checks.patch create mode 100644 tools/mklibs/patches/003-no_copy.patch create mode 100644 tools/mklibs/patches/004-libpthread_link.patch create mode 100644 tools/mklibs/patches/005-duplicate_syms.patch create mode 100644 tools/mklibs/patches/006-uclibc_init.patch create mode 100644 tools/mklibs/patches/007-gc_sections.patch create mode 100644 tools/mklibs/patches/008-uclibc_libgcc_link.patch create mode 100644 tools/mklibs/patches/009-uclibc_libpthread_symbols.patch create mode 100644 tools/mklibs/patches/010-remove_STT_GNU_IFUNC.patch create mode 100644 tools/mklibs/patches/011-remove_multiarch.patch create mode 100644 tools/mm-macros/Makefile create mode 100644 tools/mpc/Makefile create mode 100644 tools/mpfr/Makefile create mode 100644 tools/mpfr/patches/001-only_src.patch create mode 100644 tools/mpfr/patches/100-freebsd-compat.patch create mode 100644 tools/mtd-utils/Makefile create mode 100644 tools/mtd-utils/include/fls.h create mode 100644 tools/mtd-utils/include/linux/types.h create mode 100644 tools/mtd-utils/patches/100-sscanf_fix.patch create mode 100644 tools/mtd-utils/patches/110-portability.patch create mode 100644 tools/mtd-utils/patches/130-lzma_jffs2.patch create mode 100644 tools/mtd-utils/patches/134-freebsd_loff_t.patch create mode 100644 tools/mtd-utils/patches/200-libubigen-add-ubigen_write_terminator-function.patch create mode 100644 tools/mtd-utils/patches/201-ubinize-add-terminator-support.patch create mode 100644 tools/mtd-utils/patches/320-mkfs.jffs2-SOURCE_DATE_EPOCH.patch create mode 100644 tools/mtools/Makefile create mode 100644 tools/padjffs2/Makefile create mode 100644 tools/padjffs2/src/Makefile create mode 100644 tools/padjffs2/src/padjffs2.c create mode 100644 tools/patch-image/Makefile create mode 100644 tools/patch-image/src/patch-cmdline.c create mode 100644 tools/patch-image/src/patch-dtb.c create mode 100644 tools/patch/Makefile create mode 100644 tools/patch/patches/010-CVE-2018-6951.patch create mode 100644 tools/patch/patches/020-CVE-2018-1000156.patch create mode 100644 tools/patch/patches/030-CVE-2018-6952.patch create mode 100644 tools/patch/patches/040-Fix-error-handling-with-git-style-patches.patch create mode 100644 tools/patch/patches/050-CVE-2019-13636.patch create mode 100644 tools/patch/patches/060-CVE-2019-13638.patch create mode 100644 tools/patchelf/Makefile create mode 100644 tools/pkg-config/Makefile create mode 100755 tools/pkg-config/files/pkg-config create mode 100644 tools/qemu/Makefile create mode 100644 tools/quilt/Makefile create mode 100644 tools/quilt/patches/000-relocatable.patch create mode 100644 tools/quilt/patches/001-fix_compile.patch create mode 100644 tools/scons/Makefile create mode 100755 tools/scons/files/pywrap.sh create mode 100644 tools/scons/patches/001-platform_env.patch create mode 100644 tools/sdimage/Makefile create mode 100644 tools/sdimage/patches/100-deactivate-ufb.patch create mode 100644 tools/sed/Makefile create mode 100644 tools/sparse/Makefile create mode 100644 tools/squashfs/Makefile create mode 100644 tools/squashfs/patches/100-lzma.patch create mode 100644 tools/squashfs/patches/110-no_nonstatic_inline.patch create mode 100644 tools/squashfs/patches/120-add-fixed-timestamp-support.patch create mode 100644 tools/squashfs/patches/130-include_sysmacros.patch create mode 100644 tools/squashfs/patches/140-gcc-10-fix.patch create mode 100644 tools/squashfskit4/Makefile create mode 100644 tools/squashfskit4/patches/0001-fix-version.sh.patch create mode 100644 tools/squashfskit4/patches/0002-fix-build-failure-against-gcc-10.patch create mode 100644 tools/sstrip/Makefile create mode 100644 tools/sstrip/src/sstrip.c create mode 100644 tools/tar/Makefile create mode 100644 tools/tar/patches/100-symlink-force-root-name.patch create mode 100644 tools/tar/patches/110-symlink-force-permissions.patch create mode 100644 tools/upslug2/Makefile create mode 100644 tools/upslug2/patches/100-libpcap_fix.patch create mode 100644 tools/wrt350nv2-builder/Makefile create mode 100644 tools/wrt350nv2-builder/src/crypt.h create mode 100644 tools/wrt350nv2-builder/src/ioapi.c create mode 100644 tools/wrt350nv2-builder/src/ioapi.h create mode 100644 tools/wrt350nv2-builder/src/md5.c create mode 100644 tools/wrt350nv2-builder/src/md5.h create mode 100644 tools/wrt350nv2-builder/src/upgrade.h create mode 100644 tools/wrt350nv2-builder/src/wrt350nv2-builder.c create mode 100644 tools/xz/Makefile create mode 100644 tools/zip/Makefile create mode 100644 tools/zip/patches/001-unix-configure-borrow-the-LFS-test-from-autotools.patch create mode 100644 tools/zip/patches/004-do-not-set-unwanted-cflags.patch create mode 100644 tools/zip/patches/006-stack-markings-to-avoid-executable-stack.patch create mode 100644 tools/zip/patches/007-fclose-in-file-not-fclose-x.patch create mode 100644 tools/zip/patches/008-hardening-build-fix-1.patch create mode 100644 tools/zip/patches/009-hardening-build-fix-2.patch create mode 100644 tools/zip/patches/010-remove-build-date.patch create mode 100644 tools/zip/patches/011-add-option-for-reproducible-archives.patch create mode 100644 tools/zlib/Makefile create mode 100644 tools/zlib/patches/900-overridable-pc-exec-prefix.patch diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fa1385d --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* -text diff --git a/.github/issue_template b/.github/issue_template new file mode 100644 index 0000000..dc2b2da --- /dev/null +++ b/.github/issue_template @@ -0,0 +1,13 @@ +This repository is a mirror of our main repo at https://git.openwrt.org/openwrt/openwrt.git +It is for reference only and is not active for checkins or for reporting issues. + +All issues should be reported at: https://bugs.openwrt.org + +Please do not open any NEW issue here - we will be closing the Github issues +capability in the near future. + +We will continue to accept Pull Requests here as described in the repo description. + +Close this now and click here: https://bugs.openwrt.org + +Thankyou for your co-operation. diff --git a/.github/pull_request_template b/.github/pull_request_template new file mode 100644 index 0000000..a2d6bd1 --- /dev/null +++ b/.github/pull_request_template @@ -0,0 +1,8 @@ +Thanks for your contribution to OpenWrt! + +To help keep the codebase consistent and readable, +and to help people review your contribution, +we ask you to follow the rules you find in the wiki at this link +https://openwrt.org/submitting-patches + +Please remove this message before posting the pull request. diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6549af8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,30 @@ +*.o +.DS_Store +.*.swp +/env +/dl +/.config +/.config.old +/bin +/build_dir +/staging_dir +/tmp +/logs +/feeds +/feeds.conf +/files +/overlay +/package/feeds +/package/openwrt-packages +/*.patch +key-build* +*.orig +*.rej +*~ +.#* +*# +.emacs.desktop* +TAGS*~ +git-src +.project +.cproject diff --git a/BSDmakefile b/BSDmakefile new file mode 100644 index 0000000..c6a0425 --- /dev/null +++ b/BSDmakefile @@ -0,0 +1,7 @@ +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +world ${.TARGETS}: + @gmake $@ diff --git a/Config.in b/Config.in new file mode 100644 index 0000000..d30c048 --- /dev/null +++ b/Config.in @@ -0,0 +1,34 @@ +# Copyright (C) 2006-2013 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +mainmenu "OpenWrt Configuration" + +config MODULES + option modules + bool + default y + +config HAVE_DOT_CONFIG + bool + default y + +source "target/Config.in" + +source "config/Config-images.in" + +source "config/Config-build.in" + +source "config/Config-devel.in" + +source "toolchain/Config.in" + +source "target/imagebuilder/Config.in" + +source "target/sdk/Config.in" + +source "target/toolchain/Config.in" + +source "tmp/.config-package.in" diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..d60c31a --- /dev/null +++ b/LICENSE @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..73644a8 --- /dev/null +++ b/Makefile @@ -0,0 +1,124 @@ +# Makefile for OpenWrt +# +# Copyright (C) 2007 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +TOPDIR:=${CURDIR} +LC_ALL:=C +LANG:=C +TZ:=UTC +export TOPDIR LC_ALL LANG TZ + +empty:= +space:= $(empty) $(empty) +$(if $(findstring $(space),$(TOPDIR)),$(error ERROR: The path to the OpenWrt directory must not include any spaces)) + +world: + +DISTRO_PKG_CONFIG:=$(shell which -a pkg-config | grep -E '\/usr' | head -n 1) +export PATH:=$(TOPDIR)/staging_dir/host/bin:$(PATH) + +ifneq ($(OPENWRT_BUILD),1) + _SINGLE=export MAKEFLAGS=$(space); + + override OPENWRT_BUILD=1 + export OPENWRT_BUILD + GREP_OPTIONS= + export GREP_OPTIONS + CDPATH= + export CDPATH + include $(TOPDIR)/include/debug.mk + include $(TOPDIR)/include/depends.mk + include $(TOPDIR)/include/toplevel.mk +else + include rules.mk + include $(INCLUDE_DIR)/depends.mk + include $(INCLUDE_DIR)/subdir.mk + include target/Makefile + include package/Makefile + include tools/Makefile + include toolchain/Makefile + +$(toolchain/stamp-compile): $(tools/stamp-compile) +$(target/stamp-compile): $(toolchain/stamp-compile) $(tools/stamp-compile) $(BUILD_DIR)/.prepared +$(package/stamp-compile): $(target/stamp-compile) $(package/stamp-cleanup) +$(package/stamp-install): $(package/stamp-compile) +$(target/stamp-install): $(package/stamp-compile) $(package/stamp-install) +check: $(tools/stamp-check) $(toolchain/stamp-check) $(package/stamp-check) + +printdb: + @true + +prepare: $(target/stamp-compile) + +clean: FORCE + rm -rf $(BUILD_DIR) $(STAGING_DIR) $(BIN_DIR) $(OUTPUT_DIR)/packages/$(ARCH_PACKAGES) $(BUILD_LOG_DIR) $(TOPDIR)/staging_dir/packages + +dirclean: clean + rm -rf $(STAGING_DIR_HOST) $(STAGING_DIR_HOSTPKG) $(TOOLCHAIN_DIR) $(BUILD_DIR_BASE)/host $(BUILD_DIR_BASE)/hostpkg $(BUILD_DIR_TOOLCHAIN) + rm -rf $(TMP_DIR) + +ifndef DUMP_TARGET_DB +$(BUILD_DIR)/.prepared: Makefile + @mkdir -p $$(dirname $@) + @touch $@ + +tmp/.prereq_packages: .config + unset ERROR; \ + for package in $(sort $(prereq-y) $(prereq-m)); do \ + $(_SINGLE)$(NO_TRACE_MAKE) -s -r -C package/$$package prereq || ERROR=1; \ + done; \ + if [ -n "$$ERROR" ]; then \ + echo "Package prerequisite check failed."; \ + false; \ + fi + touch $@ +endif + +# check prerequisites before starting to build +prereq: $(target/stamp-prereq) tmp/.prereq_packages + @if [ ! -f "$(INCLUDE_DIR)/site/$(ARCH)" ]; then \ + echo 'ERROR: Missing site config for architecture "$(ARCH)" !'; \ + echo ' The missing file will cause configure scripts to fail during compilation.'; \ + echo ' Please provide a "$(INCLUDE_DIR)/site/$(ARCH)" file and restart the build.'; \ + exit 1; \ + fi + +$(BIN_DIR)/profiles.json: FORCE + $(if $(CONFIG_JSON_OVERVIEW_IMAGE_INFO), \ + WORK_DIR=$(BUILD_DIR)/json_info_files \ + $(SCRIPT_DIR)/json_overview_image_info.py $@ \ + ) + +json_overview_image_info: $(BIN_DIR)/profiles.json + +checksum: FORCE + $(call sha256sums,$(BIN_DIR),$(CONFIG_BUILDBOT)) + +buildversion: FORCE + $(SCRIPT_DIR)/getver.sh > $(BIN_DIR)/version.buildinfo + +feedsversion: FORCE + $(SCRIPT_DIR)/feeds list -fs > $(BIN_DIR)/feeds.buildinfo + +diffconfig: FORCE + mkdir -p $(BIN_DIR) + $(SCRIPT_DIR)/diffconfig.sh > $(BIN_DIR)/config.buildinfo + +buildinfo: FORCE + $(_SINGLE)$(SUBMAKE) -r diffconfig buildversion feedsversion + +prepare: .config $(tools/stamp-compile) $(toolchain/stamp-compile) + $(_SINGLE)$(SUBMAKE) -r buildinfo + +world: prepare $(target/stamp-compile) $(package/stamp-compile) $(package/stamp-install) $(target/stamp-install) FORCE + $(_SINGLE)$(SUBMAKE) -r package/index + $(_SINGLE)$(SUBMAKE) -r json_overview_image_info + $(_SINGLE)$(SUBMAKE) -r checksum + +.PHONY: clean dirclean prereq prepare world package/symlinks package/symlinks-install package/symlinks-clean + +endif diff --git a/README b/README new file mode 100644 index 0000000..55ca92a --- /dev/null +++ b/README @@ -0,0 +1,34 @@ + _______ ________ __ + | |.-----.-----.-----.| | | |.----.| |_ + | - || _ | -__| || | | || _|| _| + |_______|| __|_____|__|__||________||__| |____| + |__| W I R E L E S S F R E E D O M + ----------------------------------------------------- + +This is the buildsystem for the OpenWrt Linux distribution. + +To build your own firmware you need a Linux, BSD or MacOSX system (case +sensitive filesystem required). Cygwin is unsupported because of the lack +of a case sensitive file system. + +You need gcc, binutils, bzip2, flex, python, perl, make, find, grep, diff, +unzip, gawk, getopt, subversion, libz-dev and libc headers installed. + +1. Run "./scripts/feeds update -a" to obtain all the latest package definitions +defined in feeds.conf / feeds.conf.default + +2. Run "./scripts/feeds install -a" to install symlinks for all obtained +packages into package/feeds/ + +3. Run "make menuconfig" to select your preferred configuration for the +toolchain, target system & firmware packages. + +4. Run "make" to build your firmware. This will download all sources, build +the cross-compile toolchain and then cross-compile the Linux kernel & all +chosen applications for your target system. + +Sunshine! + Your OpenWrt Community + http://www.openwrt.org + + diff --git a/config/Config-build.in b/config/Config-build.in new file mode 100644 index 0000000..e5d3857 --- /dev/null +++ b/config/Config-build.in @@ -0,0 +1,312 @@ +# Copyright (C) 2006-2013 OpenWrt.org +# Copyright (C) 2016 LEDE Project +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +menu "Global build settings" + + config JSON_OVERVIEW_IMAGE_INFO + bool "Create JSON info file overview per target" + default BUILDBOT + help + Create a JSON info file called profiles.json in the target + directory containing machine readable list of built profiles + and resulting images. + + config ALL_NONSHARED + bool "Select all target specific packages by default" + select ALL_KMODS + default BUILDBOT + + config ALL_KMODS + bool "Select all kernel module packages by default" + + config ALL + bool "Select all userspace packages by default" + select ALL_KMODS + select ALL_NONSHARED + + config BUILDBOT + bool "Set build defaults for automatic builds (e.g. via buildbot)" + default n + help + This option changes several defaults to be more suitable for + automatic builds. This includes the following changes: + - Deleting build directories after compiling (to save space) + - Enabling per-device rootfs support + ... + + config SIGNED_PACKAGES + bool "Cryptographically signed package lists" + default y + + config SIGNATURE_CHECK + bool "Enable signature checking in opkg" + default SIGNED_PACKAGES + + comment "General build options" + + config TESTING_KERNEL + bool "Use the testing kernel version" + depends on HAS_TESTING_KERNEL + default n + help + If the target supports a newer kernel version than the default, + you can use this config option to enable it + + + config DISPLAY_SUPPORT + bool "Show packages that require graphics support (local or remote)" + default n + + config BUILD_PATENTED + default n + bool "Compile with support for patented functionality" + help + When this option is disabled, software which provides patented functionality + will not be built. In case software provides optional support for patented + functionality, this optional support will get disabled for this package. + + config BUILD_NLS + default n + bool "Compile with full language support" + help + When this option is enabled, packages are built with the full versions of + iconv and GNU gettext instead of the default OpenWrt stubs. If uClibc is + used, it is also built with locale support. + + config SHADOW_PASSWORDS + bool + default y + + config CLEAN_IPKG + bool + prompt "Remove ipkg/opkg status data files in final images" + default n + help + This removes all ipkg/opkg status data files from the target directory + before building the root filesystem. + + config IPK_FILES_CHECKSUMS + bool + prompt "Record files checksums in package metadata" + default n + help + This makes file checksums part of package metadata. It increases size + but provides you with pkg_check command to check for flash coruptions. + + config INCLUDE_CONFIG + bool "Include build configuration in firmware" if DEVEL + default n + help + If enabled, config.buildinfo will be stored in /etc/build.config of firmware. + + config COLLECT_KERNEL_DEBUG + bool + prompt "Collect kernel debug information" + select KERNEL_DEBUG_INFO + default BUILDBOT + help + This collects debugging symbols from the kernel and all compiled modules. + Useful for release builds, so that kernel issues can be debugged offline + later. + + menu "Kernel build options" + + source "config/Config-kernel.in" + + endmenu + + comment "Package build options" + + config DEBUG + bool + prompt "Compile packages with debugging info" + default n + help + Adds -g3 to the CFLAGS. + + config IPV6 + bool + prompt "Enable IPv6 support in packages" + default y + help + Enables IPv6 support in kernel (builtin) and packages. + + comment "Stripping options" + + choice + prompt "Binary stripping method" + default USE_STRIP if EXTERNAL_TOOLCHAIN + default USE_STRIP if USE_GLIBC + default USE_SSTRIP + help + Select the binary stripping method you wish to use. + + config NO_STRIP + bool "none" + help + This will install unstripped binaries (useful for native + compiling/debugging). + + config USE_STRIP + bool "strip" + help + This will install binaries stripped using strip from binutils. + + + config USE_SSTRIP + bool "sstrip" + depends on !USE_GLIBC + help + This will install binaries stripped using sstrip. + endchoice + + config STRIP_ARGS + string + prompt "Strip arguments" + depends on USE_STRIP + default "--strip-unneeded --remove-section=.comment --remove-section=.note" if DEBUG + default "--strip-all" + help + Specifies arguments passed to the strip command when stripping binaries. + + config STRIP_KERNEL_EXPORTS + bool "Strip unnecessary exports from the kernel image" + help + Reduces kernel size by stripping unused kernel exports from the kernel + image. Note that this might make the kernel incompatible with any kernel + modules that were not selected at the time the kernel image was created. + + config USE_MKLIBS + bool "Strip unnecessary functions from libraries" + help + Reduces libraries to only those functions that are necessary for using all + selected packages (including those selected as ). Note that this will + make the system libraries incompatible with most of the packages that are + not selected during the build process. + + choice + prompt "Preferred standard C++ library" + default USE_LIBSTDCXX if USE_GLIBC + default USE_UCLIBCXX + help + Select the preferred standard C++ library for all packages that support this. + + config USE_UCLIBCXX + bool "uClibc++" + + config USE_LIBSTDCXX + bool "libstdc++" + endchoice + + comment "Hardening build options" + + config PKG_CHECK_FORMAT_SECURITY + bool + prompt "Enable gcc format-security" + default y + help + Add -Wformat -Werror=format-security to the CFLAGS. You can disable + this per package by adding PKG_CHECK_FORMAT_SECURITY:=0 in the package + Makefile. + + config PKG_ASLR_PIE + bool + prompt "User space ASLR PIE compilation" + select BUSYBOX_DEFAULT_PIE + default n + help + Add -fPIC to CFLAGS and -specs=hardened-build-ld to LDFLAGS. + This enables package build as Position Independent Executables (PIE) + to protect against "return-to-text" attacks. This belongs to the + feature of Address Space Layout Randomisation (ASLR), which is + implemented by the kernel and the ELF loader by randomising the + location of memory allocations. This makes memory addresses harder + to predict when an attacker is attempting a memory-corruption exploit. + You can disable this per package by adding PKG_ASLR_PIE:=0 in the package + Makefile. + + choice + prompt "User space Stack-Smashing Protection" + depends on USE_MUSL + default PKG_CC_STACKPROTECTOR_REGULAR + help + Enable GCC Stack Smashing Protection (SSP) for userspace applications + config PKG_CC_STACKPROTECTOR_NONE + bool "None" + config PKG_CC_STACKPROTECTOR_REGULAR + bool "Regular" + select GCC_LIBSSP if !USE_MUSL + depends on KERNEL_CC_STACKPROTECTOR_REGULAR + config PKG_CC_STACKPROTECTOR_STRONG + bool "Strong" + select GCC_LIBSSP if !USE_MUSL + depends on !GCC_VERSION_4_8 + depends on KERNEL_CC_STACKPROTECTOR_STRONG + endchoice + + choice + prompt "Kernel space Stack-Smashing Protection" + default KERNEL_CC_STACKPROTECTOR_REGULAR + depends on USE_MUSL || !(x86_64 || i386) + help + Enable GCC Stack-Smashing Protection (SSP) for the kernel + config KERNEL_CC_STACKPROTECTOR_NONE + bool "None" + config KERNEL_CC_STACKPROTECTOR_REGULAR + bool "Regular" + config KERNEL_CC_STACKPROTECTOR_STRONG + depends on !GCC_VERSION_4_8 + bool "Strong" + endchoice + + config KERNEL_STACKPROTECTOR + bool + default KERNEL_CC_STACKPROTECTOR_REGULAR || KERNEL_CC_STACKPROTECTOR_STRONG + + config KERNEL_STACKPROTECTOR_STRONG + bool + default KERNEL_CC_STACKPROTECTOR_STRONG + + choice + prompt "Enable buffer-overflows detection (FORTIFY_SOURCE)" + default PKG_FORTIFY_SOURCE_1 + help + Enable the _FORTIFY_SOURCE macro which introduces additional + checks to detect buffer-overflows in the following standard library + functions: memcpy, mempcpy, memmove, memset, strcpy, stpcpy, + strncpy, strcat, strncat, sprintf, vsprintf, snprintf, vsnprintf, + gets. "Conservative" (_FORTIFY_SOURCE set to 1) only introduces + checks that shouldn't change the behavior of conforming programs, + while "aggressive" (_FORTIFY_SOURCES set to 2) some more checking is + added, but some conforming programs might fail. + config PKG_FORTIFY_SOURCE_NONE + bool "None" + config PKG_FORTIFY_SOURCE_1 + bool "Conservative" + config PKG_FORTIFY_SOURCE_2 + bool "Aggressive" + endchoice + + choice + prompt "Enable RELRO protection" + default PKG_RELRO_FULL + help + Enable a link-time protection known as RELRO (Relocation Read Only) + which helps to protect from certain type of exploitation techniques + altering the content of some ELF sections. "Partial" RELRO makes the + .dynamic section not writeable after initialization, introducing + almost no performance penalty, while "full" RELRO also marks the GOT + as read-only at the cost of initializing all of it at startup. + config PKG_RELRO_NONE + bool "None" + config PKG_RELRO_PARTIAL + bool "Partial" + config PKG_RELRO_FULL + bool "Full" + endchoice + +endmenu diff --git a/config/Config-devel.in b/config/Config-devel.in new file mode 100644 index 0000000..1c514f8 --- /dev/null +++ b/config/Config-devel.in @@ -0,0 +1,126 @@ +# Copyright (C) 2006-2013 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +menuconfig DEVEL + bool "Advanced configuration options (for developers)" + default n + + config BROKEN + bool "Show broken platforms / packages" if DEVEL + default n + + config BINARY_FOLDER + string "Binary folder" if DEVEL + default "" + help + Store built firmware images and filesystem images in this directory. + If not set, uses './bin/$(BOARD)' + + config DOWNLOAD_FOLDER + string "Download folder" if DEVEL + default "" + help + Store downloaded source bundles in this directory. + If not set then defaults to './dl', which is removed by operations such as + 'git clean -xdf' or 'make distclean'. + This option is useful if you have a low bandwidth Internet connection, and by + setting a path outside the OpenWrt tree downloads will be saved. + + config LOCALMIRROR + string "Local mirror for source packages" if DEVEL + default "" + + config AUTOREBUILD + bool "Automatic rebuild of packages" if DEVEL + default y + help + Automatically rebuild packages when their files change. + + config AUTOREMOVE + bool "Automatic removal of build directories" if DEVEL + default n + help + Automatically delete build directories after make target completed. + This allows you to symlink build_dir into a scratch location, e.g. a ramdisk, + which does not have enough space to keep a complete build_dir. + + config BUILD_SUFFIX + string "Build suffix to append to the target BUILD_DIR variable" if DEVEL + default "" + help + Build suffix to append to the BUILD_DIR variable, i.e: './build_dir/{target-build-dir}_$(BUILD_SUFFIX)'. + This allows you to switch to a different .config whilst retaining all the build + objects generated by the first .config + + config TARGET_ROOTFS_DIR + string "Override the default TARGET_ROOTFS_DIR variable" if DEVEL + default "" + help + Override the default TARGET_ROOTFS_DIR variable content $(BUILD_DIR) with + custom path. Use this option to re-define the location of the target + root filesystem directory. + + config CCACHE + bool "Use ccache" if DEVEL + default n + help + Compiler cache; see https://ccache.samba.org/ + + config EXTERNAL_KERNEL_TREE + string "Use external kernel tree" if DEVEL + default "" + + config KERNEL_GIT_CLONE_URI + string "Enter git repository to clone" if DEVEL + default "" + help + Enter the full git repository path i.e.: + git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git + This will create a git clone of the kernel in your build directory. + + config KERNEL_GIT_LOCAL_REPOSITORY + string "Enter path to local reference repository" if DEVEL + depends on (KERNEL_GIT_CLONE_URI != "") + default "" + help + Enter a full pathname to a local reference git repository. + In this instance, the --reference option of git clone will + be used thus creating a quick local clone of your repo. + + config KERNEL_GIT_REF + string "Enter git ref at which to checkout" if DEVEL + depends on (KERNEL_GIT_CLONE_URI != "") + default "" + help + Enter the git ref at which to checkout the git repository + after it is cloned, and before making it a tar-ball. + It can be a git hash or a branch name. + If unused, the clone's repository HEAD will be checked-out. + + config KERNEL_GIT_MIRROR_HASH + string "Enter hash of Git kernel tree source checkout tarball" if DEVEL + depends on (KERNEL_GIT_CLONE_URI != "") + default "" + + config BUILD_LOG + bool "Enable log files during build process" if DEVEL + help + If enabled, log files will be written to the ./log directory. + + config SRC_TREE_OVERRIDE + bool "Enable package source tree override" if DEVEL + help + If enabled, you can force a package to use a git tree as source + code instead of the normal tarball. Create a symlink 'git-src' + in the package directory, pointing to the .git tree that you want + to pull the source code from. + + config EXTRA_OPTIMIZATION + string "Additional compiler options" if DEVEL + default "-fno-caller-saves -fno-plt" if !CONFIG_EXTERNAL_TOOLCHAIN && !arc + default "-fno-caller-saves" + help + Extra target-independent optimizations to use when building for the target. diff --git a/config/Config-images.in b/config/Config-images.in new file mode 100644 index 0000000..8548c7c --- /dev/null +++ b/config/Config-images.in @@ -0,0 +1,289 @@ +# Copyright (C) 2006-2013 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +menu "Target Images" + + menuconfig TARGET_ROOTFS_INITRAMFS + bool "ramdisk" + default y if USES_INITRAMFS + help + Embed the root filesystem into the kernel (initramfs). + + choice + prompt "Compression" + default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_apm821xx + default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_ar71xx + default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_lantiq + default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_mpc85xx + default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_ramips + default TARGET_INITRAMFS_COMPRESSION_NONE + depends on TARGET_ROOTFS_INITRAMFS + help + Select ramdisk compression. + + config TARGET_INITRAMFS_COMPRESSION_NONE + bool "none" + + config TARGET_INITRAMFS_COMPRESSION_GZIP + bool "gzip" + + config TARGET_INITRAMFS_COMPRESSION_BZIP2 + bool "bzip2" + + config TARGET_INITRAMFS_COMPRESSION_LZMA + bool "lzma" + + config TARGET_INITRAMFS_COMPRESSION_LZO + bool "lzo" + + config TARGET_INITRAMFS_COMPRESSION_LZ4 + bool "lz4" + + config TARGET_INITRAMFS_COMPRESSION_XZ + bool "xz" + endchoice + + config EXTERNAL_CPIO + string + prompt "Use external cpio" if TARGET_ROOTFS_INITRAMFS + default "" + help + Kernel uses specified external cpio as INITRAMFS_SOURCE. + + config TARGET_INITRAMFS_FORCE + bool "Force" + depends on TARGET_ROOTFS_INITRAMFS + default n + help + Ignore the initramfs passed by the bootloader. + + comment "Root filesystem archives" + + config TARGET_ROOTFS_CPIOGZ + bool "cpio.gz" + default y if USES_CPIOGZ + help + Build a compressed cpio archive of the root filesystem. + + config TARGET_ROOTFS_TARGZ + bool "tar.gz" + default y if USES_TARGZ + help + Build a compressed tar archive of the root filesystem. + + comment "Root filesystem images" + + menuconfig TARGET_ROOTFS_EXT4FS + bool "ext4" + default y if USES_EXT4 + help + Build an ext4 root filesystem. + + config TARGET_EXT4_RESERVED_PCT + int "Percentage of reserved blocks in root filesystem" + depends on TARGET_ROOTFS_EXT4FS + default 0 + help + Select the percentage of reserved blocks in the root filesystem. + + choice + prompt "Root filesystem block size" + default TARGET_EXT4_BLOCKSIZE_4K + depends on TARGET_ROOTFS_EXT4FS + help + Select the block size of the root filesystem. + + config TARGET_EXT4_BLOCKSIZE_4K + bool "4k" + + config TARGET_EXT4_BLOCKSIZE_2K + bool "2k" + + config TARGET_EXT4_BLOCKSIZE_1K + bool "1k" + endchoice + + config TARGET_EXT4_BLOCKSIZE + int + default 4096 if TARGET_EXT4_BLOCKSIZE_4K + default 2048 if TARGET_EXT4_BLOCKSIZE_2K + default 1024 if TARGET_EXT4_BLOCKSIZE_1K + depends on TARGET_ROOTFS_EXT4FS + + config TARGET_EXT4_JOURNAL + bool "Create a journaling filesystem" + depends on TARGET_ROOTFS_EXT4FS + default n + help + Create an ext4 filesystem with a journal. + + config TARGET_ROOTFS_ISO + bool "iso" + default n + depends on TARGET_x86_generic + help + Create a bootable ISO image. + + config TARGET_ROOTFS_JFFS2 + bool "jffs2" + depends on USES_JFFS2 + help + Build a JFFS2 root filesystem. + + config TARGET_ROOTFS_JFFS2_NAND + bool "jffs2 for NAND" + default y if USES_JFFS2_NAND + depends on USES_JFFS2_NAND + help + Build a JFFS2 root filesystem for NAND flash. + + menuconfig TARGET_ROOTFS_SQUASHFS + bool "squashfs" + default y if USES_SQUASHFS + help + Build a squashfs-lzma root filesystem. + + config TARGET_SQUASHFS_BLOCK_SIZE + int "Block size (in KiB)" + depends on TARGET_ROOTFS_SQUASHFS + default 64 if LOW_MEMORY_FOOTPRINT + default 1024 if (SMALL_FLASH && !LOW_MEMORY_FOOTPRINT) + default 256 + + menuconfig TARGET_ROOTFS_UBIFS + bool "ubifs" + default y if USES_UBIFS + depends on USES_UBIFS + help + Build a UBIFS root filesystem. + + choice + prompt "compression" + default TARGET_UBIFS_COMPRESSION_ZLIB + depends on TARGET_ROOTFS_UBIFS + help + Select compression type + + config TARGET_UBIFS_COMPRESSION_NONE + bool "none" + + config TARGET_UBIFS_COMPRESSION_LZO + bool "lzo" + + config TARGET_UBIFS_COMPRESSION_ZLIB + bool "zlib" + endchoice + + config TARGET_UBIFS_FREE_SPACE_FIXUP + bool "free space fixup" if TARGET_ROOTFS_UBIFS + default y + help + The filesystem free space has to be fixed up on first mount. + + config TARGET_UBIFS_JOURNAL_SIZE + string + prompt "journal size" if TARGET_ROOTFS_UBIFS + default "" + + config GRUB_IMAGES + bool "Build GRUB images (Linux x86 or x86_64 host only)" + depends on TARGET_x86 + depends on TARGET_ROOTFS_EXT4FS || TARGET_ROOTFS_ISO || TARGET_ROOTFS_JFFS2 || TARGET_ROOTFS_SQUASHFS + select PACKAGE_grub2 + default y + + config GRUB_CONSOLE + bool "Use Console Terminal (in addition to Serial)" + depends on GRUB_IMAGES + default y + + config GRUB_SERIAL + string "Serial port device" + depends on GRUB_IMAGES + default "ttyS0" + + config GRUB_BAUDRATE + int "Serial port baud rate" + depends on GRUB_IMAGES + default 38400 if TARGET_x86_generic + default 115200 + + config GRUB_FLOWCONTROL + bool "Use RTE/CTS on serial console" + depends on GRUB_SERIAL != "" + default n + + config GRUB_BOOTOPTS + string "Extra kernel boot options" + depends on GRUB_IMAGES + help + If you don't know, just leave it blank. + + config GRUB_TIMEOUT + string "Seconds to wait before booting the default entry" + depends on GRUB_IMAGES + default "5" + help + If you don't know, 5 seconds is a reasonable default. + + config GRUB_TITLE + string "Title for the menu entry in GRUB" + depends on GRUB_IMAGES + default "OpenWrt" + help + This is the title of the GRUB menu entry. + If unspecified, it defaults to OpenWrt. + + config VDI_IMAGES + bool "Build VirtualBox image files (VDI)" + depends on TARGET_x86 + select GRUB_IMAGES + select TARGET_IMAGES_PAD + select PACKAGE_kmod-e1000 + + config VMDK_IMAGES + bool "Build VMware image files (VMDK)" + depends on TARGET_x86 + select GRUB_IMAGES + select TARGET_IMAGES_PAD + select PACKAGE_kmod-e1000 + + config TARGET_IMAGES_PAD + bool "Pad images to filesystem size (for JFFS2)" + depends on GRUB_IMAGES + + config TARGET_IMAGES_GZIP + bool "GZip images" + depends on TARGET_IMAGES_PAD || TARGET_ROOTFS_EXT4FS || TARGET_x86 + default y + + comment "Image Options" + + source "target/linux/*/image/Config.in" + + config TARGET_KERNEL_PARTSIZE + int "Kernel partition size (in MB)" + depends on GRUB_IMAGES || USES_BOOT_PART + default 8 if TARGET_apm821xx_sata + default 20 if TARGET_brcm2708 + default 16 + + config TARGET_ROOTFS_PARTSIZE + int "Root filesystem partition size (in MB)" + depends on GRUB_IMAGES || USES_ROOTFS_PART || TARGET_ROOTFS_EXT4FS || TARGET_omap || TARGET_rb532 || TARGET_sunxi || TARGET_uml + default 256 + help + Select the root filesystem partition size. + + config TARGET_ROOTFS_PARTNAME + string "Root partition on target device" + depends on GRUB_IMAGES + help + Override the root partition on the final device. If left empty, + it will be mounted by PARTUUID which makes the kernel find the + appropriate disk automatically. + +endmenu diff --git a/config/Config-kernel.in b/config/Config-kernel.in new file mode 100644 index 0000000..87053b7 --- /dev/null +++ b/config/Config-kernel.in @@ -0,0 +1,855 @@ +# Copyright (C) 2006-2014 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +config KERNEL_BUILD_USER + string "Custom Kernel Build User Name" + default "builder" if BUILDBOT + default "" + help + Sets the Kernel build user string, which for example will be returned + by 'uname -a' on running systems. + If not set, uses system user at build time. + +config KERNEL_BUILD_DOMAIN + string "Custom Kernel Build Domain Name" + default "buildhost" if BUILDBOT + default "" + help + Sets the Kernel build domain string, which for example will be + returned by 'uname -a' on running systems. + If not set, uses system hostname at build time. + +config KERNEL_PRINTK + bool "Enable support for printk" + default y + +config KERNEL_CRASHLOG + bool "Crash logging" + depends on !(arm || powerpc || sparc || TARGET_uml || i386 || x86_64) + default y + +config KERNEL_SWAP + bool "Support for paging of anonymous memory (swap)" + default y if !SMALL_FLASH + +config KERNEL_DEBUG_FS + bool "Compile the kernel with debug filesystem enabled" + default y + help + debugfs is a virtual file system that kernel developers use to put + debugging files into. Enable this option to be able to read and + write to these files. Many common debugging facilities, such as + ftrace, require the existence of debugfs. + +config KERNEL_MIPS_FPU_EMULATOR + bool "Compile the kernel with MIPS FPU Emulator" + default y if TARGET_pistachio + depends on (mips || mipsel || mips64 || mips64el) + +config KERNEL_ARM_PMU + bool + default n + depends on (arm || aarch64) + +config KERNEL_PERF_EVENTS + bool "Compile the kernel with performance events and counters" + default n + select KERNEL_ARM_PMU if (arm || aarch64) + +config KERNEL_PROFILING + bool "Compile the kernel with profiling enabled" + default n + select KERNEL_PERF_EVENTS + help + Enable the extended profiling support mechanisms used by profilers such + as OProfile. + +config KERNEL_TASKSTATS + bool "Compile the kernel with task resource/io statistics and accounting" + default n + help + Enable the collection and publishing of task/io statistics and + accounting. Enable this option to enable i/o monitoring in system + monitors. + +if KERNEL_TASKSTATS + + config KERNEL_TASK_DELAY_ACCT + def_bool y + + config KERNEL_TASK_IO_ACCOUNTING + def_bool y + + config KERNEL_TASK_XACCT + def_bool y + +endif + +config KERNEL_KALLSYMS + bool "Compile the kernel with symbol table information" + default y if !SMALL_FLASH + help + This will give you more information in stack traces from kernel oopses. + +config KERNEL_FTRACE + bool "Compile the kernel with tracing support" + depends on !TARGET_uml + default n + +config KERNEL_FTRACE_SYSCALLS + bool "Trace system calls" + depends on KERNEL_FTRACE + default n + +config KERNEL_ENABLE_DEFAULT_TRACERS + bool "Trace process context switches and events" + depends on KERNEL_FTRACE + default n + +config KERNEL_FUNCTION_TRACER + bool "Function tracer" + depends on KERNEL_FTRACE + default n + +config KERNEL_FUNCTION_GRAPH_TRACER + bool "Function graph tracer" + depends on KERNEL_FUNCTION_TRACER + default n + +config KERNEL_DYNAMIC_FTRACE + bool "Enable/disable function tracing dynamically" + depends on KERNEL_FUNCTION_TRACER + default n + +config KERNEL_FUNCTION_PROFILER + bool "Function profiler" + depends on KERNEL_FUNCTION_TRACER + default n + +config KERNEL_DEBUG_KERNEL + bool + default n + +config KERNEL_DEBUG_INFO + bool "Compile the kernel with debug information" + default y if !SMALL_FLASH + select KERNEL_DEBUG_KERNEL + help + This will compile your kernel and modules with debug information. + +config KERNEL_DEBUG_LL_UART_NONE + bool + default n + depends on arm + +config KERNEL_DEBUG_LL + bool + default n + depends on arm + select KERNEL_DEBUG_LL_UART_NONE + help + ARM low level debugging. + +config KERNEL_DYNAMIC_DEBUG + bool "Compile the kernel with dynamic printk" + select KERNEL_DEBUG_FS + default n + help + Compiles debug level messages into the kernel, which would not + otherwise be available at runtime. These messages can then be + enabled/disabled based on various levels of scope - per source file, + function, module, format string, and line number. This mechanism + implicitly compiles in all pr_debug() and dev_dbg() calls, which + enlarges the kernel text size by about 2%. + +config KERNEL_EARLY_PRINTK + bool "Compile the kernel with early printk" + default y if TARGET_bcm53xx + default n + depends on arm + select KERNEL_DEBUG_KERNEL + select KERNEL_DEBUG_LL if arm + help + Compile the kernel with early printk support. This is only useful for + debugging purposes to send messages over the serial console in early boot. + Enable this to debug early boot problems. + +config KERNEL_KPROBES + bool "Compile the kernel with kprobes support" + default n + select KERNEL_FTRACE + select KERNEL_PERF_EVENTS + help + Compiles the kernel with KPROBES support, which allows you to trap + at almost any kernel address and execute a callback function. + register_kprobe() establishes a probepoint and specifies the + callback. Kprobes is useful for kernel debugging, non-intrusive + instrumentation and testing. + If in doubt, say "N". + +config KERNEL_KPROBE_EVENT + bool + default y if KERNEL_KPROBES + +config KERNEL_KPROBE_EVENTS + bool + default y if KERNEL_KPROBES + +config KERNEL_AIO + bool "Compile the kernel with asynchronous IO support" + default n + +config KERNEL_FHANDLE + bool "Compile the kernel with support for fhandle syscalls" + default n + +config KERNEL_FANOTIFY + bool "Compile the kernel with modern file notification support" + default n + +config KERNEL_BLK_DEV_BSG + bool "Compile the kernel with SCSI generic v4 support for any block device" + default n + +config KERNEL_MAGIC_SYSRQ + bool "Compile the kernel with SysRq support" + default y + +config KERNEL_DEBUG_PINCTRL + bool "Compile the kernel with pinctrl debugging" + select KERNEL_DEBUG_KERNEL + +config KERNEL_DEBUG_GPIO + bool "Compile the kernel with gpio debugging" + select KERNEL_DEBUG_KERNEL + +config KERNEL_COREDUMP + bool + +config KERNEL_ELF_CORE + bool "Enable process core dump support" + select KERNEL_COREDUMP + default y if !SMALL_FLASH + +config KERNEL_PROVE_LOCKING + bool "Enable kernel lock checking" + select KERNEL_DEBUG_KERNEL + default n + +config KERNEL_PRINTK_TIME + bool "Enable printk timestamps" + default y + +config KERNEL_SLUB_DEBUG + bool + +config KERNEL_SLUB_DEBUG_ON + bool + +config KERNEL_SLABINFO + select KERNEL_SLUB_DEBUG + select KERNEL_SLUB_DEBUG_ON + bool "Enable /proc slab debug info" + +config KERNEL_PROC_PAGE_MONITOR + bool "Enable /proc page monitoring" + +config KERNEL_RELAY + bool + +config KERNEL_KEXEC + bool "Enable kexec support" + +config KERNEL_PROC_VMCORE + bool + +config KERNEL_CRASH_DUMP + depends on i386 || x86_64 || arm || armeb + select KERNEL_KEXEC + select KERNEL_PROC_VMCORE + bool "Enable support for kexec crashdump" + default y + +config USE_RFKILL + bool "Enable rfkill support" + default RFKILL_SUPPORT + +config USE_SPARSE + bool "Enable sparse check during kernel build" + default n + +config KERNEL_DEVTMPFS + bool "Compile the kernel with device tmpfs enabled" + default n + help + devtmpfs is a simple, kernel-managed /dev filesystem. The kernel creates + devices nodes for all registered devices to simplify boot, but leaves more + complex tasks to userspace (e.g. udev). + +if KERNEL_DEVTMPFS + + config KERNEL_DEVTMPFS_MOUNT + bool "Automatically mount devtmpfs after root filesystem is mounted" + default n + +endif + +config KERNEL_KEYS + bool "Enable kernel access key retention support" + default n + +config KERNEL_PERSISTENT_KEYRINGS + bool "Enable kernel persistent keyrings" + depends on KERNEL_KEYS + default n + +config KERNEL_BIG_KEYS + bool "Enable large payload keys on kernel keyrings" + depends on KERNEL_KEYS + default n + +config KERNEL_ENCRYPTED_KEYS + tristate "Enable keys with encrypted payloads on kernel keyrings" + depends on KERNEL_KEYS + default n + +# +# CGROUP support symbols +# + +config KERNEL_CGROUPS + bool "Enable kernel cgroups" + default n + +if KERNEL_CGROUPS + + config KERNEL_CGROUP_DEBUG + bool "Example debug cgroup subsystem" + default n + help + This option enables a simple cgroup subsystem that + exports useful debugging information about the cgroups + framework. + + config KERNEL_FREEZER + bool + default y if KERNEL_CGROUP_FREEZER + + config KERNEL_CGROUP_FREEZER + bool "Freezer cgroup subsystem" + default y + help + Provides a way to freeze and unfreeze all tasks in a + cgroup. + + config KERNEL_CGROUP_DEVICE + bool "Device controller for cgroups" + default y + help + Provides a cgroup implementing whitelists for devices which + a process in the cgroup can mknod or open. + + config KERNEL_CGROUP_PIDS + bool "PIDs cgroup subsystem" + default y + help + Provides enforcement of process number limits in the scope of a + cgroup. + + config KERNEL_CPUSETS + bool "Cpuset support" + default n + help + This option will let you create and manage CPUSETs which + allow dynamically partitioning a system into sets of CPUs and + Memory Nodes and assigning tasks to run only within those sets. + This is primarily useful on large SMP or NUMA systems. + + config KERNEL_PROC_PID_CPUSET + bool "Include legacy /proc//cpuset file" + default n + depends on KERNEL_CPUSETS + + config KERNEL_CGROUP_CPUACCT + bool "Simple CPU accounting cgroup subsystem" + default n + help + Provides a simple Resource Controller for monitoring the + total CPU consumed by the tasks in a cgroup. + + config KERNEL_RESOURCE_COUNTERS + bool "Resource counters" + default n + help + This option enables controller independent resource accounting + infrastructure that works with cgroups. + + config KERNEL_MM_OWNER + bool + default y if KERNEL_MEMCG + + config KERNEL_MEMCG + bool "Memory Resource Controller for Control Groups" + default n + depends on KERNEL_RESOURCE_COUNTERS || !LINUX_3_18 + help + Provides a memory resource controller that manages both anonymous + memory and page cache. (See Documentation/cgroups/memory.txt) + + Note that setting this option increases fixed memory overhead + associated with each page of memory in the system. By this, + 20(40)bytes/PAGE_SIZE on 32(64)bit system will be occupied by memory + usage tracking struct at boot. Total amount of this is printed out + at boot. + + Only enable when you're ok with these tradeoffs and really + sure you need the memory resource controller. Even when you enable + this, you can set "cgroup_disable=memory" at your boot option to + disable memory resource controller and you can avoid overheads + (but lose benefits of memory resource controller). + + This config option also selects MM_OWNER config option, which + could in turn add some fork/exit overhead. + + config KERNEL_MEMCG_SWAP + bool "Memory Resource Controller Swap Extension" + default n + depends on KERNEL_MEMCG + help + Add swap management feature to memory resource controller. When you + enable this, you can limit mem+swap usage per cgroup. In other words, + when you disable this, memory resource controller has no cares to + usage of swap...a process can exhaust all of the swap. This extension + is useful when you want to avoid exhaustion swap but this itself + adds more overheads and consumes memory for remembering information. + Especially if you use 32bit system or small memory system, please + be careful about enabling this. When memory resource controller + is disabled by boot option, this will be automatically disabled and + there will be no overhead from this. Even when you set this config=y, + if boot option "swapaccount=0" is set, swap will not be accounted. + Now, memory usage of swap_cgroup is 2 bytes per entry. If swap page + size is 4096bytes, 512k per 1Gbytes of swap. + + config KERNEL_MEMCG_SWAP_ENABLED + bool "Memory Resource Controller Swap Extension enabled by default" + default n + depends on KERNEL_MEMCG_SWAP + help + Memory Resource Controller Swap Extension comes with its price in + a bigger memory consumption. General purpose distribution kernels + which want to enable the feature but keep it disabled by default + and let the user enable it by swapaccount boot command line + parameter should have this option unselected. + + Those who want to have the feature enabled by default should + select this option (if, for some reason, they need to disable it, + then swapaccount=0 does the trick). + + + config KERNEL_MEMCG_KMEM + bool "Memory Resource Controller Kernel Memory accounting (EXPERIMENTAL)" + default n + depends on KERNEL_MEMCG + help + The Kernel Memory extension for Memory Resource Controller can limit + the amount of memory used by kernel objects in the system. Those are + fundamentally different from the entities handled by the standard + Memory Controller, which are page-based, and can be swapped. Users of + the kmem extension can use it to guarantee that no group of processes + will ever exhaust kernel resources alone. + + config KERNEL_CGROUP_PERF + bool "Enable perf_event per-cpu per-container group (cgroup) monitoring" + select KERNEL_PERF_EVENTS + default n + help + This option extends the per-cpu mode to restrict monitoring to + threads which belong to the cgroup specified and run on the + designated cpu. + + menuconfig KERNEL_CGROUP_SCHED + bool "Group CPU scheduler" + default n + help + This feature lets CPU scheduler recognize task groups and control CPU + bandwidth allocation to such task groups. It uses cgroups to group + tasks. + + if KERNEL_CGROUP_SCHED + + config KERNEL_FAIR_GROUP_SCHED + bool "Group scheduling for SCHED_OTHER" + default n + + config KERNEL_CFS_BANDWIDTH + bool "CPU bandwidth provisioning for FAIR_GROUP_SCHED" + default n + depends on KERNEL_FAIR_GROUP_SCHED + help + This option allows users to define CPU bandwidth rates (limits) for + tasks running within the fair group scheduler. Groups with no limit + set are considered to be unconstrained and will run with no + restriction. + See tip/Documentation/scheduler/sched-bwc.txt for more information. + + config KERNEL_RT_GROUP_SCHED + bool "Group scheduling for SCHED_RR/FIFO" + default n + help + This feature lets you explicitly allocate real CPU bandwidth + to task groups. If enabled, it will also make it impossible to + schedule realtime tasks for non-root users until you allocate + realtime bandwidth for them. + + endif + + config KERNEL_BLK_CGROUP + bool "Block IO controller" + default y + help + Generic block IO controller cgroup interface. This is the common + cgroup interface which should be used by various IO controlling + policies. + + Currently, CFQ IO scheduler uses it to recognize task groups and + control disk bandwidth allocation (proportional time slice allocation) + to such task groups. It is also used by bio throttling logic in + block layer to implement upper limit in IO rates on a device. + + This option only enables generic Block IO controller infrastructure. + One needs to also enable actual IO controlling logic/policy. For + enabling proportional weight division of disk bandwidth in CFQ, set + CONFIG_CFQ_GROUP_IOSCHED=y; for enabling throttling policy, set + CONFIG_BLK_DEV_THROTTLING=y. + + if KERNEL_BLK_CGROUP + + config KERNEL_CFQ_GROUP_IOSCHED + bool "Proportional weight of disk bandwidth in CFQ" + + config KERNEL_BLK_DEV_THROTTLING + bool "Enable throttling policy" + default y if TARGET_brcm2708 + + config KERNEL_BLK_DEV_THROTTLING_LOW + bool "Block throttling .low limit interface support (EXPERIMENTAL)" + depends on KERNEL_BLK_DEV_THROTTLING + endif + + config KERNEL_DEBUG_BLK_CGROUP + bool "Enable Block IO controller debugging" + default n + depends on KERNEL_BLK_CGROUP + help + Enable some debugging help. Currently it exports additional stat + files in a cgroup which can be useful for debugging. + + config KERNEL_NET_CLS_CGROUP + bool "Control Group Classifier" + default y + + config KERNEL_NETPRIO_CGROUP + bool "Network priority cgroup" + default y + +endif + +# +# Namespace support symbols +# + +config KERNEL_NAMESPACES + bool "Enable kernel namespaces" + default n + +if KERNEL_NAMESPACES + + config KERNEL_UTS_NS + bool "UTS namespace" + default y + help + In this namespace, tasks see different info provided + with the uname() system call. + + config KERNEL_IPC_NS + bool "IPC namespace" + default y + help + In this namespace, tasks work with IPC ids which correspond to + different IPC objects in different namespaces. + + config KERNEL_USER_NS + bool "User namespace (EXPERIMENTAL)" + default y + help + This allows containers, i.e. vservers, to use user namespaces + to provide different user info for different servers. + + config KERNEL_PID_NS + bool "PID Namespaces" + default y + help + Support process id namespaces. This allows having multiple + processes with the same pid as long as they are in different + pid namespaces. This is a building block of containers. + + config KERNEL_NET_NS + bool "Network namespace" + default y + help + Allow user space to create what appear to be multiple instances + of the network stack. + +endif + +# +# LXC related symbols +# + +config KERNEL_LXC_MISC + bool "Enable miscellaneous LXC related options" + default n + +if KERNEL_LXC_MISC + + config KERNEL_DEVPTS_MULTIPLE_INSTANCES + bool "Support multiple instances of devpts" + default y + help + Enable support for multiple instances of devpts filesystem. + If you want to have isolated PTY namespaces (eg: in containers), + say Y here. Otherwise, say N. If enabled, each mount of devpts + filesystem with the '-o newinstance' option will create an + independent PTY namespace. + + config KERNEL_POSIX_MQUEUE + bool "POSIX Message Queues" + default y + help + POSIX variant of message queues is a part of IPC. In POSIX message + queues every message has a priority which decides about succession + of receiving it by a process. If you want to compile and run + programs written e.g. for Solaris with use of its POSIX message + queues (functions mq_*) say Y here. + + POSIX message queues are visible as a filesystem called 'mqueue' + and can be mounted somewhere if you want to do filesystem + operations on message queues. + +endif + +config KERNEL_SECCOMP_FILTER + bool + default n + +config KERNEL_SECCOMP + bool "Enable seccomp support" + depends on !(TARGET_uml) + select KERNEL_SECCOMP_FILTER + default n + help + Build kernel with support for seccomp. + +# +# IPv4 configuration +# + +config KERNEL_IP_MROUTE + bool "Enable IPv4 multicast routing" + default y + help + Multicast routing requires a multicast routing daemon in + addition to kernel support. + +# +# IPv6 configuration +# + +config KERNEL_IPV6 + def_bool IPV6 + +if KERNEL_IPV6 + + config KERNEL_IPV6_MULTIPLE_TABLES + def_bool y + + config KERNEL_IPV6_SUBTREES + def_bool y + + config KERNEL_IPV6_MROUTE + bool "Enable IPv6 multicast routing" + default y + help + Multicast routing requires a multicast routing daemon in + addition to kernel support. + + config KERNEL_IPV6_PIMSM_V2 + def_bool n + +endif + +# +# NFS related symbols +# +config KERNEL_IP_PNP + bool "Compile the kernel with rootfs on NFS" + help + If you want to make your kernel boot off a NFS server as root + filesystem, select Y here. + +if KERNEL_IP_PNP + + config KERNEL_IP_PNP_DHCP + def_bool y + + config KERNEL_IP_PNP_BOOTP + def_bool n + + config KERNEL_IP_PNP_RARP + def_bool n + + config KERNEL_NFS_FS + def_bool y + + config KERNEL_NFS_V2 + def_bool y + + config KERNEL_NFS_V3 + def_bool y + + config KERNEL_ROOT_NFS + def_bool y + +endif + +menu "Filesystem ACL and attr support options" + config USE_FS_ACL_ATTR + bool "Use filesystem ACL and attr support by default" + default n + help + Make using ACLs (e.g. POSIX ACL, NFSv4 ACL) the default + for kernel and packages, except tmpfs, flash filesystems, + and old NFS. Also enable userspace extended attribute support + by default. (OpenWrt already has an expection it will be + present in the kernel). + + config KERNEL_FS_POSIX_ACL + bool "Enable POSIX ACL support" + default y if USE_FS_ACL_ATTR + + config KERNEL_BTRFS_FS_POSIX_ACL + bool "Enable POSIX ACL for BtrFS Filesystems" + select KERNEL_FS_POSIX_ACL + default y if USE_FS_ACL_ATTR + + config KERNEL_EXT4_FS_POSIX_ACL + bool "Enable POSIX ACL for Ext4 Filesystems" + select KERNEL_FS_POSIX_ACL + default y if USE_FS_ACL_ATTR + + config KERNEL_F2FS_FS_POSIX_ACL + bool "Enable POSIX ACL for F2FS Filesystems" + select KERNEL_FS_POSIX_ACL + default n + + config KERNEL_JFFS2_FS_POSIX_ACL + bool "Enable POSIX ACL for JFFS2 Filesystems" + select KERNEL_FS_POSIX_ACL + default n + + config KERNEL_TMPFS_POSIX_ACL + bool "Enable POSIX ACL for TMPFS Filesystems" + select KERNEL_FS_POSIX_ACL + default n + + config KERNEL_CIFS_ACL + bool "Enable CIFS ACLs" + select KERNEL_FS_POSIX_ACL + default y if USE_FS_ACL_ATTR + + config KERNEL_HFS_FS_POSIX_ACL + bool "Enable POSIX ACL for HFS Filesystems" + select KERNEL_FS_POSIX_ACL + default y if USE_FS_ACL_ATTR + + config KERNEL_HFSPLUS_FS_POSIX_ACL + bool "Enable POSIX ACL for HFS+ Filesystems" + select KERNEL_FS_POSIX_ACL + default y if USE_FS_ACL_ATTR + + config KERNEL_NFS_ACL_SUPPORT + bool "Enable ACLs for NFS" + default y if USE_FS_ACL_ATTR + + config KERNEL_NFS_V3_ACL_SUPPORT + bool "Enable ACLs for NFSv3" + default n + + config KERNEL_NFSD_V2_ACL_SUPPORT + bool "Enable ACLs for NFSDv2" + default n + + config KERNEL_NFSD_V3_ACL_SUPPORT + bool "Enable ACLs for NFSDv3" + default n + + config KERNEL_REISER_FS_POSIX_ACL + bool "Enable POSIX ACLs for ReiserFS" + select KERNEL_FS_POSIX_ACL + default y if USE_FS_ACL_ATTR + + config KERNEL_XFS_POSIX_ACL + bool "Enable POSIX ACLs for XFS" + select KERNEL_FS_POSIX_ACL + default y if USE_FS_ACL_ATTR + + config KERNEL_JFS_POSIX_ACL + bool "Enable POSIX ACLs for JFS" + select KERNEL_FS_POSIX_ACL + default y if USE_FS_ACL_ATTR + +endmenu + +config KERNEL_DEVMEM + bool "/dev/mem virtual device support" + help + Say Y here if you want to support the /dev/mem device. + The /dev/mem device is used to access areas of physical + memory. + +config KERNEL_DEVKMEM + bool "/dev/kmem virtual device support" + help + Say Y here if you want to support the /dev/kmem device. The + /dev/kmem device is rarely used, but can be used for certain + kind of kernel debugging operations. + +config KERNEL_SQUASHFS_FRAGMENT_CACHE_SIZE + int "Number of squashfs fragments cached" + default 2 if (SMALL_FLASH && !LOW_MEMORY_FOOTPRINT) + default 3 + +# +# compile optimiziation setting +# +choice + prompt "Compiler optimization level" + default KERNEL_CC_OPTIMIZE_FOR_SIZE if SMALL_FLASH + +config KERNEL_CC_OPTIMIZE_FOR_PERFORMANCE + bool "Optimize for performance" + help + This is the default optimization level for the kernel, building + with the "-O2" compiler flag for best performance and most + helpful compile-time warnings. + +config KERNEL_CC_OPTIMIZE_FOR_SIZE + bool "Optimize for size" + help + Enabling this option will pass "-Os" instead of "-O2" to + your compiler resulting in a smaller kernel. + +endchoice diff --git a/feeds.conf.default b/feeds.conf.default new file mode 100644 index 0000000..ad32ec8 --- /dev/null +++ b/feeds.conf.default @@ -0,0 +1,5 @@ +src-git packages https://git.openwrt.org/feed/packages.git;openwrt-19.07 +src-git luci https://git.openwrt.org/project/luci.git;openwrt-19.07 +src-git routing https://git.openwrt.org/feed/routing.git;openwrt-19.07 +src-git telephony https://git.openwrt.org/feed/telephony.git;openwrt-19.07 +src-git freifunk https://github.com/freifunk/openwrt-packages.git;openwrt-19.07 diff --git a/include/autotools.mk b/include/autotools.mk new file mode 100644 index 0000000..ae320fb --- /dev/null +++ b/include/autotools.mk @@ -0,0 +1,172 @@ +# +# Copyright (C) 2007-2012 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +autoconf_bool = $(patsubst %,$(if $($(1)),--enable,--disable)-%,$(2)) + +# delete *.la-files from staging_dir - we can not yet remove respective lines within all package +# Makefiles, since backfire still uses libtool v1.5.x which (may) require those files +define libtool_remove_files + find $(1) -name '*.la' | $(XARGS) rm -f; +endef + + +AM_TOOL_PATHS:= \ + AUTOM4TE=$(STAGING_DIR_HOST)/bin/autom4te \ + AUTOCONF=$(STAGING_DIR_HOST)/bin/autoconf \ + AUTOMAKE=$(STAGING_DIR_HOST)/bin/automake \ + ACLOCAL=$(STAGING_DIR_HOST)/bin/aclocal \ + AUTOHEADER=$(STAGING_DIR_HOST)/bin/autoheader \ + LIBTOOLIZE=$(STAGING_DIR_HOST)/bin/libtoolize \ + LIBTOOL=$(STAGING_DIR_HOST)/bin/libtool \ + M4=$(STAGING_DIR_HOST)/bin/m4 \ + AUTOPOINT=true + +# 1: build dir +# 2: remove files +# 3: automake paths +# 4: libtool paths +# 5: extra m4 dirs +define autoreconf + (cd $(1); \ + $(patsubst %,rm -f %;,$(2)) \ + $(foreach p,$(3), \ + if [ -f $(p)/configure.ac ] || [ -f $(p)/configure.in ]; then \ + [ -d $(p)/autom4te.cache ] && rm -rf autom4te.cache; \ + [ -e $(p)/config.rpath ] || \ + ln -s $(SCRIPT_DIR)/config.rpath $(p)/config.rpath; \ + touch NEWS AUTHORS COPYING ABOUT-NLS ChangeLog; \ + $(AM_TOOL_PATHS) \ + LIBTOOLIZE='$(STAGING_DIR_HOST)/bin/libtoolize --install' \ + $(STAGING_DIR_HOST)/bin/autoreconf -v -f -i -s \ + $(if $(word 2,$(3)),--no-recursive) \ + -B $(STAGING_DIR_HOST)/share/aclocal \ + $(patsubst %,-I %,$(5)) \ + $(patsubst %,-I %,$(4)) $(p) || true; \ + fi; \ + ) \ + ); +endef + +# 1: build dir +define patch_libtool + @(cd $(1); \ + for lt in $$$$($$(STAGING_DIR_HOST)/bin/find . -name ltmain.sh); do \ + lt_version="$$$$($$(STAGING_DIR_HOST)/bin/sed -ne 's,^[[:space:]]*VERSION="\?\([0-9]\.[0-9]\+\).*,\1,p' $$$$lt)"; \ + case "$$$$lt_version" in \ + 1.5|2.2|2.4) echo "autotools.mk: Found libtool v$$$$lt_version - applying patch to $$$$lt"; \ + (cd $$$$(dirname $$$$lt) && $$(PATCH) -N -s -p1 < $$(TOPDIR)/tools/libtool/files/libtool-v$$$$lt_version.patch || true) ;; \ + *) echo "autotools.mk: error: Unsupported libtool version v$$$$lt_version - cannot patch $$$$lt"; exit 1 ;; \ + esac; \ + done; \ + ); +endef + + +PKG_LIBTOOL_PATHS?=$(CONFIGURE_PATH) +PKG_AUTOMAKE_PATHS?=$(CONFIGURE_PATH) +PKG_MACRO_PATHS?=m4 +PKG_REMOVE_FILES?=aclocal.m4 + +Hooks/InstallDev/Post += libtool_remove_files + +define autoreconf_target + $(strip $(call autoreconf, \ + $(PKG_BUILD_DIR), $(PKG_REMOVE_FILES), \ + $(PKG_AUTOMAKE_PATHS), $(PKG_LIBTOOL_PATHS), \ + $(STAGING_DIR)/host/share/aclocal $(STAGING_DIR_HOSTPKG)/share/aclocal $(STAGING_DIR)/usr/share/aclocal $(PKG_MACRO_PATHS))) +endef + +define patch_libtool_target + $(strip $(call patch_libtool, \ + $(PKG_BUILD_DIR))) +endef + +define gettext_version_target + (cd $(PKG_BUILD_DIR) && \ + GETTEXT_VERSION=$(shell $(STAGING_DIR_HOSTPKG)/bin/gettext -V | $(STAGING_DIR_HOST)/bin/sed -ne '1s/.*\([0-9]\.[0-9]\{2\}\.[0-9]\).*/\1/p' ) && \ + $(STAGING_DIR_HOST)/bin/sed \ + -i $(PKG_BUILD_DIR)/configure.ac \ + -e "s/AM_GNU_GETTEXT_VERSION(.*)/AM_GNU_GETTEXT_VERSION(\[$$$$GETTEXT_VERSION\])/g" && \ + $(STAGING_DIR_HOSTPKG)/bin/autopoint --force \ + ); +endef + +ifneq ($(filter gettext-version,$(PKG_FIXUP)),) + Hooks/Configure/Pre += gettext_version_target + ifeq ($(filter no-autoreconf,$(PKG_FIXUP)),) + Hooks/Configure/Pre += autoreconf_target + endif +endif + +ifneq ($(filter patch-libtool,$(PKG_FIXUP)),) + Hooks/Configure/Pre += patch_libtool_target +endif + +ifneq ($(filter libtool,$(PKG_FIXUP)),) + PKG_BUILD_DEPENDS += libtool gettext libiconv + ifeq ($(filter no-autoreconf,$(PKG_FIXUP)),) + Hooks/Configure/Pre += autoreconf_target + endif +endif + +ifneq ($(filter libtool-ucxx,$(PKG_FIXUP)),) + PKG_BUILD_DEPENDS += libtool gettext libiconv + ifeq ($(filter no-autoreconf,$(PKG_FIXUP)),) + Hooks/Configure/Pre += autoreconf_target + endif +endif + +ifneq ($(filter autoreconf,$(PKG_FIXUP)),) + ifeq ($(filter autoreconf,$(Hooks/Configure/Pre)),) + Hooks/Configure/Pre += autoreconf_target + endif +endif + + +HOST_FIXUP?=$(PKG_FIXUP) +HOST_LIBTOOL_PATHS?=$(if $(PKG_LIBTOOL_PATHS),$(PKG_LIBTOOL_PATHS),.) +HOST_AUTOMAKE_PATHS?=$(if $(PKG_AUTOMAKE_PATHS),$(PKG_AUTOMAKE_PATHS),.) +HOST_MACRO_PATHS?=$(if $(PKG_MACRO_PATHS),$(PKG_MACRO_PATHS),m4) +HOST_REMOVE_FILES?=$(PKG_REMOVE_FILES) + +define autoreconf_host + $(strip $(call autoreconf, \ + $(HOST_BUILD_DIR), $(HOST_REMOVE_FILES), \ + $(HOST_AUTOMAKE_PATHS), $(HOST_LIBTOOL_PATHS), \ + $(HOST_MACRO_PATHS))) +endef + +define patch_libtool_host + $(strip $(call patch_libtool, \ + $(HOST_BUILD_DIR))) +endef + +ifneq ($(filter patch-libtool,$(PKG_FIXUP)),) + Hooks/HostConfigure/Pre += patch_libtool_host +endif + +ifneq ($(filter patch-libtool,$(HOST_FIXUP)),) + Hooks/HostConfigure/Pre += $(strip $(call patch_libtool,$(HOST_BUILD_DIR))) +endif + +ifneq ($(filter libtool,$(HOST_FIXUP)),) + ifeq ($(filter no-autoreconf,$(HOST_FIXUP)),) + Hooks/HostConfigure/Pre += autoreconf_host + endif +endif + +ifneq ($(filter libtool-ucxx,$(HOST_FIXUP)),) + ifeq ($(filter no-autoreconf,$(HOST_FIXUP)),) + Hooks/HostConfigure/Pre += autoreconf_host + endif +endif + +ifneq ($(filter autoreconf,$(HOST_FIXUP)),) + ifeq ($(filter autoreconf,$(Hooks/HostConfigure/Pre)),) + Hooks/HostConfigure/Pre += autoreconf_host + endif +endif diff --git a/include/cmake.mk b/include/cmake.mk new file mode 100644 index 0000000..8989b47 --- /dev/null +++ b/include/cmake.mk @@ -0,0 +1,130 @@ +cmake_bool = $(patsubst %,-D%:BOOL=$(if $($(1)),ON,OFF),$(2)) + +PKG_INSTALL:=1 + +ifneq ($(findstring c,$(OPENWRT_VERBOSE)),) + MAKE_FLAGS+=VERBOSE=1 +endif + +CMAKE_BINARY_DIR = $(PKG_BUILD_DIR)$(if $(CMAKE_BINARY_SUBDIR),/$(CMAKE_BINARY_SUBDIR)) +CMAKE_SOURCE_DIR = $(PKG_BUILD_DIR)$(if $(CMAKE_SOURCE_SUBDIR),/$(CMAKE_SOURCE_SUBDIR)) +HOST_CMAKE_SOURCE_DIR = $(HOST_BUILD_DIR)$(if $(CMAKE_SOURCE_SUBDIR),/$(CMAKE_SOURCE_SUBDIR)) +MAKE_PATH = $(firstword $(CMAKE_BINARY_SUBDIR) .) + +ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),) + cmake_tool=$(TOOLCHAIN_DIR)/bin/$(1) +else + cmake_tool=$(shell which $(1)) +endif + +ifeq ($(CONFIG_CCACHE),) + CMAKE_C_COMPILER:=$(call cmake_tool,$(TARGET_CC)) + CMAKE_CXX_COMPILER:=$(call cmake_tool,$(TARGET_CXX)) + CMAKE_C_COMPILER_ARG1:= + CMAKE_CXX_COMPILER_ARG1:= + + CMAKE_HOST_C_COMPILER:=$(HOSTCC) + CMAKE_HOST_CXX_COMPILER:=$(HOSTCXX) + CMAKE_HOST_C_COMPILER_ARG1:= + CMAKE_HOST_CXX_COMPILER_ARG1:= +else + CCACHE:=$(STAGING_DIR_HOST)/bin/ccache + CMAKE_C_COMPILER:=$(CCACHE) + CMAKE_C_COMPILER_ARG1:=$(TARGET_CC_NOCACHE) + CMAKE_CXX_COMPILER:=$(CCACHE) + CMAKE_CXX_COMPILER_ARG1:=$(TARGET_CXX_NOCACHE) + + CMAKE_HOST_C_COMPILER:=$(CCACHE) + CMAKE_HOST_C_COMPILER_ARG1:=$(HOSTCC_NOCACHE) + CMAKE_HOST_CXX_COMPILER:=$(CCACHE) + CMAKE_HOST_CXX_COMPILER_ARG1:=$(HOSTCXX_NOCACHE) +endif +CMAKE_AR:=$(call cmake_tool,$(TARGET_AR)) +CMAKE_NM:=$(call cmake_tool,$(TARGET_NM)) +CMAKE_RANLIB:=$(call cmake_tool,$(TARGET_RANLIB)) + +CMAKE_FIND_ROOT_PATH:=$(STAGING_DIR)/usr;$(TOOLCHAIN_DIR)$(if $(CONFIG_EXTERNAL_TOOLCHAIN),;$(CONFIG_TOOLCHAIN_ROOT)) +CMAKE_HOST_FIND_ROOT_PATH:=$(STAGING_DIR)/host;$(STAGING_DIR_HOSTPKG);$(STAGING_DIR_HOST) +CMAKE_SHARED_LDFLAGS:=-Wl,-Bsymbolic-functions + +define Build/Configure/Default + mkdir -p $(CMAKE_BINARY_DIR) + (cd $(CMAKE_BINARY_DIR); \ + CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \ + CXXFLAGS="$(TARGET_CXXFLAGS) $(EXTRA_CXXFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS)" \ + cmake \ + -DCMAKE_SYSTEM_NAME=Linux \ + -DCMAKE_SYSTEM_VERSION=1 \ + -DCMAKE_SYSTEM_PROCESSOR=$(ARCH) \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" \ + -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" \ + -DCMAKE_C_COMPILER="$(CMAKE_C_COMPILER)" \ + -DCMAKE_C_COMPILER_ARG1="$(CMAKE_C_COMPILER_ARG1)" \ + -DCMAKE_CXX_COMPILER="$(CMAKE_CXX_COMPILER)" \ + -DCMAKE_CXX_COMPILER_ARG1="$(CMAKE_CXX_COMPILER_ARG1)" \ + -DCMAKE_ASM_COMPILER="$(CMAKE_C_COMPILER)" \ + -DCMAKE_ASM_COMPILER_ARG1="$(CMAKE_C_COMPILER_ARG1)" \ + -DCMAKE_EXE_LINKER_FLAGS:STRING="$(TARGET_LDFLAGS)" \ + -DCMAKE_MODULE_LINKER_FLAGS:STRING="$(TARGET_LDFLAGS) $(CMAKE_SHARED_LDFLAGS)" \ + -DCMAKE_SHARED_LINKER_FLAGS:STRING="$(TARGET_LDFLAGS) $(CMAKE_SHARED_LDFLAGS)" \ + -DCMAKE_AR="$(CMAKE_AR)" \ + -DCMAKE_NM="$(CMAKE_NM)" \ + -DCMAKE_RANLIB="$(CMAKE_RANLIB)" \ + -DCMAKE_FIND_ROOT_PATH="$(CMAKE_FIND_ROOT_PATH)" \ + -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=BOTH \ + -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY \ + -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY \ + -DCMAKE_STRIP=: \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DDL_LIBRARY=$(STAGING_DIR) \ + -DCMAKE_PREFIX_PATH=$(STAGING_DIR) \ + -DCMAKE_SKIP_RPATH=TRUE \ + $(CMAKE_OPTIONS) \ + $(CMAKE_SOURCE_DIR) \ + ) +endef + +define Build/InstallDev/cmake + $(INSTALL_DIR) $(1) + $(CP) $(PKG_INSTALL_DIR)/* $(1)/ +endef + +Build/InstallDev = $(if $(CMAKE_INSTALL),$(Build/InstallDev/cmake)) + +define Host/Configure/Default + (cd $(HOST_BUILD_DIR); \ + CFLAGS="$(HOST_CFLAGS)" \ + CXXFLAGS="$(HOST_CFLAGS)" \ + LDFLAGS="$(HOST_LDFLAGS)" \ + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_C_COMPILER="$(CMAKE_HOST_C_COMPILER)" \ + -DCMAKE_C_COMPILER_ARG1="$(CMAKE_HOST_C_COMPILER_ARG1)" \ + -DCMAKE_CXX_COMPILER="$(CMAKE_HOST_CXX_COMPILER)" \ + -DCMAKE_CXX_COMPILER_ARG1="$(CMAKE_HOST_CXX_COMPILER_ARG1)" \ + -DCMAKE_ASM_COMPILER="$(CMAKE_HOST_C_COMPILER)" \ + -DCMAKE_ASM_COMPILER_ARG1="$(CMAKE_HOST_C_COMPILER_ARG1)" \ + -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" \ + -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" \ + -DCMAKE_EXE_LINKER_FLAGS:STRING="$(HOST_LDFLAGS)" \ + -DCMAKE_MODULE_LINKER_FLAGS:STRING="$(HOST_LDFLAGS)" \ + -DCMAKE_SHARED_LINKER_FLAGS:STRING="$(HOST_LDFLAGS)" \ + -DCMAKE_FIND_ROOT_PATH="$(CMAKE_HOST_FIND_ROOT_PATH)" \ + -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=BOTH \ + -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY \ + -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY \ + -DCMAKE_STRIP=: \ + -DCMAKE_INSTALL_PREFIX=$(HOST_BUILD_PREFIX) \ + -DCMAKE_PREFIX_PATH=$(HOST_BUILD_PREFIX) \ + -DCMAKE_SKIP_RPATH=TRUE \ + -DCMAKE_INSTALL_LIBDIR=lib \ + $(CMAKE_HOST_OPTIONS) \ + $(HOST_CMAKE_SOURCE_DIR) \ + ) +endef + +MAKE_FLAGS += \ + CMAKE_COMMAND='$$(if $$(CMAKE_DISABLE_$$@),:,$(STAGING_DIR_HOST)/bin/cmake)' \ + CMAKE_DISABLE_cmake_check_build_system=1 diff --git a/include/debug.mk b/include/debug.mk new file mode 100644 index 0000000..59a99c0 --- /dev/null +++ b/include/debug.mk @@ -0,0 +1,51 @@ +# +# Copyright (C) 2007 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +# debug flags: +# +# d: show subdirectory tree +# t: show added targets +# l: show legacy targets +# r: show autorebuild messages +# v: verbose (no .SILENCE for common targets) + +ifeq ($(DUMP),) + ifeq ($(DEBUG),all) + build_debug:=dltvr + else + build_debug:=$(DEBUG) + endif +endif + +ifneq ($(DEBUG),) + +define debug +$$(findstring $(2),$$(if $$(DEBUG_SCOPE_DIR),$$(if $$(filter $$(DEBUG_SCOPE_DIR)%,$(1)),$(build_debug)),$(build_debug))) +endef + +define warn +$$(if $(call debug,$(1),$(2)),$$(warning $(3))) +endef + +define debug_eval +$$(if $(call debug,$(1),$(2)),$(3)) +endef + +define warn_eval +$(call warn,$(1),$(2),$(3) $(4)) +$(4) +endef + +else + +debug:= +warn:= +debug_eval:= +warn_eval = $(4) + +endif + diff --git a/include/depends.mk b/include/depends.mk new file mode 100644 index 0000000..3df51ad --- /dev/null +++ b/include/depends.mk @@ -0,0 +1,54 @@ +# +# Copyright (C) 2007 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# define a dependency on a subtree +# parameters: +# 1: directories/files +# 2: directory dependency +# 3: tempfile for file listings +# 4: find options + +DEP_FINDPARAMS := -x "*/.svn*" -x ".*" -x "*:*" -x "*\!*" -x "* *" -x "*\\\#*" -x "*/.*_check" -x "*/.*.swp" -x "*/.pkgdir*" + +find_md5=find $(wildcard $(1)) -type f $(patsubst -x,-and -not -path,$(DEP_FINDPARAMS) $(2)) | mkhash md5 + +define rdep + .PRECIOUS: $(2) + .SILENT: $(2)_check + + $(2): $(2)_check + check-depends: $(2)_check + +ifneq ($(wildcard $(2)),) + $(2)_check:: + $(if $(3), \ + $(call find_md5,$(1),$(4)) > $(3).1; \ + { [ \! -f "$(3)" ] || diff $(3) $(3).1 >/dev/null; } && \ + ) \ + { \ + [ -f "$(2)_check.1" ] && mv "$(2)_check.1"; \ + $(TOPDIR)/scripts/timestamp.pl $(DEP_FINDPARAMS) $(4) -n $(2) $(1) && { \ + $(call debug_eval,$(SUBDIR),r,echo "No need to rebuild $(2)";) \ + touch -r "$(2)" "$(2)_check"; \ + } \ + } || { \ + $(call debug_eval,$(SUBDIR),r,echo "Need to rebuild $(2)";) \ + touch "$(2)_check"; \ + } + $(if $(3), mv $(3).1 $(3)) +else + $(2)_check:: + $(if $(3), rm -f $(3) $(3).1) + $(call debug_eval,$(SUBDIR),r,echo "Target $(2) not built") +endif + +endef + +ifeq ($(filter .%,$(MAKECMDGOALS)),$(if $(MAKECMDGOALS),$(MAKECMDGOALS),x)) + define rdep + $(2): $(2)_check + endef +endif diff --git a/include/device_table.txt b/include/device_table.txt new file mode 100644 index 0000000..f45b158 --- /dev/null +++ b/include/device_table.txt @@ -0,0 +1,5 @@ +# minimal device table file for OpenWrt + +# +/dev d 755 0 0 - - - - - +/dev/console c 600 0 0 5 1 0 0 - diff --git a/include/download.mk b/include/download.mk new file mode 100644 index 0000000..14d68bf --- /dev/null +++ b/include/download.mk @@ -0,0 +1,326 @@ +# +# Copyright (C) 2006-2012 OpenWrt.org +# Copyright (C) 2016 LEDE project +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +PROJECT_GIT = https://git.openwrt.org + +OPENWRT_GIT = $(PROJECT_GIT) +LEDE_GIT = $(PROJECT_GIT) + +ifdef PKG_SOURCE_VERSION +PKG_VERSION ?= $(if $(PKG_SOURCE_DATE),$(PKG_SOURCE_DATE)-)$(call version_abbrev,$(PKG_SOURCE_VERSION)) +PKG_SOURCE_SUBDIR ?= $(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE ?= $(PKG_SOURCE_SUBDIR).tar.xz +endif + +DOWNLOAD_RDEP=$(STAMP_PREPARED) $(HOST_STAMP_PREPARED) + +define dl_method_git +$(if $(filter https://github.com/% git://github.com/%,$(1)),github_archive,git) +endef + +# Try to guess the download method from the URL +define dl_method +$(strip \ + $(if $(filter git,$(2)),$(call dl_method_git,$(1),$(2)), + $(if $(2),$(2), \ + $(if $(filter @APACHE/% @GITHUB/% @GNOME/% @GNU/% @KERNEL/% @SF/% @SAVANNAH/% ftp://% http://% https://% file://%,$(1)),default, \ + $(if $(filter git://%,$(1)),$(call dl_method_git,$(1),$(2)), \ + $(if $(filter svn://%,$(1)),svn, \ + $(if $(filter cvs://%,$(1)),cvs, \ + $(if $(filter hg://%,$(1)),hg, \ + $(if $(filter sftp://%,$(1)),bzr, \ + unknown \ + ) \ + ) \ + ) \ + ) \ + ) \ + ) \ + ) \ + ) \ +) +endef + +# code for creating tarballs from cvs/svn/git/bzr/hg/darcs checkouts - useful for mirror support +dl_pack/bz2=bzip2 -c > $(1) +dl_pack/gz=gzip -nc > $(1) +dl_pack/xz=xz -zc -7e > $(1) +dl_pack/unknown=$(error ERROR: Unknown pack format for file $(1)) +define dl_pack + $(if $(dl_pack/$(call ext,$(1))),$(dl_pack/$(call ext,$(1))),$(dl_pack/unknown)) +endef +define dl_tar_pack + $(TAR) --numeric-owner --owner=0 --group=0 --mode=a-s --sort=name \ + $$$${TAR_TIMESTAMP:+--mtime="$$$$TAR_TIMESTAMP"} -c $(2) | $(call dl_pack,$(1)) +endef + +ifdef CHECK +check_escape=$(subst ','\'',$(1)) +#') + +# $(1): suffix of the F_, C_ variables, e.g. hash_deprecated, hash_mismatch, etc. +# $(2): filename +# $(3): expected hash value +# $(4): var name of the the form: {PKG_,Download/:}{,MIRROR_}{HASH,MIRROR_HASH} +check_warn_nofix = $(info $(shell printf "$(_R)WARNING: %s$(_N)" '$(call check_escape,$(call C_$(1),$(2),$(3),$(4)))')) +ifndef FIXUP + check_warn = $(check_warn_nofix) +else + check_warn = $(if $(filter-out undefined,$(origin F_$(1))),$(filter ,$(shell $(call F_$(1),$(2),$(3),$(4)) >&2)),$(check_warn_nofix)) +endif + +gen_sha256sum = $(shell mkhash sha256 $(DL_DIR)/$(1)) + +ifdef FIXUP +F_hash_deprecated = $(SCRIPT_DIR)/fixup-makefile.pl $(CURDIR)/Makefile fix-hash $(3) $(call gen_sha256sum,$(1)) $(2) +F_hash_mismatch = $(F_hash_deprecated) +F_hash_missing = $(SCRIPT_DIR)/fixup-makefile.pl $(CURDIR)/Makefile add-hash $(3) $(call gen_sha256sum,$(1)) +endif + +# $(1): filename +# $(2): expected hash value +# $(3): var name of the the form: {PKG_,Download/:}{,MIRROR_}{HASH,MIRROR_HASH} +C_download_missing = $(1) is missing, please run make download before re-running this check +C_hash_mismatch = $(3) does not match $(1) hash $(call gen_sha256sum,$(1)) +C_hash_deprecated = $(3) uses deprecated hash, set to $(call gen_sha256sum,$(1)) +C_hash_missing = $(3) is missing, set to $(call gen_sha256sum,$(1)) + +# $(1): filename +# $(2): expected hash value +# $(3): var name of the the form: {PKG_,Download/:}{,MIRROR_}{HASH,MIRROR_HASH} +check_hash = \ + $(if $(wildcard $(DL_DIR)/$(1)), \ + $(if $(filter-out x,$(2)), \ + $(if $(filter 64,$(shell printf '%s' '$(2)' | wc -c)), \ + $(if $(filter $(2),$(call gen_sha256sum,$(1))),, \ + $(call check_warn,hash_mismatch,$(1),$(2),$(3)) \ + ), \ + $(call check_warn,hash_deprecated,$(1),$(2),$(3)), \ + ), \ + $(call check_warn,hash_missing,$(1),$(2),$(3)) \ + ), \ + $(call check_warn,download_missing,$(1),$(2),$(3)) \ + ) + +ifdef FIXUP +F_md5_deprecated = $(SCRIPT_DIR)/fixup-makefile.pl $(CURDIR)/Makefile rename-var $(2) $(3) +endif + +C_md5_deprecated = Use of $(2) is deprecated, switch to $(3) + +check_md5 = \ + $(if $(filter-out x,$(1)), \ + $(call check_warn,md5_deprecated,$(1),$(2),$(3)) \ + ) + +hash_var = $(if $(filter-out x,$(1)),MD5SUM,HASH) +endif + +define DownloadMethod/unknown + echo "ERROR: No download method available"; false +endef + +define DownloadMethod/default + $(SCRIPT_DIR)/download.pl "$(DL_DIR)" "$(FILE)" "$(HASH)" "$(URL_FILE)" $(foreach url,$(URL),"$(url)") \ + $(if $(filter check,$(1)), \ + $(call check_hash,$(FILE),$(HASH),$(2)$(call hash_var,$(MD5SUM))) \ + $(call check_md5,$(MD5SUM),$(2)MD5SUM,$(2)HASH) \ + ) +endef + +# $(1): "check" +# $(2): "PKG_" if as in Download/ is "default", otherwise "Download/:" +# $(3): shell command sequence to do the download +define wrap_mirror +$(if $(if $(MIRROR),$(filter-out x,$(MIRROR_HASH))),$(SCRIPT_DIR)/download.pl "$(DL_DIR)" "$(FILE)" "$(MIRROR_HASH)" "" || ( $(3) ),$(3)) \ +$(if $(filter check,$(1)), \ + $(call check_hash,$(FILE),$(MIRROR_HASH),$(2)MIRROR_$(call hash_var,$(MIRROR_MD5SUM))) \ + $(call check_md5,$(MIRROR_MD5SUM),$(2)MIRROR_MD5SUM,$(2)MIRROR_HASH) \ +) +endef + +define DownloadMethod/cvs + $(call wrap_mirror,$(1),$(2), \ + echo "Checking out files from the cvs repository..."; \ + mkdir -p $(TMP_DIR)/dl && \ + cd $(TMP_DIR)/dl && \ + rm -rf $(SUBDIR) && \ + [ \! -d $(SUBDIR) ] && \ + cvs -d $(URL) export $(VERSION) $(SUBDIR) && \ + echo "Packing checkout..." && \ + $(call dl_tar_pack,$(TMP_DIR)/dl/$(FILE),$(SUBDIR)) && \ + mv $(TMP_DIR)/dl/$(FILE) $(DL_DIR)/ && \ + rm -rf $(SUBDIR); \ + ) +endef + +define DownloadMethod/svn + $(call wrap_mirror,$(1),$(2), \ + echo "Checking out files from the svn repository..."; \ + mkdir -p $(TMP_DIR)/dl && \ + cd $(TMP_DIR)/dl && \ + rm -rf $(SUBDIR) && \ + [ \! -d $(SUBDIR) ] && \ + ( svn help export | grep -q trust-server-cert && \ + svn export --non-interactive --trust-server-cert -r$(VERSION) $(URL) $(SUBDIR) || \ + svn export --non-interactive -r$(VERSION) $(URL) $(SUBDIR) ) && \ + echo "Packing checkout..." && \ + export TAR_TIMESTAMP="" && \ + $(call dl_tar_pack,$(TMP_DIR)/dl/$(FILE),$(SUBDIR)) && \ + mv $(TMP_DIR)/dl/$(FILE) $(DL_DIR)/ && \ + rm -rf $(SUBDIR); \ + ) +endef + +define DownloadMethod/git + $(call wrap_mirror,$(1),$(2), \ + $(call DownloadMethod/rawgit) \ + ) +endef + +define DownloadMethod/github_archive + $(call wrap_mirror,$(1),$(2), \ + $(SCRIPT_DIR)/dl_github_archive.py \ + --dl-dir="$(DL_DIR)" \ + --url="$(URL)" \ + --version="$(VERSION)" \ + --subdir="$(SUBDIR)" \ + --source="$(FILE)" \ + --hash="$(MIRROR_HASH)" \ + || ( $(call DownloadMethod/rawgit) ); \ + ) +endef + +# Only intends to be called as a submethod from other DownloadMethod +define DownloadMethod/rawgit + echo "Checking out files from the git repository..."; \ + mkdir -p $(TMP_DIR)/dl && \ + cd $(TMP_DIR)/dl && \ + rm -rf $(SUBDIR) && \ + [ \! -d $(SUBDIR) ] && \ + git clone $(OPTS) $(URL) $(SUBDIR) && \ + (cd $(SUBDIR) && git checkout $(VERSION) && \ + git submodule update --init --recursive) && \ + echo "Packing checkout..." && \ + export TAR_TIMESTAMP=`cd $(SUBDIR) && git log -1 --format='@%ct'` && \ + rm -rf $(SUBDIR)/.git && \ + $(call dl_tar_pack,$(TMP_DIR)/dl/$(FILE),$(SUBDIR)) && \ + mv $(TMP_DIR)/dl/$(FILE) $(DL_DIR)/ && \ + rm -rf $(SUBDIR); +endef + +define DownloadMethod/bzr + $(call wrap_mirror,$(1),$(2), \ + echo "Checking out files from the bzr repository..."; \ + mkdir -p $(TMP_DIR)/dl && \ + cd $(TMP_DIR)/dl && \ + rm -rf $(SUBDIR) && \ + [ \! -d $(SUBDIR) ] && \ + bzr export --per-file-timestamps -r$(VERSION) $(SUBDIR) $(URL) && \ + echo "Packing checkout..." && \ + export TAR_TIMESTAMP="" && \ + $(call dl_tar_pack,$(TMP_DIR)/dl/$(FILE),$(SUBDIR)) && \ + mv $(TMP_DIR)/dl/$(FILE) $(DL_DIR)/ && \ + rm -rf $(SUBDIR); \ + ) +endef + +define DownloadMethod/hg + $(call wrap_mirror,$(1),$(2), \ + echo "Checking out files from the hg repository..."; \ + mkdir -p $(TMP_DIR)/dl && \ + cd $(TMP_DIR)/dl && \ + rm -rf $(SUBDIR) && \ + [ \! -d $(SUBDIR) ] && \ + hg clone -r $(VERSION) $(URL) $(SUBDIR) && \ + export TAR_TIMESTAMP=`cd $(SUBDIR) && hg log --template '@{date}' -l 1` && \ + find $(SUBDIR) -name .hg | xargs rm -rf && \ + echo "Packing checkout..." && \ + $(call dl_tar_pack,$(TMP_DIR)/dl/$(FILE),$(SUBDIR)) && \ + mv $(TMP_DIR)/dl/$(FILE) $(DL_DIR)/ && \ + rm -rf $(SUBDIR); \ + ) +endef + +define DownloadMethod/darcs + $(call wrap_mirror, $(1), $(2), \ + echo "Checking out files from the darcs repository..."; \ + mkdir -p $(TMP_DIR)/dl && \ + cd $(TMP_DIR)/dl && \ + rm -rf $(SUBDIR) && \ + [ \! -d $(SUBDIR) ] && \ + darcs get -t $(VERSION) $(URL) $(SUBDIR) && \ + export TAR_TIMESTAMP=`cd $(SUBDIR) && LC_ALL=C darcs log --last 1 | sed -ne 's!^Date: \+!!p'` && \ + find $(SUBDIR) -name _darcs | xargs rm -rf && \ + echo "Packing checkout..." && \ + $(call dl_tar_pack,$(TMP_DIR)/dl/$(FILE),$(SUBDIR)) && \ + mv $(TMP_DIR)/dl/$(FILE) $(DL_DIR)/ && \ + rm -rf $(SUBDIR); \ + ) +endef + +Validate/cvs=VERSION SUBDIR +Validate/svn=VERSION SUBDIR +Validate/git=VERSION SUBDIR +Validate/bzr=VERSION SUBDIR +Validate/hg=VERSION SUBDIR +Validate/darcs=VERSION SUBDIR + +define Download/Defaults + URL:= + FILE:= + URL_FILE:= + PROTO:= + HASH=$$(MD5SUM) + MD5SUM:=x + SUBDIR:= + MIRROR:=1 + MIRROR_HASH=$$(MIRROR_MD5SUM) + MIRROR_MD5SUM:=x + VERSION:= + OPTS:= +endef + +define Download/default + FILE:=$(PKG_SOURCE) + URL:=$(PKG_SOURCE_URL) + URL_FILE:=$(PKG_SOURCE_URL_FILE) + SUBDIR:=$(PKG_SOURCE_SUBDIR) + PROTO:=$(PKG_SOURCE_PROTO) + $(if $(PKG_SOURCE_MIRROR),MIRROR:=$(filter 1,$(PKG_MIRROR))) + $(if $(PKG_MIRROR_MD5SUM),MIRROR_MD5SUM:=$(PKG_MIRROR_MD5SUM)) + $(if $(PKG_MIRROR_HASH),MIRROR_HASH:=$(PKG_MIRROR_HASH)) + VERSION:=$(PKG_SOURCE_VERSION) + $(if $(PKG_MD5SUM),MD5SUM:=$(PKG_MD5SUM)) + $(if $(PKG_HASH),HASH:=$(PKG_HASH)) +endef + +define Download + $(eval $(Download/Defaults)) + $(eval $(Download/$(1))) + $(foreach FIELD,URL FILE $(Validate/$(call dl_method,$(URL),$(PROTO))), + ifeq ($($(FIELD)),) + $$(error Download/$(1) is missing the $(FIELD) field.) + endif + ) + + $(foreach dep,$(DOWNLOAD_RDEP), + $(dep): $(DL_DIR)/$(FILE) + ) + download: $(DL_DIR)/$(FILE) + + $(DL_DIR)/$(FILE): + mkdir -p $(DL_DIR) + $(call locked, \ + $(if $(DownloadMethod/$(call dl_method,$(URL),$(PROTO))), \ + $(call DownloadMethod/$(call dl_method,$(URL),$(PROTO)),check,$(if $(filter default,$(1)),PKG_,Download/$(1):)), \ + $(DownloadMethod/unknown) \ + ),\ + $(FILE)) + +endef diff --git a/include/feeds.mk b/include/feeds.mk new file mode 100644 index 0000000..9637424 --- /dev/null +++ b/include/feeds.mk @@ -0,0 +1,48 @@ +# +# Copyright (C) 2014 OpenWrt.org +# Copyright (C) 2016 LEDE Project +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +-include $(TMP_DIR)/.packageauxvars + +FEEDS_INSTALLED:=$(notdir $(wildcard $(TOPDIR)/package/feeds/*)) +FEEDS_AVAILABLE:=$(sort $(FEEDS_INSTALLED) $(shell $(SCRIPT_DIR)/feeds list -n 2>/dev/null)) + +PACKAGE_SUBDIRS=$(PACKAGE_DIR) +ifneq ($(CONFIG_PER_FEED_REPO),) + PACKAGE_SUBDIRS += $(OUTPUT_DIR)/packages/$(ARCH_PACKAGES)/base + PACKAGE_SUBDIRS += $(foreach FEED,$(FEEDS_AVAILABLE),$(OUTPUT_DIR)/packages/$(ARCH_PACKAGES)/$(FEED)) +endif + +opkg_package_files = $(wildcard \ + $(foreach dir,$(PACKAGE_SUBDIRS), \ + $(foreach pkg,$(1), $(dir)/$(pkg)_*.ipk))) + +# 1: package name +define FeedPackageDir +$(strip $(if $(CONFIG_PER_FEED_REPO), \ + $(if $(Package/$(1)/subdir), \ + $(abspath $(OUTPUT_DIR)/packages/$(ARCH_PACKAGES)/$(Package/$(1)/subdir)), \ + $(PACKAGE_DIR)), \ + $(PACKAGE_DIR))) +endef + +# 1: destination file +define FeedSourcesAppend +( \ + echo 'src/gz %d_core %U/targets/%S/packages'; \ + $(strip $(if $(CONFIG_PER_FEED_REPO), \ + echo 'src/gz %d_base %U/packages/%A/base'; \ + $(foreach feed,$(FEEDS_AVAILABLE), \ + $(if $(CONFIG_FEED_$(feed)), \ + echo '$(if $(filter m,$(CONFIG_FEED_$(feed))),# )src/gz %d_$(feed) %U/packages/%A/$(feed)';)))) \ +) >> $(1) +endef + +# 1: package name +define GetABISuffix +$(if $(filter-out kmod-%,$(1)),$(if $(Package/$(1)/abiversion),$(if $(filter %0 %1 %2 %3 %4 %5 %6 %7 %8 %9,$(1)),-)$(Package/$(1)/abiversion))) +endef diff --git a/include/hardened-ld-pie.specs b/include/hardened-ld-pie.specs new file mode 100644 index 0000000..7317b19 --- /dev/null +++ b/include/hardened-ld-pie.specs @@ -0,0 +1,2 @@ +*self_spec: ++ %{no-pie|static|r|shared:;:-pie} diff --git a/include/hardening.mk b/include/hardening.mk new file mode 100644 index 0000000..60f3942 --- /dev/null +++ b/include/hardening.mk @@ -0,0 +1,57 @@ +# +# Copyright (C) 2015 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +PKG_CHECK_FORMAT_SECURITY ?= 1 +PKG_ASLR_PIE ?= 1 +PKG_SSP ?= 1 +PKG_FORTIFY_SOURCE ?= 1 +PKG_RELRO ?= 1 + +ifdef CONFIG_PKG_CHECK_FORMAT_SECURITY + ifeq ($(strip $(PKG_CHECK_FORMAT_SECURITY)),1) + TARGET_CFLAGS += -Wformat -Werror=format-security + endif +endif +ifdef CONFIG_PKG_ASLR_PIE + ifeq ($(strip $(PKG_ASLR_PIE)),1) + TARGET_CFLAGS += $(FPIC) + TARGET_LDFLAGS += $(FPIC) -specs=$(INCLUDE_DIR)/hardened-ld-pie.specs + endif +endif +ifdef CONFIG_PKG_CC_STACKPROTECTOR_REGULAR + ifeq ($(strip $(PKG_SSP)),1) + TARGET_CFLAGS += -fstack-protector + endif +endif +ifdef CONFIG_PKG_CC_STACKPROTECTOR_STRONG + ifeq ($(strip $(PKG_SSP)),1) + TARGET_CFLAGS += -fstack-protector-strong + endif +endif +ifdef CONFIG_PKG_FORTIFY_SOURCE_1 + ifeq ($(strip $(PKG_FORTIFY_SOURCE)),1) + TARGET_CFLAGS += -D_FORTIFY_SOURCE=1 + endif +endif +ifdef CONFIG_PKG_FORTIFY_SOURCE_2 + ifeq ($(strip $(PKG_FORTIFY_SOURCE)),1) + TARGET_CFLAGS += -D_FORTIFY_SOURCE=2 + endif +endif +ifdef CONFIG_PKG_RELRO_PARTIAL + ifeq ($(strip $(PKG_RELRO)),1) + TARGET_CFLAGS += -Wl,-z,relro + TARGET_LDFLAGS += -zrelro + endif +endif +ifdef CONFIG_PKG_RELRO_FULL + ifeq ($(strip $(PKG_RELRO)),1) + TARGET_CFLAGS += -Wl,-z,now -Wl,-z,relro + TARGET_LDFLAGS += -znow -zrelro + endif +endif + diff --git a/include/host-build.mk b/include/host-build.mk new file mode 100644 index 0000000..79a9b1f --- /dev/null +++ b/include/host-build.mk @@ -0,0 +1,213 @@ +# +# Copyright (C) 2006-2010 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(INCLUDE_DIR)/download.mk + +HOST_BUILD_DIR ?= $(BUILD_DIR_HOST)/$(PKG_NAME)$(if $(PKG_VERSION),-$(PKG_VERSION)) +HOST_INSTALL_DIR ?= $(HOST_BUILD_DIR)/host-install +HOST_BUILD_PARALLEL ?= + +HOST_MAKE_J:=$(if $(MAKE_JOBSERVER),$(MAKE_JOBSERVER) $(if $(filter 3.% 4.0 4.1,$(MAKE_VERSION)),-j)) + +ifeq ($(strip $(HOST_BUILD_PARALLEL)),0) +HOST_JOBS?=-j1 +else +HOST_JOBS?=$(if $(HOST_BUILD_PARALLEL),$(HOST_MAKE_J),-j1) +endif + +include $(INCLUDE_DIR)/unpack.mk +include $(INCLUDE_DIR)/depends.mk +include $(INCLUDE_DIR)/quilt.mk + +BUILD_TYPES += host +HOST_STAMP_PREPARED=$(HOST_BUILD_DIR)/.prepared$(if $(HOST_QUILT)$(DUMP),,$(shell $(call find_md5,${CURDIR} $(PKG_FILE_DEPENDS),))_$(call confvar,CONFIG_AUTOREMOVE $(HOST_PREPARED_DEPENDS))) +HOST_STAMP_CONFIGURED:=$(HOST_BUILD_DIR)/.configured +HOST_STAMP_BUILT:=$(HOST_BUILD_DIR)/.built +HOST_BUILD_PREFIX?=$(if $(IS_PACKAGE_BUILD),$(STAGING_DIR_HOSTPKG),$(STAGING_DIR_HOST)) +HOST_STAMP_INSTALLED:=$(HOST_BUILD_PREFIX)/stamp/.$(PKG_NAME)_installed + +override MAKEFLAGS= + +include $(INCLUDE_DIR)/autotools.mk + +_host_target:=$(if $(HOST_QUILT),,.) + +Host/Patch:=$(Host/Patch/Default) +ifneq ($(strip $(HOST_UNPACK)),) + define Host/Prepare/Default + $(HOST_UNPACK) + [ ! -d ./src/ ] || $(CP) ./src/* $(HOST_BUILD_DIR) + $(Host/Patch) + endef +endif + +define Host/Prepare + $(call Host/Prepare/Default) +endef + +HOST_CONFIGURE_VARS = \ + CC="$(HOSTCC)" \ + CFLAGS="$(HOST_CFLAGS)" \ + CXX="$(HOSTCXX)" \ + CPPFLAGS="$(HOST_CPPFLAGS)" \ + LDFLAGS="$(HOST_LDFLAGS)" \ + CONFIG_SHELL="$(SHELL)" + +HOST_CONFIGURE_ARGS = \ + --target=$(GNU_HOST_NAME) \ + --host=$(GNU_HOST_NAME) \ + --build=$(GNU_HOST_NAME) \ + --program-prefix="" \ + --program-suffix="" \ + --prefix=$(HOST_BUILD_PREFIX) \ + --exec-prefix=$(HOST_BUILD_PREFIX) \ + --sysconfdir=$(HOST_BUILD_PREFIX)/etc \ + --localstatedir=$(HOST_BUILD_PREFIX)/var \ + --sbindir=$(HOST_BUILD_PREFIX)/bin + +HOST_MAKE_VARS = \ + CFLAGS="$(HOST_CFLAGS)" \ + CPPFLAGS="$(HOST_CPPFLAGS)" \ + CXXFLAGS="$(HOST_CXXFLAGS)" \ + LDFLAGS="$(HOST_LDFLAGS)" + +HOST_MAKE_FLAGS = + +HOST_CONFIGURE_CMD = $(BASH) ./configure + +ifeq ($(HOST_OS),Darwin) + HOST_CONFIG_SITE:=$(INCLUDE_DIR)/site/darwin +endif + +define Host/Configure/Default + $(if $(HOST_CONFIGURE_PARALLEL),+)(cd $(HOST_BUILD_DIR)/$(3); \ + if [ -x configure ]; then \ + $(CP) $(SCRIPT_DIR)/config.{guess,sub} $(HOST_BUILD_DIR)/$(3)/ && \ + $(HOST_CONFIGURE_VARS) \ + $(2) \ + $(HOST_CONFIGURE_CMD) \ + $(HOST_CONFIGURE_ARGS) \ + $(1); \ + fi \ + ) +endef + +define Host/Configure + $(call Host/Configure/Default) +endef + +define Host/Compile/Default + +$(HOST_MAKE_VARS) \ + $(MAKE) $(HOST_JOBS) -C $(HOST_BUILD_DIR) \ + $(HOST_MAKE_FLAGS) \ + $(1) +endef + +define Host/Compile + $(call Host/Compile/Default) +endef + +define Host/Install/Default + $(call Host/Compile/Default,install) +endef + +define Host/Install + $(call Host/Install/Default,$(HOST_BUILD_PREFIX)) +endef + + +ifneq ($(if $(HOST_QUILT),,$(CONFIG_AUTOREBUILD)),) + define HostHost/Autoclean + $(call rdep,${CURDIR} $(PKG_FILE_DEPENDS),$(HOST_STAMP_PREPARED)) + $(if $(if $(Host/Compile),$(filter prepare,$(MAKECMDGOALS)),1),,$(call rdep,$(HOST_BUILD_DIR),$(HOST_STAMP_BUILT))) + endef +endif + +define Host/Exports/Default + $(1) : export ACLOCAL_INCLUDE=$$(foreach p,$$(wildcard $$(STAGING_DIR_HOST)/share/aclocal $$(STAGING_DIR_HOST)/share/aclocal-* $(if $(IS_PACKAGE_BUILD),$$(STAGING_DIR)/host/share/aclocal $$(STAGING_DIR_HOSTPKG)/share/aclocal $$(STAGING_DIR)/host/share/aclocal-*)),-I $$(p)) + $(1) : export STAGING_PREFIX=$$(HOST_BUILD_PREFIX) + $(1) : export PKG_CONFIG_PATH=$$(STAGING_DIR_HOST)/lib/pkgconfig:$$(HOST_BUILD_PREFIX)/lib/pkgconfig + $(1) : export PKG_CONFIG_LIBDIR=$$(HOST_BUILD_PREFIX)/lib/pkgconfig + $(if $(CONFIG_CCACHE),$(1) : export CCACHE_DIR:=$(STAGING_DIR_HOST)/ccache) + $(if $(HOST_CONFIG_SITE),$(1) : export CONFIG_SITE:=$(HOST_CONFIG_SITE)) + $(if $(IS_PACKAGE_BUILD),$(1) : export PATH=$$(TARGET_PATH_PKG)) +endef +Host/Exports=$(Host/Exports/Default) + +.NOTPARALLEL: + +ifndef DUMP + define HostBuild/Core + $(if $(HOST_QUILT),$(Host/Quilt)) + $(if $(DUMP),,$(call HostHost/Autoclean)) + + $(HOST_STAMP_PREPARED): + @-rm -rf $(HOST_BUILD_DIR) + @mkdir -p $(HOST_BUILD_DIR) + $(foreach hook,$(Hooks/HostPrepare/Pre),$(call $(hook))$(sep)) + $(call Host/Prepare) + $(foreach hook,$(Hooks/HostPrepare/Post),$(call $(hook))$(sep)) + touch $$@ + + $(call Host/Exports,$(HOST_STAMP_CONFIGURED)) + $(HOST_STAMP_CONFIGURED): $(HOST_STAMP_PREPARED) + $(foreach hook,$(Hooks/HostConfigure/Pre),$(call $(hook))$(sep)) + $(call Host/Configure) + $(foreach hook,$(Hooks/HostConfigure/Post),$(call $(hook))$(sep)) + touch $$@ + + $(call Host/Exports,$(HOST_STAMP_BUILT)) + $(HOST_STAMP_BUILT): $(HOST_STAMP_CONFIGURED) + $(foreach hook,$(Hooks/HostCompile/Pre),$(call $(hook))$(sep)) + $(call Host/Compile) + $(foreach hook,$(Hooks/HostCompile/Post),$(call $(hook))$(sep)) + touch $$@ + + $(call Host/Exports,$(HOST_STAMP_INSTALLED)) + $(HOST_STAMP_INSTALLED): $(HOST_STAMP_BUILT) $(if $(FORCE_HOST_INSTALL),FORCE) + $(call Host/Install,$(HOST_BUILD_PREFIX)) + $(foreach hook,$(Hooks/HostInstall/Post),$(call $(hook))$(sep)) + mkdir -p $$(shell dirname $$@) + touch $(HOST_STAMP_BUILT) + touch $$@ + + $(call DefaultTargets,$(patsubst %,host-%,$(DEFAULT_SUBDIR_TARGETS))) + ifndef STAMP_BUILT + $(foreach t,$(DEFAULT_SUBDIR_TARGETS), + $(t): host-$(t) + .$(t): .host-$(t) + ) + clean-build: host-clean-build + endif + + $(DL_DIR)/$(FILE): FORCE + + $(_host_target)host-prepare: $(HOST_STAMP_PREPARED) + $(_host_target)host-configure: $(HOST_STAMP_CONFIGURED) + $(_host_target)host-compile: $(HOST_STAMP_BUILT) $(HOST_STAMP_INSTALLED) + host-install: host-compile + + host-clean-build: FORCE + rm -rf $(HOST_BUILD_DIR) $(HOST_STAMP_BUILT) + + host-clean: host-clean-build + $(call Host/Clean) + $(call Host/Uninstall) + rm -rf $(HOST_STAMP_INSTALLED) + + ifneq ($(CONFIG_AUTOREMOVE),) + host-compile: + $(FIND) $(HOST_BUILD_DIR) -mindepth 1 -maxdepth 1 -not '(' -type f -and -name '.*' -and -size 0 ')' | \ + $(XARGS) rm -rf + endif + endef +endif + +define HostBuild + $(HostBuild/Core) + $(if $(if $(PKG_HOST_ONLY),,$(STAMP_PREPARED)),,$(if $(strip $(PKG_SOURCE_URL)),$(call Download,default))) +endef diff --git a/include/image-commands.mk b/include/image-commands.mk new file mode 100644 index 0000000..182f5f8 --- /dev/null +++ b/include/image-commands.mk @@ -0,0 +1,382 @@ +# Build commands that can be called from Device/* templates + +IMAGE_KERNEL = $(word 1,$^) +IMAGE_ROOTFS = $(word 2,$^) + +define Build/uImage + mkimage -A $(LINUX_KARCH) \ + -O linux -T kernel \ + -C $(1) -a $(KERNEL_LOADADDR) -e $(if $(KERNEL_ENTRY),$(KERNEL_ENTRY),$(KERNEL_LOADADDR)) \ + -n '$(if $(UIMAGE_NAME),$(UIMAGE_NAME),$(call toupper,$(LINUX_KARCH)) $(VERSION_DIST) Linux-$(LINUX_VERSION))' -d $@ $@.new + mv $@.new $@ +endef + +define Build/buffalo-enc + $(eval product=$(word 1,$(1))) + $(eval version=$(word 2,$(1))) + $(eval args=$(wordlist 3,$(words $(1)),$(1))) + $(STAGING_DIR_HOST)/bin/buffalo-enc \ + -p $(product) -v $(version) $(args) \ + -i $@ -o $@.new + mv $@.new $@ +endef + +define Build/buffalo-enc-tag + $(call Build/buffalo-enc,'' '' -S 152 $(1)) +endef + +define Build/buffalo-tag-dhp + $(eval product=$(word 1,$(1))) + $(eval region=$(word 2,$(1))) + $(eval language=$(word 3,$(1))) + $(STAGING_DIR_HOST)/bin/buffalo-tag \ + -d 0x01000000 -w 1 \ + -a $(BUFFALO_TAG_PLATFORM) \ + -v $(BUFFALO_TAG_VERSION) -m $(BUFFALO_TAG_MINOR) \ + -b $(product) -p $(product) \ + -r $(region) -r $(region) -l $(language) \ + -I $@ -o $@.new + mv $@.new $@ +endef + +define Build/buffalo-dhp-image + $(STAGING_DIR_HOST)/bin/mkdhpimg $@ $@.new + mv $@.new $@ +endef + +define Build/eva-image + $(STAGING_DIR_HOST)/bin/lzma2eva $(KERNEL_LOADADDR) $(KERNEL_LOADADDR) $@ $@.new + mv $@.new $@ +endef + +define Build/seama + $(STAGING_DIR_HOST)/bin/seama -i $@ \ + -m "dev=/dev/mtdblock/$(SEAMA_MTDBLOCK)" -m "type=firmware" + mv $@.seama $@ +endef + +define Build/seama-seal + $(STAGING_DIR_HOST)/bin/seama -i $@ -s $@.seama \ + -m "signature=$(SEAMA_SIGNATURE)" + mv $@.seama $@ +endef + +define Build/zyxel-ras-image + let \ + newsize="$(subst k,* 1024,$(RAS_ROOTFS_SIZE))"; \ + $(STAGING_DIR_HOST)/bin/mkrasimage \ + -b $(RAS_BOARD) \ + -v $(RAS_VERSION) \ + -r $@ \ + -s $$newsize \ + -o $@.new \ + $(if $(findstring separate-kernel,$(word 1,$(1))),-k $(IMAGE_KERNEL)) \ + && mv $@.new $@ +endef + +define Build/netgear-chk + $(STAGING_DIR_HOST)/bin/mkchkimg \ + -o $@.new \ + -k $@ \ + -b $(NETGEAR_BOARD_ID) \ + $(if $(NETGEAR_REGION),-r $(NETGEAR_REGION),) + mv $@.new $@ +endef + +define Build/netgear-dni + $(STAGING_DIR_HOST)/bin/mkdniimg \ + -B $(NETGEAR_BOARD_ID) -v $(VERSION_DIST).$(firstword $(subst -, ,$(REVISION))) \ + $(if $(NETGEAR_HW_ID),-H $(NETGEAR_HW_ID)) \ + -r "$(1)" \ + -i $@ -o $@.new + mv $@.new $@ +endef + +define Build/append-squashfs-fakeroot-be + rm -rf $@.fakefs $@.fakesquashfs + mkdir $@.fakefs + $(STAGING_DIR_HOST)/bin/mksquashfs-lzma \ + $@.fakefs $@.fakesquashfs \ + -noappend -root-owned -be -nopad -b 65536 \ + $(if $(SOURCE_DATE_EPOCH),-fixed-time $(SOURCE_DATE_EPOCH)) + cat $@.fakesquashfs >> $@ +endef + +define Build/append-string + echo -n $(1) >> $@ +endef + +# append a fake/empty uImage header, to fool bootloaders rootfs integrity check +# for example +define Build/append-uImage-fakehdr + touch $@.fakehdr + $(STAGING_DIR_HOST)/bin/mkimage \ + -A $(LINUX_KARCH) -O linux -T $(1) -C none \ + -n '$(VERSION_DIST) fake $(1)' \ + -d $@.fakehdr \ + -s \ + $@.fakehdr + cat $@.fakehdr >> $@ +endef + +define Build/tplink-safeloader + -$(STAGING_DIR_HOST)/bin/tplink-safeloader \ + -B $(TPLINK_BOARD_ID) \ + -V $(REVISION) \ + -k $(IMAGE_KERNEL) \ + -r $@ \ + -o $@.new \ + -j \ + $(wordlist 2,$(words $(1)),$(1)) \ + $(if $(findstring sysupgrade,$(word 1,$(1))),-S) && mv $@.new $@ || rm -f $@ +endef + +define Build/append-dtb + cat $(KDIR)/image-$(firstword $(DEVICE_DTS)).dtb >> $@ +endef + +define Build/install-dtb + $(foreach dts,$(DEVICE_DTS), \ + $(CP) \ + $(DTS_DIR)/$(dts).dtb \ + $(BIN_DIR)/$(IMG_PREFIX)-$(dts).dtb; \ + ) +endef + +define Build/fit + $(TOPDIR)/scripts/mkits.sh \ + -D $(DEVICE_NAME) -o $@.its -k $@ \ + $(if $(word 2,$(1)),-d $(word 2,$(1))) -C $(word 1,$(1)) \ + -a $(KERNEL_LOADADDR) -e $(if $(KERNEL_ENTRY),$(KERNEL_ENTRY),$(KERNEL_LOADADDR)) \ + -c $(if $(DEVICE_DTS_CONFIG),$(DEVICE_DTS_CONFIG),"config@1") \ + -A $(LINUX_KARCH) -v $(LINUX_VERSION) + PATH=$(LINUX_DIR)/scripts/dtc:$(PATH) mkimage -f $@.its $@.new + @mv $@.new $@ +endef + +define Build/lzma + $(call Build/lzma-no-dict,-lc1 -lp2 -pb2 $(1)) +endef + +define Build/lzma-no-dict + $(STAGING_DIR_HOST)/bin/lzma e $@ $(1) $@.new + @mv $@.new $@ +endef + +define Build/gzip + gzip -f -9n -c $@ $(1) > $@.new + @mv $@.new $@ +endef + +define Build/zip + mkdir $@.tmp + mv $@ $@.tmp/$(1) + + zip -j -X \ + $(if $(SOURCE_DATE_EPOCH),--mtime="$(SOURCE_DATE_EPOCH)") \ + $@ $@.tmp/$(if $(1),$(1),$@) + rm -rf $@.tmp +endef + +define Build/jffs2 + rm -rf $(KDIR_TMP)/$(DEVICE_NAME)/jffs2 && \ + mkdir -p $(KDIR_TMP)/$(DEVICE_NAME)/jffs2/$$(dirname $(1)) && \ + cp $@ $(KDIR_TMP)/$(DEVICE_NAME)/jffs2/$(1) && \ + $(STAGING_DIR_HOST)/bin/mkfs.jffs2 --pad \ + $(if $(CONFIG_BIG_ENDIAN),--big-endian,--little-endian) \ + --squash-uids -v -e $(patsubst %k,%KiB,$(BLOCKSIZE)) \ + -o $@.new \ + -d $(KDIR_TMP)/$(DEVICE_NAME)/jffs2 \ + 2>&1 1>/dev/null | awk '/^.+$$$$/' && \ + $(STAGING_DIR_HOST)/bin/padjffs2 $@.new -J $(patsubst %k,,$(BLOCKSIZE)) + -rm -rf $(KDIR_TMP)/$(DEVICE_NAME)/jffs2/ + @mv $@.new $@ +endef + +define Build/kernel-bin + rm -f $@ + cp $< $@ +endef + +define Build/patch-cmdline + $(STAGING_DIR_HOST)/bin/patch-cmdline $@ '$(CMDLINE)' +endef + +define Build/append-kernel + dd if=$(IMAGE_KERNEL) >> $@ +endef + +define Build/append-rootfs + dd if=$(IMAGE_ROOTFS) >> $@ +endef + +define Build/append-ubi + sh $(TOPDIR)/scripts/ubinize-image.sh \ + $(if $(UBOOTENV_IN_UBI),--uboot-env) \ + $(if $(KERNEL_IN_UBI),--kernel $(IMAGE_KERNEL)) \ + $(foreach part,$(UBINIZE_PARTS),--part $(part)) \ + $(IMAGE_ROOTFS) \ + $@.tmp \ + -p $(BLOCKSIZE:%k=%KiB) -m $(PAGESIZE) \ + $(if $(SUBPAGESIZE),-s $(SUBPAGESIZE)) \ + $(if $(VID_HDR_OFFSET),-O $(VID_HDR_OFFSET)) \ + $(UBINIZE_OPTS) + cat $@.tmp >> $@ + rm $@.tmp +endef + +define Build/append-uboot + dd if=$(UBOOT_PATH) >> $@ +endef + +define Build/pad-to + dd if=$@ of=$@.new bs=$(1) conv=sync + mv $@.new $@ +endef + +define Build/pad-extra + dd if=/dev/zero bs=$(1) count=1 >> $@ +endef + +define Build/pad-rootfs + $(STAGING_DIR_HOST)/bin/padjffs2 $@ $(1) \ + $(if $(BLOCKSIZE),$(BLOCKSIZE:%k=%),4 8 16 64 128 256) +endef + +define Build/pad-offset + let \ + size="$$(stat -c%s $@)" \ + pad="$(subst k,* 1024,$(word 1, $(1)))" \ + offset="$(subst k,* 1024,$(word 2, $(1)))" \ + pad="(pad - ((size + offset) % pad)) % pad" \ + newsize='size + pad'; \ + dd if=$@ of=$@.new bs=$$newsize count=1 conv=sync + mv $@.new $@ +endef + +define Build/xor-image + $(STAGING_DIR_HOST)/bin/xorimage -i $@ -o $@.xor $(1) + mv $@.xor $@ +endef + +define Build/check-size + @[ $$(($(subst k,* 1024,$(subst m, * 1024k,$(1))))) -ge "$$(stat -c%s $@)" ] || { \ + echo "WARNING: Image file $@ is too big" >&2; \ + rm -f $@; \ + } +endef + +define Build/combined-image + -sh $(TOPDIR)/scripts/combined-image.sh \ + "$(IMAGE_KERNEL)" \ + "$@" \ + "$@.new" + @mv $@.new $@ +endef + +define Build/linksys-image + $(TOPDIR)/scripts/linksys-image.sh \ + "$(call param_get_default,type,$(1),$(DEVICE_NAME))" \ + $@ $@.new + mv $@.new $@ +endef + +define Build/openmesh-image + $(TOPDIR)/scripts/om-fwupgradecfg-gen.sh \ + "$(call param_get_default,ce_type,$(1),$(DEVICE_NAME))" \ + "$@-fwupgrade.cfg" \ + "$(call param_get_default,kernel,$(1),$(IMAGE_KERNEL))" \ + "$(call param_get_default,rootfs,$(1),$@)" + $(TOPDIR)/scripts/combined-ext-image.sh \ + "$(call param_get_default,ce_type,$(1),$(DEVICE_NAME))" "$@" \ + "$@-fwupgrade.cfg" "fwupgrade.cfg" \ + "$(call param_get_default,kernel,$(1),$(IMAGE_KERNEL))" "kernel" \ + "$(call param_get_default,rootfs,$(1),$@)" "rootfs" +endef + +define Build/qsdk-ipq-factory-nand + $(TOPDIR)/scripts/mkits-qsdk-ipq-image.sh \ + $@.its ubi $@ + PATH=$(LINUX_DIR)/scripts/dtc:$(PATH) mkimage -f $@.its $@.new + @mv $@.new $@ +endef + +define Build/qsdk-ipq-factory-nor + $(TOPDIR)/scripts/mkits-qsdk-ipq-image.sh \ + $@.its hlos $(IMAGE_KERNEL) rootfs $(IMAGE_ROOTFS) + PATH=$(LINUX_DIR)/scripts/dtc:$(PATH) mkimage -f $@.its $@.new + @mv $@.new $@ +endef + +define Build/senao-header + $(STAGING_DIR_HOST)/bin/mksenaofw $(1) -e $@ -o $@.new + mv $@.new $@ +endef + +define Build/sysupgrade-tar + sh $(TOPDIR)/scripts/sysupgrade-tar.sh \ + --board $(if $(BOARD_NAME),$(BOARD_NAME),$(DEVICE_NAME)) \ + --kernel $(call param_get_default,kernel,$(1),$(IMAGE_KERNEL)) \ + --rootfs $(call param_get_default,rootfs,$(1),$(IMAGE_ROOTFS)) \ + $@ +endef + +define Build/tplink-v1-header + $(STAGING_DIR_HOST)/bin/mktplinkfw \ + -c -H $(TPLINK_HWID) -W $(TPLINK_HWREV) -L $(KERNEL_LOADADDR) \ + -E $(if $(KERNEL_ENTRY),$(KERNEL_ENTRY),$(KERNEL_LOADADDR)) \ + -m $(TPLINK_HEADER_VERSION) -N "$(VERSION_DIST)" -V $(REVISION) \ + -k $@ -o $@.new $(1) + @mv $@.new $@ +endef + +define Build/tplink-v2-header + $(STAGING_DIR_HOST)/bin/mktplinkfw2 \ + -c -H $(TPLINK_HWID) -W $(TPLINK_HWREV) -L $(KERNEL_LOADADDR) \ + -E $(if $(KERNEL_ENTRY),$(KERNEL_ENTRY),$(KERNEL_LOADADDR)) \ + -w $(TPLINK_HWREVADD) -F "$(TPLINK_FLASHLAYOUT)" \ + -T $(TPLINK_HVERSION) -V "ver. 2.0" \ + -k $@ -o $@.new $(1) + @mv $@.new $@ +endef + +define Build/tplink-v2-image + $(STAGING_DIR_HOST)/bin/mktplinkfw2 \ + -H $(TPLINK_HWID) -W $(TPLINK_HWREV) \ + -w $(TPLINK_HWREVADD) -F "$(TPLINK_FLASHLAYOUT)" \ + -T $(TPLINK_HVERSION) -V "ver. 2.0" -a 0x4 -j \ + -k $(IMAGE_KERNEL) -r $(IMAGE_ROOTFS) -o $@.new $(1) + cat $@.new >> $@ + rm -rf $@.new +endef + +json_quote=$(subst ','\'',$(subst ",\",$(1))) +#")') +metadata_devices=$(if $(1),$(subst "$(space)","$(comma)",$(strip $(foreach v,$(1),"$(call json_quote,$(v))")))) +metadata_json = \ + '{ $(if $(IMAGE_METADATA),$(IMAGE_METADATA)$(comma)) \ + "metadata_version": "1.0", \ + "supported_devices":[$(call metadata_devices,$(1))], \ + "version": { \ + "dist": "$(call json_quote,$(VERSION_DIST))", \ + "version": "$(call json_quote,$(VERSION_NUMBER))", \ + "revision": "$(call json_quote,$(REVISION))", \ + "target": "$(call json_quote,$(TARGETID))", \ + "board": "$(call json_quote,$(if $(BOARD_NAME),$(BOARD_NAME),$(DEVICE_NAME)))" \ + } \ + }' + +define Build/append-metadata + $(if $(SUPPORTED_DEVICES),-echo $(call metadata_json,$(SUPPORTED_DEVICES)) | fwtool -I - $@) + [ ! -s "$(BUILD_KEY)" -o ! -s "$(BUILD_KEY).ucert" -o ! -s "$@" ] || { \ + cp "$(BUILD_KEY).ucert" "$@.ucert" ;\ + usign -S -m "$@" -s "$(BUILD_KEY)" -x "$@.sig" ;\ + ucert -A -c "$@.ucert" -x "$@.sig" ;\ + fwtool -S "$@.ucert" "$@" ;\ + } +endef + +define Build/kernel2minor + kernel2minor -k $@ -r $@.new $(1) + mv $@.new $@ +endef diff --git a/include/image-legacy.mk b/include/image-legacy.mk new file mode 100644 index 0000000..1ccaec0 --- /dev/null +++ b/include/image-legacy.mk @@ -0,0 +1,93 @@ +ifneq ($(CONFIG_TARGET_ROOTFS_UBIFS),) + define Image/mkfs/ubifs/generate + $(CP) ./ubinize$(1).cfg $(KDIR) + ( cd $(KDIR); \ + $(STAGING_DIR_HOST)/bin/ubinize \ + $(if $($(PROFILE)_UBI_OPTS),$($(PROFILE)_UBI_OPTS),$(shell echo $(UBI_OPTS))) \ + -o $(KDIR)/root$(1).ubi \ + ubinize$(1).cfg \ + ) + endef + + define Image/mkfs/ubifs/legacy + + $(if $($(PROFILE)_UBIFS_OPTS)$(UBIFS_OPTS), + $(STAGING_DIR_HOST)/bin/mkfs.ubifs \ + $(if $($(PROFILE)_UBIFS_OPTS),$($(PROFILE)_UBIFS_OPTS),$(UBIFS_OPTS)) \ + $(if $(CONFIG_TARGET_UBIFS_FREE_SPACE_FIXUP),--space-fixup) \ + $(if $(CONFIG_TARGET_UBIFS_COMPRESSION_NONE),--compr=none) \ + $(if $(CONFIG_TARGET_UBIFS_COMPRESSION_LZO),--compr=lzo) \ + $(if $(CONFIG_TARGET_UBIFS_COMPRESSION_ZLIB),--compr=zlib) \ + $(if $(shell echo $(CONFIG_TARGET_UBIFS_JOURNAL_SIZE)),--jrn-size=$(CONFIG_TARGET_UBIFS_JOURNAL_SIZE)) \ + --squash-uids \ + -o $(KDIR)/root.ubifs \ + -d $(TARGET_DIR) + ) + $(call Image/Build,ubifs) + + $(if $($(PROFILE)_UBI_OPTS)$(UBI_OPTS), + $(if $(wildcard ./ubinize.cfg),$(call Image/mkfs/ubifs/generate,)) + $(if $(wildcard ./ubinize-overlay.cfg),$(call Image/mkfs/ubifs/generate,-overlay)) + ) + $(if $(wildcard ./ubinize.cfg),$(call Image/Build,ubi)) + endef +endif + +LegacyDevice/Dump = $(Device/Dump) + +define LegacyDevice/Check + $(Device/Check/Common) + _TARGET_PREPARE := $$(if $$(_PROFILE_SET),legacy-images-prepare,prepare-disabled) + _TARGET := $$(if $$(_PROFILE_SET),legacy-images,install-disabled) + $$(if $$(_PROFILE_SET),install: legacy-images-make) + ifndef IB + $$(if $$(_PROFILE_SET),kernel_prepare: legacy-images-prepare-make) + endif +endef + +ifdef TARGET_PER_DEVICE_ROOTFS + define Image/Build/Profile/Filesystem + cp $(KDIR)/root.$(2)+pkg=$(3) $(KDIR)/root.$(2) + $(call Image/Build/$(2),$(2)) + $(call Image/Build/Profile,$(1),$(2)) + endef +else + Image/Build/Profile/Filesystem = $(Image/Build/Profile) +endif + +define LegacyDevice/Build + $$(_TARGET): legacy-image-$(1) + $$(_TARGET_PREPARE): legacy-image-prepare-$(1) + .PHONY: legacy-image-prepare-$(1) legacy-image-$(1) + + legacy-image-prepare-$(1): + $$(call Image/Prepare/Profile,$(1)) + + ifndef IB + ifdef CONFIG_TARGET_PER_DEVICE_ROOTFS + ROOTFS/$(1) := $(foreach fs,$(TARGET_FILESYSTEMS), \ + $(KDIR)/root.$(fs)$$(strip $(if $(CONFIG_TARGET_PER_DEVICE_ROOTFS),+pkg=$$(ROOTFS_ID/$(1)))) \ + ) + + $$(ROOTFS/$(1)): target-dir-$$(ROOTFS_ID/$(1)) + legacy-images-make: $$(if $$(_PROFILE_SET),$$(ROOTFS/$(1))) + endif + endif + + legacy-image-$(1): + $$(call Image/BuildKernel/Profile,$(1)) + $(foreach fs,$(TARGET_FILESYSTEMS), + $$(call Image/Build/Profile/Filesystem,$(1),$(fs),$$(ROOTFS_ID/$(1))) + ) + +endef + +define LegacyDevice + $(call Device/InitProfile,$(1)) + $(call Device/Default,$(1)) + $(call LegacyDevice/Default,$(1)) + $(call LegacyDevice/$(1),$(1)) + $(call LegacyDevice/Check,$(1)) + $(call LegacyDevice/$(if $(DUMP),Dump,Build),$(1)) + +endef diff --git a/include/image.mk b/include/image.mk new file mode 100644 index 0000000..ee9885c --- /dev/null +++ b/include/image.mk @@ -0,0 +1,666 @@ +# +# Copyright (C) 2006-2010 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +override TARGET_BUILD= +include $(INCLUDE_DIR)/prereq.mk +include $(INCLUDE_DIR)/kernel.mk +include $(INCLUDE_DIR)/version.mk +include $(INCLUDE_DIR)/image-commands.mk + +ifndef IB + ifdef CONFIG_TARGET_PER_DEVICE_ROOTFS + TARGET_PER_DEVICE_ROOTFS := 1 + endif +endif + +include $(INCLUDE_DIR)/image-legacy.mk +include $(INCLUDE_DIR)/feeds.mk +include $(INCLUDE_DIR)/rootfs.mk + +override MAKE:=$(_SINGLE)$(SUBMAKE) +override NO_TRACE_MAKE:=$(_SINGLE)$(NO_TRACE_MAKE) + +target_params = $(subst +,$(space),$*) +param_get = $(patsubst $(1)=%,%,$(filter $(1)=%,$(2))) +param_get_default = $(firstword $(call param_get,$(1),$(2)) $(3)) +param_mangle = $(subst $(space),_,$(strip $(1))) +param_unmangle = $(subst _,$(space),$(1)) + +mkfs_packages_id = $(shell echo $(sort $(1)) | mkhash md5 | head -c 8) +mkfs_target_dir = $(if $(call param_get,pkg,$(1)),$(KDIR)/target-dir-$(call param_get,pkg,$(1)),$(TARGET_DIR)) + +KDIR=$(KERNEL_BUILD_DIR) +KDIR_TMP=$(KDIR)/tmp +DTS_DIR:=$(LINUX_DIR)/arch/$(LINUX_KARCH)/boot/dts + +IMG_PREFIX_EXTRA:=$(if $(EXTRA_IMAGE_NAME),$(call sanitize,$(EXTRA_IMAGE_NAME))-) +IMG_PREFIX_VERNUM:=$(if $(CONFIG_VERSION_FILENAMES),$(call sanitize,$(VERSION_NUMBER))-) +IMG_PREFIX_VERCODE:=$(if $(CONFIG_VERSION_CODE_FILENAMES),$(call sanitize,$(VERSION_CODE))-) + +IMG_PREFIX:=$(VERSION_DIST_SANITIZED)-$(IMG_PREFIX_VERNUM)$(IMG_PREFIX_VERCODE)$(IMG_PREFIX_EXTRA)$(BOARD)$(if $(SUBTARGET),-$(SUBTARGET)) + +MKFS_DEVTABLE_OPT := -D $(INCLUDE_DIR)/device_table.txt + +ifneq ($(CONFIG_BIG_ENDIAN),) + JFFS2OPTS := --big-endian --squash-uids -v +else + JFFS2OPTS := --little-endian --squash-uids -v +endif + +ifeq ($(CONFIG_JFFS2_RTIME),y) + JFFS2OPTS += -X rtime +endif +ifeq ($(CONFIG_JFFS2_ZLIB),y) + JFFS2OPTS += -X zlib +endif +ifeq ($(CONFIG_JFFS2_LZMA),y) + JFFS2OPTS += -X lzma --compression-mode=size +endif +ifneq ($(CONFIG_JFFS2_RTIME),y) + JFFS2OPTS += -x rtime +endif +ifneq ($(CONFIG_JFFS2_ZLIB),y) + JFFS2OPTS += -x zlib +endif +ifneq ($(CONFIG_JFFS2_LZMA),y) + JFFS2OPTS += -x lzma +endif + +JFFS2OPTS += $(MKFS_DEVTABLE_OPT) + +SQUASHFS_BLOCKSIZE := $(CONFIG_TARGET_SQUASHFS_BLOCK_SIZE)k +SQUASHFSOPT := -b $(SQUASHFS_BLOCKSIZE) +SQUASHFSOPT += -p '/dev d 755 0 0' -p '/dev/console c 600 0 0 5 1' +SQUASHFSCOMP := gzip +LZMA_XZ_OPTIONS := -Xpreset 9 -Xe -Xlc 0 -Xlp 2 -Xpb 2 +ifeq ($(CONFIG_SQUASHFS_XZ),y) + ifneq ($(filter arm x86 powerpc sparc,$(LINUX_KARCH)),) + BCJ_FILTER:=-Xbcj $(LINUX_KARCH) + endif + SQUASHFSCOMP := xz $(LZMA_XZ_OPTIONS) $(BCJ_FILTER) +endif + +JFFS2_BLOCKSIZE ?= 64k 128k + +fs-types-$(CONFIG_TARGET_ROOTFS_SQUASHFS) += squashfs +fs-types-$(CONFIG_TARGET_ROOTFS_JFFS2) += $(addprefix jffs2-,$(JFFS2_BLOCKSIZE)) +fs-types-$(CONFIG_TARGET_ROOTFS_JFFS2_NAND) += $(addprefix jffs2-nand-,$(NAND_BLOCKSIZE)) +fs-types-$(CONFIG_TARGET_ROOTFS_EXT4FS) += ext4 +fs-types-$(CONFIG_TARGET_ROOTFS_ISO) += iso +fs-types-$(CONFIG_TARGET_ROOTFS_UBIFS) += ubifs +fs-subtypes-$(CONFIG_TARGET_ROOTFS_JFFS2) += $(addsuffix -raw,$(addprefix jffs2-,$(JFFS2_BLOCKSIZE))) + +TARGET_FILESYSTEMS := $(fs-types-y) + +FS_64K := $(filter-out jffs2-%,$(TARGET_FILESYSTEMS)) jffs2-64k +FS_128K := $(filter-out jffs2-%,$(TARGET_FILESYSTEMS)) jffs2-128k +FS_256K := $(filter-out jffs2-%,$(TARGET_FILESYSTEMS)) jffs2-256k + +define add_jffs2_mark + echo -ne '\xde\xad\xc0\xde' >> $(1) +endef + +PROFILE_SANITIZED := $(call sanitize,$(PROFILE)) + +define split_args +$(foreach data, \ + $(subst |,$(space),\ + $(subst $(space),^,$(1))), \ + $(call $(2),$(strip $(subst ^,$(space),$(data))))) +endef + +define build_cmd +$(if $(Build/$(word 1,$(1))),,$(error Missing Build/$(word 1,$(1)))) +$(call Build/$(word 1,$(1)),$(wordlist 2,$(words $(1)),$(1))) + +endef + +define concat_cmd +$(call split_args,$(1),build_cmd) +endef + +# pad to 4k, 8k, 16k, 64k, 128k, 256k and add jffs2 end-of-filesystem mark +define prepare_generic_squashfs + $(STAGING_DIR_HOST)/bin/padjffs2 $(1) 4 8 16 64 128 256 +endef + +define Image/BuildKernel/Initramfs + $(call Image/Build/Initramfs) +endef + +define Image/BuildKernel/MkuImage + mkimage -A $(ARCH) -O linux -T kernel -C $(1) -a $(2) -e $(3) \ + -n '$(call toupper,$(ARCH)) $(VERSION_DIST) Linux-$(LINUX_VERSION)' -d $(4) $(5) +endef + +define Image/BuildKernel/MkFIT + $(TOPDIR)/scripts/mkits.sh \ + -D $(1) -o $(KDIR)/fit-$(1).its -k $(2) $(if $(3),-d $(3)) -C $(4) -a $(5) -e $(6) \ + -c $(if $(DEVICE_DTS_CONFIG),$(DEVICE_DTS_CONFIG),"config@1") \ + -A $(LINUX_KARCH) -v $(LINUX_VERSION) + PATH=$(LINUX_DIR)/scripts/dtc:$(PATH) mkimage -f $(KDIR)/fit-$(1).its $(KDIR)/fit-$(1)$(7).itb +endef + +ifdef CONFIG_TARGET_IMAGES_GZIP + define Image/Gzip + rm -f $(1).gz + gzip -9n $(1) + endef +endif + + +# Disable noisy checks by default as in upstream +ifeq ($(strip $(call kernel_patchver_ge,4.7.0)),1) + DTC_FLAGS += -Wno-unit_address_vs_reg +endif +ifeq ($(strip $(call kernel_patchver_ge,4.12.0)),1) + DTC_FLAGS += \ + -Wno-unit_address_vs_reg \ + -Wno-simple_bus_reg \ + -Wno-unit_address_format \ + -Wno-pci_bridge \ + -Wno-pci_device_bus_num \ + -Wno-pci_device_reg +endif +ifeq ($(strip $(call kernel_patchver_ge,4.17.0)),1) + DTC_FLAGS += \ + -Wno-avoid_unnecessary_addr_size \ + -Wno-alias_paths +endif +ifeq ($(strip $(call kernel_patchver_ge,4.18.0)),1) + DTC_FLAGS += \ + -Wno-graph_child_address \ + -Wno-graph_port \ + -Wno-unique_unit_address +endif + +# $(1) source dts file +# $(2) target dtb file +# $(3) extra CPP flags +# $(4) extra DTC flags +define Image/BuildDTB + $(TARGET_CROSS)cpp -nostdinc -x assembler-with-cpp \ + -I$(DTS_DIR) \ + -I$(DTS_DIR)/include \ + -I$(LINUX_DIR)/include/ \ + -undef -D__DTS__ $(3) \ + -o $(2).tmp $(1) + $(LINUX_DIR)/scripts/dtc/dtc -O dtb \ + -i$(dir $(1)) $(DTC_FLAGS) $(4) \ + -o $(2) $(2).tmp + $(RM) $(2).tmp +endef + +define Image/mkfs/jffs2/sub-raw + $(STAGING_DIR_HOST)/bin/mkfs.jffs2 \ + $(2) \ + -e $(patsubst %k,%KiB,$(1)) \ + -o $@ -d $(call mkfs_target_dir,$(3)) \ + -v 2>&1 1>/dev/null | awk '/^.+$$$$/' +endef + +define Image/mkfs/jffs2/sub + $(call Image/mkfs/jffs2/sub-raw,$(1),--pad $(2),$(3)) + $(call add_jffs2_mark,$@) +endef + +define Image/mkfs/jffs2/template + Image/mkfs/jffs2-$(1) = $$(call Image/mkfs/jffs2/sub,$(1),$(JFFS2OPTS),$$(1)) + Image/mkfs/jffs2-$(1)-raw = $$(call Image/mkfs/jffs2/sub-raw,$(1),$(JFFS2OPTS),$$(1)) + +endef + +define Image/mkfs/jffs2-nand/template + Image/mkfs/jffs2-nand-$(1) = \ + $$(call Image/mkfs/jffs2/sub, \ + $(word 2,$(subst -, ,$(1))), \ + $(JFFS2OPTS) --no-cleanmarkers --pagesize=$(word 1,$(subst -, ,$(1))),$$(1)) + +endef + +$(eval $(foreach S,$(JFFS2_BLOCKSIZE),$(call Image/mkfs/jffs2/template,$(S)))) +$(eval $(foreach S,$(NAND_BLOCKSIZE),$(call Image/mkfs/jffs2-nand/template,$(S)))) + +define Image/mkfs/squashfs + $(STAGING_DIR_HOST)/bin/mksquashfs4 $(call mkfs_target_dir,$(1)) $@ \ + -nopad -noappend -root-owned \ + -comp $(SQUASHFSCOMP) $(SQUASHFSOPT) \ + -processors 1 +endef + +# $(1): board name +# $(2): rootfs type +# $(3): kernel image +# $(4): compat string +ifneq ($(CONFIG_NAND_SUPPORT),) + define Image/Build/SysupgradeNAND + mkdir -p "$(KDIR_TMP)/sysupgrade-$(if $(4),$(4),$(1))/" + echo "BOARD=$(if $(4),$(4),$(1))" > "$(KDIR_TMP)/sysupgrade-$(if $(4),$(4),$(1))/CONTROL" + [ -z "$(2)" ] || $(CP) "$(KDIR)/root.$(2)" "$(KDIR_TMP)/sysupgrade-$(if $(4),$(4),$(1))/root" + [ -z "$(3)" ] || $(CP) "$(3)" "$(KDIR_TMP)/sysupgrade-$(if $(4),$(4),$(1))/kernel" + (cd "$(KDIR_TMP)"; $(TAR) cvf \ + "$(BIN_DIR)/$(IMG_PREFIX)-$(1)-$(2)-sysupgrade.tar" sysupgrade-$(if $(4),$(4),$(1)) \ + $(if $(SOURCE_DATE_EPOCH),--mtime="@$(SOURCE_DATE_EPOCH)") \ + ) + endef + +# $(1) board name +# $(2) ubinize-image options (e.g. --uboot-env and/or --kernel kernelimage) +# $(3) rootfstype (e.g. squashfs or ubifs) +# $(4) options to pass-through to ubinize (i.e. $($(PROFILE)_UBI_OPTS))) + define Image/Build/UbinizeImage + sh $(TOPDIR)/scripts/ubinize-image.sh $(2) \ + "$(KDIR)/root.$(3)" \ + "$(KDIR)/$(IMG_PREFIX)-$(1)-$(3)-ubinized.bin" \ + $(4) + endef + +endif + +define Image/mkfs/ubifs + $(STAGING_DIR_HOST)/bin/mkfs.ubifs \ + $(UBIFS_OPTS) $(call param_unmangle,$(call param_get,fs,$(1))) \ + $(if $(CONFIG_TARGET_UBIFS_FREE_SPACE_FIXUP),--space-fixup) \ + $(if $(CONFIG_TARGET_UBIFS_COMPRESSION_NONE),--compr=none) \ + $(if $(CONFIG_TARGET_UBIFS_COMPRESSION_LZO),--compr=lzo) \ + $(if $(CONFIG_TARGET_UBIFS_COMPRESSION_ZLIB),--compr=zlib) \ + $(if $(shell echo $(CONFIG_TARGET_UBIFS_JOURNAL_SIZE)),--jrn-size=$(CONFIG_TARGET_UBIFS_JOURNAL_SIZE)) \ + --squash-uids \ + -o $@ -d $(call mkfs_target_dir,$(1)) +endef + +E2SIZE=$(shell echo $$(($(CONFIG_TARGET_ROOTFS_PARTSIZE)*1024*1024))) + +define Image/mkfs/ext4 + $(STAGING_DIR_HOST)/bin/make_ext4fs \ + -l $(E2SIZE) -b $(CONFIG_TARGET_EXT4_BLOCKSIZE) \ + $(if $(CONFIG_TARGET_EXT4_RESERVED_PCT),-m $(CONFIG_TARGET_EXT4_RESERVED_PCT)) \ + $(if $(CONFIG_TARGET_EXT4_JOURNAL),,-J) \ + $(if $(SOURCE_DATE_EPOCH),-T $(SOURCE_DATE_EPOCH)) \ + $@ $(call mkfs_target_dir,$(1))/ +endef + +define Image/Manifest + $(call opkg,$(TARGET_DIR_ORIG)) list-installed > \ + $(BIN_DIR)/$(IMG_PREFIX)$(if $(PROFILE_SANITIZED),-$(PROFILE_SANITIZED)).manifest +endef + +ifdef CONFIG_TARGET_ROOTFS_TARGZ + define Image/Build/targz + $(TAR) -cp --numeric-owner --owner=0 --group=0 --mode=a-s --sort=name \ + $(if $(SOURCE_DATE_EPOCH),--mtime="@$(SOURCE_DATE_EPOCH)") \ + -C $(TARGET_DIR)/ . | gzip -9n > $(BIN_DIR)/$(IMG_PREFIX)$(if $(PROFILE_SANITIZED),-$(PROFILE_SANITIZED))-rootfs.tar.gz + endef +endif + +ifdef CONFIG_TARGET_ROOTFS_CPIOGZ + define Image/Build/cpiogz + ( cd $(TARGET_DIR); find . | cpio -o -H newc -R root:root | gzip -9n >$(BIN_DIR)/$(IMG_PREFIX)-rootfs.cpio.gz ) + endef +endif + +mkfs_packages = $(filter-out @%,$(PACKAGES_$(call param_get,pkg,pkg=$(target_params)))) +mkfs_packages_add = $(foreach pkg,$(filter-out -%,$(mkfs_packages)),$(pkg)$(call GetABISuffix,$(pkg))) +mkfs_packages_remove = $(foreach pkg,$(patsubst -%,%,$(filter -%,$(mkfs_packages))),$(pkg)$(call GetABISuffix,$(pkg))) +mkfs_cur_target_dir = $(call mkfs_target_dir,pkg=$(target_params)) + +opkg_target = \ + $(call opkg,$(mkfs_cur_target_dir)) \ + -f $(mkfs_cur_target_dir).conf + +target-dir-%: FORCE + rm -rf $(mkfs_cur_target_dir) $(mkfs_cur_target_dir).opkg + $(CP) $(TARGET_DIR_ORIG) $(mkfs_cur_target_dir) + -mv $(mkfs_cur_target_dir)/etc/opkg $(mkfs_cur_target_dir).opkg + echo 'src default file://$(PACKAGE_DIR_ALL)' > $(mkfs_cur_target_dir).conf + $(if $(mkfs_packages_remove), \ + -$(call opkg,$(mkfs_cur_target_dir)) remove \ + $(mkfs_packages_remove)) + $(if $(call opkg_package_files,$(mkfs_packages_add)), \ + $(opkg_target) update && \ + $(opkg_target) install \ + $(call opkg_package_files,$(mkfs_packages_add))) + -$(CP) -T $(mkfs_cur_target_dir).opkg/ $(mkfs_cur_target_dir)/etc/opkg/ + rm -rf $(mkfs_cur_target_dir).opkg $(mkfs_cur_target_dir).conf + $(call prepare_rootfs,$(mkfs_cur_target_dir),$(TOPDIR)/files) + +$(KDIR)/root.%: kernel_prepare + $(call Image/mkfs/$(word 1,$(target_params)),$(target_params)) + +define Device/InitProfile + PROFILES := $(PROFILE) + DEVICE_TITLE := + DEVICE_PACKAGES := + DEVICE_DESCRIPTION = Build firmware images for $$(DEVICE_TITLE) +endef + +define Device/Init + DEVICE_NAME := $(1) + KERNEL:= + KERNEL_INITRAMFS = $$(KERNEL) + KERNEL_SIZE:= + CMDLINE:= + + IMAGES := + ARTIFACTS := + IMAGE_PREFIX := $(IMG_PREFIX)-$(1) + IMAGE_NAME = $$(IMAGE_PREFIX)-$$(1)-$$(2) + KERNEL_PREFIX = $$(IMAGE_PREFIX) + KERNEL_SUFFIX := -kernel.bin + KERNEL_INITRAMFS_SUFFIX = $$(KERNEL_SUFFIX) + KERNEL_IMAGE = $$(KERNEL_PREFIX)$$(KERNEL_SUFFIX) + KERNEL_INITRAMFS_PREFIX = $$(IMAGE_PREFIX)-initramfs + KERNEL_INITRAMFS_IMAGE = $$(KERNEL_INITRAMFS_PREFIX)$$(KERNEL_INITRAMFS_SUFFIX) + KERNEL_INITRAMFS_NAME = $$(KERNEL_NAME)-initramfs + KERNEL_INSTALL := + KERNEL_NAME := vmlinux + KERNEL_DEPENDS := + KERNEL_SIZE := + + UBOOTENV_IN_UBI := + KERNEL_IN_UBI := + BLOCKSIZE := + PAGESIZE := + SUBPAGESIZE := + VID_HDR_OFFSET := + UBINIZE_OPTS := + UBINIZE_PARTS := + MKUBIFS_OPTS := + + FS_OPTIONS/ubifs = $$(MKUBIFS_OPTS) + + DEVICE_DTS := + DEVICE_DTS_CONFIG := + DEVICE_DTS_DIR := + + BOARD_NAME := + UIMAGE_NAME := + SUPPORTED_DEVICES := + IMAGE_METADATA := + + FILESYSTEMS := $(TARGET_FILESYSTEMS) + + UBOOT_PATH := $(STAGING_DIR_IMAGE)/uboot-$(1) + + DEFAULT := +endef + +DEFAULT_DEVICE_VARS := \ + DEVICE_NAME KERNEL KERNEL_INITRAMFS KERNEL_INITRAMFS_IMAGE KERNEL_SIZE \ + CMDLINE UBOOTENV_IN_UBI KERNEL_IN_UBI BLOCKSIZE PAGESIZE SUBPAGESIZE \ + VID_HDR_OFFSET UBINIZE_OPTS UBINIZE_PARTS MKUBIFS_OPTS DEVICE_DTS \ + DEVICE_DTS_CONFIG DEVICE_DTS_DIR BOARD_NAME UIMAGE_NAME SUPPORTED_DEVICES \ + IMAGE_METADATA KERNEL_ENTRY KERNEL_LOADADDR UBOOT_PATH + +define Device/ExportVar + $(1) : $(2):=$$($(2)) + +endef +define Device/Export + $(foreach var,$(DEVICE_VARS) $(DEFAULT_DEVICE_VARS),$(call Device/ExportVar,$(1),$(var))) + $(1) : FILESYSTEM:=$(2) +endef + +ifdef IB + DEVICE_CHECK_PROFILE = $(filter $(1),DEVICE_$(PROFILE) $(PROFILE)) +else + DEVICE_CHECK_PROFILE = $(CONFIG_TARGET_$(if $(CONFIG_TARGET_MULTI_PROFILE),DEVICE_)$(call target_conf,$(BOARD)$(if $(SUBTARGET),_$(SUBTARGET)))_$(1)) +endif + +DEVICE_EXTRA_PACKAGES = $(call qstrip,$(CONFIG_TARGET_DEVICE_PACKAGES_$(call target_conf,$(BOARD)$(if $(SUBTARGET),_$(SUBTARGET)))_DEVICE_$(1))) + +define merge_packages + $(1) := + $(foreach pkg,$(2), + $(1) := $$(strip $$(filter-out -$$(patsubst -%,%,$(pkg)) $$(patsubst -%,%,$(pkg)),$$($(1))) $(pkg)) + ) +endef + +define Device/Check/Common + _PROFILE_SET = $$(strip $$(foreach profile,$$(PROFILES) DEVICE_$(1),$$(call DEVICE_CHECK_PROFILE,$$(profile)))) + DEVICE_PACKAGES += $$(call extra_packages,$$(DEVICE_PACKAGES)) + ifdef TARGET_PER_DEVICE_ROOTFS + $$(eval $$(call merge_packages,_PACKAGES,$$(DEVICE_PACKAGES) $$(call DEVICE_EXTRA_PACKAGES,$(1)))) + ROOTFS_ID/$(1) := $$(if $$(_PROFILE_SET),$$(call mkfs_packages_id,$$(_PACKAGES))) + PACKAGES_$$(ROOTFS_ID/$(1)) := $$(_PACKAGES) + endif +endef + +define Device/Check + $(Device/Check/Common) + KDIR_KERNEL_IMAGE := $(KDIR)/$(1)$$(KERNEL_SUFFIX) + _TARGET := $$(if $$(_PROFILE_SET),install-images,install-disabled) + ifndef IB + _COMPILE_TARGET := $$(if $(CONFIG_IB)$$(_PROFILE_SET),compile,compile-disabled) + endif +endef + +ifndef IB +define Device/Build/initramfs + $(call Device/Export,$(KDIR)/tmp/$$(KERNEL_INITRAMFS_IMAGE),$(1)) + $$(_TARGET): $$(if $$(KERNEL_INITRAMFS),$(BIN_DIR)/$$(KERNEL_INITRAMFS_IMAGE)) + + $(KDIR)/$$(KERNEL_INITRAMFS_NAME):: image_prepare + $(BIN_DIR)/$$(KERNEL_INITRAMFS_IMAGE): $(KDIR)/tmp/$$(KERNEL_INITRAMFS_IMAGE) + cp $$^ $$@ + + $(KDIR)/tmp/$$(KERNEL_INITRAMFS_IMAGE): $(KDIR)/$$(KERNEL_INITRAMFS_NAME) $(CURDIR)/Makefile $$(KERNEL_DEPENDS) image_prepare + @rm -f $$@ + $$(call concat_cmd,$$(KERNEL_INITRAMFS)) +endef +endif + +define Device/Build/compile + $$(_COMPILE_TARGET): $(KDIR)/$(1) + $(eval $(call Device/Export,$(KDIR)/$(1))) + $(KDIR)/$(1): + $$(call concat_cmd,$(COMPILE/$(1))) + +endef + +ifndef IB +define Device/Build/dtb + ifndef BUILD_DTS_$(1) + BUILD_DTS_$(1) := 1 + $(KDIR)/image-$(1).dtb: FORCE + $(call Image/BuildDTB,$(strip $(2))/$(strip $(3)).dts,$$@) + + image_prepare: $(KDIR)/image-$(1).dtb + endif + +endef +endif + +define Device/Build/kernel + $$(eval $$(foreach dts,$$(DEVICE_DTS), \ + $$(call Device/Build/dtb,$$(notdir $$(dts)), \ + $$(if $$(DEVICE_DTS_DIR),$$(DEVICE_DTS_DIR),$$(DTS_DIR)), \ + $$(dts) \ + ) \ + )) + + $(KDIR)/$$(KERNEL_NAME):: image_prepare + $$(_TARGET): $$(if $$(KERNEL_INSTALL),$(BIN_DIR)/$$(KERNEL_IMAGE)) + $(call Device/Export,$$(KDIR_KERNEL_IMAGE),$(1)) + $(BIN_DIR)/$$(KERNEL_IMAGE): $$(KDIR_KERNEL_IMAGE) + cp $$^ $$@ + ifndef IB + ifdef CONFIG_IB + install: $$(KDIR_KERNEL_IMAGE) + endif + $$(KDIR_KERNEL_IMAGE): $(KDIR)/$$(KERNEL_NAME) $(CURDIR)/Makefile $$(KERNEL_DEPENDS) image_prepare + @rm -f $$@ + $$(call concat_cmd,$$(KERNEL)) + $$(if $$(KERNEL_SIZE),$$(call Build/check-size,$$(KERNEL_SIZE))) + endif +endef + +define Device/Build/image + GZ_SUFFIX := $(if $(filter %dtb %gz,$(2)),,$(if $(and $(findstring ext4,$(1)),$(CONFIG_TARGET_IMAGES_GZIP)),.gz)) + $$(_TARGET): $(if $(CONFIG_JSON_OVERVIEW_IMAGE_INFO), \ + $(BUILD_DIR)/json_info_files/$(call IMAGE_NAME,$(1),$(2)).json, \ + $(BIN_DIR)/$(call IMAGE_NAME,$(1),$(2))$$(GZ_SUFFIX)) + $(eval $(call Device/Export,$(KDIR)/tmp/$(call IMAGE_NAME,$(1),$(2)),$(1))) + + ROOTFS/$(1)/$(3) := \ + $(KDIR)/root.$(1)$$(strip \ + $$(if $$(FS_OPTIONS/$(1)),+fs=$$(call param_mangle,$$(FS_OPTIONS/$(1)))) \ + )$$(strip \ + $(if $(TARGET_PER_DEVICE_ROOTFS),+pkg=$$(ROOTFS_ID/$(3))) \ + ) + ifndef IB + $$(ROOTFS/$(1)/$(3)): $(if $(TARGET_PER_DEVICE_ROOTFS),target-dir-$$(ROOTFS_ID/$(3))) + endif + $(KDIR)/tmp/$(call IMAGE_NAME,$(1),$(2)): $$(KDIR_KERNEL_IMAGE) $$(ROOTFS/$(1)/$(3)) + @rm -f $$@ + [ -f $$(word 1,$$^) -a -f $$(word 2,$$^) ] + $$(call concat_cmd,$(if $(IMAGE/$(2)/$(1)),$(IMAGE/$(2)/$(1)),$(IMAGE/$(2)))) + + .IGNORE: $(BIN_DIR)/$(call IMAGE_NAME,$(1),$(2)) + + $(BIN_DIR)/$(call IMAGE_NAME,$(1),$(2)).gz: $(KDIR)/tmp/$(call IMAGE_NAME,$(1),$(2)) + gzip -c -9n $$^ > $$@ + + $(BIN_DIR)/$(call IMAGE_NAME,$(1),$(2)): $(KDIR)/tmp/$(call IMAGE_NAME,$(1),$(2)) + cp $$^ $$@ + + $(BUILD_DIR)/json_info_files/$(call IMAGE_NAME,$(1),$(2)).json: $(BIN_DIR)/$(call IMAGE_NAME,$(1),$(2))$$(GZ_SUFFIX) + @mkdir -p $$(shell dirname $$@) + DEVICE_ID="$(DEVICE_NAME)" \ + BIN_DIR="$(BIN_DIR)" \ + IMAGE_NAME="$(IMAGE_NAME)" \ + IMAGE_TYPE=$(word 1,$(subst ., ,$(2))) \ + IMAGE_FILESYSTEM="$(1)" \ + IMAGE_PREFIX="$(IMAGE_PREFIX)" \ + DEVICE_TITLE="$(DEVICE_TITLE)" \ + DEVICE_PACKAGES="$(DEVICE_PACKAGES)" \ + TARGET="$(BOARD)" \ + SUBTARGET="$(if $(SUBTARGET),$(SUBTARGET),generic)" \ + VERSION_NUMBER="$(VERSION_NUMBER)" \ + VERSION_CODE="$(VERSION_CODE)" \ + SUPPORTED_DEVICES="$(SUPPORTED_DEVICES)" \ + $(TOPDIR)/scripts/json_add_image_info.py $$@ + +endef + +define Device/Build/artifact + $$(_TARGET): $(BIN_DIR)/$(IMAGE_PREFIX)-$(1) + $(eval $(call Device/Export,$(KDIR)/tmp/$(IMAGE_PREFIX)-$(1))) + $(KDIR)/tmp/$(IMAGE_PREFIX)-$(1): $$(KDIR_KERNEL_IMAGE) + @rm -f $$@ + $$(call concat_cmd,$(ARTIFACT/$(1))) + + .IGNORE: $(BIN_DIR)/$(IMAGE_PREFIX)-$(1) + + $(BIN_DIR)/$(IMAGE_PREFIX)-$(1): $(KDIR)/tmp/$(IMAGE_PREFIX)-$(1) + cp $$^ $$@ + +endef + +define Device/Build + $(if $(CONFIG_TARGET_ROOTFS_INITRAMFS),$(call Device/Build/initramfs,$(1))) + $(call Device/Build/kernel,$(1)) + + $$(eval $$(foreach compile,$$(COMPILE), \ + $$(call Device/Build/compile,$$(compile),$(1)))) + + $$(eval $$(foreach image,$$(IMAGES), \ + $$(foreach fs,$$(filter $(TARGET_FILESYSTEMS),$$(FILESYSTEMS)), \ + $$(call Device/Build/image,$$(fs),$$(image),$(1))))) + + $$(eval $$(foreach artifact,$$(ARTIFACTS), \ + $$(call Device/Build/artifact,$$(artifact)))) + +endef + +define Device/DumpInfo +Target-Profile: DEVICE_$(1) +Target-Profile-Name: $(DEVICE_TITLE) +Target-Profile-Packages: $(DEVICE_PACKAGES) +Target-Profile-hasImageMetadata: $(if $(foreach image,$(IMAGES),$(findstring append-metadata,$(IMAGE/$(image)))),1,0) +Target-Profile-SupportedDevices: $(SUPPORTED_DEVICES) +$(if $(DEFAULT),Target-Profile-Default: $(DEFAULT)) +Target-Profile-Description: +$(DEVICE_DESCRIPTION) +@@ + +endef + +define Device/Dump +$$(eval $$(if $$(DEVICE_TITLE),$$(info $$(call Device/DumpInfo,$(1))))) +endef + +define Device + $(call Device/InitProfile,$(1)) + $(call Device/Init,$(1)) + $(call Device/Default,$(1)) + $(call Device/$(1),$(1)) + $(call Device/Check,$(1)) + $(call Device/$(if $(DUMP),Dump,Build),$(1)) + +endef + +define BuildImage + + ifneq ($(DUMP),) + all: dumpinfo + dumpinfo: FORCE + @true + endif + + download: + prepare: + compile: + clean: + legacy-images-prepare: + legacy-images: + image_prepare: + + ifeq ($(IB),) + .PHONY: download prepare compile clean image_prepare kernel_prepare install install-images + compile: + $(call Build/Compile) + + clean: + $(call Build/Clean) + + image_prepare: compile + mkdir -p $(BIN_DIR) $(KDIR)/tmp + rm -rf $(BUILD_DIR)/json_info_files + $(call Image/Prepare) + + legacy-images-prepare-make: image_prepare + $(MAKE) legacy-images-prepare BIN_DIR="$(BIN_DIR)" + + else + image_prepare: + mkdir -p $(BIN_DIR) $(KDIR)/tmp + endif + + kernel_prepare: image_prepare + $(call Image/Build/targz) + $(call Image/Build/cpiogz) + $(call Image/BuildKernel) + $(if $(CONFIG_TARGET_ROOTFS_INITRAMFS),$(if $(IB),,$(call Image/BuildKernel/Initramfs))) + $(call Image/InstallKernel) + + $(foreach device,$(TARGET_DEVICES),$(call Device,$(device))) + $(foreach device,$(LEGACY_DEVICES),$(call LegacyDevice,$(device))) + + install-images: kernel_prepare $(foreach fs,$(filter-out $(if $(UBIFS_OPTS),,ubifs),$(TARGET_FILESYSTEMS) $(fs-subtypes-y)),$(KDIR)/root.$(fs)) + $(foreach fs,$(TARGET_FILESYSTEMS), + $(call Image/Build,$(fs)) + ) + + legacy-images-make: install-images + $(call Image/mkfs/ubifs/legacy) + $(MAKE) legacy-images BIN_DIR="$(BIN_DIR)" + + install: install-images + $(call Image/Manifest) + +endef diff --git a/include/kernel-build.mk b/include/kernel-build.mk new file mode 100644 index 0000000..3fdf7ef --- /dev/null +++ b/include/kernel-build.mk @@ -0,0 +1,180 @@ +# +# Copyright (C) 2006-2007 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +include $(INCLUDE_DIR)/prereq.mk +include $(INCLUDE_DIR)/depends.mk + +ifneq ($(DUMP),1) + all: compile +endif + +KERNEL_FILE_DEPENDS=$(GENERIC_BACKPORT_DIR) $(GENERIC_PATCH_DIR) $(GENERIC_HACK_DIR) $(PATCH_DIR) $(GENERIC_FILES_DIR) $(FILES_DIR) +STAMP_PREPARED=$(LINUX_DIR)/.prepared$(if $(QUILT)$(DUMP),,_$(shell $(call find_md5,$(KERNEL_FILE_DEPENDS),))) +STAMP_CONFIGURED:=$(LINUX_DIR)/.configured +include $(INCLUDE_DIR)/download.mk +include $(INCLUDE_DIR)/quilt.mk +include $(INCLUDE_DIR)/kernel-defaults.mk + +define Kernel/Prepare + $(call Kernel/Prepare/Default) +endef + +define Kernel/Configure + $(call Kernel/Configure/Default) +endef + +define Kernel/CompileModules + $(call Kernel/CompileModules/Default) +endef + +define Kernel/CompileImage + $(call Kernel/CompileImage/Default) + $(call Kernel/CompileImage/Initramfs) +endef + +define Kernel/Clean + $(call Kernel/Clean/Default) +endef + +define Download/kernel + URL:=$(LINUX_SITE) + FILE:=$(LINUX_SOURCE) + HASH:=$(LINUX_KERNEL_HASH) +endef + +KERNEL_GIT_OPTS:= +ifneq ($(strip $(CONFIG_KERNEL_GIT_LOCAL_REPOSITORY)),"") + KERNEL_GIT_OPTS+=--reference $(CONFIG_KERNEL_GIT_LOCAL_REPOSITORY) +endif + +define Download/git-kernel + URL:=$(call qstrip,$(CONFIG_KERNEL_GIT_CLONE_URI)) + PROTO:=git + VERSION:=$(CONFIG_KERNEL_GIT_REF) + FILE:=$(LINUX_SOURCE) + SUBDIR:=linux-$(LINUX_VERSION) + OPTS:=$(KERNEL_GIT_OPTS) +endef + +ifdef CONFIG_COLLECT_KERNEL_DEBUG + define Kernel/CollectDebug + rm -rf $(KERNEL_BUILD_DIR)/debug + mkdir -p $(KERNEL_BUILD_DIR)/debug/modules + $(CP) $(LINUX_DIR)/vmlinux $(KERNEL_BUILD_DIR)/debug/ + -$(CP) \ + $(STAGING_DIR_ROOT)/lib/modules/$(LINUX_VERSION)/* \ + $(KERNEL_BUILD_DIR)/debug/modules/ + $(FIND) $(KERNEL_BUILD_DIR)/debug -type f | $(XARGS) $(KERNEL_CROSS)strip --only-keep-debug + $(TAR) c -C $(KERNEL_BUILD_DIR) debug \ + $(if $(SOURCE_DATE_EPOCH),--mtime="@$(SOURCE_DATE_EPOCH)") \ + | bzip2 -c -9 > $(BIN_DIR)/kernel-debug.tar.bz2 + endef +endif + +ifeq ($(DUMP)$(filter prereq clean refresh update,$(MAKECMDGOALS)),) + ifneq ($(if $(QUILT),,$(CONFIG_AUTOREBUILD)),) + define Kernel/Autoclean + $(PKG_BUILD_DIR)/.dep_files: $(STAMP_PREPARED) + $(call rdep,$(KERNEL_FILE_DEPENDS),$(STAMP_PREPARED),$(PKG_BUILD_DIR)/.dep_files,-x "*/.dep_*") + endef + endif +endif + +define BuildKernel + $(if $(QUILT),$(Build/Quilt)) + $(if $(LINUX_SITE),$(call Download,kernel)) + $(if $(call qstrip,$(CONFIG_KERNEL_GIT_CLONE_URI)),$(call Download,git-kernel)) + + .NOTPARALLEL: + + $(Kernel/Autoclean) + $(STAMP_PREPARED): $(if $(LINUX_SITE),$(DL_DIR)/$(LINUX_SOURCE)) + -rm -rf $(KERNEL_BUILD_DIR) + -mkdir -p $(KERNEL_BUILD_DIR) + $(Kernel/Prepare) + touch $$@ + + $(KERNEL_BUILD_DIR)/symtab.h: FORCE + rm -f $(KERNEL_BUILD_DIR)/symtab.h + touch $(KERNEL_BUILD_DIR)/symtab.h + +$(KERNEL_MAKE) vmlinux + find $(LINUX_DIR) $(STAGING_DIR_ROOT)/lib/modules -name \*.ko | \ + xargs $(TARGET_CROSS)nm | \ + awk '$$$$1 == "U" { print $$$$2 } ' | \ + sort -u > $(KERNEL_BUILD_DIR)/mod_symtab.txt + $(TARGET_CROSS)nm -n $(LINUX_DIR)/vmlinux.o | grep ' [rR] __ksymtab' | sed -e 's,........ [rR] __ksymtab_,,' > $(KERNEL_BUILD_DIR)/kernel_symtab.txt + grep -Ff $(KERNEL_BUILD_DIR)/mod_symtab.txt $(KERNEL_BUILD_DIR)/kernel_symtab.txt > $(KERNEL_BUILD_DIR)/sym_include.txt + grep -Fvf $(KERNEL_BUILD_DIR)/mod_symtab.txt $(KERNEL_BUILD_DIR)/kernel_symtab.txt > $(KERNEL_BUILD_DIR)/sym_exclude.txt + ( \ + echo '#define SYMTAB_KEEP \'; \ + cat $(KERNEL_BUILD_DIR)/sym_include.txt | \ + awk '{print "KEEP(*(___ksymtab+" $$$$1 ")) \\" }'; \ + echo; \ + echo '#define SYMTAB_KEEP_GPL \'; \ + cat $(KERNEL_BUILD_DIR)/sym_include.txt | \ + awk '{print "KEEP(*(___ksymtab_gpl+" $$$$1 ")) \\" }'; \ + echo; \ + echo '#define SYMTAB_DISCARD \'; \ + cat $(KERNEL_BUILD_DIR)/sym_exclude.txt | \ + awk '{print "*(___ksymtab+" $$$$1 ") \\" }'; \ + echo; \ + echo '#define SYMTAB_DISCARD_GPL \'; \ + cat $(KERNEL_BUILD_DIR)/sym_exclude.txt | \ + awk '{print "*(___ksymtab_gpl+" $$$$1 ") \\" }'; \ + echo; \ + ) > $$@ + + $(STAMP_CONFIGURED): $(STAMP_PREPARED) $(LINUX_KCONFIG_LIST) $(TOPDIR)/.config FORCE + $(Kernel/Configure) + touch $$@ + + $(LINUX_DIR)/.modules: export STAGING_PREFIX=$$(STAGING_DIR_HOST) + $(LINUX_DIR)/.modules: export PKG_CONFIG_PATH=$$(STAGING_DIR_HOST)/lib/pkgconfig + $(LINUX_DIR)/.modules: export PKG_CONFIG_LIBDIR=$$(STAGING_DIR_HOST)/lib/pkgconfig + $(LINUX_DIR)/.modules: $(STAMP_CONFIGURED) $(LINUX_DIR)/.config FORCE + $(Kernel/CompileModules) + touch $$@ + + $(LINUX_DIR)/.image: export STAGING_PREFIX=$$(STAGING_DIR_HOST) + $(LINUX_DIR)/.image: export PKG_CONFIG_PATH=$$(STAGING_DIR_HOST)/lib/pkgconfig + $(LINUX_DIR)/.image: export PKG_CONFIG_LIBDIR=$$(STAGING_DIR_HOST)/lib/pkgconfig + $(LINUX_DIR)/.image: $(STAMP_CONFIGURED) $(if $(CONFIG_STRIP_KERNEL_EXPORTS),$(KERNEL_BUILD_DIR)/symtab.h) FORCE + $(Kernel/CompileImage) + $(Kernel/CollectDebug) + touch $$@ + + mostlyclean: FORCE + $(Kernel/Clean) + + define BuildKernel + endef + + download: $(if $(LINUX_SITE),$(DL_DIR)/$(LINUX_SOURCE)) + prepare: $(STAMP_PREPARED) + compile: $(LINUX_DIR)/.modules + $(MAKE) -C image compile TARGET_BUILD= + + oldconfig menuconfig nconfig: $(STAMP_PREPARED) $(STAMP_CHECKED) FORCE + rm -f $(LINUX_DIR)/.config.prev + rm -f $(STAMP_CONFIGURED) + $(LINUX_RECONF_CMD) > $(LINUX_DIR)/.config + $(_SINGLE)$(KERNEL_MAKE) \ + $(if $(findstring Darwin,$(HOST_OS)),HOST_LOADLIBES="-L$(STAGING_DIR_HOST)/lib -lncurses") \ + $$@ + $(LINUX_RECONF_DIFF) $(LINUX_DIR)/.config > $(LINUX_RECONFIG_TARGET) + + install: $(LINUX_DIR)/.image + +$(MAKE) -C image compile install TARGET_BUILD= + + clean: FORCE + rm -rf $(KERNEL_BUILD_DIR) + + image-prereq: + @+$(NO_TRACE_MAKE) -s -C image prereq TARGET_BUILD= + + prereq: image-prereq + +endef diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk new file mode 100644 index 0000000..cc1e236 --- /dev/null +++ b/include/kernel-defaults.mk @@ -0,0 +1,164 @@ +# +# Copyright (C) 2006-2015 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +ifdef CONFIG_STRIP_KERNEL_EXPORTS + KERNEL_MAKEOPTS += \ + EXTRA_LDSFLAGS="-I$(KERNEL_BUILD_DIR) -include symtab.h" +endif + +INITRAMFS_EXTRA_FILES ?= $(GENERIC_PLATFORM_DIR)/image/initramfs-base-files.txt + +ifneq (,$(KERNEL_CC)) + KERNEL_MAKEOPTS += CC="$(KERNEL_CC)" +endif + +export HOST_EXTRACFLAGS=-I$(STAGING_DIR_HOST)/include + +# defined in quilt.mk +Kernel/Patch:=$(Kernel/Patch/Default) + +ifneq (,$(findstring .xz,$(LINUX_SOURCE))) + LINUX_CAT:=xzcat +else + LINUX_CAT:=zcat +endif + +ifeq ($(strip $(CONFIG_EXTERNAL_KERNEL_TREE)),"") + ifeq ($(strip $(CONFIG_KERNEL_GIT_CLONE_URI)),"") + define Kernel/Prepare/Default + $(LINUX_CAT) $(DL_DIR)/$(LINUX_SOURCE) | $(TAR) -C $(KERNEL_BUILD_DIR) $(TAR_OPTIONS) + $(Kernel/Patch) + $(if $(QUILT),touch $(LINUX_DIR)/.quilt_used) + endef + else + define Kernel/Prepare/Default + $(LINUX_CAT) $(DL_DIR)/$(LINUX_SOURCE) | $(TAR) -C $(KERNEL_BUILD_DIR) $(TAR_OPTIONS) + endef + endif +else + define Kernel/Prepare/Default + mkdir -p $(KERNEL_BUILD_DIR) + if [ -d $(LINUX_DIR) ]; then \ + rmdir $(LINUX_DIR); \ + fi + ln -s $(CONFIG_EXTERNAL_KERNEL_TREE) $(LINUX_DIR) + endef +endif + +ifeq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),y) + ifeq ($(strip $(CONFIG_EXTERNAL_CPIO)),"") + define Kernel/SetInitramfs/PreConfigure + grep -v -e INITRAMFS -e CONFIG_RD_ -e CONFIG_BLK_DEV_INITRD $(LINUX_DIR)/.config.old > $(LINUX_DIR)/.config + echo 'CONFIG_BLK_DEV_INITRD=y' >> $(LINUX_DIR)/.config + echo 'CONFIG_INITRAMFS_SOURCE="$(strip $(TARGET_DIR) $(INITRAMFS_EXTRA_FILES))"' >> $(LINUX_DIR)/.config + endef + else + define Kernel/SetInitramfs/PreConfigure + grep -v INITRAMFS $(LINUX_DIR)/.config.old > $(LINUX_DIR)/.config + echo 'CONFIG_INITRAMFS_SOURCE="$(call qstrip,$(CONFIG_EXTERNAL_CPIO))"' >> $(LINUX_DIR)/.config + endef + endif + + define Kernel/SetInitramfs + rm -f $(LINUX_DIR)/.config.prev + mv $(LINUX_DIR)/.config $(LINUX_DIR)/.config.old + $(call Kernel/SetInitramfs/PreConfigure) + echo 'CONFIG_INITRAMFS_ROOT_UID=$(shell id -u)' >> $(LINUX_DIR)/.config + echo 'CONFIG_INITRAMFS_ROOT_GID=$(shell id -g)' >> $(LINUX_DIR)/.config + echo "$(if $(CONFIG_TARGET_INITRAMFS_FORCE),CONFIG_INITRAMFS_FORCE=y,# CONFIG_INITRAMFS_FORCE is not set)" >> $(LINUX_DIR)/.config + echo "$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_NONE),CONFIG_INITRAMFS_COMPRESSION_NONE=y,# CONFIG_INITRAMFS_COMPRESSION_NONE is not set)" >> $(LINUX_DIR)/.config + echo -e "$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_GZIP),CONFIG_INITRAMFS_COMPRESSION_GZIP=y\nCONFIG_RD_GZIP=y,# CONFIG_INITRAMFS_COMPRESSION_GZIP is not set\n# CONFIG_RD_GZIP is not set)" >> $(LINUX_DIR)/.config + echo -e "$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_BZIP2),CONFIG_INITRAMFS_COMPRESSION_BZIP2=y\nCONFIG_RD_BZIP2=y,# CONFIG_INITRAMFS_COMPRESSION_BZIP2 is not set\n# CONFIG_RD_BZIP2 is not set)" >> $(LINUX_DIR)/.config + echo -e "$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_LZMA),CONFIG_INITRAMFS_COMPRESSION_LZMA=y\nCONFIG_RD_LZMA=y,# CONFIG_INITRAMFS_COMPRESSION_LZMA is not set\n# CONFIG_RD_LZMA is not set)" >> $(LINUX_DIR)/.config + echo -e "$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_LZO),CONFIG_INITRAMFS_COMPRESSION_LZO=y\nCONFIG_RD_LZO=y,# CONFIG_INITRAMFS_COMPRESSION_LZO is not set\n# CONFIG_RD_LZO is not set)" >> $(LINUX_DIR)/.config + echo -e "$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_XZ),CONFIG_INITRAMFS_COMPRESSION_XZ=y\nCONFIG_RD_XZ=y,# CONFIG_INITRAMFS_COMPRESSION_XZ is not set\n# CONFIG_RD_XZ is not set)" >> $(LINUX_DIR)/.config + echo -e "$(if $(CONFIG_TARGET_INITRAMFS_COMPRESSION_LZ4),CONFIG_INITRAMFS_COMPRESSION_LZ4=y\nCONFIG_RD_LZ4=y,# CONFIG_INITRAMFS_COMPRESSION_LZ4 is not set\n# CONFIG_RD_LZ4 is not set)" >> $(LINUX_DIR)/.config + endef +else +endif + +define Kernel/SetNoInitramfs + mv $(LINUX_DIR)/.config.set $(LINUX_DIR)/.config.old + grep -v INITRAMFS $(LINUX_DIR)/.config.old > $(LINUX_DIR)/.config.set + echo 'CONFIG_INITRAMFS_SOURCE=""' >> $(LINUX_DIR)/.config.set + echo '# CONFIG_INITRAMFS_FORCE is not set' >> $(LINUX_DIR)/.config.set +endef + +define Kernel/Configure/Default + rm -f $(LINUX_DIR)/localversion + $(LINUX_CONF_CMD) > $(LINUX_DIR)/.config.target +# copy CONFIG_KERNEL_* settings over to .config.target + awk '/^(#[[:space:]]+)?CONFIG_KERNEL/{sub("CONFIG_KERNEL_","CONFIG_");print}' $(TOPDIR)/.config >> $(LINUX_DIR)/.config.target + echo "# CONFIG_KALLSYMS_EXTRA_PASS is not set" >> $(LINUX_DIR)/.config.target + echo "# CONFIG_KALLSYMS_ALL is not set" >> $(LINUX_DIR)/.config.target + echo "CONFIG_KALLSYMS_UNCOMPRESSED=y" >> $(LINUX_DIR)/.config.target + $(SCRIPT_DIR)/package-metadata.pl kconfig $(TMP_DIR)/.packageinfo $(TOPDIR)/.config $(KERNEL_PATCHVER) > $(LINUX_DIR)/.config.override + $(SCRIPT_DIR)/kconfig.pl 'm+' '+' $(LINUX_DIR)/.config.target /dev/null $(LINUX_DIR)/.config.override > $(LINUX_DIR)/.config.set + $(call Kernel/SetNoInitramfs) + rm -rf $(KERNEL_BUILD_DIR)/modules + cmp -s $(LINUX_DIR)/.config.set $(LINUX_DIR)/.config.prev || { \ + cp $(LINUX_DIR)/.config.set $(LINUX_DIR)/.config; \ + cp $(LINUX_DIR)/.config.set $(LINUX_DIR)/.config.prev; \ + } + $(_SINGLE) [ -d $(LINUX_DIR)/user_headers ] || $(KERNEL_MAKE) INSTALL_HDR_PATH=$(LINUX_DIR)/user_headers headers_install + grep '=[ym]' $(LINUX_DIR)/.config.set | LC_ALL=C sort | mkhash md5 > $(LINUX_DIR)/.vermagic +endef + +define Kernel/Configure/Initramfs + $(call Kernel/SetInitramfs) +endef + +define Kernel/CompileModules/Default + rm -f $(LINUX_DIR)/vmlinux $(LINUX_DIR)/System.map + +$(KERNEL_MAKE) modules +endef + +OBJCOPY_STRIP = -R .reginfo -R .notes -R .note -R .comment -R .mdebug -R .note.gnu.build-id + +# AMD64 shares the location with x86 +ifeq ($(LINUX_KARCH),x86_64) +IMAGES_DIR:=../../x86/boot +endif + +define Kernel/CopyImage + cmp -s $(LINUX_DIR)/vmlinux $(KERNEL_BUILD_DIR)/vmlinux$(1).debug || { \ + $(KERNEL_CROSS)objcopy -O binary $(OBJCOPY_STRIP) -S $(LINUX_DIR)/vmlinux $(LINUX_KERNEL)$(1); \ + $(KERNEL_CROSS)objcopy $(OBJCOPY_STRIP) -S $(LINUX_DIR)/vmlinux $(KERNEL_BUILD_DIR)/vmlinux$(1).elf; \ + $(CP) $(LINUX_DIR)/vmlinux $(KERNEL_BUILD_DIR)/vmlinux$(1).debug; \ + $(foreach k, \ + $(if $(KERNEL_IMAGES),$(KERNEL_IMAGES),$(filter-out vmlinux dtbs,$(KERNELNAME))), \ + $(CP) $(LINUX_DIR)/arch/$(LINUX_KARCH)/boot/$(IMAGES_DIR)/$(k) $(KERNEL_BUILD_DIR)/$(k)$(1); \ + ) \ + } +endef + +define Kernel/CompileImage/Default + rm -f $(TARGET_DIR)/init + +$(KERNEL_MAKE) $(if $(KERNELNAME),$(KERNELNAME),all) modules + $(call Kernel/CopyImage) +endef + +ifneq ($(CONFIG_TARGET_ROOTFS_INITRAMFS),) +define Kernel/CompileImage/Initramfs + $(call Kernel/Configure/Initramfs) + $(CP) $(GENERIC_PLATFORM_DIR)/other-files/init $(TARGET_DIR)/init + rm -rf $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION)/usr/initramfs_data.cpio* + +$(KERNEL_MAKE) $(if $(KERNELNAME),$(KERNELNAME),all) modules + $(call Kernel/CopyImage,-initramfs) +endef +else +define Kernel/CompileImage/Initramfs +endef +endif + +define Kernel/Clean/Default + rm -f $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION)/.configured + rm -f $(LINUX_KERNEL) + $(_SINGLE)$(MAKE) -C $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION) clean +endef + + diff --git a/include/kernel-version.mk b/include/kernel-version.mk new file mode 100644 index 0000000..fa694aa --- /dev/null +++ b/include/kernel-version.mk @@ -0,0 +1,39 @@ +# Use the default kernel version if the Makefile doesn't override it + +LINUX_RELEASE?=1 + +ifdef CONFIG_TESTING_KERNEL + KERNEL_PATCHVER:=$(KERNEL_TESTING_PATCHVER) +endif + +LINUX_VERSION-4.14 = .224 + +LINUX_KERNEL_HASH-4.14.224 = d83658ec4c60595f05c8c395aa3a6a39e0ccbd3a7abb5987b5a6b38f84f41cf5 + +remove_uri_prefix=$(subst git://,,$(subst http://,,$(subst https://,,$(1)))) +sanitize_uri=$(call qstrip,$(subst @,_,$(subst :,_,$(subst .,_,$(subst -,_,$(subst /,_,$(1))))))) + +ifneq ($(call qstrip,$(CONFIG_KERNEL_GIT_CLONE_URI)),) + LINUX_VERSION:=$(call sanitize_uri,$(call remove_uri_prefix,$(CONFIG_KERNEL_GIT_CLONE_URI))) + ifeq ($(call qstrip,$(CONFIG_KERNEL_GIT_REF)),) + CONFIG_KERNEL_GIT_REF:=HEAD + endif + LINUX_VERSION:=$(LINUX_VERSION)-$(call sanitize_uri,$(CONFIG_KERNEL_GIT_REF)) +else +ifdef KERNEL_PATCHVER + LINUX_VERSION:=$(KERNEL_PATCHVER)$(strip $(LINUX_VERSION-$(KERNEL_PATCHVER))) +endif +ifdef KERNEL_TESTING_PATCHVER + LINUX_TESTING_VERSION:=$(KERNEL_TESTING_PATCHVER)$(strip $(LINUX_VERSION-$(KERNEL_TESTING_PATCHVER))) +endif +endif + +split_version=$(subst ., ,$(1)) +merge_version=$(subst $(space),.,$(1)) +KERNEL_BASE=$(firstword $(subst -, ,$(LINUX_VERSION))) +KERNEL=$(call merge_version,$(wordlist 1,2,$(call split_version,$(KERNEL_BASE)))) +KERNEL_PATCHVER ?= $(KERNEL) + +# disable the md5sum check for unknown kernel versions +LINUX_KERNEL_HASH:=$(LINUX_KERNEL_HASH-$(strip $(LINUX_VERSION))) +LINUX_KERNEL_HASH?=x diff --git a/include/kernel.mk b/include/kernel.mk new file mode 100644 index 0000000..97d2366 --- /dev/null +++ b/include/kernel.mk @@ -0,0 +1,304 @@ +# +# Copyright (C) 2006-2015 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +ifneq ($(filter check,$(MAKECMDGOALS)),) +CHECK:=1 +DUMP:=1 +endif + +ifneq ($(SOURCE_DATE_EPOCH),) + ifndef DUMP + KBUILD_BUILD_TIMESTAMP:=$(shell perl -e 'print scalar gmtime($(SOURCE_DATE_EPOCH))') + endif +endif + +ifeq ($(__target_inc),) + ifndef CHECK + include $(INCLUDE_DIR)/target.mk + endif +endif + +ifeq ($(DUMP),1) + KERNEL?= + BOARD?= + LINUX_VERSION?= + LINUX_VERMAGIC?= +else + ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),) + export GCC_HONOUR_COPTS=s + endif + + LINUX_KMOD_SUFFIX=ko + + ifneq (,$(findstring uml,$(BOARD))) + KERNEL_CC?=$(HOSTCC) + KERNEL_CROSS?= + else + KERNEL_CC?=$(TARGET_CC) + KERNEL_CROSS?=$(TARGET_CROSS) + endif + + ifeq ($(TARGET_BUILD),1) + PATCH_DIR ?= $(CURDIR)/patches$(if $(wildcard ./patches-$(KERNEL_PATCHVER)),-$(KERNEL_PATCHVER)) + FILES_DIR ?= $(foreach dir,$(wildcard $(CURDIR)/files $(CURDIR)/files-$(KERNEL_PATCHVER)),"$(dir)") + endif + KERNEL_BUILD_DIR ?= $(BUILD_DIR)/linux-$(BOARD)$(if $(SUBTARGET),_$(SUBTARGET)) + LINUX_DIR ?= $(KERNEL_BUILD_DIR)/linux-$(LINUX_VERSION) + LINUX_UAPI_DIR=uapi/ + LINUX_VERMAGIC:=$(strip $(shell cat $(LINUX_DIR)/.vermagic 2>/dev/null)) + LINUX_VERMAGIC:=$(if $(LINUX_VERMAGIC),$(LINUX_VERMAGIC),unknown) + + LINUX_UNAME_VERSION:=$(KERNEL_BASE) + ifneq ($(findstring -rc,$(LINUX_VERSION)),) + LINUX_UNAME_VERSION:=$(LINUX_UNAME_VERSION)-$(strip $(lastword $(subst -, ,$(LINUX_VERSION)))) + endif + + LINUX_KERNEL:=$(KERNEL_BUILD_DIR)/vmlinux + + ifneq (,$(findstring -rc,$(LINUX_VERSION))) + LINUX_SOURCE:=linux-$(LINUX_VERSION).tar.gz + else + LINUX_SOURCE:=linux-$(LINUX_VERSION).tar.xz + endif + + ifneq (,$(findstring -rc,$(LINUX_VERSION))) + LINUX_SITE:=https://git.kernel.org/torvalds/t + else ifeq ($(call qstrip,$(CONFIG_EXTERNAL_KERNEL_TREE))$(call qstrip,$(CONFIG_KERNEL_GIT_CLONE_URI)),) + LINUX_SITE:=@KERNEL/linux/kernel/v$(word 1,$(subst ., ,$(KERNEL_BASE))).x + else + LINUX_UNAME_VERSION:=$(strip $(shell cat $(LINUX_DIR)/include/config/kernel.release 2>/dev/null)) + endif + + MODULES_SUBDIR:=lib/modules/$(LINUX_UNAME_VERSION) + TARGET_MODULES_DIR:=$(LINUX_TARGET_DIR)/$(MODULES_SUBDIR) + + ifneq ($(TARGET_BUILD),1) + PKG_BUILD_DIR ?= $(KERNEL_BUILD_DIR)/$(if $(BUILD_VARIANT),$(PKG_NAME)-$(BUILD_VARIANT)/)$(PKG_NAME)$(if $(PKG_VERSION),-$(PKG_VERSION)) + endif +endif + +ifneq (,$(findstring uml,$(BOARD))) + LINUX_KARCH=um +else ifneq (,$(findstring $(ARCH) , aarch64 aarch64_be )) + LINUX_KARCH := arm64 +else ifneq (,$(findstring $(ARCH) , arceb )) + LINUX_KARCH := arc +else ifneq (,$(findstring $(ARCH) , armeb )) + LINUX_KARCH := arm +else ifneq (,$(findstring $(ARCH) , mipsel mips64 mips64el )) + LINUX_KARCH := mips +else ifneq (,$(findstring $(ARCH) , powerpc64 )) + LINUX_KARCH := powerpc +else ifneq (,$(findstring $(ARCH) , sh2 sh3 sh4 )) + LINUX_KARCH := sh +else ifneq (,$(findstring $(ARCH) , i386 x86_64 )) + LINUX_KARCH := x86 +else + LINUX_KARCH := $(ARCH) +endif + +KERNEL_MAKE = $(MAKE) $(KERNEL_MAKEOPTS) + +KERNEL_MAKE_FLAGS = \ + HOSTCFLAGS="$(HOST_CFLAGS) -Wall -Wmissing-prototypes -Wstrict-prototypes" \ + CROSS_COMPILE="$(KERNEL_CROSS)" \ + ARCH="$(LINUX_KARCH)" \ + KBUILD_HAVE_NLS=no \ + KBUILD_BUILD_USER="$(call qstrip,$(CONFIG_KERNEL_BUILD_USER))" \ + KBUILD_BUILD_HOST="$(call qstrip,$(CONFIG_KERNEL_BUILD_DOMAIN))" \ + KBUILD_BUILD_TIMESTAMP="$(KBUILD_BUILD_TIMESTAMP)" \ + KBUILD_BUILD_VERSION="0" \ + HOST_LOADLIBES="-L$(STAGING_DIR_HOST)/lib" \ + CONFIG_SHELL="$(BASH)" \ + $(if $(findstring c,$(OPENWRT_VERBOSE)),V=1,V='') \ + $(if $(PKG_BUILD_ID),LDFLAGS_MODULE=--build-id=0x$(PKG_BUILD_ID)) \ + cmd_syscalls= + +ifeq ($(call qstrip,$(CONFIG_EXTERNAL_KERNEL_TREE))$(call qstrip,$(CONFIG_KERNEL_GIT_CLONE_URI)),) + KERNEL_MAKE_FLAGS += \ + KERNELRELEASE=$(LINUX_VERSION) +endif + +KERNEL_MAKEOPTS := -C $(LINUX_DIR) $(KERNEL_MAKE_FLAGS) + +ifdef CONFIG_USE_SPARSE + KERNEL_MAKEOPTS += C=1 CHECK=$(STAGING_DIR_HOST)/bin/sparse +endif + +ifeq ($(HOST_OS),Darwin) + export SKIP_STACK_VALIDATION:=1 +endif + +PKG_EXTMOD_SUBDIRS ?= . + +define populate_module_symvers + @mkdir -p $(PKG_INFO_DIR) + cat /dev/null > $(PKG_INFO_DIR)/$(PKG_NAME).symvers; \ + for subdir in $(PKG_EXTMOD_SUBDIRS); do \ + cat $(PKG_INFO_DIR)/*.symvers 2>/dev/null > $(PKG_BUILD_DIR)/$$$$subdir/Module.symvers; \ + done +endef + +define collect_module_symvers + for subdir in $(PKG_EXTMOD_SUBDIRS); do \ + realdir=$$$$(readlink -f $(PKG_BUILD_DIR)); \ + grep -F $(PKG_BUILD_DIR) $(PKG_BUILD_DIR)/$$$$subdir/Module.symvers >> $(PKG_BUILD_DIR)/Module.symvers.tmp; \ + [ "$(PKG_BUILD_DIR)" = "$$$$realdir" ] || \ + grep -F $$$$realdir $(PKG_BUILD_DIR)/$$$$subdir/Module.symvers >> $(PKG_BUILD_DIR)/Module.symvers.tmp; \ + done; \ + sort -u $(PKG_BUILD_DIR)/Module.symvers.tmp > $(PKG_BUILD_DIR)/Module.symvers; \ + mv $(PKG_BUILD_DIR)/Module.symvers $(PKG_INFO_DIR)/$(PKG_NAME).symvers +endef + +define KernelPackage/hooks + ifneq ($(PKG_NAME),kernel) + Hooks/Compile/Pre += populate_module_symvers + Hooks/Compile/Post += collect_module_symvers + endif + define KernelPackage/hooks + endef +endef + +define KernelPackage/Defaults + FILES:= + AUTOLOAD:= + MODPARAMS:= + PKGFLAGS+=nonshared +endef + +# 1: name +# 2: install prefix +# 3: module priority prefix +# 4: required for boot +# 5: module list +define ModuleAutoLoad + $(if $(5), \ + mkdir -p $(2)/etc/modules.d; \ + ($(foreach mod,$(5), \ + echo "$(mod)$(if $(MODPARAMS.$(mod)), $(MODPARAMS.$(mod)),$(if $(MODPARAMS), $(MODPARAMS)))"; )) > $(2)/etc/modules.d/$(3)$(1); \ + $(if $(4), \ + mkdir -p $(2)/etc/modules-boot.d; \ + ln -sf ../modules.d/$(3)$(1) $(2)/etc/modules-boot.d/;)) +endef + +ifeq ($(DUMP)$(TARGET_BUILD),) + -include $(LINUX_DIR)/.config +endif + +define KernelPackage/depends + $(STAMP_BUILT): $(LINUX_DIR)/.config + define KernelPackage/depends + endef +endef + +define KernelPackage + NAME:=$(1) + $(eval $(call Package/Default)) + $(eval $(call KernelPackage/Defaults)) + $(eval $(call KernelPackage/$(1))) + $(eval $(call KernelPackage/$(1)/$(BOARD))) + $(eval $(call KernelPackage/$(1)/$(BOARD)/$(if $(SUBTARGET),$(SUBTARGET),generic))) + + define Package/kmod-$(1) + TITLE:=$(TITLE) + SECTION:=kernel + CATEGORY:=Kernel modules + DESCRIPTION:=$(DESCRIPTION) + EXTRA_DEPENDS:=kernel (=$(LINUX_VERSION)-$(LINUX_RELEASE)-$(LINUX_VERMAGIC)) + VERSION:=$(LINUX_VERSION)$(if $(PKG_VERSION),+$(PKG_VERSION))-$(if $(PKG_RELEASE),$(PKG_RELEASE),$(LINUX_RELEASE)) + PKGFLAGS:=$(PKGFLAGS) + $(call KernelPackage/$(1)) + $(call KernelPackage/$(1)/$(BOARD)) + $(call KernelPackage/$(1)/$(BOARD)/$(if $(SUBTARGET),$(SUBTARGET),generic)) + endef + + ifdef KernelPackage/$(1)/conffiles + define Package/kmod-$(1)/conffiles +$(call KernelPackage/$(1)/conffiles) + endef + endif + + ifdef KernelPackage/$(1)/description + define Package/kmod-$(1)/description +$(call KernelPackage/$(1)/description) + endef + endif + + ifdef KernelPackage/$(1)/config + define Package/kmod-$(1)/config +$(call KernelPackage/$(1)/config) + endef + endif + + $(call KernelPackage/depends) + $(call KernelPackage/hooks) + + ifneq ($(if $(filter-out %=y %=n %=m,$(KCONFIG)),$(filter m y,$(foreach c,$(filter-out %=y %=n %=m,$(KCONFIG)),$($(c)))),.),) + define Package/kmod-$(1)/install + @for mod in $$(call version_filter,$$(FILES)); do \ + if grep -q "$$$$$$$${mod##$(LINUX_DIR)/}" "$(LINUX_DIR)/modules.builtin"; then \ + echo "NOTICE: module '$$$$$$$$mod' is built-in."; \ + elif [ -e $$$$$$$$mod ]; then \ + mkdir -p $$(1)/$(MODULES_SUBDIR) ; \ + $(CP) -L $$$$$$$$mod $$(1)/$(MODULES_SUBDIR)/ ; \ + else \ + echo "ERROR: module '$$$$$$$$mod' is missing." >&2; \ + exit 1; \ + fi; \ + done; + $(call ModuleAutoLoad,$(1),$$(1),$(filter-out 0-,$(word 1,$(AUTOLOAD))-),$(filter-out 0,$(word 2,$(AUTOLOAD))),$(sort $(wordlist 3,99,$(AUTOLOAD)))) + $(call KernelPackage/$(1)/install,$$(1)) + endef + $(if $(CONFIG_PACKAGE_kmod-$(1)), + else + compile: $(1)-disabled + $(1)-disabled: + @echo "WARNING: kmod-$(1) is not available in the kernel config - generating empty package" >&2 + + define Package/kmod-$(1)/install + true + endef + ) + endif + $$(eval $$(call BuildPackage,kmod-$(1))) + + $$(IPKG_kmod-$(1)): $$(wildcard $$(call version_filter,$$(FILES))) + +endef + +version_filter=$(if $(findstring @,$(1)),$(shell $(SCRIPT_DIR)/package-metadata.pl version_filter $(KERNEL_PATCHVER) $(1)),$(1)) + +# 1: priority (optional) +# 2: module list +# 3: boot flag +define AutoLoad + $(if $(1),$(1),0) $(if $(3),1,0) $(call version_filter,$(2)) +endef + +# 1: module list +# 2: boot flag +define AutoProbe + $(call AutoLoad,,$(1),$(2)) +endef + +version_field=$(if $(word $(1),$(2)),$(word $(1),$(2)),0) +kernel_version_merge=$$(( ($(call version_field,1,$(1)) << 24) + ($(call version_field,2,$(1)) << 16) + ($(call version_field,3,$(1)) << 8) + $(call version_field,4,$(1)) )) + +ifdef DUMP + kernel_version_cmp= +else + kernel_version_cmp=$(shell [ $(call kernel_version_merge,$(call split_version,$(2))) $(1) $(call kernel_version_merge,$(call split_version,$(3))) ] && echo 1 ) +endif + +CompareKernelPatchVer=$(if $(call kernel_version_cmp,-$(2),$(1),$(3)),1,0) + +kernel_patchver_gt=$(call kernel_version_cmp,-gt,$(KERNEL_PATCHVER),$(1)) +kernel_patchver_ge=$(call kernel_version_cmp,-ge,$(KERNEL_PATCHVER),$(1)) +kernel_patchver_eq=$(call kernel_version_cmp,-eq,$(KERNEL_PATCHVER),$(1)) +kernel_patchver_le=$(call kernel_version_cmp,-le,$(KERNEL_PATCHVER),$(1)) +kernel_patchver_lt=$(call kernel_version_cmp,-lt,$(KERNEL_PATCHVER),$(1)) + diff --git a/include/netfilter.mk b/include/netfilter.mk new file mode 100644 index 0000000..179d4ed --- /dev/null +++ b/include/netfilter.mk @@ -0,0 +1,414 @@ +# +# Copyright (C) 2006-2014 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +ifneq ($(__inc_netfilter),1) +__inc_netfilter:=1 + +ifeq ($(NF_KMOD),1) +P_V4:=ipv4/netfilter/ +P_V6:=ipv6/netfilter/ +P_XT:=netfilter/ +P_EBT:=bridge/netfilter/ +endif + +# 1: variable +# 2: kconfig symbols +# 3: file list +# 4: version dependency +define nf_add + $(if $(4),ifeq ($$(strip $$(call CompareKernelPatchVer,$$(KERNEL_PATCHVER),$(firstword $(4)),$(lastword $(4)))),1)) + $(1)-$$($(2)) += $(3) + $(if $(4),endif) + KCONFIG_$(1) = $(filter-out $(2),$(KCONFIG_$(1))) $(2) +endef + + +# core + +# kernel only +$(eval $(if $(NF_KMOD),$(call nf_add,NF_REJECT,CONFIG_NF_REJECT_IPV4, $(P_V4)nf_reject_ipv4),)) + +$(eval $(if $(NF_KMOD),$(call nf_add,NF_IPT,CONFIG_IP_NF_IPTABLES, $(P_V4)ip_tables),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NF_IPT,CONFIG_NETFILTER_XTABLES, $(P_XT)x_tables),)) + +$(eval $(if $(NF_KMOD),$(call nf_add,IPT_CORE,CONFIG_NETFILTER_XTABLES, $(P_XT)xt_tcpudp),)) +$(eval $(if $(NF_KMOD),$(call nf_add,IPT_CORE,CONFIG_IP_NF_FILTER, $(P_V4)iptable_filter),)) +$(eval $(if $(NF_KMOD),$(call nf_add,IPT_CORE,CONFIG_IP_NF_MANGLE, $(P_V4)iptable_mangle),)) + +# userland only +$(eval $(if $(NF_KMOD),,$(call nf_add,IPT_CORE,CONFIG_IP_NF_IPTABLES, xt_standard ipt_icmp xt_tcp xt_udp xt_comment xt_set xt_SET))) + +$(eval $(call nf_add,IPT_CORE,CONFIG_NETFILTER_XT_MATCH_LIMIT, $(P_XT)xt_limit)) +$(eval $(call nf_add,IPT_CORE,CONFIG_NETFILTER_XT_MATCH_MAC, $(P_XT)xt_mac)) +$(eval $(call nf_add,IPT_CORE,CONFIG_NETFILTER_XT_MATCH_MULTIPORT, $(P_XT)xt_multiport)) +$(eval $(call nf_add,IPT_CORE,CONFIG_NETFILTER_XT_MATCH_COMMENT, $(P_XT)xt_comment)) + +#cluster +$(eval $(call nf_add,IPT_CLUSTER,CONFIG_NETFILTER_XT_MATCH_CLUSTER, $(P_XT)xt_cluster)) + +$(eval $(call nf_add,IPT_CORE,CONFIG_NETFILTER_XT_TARGET_LOG, $(P_XT)xt_LOG)) +$(eval $(call nf_add,IPT_CORE,CONFIG_NETFILTER_XT_TARGET_LOG, $(P_XT)nf_log_common)) +$(eval $(call nf_add,IPT_CORE,CONFIG_NETFILTER_XT_TARGET_LOG, $(P_V4)nf_log_ipv4)) +$(eval $(call nf_add,IPT_CORE,CONFIG_NETFILTER_XT_TARGET_TCPMSS, $(P_XT)xt_TCPMSS)) +$(eval $(call nf_add,IPT_CORE,CONFIG_IP_NF_TARGET_REJECT, $(P_V4)ipt_REJECT)) +$(eval $(call nf_add,IPT_CORE,CONFIG_NETFILTER_XT_MATCH_TIME, $(P_XT)xt_time)) +$(eval $(call nf_add,IPT_CORE,CONFIG_NETFILTER_XT_MARK, $(P_XT)xt_mark)) + +# kernel has xt_MARK.ko merged into xt_mark.ko, userspace is still separate +# userland: xt_MARK.so +$(eval $(if $(NF_KMOD),,$(call nf_add,IPT_CORE,CONFIG_NETFILTER_XT_MARK, $(P_XT)xt_MARK))) + + +# conntrack + +# kernel only +$(eval $(if $(NF_KMOD),$(call nf_add,NF_CONNTRACK,CONFIG_NF_CONNTRACK, $(P_XT)nf_conntrack),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NF_CONNTRACK,CONFIG_NF_CONNTRACK_RTCACHE, $(P_XT)nf_conntrack_rtcache),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NF_CONNTRACK,CONFIG_NF_DEFRAG_IPV4, $(P_V4)nf_defrag_ipv4),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NF_CONNTRACK,CONFIG_NF_CONNTRACK_IPV4, $(P_V4)nf_conntrack_ipv4),)) + +$(eval $(call nf_add,IPT_CONNTRACK,CONFIG_NETFILTER_XT_MATCH_STATE, $(P_XT)xt_state)) +$(eval $(call nf_add,IPT_CONNTRACK,CONFIG_NETFILTER_XT_TARGET_CT, $(P_XT)xt_CT)) +$(eval $(call nf_add,IPT_CONNTRACK,CONFIG_NETFILTER_XT_MATCH_CONNTRACK, $(P_XT)xt_conntrack)) + + +# conntrack-extra + +$(eval $(call nf_add,IPT_CONNTRACK_EXTRA,CONFIG_NETFILTER_XT_MATCH_CONNBYTES, $(P_XT)xt_connbytes)) +$(eval $(call nf_add,IPT_CONNTRACK_EXTRA,CONFIG_NETFILTER_XT_MATCH_CONNLIMIT, $(P_XT)xt_connlimit)) +$(eval $(call nf_add,IPT_CONNTRACK_EXTRA,CONFIG_NETFILTER_CONNCOUNT, $(P_XT)nf_conncount)) +$(eval $(call nf_add,IPT_CONNTRACK_EXTRA,CONFIG_NETFILTER_XT_CONNMARK, $(P_XT)xt_connmark)) +$(eval $(call nf_add,IPT_CONNTRACK_EXTRA,CONFIG_NETFILTER_XT_MATCH_HELPER, $(P_XT)xt_helper)) +$(eval $(call nf_add,IPT_CONNTRACK_EXTRA,CONFIG_NETFILTER_XT_MATCH_RECENT, $(P_XT)xt_recent)) + +$(eval $(if $(NF_KMOD),,$(call nf_add,IPT_CONNTRACK_EXTRA,CONFIG_NETFILTER_XT_CONNMARK, $(P_XT)xt_CONNMARK))) + +#conntrack-label + +$(eval $(call nf_add,IPT_CONNTRACK_LABEL,CONFIG_NETFILTER_XT_MATCH_CONNLABEL, $(P_XT)xt_connlabel)) + +# extra + +$(eval $(call nf_add,IPT_EXTRA,CONFIG_NETFILTER_XT_MATCH_ADDRTYPE, $(if $(NF_KMOD),$(P_XT)xt_addrtype,$(P_XT)ipt_addrtype))) +$(eval $(call nf_add,IPT_EXTRA,CONFIG_NETFILTER_XT_MATCH_OWNER, $(P_XT)xt_owner)) +$(eval $(call nf_add,IPT_EXTRA,CONFIG_NETFILTER_XT_MATCH_PKTTYPE, $(P_XT)xt_pkttype)) +$(eval $(call nf_add,IPT_EXTRA,CONFIG_NETFILTER_XT_MATCH_QUOTA, $(P_XT)xt_quota)) + +#$(eval $(call nf_add,IPT_EXTRA,CONFIG_IP_NF_TARGET_ROUTE, $(P_V4)ipt_ROUTE)) + +# physdev + +$(eval $(call nf_add,IPT_PHYSDEV,CONFIG_NETFILTER_XT_MATCH_PHYSDEV, $(P_XT)xt_physdev)) + +# filter + +$(eval $(call nf_add,IPT_FILTER,CONFIG_NETFILTER_XT_MATCH_STRING, $(P_XT)xt_string)) +$(eval $(call nf_add,IPT_FILTER,CONFIG_NETFILTER_XT_MATCH_BPF, $(P_XT)xt_bpf)) + + +# ipopt + +$(eval $(call nf_add,IPT_IPOPT,CONFIG_NETFILTER_XT_MATCH_DSCP, $(P_XT)xt_dscp)) +$(eval $(call nf_add,IPT_IPOPT,CONFIG_NETFILTER_XT_TARGET_DSCP, $(P_XT)xt_DSCP)) +$(eval $(call nf_add,IPT_HASHLIMIT,CONFIG_NETFILTER_XT_MATCH_HASHLIMIT, $(P_XT)xt_hashlimit)) +$(eval $(call nf_add,IPT_RPFILTER,CONFIG_IP_NF_MATCH_RPFILTER, $(P_V4)ipt_rpfilter)) +$(eval $(call nf_add,IPT_RPFILTER,CONFIG_IP6_NF_MATCH_RPFILTER, $(P_V6)ip6t_rpfilter)) +$(eval $(call nf_add,IPT_IPOPT,CONFIG_NETFILTER_XT_MATCH_LENGTH, $(P_XT)xt_length)) +$(eval $(call nf_add,IPT_IPOPT,CONFIG_NETFILTER_XT_MATCH_STATISTIC, $(P_XT)xt_statistic)) +$(eval $(call nf_add,IPT_IPOPT,CONFIG_NETFILTER_XT_MATCH_TCPMSS, $(P_XT)xt_tcpmss)) + +$(eval $(call nf_add,IPT_IPOPT,CONFIG_NETFILTER_XT_TARGET_CLASSIFY, $(P_XT)xt_CLASSIFY)) +$(eval $(call nf_add,IPT_IPOPT,CONFIG_IP_NF_MATCH_DSCP, $(P_V4)ipt_dscp)) +$(eval $(call nf_add,IPT_IPOPT,CONFIG_IP_NF_TARGET_ECN, $(P_V4)ipt_ECN)) + +$(eval $(call nf_add,IPT_IPOPT,CONFIG_NETFILTER_XT_MATCH_ECN, $(P_XT)xt_ecn)) + +# userland only +$(eval $(if $(NF_KMOD),,$(call nf_add,IPT_IPOPT,CONFIG_NETFILTER_XT_MATCH_DSCP, xt_tos))) +$(eval $(if $(NF_KMOD),,$(call nf_add,IPT_IPOPT,CONFIG_NETFILTER_XT_TARGET_DSCP, xt_TOS))) +$(eval $(if $(NF_KMOD),,$(call nf_add,IPT_IPOPT,CONFIG_NETFILTER_XT_MATCH_HL, ipt_ttl))) +$(eval $(if $(NF_KMOD),,$(call nf_add,IPT_IPOPT,CONFIG_NETFILTER_XT_TARGET_HL, ipt_TTL))) + +$(eval $(call nf_add,IPT_IPOPT,CONFIG_NETFILTER_XT_MATCH_HL, $(P_XT)xt_hl)) +$(eval $(call nf_add,IPT_IPOPT,CONFIG_NETFILTER_XT_TARGET_HL, $(P_XT)xt_HL)) + +# iprange +$(eval $(call nf_add,IPT_IPRANGE,CONFIG_NETFILTER_XT_MATCH_IPRANGE, $(P_XT)xt_iprange)) + +#clusterip +$(eval $(call nf_add,IPT_CLUSTERIP,CONFIG_IP_NF_TARGET_CLUSTERIP, $(P_V4)ipt_CLUSTERIP)) + +# ipsec +$(eval $(call nf_add,IPT_IPSEC,CONFIG_IP_NF_MATCH_AH, $(P_V4)ipt_ah)) +$(eval $(call nf_add,IPT_IPSEC,CONFIG_NETFILTER_XT_MATCH_ESP, $(P_XT)xt_esp)) +$(eval $(call nf_add,IPT_IPSEC,CONFIG_NETFILTER_XT_MATCH_POLICY, $(P_XT)xt_policy)) + +# flow offload support +$(eval $(call nf_add,IPT_FLOW,CONFIG_NETFILTER_XT_TARGET_FLOWOFFLOAD, $(P_XT)xt_FLOWOFFLOAD)) + +# IPv6 + +# kernel only +$(eval $(if $(NF_KMOD),$(call nf_add,NF_REJECT6,CONFIG_NF_REJECT_IPV6, $(P_V6)nf_reject_ipv6),)) + +$(eval $(if $(NF_KMOD),$(call nf_add,NF_IPT6,CONFIG_IP6_NF_IPTABLES, $(P_V6)ip6_tables),)) + +$(eval $(if $(NF_KMOD),$(call nf_add,NF_CONNTRACK,CONFIG_NF_DEFRAG_IPV6, $(P_V6)nf_defrag_ipv6, ge 4.19),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NF_CONNTRACK6,CONFIG_NF_DEFRAG_IPV6, $(P_V6)nf_defrag_ipv6, lt 4.19),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NF_CONNTRACK6,CONFIG_NF_CONNTRACK_IPV6, $(P_V6)nf_conntrack_ipv6),)) + +$(eval $(if $(NF_KMOD),$(call nf_add,IPT_IPV6,CONFIG_IP6_NF_FILTER, $(P_V6)ip6table_filter),)) +$(eval $(if $(NF_KMOD),$(call nf_add,IPT_IPV6,CONFIG_IP6_NF_MANGLE, $(P_V6)ip6table_mangle),)) +$(eval $(if $(NF_KMOD),$(call nf_add,IPT_IPV6,CONFIG_IP6_NF_QUEUE, $(P_V6)ip6_queue),)) +$(eval $(if $(NF_KMOD),$(call nf_add,IPT_IPV6,CONFIG_NF_LOG_IPV6, $(P_V6)nf_log_ipv6),)) + +$(eval $(if $(NF_KMOD),,$(call nf_add,IPT_IPV6,CONFIG_IP6_NF_IPTABLES, ip6t_icmp6))) + + +$(eval $(call nf_add,IPT_IPV6,CONFIG_IP6_NF_TARGET_LOG, $(P_V6)ip6t_LOG)) +$(eval $(call nf_add,IPT_IPV6,CONFIG_IP6_NF_TARGET_REJECT, $(P_V6)ip6t_REJECT)) + +# ipv6 extra +$(eval $(call nf_add,IPT_IPV6_EXTRA,CONFIG_IP6_NF_MATCH_IPV6HEADER, $(P_V6)ip6t_ipv6header)) +$(eval $(call nf_add,IPT_IPV6_EXTRA,CONFIG_IP6_NF_MATCH_AH, $(P_V6)ip6t_ah)) +$(eval $(call nf_add,IPT_IPV6_EXTRA,CONFIG_IP6_NF_MATCH_MH, $(P_V6)ip6t_mh)) +$(eval $(call nf_add,IPT_IPV6_EXTRA,CONFIG_IP6_NF_MATCH_EUI64, $(P_V6)ip6t_eui64)) +$(eval $(call nf_add,IPT_IPV6_EXTRA,CONFIG_IP6_NF_MATCH_OPTS, $(P_V6)ip6t_hbh)) +$(eval $(call nf_add,IPT_IPV6_EXTRA,CONFIG_IP6_NF_MATCH_FRAG, $(P_V6)ip6t_frag)) +$(eval $(call nf_add,IPT_IPV6_EXTRA,CONFIG_IP6_NF_MATCH_RT, $(P_V6)ip6t_rt)) + +# nat + +# kernel only +$(eval $(if $(NF_KMOD),$(call nf_add,NF_NAT,CONFIG_NF_NAT, $(P_XT)nf_nat),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NF_NAT,CONFIG_NF_NAT_REDIRECT, $(P_XT)nf_nat_redirect, ge 3.19.0),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NF_NAT,CONFIG_NF_NAT_IPV4, $(P_V4)nf_nat_ipv4),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NF_NAT,CONFIG_NF_NAT_MASQUERADE_IPV4, $(P_V4)nf_nat_masquerade_ipv4, lt 4.18),)) + +$(eval $(if $(NF_KMOD),$(call nf_add,NF_NAT6,CONFIG_NF_NAT_IPV6, $(P_V6)nf_nat_ipv6),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NF_NAT6,CONFIG_NF_NAT_MASQUERADE_IPV6, $(P_V6)nf_nat_masquerade_ipv6, lt 4.18),)) + +$(eval $(if $(NF_KMOD),$(call nf_add,IPT_NAT,CONFIG_NETFILTER_XT_NAT, $(P_XT)xt_nat),)) +$(eval $(if $(NF_KMOD),$(call nf_add,IPT_NAT,CONFIG_IP_NF_NAT, $(P_V4)iptable_nat),)) +$(eval $(if $(NF_KMOD),$(call nf_add,IPT_NAT6,CONFIG_IP6_NF_NAT, $(P_V6)ip6table_nat),)) +$(eval $(if $(NF_KMOD),$(call nf_add,IPT_NAT6,CONFIG_IP6_NF_TARGET_MASQUERADE, $(P_V6)ip6t_MASQUERADE),)) +$(eval $(if $(NF_KMOD),$(call nf_add,IPT_NAT6,CONFIG_IP6_NF_TARGET_NPT, $(P_V6)ip6t_NPT),)) + +# userland only +$(eval $(if $(NF_KMOD),,$(call nf_add,IPT_NAT,CONFIG_NF_NAT, ipt_SNAT ipt_DNAT))) +$(eval $(if $(NF_KMOD),,$(call nf_add,IPT_NAT6,CONFIG_IP6_NF_TARGET_NPT, ip6t_DNPT ip6t_SNPT))) + +$(eval $(call nf_add,IPT_NAT,CONFIG_IP_NF_TARGET_MASQUERADE, $(P_V4)ipt_MASQUERADE)) +$(eval $(call nf_add,IPT_NAT,CONFIG_IP_NF_TARGET_REDIRECT, $(P_XT)xt_REDIRECT)) + + +# nat-extra + +$(eval $(call nf_add,IPT_NAT_EXTRA,CONFIG_IP_NF_TARGET_NETMAP, $(P_XT)xt_NETMAP)) + + +# nathelper + +$(eval $(call nf_add,NF_NATHELPER,CONFIG_NF_CONNTRACK_FTP, $(P_XT)nf_conntrack_ftp)) +$(eval $(call nf_add,NF_NATHELPER,CONFIG_NF_NAT_FTP, $(P_XT)nf_nat_ftp)) + + +# nathelper-extra + +$(eval $(call nf_add,NF_NATHELPER_EXTRA,CONFIG_NF_CONNTRACK_BROADCAST, $(P_XT)nf_conntrack_broadcast)) +$(eval $(call nf_add,NF_NATHELPER_EXTRA,CONFIG_NF_CONNTRACK_AMANDA, $(P_XT)nf_conntrack_amanda)) +$(eval $(call nf_add,NF_NATHELPER_EXTRA,CONFIG_NF_NAT_AMANDA, $(P_XT)nf_nat_amanda)) +$(eval $(call nf_add,NF_NATHELPER_EXTRA,CONFIG_NF_CT_PROTO_GRE, $(P_XT)nf_conntrack_proto_gre)) +$(eval $(call nf_add,NF_NATHELPER_EXTRA,CONFIG_NF_NAT_PROTO_GRE, $(P_V4)nf_nat_proto_gre)) +$(eval $(call nf_add,NF_NATHELPER_EXTRA,CONFIG_NF_CONNTRACK_H323, $(P_XT)nf_conntrack_h323)) +$(eval $(call nf_add,NF_NATHELPER_EXTRA,CONFIG_NF_NAT_H323, $(P_V4)nf_nat_h323)) +$(eval $(call nf_add,NF_NATHELPER_EXTRA,CONFIG_NF_CONNTRACK_PPTP, $(P_XT)nf_conntrack_pptp)) +$(eval $(call nf_add,NF_NATHELPER_EXTRA,CONFIG_NF_NAT_PPTP, $(P_V4)nf_nat_pptp)) +$(eval $(call nf_add,NF_NATHELPER_EXTRA,CONFIG_NF_CONNTRACK_SIP, $(P_XT)nf_conntrack_sip)) +$(eval $(call nf_add,NF_NATHELPER_EXTRA,CONFIG_NF_NAT_SIP, $(P_XT)nf_nat_sip)) +$(eval $(call nf_add,NF_NATHELPER_EXTRA,CONFIG_NF_CONNTRACK_SNMP, $(P_XT)nf_conntrack_snmp)) +$(eval $(call nf_add,NF_NATHELPER_EXTRA,CONFIG_NF_NAT_SNMP_BASIC, $(P_V4)nf_nat_snmp_basic)) +$(eval $(call nf_add,NF_NATHELPER_EXTRA,CONFIG_NF_CONNTRACK_TFTP, $(P_XT)nf_conntrack_tftp)) +$(eval $(call nf_add,NF_NATHELPER_EXTRA,CONFIG_NF_NAT_TFTP, $(P_XT)nf_nat_tftp)) +$(eval $(call nf_add,NF_NATHELPER_EXTRA,CONFIG_NF_CONNTRACK_IRC, $(P_XT)nf_conntrack_irc)) +$(eval $(call nf_add,NF_NATHELPER_EXTRA,CONFIG_NF_NAT_IRC, $(P_XT)nf_nat_irc)) + + +# ulog + +$(eval $(call nf_add,IPT_ULOG,CONFIG_IP_NF_TARGET_ULOG, $(P_V4)ipt_ULOG)) + + +# nflog + +$(eval $(call nf_add,IPT_NFLOG,CONFIG_NETFILTER_XT_TARGET_NFLOG, $(P_XT)xt_NFLOG)) + + +# nfqueue + +$(eval $(call nf_add,IPT_NFQUEUE,CONFIG_NETFILTER_XT_TARGET_NFQUEUE, $(P_XT)xt_NFQUEUE)) + + +# debugging + +$(eval $(call nf_add,IPT_DEBUG,CONFIG_NETFILTER_XT_TARGET_TRACE, $(P_XT)xt_TRACE)) + +# tproxy + +$(eval $(call nf_add,IPT_TPROXY,CONFIG_NETFILTER_XT_MATCH_SOCKET, $(P_XT)xt_socket)) +$(eval $(call nf_add,IPT_TPROXY,CONFIG_NF_SOCKET_IPV4, $(P_V4)nf_socket_ipv4, ge 4.10)) +$(eval $(call nf_add,IPT_TPROXY,CONFIG_NF_SOCKET_IPV6, $(P_V6)nf_socket_ipv6, ge 4.10)) +$(eval $(call nf_add,IPT_TPROXY,CONFIG_NETFILTER_XT_TARGET_TPROXY, $(P_XT)xt_TPROXY)) +$(eval $(call nf_add,IPT_TPROXY,CONFIG_NF_TPROXY_IPV4, $(P_V4)nf_tproxy_ipv4, ge 4.18)) +$(eval $(call nf_add,IPT_TPROXY,CONFIG_NF_TPROXY_IPV6, $(P_V6)nf_tproxy_ipv6, ge 4.18)) + +# led +$(eval $(call nf_add,IPT_LED,CONFIG_NETFILTER_XT_TARGET_LED, $(P_XT)xt_LED)) + +# tee + +$(eval $(call nf_add,IPT_TEE,CONFIG_NETFILTER_XT_TARGET_TEE, $(P_XT)xt_TEE)) +$(eval $(if $(NF_KMOD),$(call nf_add,IPT_TEE,CONFIG_NF_DUP_IPV4, $(P_V4)nf_dup_ipv4, ge 4.3),)) +$(eval $(if $(NF_KMOD),$(call nf_add,IPT_TEE,CONFIG_NF_DUP_IPV6, $(P_V6)nf_dup_ipv6, ge 4.3),)) + +# u32 + +$(eval $(call nf_add,IPT_U32,CONFIG_NETFILTER_XT_MATCH_U32, $(P_XT)xt_u32)) + +# checksum + +$(eval $(call nf_add,IPT_CHECKSUM,CONFIG_NETFILTER_XT_TARGET_CHECKSUM, $(P_XT)xt_CHECKSUM)) + + +# netlink + +$(eval $(call nf_add,NFNETLINK,CONFIG_NETFILTER_NETLINK, $(P_XT)nfnetlink)) + +# nflog + +$(eval $(call nf_add,NFNETLINK_LOG,CONFIG_NETFILTER_NETLINK_LOG, $(P_XT)nfnetlink_log)) + +# nfqueue + +$(eval $(call nf_add,NFNETLINK_QUEUE,CONFIG_NETFILTER_NETLINK_QUEUE, $(P_XT)nfnetlink_queue)) + +# +# ebtables +# + +$(eval $(if $(NF_KMOD),$(call nf_add,EBTABLES,CONFIG_BRIDGE_NF_EBTABLES, $(P_EBT)ebtables),)) + +# ebtables: tables +$(eval $(call nf_add,EBTABLES,CONFIG_BRIDGE_EBT_BROUTE, $(P_EBT)ebtable_broute)) +$(eval $(call nf_add,EBTABLES,CONFIG_BRIDGE_EBT_T_FILTER, $(P_EBT)ebtable_filter)) +$(eval $(call nf_add,EBTABLES,CONFIG_BRIDGE_EBT_T_NAT, $(P_EBT)ebtable_nat)) + +# ebtables: matches +$(eval $(call nf_add,EBTABLES,CONFIG_BRIDGE_EBT_802_3, $(P_EBT)ebt_802_3)) +$(eval $(call nf_add,EBTABLES,CONFIG_BRIDGE_EBT_AMONG, $(P_EBT)ebt_among)) +$(eval $(call nf_add,EBTABLES_IP4,CONFIG_BRIDGE_EBT_ARP, $(P_EBT)ebt_arp)) +$(eval $(call nf_add,EBTABLES_IP4,CONFIG_BRIDGE_EBT_IP, $(P_EBT)ebt_ip)) +$(eval $(call nf_add,EBTABLES_IP6,CONFIG_BRIDGE_EBT_IP6, $(P_EBT)ebt_ip6)) +$(eval $(call nf_add,EBTABLES,CONFIG_BRIDGE_EBT_LIMIT, $(P_EBT)ebt_limit)) +$(eval $(call nf_add,EBTABLES,CONFIG_BRIDGE_EBT_MARK, $(P_EBT)ebt_mark_m)) +$(eval $(call nf_add,EBTABLES,CONFIG_BRIDGE_EBT_PKTTYPE, $(P_EBT)ebt_pkttype)) +$(eval $(call nf_add,EBTABLES,CONFIG_BRIDGE_EBT_STP, $(P_EBT)ebt_stp)) +$(eval $(call nf_add,EBTABLES,CONFIG_BRIDGE_EBT_VLAN, $(P_EBT)ebt_vlan)) + +# targets +$(eval $(call nf_add,EBTABLES_IP4,CONFIG_BRIDGE_EBT_ARPREPLY, $(P_EBT)ebt_arpreply)) +$(eval $(call nf_add,EBTABLES,CONFIG_BRIDGE_EBT_MARK_T, $(P_EBT)ebt_mark)) +$(eval $(call nf_add,EBTABLES_IP4,CONFIG_BRIDGE_EBT_DNAT, $(P_EBT)ebt_dnat)) +$(eval $(call nf_add,EBTABLES,CONFIG_BRIDGE_EBT_REDIRECT, $(P_EBT)ebt_redirect)) +$(eval $(call nf_add,EBTABLES_IP4,CONFIG_BRIDGE_EBT_SNAT, $(P_EBT)ebt_snat)) + +# watchers +$(eval $(call nf_add,EBTABLES_WATCHERS,CONFIG_BRIDGE_EBT_LOG, $(P_EBT)ebt_log)) +$(eval $(call nf_add,EBTABLES_WATCHERS,CONFIG_BRIDGE_EBT_ULOG, $(P_EBT)ebt_ulog)) +$(eval $(call nf_add,EBTABLES_WATCHERS,CONFIG_BRIDGE_EBT_NFLOG, $(P_EBT)ebt_nflog)) +$(eval $(call nf_add,EBTABLES_WATCHERS,CONFIG_BRIDGE_EBT_NFQUEUE, $(P_EBT)ebt_nfqueue)) + +# nftables +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NF_TABLES, $(P_XT)nf_tables),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NF_TABLES_INET, $(P_XT)nf_tables_inet, lt 4.17),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_EXTHDR, $(P_XT)nft_exthdr),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_META, $(P_XT)nft_meta),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_NUMGEN, $(P_XT)nft_numgen, ge 4.9.0),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_CT, $(P_XT)nft_ct),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_SET_RBTREE, $(P_XT)nft_set_rbtree, ge 4.9.0),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_RBTREE, $(P_XT)nft_rbtree, lt 4.9.0),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_SET_HASH, $(P_XT)nft_set_hash, ge 4.9.0),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_HASH, $(P_XT)nft_hash, lt 4.9.0),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_COUNTER, $(P_XT)nft_counter),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_LOG, $(P_XT)nft_log),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_LIMIT, $(P_XT)nft_limit),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_REJECT, $(P_XT)nft_reject $(P_V4)nft_reject_ipv4 $(P_V6)nft_reject_ipv6),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_REJECT_INET, $(P_XT)nft_reject_inet),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NF_TABLES_IPV4, $(P_V4)nf_tables_ipv4, lt 4.17),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_CHAIN_ROUTE_IPV4, $(P_V4)nft_chain_route_ipv4),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NF_TABLES_IPV6, $(P_V6)nf_tables_ipv6, lt 4.17),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_CHAIN_ROUTE_IPV6, $(P_V6)nft_chain_route_ipv6),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_REDIR, $(P_XT)nft_redir, ge 3.19.0),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_CORE,CONFIG_NFT_QUOTA, $(P_XT)nft_quota, ge 4.9.0),)) + +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_ARP,CONFIG_NF_TABLES_ARP, $(P_V4)nf_tables_arp, lt 4.17),)) + +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_BRIDGE,CONFIG_NF_TABLES_BRIDGE, $(P_EBT)nf_tables_bridge, lt 4.17),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_BRIDGE,CONFIG_NFT_BRIDGE_META, $(P_EBT)nft_meta_bridge),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_BRIDGE,CONFIG_NFT_BRIDGE_REJECT, $(P_EBT)nft_reject_bridge),)) + +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_NAT,CONFIG_NFT_NAT, $(P_XT)nft_nat),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_NAT,CONFIG_NFT_CHAIN_NAT_IPV4, $(P_V4)nft_chain_nat_ipv4),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_NAT,CONFIG_NFT_REDIR_IPV4, $(P_V4)nft_redir_ipv4, ge 3.19.0),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_NAT,CONFIG_NFT_MASQ, $(P_XT)nft_masq),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_NAT,CONFIG_NFT_MASQ_IPV4, $(P_V4)nft_masq_ipv4),)) + +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_NAT6,CONFIG_NFT_REDIR_IPV6, $(P_V6)nft_redir_ipv6, ge 3.19.0),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_NAT6,CONFIG_NFT_CHAIN_NAT_IPV6, $(P_V6)nft_chain_nat_ipv6),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_NAT6,CONFIG_NFT_MASQ_IPV6, $(P_V6)nft_masq_ipv6),)) + +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_FIB,CONFIG_NFT_FIB, $(P_XT)nft_fib),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_FIB,CONFIG_NFT_FIB_INET, $(P_XT)nft_fib_inet),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_FIB,CONFIG_NFT_FIB_IPV4, $(P_V4)nft_fib_ipv4),)) +$(eval $(if $(NF_KMOD),$(call nf_add,NFT_FIB,CONFIG_NFT_FIB_IPV6, $(P_V6)nft_fib_ipv6),)) + + +# userland only +IPT_BUILTIN += $(NF_IPT-y) $(NF_IPT-m) +IPT_BUILTIN += $(IPT_CORE-y) $(IPT_CORE-m) +IPT_BUILTIN += $(NF_CONNTRACK-y) +IPT_BUILTIN += $(NF_CONNTRACK6-y) +IPT_BUILTIN += $(IPT_CONNTRACK-y) +IPT_BUILTIN += $(IPT_CONNTRACK_EXTRA-y) +IPT_BUILTIN += $(IPT_EXTRA-y) +IPT_BUILTIN += $(IPT_PHYSDEV-y) +IPT_BUILTIN += $(IPT_FILTER-y) +IPT_BUILTIN += $(IPT_FLOW-y) $(IPT_FLOW-m) +IPT_BUILTIN += $(IPT_IPOPT-y) +IPT_BUILTIN += $(IPT_IPRANGE-y) +IPT_BUILTIN += $(IPT_CLUSTER-y) +IPT_BUILTIN += $(IPT_CLUSTERIP-y) +IPT_BUILTIN += $(IPT_IPSEC-y) +IPT_BUILTIN += $(IPT_IPV6-y) $(IPT_IPV6-m) +IPT_BUILTIN += $(NF_NAT-y) +IPT_BUILTIN += $(NF_NAT6-y) +IPT_BUILTIN += $(IPT_NAT-y) +IPT_BUILTIN += $(IPT_NAT6-y) +IPT_BUILTIN += $(IPT_NAT_EXTRA-y) +IPT_BUILTIN += $(NF_NATHELPER-y) +IPT_BUILTIN += $(NF_NATHELPER_EXTRA-y) +IPT_BUILTIN += $(IPT_ULOG-y) +IPT_BUILTIN += $(IPT_TPROXY-y) +IPT_BUILTIN += $(NFNETLINK-y) +IPT_BUILTIN += $(NFNETLINK_LOG-y) +IPT_BUILTIN += $(NFNETLINK_QUEUE-y) +IPT_BUILTIN += $(EBTABLES-y) +IPT_BUILTIN += $(EBTABLES_IP4-y) +IPT_BUILTIN += $(EBTABLES_IP6-y) +IPT_BUILTIN += $(EBTABLES_WATCHERS-y) + +endif # __inc_netfilter diff --git a/include/nls.mk b/include/nls.mk new file mode 100644 index 0000000..0483882 --- /dev/null +++ b/include/nls.mk @@ -0,0 +1,40 @@ +# +# Copyright (C) 2011-2012 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +# iconv full +ifeq ($(CONFIG_BUILD_NLS),y) + ICONV_PREFIX:=$(STAGING_DIR)/usr/lib/libiconv-full + ICONV_FULL:=1 + + INTL_PREFIX:=$(STAGING_DIR)/usr/lib/libintl-full + INTL_FULL:=1 + +# iconv stub +else + ICONV_PREFIX:=$(STAGING_DIR)/usr/lib/libiconv-stub + ICONV_FULL:= + + INTL_PREFIX:=$(STAGING_DIR)/usr/lib/libintl-stub + INTL_FULL:= +endif + +PKG_CONFIG_DEPENDS += CONFIG_BUILD_NLS +PKG_BUILD_DEPENDS += !BUILD_NLS:libiconv !BUILD_NLS:gettext + +ICONV_DEPENDS:=+BUILD_NLS:libiconv-full +ICONV_CFLAGS:=-I$(ICONV_PREFIX)/include +ICONV_CPPFLAGS:=-I$(ICONV_PREFIX)/include +ICONV_LDFLAGS:=-L$(ICONV_PREFIX)/lib -Wl,-rpath-link=$(ICONV_PREFIX)/lib + +INTL_DEPENDS:=+BUILD_NLS:libintl-full +INTL_CFLAGS:=-I$(INTL_PREFIX)/include +INTL_CPPFLAGS:=-I$(INTL_PREFIX)/include +INTL_LDFLAGS:=-L$(INTL_PREFIX)/lib -Wl,-rpath-link=$(INTL_PREFIX)/lib + +TARGET_CFLAGS += $(ICONV_CFLAGS) $(INTL_CFLAGS) +TARGET_CPPFLAGS += $(ICONV_CPPFLAGS) $(INTL_CPPFLAGS) +TARGET_LDFLAGS += $(ICONV_LDFLAGS) $(INTL_LDFLAGS) diff --git a/include/package-bin.mk b/include/package-bin.mk new file mode 100644 index 0000000..4ae049a --- /dev/null +++ b/include/package-bin.mk @@ -0,0 +1,43 @@ +# +# Copyright (C) 2007-2014 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +ifeq ($(DUMP),) + define BuildTarget/bin + ifeq ($(if $(VARIANT),$(BUILD_VARIANT)),$(VARIANT)) + ifdef Package/$(1)/install + ifneq ($(CONFIG_PACKAGE_$(1))$(DEVELOPER),) + $(_pkg_target)compile: $(PKG_BUILD_DIR)/.pkgdir/$(1).installed + compile: install-bin-$(1) + else + compile: $(1)-disabled + $(1)-disabled: + @echo "WARNING: skipping $(1) -- package not selected" >&2 + endif + endif + endif + + $(PKG_BUILD_DIR)/.pkgdir/$(1).installed: $(STAMP_BUILT) + rm -rf $(PKG_BUILD_DIR)/.pkgdir/$(1) $$@ + mkdir -p $(PKG_BUILD_DIR)/.pkgdir/$(1) + $(call Package/$(1)/install,$(PKG_BUILD_DIR)/.pkgdir/$(1)) + touch $$@ + + install-bin-$(1): $(PKG_BUILD_DIR)/.pkgdir/$(1).installed + rm -rf $(BIN_DIR)/$(1) + -rmdir $(PKG_BUILD_DIR)/.pkgdir/$(1) >/dev/null 2>/dev/null + if [ -d $(PKG_BUILD_DIR)/.pkgdir/$(1) ]; then \ + $(INSTALL_DIR) $(BIN_DIR)/$(1) && \ + $(CP) $(PKG_BUILD_DIR)/.pkgdir/$(1)/. $(BIN_DIR)/$(1)/; \ + fi + + clean-$(1): + rm -rf $(BIN_DIR)/$(1) + + clean: clean-$(1) + .PHONY: install-bin-$(1) + endef +endif diff --git a/include/package-defaults.mk b/include/package-defaults.mk new file mode 100644 index 0000000..31e331b --- /dev/null +++ b/include/package-defaults.mk @@ -0,0 +1,164 @@ +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +PKG_DEFAULT_DEPENDS = +libc +GCC_LIBSSP:libssp +USE_GLIBC:librt +USE_GLIBC:libpthread + +ifneq ($(PKG_NAME),toolchain) + PKG_FIXUP_DEPENDS = $(if $(filter kmod-%,$(1)),$(2),$(PKG_DEFAULT_DEPENDS) $(filter-out $(PKG_DEFAULT_DEPENDS),$(2))) +else + PKG_FIXUP_DEPENDS = $(2) +endif + +define Package/Default + CONFIGFILE:= + SECTION:=opt + CATEGORY:=Extra packages + DEPENDS:= + MDEPENDS:= + CONFLICTS:= + PROVIDES:= + EXTRA_DEPENDS:= + MAINTAINER:=$(PKG_MAINTAINER) + SOURCE:=$(patsubst $(TOPDIR)/%,%,$(CURDIR)) + ifneq ($(PKG_VERSION),) + ifneq ($(PKG_RELEASE),) + VERSION:=$(PKG_VERSION)-$(PKG_RELEASE) + else + VERSION:=$(PKG_VERSION) + endif + else + VERSION:=$(PKG_RELEASE) + endif + ABI_VERSION:= + ifneq ($(PKG_FLAGS),) + PKGFLAGS:=$(PKG_FLAGS) + else + PKGFLAGS:= + endif + ifneq ($(ARCH_PACKAGES),) + PKGARCH:=$(ARCH_PACKAGES) + else + PKGARCH:=$(BOARD) + endif + DEFAULT:= + MENU:= + SUBMENU:= + SUBMENUDEP:= + TITLE:= + KCONFIG:= + BUILDONLY:= + HIDDEN:= + URL:= + VARIANT:= + DEFAULT_VARIANT:= + USERID:= + ALTERNATIVES:= + LICENSE:=$(PKG_LICENSE) + LICENSE_FILES:=$(PKG_LICENSE_FILES) +endef + +Build/Patch:=$(Build/Patch/Default) +ifneq ($(strip $(PKG_UNPACK)),) + define Build/Prepare/Default + $(PKG_UNPACK) + [ ! -d ./src/ ] || $(CP) ./src/. $(PKG_BUILD_DIR) + $(Build/Patch) + endef +endif + +EXTRA_CXXFLAGS = $(EXTRA_CFLAGS) +ifeq ($(CONFIG_BUILD_NLS),y) + DISABLE_NLS:= +else + DISABLE_NLS:=--disable-nls +endif + +CONFIGURE_PREFIX:=/usr +CONFIGURE_ARGS = \ + --target=$(GNU_TARGET_NAME) \ + --host=$(GNU_TARGET_NAME) \ + --build=$(GNU_HOST_NAME) \ + --program-prefix="" \ + --program-suffix="" \ + --prefix=$(CONFIGURE_PREFIX) \ + --exec-prefix=$(CONFIGURE_PREFIX) \ + --bindir=$(CONFIGURE_PREFIX)/bin \ + --sbindir=$(CONFIGURE_PREFIX)/sbin \ + --libexecdir=$(CONFIGURE_PREFIX)/lib \ + --sysconfdir=/etc \ + --datadir=$(CONFIGURE_PREFIX)/share \ + --localstatedir=/var \ + --mandir=$(CONFIGURE_PREFIX)/man \ + --infodir=$(CONFIGURE_PREFIX)/info \ + $(DISABLE_NLS) \ + $(DISABLE_IPV6) + +CONFIGURE_VARS = \ + $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \ + CXXFLAGS="$(TARGET_CXXFLAGS) $(EXTRA_CXXFLAGS)" \ + CPPFLAGS="$(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS)" \ + +CONFIGURE_PATH = . +CONFIGURE_CMD = ./configure + +replace_script=$(FIND) $(1) -name $(2) | $(XARGS) chmod u+w; \ + $(FIND) $(1) -name $(2) | $(XARGS) -n1 cp --remove-destination \ + $(SCRIPT_DIR)/$(2); + +define Build/Configure/Default + (cd $(PKG_BUILD_DIR)/$(CONFIGURE_PATH)/$(strip $(3)); \ + if [ -x $(CONFIGURE_CMD) ]; then \ + $(call replace_script,$(PKG_BUILD_DIR)/$(3),config.guess) \ + $(call replace_script,$(PKG_BUILD_DIR)/$(3),config.sub) \ + $(CONFIGURE_VARS) \ + $(2) \ + $(CONFIGURE_CMD) \ + $(CONFIGURE_ARGS) \ + $(1); \ + fi; \ + ) +endef + +MAKE_VARS = \ + CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)" \ + CXXFLAGS="$(TARGET_CXXFLAGS) $(EXTRA_CXXFLAGS) $(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS)" + +MAKE_FLAGS = \ + $(TARGET_CONFIGURE_OPTS) \ + CROSS="$(TARGET_CROSS)" \ + ARCH="$(ARCH)" + +MAKE_INSTALL_FLAGS = \ + $(MAKE_FLAGS) \ + DESTDIR="$(PKG_INSTALL_DIR)" + +MAKE_PATH ?= . + +define Build/Compile/Default + +$(MAKE_VARS) \ + $(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR)/$(MAKE_PATH) \ + $(MAKE_FLAGS) \ + $(1); +endef + +define Build/Install/Default + $(MAKE_VARS) \ + $(MAKE) -C $(PKG_BUILD_DIR)/$(MAKE_PATH) \ + $(MAKE_INSTALL_FLAGS) \ + $(if $(1), $(1), install); +endef + +define Build/Dist/Default + $(call Build/Compile/Default, DESTDIR="$(PKG_BUILD_DIR)/tmp" CC="$(TARGET_CC)" dist) +endef + +define Build/DistCheck/Default + $(call Build/Compile/Default, DESTDIR="$(PKG_BUILD_DIR)/tmp" CC="$(TARGET_CC)" distcheck) +endef diff --git a/include/package-dumpinfo.mk b/include/package-dumpinfo.mk new file mode 100644 index 0000000..ef98c48 --- /dev/null +++ b/include/package-dumpinfo.mk @@ -0,0 +1,61 @@ +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +ifneq ($(DUMP),) + + +define SOURCE_INFO +$(if $(PKG_BUILD_DEPENDS),Build-Depends: $(PKG_BUILD_DEPENDS) +)$(if $(HOST_BUILD_DEPENDS),Build-Depends/host: $(HOST_BUILD_DEPENDS) +)$(if $(BUILD_TYPES),Build-Types: $(BUILD_TYPES) +) + +endef + +define Dumpinfo/Package +$(info $(SOURCE_INFO)Package: $(1) +$(if $(MENU),Menu: $(MENU) +)$(if $(SUBMENU),Submenu: $(SUBMENU) +)$(if $(SUBMENUDEP),Submenu-Depends: $(SUBMENUDEP) +)$(if $(DEFAULT),Default: $(DEFAULT) +)$(if $(findstring $(PREREQ_CHECK),1),Prereq-Check: 1 +)Version: $(VERSION) +$(if $(ABI_VERSION),ABIVersion: $(ABI_VERSION) +)Depends: $(call PKG_FIXUP_DEPENDS,$(1),$(DEPENDS)) +Conflicts: $(CONFLICTS) +Menu-Depends: $(MDEPENDS) +Provides: $(PROVIDES) +$(if $(VARIANT),Build-Variant: $(VARIANT) +$(if $(DEFAULT_VARIANT),Default-Variant: $(VARIANT) +))Section: $(SECTION) +Category: $(CATEGORY) +$(if $(filter nonshared,$(PKGFLAGS)),,Repository: $(if $(FEED),$(FEED),base) +)Title: $(TITLE) +Maintainer: $(MAINTAINER) +$(if $(USERID),Require-User: $(USERID) +)Source: $(PKG_SOURCE) +$(if $(LICENSE),License: $(LICENSE) +)$(if $(LICENSE_FILES),LicenseFiles: $(LICENSE_FILES) +)Type: $(if $(Package/$(1)/targets),$(Package/$(1)/targets),$(if $(PKG_TARGETS),$(PKG_TARGETS),ipkg)) +$(if $(KCONFIG),Kernel-Config: $(KCONFIG) +)$(if $(BUILDONLY),Build-Only: $(BUILDONLY) +)$(if $(HIDDEN),Hidden: $(HIDDEN) +)Description: $(if $(Package/$(1)/description),$(Package/$(1)/description),$(TITLE)) +$(if $(URL),$(URL) +)$(MAINTAINER) +@@ +$(if $(Package/$(1)/config),Config: +$(Package/$(1)/config) +@@ +)) +SOURCE_INFO := +endef + +dumpinfo: FORCE + $(if $(SOURCE_INFO),$(info $(SOURCE_INFO))) + +endif diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk new file mode 100644 index 0000000..581987b --- /dev/null +++ b/include/package-ipkg.mk @@ -0,0 +1,273 @@ +# +# Copyright (C) 2006-2014 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +ifndef DUMP + include $(INCLUDE_DIR)/feeds.mk +endif + +# invoke ipkg-build with some default options +IPKG_BUILD:= \ + $(SCRIPT_DIR)/ipkg-build -c -o 0 -g 0 + +IPKG_REMOVE:= \ + $(SCRIPT_DIR)/ipkg-remove + +IPKG_STATE_DIR:=$(TARGET_DIR)/usr/lib/opkg + +# Generates a make statement to return a wildcard for candidate ipkg files +# 1: package name +define gen_ipkg_wildcard + $(1)$$(if $$(filter -%,$$(ABIV_$(1))),,[^a-z-])* +endef + +# 1: package name +# 2: candidate ipk files +define remove_ipkg_files + $(if $(strip $(2)),$(IPKG_REMOVE) $(1) $(2)) +endef + +# 1: package name +# 2: variable name +# 3: variable suffix +# 4: file is a script +define BuildIPKGVariable +ifdef Package/$(1)/$(2) + $$(IPKG_$(1)) : VAR_$(2)$(3)=$$(Package/$(1)/$(2)) + $(call shexport,Package/$(1)/$(2)) + $(1)_COMMANDS += echo "$$$$$$$$$(call shvar,Package/$(1)/$(2))" > $(2)$(3); $(if $(4),chmod 0755 $(2)$(3);) +endif +endef + +PARENL :=( +PARENR :=) + +dep_split=$(subst :,$(space),$(1)) +dep_rem=$(subst !,,$(subst $(strip $(PARENL)),,$(subst $(strip $(PARENR)),,$(word 1,$(call dep_split,$(1)))))) +dep_and=dep_and_res:=$$(and $(subst $(space),$(comma),$(foreach cond,$(subst &&, ,$(1)),$$(CONFIG_$(cond))))) +dep_confvar=$(strip $(foreach cond,$(subst ||, ,$(call dep_rem,$(1))),$(eval $(call dep_and,$(cond)))$(dep_and_res))) +dep_pos=$(if $(call dep_confvar,$(1)),$(call dep_val,$(1))) +dep_neg=$(if $(call dep_confvar,$(1)),,$(call dep_val,$(1))) +dep_if=$(if $(findstring !,$(1)),$(call dep_neg,$(1)),$(call dep_pos,$(1))) +dep_val=$(word 2,$(call dep_split,$(1))) +strip_deps=$(strip $(subst +,,$(filter-out @%,$(1)))) +filter_deps=$(foreach dep,$(call strip_deps,$(1)),$(if $(findstring :,$(dep)),$(call dep_if,$(dep)),$(dep))) + +define AddDependency + $$(if $(1),$$(if $(2),$$(foreach pkg,$(1),$$(IPKG_$$(pkg))): $$(foreach pkg,$(2),$$(IPKG_$$(pkg))))) +endef + +define FixupReverseDependencies + DEPS := $$(filter %:$(1),$$(IDEPEND)) + DEPS := $$(patsubst %:$(1),%,$$(DEPS)) + DEPS := $$(filter $$(DEPS),$$(IPKGS)) + $(call AddDependency,$$(DEPS),$(1)) +endef + +define FixupDependencies + DEPS := $$(filter $(1):%,$$(IDEPEND)) + DEPS := $$(patsubst $(1):%,%,$$(DEPS)) + DEPS := $$(filter $$(DEPS),$$(IPKGS)) + $(call AddDependency,$(1),$$(DEPS)) +endef + +ifneq ($(PKG_NAME),toolchain) + define CheckDependencies + @( \ + rm -f $(PKG_INFO_DIR)/$(1).missing; \ + ( \ + export \ + READELF=$(TARGET_CROSS)readelf \ + OBJCOPY=$(TARGET_CROSS)objcopy \ + XARGS="$(XARGS)"; \ + $(SCRIPT_DIR)/gen-dependencies.sh "$$(IDIR_$(1))"; \ + ) | while read FILE; do \ + grep -qxF "$$$$FILE" $(PKG_INFO_DIR)/$(1).provides || \ + echo "$$$$FILE" >> $(PKG_INFO_DIR)/$(1).missing; \ + done; \ + if [ -f "$(PKG_INFO_DIR)/$(1).missing" ]; then \ + echo "Package $(1) is missing dependencies for the following libraries:" >&2; \ + cat "$(PKG_INFO_DIR)/$(1).missing" >&2; \ + false; \ + fi; \ + ) + endef +endif + +_addsep=$(word 1,$(1))$(foreach w,$(wordlist 2,$(words $(1)),$(1)),$(strip $(2) $(w))) +_cleansep=$(subst $(space)$(2)$(space),$(2)$(space),$(1)) +mergelist=$(call _cleansep,$(call _addsep,$(1),$(comma)),$(comma)) +addfield=$(if $(strip $(2)),$(1): $(2)) +_define=define +_endef=endef + +ifeq ($(DUMP),) + define BuildTarget/ipkg + ABIV_$(1):=$(call GetABISuffix,$(1)) + PDIR_$(1):=$(call FeedPackageDir,$(1)) + IPKG_$(1):=$$(PDIR_$(1))/$(1)$$(ABIV_$(1))_$(VERSION)_$(PKGARCH).ipk + IDIR_$(1):=$(PKG_BUILD_DIR)/ipkg-$(PKGARCH)/$(1) + KEEP_$(1):=$(strip $(call Package/$(1)/conffiles)) + + ifeq ($(BUILD_VARIANT),$$(if $$(VARIANT),$$(VARIANT),$(BUILD_VARIANT))) + do_install= + ifdef Package/$(1)/install + do_install=yes + endif + ifdef Package/$(1)/install-overlay + do_install=yes + endif + ifdef do_install + ifneq ($(CONFIG_PACKAGE_$(1))$(DEVELOPER),) + IPKGS += $(1) + $(_pkg_target)compile: $$(IPKG_$(1)) $(PKG_INFO_DIR)/$(1).provides $(PKG_BUILD_DIR)/.pkgdir/$(1).installed + prepare-package-install: $$(IPKG_$(1)) + compile: $(STAGING_DIR_ROOT)/stamp/.$(1)_installed + else + $(if $(CONFIG_PACKAGE_$(1)),$$(info WARNING: skipping $(1) -- package not selected)) + endif + + .PHONY: $(PKG_INSTALL_STAMP).$(1) + ifeq ($(CONFIG_PACKAGE_$(1)),y) + compile: $(PKG_INSTALL_STAMP).$(1) + endif + $(PKG_INSTALL_STAMP).$(1): prepare-package-install + echo "$(1)" >> $(PKG_INSTALL_STAMP) + else + $(if $(CONFIG_PACKAGE_$(1)),$$(warning WARNING: skipping $(1) -- package has no install section)) + endif + endif + + DEPENDS:=$(call PKG_FIXUP_DEPENDS,$(1),$(DEPENDS)) + IDEPEND_$(1):=$$(call filter_deps,$$(DEPENDS)) + IDEPEND += $$(patsubst %,$(1):%,$$(IDEPEND_$(1))) + $(FixupDependencies) + $(FixupReverseDependencies) + + $(eval $(call BuildIPKGVariable,$(1),conffiles)) + $(eval $(call BuildIPKGVariable,$(1),preinst,,1)) + $(eval $(call BuildIPKGVariable,$(1),postinst,-pkg,1)) + $(eval $(call BuildIPKGVariable,$(1),prerm,-pkg,1)) + $(eval $(call BuildIPKGVariable,$(1),postrm,,1)) + + $(PKG_BUILD_DIR)/.pkgdir/$(1).installed : export PATH=$$(TARGET_PATH_PKG) + $(PKG_BUILD_DIR)/.pkgdir/$(1).installed: $(STAMP_BUILT) + rm -rf $$@ $(PKG_BUILD_DIR)/.pkgdir/$(1) + mkdir -p $(PKG_BUILD_DIR)/.pkgdir/$(1) + $(call Package/$(1)/install,$(PKG_BUILD_DIR)/.pkgdir/$(1)) + $(call Package/$(1)/install_lib,$(PKG_BUILD_DIR)/.pkgdir/$(1)) + touch $$@ + + $(STAGING_DIR_ROOT)/stamp/.$(1)_installed: $(PKG_BUILD_DIR)/.pkgdir/$(1).installed + mkdir -p $(STAGING_DIR_ROOT)/stamp + $(if $(ABI_VERSION),echo '$(ABI_VERSION)' | cmp -s - $(PKG_INFO_DIR)/$(1).version || echo '$(ABI_VERSION)' > $(PKG_INFO_DIR)/$(1).version) + $(call locked,$(CP) $(PKG_BUILD_DIR)/.pkgdir/$(1)/. $(STAGING_DIR_ROOT)/,root-copy) + touch $$@ + + Package/$(1)/DEPENDS := $$(call mergelist,$$(foreach dep,$$(filter-out @%,$$(IDEPEND_$(1))),$$(dep)$$(call GetABISuffix,$$(dep)))) + ifneq ($$(EXTRA_DEPENDS),) + Package/$(1)/DEPENDS := $$(EXTRA_DEPENDS)$$(if $$(Package/$(1)/DEPENDS),$$(comma) $$(Package/$(1)/DEPENDS)) + endif + +$(_define) Package/$(1)/CONTROL +Package: $(1)$$(ABIV_$(1)) +Version: $(VERSION) +$$(call addfield,Depends,$$(Package/$(1)/DEPENDS) +)$$(call addfield,Conflicts,$$(call mergelist,$(CONFLICTS)) +)$$(call addfield,Provides,$$(call mergelist,$$(filter-out $(1)$$(ABIV_$(1)),$(PROVIDES)$$(if $$(ABIV_$(1)), $(1) $(foreach provide,$(PROVIDES),$(provide)$$(call GetABISuffix,$(provide)))))) +)$$(call addfield,Alternatives,$$(call mergelist,$(ALTERNATIVES)) +)$$(call addfield,Source,$(SOURCE) +)$$(call addfield,SourceName,$(1) +)$$(call addfield,License,$(LICENSE) +)$$(call addfield,LicenseFiles,$(LICENSE_FILES) +)$$(call addfield,Section,$(SECTION) +)$$(call addfield,Require-User,$(USERID) +)$(if $(filter hold,$(PKG_FLAGS)),Status: unknown hold not-installed +)$(if $(filter essential,$(PKG_FLAGS)),Essential: yes +)$(if $(MAINTAINER),Maintainer: $(MAINTAINER) +)Architecture: $(PKGARCH) +Installed-Size: 0 +$(_endef) + + $$(IPKG_$(1)) : export CONTROL=$$(Package/$(1)/CONTROL) + $$(IPKG_$(1)) : export DESCRIPTION=$$(Package/$(1)/description) + $$(IPKG_$(1)) : export PATH=$$(TARGET_PATH_PKG) + $(PKG_INFO_DIR)/$(1).provides $$(IPKG_$(1)): $(STAMP_BUILT) $(INCLUDE_DIR)/package-ipkg.mk + @rm -rf $$(IDIR_$(1)); \ + $$(call remove_ipkg_files,$(1),$$(call opkg_package_files,$(call gen_ipkg_wildcard,$(1)))) + mkdir -p $(PACKAGE_DIR) $$(IDIR_$(1))/CONTROL $(PKG_INFO_DIR) + $(call Package/$(1)/install,$$(IDIR_$(1))) + $(if $(Package/$(1)/install-overlay),mkdir -p $(PACKAGE_DIR) $$(IDIR_$(1))/rootfs-overlay) + $(call Package/$(1)/install-overlay,$$(IDIR_$(1))/rootfs-overlay) + -find $$(IDIR_$(1)) -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| $(XARGS) rm -rf + @( \ + find $$(IDIR_$(1)) -name lib\*.so\* -or -name \*.ko | awk -F/ '{ print $$$$NF }'; \ + for file in $$(patsubst %,$(PKG_INFO_DIR)/%.provides,$$(IDEPEND_$(1))); do \ + if [ -f "$$$$file" ]; then \ + cat $$$$file; \ + fi; \ + done; $(Package/$(1)/extra_provides) \ + ) | sort -u > $(PKG_INFO_DIR)/$(1).provides + $(if $(PROVIDES),@for pkg in $(filter-out $(1),$(PROVIDES)); do cp $(PKG_INFO_DIR)/$(1).provides $(PKG_INFO_DIR)/$$$$pkg.provides; done) + $(CheckDependencies) + + $(RSTRIP) $$(IDIR_$(1)) + + ifneq ($$(CONFIG_IPK_FILES_CHECKSUMS),) + (cd $$(IDIR_$(1)); \ + ( \ + find . -type f \! -path ./CONTROL/\* -exec sha256sum \{\} \; 2> /dev/null | \ + sed 's|\([[:blank:]]\)\./|\1/|' > $$(IDIR_$(1))/CONTROL/files-sha256 \ + ) || true \ + ) + endif + (cd $$(IDIR_$(1))/CONTROL; \ + ( \ + echo "$$$$CONTROL"; \ + printf "Description: "; echo "$$$$DESCRIPTION" | sed -e 's,^[[:space:]]*, ,g'; \ + ) > control; \ + chmod 644 control; \ + ( \ + echo "#!/bin/sh"; \ + echo "[ \"\$$$${IPKG_NO_SCRIPT}\" = \"1\" ] && exit 0"; \ + echo "[ -x "\$$$${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; \ + echo ". \$$$${IPKG_INSTROOT}/lib/functions.sh"; \ + echo "default_postinst \$$$$0 \$$$$@"; \ + ) > postinst; \ + ( \ + echo "#!/bin/sh"; \ + echo "[ -x "\$$$${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; \ + echo ". \$$$${IPKG_INSTROOT}/lib/functions.sh"; \ + echo "default_prerm \$$$$0 \$$$$@"; \ + ) > prerm; \ + chmod 0755 postinst prerm; \ + $($(1)_COMMANDS) \ + ) + + ifneq ($$(KEEP_$(1)),) + @( \ + keepfiles=""; \ + for x in $$(KEEP_$(1)); do \ + [ -f "$$(IDIR_$(1))/$$$$x" ] || keepfiles="$$$${keepfiles:+$$$$keepfiles }$$$$x"; \ + done; \ + [ -z "$$$$keepfiles" ] || { \ + mkdir -p $$(IDIR_$(1))/lib/upgrade/keep.d; \ + for x in $$$$keepfiles; do echo $$$$x >> $$(IDIR_$(1))/lib/upgrade/keep.d/$(1); done; \ + }; \ + ) + endif + + $(INSTALL_DIR) $$(PDIR_$(1)) + $(IPKG_BUILD) $$(IDIR_$(1)) $$(PDIR_$(1)) + @[ -f $$(IPKG_$(1)) ] + + $(1)-clean: + $$(call remove_ipkg_files,$(1),$$(call opkg_package_files,$(call gen_ipkg_wildcard,$(1)))) + + clean: $(1)-clean + + endef +endif diff --git a/include/package-seccomp.mk b/include/package-seccomp.mk new file mode 100644 index 0000000..fa49617 --- /dev/null +++ b/include/package-seccomp.mk @@ -0,0 +1,15 @@ +# +# Copyright (C) 2015 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +PKG_CONFIG_DEPENDS+= CONFIG_KERNEL_SECCOMP + +ifeq ($(CONFIG_KERNEL_SECCOMP),y) + define InstallSeccomp + $(INSTALL_DIR) $(1)/etc/seccomp + $(INSTALL_DATA) $(2) $(1)/etc/seccomp/ + endef +endif diff --git a/include/package.mk b/include/package.mk new file mode 100644 index 0000000..f6aa5ea --- /dev/null +++ b/include/package.mk @@ -0,0 +1,355 @@ +# +# Copyright (C) 2006-2008 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +__package_mk:=1 + +all: $(if $(DUMP),dumpinfo,$(if $(CHECK),check,compile)) + +include $(INCLUDE_DIR)/download.mk + +PKG_BUILD_DIR ?= $(BUILD_DIR)/$(if $(BUILD_VARIANT),$(PKG_NAME)-$(BUILD_VARIANT)/)$(PKG_NAME)$(if $(PKG_VERSION),-$(PKG_VERSION)) +PKG_INSTALL_DIR ?= $(PKG_BUILD_DIR)/ipkg-install +PKG_BUILD_PARALLEL ?= +PKG_USE_MIPS16 ?= 1 +PKG_IREMAP ?= 1 + +MAKE_J:=$(if $(MAKE_JOBSERVER),$(MAKE_JOBSERVER) $(if $(filter 3.% 4.0 4.1,$(MAKE_VERSION)),-j)) + +ifeq ($(strip $(PKG_BUILD_PARALLEL)),0) +PKG_JOBS?=-j1 +else +PKG_JOBS?=$(if $(PKG_BUILD_PARALLEL),$(MAKE_J),-j1) +endif +ifdef CONFIG_USE_MIPS16 + ifeq ($(strip $(PKG_USE_MIPS16)),1) + TARGET_ASFLAGS_DEFAULT = $(filter-out -mips16 -minterlink-mips16,$(TARGET_CFLAGS)) + TARGET_CFLAGS += -mips16 -minterlink-mips16 + endif +endif +ifeq ($(strip $(PKG_IREMAP)),1) + IREMAP_CFLAGS = $(call iremap,$(PKG_BUILD_DIR),$(notdir $(PKG_BUILD_DIR))) + TARGET_CFLAGS += $(IREMAP_CFLAGS) +endif + +include $(INCLUDE_DIR)/hardening.mk +include $(INCLUDE_DIR)/prereq.mk +include $(INCLUDE_DIR)/unpack.mk +include $(INCLUDE_DIR)/depends.mk + +ifneq ($(wildcard $(TOPDIR)/git-src/$(PKG_NAME)/.git),) + USE_GIT_SRC_CHECKOUT:=1 + QUILT:=1 +endif +ifneq ($(if $(CONFIG_SRC_TREE_OVERRIDE),$(wildcard ./git-src)),) + USE_GIT_TREE:=1 + QUILT:=1 +endif +ifdef USE_SOURCE_DIR + QUILT:=1 +endif +ifneq ($(wildcard $(PKG_BUILD_DIR)/.source_dir),) + QUILT:=1 +endif + +include $(INCLUDE_DIR)/quilt.mk + +find_library_dependencies = \ + $(wildcard $(patsubst %,$(STAGING_DIR)/pkginfo/%.version, \ + $(sort $(foreach dep4, \ + $(sort $(foreach dep3, \ + $(sort $(foreach dep2, \ + $(sort $(foreach dep1, \ + $(sort $(foreach dep0, \ + $(Package/$(1)/depends), \ + $(Package/$(dep0)/depends) $(dep0) \ + )), \ + $(Package/$(dep1)/depends) $(dep1) \ + )), \ + $(Package/$(dep2)/depends) $(dep2) \ + )), \ + $(Package/$(dep3)/depends) $(dep3) \ + )), \ + $(Package/$(dep4)/depends) $(dep4) \ + )), \ + )) + + +PKG_DIR_NAME:=$(lastword $(subst /,$(space),$(CURDIR))) +STAMP_NO_AUTOREBUILD=$(wildcard $(PKG_BUILD_DIR)/.no_autorebuild) +PREV_STAMP_PREPARED:=$(if $(STAMP_NO_AUTOREBUILD),$(wildcard $(PKG_BUILD_DIR)/.prepared*)) +ifneq ($(PREV_STAMP_PREPARED),) + STAMP_PREPARED:=$(PREV_STAMP_PREPARED) + CONFIG_AUTOREBUILD:= +else + STAMP_PREPARED=$(PKG_BUILD_DIR)/.prepared$(if $(QUILT)$(DUMP),,_$(shell $(call find_md5,${CURDIR} $(PKG_FILE_DEPENDS),))_$(call confvar,CONFIG_AUTOREMOVE $(PKG_PREPARED_DEPENDS))) +endif +STAMP_CONFIGURED=$(PKG_BUILD_DIR)/.configured$(if $(DUMP),,_$(call confvar,$(PKG_CONFIG_DEPENDS))) +STAMP_CONFIGURED_WILDCARD=$(PKG_BUILD_DIR)/.configured_* +STAMP_BUILT:=$(PKG_BUILD_DIR)/.built +STAMP_INSTALLED:=$(STAGING_DIR)/stamp/.$(PKG_DIR_NAME)$(if $(BUILD_VARIANT),.$(BUILD_VARIANT),)_installed + +STAGING_FILES_LIST:=$(PKG_DIR_NAME)$(if $(BUILD_VARIANT),.$(BUILD_VARIANT),).list + +define CleanStaging + rm -f $(STAMP_INSTALLED) + @-(\ + if [ -f $(STAGING_DIR)/packages/$(STAGING_FILES_LIST) ]; then \ + $(SCRIPT_DIR)/clean-package.sh \ + "$(STAGING_DIR)/packages/$(STAGING_FILES_LIST)" \ + "$(STAGING_DIR)"; \ + fi; \ + ) +endef + + +PKG_INSTALL_STAMP:=$(PKG_INFO_DIR)/$(PKG_DIR_NAME).$(if $(BUILD_VARIANT),$(BUILD_VARIANT),default).install + +include $(INCLUDE_DIR)/package-defaults.mk +include $(INCLUDE_DIR)/package-dumpinfo.mk +include $(INCLUDE_DIR)/package-ipkg.mk +include $(INCLUDE_DIR)/package-bin.mk +include $(INCLUDE_DIR)/autotools.mk + +_pkg_target:=$(if $(QUILT),,.) + +override MAKEFLAGS= +CONFIG_SITE:=$(INCLUDE_DIR)/site/$(ARCH) +CUR_MAKEFILE:=$(filter-out Makefile,$(firstword $(MAKEFILE_LIST))) +SUBMAKE:=$(NO_TRACE_MAKE) $(if $(CUR_MAKEFILE),-f $(CUR_MAKEFILE)) +PKG_CONFIG_PATH=$(STAGING_DIR)/usr/lib/pkgconfig:$(STAGING_DIR)/usr/share/pkgconfig +unexport QUIET CONFIG_SITE + +ifeq ($(DUMP)$(filter prereq clean refresh update,$(MAKECMDGOALS)),) + ifneq ($(if $(QUILT),,$(CONFIG_AUTOREBUILD)),) + define Build/Autoclean + $(PKG_BUILD_DIR)/.dep_files: $(STAMP_PREPARED) + $(call rdep,${CURDIR} $(PKG_FILE_DEPENDS),$(STAMP_PREPARED),$(PKG_BUILD_DIR)/.dep_files,-x "*/.dep_*") + $(if $(filter prepare,$(MAKECMDGOALS)),,$(call rdep,$(PKG_BUILD_DIR),$(STAMP_BUILT),,-x "*/.dep_*" -x "*/ipkg*")) + endef + endif +endif + +ifdef USE_GIT_SRC_CHECKOUT + define Build/Prepare/Default + mkdir -p $(PKG_BUILD_DIR) + ln -s $(TOPDIR)/git-src/$(PKG_NAME)/.git $(PKG_BUILD_DIR)/.git + ( cd $(PKG_BUILD_DIR); \ + git checkout .; \ + git submodule update --recursive; \ + git submodule foreach git config --unset core.worktree; \ + git submodule foreach git checkout .; \ + ) + endef +endif +ifdef USE_GIT_TREE + define Build/Prepare/Default + mkdir -p $(PKG_BUILD_DIR) + ln -s $(CURDIR)/git-src $(PKG_BUILD_DIR)/.git + ( cd $(PKG_BUILD_DIR); \ + git checkout .; \ + git submodule update --recursive; \ + git submodule foreach git config --unset core.worktree; \ + git submodule foreach git checkout .; \ + ) + endef +endif +ifdef USE_SOURCE_DIR + define Build/Prepare/Default + rm -rf $(PKG_BUILD_DIR) + $(if $(wildcard $(USE_SOURCE_DIR)/*),,@echo "Error: USE_SOURCE_DIR=$(USE_SOURCE_DIR) path not found"; false) + ln -snf $(USE_SOURCE_DIR) $(PKG_BUILD_DIR) + touch $(PKG_BUILD_DIR)/.source_dir + endef +endif + +define Build/Exports/Default + $(1) : export ACLOCAL_INCLUDE=$$(foreach p,$$(wildcard $$(STAGING_DIR)/usr/share/aclocal $$(STAGING_DIR)/usr/share/aclocal-* $$(STAGING_DIR_HOSTPKG)/share/aclocal $$(STAGING_DIR_HOSTPKG)/share/aclocal-* $$(STAGING_DIR)/host/share/aclocal $$(STAGING_DIR)/host/share/aclocal-*),-I $$(p)) + $(1) : export STAGING_PREFIX=$$(STAGING_DIR)/usr + $(1) : export PATH=$$(TARGET_PATH_PKG) + $(1) : export CONFIG_SITE:=$$(CONFIG_SITE) + $(1) : export PKG_CONFIG_PATH:=$$(PKG_CONFIG_PATH) + $(1) : export PKG_CONFIG_LIBDIR:=$$(PKG_CONFIG_PATH) + $(if $(CONFIG_CCACHE),$(1) : export CCACHE_DIR:=$(STAGING_DIR)/ccache) +endef +Build/Exports=$(Build/Exports/Default) + +define Build/CoreTargets + STAMP_PREPARED:=$$(STAMP_PREPARED) + STAMP_CONFIGURED:=$$(STAMP_CONFIGURED) + + $(if $(QUILT),$(Build/Quilt)) + $(call Build/Autoclean) + $(call DefaultTargets) + + $(DL_DIR)/$(FILE): FORCE + + download: + $(foreach hook,$(Hooks/Download), + $(call $(hook))$(sep) + ) + + $(STAMP_PREPARED) : export PATH=$$(TARGET_PATH_PKG) + $(STAMP_PREPARED): $(STAMP_PREPARED_DEPENDS) + @-rm -rf $(PKG_BUILD_DIR) + @mkdir -p $(PKG_BUILD_DIR) + touch $$@_check + $(foreach hook,$(Hooks/Prepare/Pre),$(call $(hook))$(sep)) + $(Build/Prepare) + $(foreach hook,$(Hooks/Prepare/Post),$(call $(hook))$(sep)) + touch $$@ + + $(call Build/Exports,$(STAMP_CONFIGURED)) + $(STAMP_CONFIGURED): $(STAMP_PREPARED) $(STAMP_CONFIGURED_DEPENDS) + rm -f $(STAMP_CONFIGURED_WILDCARD) + $(CleanStaging) + $(foreach hook,$(Hooks/Configure/Pre),$(call $(hook))$(sep)) + $(Build/Configure) + $(foreach hook,$(Hooks/Configure/Post),$(call $(hook))$(sep)) + touch $$@ + + $(call Build/Exports,$(STAMP_BUILT)) + $(STAMP_BUILT): $(STAMP_CONFIGURED) $(STAMP_BUILT_DEPENDS) + rm -f $$@ + touch $$@_check + $(foreach hook,$(Hooks/Compile/Pre),$(call $(hook))$(sep)) + $(Build/Compile) + $(foreach hook,$(Hooks/Compile/Post),$(call $(hook))$(sep)) + $(Build/Install) + $(foreach hook,$(Hooks/Install/Post),$(call $(hook))$(sep)) + touch $$@ + + $(STAMP_INSTALLED) : export PATH=$$(TARGET_PATH_PKG) + $(STAMP_INSTALLED): $(STAMP_BUILT) + rm -rf $(TMP_DIR)/stage-$(PKG_DIR_NAME) + mkdir -p $(TMP_DIR)/stage-$(PKG_DIR_NAME)/host $(STAGING_DIR)/packages $(STAGING_DIR_HOST)/packages + $(foreach hook,$(Hooks/InstallDev/Pre),\ + $(call $(hook),$(TMP_DIR)/stage-$(PKG_DIR_NAME),$(TMP_DIR)/stage-$(PKG_DIR_NAME)/host)$(sep)\ + ) + $(call Build/InstallDev,$(TMP_DIR)/stage-$(PKG_DIR_NAME),$(TMP_DIR)/stage-$(PKG_DIR_NAME)/host) + $(foreach hook,$(Hooks/InstallDev/Post),\ + $(call $(hook),$(TMP_DIR)/stage-$(PKG_DIR_NAME),$(TMP_DIR)/stage-$(PKG_DIR_NAME)/host)$(sep)\ + ) + if [ -f $(STAGING_DIR)/packages/$(STAGING_FILES_LIST) ]; then \ + $(SCRIPT_DIR)/clean-package.sh \ + "$(STAGING_DIR)/packages/$(STAGING_FILES_LIST)" \ + "$(STAGING_DIR)"; \ + fi + if [ -d $(TMP_DIR)/stage-$(PKG_DIR_NAME) ]; then \ + (cd $(TMP_DIR)/stage-$(PKG_DIR_NAME); find ./ > $(TMP_DIR)/stage-$(PKG_DIR_NAME).files); \ + $(call locked, \ + mv $(TMP_DIR)/stage-$(PKG_DIR_NAME).files $(STAGING_DIR)/packages/$(STAGING_FILES_LIST) && \ + $(CP) $(TMP_DIR)/stage-$(PKG_DIR_NAME)/* $(STAGING_DIR)/; \ + ,staging-dir); \ + fi + rm -rf $(TMP_DIR)/stage-$(PKG_DIR_NAME) + touch $$@ + + ifdef Build/InstallDev + $(_pkg_target)compile: $(STAMP_INSTALLED) + endif + + $(_pkg_target)prepare: $(STAMP_PREPARED) + $(_pkg_target)configure: $(STAMP_CONFIGURED) + $(_pkg_target)dist: $(STAMP_CONFIGURED) + $(_pkg_target)distcheck: $(STAMP_CONFIGURED) + + ifneq ($(CONFIG_AUTOREMOVE),) + compile: + -touch -r $(PKG_BUILD_DIR)/.built $(PKG_BUILD_DIR)/.autoremove 2>/dev/null >/dev/null + $(FIND) $(PKG_BUILD_DIR) -mindepth 1 -maxdepth 1 -not '(' -type f -and -name '.*' -and -size 0 ')' -and -not -name '.pkgdir' | \ + $(XARGS) rm -rf + endif +endef + +define Build/DefaultTargets + $(if $(USE_SOURCE_DIR)$(USE_GIT_TREE)$(USE_GIT_SRC_CHECKOUT),,$(if $(strip $(PKG_SOURCE_URL)),$(call Download,default))) + $(if $(DUMP),,$(Build/CoreTargets)) + + define Build/DefaultTargets + endef +endef + +define BuildPackage + $(eval $(Package/Default)) + $(eval $(Package/$(1))) + +ifdef DESCRIPTION +$$(error DESCRIPTION:= is obsolete, use Package/PKG_NAME/description) +endif + +ifndef Package/$(1)/description +define Package/$(1)/description + $(TITLE) +endef +endif + + BUILD_PACKAGES += $(1) + $(STAMP_PREPARED): $$(if $(QUILT)$(DUMP),,$(call find_library_dependencies,$(1))) + + $(foreach FIELD, TITLE CATEGORY SECTION VERSION, + ifeq ($($(FIELD)),) + $$(error Package/$(1) is missing the $(FIELD) field) + endif + ) + + $(if $(DUMP), \ + $(if $(CHECK),,$(Dumpinfo/Package)), \ + $(foreach target, \ + $(if $(Package/$(1)/targets),$(Package/$(1)/targets), \ + $(if $(PKG_TARGETS),$(PKG_TARGETS), ipkg) \ + ), $(BuildTarget/$(target)) \ + ) \ + ) + $(if $(PKG_HOST_ONLY),,$(call Build/DefaultTargets,$(1))) +endef + +define pkg_install_files + $(foreach install_file,$(1),$(INSTALL_DIR) $(3)/`dirname $(install_file)`; $(INSTALL_DATA) $(2)/$(install_file) $(3)/`dirname $(install_file)`;) +endef + +define pkg_install_bin + $(foreach install_apps,$(1),$(INSTALL_DIR) $(3)/`dirname $(install_apps)`; $(INSTALL_BIN) $(2)/$(install_apps) $(3)/`dirname $(install_apps)`;) +endef + +Build/Prepare=$(call Build/Prepare/Default,) +Build/Configure=$(call Build/Configure/Default,) +Build/Compile=$(call Build/Compile/Default,) +Build/Install=$(if $(PKG_INSTALL),$(call Build/Install/Default,)) +Build/Dist=$(call Build/Dist/Default,) +Build/DistCheck=$(call Build/DistCheck/Default,) + +.NOTPARALLEL: + +.PHONY: prepare-package-install +prepare-package-install: + @mkdir -p $(PKG_INFO_DIR) + @rm -f $(PKG_INSTALL_STAMP) + @echo "$(filter-out essential nonshared,$(PKG_FLAGS))" > $(PKG_INSTALL_STAMP).flags + +$(PACKAGE_DIR): + mkdir -p $@ + +compile: +.install: .compile +install: compile + +force-clean-build: FORCE + rm -rf $(PKG_BUILD_DIR) + +clean-build: $(if $(wildcard $(PKG_BUILD_DIR)/.autoremove),force-clean-build) + +clean: force-clean-build + $(CleanStaging) + $(call Build/UninstallDev,$(STAGING_DIR),$(STAGING_DIR_HOST)) + $(Build/Clean) + rm -f $(STAGING_DIR)/packages/$(STAGING_FILES_LIST) $(STAGING_DIR_HOST)/packages/$(STAGING_FILES_LIST) + +dist: + $(Build/Dist) + +distcheck: + $(Build/DistCheck) diff --git a/include/prereq-build.mk b/include/prereq-build.mk new file mode 100644 index 0000000..4528f87 --- /dev/null +++ b/include/prereq-build.mk @@ -0,0 +1,154 @@ +# +# Copyright (C) 2006-2012 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk +include $(INCLUDE_DIR)/prereq.mk + +SHELL:=sh +PKG_NAME:=Build dependency + + +# Required for the toolchain +$(eval $(call TestHostCommand,working-make, \ + Please install GNU make v3.81 or later. (This version has bugs), \ + $(MAKE) -v | grep -E 'Make (3\.8[1-9]|3\.9[0-9]|[4-9]\.)')) + +$(eval $(call TestHostCommand,case-sensitive-fs, \ + OpenWrt can only be built on a case-sensitive filesystem, \ + rm -f $(TMP_DIR)/test.*; touch $(TMP_DIR)/test.fs; \ + test ! -f $(TMP_DIR)/test.FS)) + +$(eval $(call TestHostCommand,proper-umask, \ + Please build with umask 022 - other values produce broken packages, \ + umask | grep -xE 0?0[012][012])) + +ifndef IB +$(eval $(call SetupHostCommand,gcc, \ + Please install the GNU C Compiler (gcc) 4.8 or later, \ + $(CC) -dumpversion | grep -E '^(4\.[8-9]|[5-9]\.?|1[0-9]\.?)', \ + gcc -dumpversion | grep -E '^(4\.[8-9]|[5-9]\.?|1[0-9]\.?)', \ + gcc --version | grep -E 'Apple.(LLVM|clang)' )) + +$(eval $(call TestHostCommand,working-gcc, \ + \nPlease reinstall the GNU C Compiler (4.8 or later) - \ + it appears to be broken, \ + echo 'int main(int argc, char **argv) { return 0; }' | \ + gcc -x c -o $(TMP_DIR)/a.out -)) + +$(eval $(call SetupHostCommand,g++, \ + Please install the GNU C++ Compiler (g++) 4.8 or later, \ + $(CXX) -dumpversion | grep -E '^(4\.[8-9]|[5-9]\.?|1[0-9]\.?)', \ + g++ -dumpversion | grep -E '^(4\.[8-9]|[5-9]\.?|1[0-9]\.?)', \ + g++ --version | grep -E 'Apple.(LLVM|clang)' )) + +$(eval $(call TestHostCommand,working-g++, \ + \nPlease reinstall the GNU C++ Compiler (4.8 or later) - \ + it appears to be broken, \ + echo 'int main(int argc, char **argv) { return 0; }' | \ + g++ -x c++ -o $(TMP_DIR)/a.out - -lstdc++ && \ + $(TMP_DIR)/a.out)) + +$(eval $(call TestHostCommand,ncurses, \ + Please install ncurses. (Missing libncurses.so or ncurses.h), \ + echo 'int main(int argc, char **argv) { initscr(); return 0; }' | \ + gcc -include ncurses.h -x c -o $(TMP_DIR)/a.out - -lncurses)) +endif # IB + +ifeq ($(HOST_OS),Linux) + zlib_link_flags := -Wl,-Bstatic -lz -Wl,-Bdynamic +else + zlib_link_flags := -lz +endif + +$(eval $(call TestHostCommand,perl-thread-queue, \ + Please install the Perl Thread::Queue module, \ + perl -MThread::Queue -e 1)) + + +$(eval $(call SetupHostCommand,tar,Please install GNU 'tar', \ + gtar --version 2>&1 | grep GNU, \ + gnutar --version 2>&1 | grep GNU, \ + tar --version 2>&1 | grep GNU)) + +$(eval $(call SetupHostCommand,find,Please install GNU 'find', \ + gfind --version 2>&1 | grep GNU, \ + find --version 2>&1 | grep GNU)) + +$(eval $(call SetupHostCommand,bash,Please install GNU 'bash', \ + bash --version 2>&1 | grep GNU)) + +$(eval $(call SetupHostCommand,patch,Please install GNU 'patch', \ + gpatch --version 2>&1 | grep 'Free Software Foundation', \ + patch --version 2>&1 | grep 'Free Software Foundation')) + +$(eval $(call SetupHostCommand,diff,Please install diffutils, \ + gdiff --version 2>&1 | grep diff, \ + diff --version 2>&1 | grep diff)) + +$(eval $(call SetupHostCommand,cp,Please install GNU fileutils, \ + gcp --help 2>&1 | grep 'Copy SOURCE', \ + cp --help 2>&1 | grep 'Copy SOURCE')) + +$(eval $(call SetupHostCommand,seq,, \ + gseq --version, \ + seq --version)) + +$(eval $(call SetupHostCommand,awk,Please install GNU 'awk', \ + gawk --version 2>&1 | grep GNU, \ + awk --version 2>&1 | grep GNU)) + +$(eval $(call SetupHostCommand,grep,Please install GNU 'grep', \ + ggrep --version 2>&1 | grep GNU, \ + grep --version 2>&1 | grep GNU)) + +$(eval $(call SetupHostCommand,getopt, \ + Please install an extended getopt version that supports --long, \ + gnugetopt -o t --long test -- --test | grep '^ *--test *--', \ + /usr/local/bin/getopt -o t --long test -- --test | grep '^ *--test *--', \ + getopt -o t --long test -- --test | grep '^ *--test *--')) + +$(eval $(call SetupHostCommand,stat,Cannot find a file stat utility, \ + gnustat -c%s $(TOPDIR)/Makefile, \ + gstat -c%s $(TOPDIR)/Makefile, \ + stat -c%s $(TOPDIR)/Makefile)) + +$(eval $(call SetupHostCommand,unzip,Please install 'unzip', \ + unzip 2>&1 | grep zipfile, \ + unzip)) + +$(eval $(call SetupHostCommand,bzip2,Please install 'bzip2', \ + bzip2 --version &1 | grep 'Python 2.7', \ + python2 -V 2>&1 | grep 'Python 2', \ + python -V 2>&1 | grep 'Python 2')) + +$(eval $(call SetupHostCommand,git,Please install Git (git-core) >= 1.7.12.2, \ + git --exec-path | xargs -I % -- grep -q -- --recursive %/git-submodule)) + +$(eval $(call SetupHostCommand,file,Please install the 'file' package, \ + file --version 2>&1 | grep file)) + +$(STAGING_DIR_HOST)/bin/mkhash: $(SCRIPT_DIR)/mkhash.c + mkdir -p $(dir $@) + $(CC) -O2 -I$(TOPDIR)/tools/include -o $@ $< + +prereq: $(STAGING_DIR_HOST)/bin/mkhash + +# Install ldconfig stub +$(eval $(call TestHostCommand,ldconfig-stub,Failed to install stub, \ + touch $(STAGING_DIR_HOST)/bin/ldconfig && \ + chmod +x $(STAGING_DIR_HOST)/bin/ldconfig)) diff --git a/include/prereq.mk b/include/prereq.mk new file mode 100644 index 0000000..60f1e47 --- /dev/null +++ b/include/prereq.mk @@ -0,0 +1,121 @@ +# +# Copyright (C) 2006-2015 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +ifneq ($(__prereq_inc),1) +__prereq_inc:=1 + +prereq: + if [ -f $(TMP_DIR)/.prereq-error ]; then \ + echo; \ + cat $(TMP_DIR)/.prereq-error; \ + rm -f $(TMP_DIR)/.prereq-error; \ + echo; \ + false; \ + fi + +.SILENT: prereq +endif + +PREREQ_PREV= + +# 1: display name +# 2: error message +define Require + export PREREQ_CHECK=1 + ifeq ($$(CHECK_$(1)),) + prereq: prereq-$(1) + + prereq-$(1): $(if $(PREREQ_PREV),prereq-$(PREREQ_PREV)) FORCE + printf "Checking '$(1)'... " + if $(NO_TRACE_MAKE) -f $(firstword $(MAKEFILE_LIST)) check-$(1) >/dev/null 2>/dev/null; then \ + echo 'ok.'; \ + else \ + echo 'failed.'; \ + echo "$(PKG_NAME): $(strip $(2))" >> $(TMP_DIR)/.prereq-error; \ + fi + + check-$(1): FORCE + $(call Require/$(1)) + CHECK_$(1):=1 + + .SILENT: prereq-$(1) check-$(1) + .NOTPARALLEL: + endif + + PREREQ_PREV=$(1) +endef + + +define RequireCommand + define Require/$(1) + which $(1) + endef + + $$(eval $$(call Require,$(1),$(2))) +endef + +define RequireHeader + define Require/$(1) + [ -e "$(1)" ] + endef + + $$(eval $$(call Require,$(1),$(2))) +endef + +define CleanupPython3 + define Require/python3-cleanup + if [ -f "$(STAGING_DIR_HOST)/bin/python" ] && \ + $(STAGING_DIR_HOST)/bin/python -V 2>&1 | \ + grep -q 'Python 3'; then \ + rm $(STAGING_DIR_HOST)/bin/python; \ + fi + endef + + $$(eval $$(call Require,python3-cleanup)) +endef + +define QuoteHostCommand +'$(subst ','"'"',$(strip $(1)))' +endef + +# 1: display name +# 2: failure message +# 3: test +define TestHostCommand + define Require/$(1) + ($(3)) >/dev/null 2>/dev/null + endef + + $$(eval $$(call Require,$(1),$(2))) +endef + +# 1: canonical name +# 2: failure message +# 3+: candidates +define SetupHostCommand + define Require/$(1) + [ -f "$(STAGING_DIR_HOST)/bin/$(strip $(1))" ] && exit 0; \ + for cmd in $(call QuoteHostCommand,$(3)) $(call QuoteHostCommand,$(4)) \ + $(call QuoteHostCommand,$(5)) $(call QuoteHostCommand,$(6)) \ + $(call QuoteHostCommand,$(7)) $(call QuoteHostCommand,$(8)) \ + $(call QuoteHostCommand,$(9)) $(call QuoteHostCommand,$(10)) \ + $(call QuoteHostCommand,$(11)) $(call QuoteHostCommand,$(12)); do \ + if [ -n "$$$$$$$$cmd" ]; then \ + bin="$$$$$$$$(PATH="$(subst $(space),:,$(filter-out $(STAGING_DIR_HOST)/%,$(subst :,$(space),$(PATH))))" \ + which "$$$$$$$${cmd%% *}")"; \ + if [ -x "$$$$$$$$bin" ] && eval "$$$$$$$$cmd" >/dev/null 2>/dev/null; then \ + mkdir -p "$(STAGING_DIR_HOST)/bin"; \ + ln -sf "$$$$$$$$bin" "$(STAGING_DIR_HOST)/bin/$(strip $(1))"; \ + exit 0; \ + fi; \ + fi; \ + done; \ + exit 1 + endef + + $$(eval $$(call Require,$(1),$(if $(2),$(2),Missing $(1) command))) +endef diff --git a/include/quilt.mk b/include/quilt.mk new file mode 100644 index 0000000..56f674a --- /dev/null +++ b/include/quilt.mk @@ -0,0 +1,183 @@ +# +# Copyright (C) 2007-2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. + +ifeq ($(TARGET_BUILD),1) + PKG_BUILD_DIR:=$(LINUX_DIR) +endif + +ifneq ($(filter host-refresh refresh,$(MAKECMDGOALS)),) + override QUILT=1 + override HOST_QUILT=1 +endif + +ifneq ($(PKG_BUILD_DIR),) + QUILT?=$(if $(wildcard $(PKG_BUILD_DIR)/.quilt_used),y) + ifneq ($(QUILT),) + STAMP_CHECKED:=$(PKG_BUILD_DIR)/.quilt_checked + override CONFIG_AUTOREBUILD= + override CONFIG_AUTOREMOVE= + quilt-check: $(STAMP_CHECKED) + endif +endif + +ifneq ($(HOST_BUILD_DIR),) + HOST_QUILT?=$(if $(findstring command,$(origin QUILT)),$(QUILT),$(if $(wildcard $(HOST_BUILD_DIR)/.quilt_used),y)) + ifneq ($(HOST_QUILT),) + HOST_STAMP_CHECKED:=$(HOST_BUILD_DIR)/.quilt_checked + override CONFIG_AUTOREBUILD= + override CONFIG_AUTOREMOVE= + host-quilt-check: $(HOST_STAMP_CHECKED) + endif +endif + +ifneq ($(if $(DUMP),1,$(__quilt_inc)),1) +__quilt_inc:=1 + +PATCH_DIR?=./patches +FILES_DIR?=./files +HOST_PATCH_DIR?=$(PATCH_DIR) +HOST_FILES_DIR?=$(FILES_DIR) + +QUILT_CMD:=quilt --quiltrc=- + +define filter_series +sed -e s,\\\#.*,, $(1) | grep -E \[a-zA-Z0-9\] +endef + +define PatchDir/Quilt + @mkdir -p "$(1)/patches$(if $(3),/$(patsubst %/,%,$(3)))" + @if [ -s "$(2)/series" ]; then \ + mkdir -p "$(1)/patches/$(3)"; \ + cp "$(2)/series" "$(1)/patches/$(3)"; \ + fi + @for patch in $$$$( (cd "$(2)" && if [ -f series ]; then $(call filter_series,series); else ls | sort; fi; ) 2>/dev/null ); do ( \ + cp "$(2)/$$$$patch" "$(1)/patches/$(3)"; \ + echo "$(3)$$$$patch" >> "$(1)/patches/series"; \ + ); done + $(if $(3),@echo $(3) >> "$(1)/patches/.subdirs") +endef + +define PatchDir/Default + @if [ -d "$(2)" ] && [ "$$$$(ls $(2) | wc -l)" -gt 0 ]; then \ + export PATCH="$(PATCH)"; \ + if [ -s "$(2)/series" ]; then \ + $(call filter_series,$(2)/series) | xargs -n1 \ + $(KPATCH) "$(1)" "$(2)"; \ + else \ + $(KPATCH) "$(1)" "$(2)"; \ + fi; \ + fi +endef + +define PatchDir +$(call PatchDir/$(if $(strip $(QUILT)),Quilt,Default),$(strip $(1)),$(strip $(2)),$(strip $(3))) +endef + +define HostPatchDir +$(call PatchDir/$(if $(strip $(HOST_QUILT)),Quilt,Default),$(strip $(1)),$(strip $(2)),$(strip $(3))) +endef + +define Host/Patch/Default + $(if $(HOST_QUILT),rm -rf $(HOST_BUILD_DIR)/patches; mkdir -p $(HOST_BUILD_DIR)/patches) + $(call HostPatchDir,$(HOST_BUILD_DIR),$(HOST_PATCH_DIR),) + $(if $(HOST_QUILT),touch $(HOST_BUILD_DIR)/.quilt_used) +endef + +define Build/Patch/Default + $(if $(QUILT),rm -rf $(PKG_BUILD_DIR)/patches; mkdir -p $(PKG_BUILD_DIR)/patches) + $(call PatchDir,$(PKG_BUILD_DIR),$(PATCH_DIR),) + $(if $(QUILT),touch $(PKG_BUILD_DIR)/.quilt_used) +endef + +kernel_files=$(foreach fdir,$(GENERIC_FILES_DIR) $(FILES_DIR),$(fdir)/.) +define Kernel/Patch/Default + $(if $(QUILT),rm -rf $(LINUX_DIR)/patches; mkdir -p $(LINUX_DIR)/patches) + $(if $(kernel_files),$(CP) $(kernel_files) $(LINUX_DIR)/) + find $(LINUX_DIR)/ -name \*.rej -or -name \*.orig | $(XARGS) rm -f + if [ -d $(GENERIC_PLATFORM_DIR)/patches$(if $(wildcard $(GENERIC_PLATFORM_DIR)/patches-$(KERNEL_PATCHVER)),-$(KERNEL_PATCHVER)) ]; then \ + echo "generic patches directory is present. please move your patches to the pending directory" ; \ + exit 1; \ + fi + $(call PatchDir,$(LINUX_DIR),$(GENERIC_BACKPORT_DIR),generic-backport/) + $(call PatchDir,$(LINUX_DIR),$(GENERIC_PATCH_DIR),generic/) + $(call PatchDir,$(LINUX_DIR),$(GENERIC_HACK_DIR),generic-hack/) + $(call PatchDir,$(LINUX_DIR),$(PATCH_DIR),platform/) +endef + +define Quilt/RefreshDir + mkdir -p $(2) + -rm -f $(2)/* 2>/dev/null >/dev/null + @( \ + for patch in $$$$($(if $(3),grep "^$(3)",cat) $(1)/patches/series | awk '{print $$$$1}'); do \ + $(CP) -v "$(1)/patches/$$$$patch" $(2); \ + done; \ + ) +endef + +define Quilt/Refresh/Host + $(call Quilt/RefreshDir,$(HOST_BUILD_DIR),$(PATCH_DIR)) +endef + +define Quilt/Refresh/Package + $(call Quilt/RefreshDir,$(PKG_BUILD_DIR),$(PATCH_DIR)) +endef + +define Quilt/Refresh/Kernel + @[ -z "$$(grep -v '^generic/' $(PKG_BUILD_DIR)/patches/series | grep -v '^platform/')" ] || { \ + echo "All kernel patches must start with either generic/ or platform/"; \ + false; \ + } + $(call Quilt/RefreshDir,$(PKG_BUILD_DIR),$(GENERIC_BACKPORT_DIR),generic-backport/) + $(call Quilt/RefreshDir,$(PKG_BUILD_DIR),$(GENERIC_PATCH_DIR),generic/) + $(call Quilt/RefreshDir,$(PKG_BUILD_DIR),$(GENERIC_HACK_DIR),generic-hack/) + $(call Quilt/RefreshDir,$(PKG_BUILD_DIR),$(PATCH_DIR),platform/) +endef + +define Quilt/Template + $($(2)STAMP_CONFIGURED): $($(2)STAMP_CHECKED) + $(if $(NO_RECONFIGURE),$($(2)STAMP_BUILT),$($(2)STAMP_CONFIGURED)): FORCE + $($(2)STAMP_CHECKED): $($(2)STAMP_PREPARED) + if [ -s "$(1)/patches/series" ]; then \ + (cd "$(1)"; \ + if $(QUILT_CMD) next >/dev/null 2>&1; then \ + $(QUILT_CMD) push -a; \ + else \ + $(QUILT_CMD) top >/dev/null 2>&1; \ + fi \ + ); \ + fi + touch "$$@" + + $(3)quilt-check: $($(2)STAMP_PREPARED) FORCE + @[ -f "$(1)/.quilt_used" ] || { \ + echo "The source directory was not unpacked using quilt. Please rebuild with QUILT=1"; \ + false; \ + } + @[ -f "$(1)/patches/series" ] || { \ + echo "The source directory contains no quilt patches."; \ + false; \ + } + @[ -n "$$$$(ls $(1)/patches/series)" -o \ + "$$$$(cat $(1)/patches/series | mkhash md5)" = "$$(sort $(1)/patches/series | mkhash md5)" ] || { \ + echo "The patches are not sorted in the right order. Please fix."; \ + false; \ + } + + $(3)refresh: $(3)quilt-check + @cd "$(1)"; $(QUILT_CMD) pop -a -f >/dev/null 2>/dev/null + @cd "$(1)"; while $(QUILT_CMD) next 2>/dev/null >/dev/null && $(QUILT_CMD) push; do \ + QUILT_DIFF_OPTS="-p" $(QUILT_CMD) refresh -p ab --no-index --no-timestamps; \ + done; ! $(QUILT_CMD) next 2>/dev/null >/dev/null + $(Quilt/Refresh/$(4)) + + $(3)update: $(3)quilt-check + $(Quilt/Refresh/$(4)) +endef + +Build/Quilt=$(call Quilt/Template,$(PKG_BUILD_DIR),,,$(if $(TARGET_BUILD),Kernel,Package)) +Host/Quilt=$(call Quilt/Template,$(HOST_BUILD_DIR),HOST_,host-,Host) + +endif diff --git a/include/rootfs.mk b/include/rootfs.mk new file mode 100644 index 0000000..f2d2494 --- /dev/null +++ b/include/rootfs.mk @@ -0,0 +1,102 @@ +ifdef CONFIG_USE_MKLIBS + define mklibs + rm -rf $(TMP_DIR)/mklibs-progs $(TMP_DIR)/mklibs-out + # first find all programs and add them to the mklibs list + find $(STAGING_DIR_ROOT) -type f -perm /100 -exec \ + file -r -N -F '' {} + | \ + awk ' /executable.*dynamically/ { print $$1 }' > $(TMP_DIR)/mklibs-progs + # find all loadable objects that are not regular libraries and add them to the list as well + find $(STAGING_DIR_ROOT) -type f -name \*.so\* -exec \ + file -r -N -F '' {} + | \ + awk ' /shared object/ { print $$1 }' > $(TMP_DIR)/mklibs-libs + mkdir -p $(TMP_DIR)/mklibs-out + $(STAGING_DIR_HOST)/bin/mklibs -D \ + -d $(TMP_DIR)/mklibs-out \ + --sysroot $(STAGING_DIR_ROOT) \ + `cat $(TMP_DIR)/mklibs-libs | sed 's:/*[^/]\+/*$$::' | uniq | sed 's:^$(STAGING_DIR_ROOT):-L :'` \ + --ldlib $(patsubst $(STAGING_DIR_ROOT)/%,/%,$(firstword $(wildcard \ + $(foreach name,ld-uClibc.so.* ld-linux.so.* ld-*.so ld-musl-*.so.*, \ + $(STAGING_DIR_ROOT)/lib/$(name) \ + )))) \ + --target $(REAL_GNU_TARGET_NAME) \ + `cat $(TMP_DIR)/mklibs-progs $(TMP_DIR)/mklibs-libs` 2>&1 + $(RSTRIP) $(TMP_DIR)/mklibs-out + for lib in `ls $(TMP_DIR)/mklibs-out/*.so.* 2>/dev/null`; do \ + LIB="$${lib##*/}"; \ + DEST="`ls "$(1)/lib/$$LIB" "$(1)/usr/lib/$$LIB" 2>/dev/null`"; \ + [ -n "$$DEST" ] || continue; \ + echo "Copying stripped library $$lib to $$DEST"; \ + cp "$$lib" "$$DEST" || exit 1; \ + done + endef +endif + +# where to build (and put) .ipk packages +opkg = \ + IPKG_NO_SCRIPT=1 \ + IPKG_INSTROOT=$(1) \ + TMPDIR=$(1)/tmp \ + $(STAGING_DIR_HOST)/bin/opkg \ + --offline-root $(1) \ + --force-postinstall \ + --add-dest root:/ \ + --add-arch all:100 \ + --add-arch $(if $(ARCH_PACKAGES),$(ARCH_PACKAGES),$(BOARD)):200 + +TARGET_DIR_ORIG := $(TARGET_ROOTFS_DIR)/root.orig-$(BOARD) + +ifdef CONFIG_CLEAN_IPKG + define clean_ipkg + -find $(1)/usr/lib/opkg/info -type f -and -not -name '*.control' | $(XARGS) rm -rf + -sed -i -ne '/^Require-User: /p' $(1)/usr/lib/opkg/info/*.control + awk ' \ + BEGIN { conffiles = 0; print "Conffiles:" } \ + /^Conffiles:/ { conffiles = 1; next } \ + !/^ / { conffiles = 0; next } \ + conffiles == 1 { print } \ + ' $(1)/usr/lib/opkg/status >$(1)/usr/lib/opkg/status.new + mv $(1)/usr/lib/opkg/status.new $(1)/usr/lib/opkg/status + -find $(1)/usr/lib/opkg -empty | $(XARGS) rm -rf + endef +endif + +define prepare_rootfs + $(if $(2),@if [ -d '$(2)' ]; then \ + $(call file_copy,$(2)/.,$(1)); \ + fi) + @mkdir -p $(1)/etc/rc.d + @mkdir -p $(1)/var/lock + @( \ + cd $(1); \ + for script in ./usr/lib/opkg/info/*.postinst; do \ + IPKG_INSTROOT=$(1) $$(which bash) $$script; \ + ret=$$?; \ + if [ $$ret -ne 0 ]; then \ + echo "postinst script $$script has failed with exit code $$ret" >&2; \ + exit 1; \ + fi; \ + done; \ + for script in ./etc/init.d/*; do \ + grep '#!/bin/sh /etc/rc.common' $$script >/dev/null || continue; \ + if ! echo " $(3) " | grep -q " $$(basename $$script) "; then \ + IPKG_INSTROOT=$(1) $$(which bash) ./etc/rc.common $$script enable; \ + echo "Enabling" $$(basename $$script); \ + else \ + IPKG_INSTROOT=$(1) $$(which bash) ./etc/rc.common $$script disable; \ + echo "Disabling" $$(basename $$script); \ + fi; \ + done || true \ + ) + $(if $(SOURCE_DATE_EPOCH),sed -i "s/Installed-Time: .*/Installed-Time: $(SOURCE_DATE_EPOCH)/" $(1)/usr/lib/opkg/status) + @-find $(1) -name CVS | $(XARGS) rm -rf + @-find $(1) -name .svn | $(XARGS) rm -rf + @-find $(1) -name .git | $(XARGS) rm -rf + @-find $(1) -name '.#*' | $(XARGS) rm -f + rm -rf $(1)/tmp/* + rm -f $(1)/usr/lib/opkg/lists/* + rm -f $(1)/usr/lib/opkg/info/*.postinst* + rm -f $(1)/var/lock/*.lock + rm -rf $(1)/boot + $(call clean_ipkg,$(1)) + $(call mklibs,$(1)) +endef diff --git a/include/scan.awk b/include/scan.awk new file mode 100644 index 0000000..0f02782 --- /dev/null +++ b/include/scan.awk @@ -0,0 +1,19 @@ +BEGIN { FS="/" } +$1 ~ /^feeds/ { FEEDS[$NF]=$0 } +$1 !~ /^feeds/ { PKGS[$NF]=$0 } +END { + # Filter-out OpenWrt packages which have a feeds equivalent + for (pkg in PKGS) + if (pkg in FEEDS) { + print PKGS[pkg] > of + delete PKGS[pkg] + } + n = asort(PKGS) + for (i=1; i <= n; i++) { + print PKGS[i] + } + n = asort(FEEDS) + for (i=1; i <= n; i++){ + print FEEDS[i] + } +} diff --git a/include/scan.mk b/include/scan.mk new file mode 100644 index 0000000..d9cd4f7 --- /dev/null +++ b/include/scan.mk @@ -0,0 +1,116 @@ +include $(TOPDIR)/include/verbose.mk +TMP_DIR:=$(TOPDIR)/tmp + +all: $(TMP_DIR)/.$(SCAN_TARGET) + +SCAN_TARGET ?= packageinfo +SCAN_NAME ?= package +SCAN_DIR ?= package +TARGET_STAMP:=$(TMP_DIR)/info/.files-$(SCAN_TARGET).stamp +FILELIST:=$(TMP_DIR)/info/.files-$(SCAN_TARGET)-$(SCAN_COOKIE) +OVERRIDELIST:=$(TMP_DIR)/info/.overrides-$(SCAN_TARGET)-$(SCAN_COOKIE) + +export PATH:=$(TOPDIR)/staging_dir/host/bin:$(PATH) + +ifeq ($(SCAN_NAME),target) + SCAN_DEPS=image/Makefile profiles/*.mk $(TOPDIR)/include/kernel*.mk $(TOPDIR)/include/target.mk image/*.mk +else + SCAN_DEPS=$(TOPDIR)/include/package*.mk +endif + +ifeq ($(IS_TTY),1) + ifneq ($(strip $(NO_COLOR)),1) + define progress + printf "\033[M\r$(1)" >&2; + endef + else + define progress + printf "\r$(1)" >&2; + endef + endif +else + define progress + :; + endef +endif + +define feedname +$(if $(patsubst feeds/%,,$(1)),,$(word 2,$(subst /, ,$(1)))) +endef + +define PackageDir + $(TMP_DIR)/.$(SCAN_TARGET): $(TMP_DIR)/info/.$(SCAN_TARGET)-$(1) + $(TMP_DIR)/info/.$(SCAN_TARGET)-$(1): $(SCAN_DIR)/$(2)/Makefile $(foreach DEP,$(DEPS_$(SCAN_DIR)/$(2)/Makefile) $(SCAN_DEPS),$(wildcard $(if $(filter /%,$(DEP)),$(DEP),$(SCAN_DIR)/$(2)/$(DEP)))) + { \ + $$(call progress,Collecting $(SCAN_NAME) info: $(SCAN_DIR)/$(2)) \ + echo Source-Makefile: $(SCAN_DIR)/$(2)/Makefile; \ + $(if $(3),echo Override: $(3),true); \ + $(NO_TRACE_MAKE) --no-print-dir -r DUMP=1 FEED="$(call feedname,$(2))" -C $(SCAN_DIR)/$(2) $(SCAN_MAKEOPTS) 2>/dev/null || { \ + mkdir -p "$(TOPDIR)/logs/$(SCAN_DIR)/$(2)"; \ + $(NO_TRACE_MAKE) --no-print-dir -r DUMP=1 FEED="$(call feedname,$(2))" -C $(SCAN_DIR)/$(2) $(SCAN_MAKEOPTS) > $(TOPDIR)/logs/$(SCAN_DIR)/$(2)/dump.txt 2>&1; \ + $$(call progress,ERROR: please fix $(SCAN_DIR)/$(2)/Makefile - see logs/$(SCAN_DIR)/$(2)/dump.txt for details\n) \ + rm -f $$@; \ + }; \ + echo; \ + } > $$@.tmp + mv $$@.tmp $$@ +endef + +$(OVERRIDELIST): + rm -f $(TMP_DIR)/info/.overrides-$(SCAN_TARGET)-* + touch $@ + +ifeq ($(SCAN_NAME),target) + GREP_STRING=BuildTarget +else + GREP_STRING=(Build/DefaultTargets|BuildPackage|KernelPackage) +endif + +$(FILELIST): $(OVERRIDELIST) + rm -f $(TMP_DIR)/info/.files-$(SCAN_TARGET)-* + find -L $(SCAN_DIR) $(SCAN_EXTRA) -mindepth 1 $(if $(SCAN_DEPTH),-maxdepth $(SCAN_DEPTH)) -name Makefile | xargs grep -aHE 'call $(GREP_STRING)' | sed -e 's#^$(SCAN_DIR)/##' -e 's#/Makefile:.*##' | uniq | awk -v of=$(OVERRIDELIST) -f include/scan.awk > $@ + +$(TMP_DIR)/info/.files-$(SCAN_TARGET).mk: $(FILELIST) + ( \ + cat $< | awk '{print "$(SCAN_DIR)/" $$0 "/Makefile" }' | xargs grep -HE '^ *SCAN_DEPS *= *' | awk -F: '{ gsub(/^.*DEPS *= */, "", $$2); print "DEPS_" $$1 "=" $$2 }'; \ + awk -F/ -v deps="$$DEPS" -v of="$(OVERRIDELIST)" ' \ + BEGIN { \ + while (getline < (of)) \ + override[$$NF]=$$0; \ + close(of) \ + } \ + { \ + info=$$0; \ + gsub(/\//, "_", info); \ + dir=$$0; \ + pkg=""; \ + if($$NF in override) \ + pkg=override[$$NF]; \ + print "$$(eval $$(call PackageDir," info "," dir "," pkg "))"; \ + } ' < $<; \ + true; \ + ) > $@.tmp + mv $@.tmp $@ + +-include $(TMP_DIR)/info/.files-$(SCAN_TARGET).mk + +$(TARGET_STAMP):: + +( \ + $(NO_TRACE_MAKE) $(FILELIST); \ + MD5SUM=$$(cat $(FILELIST) $(OVERRIDELIST) | mkhash md5 | awk '{print $$1}'); \ + [ -f "$@.$$MD5SUM" ] || { \ + rm -f $@.*; \ + touch $@.$$MD5SUM; \ + touch $@; \ + } \ + ) + +$(TMP_DIR)/.$(SCAN_TARGET): $(TARGET_STAMP) + $(call progress,Collecting $(SCAN_NAME) info: merging...) + -cat $(FILELIST) | awk '{gsub(/\//, "_", $$0);print "$(TMP_DIR)/info/.$(SCAN_TARGET)-" $$0}' | xargs cat > $@ 2>/dev/null + $(call progress,Collecting $(SCAN_NAME) info: done) + echo + +FORCE: +.PHONY: FORCE +.NOTPARALLEL: diff --git a/include/scons.mk b/include/scons.mk new file mode 100644 index 0000000..2b76710 --- /dev/null +++ b/include/scons.mk @@ -0,0 +1,23 @@ +export PLATFORM=posix + +SCONS_VARS = \ + CC="$(TARGET_CC_NOCACHE)" \ + CXX="$(TARGET_CXX_NOCACHE)" \ + CFLAGS="$(TARGET_CFLAGS) $(EXTRA_CFLAGS)" \ + CXXFLAGS="$(TARGET_CXXFLAGS) $(EXTRA_CXXFLAGS)" \ + CPPFLAGS="$(TARGET_CPPFLAGS) $(EXTRA_CPPFLAGS)" \ + LDFLAGS="$(TARGET_LDFLAGS) $(EXTRA_LDFLAGS)" \ + DESTDIR="$(PKG_INSTALL_DIR)" + +define Build/Configure/Default + (cd $(PKG_BUILD_DIR); \ + $(SCONS_VARS) \ + scons \ + prefix=/usr \ + $(SCONS_OPTIONS) \ + install \ + ) +endef + +define Build/Compile +endef diff --git a/include/shell.sh b/include/shell.sh new file mode 100644 index 0000000..6ee0cf6 --- /dev/null +++ b/include/shell.sh @@ -0,0 +1,15 @@ +getvar() { + eval "echo \"\${$1}\"" +} + +var2file() { + local var + eval "var=\"\${$1}\"" + if [ -n "$var" ]; then echo "$var" > "$2"; fi +} + +isset() { + local var + eval "var=\"\${$1}\"" + [ -n "$var" ] +} diff --git a/include/site/aarch64 b/include/site/aarch64 new file mode 100644 index 0000000..c5aa9c5 --- /dev/null +++ b/include/site/aarch64 @@ -0,0 +1,30 @@ +#!/bin/sh +. $TOPDIR/include/site/linux +ac_cv_c_littleendian=${ac_cv_c_littleendian=yes} +ac_cv_c_bigendian=${ac_cv_c_bigendian=no} + +ac_cv_sizeof___int64=8 +ac_cv_sizeof_char=1 +ac_cv_sizeof_int=4 +ac_cv_sizeof_int16_t=2 +ac_cv_sizeof_int32_t=4 +ac_cv_sizeof_int64_t=8 +ac_cv_sizeof_long_int=8 +ac_cv_sizeof_long_long=8 +ac_cv_sizeof_long=8 +ac_cv_sizeof_off_t=8 +ac_cv_sizeof_short_int=2 +ac_cv_sizeof_short=2 +ac_cv_sizeof_size_t=8 +ac_cv_sizeof_ssize_t=8 +ac_cv_sizeof_u_int16_t=2 +ac_cv_sizeof_u_int32_t=4 +ac_cv_sizeof_u_int64_t=8 +ac_cv_sizeof_uint16_t=2 +ac_cv_sizeof_uint32_t=4 +ac_cv_sizeof_uint64_t=8 +ac_cv_sizeof_unsigned_int=4 +ac_cv_sizeof_unsigned_long=8 +ac_cv_sizeof_unsigned_long_long=8 +ac_cv_sizeof_unsigned_short=2 +ac_cv_sizeof_void_p=8 diff --git a/include/site/aarch64_be b/include/site/aarch64_be new file mode 100644 index 0000000..19e75ab --- /dev/null +++ b/include/site/aarch64_be @@ -0,0 +1,30 @@ +#!/bin/sh +. $TOPDIR/include/site/linux +ac_cv_c_littleendian=${ac_cv_c_littleendian=no} +ac_cv_c_bigendian=${ac_cv_c_bigendian=yes} + +ac_cv_sizeof___int64=8 +ac_cv_sizeof_char=1 +ac_cv_sizeof_int=4 +ac_cv_sizeof_int16_t=2 +ac_cv_sizeof_int32_t=4 +ac_cv_sizeof_int64_t=8 +ac_cv_sizeof_long_int=8 +ac_cv_sizeof_long_long=8 +ac_cv_sizeof_long=8 +ac_cv_sizeof_off_t=8 +ac_cv_sizeof_short_int=2 +ac_cv_sizeof_short=2 +ac_cv_sizeof_size_t=8 +ac_cv_sizeof_ssize_t=8 +ac_cv_sizeof_u_int16_t=2 +ac_cv_sizeof_u_int32_t=4 +ac_cv_sizeof_u_int64_t=8 +ac_cv_sizeof_uint16_t=2 +ac_cv_sizeof_uint32_t=4 +ac_cv_sizeof_uint64_t=8 +ac_cv_sizeof_unsigned_int=4 +ac_cv_sizeof_unsigned_long=8 +ac_cv_sizeof_unsigned_long_long=8 +ac_cv_sizeof_unsigned_short=2 +ac_cv_sizeof_void_p=8 diff --git a/include/site/arc b/include/site/arc new file mode 100644 index 0000000..72a3805 --- /dev/null +++ b/include/site/arc @@ -0,0 +1,30 @@ +#!/bin/sh +. $TOPDIR/include/site/linux +ac_cv_c_littleendian=${ac_cv_c_littleendian=yes} +ac_cv_c_bigendian=${ac_cv_c_bigendian=no} + +ac_cv_sizeof___int64=0 +ac_cv_sizeof_char=1 +ac_cv_sizeof_int=4 +ac_cv_sizeof_int16_t=2 +ac_cv_sizeof_int32_t=4 +ac_cv_sizeof_int64_t=8 +ac_cv_sizeof_long_int=4 +ac_cv_sizeof_long_long=8 +ac_cv_sizeof_long=4 +ac_cv_sizeof_off_t=8 +ac_cv_sizeof_short_int=2 +ac_cv_sizeof_short=2 +ac_cv_sizeof_size_t=4 +ac_cv_sizeof_ssize_t=4 +ac_cv_sizeof_u_int16_t=2 +ac_cv_sizeof_u_int32_t=4 +ac_cv_sizeof_u_int64_t=8 +ac_cv_sizeof_uint16_t=2 +ac_cv_sizeof_uint32_t=4 +ac_cv_sizeof_uint64_t=8 +ac_cv_sizeof_unsigned_int=4 +ac_cv_sizeof_unsigned_long=4 +ac_cv_sizeof_unsigned_long_long=8 +ac_cv_sizeof_unsigned_short=2 +ac_cv_sizeof_void_p=4 diff --git a/include/site/arm b/include/site/arm new file mode 100644 index 0000000..72a3805 --- /dev/null +++ b/include/site/arm @@ -0,0 +1,30 @@ +#!/bin/sh +. $TOPDIR/include/site/linux +ac_cv_c_littleendian=${ac_cv_c_littleendian=yes} +ac_cv_c_bigendian=${ac_cv_c_bigendian=no} + +ac_cv_sizeof___int64=0 +ac_cv_sizeof_char=1 +ac_cv_sizeof_int=4 +ac_cv_sizeof_int16_t=2 +ac_cv_sizeof_int32_t=4 +ac_cv_sizeof_int64_t=8 +ac_cv_sizeof_long_int=4 +ac_cv_sizeof_long_long=8 +ac_cv_sizeof_long=4 +ac_cv_sizeof_off_t=8 +ac_cv_sizeof_short_int=2 +ac_cv_sizeof_short=2 +ac_cv_sizeof_size_t=4 +ac_cv_sizeof_ssize_t=4 +ac_cv_sizeof_u_int16_t=2 +ac_cv_sizeof_u_int32_t=4 +ac_cv_sizeof_u_int64_t=8 +ac_cv_sizeof_uint16_t=2 +ac_cv_sizeof_uint32_t=4 +ac_cv_sizeof_uint64_t=8 +ac_cv_sizeof_unsigned_int=4 +ac_cv_sizeof_unsigned_long=4 +ac_cv_sizeof_unsigned_long_long=8 +ac_cv_sizeof_unsigned_short=2 +ac_cv_sizeof_void_p=4 diff --git a/include/site/armeb b/include/site/armeb new file mode 100644 index 0000000..a5626a7 --- /dev/null +++ b/include/site/armeb @@ -0,0 +1,30 @@ +#!/bin/sh +. $TOPDIR/include/site/linux +ac_cv_c_littleendian=${ac_cv_c_littleendian=no} +ac_cv_c_bigendian=${ac_cv_c_bigendian=yes} + +ac_cv_sizeof___int64=0 +ac_cv_sizeof_char=1 +ac_cv_sizeof_int=4 +ac_cv_sizeof_int16_t=2 +ac_cv_sizeof_int32_t=4 +ac_cv_sizeof_int64_t=8 +ac_cv_sizeof_long_int=4 +ac_cv_sizeof_long_long=8 +ac_cv_sizeof_long=4 +ac_cv_sizeof_off_t=8 +ac_cv_sizeof_short_int=2 +ac_cv_sizeof_short=2 +ac_cv_sizeof_size_t=4 +ac_cv_sizeof_ssize_t=4 +ac_cv_sizeof_u_int16_t=2 +ac_cv_sizeof_u_int32_t=4 +ac_cv_sizeof_u_int64_t=8 +ac_cv_sizeof_uint16_t=2 +ac_cv_sizeof_uint32_t=4 +ac_cv_sizeof_uint64_t=8 +ac_cv_sizeof_unsigned_int=4 +ac_cv_sizeof_unsigned_long=4 +ac_cv_sizeof_unsigned_long_long=8 +ac_cv_sizeof_unsigned_short=2 +ac_cv_sizeof_void_p=4 diff --git a/include/site/darwin b/include/site/darwin new file mode 100644 index 0000000..ec38f67 --- /dev/null +++ b/include/site/darwin @@ -0,0 +1,2 @@ +ac_cv_func_futimens=no +ac_cv_func_utimensat=no diff --git a/include/site/i386 b/include/site/i386 new file mode 100644 index 0000000..78f1557 --- /dev/null +++ b/include/site/i386 @@ -0,0 +1,3 @@ +#!/bin/sh +. $TOPDIR/include/site/i486 + diff --git a/include/site/i486 b/include/site/i486 new file mode 100644 index 0000000..72a3805 --- /dev/null +++ b/include/site/i486 @@ -0,0 +1,30 @@ +#!/bin/sh +. $TOPDIR/include/site/linux +ac_cv_c_littleendian=${ac_cv_c_littleendian=yes} +ac_cv_c_bigendian=${ac_cv_c_bigendian=no} + +ac_cv_sizeof___int64=0 +ac_cv_sizeof_char=1 +ac_cv_sizeof_int=4 +ac_cv_sizeof_int16_t=2 +ac_cv_sizeof_int32_t=4 +ac_cv_sizeof_int64_t=8 +ac_cv_sizeof_long_int=4 +ac_cv_sizeof_long_long=8 +ac_cv_sizeof_long=4 +ac_cv_sizeof_off_t=8 +ac_cv_sizeof_short_int=2 +ac_cv_sizeof_short=2 +ac_cv_sizeof_size_t=4 +ac_cv_sizeof_ssize_t=4 +ac_cv_sizeof_u_int16_t=2 +ac_cv_sizeof_u_int32_t=4 +ac_cv_sizeof_u_int64_t=8 +ac_cv_sizeof_uint16_t=2 +ac_cv_sizeof_uint32_t=4 +ac_cv_sizeof_uint64_t=8 +ac_cv_sizeof_unsigned_int=4 +ac_cv_sizeof_unsigned_long=4 +ac_cv_sizeof_unsigned_long_long=8 +ac_cv_sizeof_unsigned_short=2 +ac_cv_sizeof_void_p=4 diff --git a/include/site/i686 b/include/site/i686 new file mode 100644 index 0000000..78f1557 --- /dev/null +++ b/include/site/i686 @@ -0,0 +1,3 @@ +#!/bin/sh +. $TOPDIR/include/site/i486 + diff --git a/include/site/linux b/include/site/linux new file mode 100644 index 0000000..b193d25 --- /dev/null +++ b/include/site/linux @@ -0,0 +1,78 @@ +ac_atomic_add=yes +ac_atomic_sub=yes +ac_cv_c_gettext_without_libintl=yes +ac_cv_c_long_double=no +ac_cv_conv_longlong_to_float=yes +ac_cv_file__dev_zero=yes +ac_cv_func___va_copy=no +ac_cv_func__exit=yes +ac_cv_func_bcopy=yes +ac_cv_func_bzero=yes +ac_cv_func_bcmp=yes +ac_cv_func_creal=yes +ac_cv_func_cimag=yes +ac_cv_func_fchmod=yes +ac_cv_func_getaddrinfo=yes +ac_cv_func_getcwd=yes +ac_cv_func_getdomainname=yes +ac_cv_func_getpgrp_void=yes +ac_cv_func_getpwuid_r=yes +ac_cv_func_gettimeofday=yes +ac_cv_func_index=yes +ac_cv_func_lstat_dereferences_slashed_symlink=yes +ac_cv_func_lstat_empty_string_bug=no +ac_cv_func_lstat=yes +ac_cv_func_malloc_0_nonnull=yes +ac_cv_func_malloc_works=yes +ac_cv_func_memcmp_clean=yes +ac_cv_func_memcmp_working=yes +ac_cv_func_posix_getgrgid_r=yes +ac_cv_func_posix_getpwuid_r=yes +ac_cv_func_psignal=yes +ac_cv_func_pthread_key_delete=yes +ac_cv_func_realloc_0_nonnull=yes +ac_cv_func_realloc_works=yes +ac_cv_func_rename=yes +ac_cv_func_rindex=yes +ac_cv_func_setlocale=yes +ac_cv_func_setgrent_void=yes +ac_cv_func_setpgrp_void=yes +ac_cv_func_setresuid=no +ac_cv_func_setvbuf_reversed=no +ac_cv_func_stat_empty_string_bug=no +ac_cv_func_stat_ignores_trailing_slash=no +ac_cv_func_strerror=yes +ac_cv_func_strftime=yes +ac_cv_func_utimes=yes +ac_cv_func___adjtimex=yes +ac_cv_func_va_copy=no +ac_cv_func_vsnprintf=yes +ac_cv_have_accrights_in_msghdr=no +ac_cv_have_broken_snprintf=no +ac_cv_have_control_in_msghdr=yes +ac_cv_have_decl_sys_siglist=no +ac_cv_have_openpty_ctty_bug=yes +ac_cv_have_space_d_name_in_struct_dirent=yes +ac_cv_header_netinet_sctp_h=no +ac_cv_header_netinet_sctp_uio_h=no +ac_cv_int64_t=yes +ac_cv_lbl_unaligned_fail=no +ac_cv_linux_kernel_pppoe=yes +ac_cv_linux_vers=2 +ac_cv_pack_bitfields_reversed=yes +ac_cv_path_LDCONFIG= +ac_cv_regexec_segfault_emptystr=no +ac_cv_sctp=no +ac_cv_sys_restartable_syscalls=yes +ac_cv_time_r_type=POSIX +ac_cv_type_suseconds_t=yes +ac_cv_uchar=no +ac_cv_uint=yes +ac_cv_uint64_t=yes +ac_cv_ulong=yes +ac_cv_ushort=yes +ac_cv_va_copy=C99 +ac_cv_va_val_copy=yes +as_cv_unaligned_access=yes +ac_cv_func_malloc_0_nonnull=yes +ac_cv_func_realloc_0_nonnull=yes diff --git a/include/site/m68k b/include/site/m68k new file mode 100644 index 0000000..0037600 --- /dev/null +++ b/include/site/m68k @@ -0,0 +1,28 @@ +#!/bin/sh +. $TOPDIR/include/site/linux +ac_cv_c_littleendian=${ac_cv_c_littleendian=no} +ac_cv_c_bigendian=${ac_cv_c_bigendian=yes} + +ac_cv_sizeof___int64=0 +ac_cv_sizeof_char=1 +ac_cv_sizeof_int=4 +ac_cv_sizeof_int16_t=2 +ac_cv_sizeof_int32_t=4 +ac_cv_sizeof_int64_t=8 +ac_cv_sizeof_long_int=4 +ac_cv_sizeof_long_long=8 +ac_cv_sizeof_long=4 +ac_cv_sizeof_off_t=8 +ac_cv_sizeof_short_int=2 +ac_cv_sizeof_short=2 +ac_cv_sizeof_size_t=4 +ac_cv_sizeof_u_int16_t=2 +ac_cv_sizeof_u_int32_t=4 +ac_cv_sizeof_u_int64_t=8 +ac_cv_sizeof_uint16_t=2 +ac_cv_sizeof_uint32_t=4 +ac_cv_sizeof_uint64_t=8 +ac_cv_sizeof_unsigned_int=4 +ac_cv_sizeof_unsigned_long=4 +ac_cv_sizeof_unsigned_short=2 +ac_cv_sizeof_void_p=4 diff --git a/include/site/mips b/include/site/mips new file mode 100644 index 0000000..a5626a7 --- /dev/null +++ b/include/site/mips @@ -0,0 +1,30 @@ +#!/bin/sh +. $TOPDIR/include/site/linux +ac_cv_c_littleendian=${ac_cv_c_littleendian=no} +ac_cv_c_bigendian=${ac_cv_c_bigendian=yes} + +ac_cv_sizeof___int64=0 +ac_cv_sizeof_char=1 +ac_cv_sizeof_int=4 +ac_cv_sizeof_int16_t=2 +ac_cv_sizeof_int32_t=4 +ac_cv_sizeof_int64_t=8 +ac_cv_sizeof_long_int=4 +ac_cv_sizeof_long_long=8 +ac_cv_sizeof_long=4 +ac_cv_sizeof_off_t=8 +ac_cv_sizeof_short_int=2 +ac_cv_sizeof_short=2 +ac_cv_sizeof_size_t=4 +ac_cv_sizeof_ssize_t=4 +ac_cv_sizeof_u_int16_t=2 +ac_cv_sizeof_u_int32_t=4 +ac_cv_sizeof_u_int64_t=8 +ac_cv_sizeof_uint16_t=2 +ac_cv_sizeof_uint32_t=4 +ac_cv_sizeof_uint64_t=8 +ac_cv_sizeof_unsigned_int=4 +ac_cv_sizeof_unsigned_long=4 +ac_cv_sizeof_unsigned_long_long=8 +ac_cv_sizeof_unsigned_short=2 +ac_cv_sizeof_void_p=4 diff --git a/include/site/mips64 b/include/site/mips64 new file mode 100644 index 0000000..19e75ab --- /dev/null +++ b/include/site/mips64 @@ -0,0 +1,30 @@ +#!/bin/sh +. $TOPDIR/include/site/linux +ac_cv_c_littleendian=${ac_cv_c_littleendian=no} +ac_cv_c_bigendian=${ac_cv_c_bigendian=yes} + +ac_cv_sizeof___int64=8 +ac_cv_sizeof_char=1 +ac_cv_sizeof_int=4 +ac_cv_sizeof_int16_t=2 +ac_cv_sizeof_int32_t=4 +ac_cv_sizeof_int64_t=8 +ac_cv_sizeof_long_int=8 +ac_cv_sizeof_long_long=8 +ac_cv_sizeof_long=8 +ac_cv_sizeof_off_t=8 +ac_cv_sizeof_short_int=2 +ac_cv_sizeof_short=2 +ac_cv_sizeof_size_t=8 +ac_cv_sizeof_ssize_t=8 +ac_cv_sizeof_u_int16_t=2 +ac_cv_sizeof_u_int32_t=4 +ac_cv_sizeof_u_int64_t=8 +ac_cv_sizeof_uint16_t=2 +ac_cv_sizeof_uint32_t=4 +ac_cv_sizeof_uint64_t=8 +ac_cv_sizeof_unsigned_int=4 +ac_cv_sizeof_unsigned_long=8 +ac_cv_sizeof_unsigned_long_long=8 +ac_cv_sizeof_unsigned_short=2 +ac_cv_sizeof_void_p=8 diff --git a/include/site/mips64el b/include/site/mips64el new file mode 100644 index 0000000..c5aa9c5 --- /dev/null +++ b/include/site/mips64el @@ -0,0 +1,30 @@ +#!/bin/sh +. $TOPDIR/include/site/linux +ac_cv_c_littleendian=${ac_cv_c_littleendian=yes} +ac_cv_c_bigendian=${ac_cv_c_bigendian=no} + +ac_cv_sizeof___int64=8 +ac_cv_sizeof_char=1 +ac_cv_sizeof_int=4 +ac_cv_sizeof_int16_t=2 +ac_cv_sizeof_int32_t=4 +ac_cv_sizeof_int64_t=8 +ac_cv_sizeof_long_int=8 +ac_cv_sizeof_long_long=8 +ac_cv_sizeof_long=8 +ac_cv_sizeof_off_t=8 +ac_cv_sizeof_short_int=2 +ac_cv_sizeof_short=2 +ac_cv_sizeof_size_t=8 +ac_cv_sizeof_ssize_t=8 +ac_cv_sizeof_u_int16_t=2 +ac_cv_sizeof_u_int32_t=4 +ac_cv_sizeof_u_int64_t=8 +ac_cv_sizeof_uint16_t=2 +ac_cv_sizeof_uint32_t=4 +ac_cv_sizeof_uint64_t=8 +ac_cv_sizeof_unsigned_int=4 +ac_cv_sizeof_unsigned_long=8 +ac_cv_sizeof_unsigned_long_long=8 +ac_cv_sizeof_unsigned_short=2 +ac_cv_sizeof_void_p=8 diff --git a/include/site/mipsel b/include/site/mipsel new file mode 100644 index 0000000..72a3805 --- /dev/null +++ b/include/site/mipsel @@ -0,0 +1,30 @@ +#!/bin/sh +. $TOPDIR/include/site/linux +ac_cv_c_littleendian=${ac_cv_c_littleendian=yes} +ac_cv_c_bigendian=${ac_cv_c_bigendian=no} + +ac_cv_sizeof___int64=0 +ac_cv_sizeof_char=1 +ac_cv_sizeof_int=4 +ac_cv_sizeof_int16_t=2 +ac_cv_sizeof_int32_t=4 +ac_cv_sizeof_int64_t=8 +ac_cv_sizeof_long_int=4 +ac_cv_sizeof_long_long=8 +ac_cv_sizeof_long=4 +ac_cv_sizeof_off_t=8 +ac_cv_sizeof_short_int=2 +ac_cv_sizeof_short=2 +ac_cv_sizeof_size_t=4 +ac_cv_sizeof_ssize_t=4 +ac_cv_sizeof_u_int16_t=2 +ac_cv_sizeof_u_int32_t=4 +ac_cv_sizeof_u_int64_t=8 +ac_cv_sizeof_uint16_t=2 +ac_cv_sizeof_uint32_t=4 +ac_cv_sizeof_uint64_t=8 +ac_cv_sizeof_unsigned_int=4 +ac_cv_sizeof_unsigned_long=4 +ac_cv_sizeof_unsigned_long_long=8 +ac_cv_sizeof_unsigned_short=2 +ac_cv_sizeof_void_p=4 diff --git a/include/site/powerpc b/include/site/powerpc new file mode 100644 index 0000000..a5626a7 --- /dev/null +++ b/include/site/powerpc @@ -0,0 +1,30 @@ +#!/bin/sh +. $TOPDIR/include/site/linux +ac_cv_c_littleendian=${ac_cv_c_littleendian=no} +ac_cv_c_bigendian=${ac_cv_c_bigendian=yes} + +ac_cv_sizeof___int64=0 +ac_cv_sizeof_char=1 +ac_cv_sizeof_int=4 +ac_cv_sizeof_int16_t=2 +ac_cv_sizeof_int32_t=4 +ac_cv_sizeof_int64_t=8 +ac_cv_sizeof_long_int=4 +ac_cv_sizeof_long_long=8 +ac_cv_sizeof_long=4 +ac_cv_sizeof_off_t=8 +ac_cv_sizeof_short_int=2 +ac_cv_sizeof_short=2 +ac_cv_sizeof_size_t=4 +ac_cv_sizeof_ssize_t=4 +ac_cv_sizeof_u_int16_t=2 +ac_cv_sizeof_u_int32_t=4 +ac_cv_sizeof_u_int64_t=8 +ac_cv_sizeof_uint16_t=2 +ac_cv_sizeof_uint32_t=4 +ac_cv_sizeof_uint64_t=8 +ac_cv_sizeof_unsigned_int=4 +ac_cv_sizeof_unsigned_long=4 +ac_cv_sizeof_unsigned_long_long=8 +ac_cv_sizeof_unsigned_short=2 +ac_cv_sizeof_void_p=4 diff --git a/include/site/powerpc64 b/include/site/powerpc64 new file mode 100644 index 0000000..6a66346 --- /dev/null +++ b/include/site/powerpc64 @@ -0,0 +1,26 @@ +#!/bin/sh +. $TOPDIR/include/site/linux +ac_cv_c_littleendian=${ac_cv_c_littleendian=no} +ac_cv_c_bigendian=${ac_cv_c_bigendian=yes} + +ac_cv_sizeof_char=1 +ac_cv_sizeof_char_p=8 +ac_cv_sizeof_double=8 +ac_cv_sizeof_float=4 +ac_cv_sizeof_int=4 +ac_cv_sizeof_long=8 +ac_cv_sizeof_long_double=16 +ac_cv_sizeof_long_int=8 +ac_cv_sizeof_long_long=8 +ac_cv_sizeof_long_long_int=8 +ac_cv_sizeof_short=2 +ac_cv_sizeof_short_int=2 +ac_cv_sizeof_signed_char=1 +ac_cv_sizeof_unsigned_char=1 +ac_cv_sizeof_unsigned_int=4 +ac_cv_sizeof_unsigned_long=8 +ac_cv_sizeof_unsigned_long_int=8 +ac_cv_sizeof_unsigned_long_long_int=8 +ac_cv_sizeof_unsigned_short=2 +ac_cv_sizeof_unsigned_short_int=2 +ac_cv_sizeof_void_p=8 diff --git a/include/site/sparc b/include/site/sparc new file mode 100644 index 0000000..a5626a7 --- /dev/null +++ b/include/site/sparc @@ -0,0 +1,30 @@ +#!/bin/sh +. $TOPDIR/include/site/linux +ac_cv_c_littleendian=${ac_cv_c_littleendian=no} +ac_cv_c_bigendian=${ac_cv_c_bigendian=yes} + +ac_cv_sizeof___int64=0 +ac_cv_sizeof_char=1 +ac_cv_sizeof_int=4 +ac_cv_sizeof_int16_t=2 +ac_cv_sizeof_int32_t=4 +ac_cv_sizeof_int64_t=8 +ac_cv_sizeof_long_int=4 +ac_cv_sizeof_long_long=8 +ac_cv_sizeof_long=4 +ac_cv_sizeof_off_t=8 +ac_cv_sizeof_short_int=2 +ac_cv_sizeof_short=2 +ac_cv_sizeof_size_t=4 +ac_cv_sizeof_ssize_t=4 +ac_cv_sizeof_u_int16_t=2 +ac_cv_sizeof_u_int32_t=4 +ac_cv_sizeof_u_int64_t=8 +ac_cv_sizeof_uint16_t=2 +ac_cv_sizeof_uint32_t=4 +ac_cv_sizeof_uint64_t=8 +ac_cv_sizeof_unsigned_int=4 +ac_cv_sizeof_unsigned_long=4 +ac_cv_sizeof_unsigned_long_long=8 +ac_cv_sizeof_unsigned_short=2 +ac_cv_sizeof_void_p=4 diff --git a/include/site/x86_64 b/include/site/x86_64 new file mode 100644 index 0000000..b8d581d --- /dev/null +++ b/include/site/x86_64 @@ -0,0 +1,30 @@ +#!/bin/sh +. $TOPDIR/include/site/linux +ac_cv_c_littleendian=${ac_cv_c_littleendian=yes} +ac_cv_c_bigendian=${ac_cv_c_bigendian=no} + +ac_cv_sizeof___int64=0 +ac_cv_sizeof_char=1 +ac_cv_sizeof_int=4 +ac_cv_sizeof_int16_t=2 +ac_cv_sizeof_int32_t=4 +ac_cv_sizeof_int64_t=8 +ac_cv_sizeof_long_int=8 +ac_cv_sizeof_long_long=8 +ac_cv_sizeof_long=8 +ac_cv_sizeof_off_t=8 +ac_cv_sizeof_short_int=2 +ac_cv_sizeof_short=2 +ac_cv_sizeof_size_t=8 +ac_cv_sizeof_ssize_t=8 +ac_cv_sizeof_u_int16_t=2 +ac_cv_sizeof_u_int32_t=4 +ac_cv_sizeof_u_int64_t=8 +ac_cv_sizeof_uint16_t=2 +ac_cv_sizeof_uint32_t=4 +ac_cv_sizeof_uint64_t=8 +ac_cv_sizeof_unsigned_int=4 +ac_cv_sizeof_unsigned_long=8 +ac_cv_sizeof_unsigned_long_long=8 +ac_cv_sizeof_unsigned_short=2 +ac_cv_sizeof_void_p=8 diff --git a/include/subdir.mk b/include/subdir.mk new file mode 100644 index 0000000..6512e24 --- /dev/null +++ b/include/subdir.mk @@ -0,0 +1,107 @@ +# +# Copyright (C) 2007 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +ifeq ($(MAKECMDGOALS),prereq) + SUBTARGETS:=prereq + PREREQ_ONLY:=1 +else + SUBTARGETS:=$(DEFAULT_SUBDIR_TARGETS) +endif + +subtarget-default = $(filter-out ., \ + $(if $($(1)/builddirs-$(2)),$($(1)/builddirs-$(2)), \ + $(if $($(1)/builddirs-default),$($(1)/builddirs-default), \ + $($(1)/builddirs)))) + +define subtarget + $(call warn_eval,$(1),t,T,$(1)/$(2): $($(1)/) $(foreach bd,$(call subtarget-default,$(1),$(2)),$(1)/$(bd)/$(2))) + +endef + +define ERROR + ($(call MESSAGE, $(2)); $(if $(BUILD_LOG), echo "$(2)" >> $(BUILD_LOG_DIR)/$(1)/error.txt)) +endef + +lastdir=$(word $(words $(subst /, ,$(1))),$(subst /, ,$(1))) +diralias=$(if $(findstring $(1),$(call lastdir,$(1))),,$(call lastdir,$(1))) + +subdir_make_opts = \ + -r -C $(1) \ + BUILD_SUBDIR="$(1)" \ + BUILD_VARIANT="$(4)" + +# 1: subdir +# 2: target +# 3: build type +# 4: build variant +log_make = \ + $(if $(call debug,$(1),v),,@)+ \ + $(if $(BUILD_LOG), \ + set -o pipefail; \ + mkdir -p $(BUILD_LOG_DIR)/$(1)$(if $(4),/$(4));) \ + $(SCRIPT_DIR)/time.pl "time: $(1)$(if $(4),/$(4))/$(if $(3),$(3)-)$(2)" \ + $$(SUBMAKE) $(subdir_make_opts) $(if $(3),$(3)-)$(2) \ + $(if $(BUILD_LOG),SILENT= 2>&1 | tee $(BUILD_LOG_DIR)/$(1)$(if $(4),/$(4))/$(if $(3),$(3)-)$(2).txt) + +ifdef CONFIG_AUTOREMOVE +rebuild_check = \ + @-$$(NO_TRACE_MAKE) $(subdir_make_opts) check-depends >/dev/null 2>/dev/null; \ + $(if $(BUILD_LOG),mkdir -p $(BUILD_LOG_DIR)/$(1)$(if $(4),/$(4));) \ + $$(NO_TRACE_MAKE) $(if $(BUILD_LOG),-d) -q $(subdir_make_opts) .$(if $(3),$(3)-)$(2) \ + > $(if $(BUILD_LOG),$(BUILD_LOG_DIR)/$(1)$(if $(4),/$(4))/check-$(if $(3),$(3)-)$(2).txt,/dev/null) 2>&1 || \ + $$(SUBMAKE) $(subdir_make_opts) clean-build >/dev/null 2>/dev/null + +endif + +# Parameters: +define subdir + $(call warn,$(1),d,D $(1)) + $(foreach bd,$($(1)/builddirs), + $(call warn,$(1),d,BD $(1)/$(bd)) + $(foreach target,$(SUBTARGETS) $($(1)/subtargets), + $(foreach btype,$(buildtypes-$(bd)), + $(call warn_eval,$(1)/$(bd),t,T,$(1)/$(bd)/$(btype)/$(target): $(if $(NO_DEPS)$(QUILT),,$($(1)/$(bd)/$(btype)/$(target)) $(call $(1)//$(btype)/$(target),$(1)/$(bd)/$(btype)))) + $(call log_make,$(1)/$(bd),$(target),$(btype),$(filter-out __default,$(variant))) \ + $(if $(findstring $(bd),$($(1)/builddirs-ignore-$(btype)-$(target))), || $(call ERROR,$(1), ERROR: $(1)/$(bd) [$(btype)] failed to build.)) + $(if $(call diralias,$(bd)),$(call warn_eval,$(1)/$(bd),l,T,$(1)/$(call diralias,$(bd))/$(btype)/$(target): $(1)/$(bd)/$(btype)/$(target))) + ) + $(call warn_eval,$(1)/$(bd),t,T,$(1)/$(bd)/$(target): $(if $(NO_DEPS)$(QUILT),,$($(1)/$(bd)/$(target)) $(call $(1)//$(target),$(1)/$(bd)))) + $(foreach variant,$(if $(BUILD_VARIANT),$(BUILD_VARIANT),$(if $(strip $($(1)/$(bd)/variants)),$($(1)/$(bd)/variants),$(if $($(1)/$(bd)/default-variant),$($(1)/$(bd)/default-variant),__default))), + $(if $(BUILD_LOG),@mkdir -p $(BUILD_LOG_DIR)/$(1)/$(bd)/$(filter-out __default,$(variant))) + $(if $($(1)/autoremove),$(call rebuild_check,$(1)/$(bd),$(target),,$(filter-out __default,$(variant)))) + $(call log_make,$(1)/$(bd),$(target),,$(filter-out __default,$(variant))) \ + $(if $(findstring $(bd),$($(1)/builddirs-ignore-$(target))), || $(call ERROR,$(1), ERROR: $(1)/$(bd) failed to build$(if $(filter-out __default,$(variant)), (build variant: $(variant))).)) + ) + $(if $(PREREQ_ONLY)$(DUMP_TARGET_DB),, + # aliases + $(if $(call diralias,$(bd)),$(call warn_eval,$(1)/$(bd),l,T,$(1)/$(call diralias,$(bd))/$(target): $(1)/$(bd)/$(target))) + ) + ) + ) + $(foreach target,$(SUBTARGETS) $($(1)/subtargets),$(call subtarget,$(1),$(target))) +endef + +ifndef DUMP_TARGET_DB +# Parameters: +define stampfile + $(1)/stamp-$(3):=$(if $(6),$(6),$(STAGING_DIR))/stamp/.$(2)_$(3)$(5) + $$($(1)/stamp-$(3)): $(TMP_DIR)/.build $(4) + @+$(SCRIPT_DIR)/timestamp.pl -n $$($(1)/stamp-$(3)) $(1) $(4) || \ + $(MAKE) $(if $(QUIET),--no-print-directory) $$($(1)/flags-$(3)) $(1)/$(3) + @mkdir -p $$$$(dirname $$($(1)/stamp-$(3))) + @touch $$($(1)/stamp-$(3)) + + $$(if $(call debug,$(1),v),,.SILENT: $$($(1)/stamp-$(3))) + + .PRECIOUS: $$($(1)/stamp-$(3)) # work around a make bug + + $(1)//clean:=$(1)/stamp-$(3)/clean + $(1)/stamp-$(3)/clean: FORCE + @rm -f $$($(1)/stamp-$(3)) + +endef +endif diff --git a/include/target.mk b/include/target.mk new file mode 100644 index 0000000..7b0e92f --- /dev/null +++ b/include/target.mk @@ -0,0 +1,308 @@ +# +# Copyright (C) 2007-2008 OpenWrt.org +# Copyright (C) 2016 LEDE Project +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +ifneq ($(__target_inc),1) +__target_inc=1 + +# default device type +DEVICE_TYPE?=router + +# Default packages - the really basic set +DEFAULT_PACKAGES:=base-files libc libgcc busybox dropbear mtd uci opkg netifd fstools uclient-fetch logd urandom-seed urngd +# For nas targets +DEFAULT_PACKAGES.nas:=block-mount fdisk lsblk mdadm +# For router targets +DEFAULT_PACKAGES.router:=dnsmasq iptables ip6tables ppp ppp-mod-pppoe firewall odhcpd-ipv6only odhcp6c kmod-ipt-offload +DEFAULT_PACKAGES.bootloader:= + +ifneq ($(DUMP),) + all: dumpinfo +endif + +target_conf=$(subst .,_,$(subst -,_,$(subst /,_,$(1)))) +ifeq ($(DUMP),) + PLATFORM_DIR:=$(TOPDIR)/target/linux/$(BOARD) + SUBTARGET:=$(strip $(foreach subdir,$(patsubst $(PLATFORM_DIR)/%/target.mk,%,$(wildcard $(PLATFORM_DIR)/*/target.mk)),$(if $(CONFIG_TARGET_$(call target_conf,$(BOARD)_$(subdir))),$(subdir)))) +else + PLATFORM_DIR:=${CURDIR} + ifeq ($(SUBTARGETS),) + SUBTARGETS:=$(strip $(patsubst $(PLATFORM_DIR)/%/target.mk,%,$(wildcard $(PLATFORM_DIR)/*/target.mk))) + endif +endif + +TARGETID:=$(BOARD)$(if $(SUBTARGET),/$(SUBTARGET)) +PLATFORM_SUBDIR:=$(PLATFORM_DIR)$(if $(SUBTARGET),/$(SUBTARGET)) + +ifneq ($(TARGET_BUILD),1) + ifndef DUMP + include $(PLATFORM_DIR)/Makefile + ifneq ($(PLATFORM_DIR),$(PLATFORM_SUBDIR)) + include $(PLATFORM_SUBDIR)/target.mk + endif + endif +else + ifneq ($(SUBTARGET),) + -include ./$(SUBTARGET)/target.mk + endif +endif + +ifneq ($(filter 4.9,$(KERNEL_PATCHVER)),) + DEFAULT_PACKAGES.router:=$(filter-out kmod-ipt-offload,$(DEFAULT_PACKAGES.router)) +endif + +# Add device specific packages (here below to allow device type set from subtarget) +DEFAULT_PACKAGES += $(DEFAULT_PACKAGES.$(DEVICE_TYPE)) + +filter_packages = $(filter-out -% $(patsubst -%,%,$(filter -%,$(1))),$(1)) +extra_packages = $(if $(filter wpad-mini wpad-basic wpad-basic-wolfssl wpad nas,$(1)),iwinfo) + +define ProfileDefault + NAME:= + PRIORITY:= + PACKAGES:= +endef + +ifndef Profile +define Profile + $(eval $(call ProfileDefault)) + $(eval $(call Profile/$(1))) + dumpinfo : $(call shexport,Profile/$(1)/Description) + PACKAGES := $(filter-out -%,$(PACKAGES)) + DUMPINFO += \ + echo "Target-Profile: $(1)"; \ + $(if $(PRIORITY), echo "Target-Profile-Priority: $(PRIORITY)"; ) \ + echo "Target-Profile-Name: $(NAME)"; \ + echo "Target-Profile-Packages: $(PACKAGES) $(call extra_packages,$(DEFAULT_PACKAGES) $(PACKAGES))"; \ + echo "Target-Profile-Description:"; \ + echo "$$$$$$$$$(call shvar,Profile/$(1)/Description)"; \ + echo "@@"; \ + echo; +endef +endif + +ifneq ($(PLATFORM_DIR),$(PLATFORM_SUBDIR)) + define IncludeProfiles + -include $(sort $(wildcard $(PLATFORM_DIR)/profiles/*.mk)) + -include $(sort $(wildcard $(PLATFORM_SUBDIR)/profiles/*.mk)) + endef +else + define IncludeProfiles + -include $(sort $(wildcard $(PLATFORM_DIR)/profiles/*.mk)) + endef +endif + +PROFILE?=$(call qstrip,$(CONFIG_TARGET_PROFILE)) + +ifeq ($(TARGET_BUILD),1) + ifneq ($(DUMP),) + $(eval $(call IncludeProfiles)) + endif +endif + +ifneq ($(TARGET_BUILD)$(if $(DUMP),,1),) + include $(INCLUDE_DIR)/kernel-version.mk +endif + +GENERIC_PLATFORM_DIR := $(TOPDIR)/target/linux/generic +GENERIC_BACKPORT_DIR := $(GENERIC_PLATFORM_DIR)/backport$(if $(wildcard $(GENERIC_PLATFORM_DIR)/backport-$(KERNEL_PATCHVER)),-$(KERNEL_PATCHVER)) +GENERIC_PATCH_DIR := $(GENERIC_PLATFORM_DIR)/pending$(if $(wildcard $(GENERIC_PLATFORM_DIR)/pending-$(KERNEL_PATCHVER)),-$(KERNEL_PATCHVER)) +GENERIC_HACK_DIR := $(GENERIC_PLATFORM_DIR)/hack$(if $(wildcard $(GENERIC_PLATFORM_DIR)/hack-$(KERNEL_PATCHVER)),-$(KERNEL_PATCHVER)) +GENERIC_FILES_DIR := $(foreach dir,$(wildcard $(GENERIC_PLATFORM_DIR)/files $(GENERIC_PLATFORM_DIR)/files-$(KERNEL_PATCHVER)),"$(dir)") + +__config_name_list = $(1)/config-$(KERNEL_PATCHVER) $(1)/config-default +__config_list = $(firstword $(wildcard $(call __config_name_list,$(1)))) +find_kernel_config=$(if $(__config_list),$(__config_list),$(lastword $(__config_name_list))) + +GENERIC_LINUX_CONFIG = $(call find_kernel_config,$(GENERIC_PLATFORM_DIR)) +LINUX_TARGET_CONFIG = $(call find_kernel_config,$(PLATFORM_DIR)) +ifneq ($(PLATFORM_DIR),$(PLATFORM_SUBDIR)) + LINUX_SUBTARGET_CONFIG = $(call find_kernel_config,$(PLATFORM_SUBDIR)) +endif + +# config file list used for compiling +LINUX_KCONFIG_LIST = $(wildcard $(GENERIC_LINUX_CONFIG) $(LINUX_TARGET_CONFIG) $(LINUX_SUBTARGET_CONFIG) $(TOPDIR)/env/kernel-config) + +# default config list for reconfiguring +# defaults to subtarget if subtarget exists and target does not +# defaults to target otherwise +USE_SUBTARGET_CONFIG = $(if $(wildcard $(LINUX_TARGET_CONFIG)),,$(if $(LINUX_SUBTARGET_CONFIG),1)) + +LINUX_RECONFIG_LIST = $(wildcard $(GENERIC_LINUX_CONFIG) $(LINUX_TARGET_CONFIG) $(if $(USE_SUBTARGET_CONFIG),$(LINUX_SUBTARGET_CONFIG))) +LINUX_RECONFIG_TARGET = $(if $(USE_SUBTARGET_CONFIG),$(LINUX_SUBTARGET_CONFIG),$(LINUX_TARGET_CONFIG)) + +# select the config file to be changed by kernel_menuconfig/kernel_oldconfig +ifeq ($(CONFIG_TARGET),platform) + LINUX_RECONFIG_LIST = $(wildcard $(GENERIC_LINUX_CONFIG) $(LINUX_TARGET_CONFIG)) + LINUX_RECONFIG_TARGET = $(LINUX_TARGET_CONFIG) +endif +ifeq ($(CONFIG_TARGET),subtarget) + LINUX_RECONFIG_LIST = $(wildcard $(GENERIC_LINUX_CONFIG) $(LINUX_TARGET_CONFIG) $(LINUX_SUBTARGET_CONFIG)) + LINUX_RECONFIG_TARGET = $(LINUX_SUBTARGET_CONFIG) +endif +ifeq ($(CONFIG_TARGET),subtarget_platform) + LINUX_RECONFIG_LIST = $(wildcard $(GENERIC_LINUX_CONFIG) $(LINUX_SUBTARGET_CONFIG) $(LINUX_TARGET_CONFIG)) + LINUX_RECONFIG_TARGET = $(LINUX_TARGET_CONFIG) +endif +ifeq ($(CONFIG_TARGET),env) + LINUX_RECONFIG_LIST = $(LINUX_KCONFIG_LIST) + LINUX_RECONFIG_TARGET = $(TOPDIR)/env/kernel-config +endif + +__linux_confcmd = $(SCRIPT_DIR)/kconfig.pl $(2) $(patsubst %,+,$(wordlist 2,9999,$(1))) $(1) + +LINUX_CONF_CMD = $(call __linux_confcmd,$(LINUX_KCONFIG_LIST),) +LINUX_RECONF_CMD = $(call __linux_confcmd,$(LINUX_RECONFIG_LIST),) +LINUX_RECONF_DIFF = $(call __linux_confcmd,$(filter-out $(LINUX_RECONFIG_TARGET),$(LINUX_RECONFIG_LIST)),'>') + +ifeq ($(DUMP),1) + BuildTarget=$(BuildTargets/DumpCurrent) + + CPU_CFLAGS = -Os -pipe + ifneq ($(findstring mips,$(ARCH)),) + ifneq ($(findstring mips64,$(ARCH)),) + CPU_TYPE ?= mips64 + else + CPU_TYPE ?= mips32 + endif + CPU_CFLAGS += -mno-branch-likely + CPU_CFLAGS_mips32 = -mips32 -mtune=mips32 + CPU_CFLAGS_mips64 = -mips64 -mtune=mips64 -mabi=64 + CPU_CFLAGS_24kc = -mips32r2 -mtune=24kc + CPU_CFLAGS_74kc = -mips32r2 -mtune=74kc + CPU_CFLAGS_octeonplus = -march=octeon+ -mabi=64 + endif + ifeq ($(ARCH),i386) + CPU_TYPE ?= pentium + CPU_CFLAGS_pentium = -march=pentium-mmx + CPU_CFLAGS_pentium4 = -march=pentium4 + endif + ifneq ($(findstring arm,$(ARCH)),) + CPU_TYPE ?= xscale + endif + ifeq ($(ARCH),powerpc) + CPU_CFLAGS_603e:=-mcpu=603e + CPU_CFLAGS_8540:=-mcpu=8540 + CPU_CFLAGS_405:=-mcpu=405 + CPU_CFLAGS_440:=-mcpu=440 + CPU_CFLAGS_464fp:=-mcpu=464fp + endif + ifeq ($(ARCH),powerpc64) + CPU_TYPE ?= powerpc64 + CPU_CFLAGS_powerpc64:=-mcpu=powerpc64 + endif + ifeq ($(ARCH),sparc) + CPU_TYPE = sparc + CPU_CFLAGS_ultrasparc = -mcpu=ultrasparc + endif + ifeq ($(ARCH),aarch64) + CPU_TYPE ?= generic + CPU_CFLAGS_generic = -mcpu=generic + CPU_CFLAGS_cortex-a53 = -mcpu=cortex-a53 + endif + ifeq ($(ARCH),arc) + CPU_TYPE ?= arc700 + CPU_CFLAGS += -matomic + CPU_CFLAGS_arc700 = -mcpu=arc700 + CPU_CFLAGS_archs = -mcpu=archs + endif + ifneq ($(CPU_TYPE),) + ifndef CPU_CFLAGS_$(CPU_TYPE) + $(warning CPU_TYPE "$(CPU_TYPE)" doesn't correspond to a known type) + endif + endif + DEFAULT_CFLAGS=$(strip $(CPU_CFLAGS) $(CPU_CFLAGS_$(CPU_TYPE)) $(CPU_CFLAGS_$(CPU_SUBTYPE))) + + ifneq ($(BOARD),) + TMP_CONFIG:=$(TMP_DIR)/.kconfig-$(call target_conf,$(TARGETID)) + $(TMP_CONFIG): $(LINUX_KCONFIG_LIST) + $(LINUX_CONF_CMD) > $@ || rm -f $@ + -include $(TMP_CONFIG) + .SILENT: $(TMP_CONFIG) + .PRECIOUS: $(TMP_CONFIG) + + ifdef KERNEL_TESTING_PATCHVER + FEATURES += testing-kernel + endif + ifneq ($(CONFIG_OF),) + FEATURES += dt + endif + ifneq ($(CONFIG_GENERIC_GPIO)$(CONFIG_GPIOLIB),) + FEATURES += gpio + endif + ifneq ($(CONFIG_PCI),) + FEATURES += pci + endif + ifneq ($(CONFIG_PCIEPORTBUS),) + FEATURES += pcie + endif + ifneq ($(CONFIG_USB)$(CONFIG_USB_SUPPORT),) + ifneq ($(CONFIG_USB_ARCH_HAS_HCD)$(CONFIG_USB_EHCI_HCD),) + FEATURES += usb + endif + endif + ifneq ($(CONFIG_PCMCIA)$(CONFIG_PCCARD),) + FEATURES += pcmcia + endif + ifneq ($(CONFIG_VGA_CONSOLE)$(CONFIG_FB),) + FEATURES += display + endif + ifneq ($(CONFIG_RTC_CLASS),) + FEATURES += rtc + endif + ifneq ($(CONFIG_VIRTIO),) + FEATURES += virtio + endif + ifneq ($(CONFIG_CPU_MIPS32_R2),) + FEATURES += mips16 + endif + FEATURES += $(foreach v,6 7,$(if $(CONFIG_CPU_V$(v)),arm_v$(v))) + + # remove duplicates + FEATURES:=$(sort $(FEATURES)) + endif +endif + +CUR_SUBTARGET:=$(SUBTARGET) +ifeq ($(SUBTARGETS),) + CUR_SUBTARGET := default +endif + +define BuildTargets/DumpCurrent + .PHONY: dumpinfo + dumpinfo : export DESCRIPTION=$$(Target/Description) + dumpinfo: + @echo 'Target: $(TARGETID)'; \ + echo 'Target-Board: $(BOARD)'; \ + echo 'Target-Name: $(BOARDNAME)$(if $(SUBTARGETS),$(if $(SUBTARGET),))'; \ + echo 'Target-Arch: $(ARCH)'; \ + echo 'Target-Arch-Packages: $(if $(ARCH_PACKAGES),$(ARCH_PACKAGES),$(ARCH)$(if $(CPU_TYPE),_$(CPU_TYPE))$(if $(CPU_SUBTYPE),_$(CPU_SUBTYPE)))'; \ + echo 'Target-Features: $(FEATURES)'; \ + echo 'Target-Depends: $(DEPENDS)'; \ + echo 'Target-Optimization: $(if $(CFLAGS),$(CFLAGS),$(DEFAULT_CFLAGS))'; \ + echo 'CPU-Type: $(CPU_TYPE)$(if $(CPU_SUBTYPE),+$(CPU_SUBTYPE))'; \ + echo 'Linux-Version: $(LINUX_VERSION)'; \ + $(if $(LINUX_TESTING_VERSION),echo 'Linux-Testing-Version: $(LINUX_TESTING_VERSION)';) \ + echo 'Linux-Release: $(LINUX_RELEASE)'; \ + echo 'Linux-Kernel-Arch: $(LINUX_KARCH)'; \ + $(if $(SUBTARGET),,$(if $(DEFAULT_SUBTARGET), echo 'Default-Subtarget: $(DEFAULT_SUBTARGET)'; )) \ + echo 'Target-Description:'; \ + echo "$$$$DESCRIPTION"; \ + echo '@@'; \ + echo 'Default-Packages: $(DEFAULT_PACKAGES) $(call extra_packages,$(DEFAULT_PACKAGES))'; \ + $(DUMPINFO) + $(if $(CUR_SUBTARGET),$(SUBMAKE) -r --no-print-directory -C image -s DUMP=1 SUBTARGET=$(CUR_SUBTARGET)) + $(if $(SUBTARGET),,@$(foreach SUBTARGET,$(SUBTARGETS),$(SUBMAKE) -s DUMP=1 SUBTARGET=$(SUBTARGET); )) +endef + +include $(INCLUDE_DIR)/kernel.mk +ifeq ($(TARGET_BUILD),1) + include $(INCLUDE_DIR)/kernel-build.mk + BuildTarget?=$(BuildKernel) +endif + +endif #__target_inc diff --git a/include/toolchain-build.mk b/include/toolchain-build.mk new file mode 100644 index 0000000..35d8c93 --- /dev/null +++ b/include/toolchain-build.mk @@ -0,0 +1,26 @@ +# +# Copyright (C) 2009 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +override CONFIG_AUTOREBUILD= +override CONFIG_AUTOREMOVE= + +HOST_BUILD_PREFIX:=$(TOOLCHAIN_DIR) +BUILD_DIR_HOST:=$(BUILD_DIR_TOOLCHAIN) + +include $(INCLUDE_DIR)/host-build.mk +include $(INCLUDE_DIR)/hardening.mk + +HOST_STAMP_PREPARED=$(HOST_BUILD_DIR)/.prepared + +define FixupLibdir + if [ -d $(1)/lib64 -a \! -L $(1)/lib64 ]; then \ + mkdir -p $(1)/lib; \ + mv $(1)/lib64/* $(1)/lib/; \ + rm -rf $(1)/lib64; \ + fi + ln -sf lib $(1)/lib64 +endef diff --git a/include/toplevel.mk b/include/toplevel.mk new file mode 100644 index 0000000..e744447 --- /dev/null +++ b/include/toplevel.mk @@ -0,0 +1,266 @@ +# Makefile for OpenWrt +# +# Copyright (C) 2007-2012 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +PREP_MK= OPENWRT_BUILD= QUIET=0 + +export IS_TTY=$(shell tty -s && echo 1 || echo 0) + +include $(TOPDIR)/include/verbose.mk + +ifeq ($(SDK),1) + include $(TOPDIR)/include/version.mk +else + REVISION:=$(shell $(TOPDIR)/scripts/getver.sh) + SOURCE_DATE_EPOCH:=$(shell $(TOPDIR)/scripts/get_source_date_epoch.sh) +endif + +HOSTCC ?= $(CC) +export REVISION +export SOURCE_DATE_EPOCH +export GIT_CONFIG_PARAMETERS='core.autocrlf=false' +export GIT_ASKPASS:=/bin/true +export MAKE_JOBSERVER=$(filter --jobserver%,$(MAKEFLAGS)) +export GNU_HOST_NAME:=$(shell $(TOPDIR)/scripts/config.guess) +export HOST_OS:=$(shell uname) +export HOST_ARCH:=$(shell uname -m) + +# prevent perforce from messing with the patch utility +unexport P4PORT P4USER P4CONFIG P4CLIENT + +# prevent user defaults for quilt from interfering +unexport QUILT_PATCHES QUILT_PATCH_OPTS + +unexport C_INCLUDE_PATH CROSS_COMPILE ARCH + +# prevent distro default LPATH from interfering +unexport LPATH + +# make sure that a predefined CFLAGS variable does not disturb packages +export CFLAGS= +export LDFLAGS= + +empty:= +space:= $(empty) $(empty) +path:=$(subst :,$(space),$(PATH)) +path:=$(filter-out .%,$(path)) +path:=$(subst $(space),:,$(path)) +export PATH:=$(path) + +unexport TAR_OPTIONS + +ifneq ($(shell $(HOSTCC) 2>&1 | grep clang),) + export HOSTCC_REAL?=$(HOSTCC) + export HOSTCC_WRAPPER:=$(TOPDIR)/scripts/clang-gcc-wrapper +else + export HOSTCC_WRAPPER:=$(HOSTCC) +endif + +ifeq ($(FORCE),) + .config scripts/config/conf scripts/config/mconf: staging_dir/host/.prereq-build +endif + +SCAN_COOKIE?=$(shell echo $$$$) +export SCAN_COOKIE + +SUBMAKE:=umask 022; $(SUBMAKE) + +ULIMIT_FIX=_limit=`ulimit -n`; [ "$$_limit" = "unlimited" -o "$$_limit" -ge 1024 ] || ulimit -n 1024; + +prepare-mk: staging_dir/host/.prereq-build FORCE ; + +ifdef SDK + IGNORE_PACKAGES = linux +endif + +_ignore = $(foreach p,$(IGNORE_PACKAGES),--ignore $(p)) + +prepare-tmpinfo: FORCE + @+$(MAKE) -r -s staging_dir/host/.prereq-build $(PREP_MK) + mkdir -p tmp/info + $(_SINGLE)$(NO_TRACE_MAKE) -j1 -r -s -f include/scan.mk SCAN_TARGET="packageinfo" SCAN_DIR="package" SCAN_NAME="package" SCAN_DEPTH=5 SCAN_EXTRA="" + $(_SINGLE)$(NO_TRACE_MAKE) -j1 -r -s -f include/scan.mk SCAN_TARGET="targetinfo" SCAN_DIR="target/linux" SCAN_NAME="target" SCAN_DEPTH=2 SCAN_EXTRA="" SCAN_MAKEOPTS="TARGET_BUILD=1" + for type in package target; do \ + f=tmp/.$${type}info; t=tmp/.config-$${type}.in; \ + [ "$$t" -nt "$$f" ] || ./scripts/$${type}-metadata.pl $(_ignore) config "$$f" > "$$t" || { rm -f "$$t"; echo "Failed to build $$t"; false; break; }; \ + done + [ tmp/.config-feeds.in -nt tmp/.packageauxvars ] || ./scripts/feeds feed_config > tmp/.config-feeds.in + ./scripts/package-metadata.pl mk tmp/.packageinfo > tmp/.packagedeps || { rm -f tmp/.packagedeps; false; } + ./scripts/package-metadata.pl pkgaux tmp/.packageinfo > tmp/.packageauxvars || { rm -f tmp/.packageauxvars; false; } + touch $(TOPDIR)/tmp/.build + +.config: ./scripts/config/conf $(if $(CONFIG_HAVE_DOT_CONFIG),,prepare-tmpinfo) + @+if [ \! -e .config ] || ! grep CONFIG_HAVE_DOT_CONFIG .config >/dev/null; then \ + [ -e $(HOME)/.openwrt/defconfig ] && cp $(HOME)/.openwrt/defconfig .config; \ + $(_SINGLE)$(NO_TRACE_MAKE) menuconfig $(PREP_MK); \ + fi + +ifneq ($(DISTRO_PKG_CONFIG),) +scripts/config/mconf: export PATH:=$(dir $(DISTRO_PKG_CONFIG)):$(PATH) +endif +scripts/config/mconf: + @$(_SINGLE)$(SUBMAKE) -s -C scripts/config all CC="$(HOSTCC_WRAPPER)" + +$(eval $(call rdep,scripts/config,scripts/config/mconf)) + +scripts/config/qconf: + @$(_SINGLE)$(SUBMAKE) -s -C scripts/config qconf \ + CC="$(HOSTCC_WRAPPER)" \ + DISTRO-PKG-CONFIG="$(DISTRO_PKG_CONFIG)" + +scripts/config/conf: + @$(_SINGLE)$(SUBMAKE) -s -C scripts/config conf CC="$(HOSTCC_WRAPPER)" + +config: scripts/config/conf prepare-tmpinfo FORCE + [ -L .config ] && export KCONFIG_OVERWRITECONFIG=1; \ + $< Config.in + +config-clean: FORCE + $(_SINGLE)$(NO_TRACE_MAKE) -C scripts/config clean + +defconfig: scripts/config/conf prepare-tmpinfo FORCE + touch .config + @if [ ! -s .config -a -e $(HOME)/.openwrt/defconfig ]; then cp $(HOME)/.openwrt/defconfig .config; fi + [ -L .config ] && export KCONFIG_OVERWRITECONFIG=1; \ + $< --defconfig=.config Config.in + +confdefault-y=allyes +confdefault-m=allmod +confdefault-n=allno +confdefault:=$(confdefault-$(CONFDEFAULT)) + +oldconfig: scripts/config/conf prepare-tmpinfo FORCE + [ -L .config ] && export KCONFIG_OVERWRITECONFIG=1; \ + $< --$(if $(confdefault),$(confdefault),old)config Config.in + +menuconfig: scripts/config/mconf prepare-tmpinfo FORCE + if [ \! -e .config -a -e $(HOME)/.openwrt/defconfig ]; then \ + cp $(HOME)/.openwrt/defconfig .config; \ + fi + [ -L .config ] && export KCONFIG_OVERWRITECONFIG=1; \ + $< Config.in + +xconfig: scripts/config/qconf prepare-tmpinfo FORCE + if [ \! -e .config -a -e $(HOME)/.openwrt/defconfig ]; then \ + cp $(HOME)/.openwrt/defconfig .config; \ + fi + $< Config.in + +prepare_kernel_conf: .config FORCE + +ifeq ($(wildcard staging_dir/host/bin/quilt),) + prepare_kernel_conf: + @+$(SUBMAKE) -r tools/quilt/compile +else + prepare_kernel_conf: ; +endif + +kernel_oldconfig: prepare_kernel_conf + $(_SINGLE)$(NO_TRACE_MAKE) -C target/linux oldconfig + +ifneq ($(DISTRO_PKG_CONFIG),) +kernel_menuconfig: export PATH:=$(dir $(DISTRO_PKG_CONFIG)):$(PATH) +kernel_nconfig: export PATH:=$(dir $(DISTRO_PKG_CONFIG)):$(PATH) +endif +kernel_menuconfig: prepare_kernel_conf + $(_SINGLE)$(NO_TRACE_MAKE) -C target/linux menuconfig + +kernel_nconfig: prepare_kernel_conf + $(_SINGLE)$(NO_TRACE_MAKE) -C target/linux nconfig + +staging_dir/host/.prereq-build: include/prereq-build.mk + mkdir -p tmp + @$(_SINGLE)$(NO_TRACE_MAKE) -j1 -r -s -f $(TOPDIR)/include/prereq-build.mk prereq 2>/dev/null || { \ + echo "Prerequisite check failed. Use FORCE=1 to override."; \ + false; \ + } + ifneq ($(realpath $(TOPDIR)/include/prepare.mk),) + @$(_SINGLE)$(NO_TRACE_MAKE) -j1 -r -s -f $(TOPDIR)/include/prepare.mk prepare 2>/dev/null || { \ + echo "Preparation failed."; \ + false; \ + } + endif + touch $@ + +printdb: FORCE + @$(_SINGLE)$(NO_TRACE_MAKE) -p $@ V=99 DUMP_TARGET_DB=1 2>&1 + +ifndef SDK + DOWNLOAD_DIRS = tools/download toolchain/download package/download target/download +else + DOWNLOAD_DIRS = package/download +endif + +download: .config FORCE $(if $(wildcard $(TOPDIR)/staging_dir/host/bin/flock),,tools/flock/compile) + @+$(foreach dir,$(DOWNLOAD_DIRS),$(SUBMAKE) $(dir);) + +clean dirclean: .config + @+$(SUBMAKE) -r $@ + +prereq:: prepare-tmpinfo .config + @+$(NO_TRACE_MAKE) -r -s $@ + +check: .config FORCE + @+$(NO_TRACE_MAKE) -r -s $@ QUIET= V=s + +val.%: FORCE + @+$(NO_TRACE_MAKE) -r -s $@ QUIET= V=s + +WARN_PARALLEL_ERROR = $(if $(BUILD_LOG),,$(and $(filter -j,$(MAKEFLAGS)),$(findstring s,$(OPENWRT_VERBOSE)))) + +ifeq ($(SDK),1) + +%:: + @+$(PREP_MK) $(NO_TRACE_MAKE) -r -s prereq + @./scripts/config/conf --defconfig=.config Config.in + @+$(ULIMIT_FIX) $(SUBMAKE) -r $@ + +else + +%:: + @+$(PREP_MK) $(NO_TRACE_MAKE) -r -s prereq + @( \ + cp .config tmp/.config; \ + ./scripts/config/conf --defconfig=tmp/.config -w tmp/.config Config.in > /dev/null 2>&1; \ + if ./scripts/kconfig.pl '>' .config tmp/.config | grep -q CONFIG; then \ + printf "$(_R)WARNING: your configuration is out of sync. Please run make menuconfig, oldconfig or defconfig!$(_N)\n" >&2; \ + fi \ + ) + @+$(ULIMIT_FIX) $(SUBMAKE) -r $@ $(if $(WARN_PARALLEL_ERROR), || { \ + printf "$(_R)Build failed - please re-run with -j1 to see the real error message$(_N)\n" >&2; \ + false; \ + } ) + +endif + +# update all feeds, re-create index files, install symlinks +package/symlinks: + ./scripts/feeds update -a + ./scripts/feeds install -a + +# re-create index files, install symlinks +package/symlinks-install: + ./scripts/feeds update -i + ./scripts/feeds install -a + +# remove all symlinks, don't touch ./feeds +package/symlinks-clean: + ./scripts/feeds uninstall -a + +help: + cat README + +distclean: + rm -rf bin build_dir .config* dl feeds key-build* logs package/feeds package/openwrt-packages staging_dir tmp + @$(_SINGLE)$(SUBMAKE) -C scripts/config clean + +ifeq ($(findstring v,$(DEBUG)),) + .SILENT: symlinkclean clean dirclean distclean config-clean download help tmpinfo-clean .config scripts/config/mconf scripts/config/conf menuconfig staging_dir/host/.prereq-build tmp/.prereq-package prepare-tmpinfo +endif +.PHONY: help FORCE +.NOTPARALLEL: + diff --git a/include/u-boot.mk b/include/u-boot.mk new file mode 100644 index 0000000..02e37d0 --- /dev/null +++ b/include/u-boot.mk @@ -0,0 +1,104 @@ +PKG_NAME ?= u-boot + +ifndef PKG_SOURCE_PROTO +PKG_SOURCE = $(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL = \ + https://sources.openwrt.org \ + ftp://ftp.denx.de/pub/u-boot +endif + +PKG_BUILD_DIR = $(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION) + +PKG_TARGETS := bin +PKG_FLAGS:=nonshared + +PKG_LICENSE:=GPL-2.0 GPL-2.0+ +PKG_LICENSE_FILES:=Licenses/README + +PKG_BUILD_PARALLEL:=1 + +export GCC_HONOUR_COPTS=s + +define Package/u-boot/install/default + $(CP) $(patsubst %,$(PKG_BUILD_DIR)/%,$(UBOOT_IMAGE)) $(1)/ +endef + +Package/u-boot/install = $(Package/u-boot/install/default) + +define U-Boot/Init + BUILD_TARGET:= + BUILD_SUBTARGET:= + BUILD_DEVICES:= + NAME:= + DEPENDS:= + HIDDEN:= + DEFAULT:= + VARIANT:=$(1) + UBOOT_CONFIG:=$(1) + UBOOT_IMAGE:=u-boot.bin +endef + +TARGET_DEP = TARGET_$(BUILD_TARGET)$(if $(BUILD_SUBTARGET),_$(BUILD_SUBTARGET)) + +UBOOT_MAKE_FLAGS = \ + HOSTCC="$(HOSTCC)" \ + HOSTCFLAGS="$(HOST_CFLAGS) $(HOST_CPPFLAGS) -std=gnu11" \ + HOSTLDFLAGS="$(HOST_LDFLAGS)" + +define Build/U-Boot/Target + $(eval $(call U-Boot/Init,$(1))) + $(eval $(call U-Boot/Default,$(1))) + $(eval $(call U-Boot/$(1),$(1))) + + define Package/u-boot-$(1) + SECTION:=boot + CATEGORY:=Boot Loaders + TITLE:=U-Boot for $(NAME) + VARIANT:=$(VARIANT) + DEPENDS:=@!IN_SDK $(DEPENDS) + HIDDEN:=$(HIDDEN) + ifneq ($(BUILD_TARGET),) + DEPENDS += @$(TARGET_DEP) + ifneq ($(BUILD_DEVICES),) + DEFAULT := y if ($(TARGET_DEP)_Default \ + $(patsubst %,|| $(TARGET_DEP)_DEVICE_%,$(BUILD_DEVICES)) \ + $(patsubst %,|| $(patsubst TARGET_%,TARGET_DEVICE_%,$(TARGET_DEP))_DEVICE_%,$(BUILD_DEVICES))) + endif + endif + $(if $(DEFAULT),DEFAULT:=$(DEFAULT)) + URL:=http://www.denx.de/wiki/U-Boot + endef + + define Package/u-boot-$(1)/install + $$(Package/u-boot/install) + endef +endef + +define Build/Configure/U-Boot + +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) $(UBOOT_CONFIGURE_VARS) $(UBOOT_CONFIG)_config +endef + +DTC=$(wildcard $(LINUX_DIR)/scripts/dtc/dtc) + +define Build/Compile/U-Boot + +$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \ + CROSS_COMPILE=$(TARGET_CROSS) \ + $(if $(DTC),DTC="$(DTC)") \ + $(UBOOT_MAKE_FLAGS) +endef + +define BuildPackage/U-Boot/Defaults + Build/Configure/Default = $$$$(Build/Configure/U-Boot) + Build/Compile/Default = $$$$(Build/Compile/U-Boot) +endef + +define BuildPackage/U-Boot + $(eval $(call BuildPackage/U-Boot/Defaults)) + $(foreach type,$(if $(DUMP),$(UBOOT_TARGETS),$(BUILD_VARIANT)), \ + $(eval $(call Build/U-Boot/Target,$(type))) + ) + $(eval $(call Build/DefaultTargets)) + $(foreach type,$(if $(DUMP),$(UBOOT_TARGETS),$(BUILD_VARIANT)), \ + $(call BuildPackage,u-boot-$(type)) + ) +endef diff --git a/include/uclibc++.mk b/include/uclibc++.mk new file mode 100644 index 0000000..a1a61f2 --- /dev/null +++ b/include/uclibc++.mk @@ -0,0 +1,16 @@ +ifndef DUMP + ifdef __package_mk + $(error uclibc++.mk must be included before package.mk) + endif +endif + +PKG_PREPARED_DEPENDS += CONFIG_USE_UCLIBCXX +CXX_DEPENDS = +USE_UCLIBCXX:uclibcxx +USE_LIBSTDCXX:libstdcpp + +ifneq ($(CONFIG_USE_UCLIBCXX),) + ifneq ($(CONFIG_CCACHE),) + TARGET_CXX_NOCACHE=g++-uc + else + TARGET_CXX=g++-uc + endif +endif diff --git a/include/unpack.mk b/include/unpack.mk new file mode 100644 index 0000000..6141b1c --- /dev/null +++ b/include/unpack.mk @@ -0,0 +1,71 @@ +# +# Copyright (C) 2006-2007 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +HOST_TAR:=$(TAR) +TAR_CMD=$(HOST_TAR) -C $(1)/.. $(TAR_OPTIONS) +UNZIP_CMD=unzip -q -d $(1)/.. $(DL_DIR)/$(PKG_SOURCE) + +ifeq ($(PKG_SOURCE),) + PKG_UNPACK ?= true +else + +ifeq ($(strip $(UNPACK_CMD)),) + ifeq ($(strip $(PKG_CAT)),) + # try to autodetect file type + EXT:=$(call ext,$(PKG_SOURCE)) + EXT1:=$(EXT) + + ifeq ($(filter gz tgz,$(EXT)),$(EXT)) + EXT:=$(call ext,$(PKG_SOURCE:.$(EXT)=)) + DECOMPRESS_CMD:=gzip -dc $(DL_DIR)/$(PKG_SOURCE) | + endif + ifeq ($(filter bzip2 bz2 bz tbz2 tbz,$(EXT)),$(EXT)) + EXT:=$(call ext,$(PKG_SOURCE:.$(EXT)=)) + DECOMPRESS_CMD:=bzcat $(DL_DIR)/$(PKG_SOURCE) | + endif + ifeq ($(filter xz txz,$(EXT)),$(EXT)) + EXT:=$(call ext,$(PKG_SOURCE:.$(EXT)=)) + DECOMPRESS_CMD:=xzcat $(DL_DIR)/$(PKG_SOURCE) | + endif + ifeq ($(filter tgz tbz tbz2 txz,$(EXT1)),$(EXT1)) + EXT:=tar + endif + DECOMPRESS_CMD ?= cat $(DL_DIR)/$(PKG_SOURCE) | + ifeq ($(EXT),tar) + UNPACK_CMD=$(DECOMPRESS_CMD) $(TAR_CMD) + endif + ifeq ($(EXT),cpio) + UNPACK_CMD=$(DECOMPRESS_CMD) (cd $(1)/..; cpio -i -d) + endif + ifeq ($(EXT),zip) + UNPACK_CMD=$(UNZIP_CMD) + endif + endif + + # compatibility code for packages that set PKG_CAT + ifeq ($(strip $(UNPACK_CMD)),) + # use existing PKG_CAT + UNPACK_CMD=$(PKG_CAT) $(DL_DIR)/$(PKG_SOURCE) | $(TAR_CMD) + ifeq ($(PKG_CAT),unzip) + UNPACK_CMD=$(UNZIP_CMD) + endif + # replace zcat with $(ZCAT), because some system don't support it properly + ifeq ($(PKG_CAT),zcat) + UNPACK_CMD=gzip -dc $(DL_DIR)/$(PKG_SOURCE) | $(TAR_CMD) + endif + endif +endif + +ifdef PKG_BUILD_DIR + PKG_UNPACK ?= $(SH_FUNC) $(call UNPACK_CMD,$(PKG_BUILD_DIR)) +endif +ifdef HOST_BUILD_DIR + HOST_UNPACK ?= $(SH_FUNC) $(call UNPACK_CMD,$(HOST_BUILD_DIR)) +endif + +endif # PKG_SOURCE + diff --git a/include/verbose.mk b/include/verbose.mk new file mode 100644 index 0000000..d260080 --- /dev/null +++ b/include/verbose.mk @@ -0,0 +1,67 @@ +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +ifndef OPENWRT_VERBOSE + OPENWRT_VERBOSE:= +endif +ifeq ("$(origin V)", "command line") + OPENWRT_VERBOSE:=$(V) +endif + +ifeq ($(OPENWRT_VERBOSE),1) + OPENWRT_VERBOSE:=w +endif +ifeq ($(OPENWRT_VERBOSE),99) + OPENWRT_VERBOSE:=s +endif + +ifeq ($(NO_TRACE_MAKE),) +NO_TRACE_MAKE := $(MAKE) V=s$(OPENWRT_VERBOSE) +export NO_TRACE_MAKE +endif + +ifeq ($(IS_TTY),1) + ifneq ($(strip $(NO_COLOR)),1) + _Y:=\\033[33m + _R:=\\033[31m + _N:=\\033[m + endif +endif + +ifeq ($(findstring s,$(OPENWRT_VERBOSE)),) + define MESSAGE + printf "$(_Y)%s$(_N)\n" "$(1)" >&8 + endef + + define ERROR_MESSAGE + printf "$(_R)%s$(_N)\n" "$(1)" >&8 + endef + + ifeq ($(QUIET),1) + ifneq ($(CURDIR),$(TOPDIR)) + _DIR:=$(patsubst $(TOPDIR)/%,%,${CURDIR}) + else + _DIR:= + endif + _NULL:=$(if $(MAKECMDGOALS),$(shell \ + $(call MESSAGE, make[$(MAKELEVEL)]$(if $(_DIR), -C $(_DIR)) $(MAKECMDGOALS)); \ + )) + SUBMAKE=$(MAKE) + else + SILENT:=>/dev/null $(if $(findstring w,$(OPENWRT_VERBOSE)),,2>&1) + export QUIET:=1 + SUBMAKE=cmd() { $(SILENT) $(MAKE) -s "$$@" < /dev/null || { echo "make $$*: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on"; false; } } 8>&1 9>&2; cmd + endif + + .SILENT: $(MAKECMDGOALS) +else + SUBMAKE=$(MAKE) -w + define MESSAGE + printf "%s\n" "$(1)" + endef + ERROR_MESSAGE=$(MESSAGE) +endif diff --git a/include/version.mk b/include/version.mk new file mode 100644 index 0000000..db0167d --- /dev/null +++ b/include/version.mk @@ -0,0 +1,111 @@ +# +# Copyright (C) 2012-2015 OpenWrt.org +# Copyright (C) 2016 LEDE Project +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +# Substituted by SDK, do not remove +# REVISION:=x +# SOURCE_DATE_EPOCH:=x + +PKG_CONFIG_DEPENDS += \ + CONFIG_VERSION_HOME_URL \ + CONFIG_VERSION_BUG_URL \ + CONFIG_VERSION_NUMBER \ + CONFIG_VERSION_CODE \ + CONFIG_VERSION_REPO \ + CONFIG_VERSION_DIST \ + CONFIG_VERSION_MANUFACTURER \ + CONFIG_VERSION_MANUFACTURER_URL \ + CONFIG_VERSION_PRODUCT \ + CONFIG_VERSION_SUPPORT_URL \ + CONFIG_VERSION_HWREV \ + +sanitize = $(call tolower,$(subst _,-,$(subst $(space),-,$(1)))) + +VERSION_NUMBER:=$(call qstrip,$(CONFIG_VERSION_NUMBER)) +VERSION_NUMBER:=$(if $(VERSION_NUMBER),$(VERSION_NUMBER),19.07-SNAPSHOT) + +VERSION_CODE:=$(call qstrip,$(CONFIG_VERSION_CODE)) +VERSION_CODE:=$(if $(VERSION_CODE),$(VERSION_CODE),$(REVISION)) + +VERSION_REPO:=$(call qstrip,$(CONFIG_VERSION_REPO)) +VERSION_REPO:=$(if $(VERSION_REPO),$(VERSION_REPO),http://downloads.openwrt.org/releases/19.07-SNAPSHOT) + +VERSION_DIST:=$(call qstrip,$(CONFIG_VERSION_DIST)) +VERSION_DIST:=$(if $(VERSION_DIST),$(VERSION_DIST),OpenWrt) +VERSION_DIST_SANITIZED:=$(call sanitize,$(VERSION_DIST)) + +VERSION_MANUFACTURER:=$(call qstrip,$(CONFIG_VERSION_MANUFACTURER)) +VERSION_MANUFACTURER:=$(if $(VERSION_MANUFACTURER),$(VERSION_MANUFACTURER),OpenWrt) + +VERSION_MANUFACTURER_URL:=$(call qstrip,$(CONFIG_VERSION_MANUFACTURER_URL)) +VERSION_MANUFACTURER_URL:=$(if $(VERSION_MANUFACTURER_URL),$(VERSION_MANUFACTURER_URL),https://openwrt.org/) + +VERSION_BUG_URL:=$(call qstrip,$(CONFIG_VERSION_BUG_URL)) +VERSION_BUG_URL:=$(if $(VERSION_BUG_URL),$(VERSION_BUG_URL),https://bugs.openwrt.org/) + +VERSION_HOME_URL:=$(call qstrip,$(CONFIG_VERSION_HOME_URL)) +VERSION_HOME_URL:=$(if $(VERSION_HOME_URL),$(VERSION_HOME_URL),https://openwrt.org/) + +VERSION_SUPPORT_URL:=$(call qstrip,$(CONFIG_VERSION_SUPPORT_URL)) +VERSION_SUPPORT_URL:=$(if $(VERSION_SUPPORT_URL),$(VERSION_SUPPORT_URL),https://forum.openwrt.org/) + +VERSION_PRODUCT:=$(call qstrip,$(CONFIG_VERSION_PRODUCT)) +VERSION_PRODUCT:=$(if $(VERSION_PRODUCT),$(VERSION_PRODUCT),Generic) + +VERSION_HWREV:=$(call qstrip,$(CONFIG_VERSION_HWREV)) +VERSION_HWREV:=$(if $(VERSION_HWREV),$(VERSION_HWREV),v0) + +define taint2sym +$(CONFIG_$(firstword $(subst :, ,$(subst +,,$(subst -,,$(1)))))) +endef + +define taint2name +$(lastword $(subst :, ,$(1))) +endef + +VERSION_TAINT_SPECS := \ + -ALL_KMODS:no-all \ + -IPV6:no-ipv6 \ + +USE_GLIBC:glibc \ + +USE_MKLIBS:mklibs \ + +BUSYBOX_CUSTOM:busybox \ + +OVERRIDE_PKGS:override \ + +VERSION_TAINTS := $(strip $(foreach taint,$(VERSION_TAINT_SPECS), \ + $(if $(findstring +,$(taint)), \ + $(if $(call taint2sym,$(taint)),$(call taint2name,$(taint))), \ + $(if $(call taint2sym,$(taint)),,$(call taint2name,$(taint))) \ + ))) + +PKG_CONFIG_DEPENDS += $(foreach taint,$(VERSION_TAINT_SPECS),$(call taint2sym,$(taint))) + +# escape commas, backslashes, squotes, and ampersands for sed +define sed_escape +$(subst &,\&,$(subst $(comma),\$(comma),$(subst ','\'',$(subst \,\\,$(1))))) +endef +#' + +VERSION_SED_SCRIPT:=$(SED) 's,%U,$(call sed_escape,$(VERSION_REPO)),g' \ + -e 's,%V,$(call sed_escape,$(VERSION_NUMBER)),g' \ + -e 's,%v,\L$(call sed_escape,$(subst $(space),_,$(VERSION_NUMBER))),g' \ + -e 's,%C,$(call sed_escape,$(VERSION_CODE)),g' \ + -e 's,%c,\L$(call sed_escape,$(subst $(space),_,$(VERSION_CODE))),g' \ + -e 's,%D,$(call sed_escape,$(VERSION_DIST)),g' \ + -e 's,%d,\L$(call sed_escape,$(subst $(space),_,$(VERSION_DIST))),g' \ + -e 's,%R,$(call sed_escape,$(REVISION)),g' \ + -e 's,%T,$(call sed_escape,$(BOARD)),g' \ + -e 's,%S,$(call sed_escape,$(BOARD)/$(if $(SUBTARGET),$(SUBTARGET),generic)),g' \ + -e 's,%A,$(call sed_escape,$(ARCH_PACKAGES)),g' \ + -e 's,%t,$(call sed_escape,$(VERSION_TAINTS)),g' \ + -e 's,%M,$(call sed_escape,$(VERSION_MANUFACTURER)),g' \ + -e 's,%m,$(call sed_escape,$(VERSION_MANUFACTURER_URL)),g' \ + -e 's,%b,$(call sed_escape,$(VERSION_BUG_URL)),g' \ + -e 's,%u,$(call sed_escape,$(VERSION_HOME_URL)),g' \ + -e 's,%s,$(call sed_escape,$(VERSION_SUPPORT_URL)),g' \ + -e 's,%P,$(call sed_escape,$(VERSION_PRODUCT)),g' \ + -e 's,%h,$(call sed_escape,$(VERSION_HWREV)),g' + diff --git a/package/Makefile b/package/Makefile new file mode 100644 index 0000000..58c1ba2 --- /dev/null +++ b/package/Makefile @@ -0,0 +1,111 @@ +# +# Copyright (C) 2006-2010 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +curdir:=package + +include $(INCLUDE_DIR)/feeds.mk +include $(INCLUDE_DIR)/rootfs.mk + +-include $(TMP_DIR)/.packagedeps +$(curdir)/autoremove:=1 +$(curdir)/builddirs:=$(sort $(package-) $(package-y) $(package-m)) +$(curdir)/builddirs-default:=. $(sort $(package-y) $(package-m)) +$(curdir)/builddirs-prereq:=. $(sort $(prereq-y) $(prereq-m)) +ifdef CHECK_ALL +$(curdir)/builddirs-check:=$($(curdir)/builddirs) +$(curdir)/builddirs-download:=$($(curdir)/builddirs) +endif +ifneq ($(IGNORE_ERRORS),) + package-y-filter := $(package-y) + package-m-filter := $(filter-out $(package-y),$(package-m)) + package-n-filter := $(filter-out $(package-y) $(package-m),$(package-)) + package-ignore-errors := $(filter n m y,$(IGNORE_ERRORS)) + package-ignore-errors := $(if $(package-ignore-errors),$(package-ignore-errors),n m) + package-ignore-subdirs := $(sort $(foreach m,$(package-ignore-errors),$(package-$(m)-filter))) + $(curdir)/builddirs-ignore-download := $(package-ignore-subdirs) + $(curdir)/builddirs-ignore-compile := $(package-ignore-subdirs) + $(curdir)/builddirs-ignore-host-download := $(package-ignore-subdirs) + $(curdir)/builddirs-ignore-host-compile := $(package-ignore-subdirs) +endif + +PACKAGE_INSTALL_FILES:= \ + $(foreach pkg,$(sort $(package-y)), \ + $(foreach variant, \ + $(if $(strip $(package/$(pkg)/variants)), \ + $(package/$(pkg)/variants), \ + $(if $(package/$(pkg)/default-variant), \ + $(package/$(pkg)/default-variant), \ + default \ + ) \ + ), \ + $(PKG_INFO_DIR)/$(lastword $(subst /,$(space),$(pkg))).$(variant).install \ + ) \ + ) + +$(curdir)/cleanup: $(TMP_DIR)/.build + rm -rf $(STAGING_DIR_ROOT) + +$(curdir)/merge: + rm -rf $(PACKAGE_DIR_ALL) + mkdir -p $(PACKAGE_DIR_ALL) + -$(foreach pdir,$(PACKAGE_SUBDIRS),$(if $(wildcard $(pdir)/*.ipk),ln -s $(pdir)/*.ipk $(PACKAGE_DIR_ALL);)) + +$(curdir)/merge-index: $(curdir)/merge + (cd $(PACKAGE_DIR_ALL) && $(SCRIPT_DIR)/ipkg-make-index.sh . 2>&1 > Packages; ) + +ifndef SDK + $(curdir)/compile: $(curdir)/system/opkg/host/compile +endif + +$(curdir)/install: $(TMP_DIR)/.build $(curdir)/merge $(if $(CONFIG_TARGET_PER_DEVICE_ROOTFS),$(curdir)/merge-index) + - find $(STAGING_DIR_ROOT) -type d | $(XARGS) chmod 0755 + rm -rf $(TARGET_DIR) $(TARGET_DIR_ORIG) + mkdir -p $(TARGET_DIR)/tmp + $(call opkg,$(TARGET_DIR)) install \ + $(call opkg_package_files,$(foreach pkg,$(shell cat $(PACKAGE_INSTALL_FILES) 2>/dev/null),$(pkg)$(call GetABISuffix,$(pkg)))) + @for file in $(PACKAGE_INSTALL_FILES); do \ + [ -s $$file.flags ] || continue; \ + for flag in `cat $$file.flags`; do \ + $(call opkg,$(TARGET_DIR)) flag $$flag `cat $$file`; \ + done; \ + done || true + + $(CP) $(TARGET_DIR) $(TARGET_DIR_ORIG) + + $(call prepare_rootfs,$(TARGET_DIR),$(TOPDIR)/files) + +$(curdir)/index: FORCE + @echo Generating package index... + @for d in $(PACKAGE_SUBDIRS); do ( \ + mkdir -p $$d; \ + cd $$d || continue; \ + $(SCRIPT_DIR)/ipkg-make-index.sh . 2>&1 > Packages.manifest; \ + grep -vE '^(Maintainer|LicenseFiles|Source|SourceName|Require)' Packages.manifest > Packages; \ + case "$$(((64 + $$(stat -L -c%s Packages)) % 128))" in 110|111) \ + $(call ERROR_MESSAGE,WARNING: Applying padding in $$d/Packages to workaround usign SHA-512 bug!); \ + { echo ""; echo ""; } >> Packages;; \ + esac; \ + gzip -9nc Packages > Packages.gz; \ + ); done +ifdef CONFIG_SIGNED_PACKAGES + @echo Signing package index... + @for d in $(PACKAGE_SUBDIRS); do ( \ + [ -d $$d ] && \ + cd $$d || continue; \ + $(STAGING_DIR_HOST)/bin/usign -S -m Packages -s $(BUILD_KEY); \ + ); done +endif + +$(curdir)/flags-install:= -j1 + +$(eval $(call stampfile,$(curdir),package,prereq,.config)) +$(eval $(call stampfile,$(curdir),package,cleanup,$(TMP_DIR)/.build)) +$(eval $(call stampfile,$(curdir),package,compile,$(TMP_DIR)/.build)) +$(eval $(call stampfile,$(curdir),package,install,$(TMP_DIR)/.build)) +$(eval $(call stampfile,$(curdir),package,check,$(TMP_DIR)/.build)) + +$(eval $(call subdir,$(curdir))) diff --git a/package/base-files/Makefile b/package/base-files/Makefile new file mode 100644 index 0000000..dfb84d1 --- /dev/null +++ b/package/base-files/Makefile @@ -0,0 +1,207 @@ +# +# Copyright (C) 2007-2016 OpenWrt.org +# Copyright (C) 2010 Vertical Communications +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk +include $(INCLUDE_DIR)/kernel.mk +include $(INCLUDE_DIR)/version.mk +include $(INCLUDE_DIR)/feeds.mk + +PKG_NAME:=base-files +PKG_RELEASE:=204.4 +PKG_FLAGS:=nonshared + +PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ +PKG_BUILD_DEPENDS:=usign/host ucert/host +PKG_LICENSE:=GPL-2.0 + +# Extend depends from version.mk +PKG_CONFIG_DEPENDS += \ + CONFIG_SIGNED_PACKAGES CONFIG_TARGET_INIT_PATH CONFIG_TARGET_PREINIT_DISABLE_FAILSAFE \ + CONFIG_NAND_SUPPORT \ + CONFIG_CLEAN_IPKG \ + CONFIG_PER_FEED_REPO \ + $(foreach feed,$(FEEDS_AVAILABLE),CONFIG_FEED_$(feed)) + +include $(INCLUDE_DIR)/package.mk + +ifneq ($(DUMP),1) + STAMP_CONFIGURED:=$(strip $(STAMP_CONFIGURED))_$(shell echo $(CONFIG_TARGET_INIT_PATH) | mkhash md5) + TARGET:=-$(BOARD) +endif + +define Package/base-files + SECTION:=base + CATEGORY:=Base system + DEPENDS:=+netifd +libc +procd +jsonfilter +SIGNED_PACKAGES:usign +SIGNED_PACKAGES:openwrt-keyring +NAND_SUPPORT:ubi-utils +fstools +fwtool + TITLE:=Base filesystem for OpenWrt + URL:=http://openwrt.org/ + VERSION:=$(PKG_RELEASE)-$(REVISION) +endef + +define Package/base-files/conffiles +/etc/config/ +/etc/config/network +/etc/config/system +/etc/crontabs/ +/etc/dropbear/ +/etc/ethers +/etc/group +/etc/hosts +/etc/inittab +/etc/iproute2/rt_protos +/etc/iproute2/rt_tables +/etc/passwd +/etc/profile +/etc/profile.d +/etc/protocols +/etc/rc.local +/etc/services +/etc/shadow +/etc/shells +/etc/sysctl.conf +/etc/sysupgrade.conf +$(call $(TARGET)/conffiles) +endef + +define Package/base-files/description + This package contains a base filesystem and system scripts for OpenWrt. +endef + +define ImageConfigOptions + mkdir -p $(1)/lib/preinit + echo 'pi_suppress_stderr="$(CONFIG_TARGET_PREINIT_SUPPRESS_STDERR)"' >$(1)/lib/preinit/00_preinit.conf + echo 'fs_failsafe_wait_timeout=$(if $(CONFIG_TARGET_PREINIT_TIMEOUT),$(CONFIG_TARGET_PREINIT_TIMEOUT),2)' >>$(1)/lib/preinit/00_preinit.conf + echo 'pi_init_path="$(TARGET_INIT_PATH)"' >>$(1)/lib/preinit/00_preinit.conf + echo 'pi_init_env=$(if $(CONFIG_TARGET_INIT_ENV),$(CONFIG_TARGET_INIT_ENV),"")' >>$(1)/lib/preinit/00_preinit.conf + echo 'pi_init_cmd=$(if $(CONFIG_TARGET_INIT_CMD),$(CONFIG_TARGET_INIT_CMD),"/sbin/init")' >>$(1)/lib/preinit/00_preinit.conf + echo 'pi_init_suppress_stderr="$(CONFIG_TARGET_INIT_SUPPRESS_STDERR)"' >>$(1)/lib/preinit/00_preinit.conf + echo 'pi_ifname=$(if $(CONFIG_TARGET_PREINIT_IFNAME),$(CONFIG_TARGET_PREINIT_IFNAME),"")' >>$(1)/lib/preinit/00_preinit.conf + echo 'pi_ip=$(if $(CONFIG_TARGET_PREINIT_IP),$(CONFIG_TARGET_PREINIT_IP),"192.168.1.1")' >>$(1)/lib/preinit/00_preinit.conf + echo 'pi_netmask=$(if $(CONFIG_TARGET_PREINIT_NETMASK),$(CONFIG_TARGET_PREINIT_NETMASK),"255.255.255.0")' >>$(1)/lib/preinit/00_preinit.conf + echo 'pi_broadcast=$(if $(CONFIG_TARGET_PREINIT_BROADCAST),$(CONFIG_TARGET_PREINIT_BROADCAST),"192.168.1.255")' >>$(1)/lib/preinit/00_preinit.conf + echo 'pi_preinit_net_messages="$(CONFIG_TARGET_PREINIT_SHOW_NETMSG)"' >>$(1)/lib/preinit/00_preinit.conf + echo 'pi_preinit_no_failsafe_netmsg="$(CONFIG_TARGET_PREINIT_SUPPRESS_FAILSAFE_NETMSG)"' >>$(1)/lib/preinit/00_preinit.conf + echo 'pi_preinit_no_failsafe="$(CONFIG_TARGET_PREINIT_DISABLE_FAILSAFE)"' >>$(1)/lib/preinit/00_preinit.conf +endef + +define Build/Prepare + mkdir -p $(PKG_BUILD_DIR) +endef + +define Build/Compile/Default + +endef +Build/Compile = $(Build/Compile/Default) + +ifdef CONFIG_SIGNED_PACKAGES + define Build/Configure + [ -s $(BUILD_KEY) -a -s $(BUILD_KEY).pub ] || \ + $(STAGING_DIR_HOST)/bin/usign -G -s $(BUILD_KEY) -p $(BUILD_KEY).pub -c "Local build key" + + [ -s $(BUILD_KEY).ucert ] || \ + $(STAGING_DIR_HOST)/bin/ucert -I -c $(BUILD_KEY).ucert -p $(BUILD_KEY).pub -s $(BUILD_KEY) + + endef + + define Package/base-files/install-key + mkdir -p $(1)/etc/opkg/keys + $(CP) $(BUILD_KEY).pub $(1)/etc/opkg/keys/`$(STAGING_DIR_HOST)/bin/usign -F -p $(BUILD_KEY).pub` + + endef +endif + +ifeq ($(CONFIG_NAND_SUPPORT),) + define Package/base-files/nand-support + rm -f $(1)/lib/upgrade/nand.sh + endef +endif + +define Package/base-files/install + $(CP) ./files/* $(1)/ + $(Package/base-files/install-key) + $(Package/base-files/nand-support) + if [ -d $(GENERIC_PLATFORM_DIR)/base-files/. ]; then \ + $(CP) $(GENERIC_PLATFORM_DIR)/base-files/* $(1)/; \ + fi + if [ -d $(PLATFORM_DIR)/base-files/. ]; then \ + $(CP) $(PLATFORM_DIR)/base-files/* $(1)/; \ + fi + $(if $(filter-out $(PLATFORM_DIR),$(PLATFORM_SUBDIR)), \ + if [ -d $(PLATFORM_SUBDIR)/base-files/. ]; then \ + $(CP) $(PLATFORM_SUBDIR)/base-files/* $(1)/; \ + fi; \ + ) + + $(VERSION_SED_SCRIPT) \ + $(1)/etc/banner \ + $(1)/etc/openwrt_version \ + $(1)/usr/lib/os-release + + $(VERSION_SED_SCRIPT) \ + $(1)/etc/openwrt_release \ + $(1)/etc/device_info \ + $(1)/usr/lib/os-release + + $(SED) "s#%PATH%#$(TARGET_INIT_PATH)#g" \ + $(1)/sbin/hotplug-call \ + $(1)/etc/preinit \ + $(1)/etc/profile + + mkdir -p $(1)/CONTROL + mkdir -p $(1)/dev + mkdir -p $(1)/etc/config + mkdir -p $(1)/etc/crontabs + mkdir -p $(1)/etc/rc.d + mkdir -p $(1)/overlay + mkdir -p $(1)/lib/firmware + $(if $(LIB_SUFFIX),-$(LN) lib $(1)/lib$(LIB_SUFFIX)) + mkdir -p $(1)/mnt + mkdir -p $(1)/proc + mkdir -p $(1)/tmp + mkdir -p $(1)/usr/lib + $(if $(LIB_SUFFIX),-$(LN) lib $(1)/usr/lib$(LIB_SUFFIX)) + mkdir -p $(1)/usr/bin + mkdir -p $(1)/sys + mkdir -p $(1)/www + mkdir -p $(1)/root + $(LN) /proc/mounts $(1)/etc/mtab + rm -f $(1)/var + $(LN) tmp $(1)/var + mkdir -p $(1)/etc + $(LN) /tmp/resolv.conf /tmp/TZ /tmp/localtime $(1)/etc/ + + chmod 0600 $(1)/etc/shadow + chmod 1777 $(1)/tmp + + $(call ImageConfigOptions,$(1)) + $(call Package/base-files/install-target,$(1)) + for conffile in $(1)/etc/config/*; do \ + if [ -f "$$$$conffile" ]; then \ + grep "$$$${conffile##$(1)}" $(1)/CONTROL/conffiles || \ + echo "$$$${conffile##$(1)}" >> $(1)/CONTROL/conffiles; \ + fi \ + done + + $(if $(CONFIG_INCLUDE_CONFIG), \ + echo -e "# Build configuration for board $(BOARD)/$(SUBTARGET)/$(PROFILE)\n" >$(1)/etc/build.config; \ + cat $(BIN_DIR)/config.buildinfo >>$(1)/etc/build.config) + + $(if $(CONFIG_CLEAN_IPKG),, \ + mkdir -p $(1)/etc/opkg; \ + $(call FeedSourcesAppend,$(1)/etc/opkg/distfeeds.conf); \ + $(VERSION_SED_SCRIPT) $(1)/etc/opkg/distfeeds.conf) + $(if $(CONFIG_IPK_FILES_CHECKSUMS), \ + rm -f $(1)/sbin/pkg_check,) +endef + +ifneq ($(DUMP),1) + -include $(PLATFORM_DIR)/base-files.mk + -include $(PLATFORM_SUBDIR)/base-files.mk +endif + +$(eval $(call BuildPackage,base-files)) diff --git a/package/base-files/files/bin/board_detect b/package/base-files/files/bin/board_detect new file mode 100755 index 0000000..441db6a --- /dev/null +++ b/package/base-files/files/bin/board_detect @@ -0,0 +1,14 @@ +#!/bin/sh + +CFG=$1 + +[ -n "$CFG" ] || CFG=/etc/board.json + +[ -d "/etc/board.d/" -a ! -s "$CFG" ] && { + for a in `ls /etc/board.d/*`; do + [ -x $a ] || continue; + $(. $a) + done +} + +[ -s "$CFG" ] || return 1 diff --git a/package/base-files/files/bin/config_generate b/package/base-files/files/bin/config_generate new file mode 100755 index 0000000..3bf48d7 --- /dev/null +++ b/package/base-files/files/bin/config_generate @@ -0,0 +1,453 @@ +#!/bin/sh + +CFG=/etc/board.json + +. /usr/share/libubox/jshn.sh + +[ -s $CFG ] || /bin/board_detect || exit 1 +[ -s /etc/config/network -a -s /etc/config/system ] && exit 0 + +generate_static_network() { + uci -q batch <<-EOF + delete network.loopback + set network.loopback='interface' + set network.loopback.ifname='lo' + set network.loopback.proto='static' + set network.loopback.ipaddr='127.0.0.1' + set network.loopback.netmask='255.0.0.0' + EOF + [ -e /proc/sys/net/ipv6 ] && { + uci -q batch <<-EOF + delete network.globals + set network.globals='globals' + set network.globals.ula_prefix='auto' + EOF + } + + if json_is_a dsl object; then + json_select dsl + if json_is_a atmbridge object; then + json_select atmbridge + local vpi vci encaps payload nameprefix + json_get_vars vpi vci encaps payload nameprefix + uci -q batch <<-EOF + delete network.atm + set network.atm='atm-bridge' + set network.atm.vpi='$vpi' + set network.atm.vci='$vci' + set network.atm.encaps='$encaps' + set network.atm.payload='$payload' + set network.atm.nameprefix='$nameprefix' + EOF + json_select .. + fi + + if json_is_a modem object; then + json_select modem + local type annex firmware tone xfer_mode + json_get_vars type annex firmware tone xfer_mode + uci -q batch <<-EOF + delete network.dsl + set network.dsl='dsl' + set network.dsl.annex='$annex' + set network.dsl.firmware='$firmware' + set network.dsl.tone='$tone' + set network.dsl.xfer_mode='$xfer_mode' + EOF + json_select .. + fi + json_select .. + fi +} + +addr_offset=2 +generate_network() { + local ifname macaddr protocol type ipaddr netmask + + json_select network + json_select "$1" + json_get_vars ifname macaddr protocol ipaddr netmask + json_select .. + json_select .. + + [ -n "$ifname" ] || return + + # force bridge for multi-interface devices (and lan) + case "$1:$ifname" in + *\ * | lan:*) type="bridge" ;; + esac + + uci -q batch <<-EOF + delete network.$1 + set network.$1='interface' + set network.$1.type='$type' + set network.$1.ifname='$ifname' + set network.$1.proto='none' + EOF + + if [ -n "$macaddr" ]; then + for name in $ifname; do + uci -q batch <<-EOF + delete network.$1_${name/./_}_dev + set network.$1_${name/./_}_dev='device' + set network.$1_${name/./_}_dev.name='$name' + set network.$1_${name/./_}_dev.macaddr='$macaddr' + EOF + done + fi + + case "$protocol" in + static) + local ipad + case "$1" in + lan) ipad=${ipaddr:-"192.168.1.1"} ;; + *) ipad=${ipaddr:-"192.168.$((addr_offset++)).1"} ;; + esac + + netm=${netmask:-"255.255.255.0"} + + uci -q batch <<-EOF + set network.$1.proto='static' + set network.$1.ipaddr='$ipad' + set network.$1.netmask='$netm' + EOF + [ -e /proc/sys/net/ipv6 ] && uci set network.$1.ip6assign='60' + ;; + + dhcp) + # fixup IPv6 slave interface if parent is a bridge + [ "$type" = "bridge" ] && ifname="br-$1" + + uci set network.$1.proto='dhcp' + [ -e /proc/sys/net/ipv6 ] && { + uci -q batch <<-EOF + delete network.${1}6 + set network.${1}6='interface' + set network.${1}6.ifname='$ifname' + set network.${1}6.proto='dhcpv6' + EOF + } + ;; + + pppoe) + uci -q batch <<-EOF + set network.$1.proto='pppoe' + set network.$1.username='username' + set network.$1.password='password' + EOF + [ -e /proc/sys/net/ipv6 ] && { + uci -q batch <<-EOF + set network.$1.ipv6='1' + delete network.${1}6 + set network.${1}6='interface' + set network.${1}6.ifname='@${1}' + set network.${1}6.proto='dhcpv6' + EOF + } + ;; + esac +} + +generate_switch_vlans_ports() { + local switch="$1" + local port ports role roles num attr val + + # + # autogenerate vlans + # + + if json_is_a roles array; then + json_get_keys roles roles + json_select roles + + for role in $roles; do + json_select "$role" + json_get_vars ports + json_select .. + + uci -q batch <<-EOF + add network switch_vlan + set network.@switch_vlan[-1].device='$switch' + set network.@switch_vlan[-1].vlan='$role' + set network.@switch_vlan[-1].ports='$ports' + EOF + done + + json_select .. + fi + + + # + # write port specific settings + # + + if json_is_a ports array; then + json_get_keys ports ports + json_select ports + + for port in $ports; do + json_select "$port" + json_get_vars num + + if json_is_a attr object; then + json_get_keys attr attr + json_select attr + uci -q batch <<-EOF + add network switch_port + set network.@switch_port[-1].device='$switch' + set network.@switch_port[-1].port=$num + EOF + + for attr in $attr; do + json_get_var val "$attr" + uci -q set network.@switch_port[-1].$attr="$val" + done + json_select .. + fi + json_select .. + done + + json_select .. + fi +} + +generate_switch() { + local key="$1" + local vlans + + json_select switch + json_select "$key" + json_get_vars enable reset blinkrate cpu_port \ + ar8xxx_mib_type ar8xxx_mib_poll_interval + + uci -q batch <<-EOF + add network switch + set network.@switch[-1].name='$key' + set network.@switch[-1].reset='$reset' + set network.@switch[-1].enable_vlan='$enable' + set network.@switch[-1].blinkrate='$blinkrate' + set network.@switch[-1].ar8xxx_mib_type='$ar8xxx_mib_type' + set network.@switch[-1].ar8xxx_mib_poll_interval='$ar8xxx_mib_poll_interval' + EOF + + generate_switch_vlans_ports "$1" + + json_select .. + json_select .. +} + + +generate_static_system() { + uci -q batch <<-EOF + delete system.@system[0] + add system system + set system.@system[-1].hostname='OpenWrt' + set system.@system[-1].timezone='UTC' + set system.@system[-1].ttylogin='0' + set system.@system[-1].log_size='64' + set system.@system[-1].urandom_seed='0' + + delete system.ntp + set system.ntp='timeserver' + set system.ntp.enabled='1' + set system.ntp.enable_server='0' + add_list system.ntp.server='0.openwrt.pool.ntp.org' + add_list system.ntp.server='1.openwrt.pool.ntp.org' + add_list system.ntp.server='2.openwrt.pool.ntp.org' + add_list system.ntp.server='3.openwrt.pool.ntp.org' + EOF + + if json_is_a system object; then + json_select system + local hostname + if json_get_var hostname hostname; then + uci -q set "system.@system[-1].hostname=$hostname" + fi + + if json_is_a ntpserver array; then + local keys key + json_get_keys keys ntpserver + json_select ntpserver + uci -q delete "system.ntp.server" + + for key in $keys; do + local server + if json_get_var server "$key"; then + uci -q add_list "system.ntp.server=$server" + fi + done + json_select .. + fi + json_select .. + fi +} + +generate_rssimon() { + local key="$1" + local cfg="rssid_$key" + local refresh threshold + + json_select rssimon + json_select "$key" + json_get_vars refresh threshold + json_select .. + json_select .. + + uci -q batch <<-EOF + delete system.$cfg + set system.$cfg='rssid' + set system.$cfg.dev='$key' + set system.$cfg.refresh='$refresh' + set system.$cfg.threshold='$threshold' + EOF +} + +generate_led() { + local key="$1" + local cfg="led_$key" + + json_select led + json_select "$key" + json_get_vars name sysfs type trigger default + + uci -q batch <<-EOF + delete system.$cfg + set system.$cfg='led' + set system.$cfg.name='$name' + set system.$cfg.sysfs='$sysfs' + set system.$cfg.trigger='$trigger' + set system.$cfg.default='$default' + EOF + + case "$type" in + gpio) + local gpio inverted + json_get_vars gpio inverted + uci -q batch <<-EOF + set system.$cfg.trigger='gpio' + set system.$cfg.gpio='$gpio' + set system.$cfg.inverted='$inverted' + EOF + ;; + + netdev) + local device mode + json_get_vars device mode + uci -q batch <<-EOF + set system.$cfg.trigger='netdev' + set system.$cfg.mode='$mode' + set system.$cfg.dev='$device' + EOF + ;; + + usb) + local device + json_get_vars device + uci -q batch <<-EOF + set system.$cfg.trigger='usbdev' + set system.$cfg.interval='50' + set system.$cfg.dev='$device' + EOF + ;; + + usbport) + local ports port + json_get_values ports ports + uci set system.$cfg.trigger='usbport' + for port in $ports; do + uci add_list system.$cfg.port=$port + done + ;; + + rssi) + local iface minq maxq offset factor + json_get_vars iface minq maxq offset factor + uci -q batch <<-EOF + set system.$cfg.trigger='rssi' + set system.$cfg.iface='rssid_$iface' + set system.$cfg.minq='$minq' + set system.$cfg.maxq='$maxq' + set system.$cfg.offset='$offset' + set system.$cfg.factor='$factor' + EOF + ;; + + switch) + local port_mask speed_mask mode + json_get_vars port_mask speed_mask mode + uci -q batch <<-EOF + set system.$cfg.port_mask='$port_mask' + set system.$cfg.speed_mask='$speed_mask' + set system.$cfg.mode='$mode' + EOF + ;; + + portstate) + local port_state + json_get_vars port_state + uci -q batch <<-EOF + set system.$cfg.port_state='$port_state' + EOF + ;; + + timer|oneshot) + local delayon delayoff + json_get_vars delayon delayoff + uci -q batch <<-EOF + set system.$cfg.trigger='$type' + set system.$cfg.delayon='$delayon' + set system.$cfg.delayoff='$delayoff' + EOF + ;; + esac + + json_select .. + json_select .. +} + +generate_gpioswitch() { + local cfg="$1" + + json_select gpioswitch + json_select "$cfg" + local name pin default + json_get_vars name pin default + uci -q batch <<-EOF + delete system.$cfg + set system.$cfg='gpio_switch' + set system.$cfg.name='$name' + set system.$cfg.gpio_pin='$pin' + set system.$cfg.value='$default' + EOF + json_select .. + json_select .. +} + +json_init +json_load "$(cat ${CFG})" + +if [ ! -s /etc/config/network ]; then + touch /etc/config/network + generate_static_network + + json_get_keys keys network + for key in $keys; do generate_network $key; done + + json_get_keys keys switch + for key in $keys; do generate_switch $key; done +fi + +if [ ! -s /etc/config/system ]; then + touch /etc/config/system + generate_static_system + + json_get_keys keys rssimon + for key in $keys; do generate_rssimon $key; done + + json_get_keys keys gpioswitch + for key in $keys; do generate_gpioswitch $key; done + + json_get_keys keys led + for key in $keys; do generate_led $key; done +fi +uci commit diff --git a/package/base-files/files/bin/ipcalc.sh b/package/base-files/files/bin/ipcalc.sh new file mode 100755 index 0000000..5d5eac3 --- /dev/null +++ b/package/base-files/files/bin/ipcalc.sh @@ -0,0 +1,71 @@ +#!/bin/sh + +awk -f - $* <limit) end=limit + + print "IP="int2ip(ipaddr) + print "NETMASK="int2ip(netmask) + print "BROADCAST="int2ip(broadcast) + print "NETWORK="int2ip(network) + print "PREFIX="32-bitcount(compl32(netmask)) + + # range calculations: + # ipcalc + + if (ARGC > 3) { + print "START="int2ip(start) + print "END="int2ip(end) + } +} +EOF diff --git a/package/base-files/files/etc/banner b/package/base-files/files/etc/banner new file mode 100644 index 0000000..f3af3c0 --- /dev/null +++ b/package/base-files/files/etc/banner @@ -0,0 +1,8 @@ + _______ ________ __ + | |.-----.-----.-----.| | | |.----.| |_ + | - || _ | -__| || | | || _|| _| + |_______|| __|_____|__|__||________||__| |____| + |__| W I R E L E S S F R E E D O M + ----------------------------------------------------- + %D %V, %C + ----------------------------------------------------- diff --git a/package/base-files/files/etc/banner.failsafe b/package/base-files/files/etc/banner.failsafe new file mode 100644 index 0000000..49855e7 --- /dev/null +++ b/package/base-files/files/etc/banner.failsafe @@ -0,0 +1,15 @@ +================= FAILSAFE MODE active ================ +special commands: +* firstboot reset settings to factory defaults +* mount_root mount root-partition with config files + +after mount_root: +* passwd change root's password +* /etc/config directory with config files + +for more help see: +https://openwrt.org/docs/guide-user/troubleshooting/ +- failsafe_and_factory_reset +- root_password_reset +======================================================= + diff --git a/package/base-files/files/etc/board.d/99-default_network b/package/base-files/files/etc/board.d/99-default_network new file mode 100755 index 0000000..d70aa35 --- /dev/null +++ b/package/base-files/files/etc/board.d/99-default_network @@ -0,0 +1,17 @@ +#!/bin/sh +# +# Copyright (C) 2013-2015 OpenWrt.org +# + +. /lib/functions/uci-defaults.sh + +board_config_update + +json_is_a network object && exit 0 + +ucidef_set_interface_lan 'eth0' +[ -d /sys/class/net/eth1 ] && ucidef_set_interface_wan 'eth1' + +board_config_flush + +exit 0 diff --git a/package/base-files/files/etc/device_info b/package/base-files/files/etc/device_info new file mode 100644 index 0000000..4045e9e --- /dev/null +++ b/package/base-files/files/etc/device_info @@ -0,0 +1,4 @@ +DEVICE_MANUFACTURER='%M' +DEVICE_MANUFACTURER_URL='%m' +DEVICE_PRODUCT='%P' +DEVICE_REVISION='%h' diff --git a/package/base-files/files/etc/diag.sh b/package/base-files/files/etc/diag.sh new file mode 100644 index 0000000..8eb36c6 --- /dev/null +++ b/package/base-files/files/etc/diag.sh @@ -0,0 +1,50 @@ +#!/bin/sh +# Copyright (C) 2006-2019 OpenWrt.org + +. /lib/functions/leds.sh + +boot="$(get_dt_led boot)" +failsafe="$(get_dt_led failsafe)" +running="$(get_dt_led running)" +upgrade="$(get_dt_led upgrade)" + +set_led_state() { + status_led="$boot" + + case "$1" in + preinit) + status_led_blink_preinit + ;; + failsafe) + status_led_off + [ -n "$running" ] && { + status_led="$running" + status_led_off + } + status_led="$failsafe" + status_led_blink_failsafe + ;; + preinit_regular) + status_led_blink_preinit_regular + ;; + upgrade) + [ -n "$running" ] && { + status_led="$running" + status_led_off + } + status_led="$upgrade" + status_led_blink_preinit_regular + ;; + done) + status_led_off + [ -n "$running" ] && { + status_led="$running" + status_led_on + } + ;; + esac +} + +set_state() { + [ -n "$boot" -o -n "$failsafe" -o -n "$running" -o -n "$upgrade" ] && set_led_state "$1" +} diff --git a/package/base-files/files/etc/ethers b/package/base-files/files/etc/ethers new file mode 100644 index 0000000..b92c200 --- /dev/null +++ b/package/base-files/files/etc/ethers @@ -0,0 +1,6 @@ +# +# Lookup man 5 ethers for syntax documentation +# +# Examples : +# 02:00:11:22:33:44 OpenWrt.lan +# 02:00:11:22:33:44 192.168.1.1 diff --git a/package/base-files/files/etc/fstab b/package/base-files/files/etc/fstab new file mode 100644 index 0000000..6e9b7ba --- /dev/null +++ b/package/base-files/files/etc/fstab @@ -0,0 +1 @@ +# diff --git a/package/base-files/files/etc/group b/package/base-files/files/etc/group new file mode 100644 index 0000000..5b06dc6 --- /dev/null +++ b/package/base-files/files/etc/group @@ -0,0 +1,11 @@ +root:x:0: +daemon:x:1: +adm:x:4: +mail:x:8: +dialout:x:20: +audio:x:29: +www-data:x:33: +ftp:x:55: +users:x:100: +network:x:101: +nogroup:x:65534: diff --git a/package/base-files/files/etc/hosts b/package/base-files/files/etc/hosts new file mode 100644 index 0000000..b7713eb --- /dev/null +++ b/package/base-files/files/etc/hosts @@ -0,0 +1,5 @@ +127.0.0.1 localhost + +::1 localhost ip6-localhost ip6-loopback +ff02::1 ip6-allnodes +ff02::2 ip6-allrouters diff --git a/package/base-files/files/etc/hotplug.d/net/00-sysctl b/package/base-files/files/etc/hotplug.d/net/00-sysctl new file mode 100644 index 0000000..8abe7f8 --- /dev/null +++ b/package/base-files/files/etc/hotplug.d/net/00-sysctl @@ -0,0 +1,9 @@ +#!/bin/sh + +if [ "$ACTION" = add ]; then + for CONF in /etc/sysctl.d/*.conf /etc/sysctl.conf; do + [ ! -f "$CONF" ] && continue; + sed -ne "/^[[:space:]]*net\..*\.$DEVICENAME\./p" "$CONF" | \ + sysctl -e -p - | logger -t sysctl + done +fi diff --git a/package/base-files/files/etc/init.d/boot b/package/base-files/files/etc/init.d/boot new file mode 100755 index 0000000..09b7f44 --- /dev/null +++ b/package/base-files/files/etc/init.d/boot @@ -0,0 +1,51 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2006-2011 OpenWrt.org + +START=10 +STOP=90 + +uci_apply_defaults() { + . /lib/functions/system.sh + + cd /etc/uci-defaults || return 0 + files="$(ls)" + [ -z "$files" ] && return 0 + mkdir -p /tmp/.uci + for file in $files; do + ( . "./$(basename $file)" ) && rm -f "$file" + done + uci commit +} + +boot() { + [ -f /proc/mounts ] || /sbin/mount_root + [ -f /proc/jffs2_bbc ] && echo "S" > /proc/jffs2_bbc + [ -f /proc/net/vlan/config ] && vconfig set_name_type DEV_PLUS_VID_NO_PAD + + mkdir -p /var/run + mkdir -p /var/log + mkdir -p /var/lock + mkdir -p /var/state + mkdir -p /var/tmp + mkdir -p /tmp/.uci + chmod 0700 /tmp/.uci + touch /var/log/wtmp + touch /var/log/lastlog + touch /tmp/resolv.conf.auto + ln -sf /tmp/resolv.conf.auto /tmp/resolv.conf + grep -q debugfs /proc/filesystems && /bin/mount -o noatime -t debugfs debugfs /sys/kernel/debug + [ "$FAILSAFE" = "true" ] && touch /tmp/.failsafe + + /sbin/kmodloader + + [ ! -f /etc/config/wireless ] && { + # compat for brcm47xx and mvebu + sleep 1 + } + + /bin/config_generate + uci_apply_defaults + + # temporary hack until configd exists + /sbin/reload_config +} diff --git a/package/base-files/files/etc/init.d/done b/package/base-files/files/etc/init.d/done new file mode 100755 index 0000000..374353a --- /dev/null +++ b/package/base-files/files/etc/init.d/done @@ -0,0 +1,17 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2006 OpenWrt.org + +START=95 +boot() { + mount_root done + rm -f /sysupgrade.tgz + + # process user commands + [ -f /etc/rc.local ] && { + sh /etc/rc.local + } + + # set leds to normal state + . /etc/diag.sh + set_state done +} diff --git a/package/base-files/files/etc/init.d/gpio_switch b/package/base-files/files/etc/init.d/gpio_switch new file mode 100755 index 0000000..6b2dcdc --- /dev/null +++ b/package/base-files/files/etc/init.d/gpio_switch @@ -0,0 +1,48 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2015 OpenWrt.org + +START=94 +STOP=10 +USE_PROCD=1 + + +load_gpio_switch() +{ + local name + local gpio_pin + local value + + config_get gpio_pin "$1" gpio_pin + config_get name "$1" name + config_get value "$1" value 0 + + local gpio_path="/sys/class/gpio/gpio${gpio_pin}" + # export GPIO pin for access + [ -d "$gpio_path" ] || { + echo "$gpio_pin" >/sys/class/gpio/export + # we need to wait a bit until the GPIO appears + [ -d "$gpio_path" ] || sleep 1 + } + + # direction attribute only exists if the kernel supports changing the + # direction of a GPIO + if [ -e "${gpio_path}/direction" ]; then + # set the pin to output with high or low pin value + { [ "$value" = "0" ] && echo "low" || echo "high"; } >"$gpio_path/direction" + else + { [ "$value" = "0" ] && echo "0" || echo "1"; } >"$gpio_path/value" + fi +} + +service_triggers() +{ + procd_add_reload_trigger "system" +} + +start_service() +{ + [ -e /sys/class/gpio/ ] && { + config_load system + config_foreach load_gpio_switch gpio_switch + } +} diff --git a/package/base-files/files/etc/init.d/led b/package/base-files/files/etc/init.d/led new file mode 100755 index 0000000..932a69a --- /dev/null +++ b/package/base-files/files/etc/init.d/led @@ -0,0 +1,140 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2008 OpenWrt.org + +START=96 + +load_led() { + local name + local sysfs + local trigger + local dev + local ports + local mode + local default + local delayon + local delayoff + local interval + + config_get sysfs $1 sysfs + config_get name $1 name "$sysfs" + config_get trigger $1 trigger "none" + config_get dev $1 dev + config_get ports $1 port + config_get mode $1 mode + config_get_bool default $1 default "nil" + config_get delayon $1 delayon + config_get delayoff $1 delayoff + config_get interval $1 interval "50" + config_get port_state $1 port_state + config_get delay $1 delay "150" + config_get message $1 message "" + config_get gpio $1 gpio "0" + config_get inverted $1 inverted "0" + + if [ "$trigger" = "rssi" ]; then + # handled by rssileds userspace process + return + fi + + [ "$trigger" = "usbdev" ] && { + # Backward compatibility: translate to the new trigger + trigger="usbport" + # Translate port of root hub, e.g. 4-1 -> usb4-port1 + ports=$(echo "$dev" | sed -n 's/^\([0-9]*\)-\([0-9]*\)$/usb\1-port\2/p') + # Translate port of extra hub, e.g. 2-2.4 -> 2-2-port4 + [ -z "$ports" ] && ports=$(echo "$dev" | sed -n 's/\./-port/p') + } + + [ -e /sys/class/leds/${sysfs}/brightness ] && { + echo "setting up led ${name}" + + printf "%s %s %d\n" \ + "$sysfs" \ + "$(sed -ne 's/^.*\[\(.*\)\].*$/\1/p' /sys/class/leds/${sysfs}/trigger)" \ + "$(cat /sys/class/leds/${sysfs}/brightness)" \ + >> /var/run/led.state + + [ "$default" = 0 ] && + echo 0 >/sys/class/leds/${sysfs}/brightness + + echo $trigger > /sys/class/leds/${sysfs}/trigger 2> /dev/null + ret="$?" + + [ $default = 1 ] && + cat /sys/class/leds/${sysfs}/max_brightness > /sys/class/leds/${sysfs}/brightness + + [ $ret = 0 ] || { + echo >&2 "Skipping trigger '$trigger' for led '$name' due to missing kernel module" + return 1 + } + case "$trigger" in + "netdev") + [ -n "$dev" ] && { + echo $dev > /sys/class/leds/${sysfs}/device_name + for m in $mode; do + [ -e "/sys/class/leds/${sysfs}/$m" ] && \ + echo 1 > /sys/class/leds/${sysfs}/$m + done + echo $interval > /sys/class/leds/${sysfs}/interval + } + ;; + + "timer"|"oneshot") + [ -n "$delayon" ] && \ + echo $delayon > /sys/class/leds/${sysfs}/delay_on + [ -n "$delayoff" ] && \ + echo $delayoff > /sys/class/leds/${sysfs}/delay_off + ;; + + "usbport") + local p + + for p in $ports; do + echo 1 > /sys/class/leds/${sysfs}/ports/$p + done + ;; + + "port_state") + [ -n "$port_state" ] && \ + echo $port_state > /sys/class/leds/${sysfs}/port_state + ;; + + "gpio") + echo $gpio > /sys/class/leds/${sysfs}/gpio + echo $inverted > /sys/class/leds/${sysfs}/inverted + ;; + + switch[0-9]*) + local port_mask speed_mask + + config_get port_mask $1 port_mask + [ -n "$port_mask" ] && \ + echo $port_mask > /sys/class/leds/${sysfs}/port_mask + config_get speed_mask $1 speed_mask + [ -n "$speed_mask" ] && \ + echo $speed_mask > /sys/class/leds/${sysfs}/speed_mask + [ -n "$mode" ] && \ + echo "$mode" > /sys/class/leds/${sysfs}/mode + ;; + esac + } +} + +start() { + [ -e /sys/class/leds/ ] && { + [ -s /var/run/led.state ] && { + local led trigger brightness + while read led trigger brightness; do + [ -e "/sys/class/leds/$led/trigger" ] && \ + echo "$trigger" > "/sys/class/leds/$led/trigger" + + [ -e "/sys/class/leds/$led/brightness" ] && \ + echo "$brightness" > "/sys/class/leds/$led/brightness" + done < /var/run/led.state + rm /var/run/led.state + } + + config_load system + config_foreach load_led led + } +} diff --git a/package/base-files/files/etc/init.d/sysctl b/package/base-files/files/etc/init.d/sysctl new file mode 100755 index 0000000..4db5644 --- /dev/null +++ b/package/base-files/files/etc/init.d/sysctl @@ -0,0 +1,44 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2006 OpenWrt.org + +START=11 + +apply_defaults() { + local mem="$(awk '/^MemTotal:/ {print $2}' /proc/meminfo)" + local min_free frag_low_thresh frag_high_thresh + + if [ "$mem" -gt 65536 ]; then # 128M + min_free=16384 + elif [ "$mem" -gt 32768 ]; then # 64M + min_free=8192 + else + min_free=1024 + frag_low_thresh=393216 + frag_high_thresh=524288 + fi + + sysctl -qw vm.min_free_kbytes="$min_free" + + [ "$frag_low_thresh" ] && sysctl -qw \ + net.ipv4.ipfrag_low_thresh="$frag_low_thresh" \ + net.ipv4.ipfrag_high_thresh="$frag_high_thresh" \ + net.ipv6.ip6frag_low_thresh="$frag_low_thresh" \ + net.ipv6.ip6frag_high_thresh="$frag_high_thresh" \ + net.netfilter.nf_conntrack_frag6_low_thresh="$frag_low_thresh" \ + net.netfilter.nf_conntrack_frag6_high_thresh="$frag_high_thresh" + + # first set default, then all interfaces to avoid races with appearing interfaces + if [ -d /proc/sys/net/ipv6/conf ]; then + echo 0 > /proc/sys/net/ipv6/conf/default/accept_ra + for iface in /proc/sys/net/ipv6/conf/*/accept_ra; do + echo 0 > "$iface" + done + fi +} + +start() { + apply_defaults + for CONF in /etc/sysctl.d/*.conf /etc/sysctl.conf; do + [ -f "$CONF" ] && sysctl -e -p "$CONF" >&- + done +} diff --git a/package/base-files/files/etc/init.d/sysfixtime b/package/base-files/files/etc/init.d/sysfixtime new file mode 100755 index 0000000..aab5b15 --- /dev/null +++ b/package/base-files/files/etc/init.d/sysfixtime @@ -0,0 +1,34 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2013-2014 OpenWrt.org + +START=00 +STOP=90 + +RTC_DEV=/dev/rtc0 +HWCLOCK=/sbin/hwclock + +boot() { + start && exit 0 + + local maxtime="$(maxtime)" + local curtime="$(date +%s)" + [ $curtime -lt $maxtime ] && date -s @$maxtime +} + +start() { + [ -e "$RTC_DEV" ] && [ -e "$HWCLOCK" ] && $HWCLOCK -s -u -f $RTC_DEV +} + +stop() { + [ -e "$RTC_DEV" ] && [ -e "$HWCLOCK" ] && $HWCLOCK -w -u -f $RTC_DEV && \ + logger -t sysfixtime "saved '$(date)' to $RTC_DEV" +} + +maxtime() { + local file newest + + for file in $( find /etc -type f ) ; do + [ -z "$newest" -o "$newest" -ot "$file" ] && newest=$file + done + [ "$newest" ] && date -r "$newest" +%s +} diff --git a/package/base-files/files/etc/init.d/system b/package/base-files/files/etc/init.d/system new file mode 100755 index 0000000..a98a972 --- /dev/null +++ b/package/base-files/files/etc/init.d/system @@ -0,0 +1,46 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2014 OpenWrt.org + +START=10 +USE_PROCD=1 + +validate_system_section() +{ + uci_load_validate system system "$1" "$2" \ + 'hostname:string:OpenWrt' \ + 'conloglevel:uinteger' \ + 'buffersize:uinteger' \ + 'timezone:string:UTC' \ + 'zonename:string' +} + +system_config() { + [ "$2" = 0 ] || { + echo "validation failed" + return 1 + } + + echo "$hostname" > /proc/sys/kernel/hostname + [ -z "$conloglevel" -a -z "$buffersize" ] || dmesg ${conloglevel:+-n $conloglevel} ${buffersize:+-s $buffersize} + echo "$timezone" > /tmp/TZ + [ -n "$zonename" ] && [ -f "/usr/share/zoneinfo/$zonename" ] && \ + ln -sf "/usr/share/zoneinfo/$zonename" /tmp/localtime && rm -f /tmp/TZ + + # apply timezone to kernel + date -k +} + +reload_service() { + config_load system + config_foreach validate_system_section system system_config +} + +service_triggers() +{ + procd_add_reload_trigger "system" + procd_add_validation validate_system_section +} + +start_service() { + reload_service +} diff --git a/package/base-files/files/etc/init.d/umount b/package/base-files/files/etc/init.d/umount new file mode 100755 index 0000000..b764ae1 --- /dev/null +++ b/package/base-files/files/etc/init.d/umount @@ -0,0 +1,13 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2006 OpenWrt.org + +STOP=90 + +restart() { + : +} + +stop() { + sync + /bin/umount -a -d -r +} diff --git a/package/base-files/files/etc/inittab b/package/base-files/files/etc/inittab new file mode 100644 index 0000000..9820e71 --- /dev/null +++ b/package/base-files/files/etc/inittab @@ -0,0 +1,3 @@ +::sysinit:/etc/init.d/rcS S boot +::shutdown:/etc/init.d/rcS K shutdown +::askconsole:/usr/libexec/login.sh diff --git a/package/base-files/files/etc/iproute2/ematch_map b/package/base-files/files/etc/iproute2/ematch_map new file mode 100644 index 0000000..4d6bb2f --- /dev/null +++ b/package/base-files/files/etc/iproute2/ematch_map @@ -0,0 +1,8 @@ +# lookup table for ematch kinds +1 cmp +2 nbyte +3 u32 +4 meta +7 canid +8 ipset +9 ipt diff --git a/package/base-files/files/etc/iproute2/rt_protos b/package/base-files/files/etc/iproute2/rt_protos new file mode 100644 index 0000000..5b61798 --- /dev/null +++ b/package/base-files/files/etc/iproute2/rt_protos @@ -0,0 +1,18 @@ +# +# Reserved protocols. +# +0 unspec +1 redirect +2 kernel +3 boot +4 static +8 gated +9 ra +10 mrt +11 zebra +12 bird +13 dnrouted +14 xorp +15 ntk +16 dhcp +42 babel diff --git a/package/base-files/files/etc/iproute2/rt_tables b/package/base-files/files/etc/iproute2/rt_tables new file mode 100644 index 0000000..5fc09b3 --- /dev/null +++ b/package/base-files/files/etc/iproute2/rt_tables @@ -0,0 +1,12 @@ +# +# reserved values +# +128 prelocal +255 local +254 main +253 default +0 unspec +# +# local +# +#1 inr.ruhep diff --git a/package/base-files/files/etc/openwrt_release b/package/base-files/files/etc/openwrt_release new file mode 100644 index 0000000..d03400c --- /dev/null +++ b/package/base-files/files/etc/openwrt_release @@ -0,0 +1,7 @@ +DISTRIB_ID='%D' +DISTRIB_RELEASE='%V' +DISTRIB_REVISION='%R' +DISTRIB_TARGET='%S' +DISTRIB_ARCH='%A' +DISTRIB_DESCRIPTION='%D %V %C' +DISTRIB_TAINTS='%t' diff --git a/package/base-files/files/etc/openwrt_version b/package/base-files/files/etc/openwrt_version new file mode 100644 index 0000000..48157ed --- /dev/null +++ b/package/base-files/files/etc/openwrt_version @@ -0,0 +1 @@ +%C diff --git a/package/base-files/files/etc/os-release b/package/base-files/files/etc/os-release new file mode 120000 index 0000000..c4c75b4 --- /dev/null +++ b/package/base-files/files/etc/os-release @@ -0,0 +1 @@ +../usr/lib/os-release \ No newline at end of file diff --git a/package/base-files/files/etc/passwd b/package/base-files/files/etc/passwd new file mode 100644 index 0000000..1d06a80 --- /dev/null +++ b/package/base-files/files/etc/passwd @@ -0,0 +1,5 @@ +root:x:0:0:root:/root:/bin/ash +daemon:*:1:1:daemon:/var:/bin/false +ftp:*:55:55:ftp:/home/ftp:/bin/false +network:*:101:101:network:/var:/bin/false +nobody:*:65534:65534:nobody:/var:/bin/false diff --git a/package/base-files/files/etc/preinit b/package/base-files/files/etc/preinit new file mode 100755 index 0000000..829574f --- /dev/null +++ b/package/base-files/files/etc/preinit @@ -0,0 +1,29 @@ +#!/bin/sh +# Copyright (C) 2006-2016 OpenWrt.org +# Copyright (C) 2010 Vertical Communications + +[ -z "$PREINIT" ] && exec /sbin/init + +export PATH="%PATH%" + +. /lib/functions.sh +. /lib/functions/preinit.sh +. /lib/functions/system.sh + +boot_hook_init preinit_essential +boot_hook_init preinit_main +boot_hook_init failsafe +boot_hook_init initramfs +boot_hook_init preinit_mount_root + +for pi_source_file in /lib/preinit/*; do + . $pi_source_file +done + +boot_run_hook preinit_essential + +pi_mount_skip_next=false +pi_jffs2_mount_success=false +pi_failsafe_net_message=false + +boot_run_hook preinit_main diff --git a/package/base-files/files/etc/profile b/package/base-files/files/etc/profile new file mode 100644 index 0000000..9a3ac06 --- /dev/null +++ b/package/base-files/files/etc/profile @@ -0,0 +1,59 @@ +#!/bin/sh +[ -e /tmp/.failsafe ] && export FAILSAFE=1 + +[ -f /etc/banner ] && cat /etc/banner +[ -n "$FAILSAFE" ] && cat /etc/banner.failsafe + +fgrep -sq '/ overlay ro,' /proc/mounts && { + echo 'Your JFFS2-partition seems full and overlayfs is mounted read-only.' + echo 'Please try to remove files from /overlay/upper/... and reboot!' +} + +export PATH="%PATH%" +export HOME=$(grep -e "^${USER:-root}:" /etc/passwd | cut -d ":" -f 6) +export HOME=${HOME:-/root} +export PS1='\u@\h:\w\$ ' + +case "$TERM" in + xterm*|rxvt*) + export PS1='\[\e]0;\u@\h: \w\a\]'$PS1 + ;; +esac + +[ -x /bin/more ] || alias more=less +[ -x /usr/bin/vim ] && alias vi=vim || alias vim=vi + +alias ll='ls -alF --color=auto' + +[ -z "$KSH_VERSION" -o \! -s /etc/mkshrc ] || . /etc/mkshrc + +[ -x /usr/bin/arp -o -x /sbin/arp ] || arp() { cat /proc/net/arp; } +[ -x /usr/bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; } + +[ -n "$FAILSAFE" ] || { + for FILE in /etc/profile.d/*.sh; do + [ -e "$FILE" ] && . "$FILE" + done + unset FILE +} + +if ( grep -qs '^root::' /etc/shadow && \ + [ -z "$FAILSAFE" ] ) +then +cat << EOF +=== WARNING! ===================================== +There is no root password defined on this device! +Use the "passwd" command to set up a new password +in order to prevent unauthorized SSH logins. +-------------------------------------------------- +EOF +fi + +service() { + [ -f "/etc/init.d/$1" ] || { + echo "service "'"'"$1"'"'" not found, the following services are available:" + ls "/etc/init.d" + return 1 + } + /etc/init.d/$@ +} diff --git a/package/base-files/files/etc/protocols b/package/base-files/files/etc/protocols new file mode 100644 index 0000000..26bc775 --- /dev/null +++ b/package/base-files/files/etc/protocols @@ -0,0 +1,57 @@ +# Internet (IP) protocols +# +# Updated from http://www.iana.org/assignments/protocol-numbers and other +# sources. +# New protocols will be added on request if they have been officially +# assigned by IANA and are not historical. +# If you need a huge list of used numbers please install the nmap package. + +ip 0 IP # internet protocol, pseudo protocol number +#hopopt 0 HOPOPT # IPv6 Hop-by-Hop Option [RFC1883] +icmp 1 ICMP # internet control message protocol +igmp 2 IGMP # Internet Group Management +ggp 3 GGP # gateway-gateway protocol +ipencap 4 IP-ENCAP # IP encapsulated in IP (officially ``IP'') +st 5 ST # ST datagram mode +tcp 6 TCP # transmission control protocol +egp 8 EGP # exterior gateway protocol +igp 9 IGP # any private interior gateway (Cisco) +pup 12 PUP # PARC universal packet protocol +udp 17 UDP # user datagram protocol +hmp 20 HMP # host monitoring protocol +xns-idp 22 XNS-IDP # Xerox NS IDP +rdp 27 RDP # "reliable datagram" protocol +iso-tp4 29 ISO-TP4 # ISO Transport Protocol class 4 [RFC905] +dccp 33 DCCP # Datagram Congestion Control Protocol [RFC4340] +xtp 36 XTP # Xpress Transfer Protocol +ddp 37 DDP # Datagram Delivery Protocol +idpr-cmtp 38 IDPR-CMTP # IDPR Control Message Transport +ipv6 41 IPv6 # Internet Protocol, version 6 +ipv6-route 43 IPv6-Route # Routing Header for IPv6 +ipv6-frag 44 IPv6-Frag # Fragment Header for IPv6 +idrp 45 IDRP # Inter-Domain Routing Protocol +rsvp 46 RSVP # Reservation Protocol +gre 47 GRE # General Routing Encapsulation +esp 50 IPSEC-ESP # Encap Security Payload [RFC2046] +ah 51 IPSEC-AH # Authentication Header [RFC2402] +skip 57 SKIP # SKIP +ipv6-icmp 58 IPv6-ICMP # ICMP for IPv6 +ipv6-nonxt 59 IPv6-NoNxt # No Next Header for IPv6 +ipv6-opts 60 IPv6-Opts # Destination Options for IPv6 +rspf 73 RSPF CPHB # Radio Shortest Path First (officially CPHB) +vmtp 81 VMTP # Versatile Message Transport +eigrp 88 EIGRP # Enhanced Interior Routing Protocol (Cisco) +ospf 89 OSPFIGP # Open Shortest Path First IGP +ax.25 93 AX.25 # AX.25 frames +ipip 94 IPIP # IP-within-IP Encapsulation Protocol +etherip 97 ETHERIP # Ethernet-within-IP Encapsulation [RFC3378] +encap 98 ENCAP # Yet Another IP encapsulation [RFC1241] +# 99 # any private encryption scheme +pim 103 PIM # Protocol Independent Multicast +ipcomp 108 IPCOMP # IP Payload Compression Protocol +vrrp 112 VRRP # Virtual Router Redundancy Protocol +l2tp 115 L2TP # Layer Two Tunneling Protocol [RFC2661] +isis 124 ISIS # IS-IS over IPv4 +sctp 132 SCTP # Stream Control Transmission Protocol +fc 133 FC # Fibre Channel + diff --git a/package/base-files/files/etc/rc.button/failsafe b/package/base-files/files/etc/rc.button/failsafe new file mode 100755 index 0000000..ba958fa --- /dev/null +++ b/package/base-files/files/etc/rc.button/failsafe @@ -0,0 +1,5 @@ +#!/bin/sh + +[ "${TYPE}" = "switch" ] || echo ${BUTTON} > /tmp/failsafe_button + +return 0 diff --git a/package/base-files/files/etc/rc.button/power b/package/base-files/files/etc/rc.button/power new file mode 100755 index 0000000..c245744 --- /dev/null +++ b/package/base-files/files/etc/rc.button/power @@ -0,0 +1,7 @@ +#!/bin/sh + +[ "${ACTION}" = "released" ] || exit 0 + +exec /sbin/poweroff + +return 0 diff --git a/package/base-files/files/etc/rc.button/reboot b/package/base-files/files/etc/rc.button/reboot new file mode 100755 index 0000000..cd547e3 --- /dev/null +++ b/package/base-files/files/etc/rc.button/reboot @@ -0,0 +1,12 @@ +#!/bin/sh + +[ "${ACTION}" = "released" ] || exit 0 + +if [ "$SEEN" -ge 5 ] +then + echo "REBOOT" > /dev/console + sync + reboot +fi + +return 0 diff --git a/package/base-files/files/etc/rc.button/reset b/package/base-files/files/etc/rc.button/reset new file mode 100755 index 0000000..2403122 --- /dev/null +++ b/package/base-files/files/etc/rc.button/reset @@ -0,0 +1,31 @@ +#!/bin/sh + +. /lib/functions.sh + +OVERLAY="$( grep ' /overlay ' /proc/mounts )" + +case "$ACTION" in +pressed) + [ -z "$OVERLAY" ] && return 0 + + return 5 +;; +timeout) + . /etc/diag.sh + set_state failsafe +;; +released) + if [ "$SEEN" -lt 1 ] + then + echo "REBOOT" > /dev/console + sync + reboot + elif [ "$SEEN" -ge 5 -a -n "$OVERLAY" ] + then + echo "FACTORY RESET" > /dev/console + jffs2reset -y && reboot & + fi +;; +esac + +return 0 diff --git a/package/base-files/files/etc/rc.button/rfkill b/package/base-files/files/etc/rc.button/rfkill new file mode 100755 index 0000000..fbdda40 --- /dev/null +++ b/package/base-files/files/etc/rc.button/rfkill @@ -0,0 +1,32 @@ +#!/bin/sh + +[ "${ACTION}" = "released" -o -n "${TYPE}" ] || exit 0 + +. /lib/functions.sh + +rfkill_state=0 + +wifi_rfkill_set() { + uci set wireless.$1.disabled=$rfkill_state +} + +wifi_rfkill_check() { + local disabled + config_get disabled $1 disabled + [ "$disabled" = "1" ] || rfkill_state=1 +} + +config_load wireless +case "${TYPE}" in +"switch") + [ "${ACTION}" = "released" ] && rfkill_state=1 + ;; +*) + config_foreach wifi_rfkill_check wifi-device + ;; +esac +config_foreach wifi_rfkill_set wifi-device +uci commit wireless +wifi up + +return 0 diff --git a/package/base-files/files/etc/rc.common b/package/base-files/files/etc/rc.common new file mode 100755 index 0000000..75dbeed --- /dev/null +++ b/package/base-files/files/etc/rc.common @@ -0,0 +1,155 @@ +#!/bin/sh +# Copyright (C) 2006-2012 OpenWrt.org + +. $IPKG_INSTROOT/lib/functions.sh +. $IPKG_INSTROOT/lib/functions/service.sh + +initscript=$1 +action=${2:-help} +shift 2 + +start() { + return 0 +} + +stop() { + return 0 +} + +reload() { + restart +} + +restart() { + trap '' TERM + stop "$@" + trap - TERM + start "$@" +} + +boot() { + start "$@" +} + +shutdown() { + stop +} + +disable() { + name="$(basename "${initscript}")" + rm -f "$IPKG_INSTROOT"/etc/rc.d/S??$name + rm -f "$IPKG_INSTROOT"/etc/rc.d/K??$name +} + +enable() { + err=1 + name="$(basename "${initscript}")" + [ "$START" ] && \ + ln -sf "../init.d/$name" "$IPKG_INSTROOT/etc/rc.d/S${START}${name##S[0-9][0-9]}" && \ + err=0 + [ "$STOP" ] && \ + ln -sf "../init.d/$name" "$IPKG_INSTROOT/etc/rc.d/K${STOP}${name##K[0-9][0-9]}" && \ + err=0 + return $err +} + +enabled() { + name="$(basename "${initscript}")" + [ -x "$IPKG_INSTROOT/etc/rc.d/S${START}${name##S[0-9][0-9]}" ] +} + +depends() { + return 0 +} + +help() { + cat </dev/null >/dev/null; then + service_started + fi + } + + trace() { + TRACE_SYSCALLS=1 + start "$@" + } + + stop() { + procd_lock + stop_service "$@" + procd_kill "$(basename ${basescript:-$initscript})" "$1" + if eval "type service_stopped" 2>/dev/null >/dev/null; then + service_stopped + fi + } + + reload() { + if eval "type reload_service" 2>/dev/null >/dev/null; then + procd_lock + reload_service "$@" + else + start + fi + } + + running() { + service_running "$@" + } +} + +ALL_COMMANDS="start stop reload restart boot shutdown enable disable enabled depends ${EXTRA_COMMANDS}" +list_contains ALL_COMMANDS "$action" || action=help +$action "$@" diff --git a/package/base-files/files/etc/rc.local b/package/base-files/files/etc/rc.local new file mode 100644 index 0000000..5639477 --- /dev/null +++ b/package/base-files/files/etc/rc.local @@ -0,0 +1,4 @@ +# Put your custom commands here that should be executed once +# the system init finished. By default this file does nothing. + +exit 0 diff --git a/package/base-files/files/etc/services b/package/base-files/files/etc/services new file mode 100644 index 0000000..968f9e7 --- /dev/null +++ b/package/base-files/files/etc/services @@ -0,0 +1,173 @@ +echo 7/tcp +echo 7/udp +discard 9/tcp +discard 9/udp +daytime 13/tcp +daytime 13/udp +netstat 15/tcp +chargen 19/tcp +chargen 19/udp +ftp-data 20/tcp +ftp 21/tcp +ssh 22/tcp +ssh 22/udp +telnet 23/tcp +smtp 25/tcp +time 37/tcp +time 37/udp +whois 43/tcp +domain 53/tcp +domain 53/udp +bootps 67/tcp +bootps 67/udp +bootpc 68/tcp +bootpc 68/udp +tftp 69/udp +finger 79/tcp +www 80/tcp http +kerberos 88/tcp kerberos5 krb5 kerberos-sec +kerberos 88/udp kerberos5 krb5 kerberos-sec +pop3 110/tcp +pop3 110/udp +sunrpc 111/tcp rpcbind +sunrpc 111/udp rpcbind +auth 113/tcp ident +sftp 115/tcp +nntp 119/tcp +ntp 123/tcp +ntp 123/udp +netbios-ns 137/tcp +netbios-ns 137/udp +netbios-dgm 138/tcp +netbios-dgm 138/udp +netbios-ssn 139/tcp +netbios-ssn 139/udp +imap2 143/tcp imap +imap2 143/udp imap +snmp 161/tcp +snmp 161/udp +snmp-trap 162/tcp snmptrap +snmp-trap 162/udp snmptrap +xdmcp 177/tcp +xdmcp 177/udp +bgp 179/tcp +bgp 179/udp +imap3 220/tcp +imap3 220/udp +ldap 389/tcp +ldap 389/udp +https 443/tcp +https 443/udp +microsoft-ds 445/tcp +microsoft-ds 445/udp +isakmp 500/tcp +isakmp 500/udp +rtsp 554/tcp +rtsp 554/udp +ipp 631/tcp +ipp 631/udp +syslog 514/udp +printer 515/tcp spooler +dhcpv6-client 546/tcp +dhcpv6-client 546/udp +dhcpv6-server 547/tcp +dhcpv6-server 547/udp +afpovertcp 548/tcp +afpovertcp 548/udp +nntps 563/tcp snntp +nntps 563/udp snntp +submission 587/tcp +submission 587/udp +ldaps 636/tcp +ldaps 636/udp +tinc 655/tcp +tinc 655/udp +rsync 873/tcp +rsync 873/udp +ftps-data 989/tcp +ftps 990/tcp +imaps 993/tcp +imaps 993/udp +ircs 994/tcp +ircs 994/udp +pop3s 995/tcp +pop3s 995/udp +socks 1080/tcp +socks 1080/udp +openvpn 1194/tcp +openvpn 1194/udp +l2f 1701/tcp l2tp +l2f 1701/udp l2tp +radius 1812/tcp +radius 1812/udp +radius-acct 1813/tcp radacct +radius-acct 1813/udp radacct +nfs 2049/tcp +nfs 2049/udp +dict 2628/tcp +dict 2628/udp +gpsd 2947/tcp +gpsd 2947/udp +icpv2 3130/tcp icp +icpv2 3130/udp icp +mysql 3306/tcp +mysql 3306/udp +nut 3493/tcp +nut 3493/udp +distcc 3632/tcp +distcc 3632/udp +daap 3689/tcp +daap 3689/udp +svn 3690/tcp subversion +svn 3690/udp subversion +epmd 4369/tcp +epmd 4369/udp +iax 4569/tcp +iax 4569/udp +mtn 4691/tcp +mtn 4691/udp +munin 4949/tcp +sip 5060/tcp +sip 5060/udp +sip-tls 5061/tcp +sip-tls 5061/udp +xmpp-client 5222/tcp jabber-client +xmpp-client 5222/udp jabber-client +xmpp-server 5269/tcp jabber-server +xmpp-server 5269/udp jabber-server +mdns 5353/tcp +mdns 5353/udp +postgresql 5432/tcp postgres +postgresql 5432/udp postgres +x11 6000/tcp +x11 6000/udp +mysql-proxy 6446/tcp +mysql-proxy 6446/udp +bacula-dir 9101/tcp +bacula-dir 9101/udp +bacula-fd 9102/tcp +bacula-fd 9102/udp +bacula-sd 9103/tcp +bacula-sd 9103/udp +nbd 10809/tcp +zabbix-agent 10050/tcp +zabbix-agent 10050/udp +zabbix-trapper 10051/tcp +zabbix-trapper 10051/udp +hkp 11371/tcp +hkp 11371/udp +ssmtp 465/tcp smtps +spamd 783/tcp +zebrasrv 2600/tcp +zebra 2601/tcp +ripd 2602/tcp +ripngd 2603/tcp +ospfd 2604/tcp +bgpd 2605/tcp +ospf6d 2606/tcp +ospfapi 2607/tcp +isisd 2608/tcp +sane-port 6566/tcp sane saned +ircd 6667/tcp +git 9418/tcp + diff --git a/package/base-files/files/etc/shadow b/package/base-files/files/etc/shadow new file mode 100644 index 0000000..4b4154f --- /dev/null +++ b/package/base-files/files/etc/shadow @@ -0,0 +1,5 @@ +root::0:0:99999:7::: +daemon:*:0:0:99999:7::: +ftp:*:0:0:99999:7::: +network:*:0:0:99999:7::: +nobody:*:0:0:99999:7::: diff --git a/package/base-files/files/etc/shells b/package/base-files/files/etc/shells new file mode 100644 index 0000000..006aa38 --- /dev/null +++ b/package/base-files/files/etc/shells @@ -0,0 +1 @@ +/bin/ash diff --git a/package/base-files/files/etc/sysctl.conf b/package/base-files/files/etc/sysctl.conf new file mode 100644 index 0000000..ae04212 --- /dev/null +++ b/package/base-files/files/etc/sysctl.conf @@ -0,0 +1 @@ +# Defaults are configured in /etc/sysctl.d/* and can be customized in this file diff --git a/package/base-files/files/etc/sysctl.d/10-default.conf b/package/base-files/files/etc/sysctl.d/10-default.conf new file mode 100644 index 0000000..bc8c579 --- /dev/null +++ b/package/base-files/files/etc/sysctl.d/10-default.conf @@ -0,0 +1,27 @@ +# Do not edit, changes to this file will be lost on upgrades +# /etc/sysctl.conf can be used to customize sysctl settings + +kernel.panic=3 +kernel.core_pattern=/tmp/%e.%t.%p.%s.core +fs.suid_dumpable=2 + +fs.protected_hardlinks=1 +fs.protected_symlinks=1 + +net.core.bpf_jit_enable=1 + +net.ipv4.conf.default.arp_ignore=1 +net.ipv4.conf.all.arp_ignore=1 +net.ipv4.ip_forward=1 +net.ipv4.icmp_echo_ignore_broadcasts=1 +net.ipv4.icmp_ignore_bogus_error_responses=1 +net.ipv4.igmp_max_memberships=100 +net.ipv4.tcp_fin_timeout=30 +net.ipv4.tcp_keepalive_time=120 +net.ipv4.tcp_syncookies=1 +net.ipv4.tcp_timestamps=1 +net.ipv4.tcp_sack=1 +net.ipv4.tcp_dsack=1 + +net.ipv6.conf.default.forwarding=1 +net.ipv6.conf.all.forwarding=1 diff --git a/package/base-files/files/etc/sysupgrade.conf b/package/base-files/files/etc/sysupgrade.conf new file mode 100644 index 0000000..e06fd5e --- /dev/null +++ b/package/base-files/files/etc/sysupgrade.conf @@ -0,0 +1,5 @@ +## This file contains files and directories that should +## be preserved during an upgrade. + +# /etc/example.conf +# /etc/openvpn/ diff --git a/package/base-files/files/etc/uci-defaults/10_migrate-shadow b/package/base-files/files/etc/uci-defaults/10_migrate-shadow new file mode 100644 index 0000000..a354844 --- /dev/null +++ b/package/base-files/files/etc/uci-defaults/10_migrate-shadow @@ -0,0 +1,12 @@ +#!/bin/sh + +ppwd="$(sed -ne '/^root:/s/^root:\([^:]*\):.*$/\1/p' /etc/passwd)" +spwd="$(sed -ne '/^root:/s/^root:\([^:]*\):.*$/\1/p' /etc/shadow)" + +if [ -n "${ppwd#[\!x]}" ] && [ -z "${spwd#[\!x]}" ]; then + logger -t migrate-shadow "Moving root password hash into shadow database" + sed -i -e "s:^root\:[^\:]*\::root\:x\::" /etc/passwd + sed -i -e "s:^root\:[^\:]*\::root\:$ppwd\::" /etc/shadow +fi + +exit 0 diff --git a/package/base-files/files/etc/uci-defaults/12_network-generate-ula b/package/base-files/files/etc/uci-defaults/12_network-generate-ula new file mode 100644 index 0000000..8871427 --- /dev/null +++ b/package/base-files/files/etc/uci-defaults/12_network-generate-ula @@ -0,0 +1,15 @@ +#!/bin/sh + +[ "$(uci -q get network.globals.ula_prefix)" != "auto" ] && exit 0 + +r1=$(dd if=/dev/urandom bs=1 count=1 |hexdump -e '1/1 "%02x"') +r2=$(dd if=/dev/urandom bs=2 count=1 |hexdump -e '2/1 "%02x"') +r3=$(dd if=/dev/urandom bs=2 count=1 |hexdump -e '2/1 "%02x"') + +uci -q batch <<-EOF >/dev/null + set network.globals.ula_prefix=fd$r1:$r2:$r3::/48 + commit network +EOF + +exit 0 + diff --git a/package/base-files/files/etc/uci-defaults/13_fix_group_user b/package/base-files/files/etc/uci-defaults/13_fix_group_user new file mode 100644 index 0000000..e6dae24 --- /dev/null +++ b/package/base-files/files/etc/uci-defaults/13_fix_group_user @@ -0,0 +1,11 @@ +#!/bin/sh + +. /lib/functions.sh + +for file in `grep -sl Require-User /usr/lib/opkg/info/*.control`; do + file="${file##*/}" + file="${file%.control}" + add_group_and_user "${file}" +done + +exit 0 diff --git a/package/base-files/files/lib/functions.sh b/package/base-files/files/lib/functions.sh new file mode 100755 index 0000000..860fc04 --- /dev/null +++ b/package/base-files/files/lib/functions.sh @@ -0,0 +1,361 @@ +#!/bin/sh +# Copyright (C) 2006-2014 OpenWrt.org +# Copyright (C) 2006 Fokus Fraunhofer +# Copyright (C) 2010 Vertical Communications + + +debug () { + ${DEBUG:-:} "$@" +} + +# newline +N=" +" + +_C=0 +NO_EXPORT=1 +LOAD_STATE=1 +LIST_SEP=" " + +append() { + local var="$1" + local value="$2" + local sep="${3:- }" + + eval "export ${NO_EXPORT:+-n} -- \"$var=\${$var:+\${$var}\${value:+\$sep}}\$value\"" +} + +list_contains() { + local var="$1" + local str="$2" + local val + + eval "val=\" \${$var} \"" + [ "${val%% $str *}" != "$val" ] +} + +config_load() { + [ -n "$IPKG_INSTROOT" ] && return 0 + uci_load "$@" +} + +reset_cb() { + config_cb() { return 0; } + option_cb() { return 0; } + list_cb() { return 0; } +} +reset_cb + +package() { + return 0 +} + +config () { + local cfgtype="$1" + local name="$2" + + export ${NO_EXPORT:+-n} CONFIG_NUM_SECTIONS=$(($CONFIG_NUM_SECTIONS + 1)) + name="${name:-cfg$CONFIG_NUM_SECTIONS}" + append CONFIG_SECTIONS "$name" + export ${NO_EXPORT:+-n} CONFIG_SECTION="$name" + config_set "$CONFIG_SECTION" "TYPE" "${cfgtype}" + [ -n "$NO_CALLBACK" ] || config_cb "$cfgtype" "$name" +} + +option () { + local varname="$1"; shift + local value="$*" + + config_set "$CONFIG_SECTION" "${varname}" "${value}" + [ -n "$NO_CALLBACK" ] || option_cb "$varname" "$*" +} + +list() { + local varname="$1"; shift + local value="$*" + local len + + config_get len "$CONFIG_SECTION" "${varname}_LENGTH" 0 + [ $len = 0 ] && append CONFIG_LIST_STATE "${CONFIG_SECTION}_${varname}" + len=$(($len + 1)) + config_set "$CONFIG_SECTION" "${varname}_ITEM$len" "$value" + config_set "$CONFIG_SECTION" "${varname}_LENGTH" "$len" + append "CONFIG_${CONFIG_SECTION}_${varname}" "$value" "$LIST_SEP" + [ -n "$NO_CALLBACK" ] || list_cb "$varname" "$*" +} + +config_unset() { + config_set "$1" "$2" "" +} + +# config_get