From 97a4ffcc125611dd5f307d54570373832a73e62d Mon Sep 17 00:00:00 2001 From: coolsnowwolf Date: Wed, 6 Sep 2017 19:19:45 +0800 Subject: [PATCH] update source --- BSDmakefile | 7 + Config.in | 34 + LICENSE | 340 + Makefile | 103 + README | 29 + config/Config-build.in | 259 + config/Config-devel.in | 120 + config/Config-images.in | 272 + config/Config-kernel.in | 754 + feeds.conf.default | 9 + include/autotools.mk | 170 + include/cmake.mk | 113 + include/debug.mk | 51 + include/depends.mk | 54 + include/device_table.txt | 5 + include/download.mk | 285 + include/feeds.mk | 50 + include/hardening.mk | 50 + include/host-build.mk | 205 + include/image-commands.mk | 280 + include/image-legacy.mk | 93 + include/image.mk | 576 + include/kernel-build.mk | 178 + include/kernel-defaults.mk | 156 + include/kernel-version.mk | 25 + include/kernel.mk | 292 + include/netfilter.mk | 379 + include/nls.mk | 40 + include/package-bin.mk | 43 + include/package-defaults.mk | 162 + include/package-dumpinfo.mk | 91 + include/package-ipkg.mk | 243 + include/package-seccomp.mk | 15 + include/package.mk | 316 + include/prereq-build.mk | 161 + include/prereq.mk | 108 + include/quilt.mk | 183 + include/rootfs.mk | 89 + include/scan.awk | 19 + include/scan.mk | 104 + 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/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/sparc | 30 + include/site/x86_64 | 30 + include/subdir.mk | 106 + include/target.mk | 316 + include/toolchain-build.mk | 25 + include/toplevel.mk | 248 + include/u-boot.mk | 104 + include/uclibc++.mk | 16 + include/unpack.mk | 76 + include/verbose.mk | 67 + include/version.mk | 112 + package/Makefile | 109 + package/base-files/Makefile | 193 + package/base-files/files/bin/board_detect | 14 + package/base-files/files/bin/config_generate | 437 + package/base-files/files/bin/ipcalc.sh | 71 + package/base-files/files/etc/banner | 10 + package/base-files/files/etc/banner.failsafe | 13 + .../files/etc/board.d/99-default_network | 17 + package/base-files/files/etc/device_info | 4 + package/base-files/files/etc/diag.sh | 4 + 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 | 42 + package/base-files/files/etc/init.d/led | 134 + package/base-files/files/etc/init.d/sysctl | 25 + .../base-files/files/etc/init.d/sysfixtime | 34 + package/base-files/files/etc/init.d/system | 50 + package/base-files/files/etc/init.d/umount | 8 + .../base-files/files/etc/init.d/urandom_seed | 12 + package/base-files/files/etc/inittab | 3 + .../base-files/files/etc/iproute2/rt_protos | 18 + .../base-files/files/etc/iproute2/rt_tables | 12 + package/base-files/files/etc/openwrt_release | 8 + 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 | 52 + 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/reset | 31 + package/base-files/files/etc/rc.button/rfkill | 32 + package/base-files/files/etc/rc.common | 144 + 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 | 30 + .../base-files/files/etc/sysctl.d/local.conf | 1 + package/base-files/files/etc/sysupgrade.conf | 5 + .../files/etc/uci-defaults/10_migrate-shadow | 12 + .../files/etc/uci-defaults/11_migrate-sysctl | 16 + .../etc/uci-defaults/12_network-generate-ula | 15 + .../files/etc/uci-defaults/13_fix_group_user | 11 + package/base-files/files/lib/functions.sh | 360 + .../base-files/files/lib/functions/leds.sh | 61 + .../base-files/files/lib/functions/network.sh | 295 + .../base-files/files/lib/functions/preinit.sh | 88 + .../base-files/files/lib/functions/service.sh | 103 + .../base-files/files/lib/functions/system.sh | 129 + .../files/lib/functions/uci-defaults.sh | 614 + .../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/81_urandom_seed | 24 + .../files/lib/preinit/99_10_failsafe_login | 21 + .../files/lib/preinit/99_10_run_init | 9 + .../base-files/files/lib/upgrade/common.sh | 238 + .../base-files/files/lib/upgrade/fwtool.sh | 43 + .../lib/upgrade/keep.d/base-files-essential | 10 + package/base-files/files/lib/upgrade/nand.sh | 336 + package/base-files/files/lib/upgrade/stage2 | 149 + 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/sysupgrade | 264 + package/base-files/files/sbin/urandom_seed | 20 + package/base-files/files/sbin/wifi | 245 + package/base-files/files/usr/lib/os-release | 18 + package/base-files/files/usr/libexec/login.sh | 5 + package/base-files/image-config.in | 294 + package/boot/apex/Makefile | 63 + .../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 + package/boot/fconfig/Makefile | 46 + package/boot/grub2/Makefile | 91 + .../grub2/patches/100-grub_setup_root.patch | 118 + ...-disable-gettext-check-macro-version.patch | 13 + .../grub2/patches/200-fix-gets-removal.patch | 16 + 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 | 182 + .../patches/100-format_string_fix.patch | 20 + ...10-fix-vmcore-dmsg-compilation-error.patch | 11 + .../120-fail-to-get-symbol-debug.patch | 33 + .../patches/130-dont-use-percentL.patch | 178 + package/boot/kobs-ng/Makefile | 46 + .../boot/kobs-ng/patches/001-compile.patch | 23 + .../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 | 795 + package/boot/rbcfg/src/rbcfg.h | 77 + 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/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 | 42 + package/boot/uboot-envtools/Config.in | 9 + package/boot/uboot-envtools/Makefile | 125 + package/boot/uboot-envtools/files/ar71xx | 84 + package/boot/uboot-envtools/files/cns3xxx | 27 + package/boot/uboot-envtools/files/imx6 | 35 + package/boot/uboot-envtools/files/ipq | 48 + package/boot/uboot-envtools/files/kirkwood | 35 + package/boot/uboot-envtools/files/lantiq | 38 + package/boot/uboot-envtools/files/mvebu | 33 + package/boot/uboot-envtools/files/mxs | 25 + package/boot/uboot-envtools/files/oxnas | 27 + package/boot/uboot-envtools/files/pistachio | 27 + package/boot/uboot-envtools/files/ramips | 36 + .../uboot-envtools/files/uboot-envtools.sh | 36 + .../uboot-envtools/patches/001-compile.patch | 13 + .../patches/200-fw_env_no_aes.patch | 38 + .../300-support-env-in-ubivol-chardev.patch | 163 + .../patches/400-u-boot-2015.10-stdint.patch | 13 + package/boot/uboot-fritz4040/Makefile | 54 + .../uboot-fritz4040/files/upload-to-f4040.sh | 41 + .../patches/100-private-libgcc.patch | 274 + .../patches/110-portability.patch | 32 + package/boot/uboot-imx6/Makefile | 78 + .../patches/001-gcc-5-compiler.patch | 87 + .../patches/002-use-static-inline.patch | 72 + .../patches/003-use-weak-in-board.patch | 80 + .../patches/004-use-weak-in-main.patch | 27 + .../patches/100-wandboard-enable-fit.patch | 10 + .../patches/110-wandboard-owrt-env.patch | 89 + package/boot/uboot-kirkwood/Makefile | 115 + .../patches/007-nsa310-uboot-generic.patch | 703 + .../patches/008-nsa325-uboot-generic.patch | 690 + .../uboot-kirkwood/patches/110-dockstar.patch | 55 + .../uboot-kirkwood/patches/120-iconnect.patch | 52 + .../uboot-kirkwood/patches/130-ib62x0.patch | 36 + .../patches/140-pogoplug_e02.patch | 43 + .../patches/150-goflexhome.patch | 28 + .../patches/200-openwrt-config.patch | 116 + 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 + ...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 + package/boot/uboot-layerscape-32b/Makefile | 51 + package/boot/uboot-layerscape/Makefile | 59 + package/boot/uboot-mvebu/Makefile | 38 + ...clearfog-generate-random-MAC-address.patch | 28 + ...clearfog-reset-usom-onboard-1512-phy.patch | 37 + ...003-clearfog-enable-distro-boot-code.patch | 97 + ...og-enable-setexpr-command-by-default.patch | 28 + package/boot/uboot-mxs/Makefile | 45 + .../patches/001-add-i2se-duckbill.patch | 553 + 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 + 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/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 | 383 + .../boot/uboot-oxnas/src/tools/mkox820crc.c | 123 + package/boot/uboot-sunxi/Makefile | 143 + .../patches/002-add-olimex-a13-som.patch | 21 + .../003-add-theobroma-a31-pangolin.patch | 385 + .../010-dt-sync-files-with-kernel.patch | 1403 + .../011-dt-sync-dts-files-with-kernel.patch | 7211 + .../012-sun6i-fix-clock_twi_onoff.patch | 38 + .../patches/013-enable-realtek-phy.patch | 24 + .../patches/014-fix-gmac-init.patch | 127 + .../015-fix-2nd-usb-ctrler-on-sun47i.patch | 78 + .../patches/016-spl-print-mmc-slot.patch | 31 + ...17-usb-add-support-for-usb3-vbus-pin.patch | 39 + ...8-usb-specify-vbus-pins-on-orangepis.patch | 31 + ...19-sid-add-efuse-support-for-h3-a83t.patch | 33 + ...-boot-display-board-model-on-startup.patch | 23 + ...1-sun6i-sync-PLL1-multdiv-with-Boot1.patch | 32 + .../093-sun6i-fix-PLL-LDO-voltselect.patch | 70 + .../100-sun6i-alternate-on-UART2.patch | 16 + .../101-sun6i-support-console-on-UART2.patch | 30 + ...2-sunxi-make_CONS_INDEX-configurable.patch | 23 + package/boot/uboot-sunxi/uEnv-default.txt | 6 + package/boot/uboot-sunxi/uEnv-pangolin.txt | 6 + package/boot/uboot-xburst/Makefile | 88 + .../0001-qi_lb60-add-nand-spl-support.patch | 894 + ...qi_lb60-add-software-usbboot-support.patch | 916 + .../patches/0003-add-mmc-support.patch | 1664 + ...dd-more-boot-options-F1-F2-F3-F4-M-S.patch | 200 + .../0005-add-nanonote-lcd-support.patch | 847 + .../patches/0006-enable-silent-console.patch | 60 + package/boot/uboot-zynq/Makefile | 45 + package/boot/yamonenv/Makefile | 42 + .../patches/001-yamonenv_mtd_partition.patch | 11 + package/devel/binutils/Makefile | 125 + ...-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 | 82 + .../001-gdb-pr14523-mips-signal-number.patch | 16 + package/devel/gdb/patches/100-musl_fix.patch | 53 + .../devel/gdb/patches/110-shared_libgcc.patch | 76 + .../120-sigprocmask-invalid-call.patch | 43 + package/devel/perf/Makefile | 82 + package/devel/perf/musl-compat.h | 43 + package/devel/perf/musl-include/asm/errno.h | 8 + package/devel/perf/musl-include/string.h | 18 + package/devel/strace/Makefile | 67 + ...00-workaround--pt-reg-collisions-ppc.patch | 17 + package/devel/trace-cmd/Makefile | 60 + .../patches/110-mac80211_tracepoint.patch | 24 + package/devel/valgrind/Makefile | 179 + 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/ath10k-firmware/Makefile | 384 + package/firmware/b43legacy-firmware/Makefile | 72 + package/firmware/fman-ucode/Makefile | 92 + package/firmware/ipq-wifi/Makefile | 53 + package/firmware/ipq-wifi/board-fritz4040.bin | Bin 0 -> 24276 bytes package/firmware/ipq-wifi/board-nbg6617.bin | Bin 0 -> 24276 bytes package/firmware/ipq-wifi/board-rt-ac58u.bin | Bin 0 -> 24276 bytes 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 + package/firmware/linux-firmware/Makefile | 37 + package/firmware/linux-firmware/broadcom.mk | 75 + package/firmware/linux-firmware/cis.mk | 10 + package/firmware/linux-firmware/intel.mk | 192 + package/firmware/linux-firmware/marvell.mk | 65 + package/firmware/linux-firmware/mediatek.mk | 43 + package/firmware/linux-firmware/qca.mk | 25 + package/firmware/linux-firmware/realtek.mk | 65 + package/firmware/linux-firmware/ti.mk | 25 + package/firmware/ppfe-firmware/Makefile | 87 + package/firmware/prism54-firmware/Makefile | 111 + package/firmware/rcw/Makefile | 101 + package/firmware/vsc73x5-ucode/Makefile | 68 + package/firmware/vsc73x5-ucode/files/Makefile | 20 + package/kernel/acx-mac80211/Makefile | 257 + .../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 | 102 + .../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 | 30 + .../180-git_headers_include.patch | 54 + .../190-2.6.32_proc_fixes.patch | 79 + .../patches-D7.04.03.00/200-2.6.37_args.patch | 36 + .../210-3.3-remove-smp_lock.h.patch | 33 + .../220-3.10-update_proc_code.patch | 2965 + .../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 + .../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 | 30 + .../180-git_headers_include.patch | 54 + .../190-2.6.32_proc_fixes.patch | 79 + .../patches-D7.05.01.00/200-2.6.37_args.patch | 36 + .../210-3.3-remove-smp_lock.h.patch | 33 + .../220-3.10-update_proc_code.patch | 3102 + .../patches-D7.05.01.00/240-3.18_fixes.patch | 38 + .../patches-D7.05.01.00/250-4.1_fixes.patch | 20 + package/kernel/ath10k-ct/Makefile | 83 + .../ath10k-ct/patches/100-kernel_compat.patch | 97 + .../ath10k-ct/patches/110-api_fix.patch | 11 + package/kernel/avila-wdt/Makefile | 35 + package/kernel/avila-wdt/src/Makefile | 1 + package/kernel/avila-wdt/src/avila-wdt.c | 231 + package/kernel/brcm2708-gpu-fw/Makefile | 112 + package/kernel/broadcom-wl/Makefile | 181 + .../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 | 477 + .../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/100-fix_nvram_two_devices.patch | 32 + .../patches/110-add_number_to_dev_name.patch | 11 + .../patches/120-fixup-mac-addresses.patch | 92 + .../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 | 51 + package/kernel/button-hotplug/src/Kconfig | 2 + package/kernel/button-hotplug/src/Makefile | 1 + .../button-hotplug/src/button-hotplug.c | 343 + package/kernel/gpio-button-hotplug/Makefile | 46 + .../kernel/gpio-button-hotplug/src/Makefile | 1 + .../src/gpio-button-hotplug.c | 675 + package/kernel/gpio-nct5104d/Makefile | 52 + package/kernel/gpio-nct5104d/src/Kconfig | 5 + package/kernel/gpio-nct5104d/src/Makefile | 1 + .../kernel/gpio-nct5104d/src/gpio-nct5104d.c | 465 + package/kernel/hwmon-gsc/Makefile | 30 + package/kernel/hwmon-gsc/src/Makefile | 1 + package/kernel/hwmon-gsc/src/gsc.c | 308 + package/kernel/i2c-gpio-custom/Makefile | 48 + package/kernel/i2c-gpio-custom/src/Kconfig | 10 + package/kernel/i2c-gpio-custom/src/Makefile | 1 + .../i2c-gpio-custom/src/i2c-gpio-custom.c | 202 + package/kernel/kmod-sched-cake/Makefile | 41 + package/kernel/lantiq/ltq-adsl-fw/Makefile | 57 + package/kernel/lantiq/ltq-adsl-mei/Makefile | 45 + .../kernel/lantiq/ltq-adsl-mei/src/Makefile | 17 + .../ltq-adsl-mei/src/ifxmips_mei_interface.h | 724 + .../lantiq/ltq-adsl-mei/src/lantiq_mei.c | 2838 + package/kernel/lantiq/ltq-adsl/Config.in | 5 + package/kernel/lantiq/ltq-adsl/Makefile | 95 + .../ltq-adsl/patches/100-dsl_compat.patch | 1065 + .../patches/110-fix_status_polling_loop.patch | 11 + .../ltq-adsl/patches/120-platform.patch | 72 + .../ltq-adsl/patches/130-linux3.8.patch | 143 + .../ltq-adsl/patches/140-linux_3.18.patch | 30 + package/kernel/lantiq/ltq-atm/Makefile | 51 + package/kernel/lantiq/ltq-atm/src/Makefile | 23 + .../ltq-atm/src/ifxmips_atm_amazon_se.c | 333 + .../lantiq/ltq-atm/src/ifxmips_atm_ar9.c | 244 + .../lantiq/ltq-atm/src/ifxmips_atm_core.h | 245 + .../lantiq/ltq-atm/src/ifxmips_atm_danube.c | 231 + .../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 | 190 + package/kernel/lantiq/ltq-atm/src/ltq_atm.c | 1934 + package/kernel/lantiq/ltq-deu/Makefile | 45 + 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 | 69 + .../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 | 55 + .../ltq-ifxos/patches/001-warnings.patch | 24 + .../lantiq/ltq-ifxos/patches/100-compat.patch | 151 + package/kernel/lantiq/ltq-ptm/Makefile | 47 + package/kernel/lantiq/ltq-ptm/src/Makefile | 23 + .../lantiq/ltq-ptm/src/ifxmips_ptm_adsl.c | 1590 + .../lantiq/ltq-ptm/src/ifxmips_ptm_adsl.h | 137 + .../ltq-ptm/src/ifxmips_ptm_amazon_se.c | 322 + .../lantiq/ltq-ptm/src/ifxmips_ptm_ar9.c | 376 + .../lantiq/ltq-ptm/src/ifxmips_ptm_common.h | 102 + .../lantiq/ltq-ptm/src/ifxmips_ptm_danube.c | 317 + .../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 | 1118 + .../lantiq/ltq-ptm/src/ifxmips_ptm_vdsl.h | 126 + .../lantiq/ltq-ptm/src/ifxmips_ptm_vr9.c | 295 + package/kernel/lantiq/ltq-tapi/Config.in | 88 + package/kernel/lantiq/ltq-tapi/Makefile | 68 + .../ltq-tapi/patches/000-portability.patch | 82 + .../lantiq/ltq-tapi/patches/100-ifxmips.patch | 96 + .../ltq-tapi/patches/200-linux-37.patch | 108 + .../ltq-tapi/patches/300-linux-310.patch | 13 + package/kernel/lantiq/ltq-vdsl-mei/Makefile | 90 + .../ltq-vdsl-mei/patches/010-warnings.patch | 26 + .../ltq-vdsl-mei/patches/100-compat.patch | 368 + .../patches/101_no-date-time.patch | 13 + package/kernel/lantiq/ltq-vdsl/Makefile | 79 + .../lantiq/ltq-vdsl/patches/100-compat.patch | 96 + 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 + .../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 | 52 + package/kernel/leds-apu2/src/Kconfig | 8 + package/kernel/leds-apu2/src/Makefile | 1 + package/kernel/leds-apu2/src/leds-apu2.c | 378 + package/kernel/linux/Makefile | 66 + package/kernel/linux/modules/001-depends.mk | 14 + package/kernel/linux/modules/block.mk | 510 + package/kernel/linux/modules/can.mk | 277 + package/kernel/linux/modules/crypto.mk | 619 + package/kernel/linux/modules/firewire.mk | 74 + package/kernel/linux/modules/fs.mk | 507 + package/kernel/linux/modules/hwmon.mk | 420 + package/kernel/linux/modules/i2c.mk | 204 + package/kernel/linux/modules/input.mk | 209 + package/kernel/linux/modules/leds.mk | 147 + package/kernel/linux/modules/lib.mk | 234 + package/kernel/linux/modules/netdevices.mk | 909 + package/kernel/linux/modules/netfilter.mk | 903 + package/kernel/linux/modules/netsupport.mk | 1026 + package/kernel/linux/modules/nls.mk | 339 + package/kernel/linux/modules/other.mk | 1046 + package/kernel/linux/modules/pcmcia.mk | 113 + package/kernel/linux/modules/sound.mk | 521 + package/kernel/linux/modules/spi.mk | 91 + package/kernel/linux/modules/usb.mk | 1523 + package/kernel/linux/modules/video.mk | 916 + package/kernel/linux/modules/virt.mk | 73 + package/kernel/linux/modules/w1.mk | 192 + package/kernel/linux/modules/wireless.mk | 64 + package/kernel/linux/modules/wpan.mk | 124 + package/kernel/mac80211/Makefile | 1863 + .../files/lib/netifd/wireless/mac80211.sh | 822 + .../mac80211/files/lib/wifi/mac80211.sh | 132 + .../kernel/mac80211/files/mac80211.hotplug | 5 + package/kernel/mac80211/files/regdb.txt | 1314 + .../mac80211/patches/000-fix_kconfig.patch | 14 + .../mac80211/patches/001-fix_build.patch | 167 + .../patches/002-change_allconfig.patch | 64 + .../patches/003-remove_bogus_modparams.patch | 34 + .../patches/004-kconfig_backport_fix.patch | 28 + .../patches/005-revert-devcoredump.patch | 152 + .../patches/006-revert-ktime-changes.patch | 20 + .../007-revert-genetlink-changes.patch | 266 + .../008-revert-ndo_stats64-cleanup.patch | 20 + .../patches/009-revert-mtu-changes.patch | 338 + .../mac80211/patches/010-disable_rfkill.patch | 15 + .../patches/011-backport_strscpy.patch | 43 + .../patches/012-kernel_build_check.patch | 11 + ...roducing-a-USB-dependency-in-the-rt2.patch | 78 + ...x00usb-do-not-anchor-rx-and-tx-urb-s.patch | 56 + ...-rt2x00usb-fix-anchor-initialization.patch | 70 + .../020-04-rt61pci-use-entry-directly.patch | 23 + ...-entry-directly-in-rt2x00_dump_frame.patch | 158 + ...2x00-remove-queue_entry-from-skbdesc.patch | 52 + ...n-t-mark-register-accesses-as-inline.patch | 79 + ...-move-rt2800_drv_data-declaration-in.patch | 87 + ...dentify-station-based-on-status-WCID.patch | 85 + ...illing-tx-status-from-rt2x00lib_txdo.patch | 173 + ...clearing-entry-from-rt2x00lib_txdone.patch | 83 + ...2-rt2x00-add-txdone-nomatch-function.patch | 85 + ...ixup-fill_tx_status-for-nomatch-case.patch | 47 + ...2x00-use-txdone_nomatch-on-rt2800usb.patch | 180 + ...us-based-rate-flags-for-nomatch-case.patch | 81 + ...00-use-TXOP_BACKOFF-for-probe-frames.patch | 38 + ...0-fix-rt2x00debug_dump_frame-comment.patch | 23 + ...fix-TX_PWR_CFG_4-register-definition.patch | 32 + ...020-19-rt2x00-add-support-for-MT7620.patch | 2064 + ...se-external-PA-capability-flag-logic.patch | 121 + ...0-fix-LNA-gain-assignment-for-MT7620.patch | 49 + ...CO-calibration-after-programming-ALC.patch | 29 + ...fix-mt7620-vco-calibration-registers.patch | 45 + ...2800-fix-mt7620-E2-channel-registers.patch | 36 + .../mac80211/patches/030-rt2x00_options.patch | 47 + .../patches/040-brcmutil_option.patch | 9 + .../patches/050-lib80211_option.patch | 30 + .../patches/060-no_local_ssb_bcma.patch | 132 + .../patches/070-ath_common_config.patch | 9 + .../patches/080-ath10k_thermal_config.patch | 37 + .../mac80211/patches/090-remove-cred.patch | 15 + .../100-remove-cryptoapi-dependencies.patch | 456 + .../110-mac80211_keep_keys_on_stop_ap.patch | 12 + .../120-cfg80211_allow_perm_addr_change.patch | 43 + .../130-mac80211-hwsim-hrtimer-clock.patch | 11 + .../patches/150-disable_addr_notifier.patch | 67 + .../201-ath5k-WAR-for-AR71xx-PCI-bug.patch | 38 + .../kernel/mac80211/patches/210-ap_scan.patch | 11 + ...w-reset-AHB-WMAC-interface-on-AR91xx.patch | 25 + ..._hw-issue-external-reset-for-QCA955x.patch | 129 + ...ctral-scan-enable-bit-on-trigger-for.patch | 21 + ...periodic-and-nf-calibation-at-the-sa.patch | 27 + ...h9k-force-rx_clear-when-disabling-rx.patch | 35 + ...etries-for-powersave-response-frames.patch | 96 + ...erpret-requested-txpower-in-EIRP-dom.patch | 37 + ...0211-add-hdrlen-to-ieee80211_tx_data.patch | 219 + ...80211-add-NEED_ALIGNED4_SKBS-hw-flag.patch | 233 + ...l-Enable-STBC-and-LDPC-for-VHT-Rates.patch | 82 + ...ata-bit-in-PS-buffered-frame-release.patch | 50 + ...ntially-stale-EOSP-status-bit-in-int.patch | 22 + .../312-ath9k-report-tx-status-on-EOSP.patch | 19 + ...fix-block-ack-window-tracking-issues.patch | 114 + ...me-tx_complete_work-to-hw_check_work.patch | 175 + ...-check-if-the-chip-failed-to-wake-up.patch | 30 + ...condition-in-enabling-disabling-IRQs.patch | 197 + ...rcmf_bus_get_memdump-result-for-erro.patch | 52 + ...re-verbose-when-PSM-s-watchdog-fires.patch | 38 + ...hy_read_of_freq_limits-to-respect-li.patch | 44 + ...-merge-two-brcmf_err-macros-into-one.patch | 43 + ...to-C-function-__brcmf_err-for-printi.patch | 69 + ...merge-two-remaining-brcmf_err-macros.patch | 46 + ...lean-up-and-fix-ath_tx_count_airtime.patch | 107 + .../321-mac80211-fix-CSA-in-IBSS-mode.patch | 34 + ...andle-filtered-frames-within-a-BA-se.patch | 28 + ..._device_stats-from-struct-net_device.patch | 112 + ...print-error-when-PSM-s-watchdog-fire.patch | 148 + ...print-the-firmware-version-as-an-err.patch | 56 + ...o-not-complain-about-country-code-00.patch | 28 + ...status-BRCMF_E_STATUS_ABORT-in-cfg80.patch | 35 + ...move-brcmf_txflowblock-to-bcdc-layer.patch | 137 + ...-move-brcmf_txcomplete-to-bcdc-layer.patch | 122 + ...cmf_fws_add_interface-into-bcdc-laye.patch | 95 + ...cmf_fws_del_interface-into-bcdc-laye.patch | 83 + ...cmf_fws_reset_interface-into-bcdc-la.patch | 82 + ...fix-channel-maximum-power-level-test.patch | 47 + ...tionally-start-new-netdev-queues-wit.patch | 29 + .../326-ath9k-fix-ar934x-OTP-offsets.patch | 42 + .../327-ath10k-increase-BMI-timeout.patch | 31 + ...h10k-log-when-longer-bmi-cmds-happen.patch | 74 + ...arameters-to-fix-calibration-from-DT.patch | 80 + ...power-reduction-for-US-regulatory-do.patch | 23 + ...ata-flag-for-buffered-multicast-pack.patch | 40 + ...th10k-fix-rx-ring-buffer-memory-leak.patch | 58 + .../333-ath10k-fix-spectral-scan.patch | 180 + .../patches/400-ath_move_debug_code.patch | 31 + .../patches/401-ath9k_blink_default.patch | 11 + .../patches/402-ath_regd_optional.patch | 116 + .../patches/403-world_regd_fixup.patch | 84 + .../patches/404-regd_no_assoc_hints.patch | 19 + .../mac80211/patches/405-ath_regd_us.patch | 26 + .../patches/406-ath_relax_default_regd.patch | 51 + .../410-ath9k_allow_adhoc_and_ap.patch | 10 + .../411-ath5k_allow_adhoc_and_ap.patch | 46 + .../patches/420-ath5k_disable_fast_cc.patch | 18 + .../patches/430-add_ath5k_platform.patch | 33 + ...add_platform_eeprom_support_to_ath5k.patch | 56 + .../patches/432-ath5k_add_pciids.patch | 11 + .../440-ath5k_channel_bw_debugfs.patch | 143 + .../patches/500-ath9k_eeprom_debugfs.patch | 65 + .../mac80211/patches/501-ath9k_ahb_init.patch | 32 + .../510-ath9k_intr_mitigation_tweak.patch | 18 + .../patches/511-ath9k_reduce_rxbuf.patch | 11 + .../patches/512-ath9k_channelbw_debugfs.patch | 125 + .../patches/513-ath9k_add_pci_ids.patch | 30 + .../522-mac80211_configure_antenna_gain.patch | 160 + .../patches/530-ath9k_extra_leds.patch | 267 + .../531-ath9k_extra_platform_leds.patch | 76 + .../540-ath9k_reduce_ani_interval.patch | 11 + .../patches/542-ath9k_debugfs_diag.patch | 139 + .../patches/543-ath9k_entropy_from_adc.patch | 186 + ...544-ath9k-ar933x-usb-hang-workaround.patch | 79 + .../patches/545-ath9k_ani_ws_detect.patch | 155 + .../patches/547-ath9k_led_defstate_fix.patch | 29 + .../patches/548-ath9k_enable_gpio_chip.patch | 247 + .../549-ath9k_enable_gpio_buttons.patch | 140 + .../550-ath9k-disable-bands-via-dt.patch | 15 + .../patches/551-ath9k_ubnt_uap_plus_hsr.patch | 418 + ...to-build-rt2800soc-module-for-RT3883.patch | 30 + ...-rt2800lib-enable-support-for-RT3883.patch | 20 + ...x00-rt2800lib-add-rf_vals-for-RF3853.patch | 112 + ...ib-enable-VCO-calibration-for-RF3853.patch | 28 + ...-add-channel-configuration-function-.patch | 235 + ...2x00-rt2800lib-enable-RF3853-support.patch | 20 + ...-add-MAC-register-initialization-for.patch | 62 + ...-fix-rt2800soc_disable_radio-for-RT3.patch | 30 + ...-add-BBP-register-initialization-for.patch | 71 + ...-add-RFCSR-initialization-for-RT3883.patch | 178 + ...-use-the-extended-EEPROM-map-for-RT3.patch | 22 + ...ib-force-rf-type-to-RF3853-on-RT3883.patch | 21 + ...-add-channel-configuration-code-for-.patch | 136 + ...-fix-txpower_to_dev-function-for-RT3.patch | 30 + ...-use-correct-txpower-calculation-fun.patch | 23 + ...-hardcode-txmixer-gain-values-to-zer.patch | 33 + ...b-use-correct-RT-XWI-size-for-RT3883.patch | 20 + ...-fix-antenna-configuration-for-RT388.patch | 22 + ...-fix-LNA-gain-configuration-for-RT38.patch | 32 + ...0-rt2800lib-fix-VGC-setup-for-RT3883.patch | 44 + ...-fix-EEPROM-LNA-validation-for-RT388.patch | 42 + ...-fix-txpower-compensation-for-RT3883.patch | 22 + ...o-add-a-workaround-for-spurious-TX_F.patch | 136 + ...1-rt2x00-introduce-rt2x00_platform_h.patch | 32 + .../602-rt2x00-introduce-rt2x00eeprom.patch | 295 + .../603-rt2x00-of_load_eeprom_filename.patch | 33 + ...om-on-SoC-from-a-mtd-device-defines-.patch | 108 + ...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 + ...dd-support-for-external-PA-on-MT7620.patch | 118 + .../651-rt2x00-remove-unneccesary-code.patch | 132 + ...xxu-Accept-firmware-signature-0x88e0.patch | 22 + ...nitial-code-to-detect-8188eu-devices.patch | 121 + ...d-initial-code-to-parse-8188eu-efuse.patch | 113 + ...l8xxxu-Detect-8188eu-parts-correctly.patch | 43 + ...xxxu-First-stab-at-rtl8188e_power_on.patch | 105 + ...tl8xxxu-Add-rtl8188e_disabled_to_emu.patch | 40 + ...0007-rtl8xxxu-8188e-Enable-scheduler.patch | 45 + ...8188e_usb_quirk-for-enabling-MAC-TX-.patch | 40 + ...8188e-add-REG_TXDMA_OFFSET_CHK-quirk.patch | 34 + ...erved-page-init-parameters-for-8188e.patch | 45 + ...Correct-TX_TOTAL_PAGE_NUM-for-8188eu.patch | 24 + ...tl8xxxu-Add-trxff_boundary-for-8188e.patch | 28 + ...specify-firmware-block-size-and-set-.patch | 26 + ...14-rtl8xxxu-Add-8188e-mac-init-table.patch | 57 + ...xxxu-Implement-rtl8188eu_init_phy_bb.patch | 245 + ...xxxu-Implement-rtl8188eu_init_phy_rf.patch | 103 + ...rtl8xxxu-Use-auto-LLT-init-for-8188e.patch | 24 + ...-not-set-REG_FPGA0_TX_INFO-on-8188eu.patch | 25 + ...mess-with-REG_FPGA0_XA_RF_INT_OE-eit.patch | 27 + ...xu-Set-transfer-page-size-for-8188eu.patch | 21 + ...xxu-Enable-TX-report-timer-on-8188eu.patch | 22 + ...rtl8xxxu-Setup-interrupts-for-8188eu.patch | 31 + ...esc16-and-32-byte-tx-descriptors-for.patch | 30 + ...use-same-ADDA-on-parameters-as-8723a.patch | 25 + ...d-PHY-IQ-calibration-code-for-8188eu.patch | 521 + ...u-8188eu-uses-the-gen2-thermal-meter.patch | 23 + ...xu-Set-REG_USB_HRPWM-to-0-for-8188eu.patch | 23 + ...u-Implement-rtl8188eu_config_channel.patch | 146 + ...xxu-Use-gen2-H2C-commands-for-8188eu.patch | 25 + ...-Initialize-GPIO-settings-for-8188eu.patch | 40 + ...u-Add-simple-rtl8188eu_rf_on-routine.patch | 34 + ...l8xxxu-Implement-rtl8188e_disable_rf.patch | 44 + ...8188e-efuse-definition-for-power-val.patch | 62 + ...xxxu-Implement-rtl8188e_set_tx_power.patch | 94 + ...nt-rtl8xxxu_fill_txdesc_v3-for-8188e.patch | 145 + ...e-8188eu-registers-and-update-CCK0_A.patch | 87 + ...-register-description-for-REG_FPGA1_.patch | 30 + ...xu-properly-detect-RTL8188EU-devices.patch | 29 + ...nt-8188eu-specific-8051-reset-functi.patch | 43 + ...ble-packet-DMA-aggregation-on-8188eu.patch | 43 + ...set-REG_OFDM0_XA_AGC_CORE1-to-match-.patch | 28 + ...l8xxxu-Fix-rtl8188eu-connection-fail.patch | 27 + ...not-set-auto-rate-fallback-on-8188eu.patch | 93 + ...3-0044-rtl8xxxu-Enable-8188eu-driver.patch | 22 + ...xu-Add-rtl8188etv-to-USB-device-list.patch | 25 + ...dd-sitecom-dongle-to-USB-device-list.patch | 23 + ...xu-Implement-rtl8188eu_active_to_emu.patch | 68 + ...l8xxxu-Implement-rtl8188eu_power_off.patch | 185 + ...8188eu-USB-ID-for-D-Link-USB-GO-N150.patch | 25 + ...YS_FUNC_UPLL-during-power-up-on-8188.patch | 23 + ...nable-of-WEP-TKIP-security-on-8188eu.patch | 25 + ...rrect-power-down-sequence-for-8188eu.patch | 65 + ...-8188eu-REG_GPIO_MUXCFG-on-power-off.patch | 21 + ...le-devices-with-a-smaller-LLT-buffer.patch | 70 + ...loading-of-driver-for-8188eu-devices.patch | 72 + ...re-to-enable-OFDM-paths-for-8188eu-i.patch | 39 + ..._sel-entry-to-struct-rtl8xxxu_rxdesc.patch | 35 + ...700-mwl8k-missing-pci-id-for-WNR854T.patch | 10 + .../801-libertas-configure-sysfs-links.patch | 21 + .../802-libertas-set-wireless-macaddr.patch | 11 + .../810-b43-gpio-mask-module-option.patch | 37 + .../mac80211/patches/811-b43_no_pio.patch | 86 + .../patches/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 | 97 + ...und-bug-with-some-inconsistent-BSSes.patch | 50 + ...62-brcmfmac-Disable-power-management.patch | 27 + ...-in-driver-tables-with-country-codes.patch | 60 + ...e-internal-roaming-engine-by-default.patch | 23 + ...21-ath10k_init_devices_synchronously.patch | 33 + .../930-ath10k_add_tpt_led_trigger.patch | 37 + .../936-ath10k-fix-otp-failure-result.patch | 11 + ...940-mwl8k_init_devices_synchronously.patch | 20 + ...0-0010-ath10k-limit-htt-rx-ring-size.patch | 11 + ...60-0011-ath10k-limit-pci-buffer-size.patch | 38 + .../mac80211/scripts/import-backports.sh | 109 + package/kernel/mt76/Makefile | 112 + package/kernel/mwlwifi/Makefile | 62 + package/kernel/om-watchdog/Makefile | 37 + package/kernel/om-watchdog/files/om-watchdog | 15 + .../kernel/om-watchdog/files/om-watchdog.init | 73 + package/kernel/rotary-gpio-custom/Makefile | 48 + package/kernel/rotary-gpio-custom/src/Kconfig | 9 + .../kernel/rotary-gpio-custom/src/Makefile | 1 + .../src/rotary-gpio-custom.c | 193 + package/kernel/rtc-rv5c386a/Makefile | 33 + package/kernel/rtc-rv5c386a/src/Makefile | 18 + package/kernel/rtc-rv5c386a/src/rtc.c | 613 + package/kernel/shortcut-fe/Makefile | 121 + package/kernel/shortcut-fe/src/Kconfig | 14 + package/kernel/shortcut-fe/src/Makefile | 14 + package/kernel/shortcut-fe/src/README | 122 + .../kernel/shortcut-fe/src/fast-classifier.c | 1892 + .../kernel/shortcut-fe/src/fast-classifier.h | 57 + .../shortcut-fe/src/nl_classifier_test.c | 281 + package/kernel/shortcut-fe/src/sfe.h | 61 + package/kernel/shortcut-fe/src/sfe_backport.h | 138 + package/kernel/shortcut-fe/src/sfe_cm.c | 1203 + package/kernel/shortcut-fe/src/sfe_cm.h | 222 + package/kernel/shortcut-fe/src/sfe_ipv4.c | 3369 + package/kernel/shortcut-fe/src/sfe_ipv6.c | 3361 + .../shortcut-fe/src/userspace_example.c | 232 + package/kernel/spi-gpio-custom/Makefile | 48 + 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 | 272 + package/kernel/w1-gpio-custom/Makefile | 49 + 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/kernel/wrt55agv2-spidevs/Makefile | 38 + package/kernel/wrt55agv2-spidevs/src/Kconfig | 3 + package/kernel/wrt55agv2-spidevs/src/Makefile | 1 + .../wrt55agv2-spidevs/src/wrt55agv2_spidevs.c | 114 + package/libs/argp-standalone/Makefile | 48 + .../patches/001-throw-in-funcdef.patch | 79 + .../patches/002-no_optimize.patch | 11 + package/libs/cyassl/Config.in | 48 + package/libs/cyassl/Makefile | 139 + .../400-additional_compatibility.patch | 12 + package/libs/elfutils/Makefile | 99 + .../patches/002-argp_standalone.patch | 14 + .../elfutils/patches/003-libint-stub.patch | 57 + .../patches/005-build_only_libs.patch | 24 + .../elfutils/patches/006-libdw_LIBS.patch | 11 + .../elfutils/patches/100-musl-compat.patch | 708 + .../libs/elfutils/patches/101-no-fts.patch | 113 + package/libs/gettext-full/Makefile | 98 + .../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 | 69 + package/libs/libbsd/Makefile | 57 + .../libbsd/patches/001-aarch64_support.patch | 19 + package/libs/libconfig/Makefile | 59 + package/libs/libevent2/Makefile | 157 + package/libs/libiconv-full/Makefile | 95 + .../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 | 57 + package/libs/libjson-c/patches/000-libm.patch | 50 + package/libs/libmnl/Makefile | 77 + package/libs/libnetfilter-conntrack/Makefile | 74 + package/libs/libnetfilter-cthelper/Makefile | 71 + package/libs/libnetfilter-cttimeout/Makefile | 71 + package/libs/libnetfilter-log/Makefile | 74 + ...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 | 70 + .../patches/100-checksum_computation.patch | 115 + package/libs/libnfnetlink/Makefile | 71 + .../patches/100-missing_include.patch | 20 + package/libs/libnftnl/Makefile | 72 + 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 | 566 + 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 | 132 + ...-of-strerror_l-if-it-doesn-t-exist-i.patch | 105 + package/libs/libpcap/Config.in | 17 + package/libs/libpcap/Makefile | 101 + ...te_t.ai-usage-when-INET6-is-not-defi.patch | 41 + ...d-missing-compiler_state_t-parameter.patch | 67 + .../patches/100-debian_shared_lib.patch | 175 + .../102-makefile_disable_manpages.patch | 73 + .../103-makefile_flex_workaround.patch | 14 + .../patches/201-space_optimization.patch | 26 + .../libpcap/patches/202-protocol_api.patch | 142 + .../patches/203-undef_iw_mode_monitor.patch | 11 + .../libpcap/patches/204-usb-bus-path.patch | 13 + package/libs/libroxml/Makefile | 47 + package/libs/librpc/Makefile | 33 + package/libs/libtool/Makefile | 52 + .../libtool/patches/160-passthrough-ssp.patch | 11 + package/libs/libubox/Makefile | 104 + package/libs/libunwind/Makefile | 57 + .../libunwind/patches/001-disable-tests.patch | 11 + .../002-fix-building-getcontext_S.patch | 19 + ...03-fix-missing-ef_reg-defs-with-musl.patch | 47 + package/libs/libusb-compat/Makefile | 53 + .../patches/001-fix-musl-stdint.patch | 185 + package/libs/libusb/Makefile | 53 + package/libs/lzo/Makefile | 60 + package/libs/mbedtls/Makefile | 72 + package/libs/mbedtls/patches/200-config.patch | 271 + package/libs/ncurses/Makefile | 172 + .../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/200-fix_missing_include.patch | 14 + package/libs/ncurses/patches/500-cross.patch | 11 + .../libs/ncurses/patches/900-terminfo.patch | 20 + package/libs/nettle/Config.in | 9 + package/libs/nettle/Makefile | 86 + package/libs/openssl/Config.in | 62 + package/libs/openssl/Makefile | 260 + .../libs/openssl/include/crypto/cryptodev.h | 292 + .../patches/110-optimize-for-size.patch | 15 + .../libs/openssl/patches/130-perl-path.patch | 64 + .../openssl/patches/140-makefile-dirs.patch | 11 + .../libs/openssl/patches/150-no_engines.patch | 81 + .../patches/160-disable_doc_tests.patch | 58 + .../libs/openssl/patches/170-bash_path.patch | 8 + .../patches/180-fix_link_segfault.patch | 18 + .../patches/190-remove_timestamp_check.patch | 23 + .../openssl/patches/200-parallel_build.patch | 184 + package/libs/popt/Makefile | 58 + package/libs/readline/Makefile | 74 + .../readline/patches/001-install_perm.patch | 11 + package/libs/sysfsutils/Makefile | 73 + .../patches/200-mnt_path_check.patch | 55 + package/libs/toolchain/Makefile | 629 + .../toolchain/eglibc-files/etc/nsswitch.conf | 13 + .../toolchain/glibc-files/etc/nsswitch.conf | 13 + package/libs/uclibc++/Makefile | 106 + package/libs/uclibc++/files/config.default | 58 + .../uclibc++/patches/002-path_to_bash.patch | 11 + .../libs/uclibc++/patches/006-eabi_fix.patch | 38 + .../uclibc++/patches/010-honor-ldflags.patch | 23 + .../uclibc++/patches/020-template-fix.patch | 22 + .../patches/030-memory_corruption_fix.patch | 114 + .../uclibc++/patches/040-delete-c++14.patch | 20 + ...-erase-on-derived-__base_associative.patch | 40 + package/libs/uclient/Makefile | 50 + package/libs/ustream-ssl/Makefile | 72 + package/libs/zlib/Makefile | 102 + package/network/config/firewall/Makefile | 60 + .../config/firewall/files/firewall.config | 195 + .../config/firewall/files/firewall.hotplug | 11 + .../config/firewall/files/firewall.init | 61 + .../config/firewall/files/firewall.user | 7 + package/network/config/gre/Makefile | 73 + package/network/config/gre/files/gre.sh | 289 + package/network/config/ipip/Makefile | 40 + package/network/config/ipip/files/ipip.sh | 93 + package/network/config/ltq-adsl-app/Makefile | 86 + .../config/ltq-adsl-app/files/dsl_control | 60 + .../patches/001-stupid_breakage_fix.patch | 65 + .../patches/010-eglibc_compile_fix.patch | 23 + package/network/config/ltq-vdsl-app/Makefile | 70 + .../config/ltq-vdsl-app/files/10_atm.sh | 16 + .../config/ltq-vdsl-app/files/10_ptm.sh | 14 + .../config/ltq-vdsl-app/files/dsl_control | 315 + .../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 | 43 + .../files/etc/hotplug.d/iface/00-netstate | 7 + .../config/netifd/files/etc/init.d/network | 147 + .../netifd/files/lib/netifd/dhcp.script | 102 + .../netifd/files/lib/netifd/proto/dhcp.sh | 79 + .../config/netifd/files/lib/network/config.sh | 79 + .../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 | 67 + .../config/qos-scripts/files/usr/bin/qos-stop | 6 + .../qos-scripts/files/usr/lib/qos/generate.sh | 537 + .../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 | 54 + .../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 | 922 + package/network/config/swconfig/src/swlib.h | 269 + package/network/config/swconfig/src/uci.c | 246 + package/network/config/vti/Makefile | 73 + package/network/config/vti/files/vti.sh | 156 + package/network/config/vxlan/Makefile | 32 + package/network/config/vxlan/files/vxlan.sh | 148 + package/network/ipv6/6in4/Makefile | 43 + package/network/ipv6/6in4/files/6in4.sh | 139 + 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 | 106 + package/network/ipv6/map/Makefile | 40 + package/network/ipv6/map/files/map.sh | 236 + package/network/ipv6/map/src/CMakeLists.txt | 29 + package/network/ipv6/map/src/mapcalc.c | 412 + package/network/ipv6/odhcp6c/Makefile | 53 + .../network/ipv6/odhcp6c/files/dhcpv6.script | 219 + package/network/ipv6/odhcp6c/files/dhcpv6.sh | 109 + 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/authsae/Makefile | 46 + .../authsae/files/lib/wifi/authsae.sh | 65 + .../authsae/patches/100-musl_fix.patch | 20 + package/network/services/dnsmasq/Makefile | 179 + .../services/dnsmasq/files/dhcp-script.sh | 46 + .../network/services/dnsmasq/files/dhcp.conf | 32 + .../services/dnsmasq/files/dnsmasq.conf | 37 + .../services/dnsmasq/files/dnsmasq.init | 1115 + .../services/dnsmasq/files/dnsmasq_acl.json | 4 + .../services/dnsmasq/files/dnsmasqsec.hotplug | 14 + .../services/dnsmasq/files/rfc6761.conf | 15 + ...eak-ICMP-ping-check-logic-for-DHCPv4.patch | 25 + ...ing-check-of-configured-DHCP-address.patch | 28 + ...s-if-first-returns-REFUSED-when-stri.patch | 31 + .../patches/025-fix-CVE-2017-13704.patch | 37 + .../110-ipset-remove-old-kernel-support.patch | 65 + ...0-dnssec-improve-timestamp-heuristic.patch | 47 + ...0-fix-poll-h-include-warning-on-musl.patch | 18 + .../services/dnsmasq/patches/240-ubus.patch | 134 + package/network/services/dropbear/Config.in | 50 + package/network/services/dropbear/Makefile | 148 + .../services/dropbear/files/dropbear.config | 5 + .../services/dropbear/files/dropbear.init | 200 + .../patches/010-runtime-maxauthtries.patch | 130 + .../dropbear/patches/100-pubkey_path.patch | 87 + .../dropbear/patches/110-change_user.patch | 18 + .../patches/120-openwrt_options.patch | 80 + .../patches/130-ssh_ignore_x_args.patch | 11 + .../dropbear/patches/140-disable_assert.patch | 15 + .../patches/150-dbconvert_standalone.patch | 14 + .../600-allow-blank-root-password.patch | 11 + ...610-skip-default-keys-in-custom-runs.patch | 18 + 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 | 976 + 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/emailrelay/Makefile | 116 + .../services/emailrelay/files/emailrelay.auth | 16 + .../services/emailrelay/files/emailrelay.init | 15 + .../patches/0001-fix-attachement.patch | 35 + .../patches/0002-fix-no-openssl_v3.patch | 16 + package/network/services/hostapd/Config.in | 55 + package/network/services/hostapd/Makefile | 414 + .../hostapd/files/hostapd-full.config | 172 + .../hostapd/files/hostapd-mini.config | 162 + .../network/services/hostapd/files/hostapd.sh | 806 + .../services/hostapd/files/multicall.c | 28 + .../hostapd/files/wpa_supplicant-full.config | 406 + .../hostapd/files/wpa_supplicant-mini.config | 401 + .../hostapd/files/wpa_supplicant-p2p.config | 406 + .../services/hostapd/files/wps-hotplug.sh | 11 + ...on-between-AssocResp-callback-and-4a.patch | 83 + ...Reassociation-Request-frame-dropping.patch | 36 + ...-clearing-on-Authentication-frame-RX.patch | 40 + ...ibility-to-send-debug-messages-to-sy.patch | 145 + .../hostapd/patches/100-daemonize_fix.patch | 97 + .../hostapd/patches/110-no_eapol_fix.patch | 14 + ...120-disable_bridge_packet_workaround.patch | 12 + .../hostapd/patches/200-multicall.patch | 364 + .../services/hostapd/patches/300-noscan.patch | 58 + .../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 | 69 + .../patches/350-nl80211_del_beacon_bss.patch | 72 + .../patches/360-ctrl_iface_reload.patch | 106 + .../hostapd/patches/370-ap_sta_support.patch | 237 + .../patches/380-disable_ctrl_iface_mib.patch | 178 + .../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 | 34 + .../hostapd/patches/431-wpa_cli_ifdef.patch | 12 + .../hostapd/patches/432-missing-typedef.patch | 10 + .../hostapd/patches/450-scan_wait.patch | 73 + ...dd-new-config-params-to-be-used-with.patch | 191 + ...-use-new-parameters-during-ibss-join.patch | 59 + .../462-wpa_s-support-htmode-param.patch | 156 + .../patches/470-survey_data_fallback.patch | 45 + .../hostapd/patches/600-ubus_support.patch | 310 + .../services/hostapd/src/src/ap/ubus.c | 591 + .../services/hostapd/src/src/ap/ubus.h | 83 + .../hostapd/src/src/utils/build_features.h | 29 + package/network/services/igmpproxy/Makefile | 59 + .../services/igmpproxy/files/igmpproxy.config | 12 + .../services/igmpproxy/files/igmpproxy.init | 134 + ...s-with-IP-Router-Alert-option-RFC-21.patch | 79 + ...nterface-state-to-disabled-wrt-29458.patch | 43 + ...ports-for-downstream-interfaces-wrt-.patch | 164 + ...ports-forwarding-to-upstream-interfa.patch | 62 + .../patches/010-missing_include.patch | 10 + ...e-downstream-interface-igmp-messages.patch | 19 + ...monotic-clock-instead-of-time-of-day.patch | 120 + .../patches/200-allow_wildcard_addr.patch | 24 + ...250-fix_multiple_downlink_interfaces.patch | 154 + package/network/services/ipset-dns/Makefile | 59 + .../services/ipset-dns/files/ipset-dns.config | 16 + .../services/ipset-dns/files/ipset-dns.init | 57 + .../patches/100-simultaneous-ipv4-ipv6.patch | 57 + package/network/services/lldpd/Config.in | 58 + package/network/services/lldpd/Makefile | 113 + .../network/services/lldpd/files/lldpd.config | 17 + .../network/services/lldpd/files/lldpd.init | 121 + package/network/services/odhcpd/Makefile | 66 + .../services/odhcpd/files/odhcpd-update | 6 + .../services/odhcpd/files/odhcpd.defaults | 14 + .../network/services/odhcpd/files/odhcpd.init | 22 + package/network/services/omcproxy/Makefile | 42 + .../services/omcproxy/files/omcproxy.config | 9 + .../services/omcproxy/files/omcproxy.init | 143 + .../services/openvpn-easy-rsa/Makefile | 66 + .../files/openvpn-easy-rsa.upgrade | 1 + .../services/openvpn/Config-mbedtls.in | 70 + .../network/services/openvpn/Config-nossl.in | 58 + .../services/openvpn/Config-openssl.in | 70 + package/network/services/openvpn/Makefile | 139 + .../services/openvpn/files/openvpn.config | 407 + .../services/openvpn/files/openvpn.init | 132 + .../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 | 43 + .../openvpn/patches/220-disable_des.patch | 81 + package/network/services/ppp/Makefile | 304 + .../services/ppp/files/etc/ppp/chap-secrets | 1 + .../network/services/ppp/files/etc/ppp/filter | 23 + .../services/ppp/files/etc/ppp/options | 10 + .../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 | 326 + .../ppp/patches/001-honor-ldflags.patch | 39 + .../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 | 313 + .../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 | 40 + .../ppp/patches/133-fix_sha1_include.patch | 11 + .../ppp/patches/140-pppoe_compile_fix.patch | 83 + .../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 | 32 + .../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 + .../ppp/patches/320-custom_iface_names.patch | 135 + ...multilink_support_custom_iface_names.patch | 146 + .../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 | 3065 + .../ppp/patches/510-pptp_compile_fix.patch | 11 + .../services/ppp/patches/520-uniq.patch | 269 + .../ppp/patches/530-pppoe_send_padt.patch | 11 + .../531-pppoe_no_disconnect_warning.patch | 14 + .../patches/540-save-pppol2tp_fd_str.patch | 13 + .../ppp/patches/550-fix-printer-args.patch | 11 + 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 | 174 + .../services/samba36/files/samba.config | 6 + .../network/services/samba36/files/samba.init | 114 + .../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-2017-7494-v3-6.patch | 29 + .../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 | 125 + .../services/uhttpd/files/ubus.default | 8 + .../services/uhttpd/files/uhttpd.config | 132 + .../network/services/uhttpd/files/uhttpd.init | 187 + 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/upnpbridge/Makefile | 48 + .../services/upnpbridge/files/upnpbridge.init | 28 + .../network/services/upnpbridge/src/Makefile | 1 + .../services/upnpbridge/src/upnpbridge.c | 345 + .../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 | 112 + 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 | 115 + 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 | 215 + .../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 + .../network/utils/conntrack-tools/Makefile | 80 + .../conntrack-tools/files/conntrackd.init | 18 + package/network/utils/curl/Config.in | 156 + package/network/utils/curl/Makefile | 176 + .../curl/patches/200-no_docs_tests.patch | 22 + ...bedtls-disable-runtime-version-check.patch | 11 + package/network/utils/dante/Makefile | 116 + .../dante/patches/200-fix-RTLD_NEXT.patch | 36 + package/network/utils/ebtables/Makefile | 72 + .../utils/ebtables/patches/100-musl_fix.patch | 10 + .../patches/200-fix-extension-init.patch | 249 + package/network/utils/iftop/Makefile | 45 + package/network/utils/iperf/Makefile | 56 + package/network/utils/iperf3/Makefile | 83 + .../patches/010-fix-openssl-ac-macro.patch | 41 + .../patches/100-iperf_auth-rsa-header.patch | 17 + package/network/utils/iproute2/Makefile | 167 + package/network/utils/iproute2/files/15-teql | 23 + .../utils/iproute2/patches/001-config.patch | 8 + .../iproute2/patches/004-darwin_fixes.patch | 59 + .../utils/iproute2/patches/006-no_sctp.patch | 18 + .../utils/iproute2/patches/007-no_arpd.patch | 15 + .../utils/iproute2/patches/008-no_netem.patch | 11 + .../patches/100-allow_pfifo_fast.patch | 9 + .../iproute2/patches/110-extra-ccopts.patch | 11 + .../iproute2/patches/120-libnetlink-pic.patch | 11 + ...bc-compat.h-do-not-rely-on-__GLIBC__.patch | 107 + ...prevent-redefinition-of-struct-ethhd.patch | 79 + .../utils/iproute2/patches/300-ip_tiny.patch | 103 + .../patches/900-drop_FAILED_POLICY.patch | 54 + .../iproute2/patches/950-add-cake-to-tc.patch | 768 + package/network/utils/ipset/Makefile | 69 + package/network/utils/iptables/Makefile | 594 + .../020-iptables-disable-modprobe.patch | 18 + .../iptables/patches/050-optional-xml.patch | 13 + .../patches/200-configurable_builtin.patch | 77 + .../iptables/patches/600-shared-libext.patch | 84 + .../700-disable-legacy-revisions.patch | 95 + package/network/utils/iputils/Makefile | 181 + .../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 | 57 + .../utils/iw/patches/001-nl80211_h_sync.patch | 305 + .../utils/iw/patches/120-antenna_gain.patch | 33 + .../utils/iw/patches/200-reduce_size.patch | 256 + package/network/utils/iwcap/Makefile | 46 + package/network/utils/iwcap/src/iwcap.c | 583 + package/network/utils/iwinfo/Makefile | 119 + package/network/utils/linkwatch/Makefile | 27 + .../network/utils/linkwatch/files/linkwatch | 125 + .../utils/linkwatch/files/linkwatch.init | 20 + package/network/utils/linux-atm/Makefile | 196 + .../network/utils/linux-atm/files/atm.hotplug | 1 + .../network/utils/linux-atm/files/br2684-up | 3 + .../network/utils/linux-atm/files/br2684ctl | 81 + .../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/600-fix-format-errors.patch | 11 + 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 | 42 + .../patches/100-disable-doc-generation.patch | 8 + ...atement-fix-print-of-ip-dnat-address.patch | 76 + 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 | 853 + 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 | 280 + package/network/utils/wireless-tools/Makefile | 92 + .../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 | 36 + 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/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 | 18 + package/network/utils/wwan/files/wwan.usbmisc | 27 + package/network/utils/xtables-addons/Makefile | 151 + .../002-fix-kernel-version-detection.patch | 11 + .../patches/100-add-rtsp-conntrack.patch | 1526 + .../patches/200-add-lua-packetscript.patch | 18158 +++ .../patches/201-fix-lua-packetscript.patch | 118 + .../patches/300-geoip-endian-detection.patch | 18 + package/system/ca-certificates/Makefile | 62 + package/system/fstools/Makefile | 121 + package/system/fstools/files/blockd.init | 21 + package/system/fstools/files/fstab.default | 2 + package/system/fstools/files/fstab.init | 16 + 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 | 443 + package/system/fwtool/src/utils.h | 116 + package/system/lede-keyring/Makefile | 37 + package/system/mtd/Makefile | 49 + package/system/mtd/src/Makefile | 24 + 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 | 115 + package/system/mtd/src/md5.c | 307 + package/system/mtd/src/md5.h | 65 + package/system/mtd/src/mtd.c | 1027 + package/system/mtd/src/mtd.h | 32 + package/system/mtd/src/seama.c | 188 + package/system/mtd/src/seama.h | 108 + package/system/mtd/src/trx.c | 247 + package/system/mtd/src/wrgg.c | 190 + package/system/mtd/src/wrgg.h | 20 + package/system/opkg/Makefile | 112 + 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 | 118 + .../system/procd/files/hotplug-preinit.json | 18 + package/system/procd/files/hotplug.json | 69 + package/system/procd/files/procd.sh | 478 + package/system/procd/files/reload_config | 15 + package/system/rpcd/Makefile | 97 + package/system/rpcd/files/rpcd.config | 7 + package/system/rpcd/files/rpcd.init | 21 + package/system/ubox/Makefile | 59 + package/system/ubox/files/log.init | 100 + package/system/ubus/Makefile | 78 + package/system/uci/Makefile | 88 + package/system/uci/files/lib/config/uci.sh | 137 + package/system/usign/Makefile | 44 + package/system/zram-swap/Makefile | 46 + package/system/zram-swap/files/zram.init | 132 + package/utils/adb/Makefile | 52 + .../adb/patches/001-create_Makefile.patch | 45 + package/utils/admswconfig/Makefile | 54 + package/utils/admswconfig/files/admswconfig | 68 + .../utils/admswconfig/files/admswswitch.sh | 28 + .../admswconfig/patches/001-matrix.patch | 15 + .../admswconfig/patches/002-fix-musl.patch | 11 + package/utils/bsdiff/Makefile | 79 + package/utils/bsdiff/patches/001-musl.patch | 84 + package/utils/busybox/Config-defaults.in | 2982 + package/utils/busybox/Config.in | 26 + package/utils/busybox/Makefile | 145 + package/utils/busybox/config/Config.in | 713 + .../utils/busybox/config/archival/Config.in | 430 + .../busybox/config/console-tools/Config.in | 155 + .../utils/busybox/config/coreutils/Config.in | 942 + .../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 | 249 + package/utils/busybox/config/init/Config.in | 195 + package/utils/busybox/config/libbb/Config.in | 420 + .../utils/busybox/config/loginutils/Config.in | 338 + .../utils/busybox/config/mailutils/Config.in | 51 + .../utils/busybox/config/miscutils/Config.in | 691 + .../utils/busybox/config/modutils/Config.in | 245 + .../utils/busybox/config/networking/Config.in | 1141 + .../busybox/config/networking/udhcp/Config.in | 193 + .../utils/busybox/config/printutils/Config.in | 26 + package/utils/busybox/config/procps/Config.in | 273 + package/utils/busybox/config/runit/Config.in | 91 + .../utils/busybox/config/selinux/Config.in | 109 + package/utils/busybox/config/shell/Config.in | 515 + .../utils/busybox/config/sysklogd/Config.in | 165 + .../utils/busybox/config/util-linux/Config.in | 952 + .../config/util-linux/volume_id/Config.in | 187 + package/utils/busybox/convert_defaults.pl | 13 + package/utils/busybox/convert_menuconfig.pl | 76 + package/utils/busybox/files/cron | 38 + package/utils/busybox/files/ntpd-hotplug | 2 + package/utils/busybox/files/sysntpd | 86 + .../patches/001-resource_h_include.patch | 10 + .../busybox/patches/100-trylink_bash.patch | 8 + .../patches/101-gen_build_files_bash.patch | 8 + .../patches/110-no_static_libgcc.patch | 11 + .../patches/130-mconf_missing_sigwinch.patch | 13 + .../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 | 952 + .../busybox/patches/240-telnetd_intr.patch | 10 + .../busybox/patches/250-date-k-flag.patch | 91 + .../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 + package/utils/bzip2/Makefile | 108 + 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 | 260 + package/utils/e2fsprogs/files/e2fsck.conf | 3 + package/utils/e2fsprogs/files/e2fsck.sh | 38 + .../patches/001-com_err_version.patch | 13 + .../patches/002-fix-subst-host-build.patch | 10 + package/utils/f2fs-tools/Makefile | 96 + ...fs-f2fs-segment.c-718-update_sit_ent.patch | 66 + package/utils/fbtest/Makefile | 39 + package/utils/fbtest/src/Makefile | 14 + package/utils/fbtest/src/fbtest.c | 446 + package/utils/fritz-tools/Makefile | 45 + package/utils/fritz-tools/README.md | 50 + package/utils/fritz-tools/src/CMakeLists.txt | 15 + .../utils/fritz-tools/src/fritz_cal_extract.c | 259 + .../utils/fritz-tools/src/fritz_tffs_read.c | 379 + package/utils/fuse/Makefile | 101 + .../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/jsonfilter/Makefile | 32 + package/utils/k3screenctrl/Makefile | 47 + .../k3screenctrl/files/k3screenctrl.init | 14 + package/utils/lua/Makefile | 177 + .../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 + .../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 | 3736 + .../lua/patches/011-lnum-use-double.patch | 11 + ...2-lnum-fix-ltle-relational-operators.patch | 22 + .../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 | 66 + package/utils/mdadm/files/mdadm.config | 18 + package/utils/mdadm/files/mdadm.init | 94 + .../mdadm/patches/100-cross_compile.patch | 11 + ...h-Undefine-dprintf-before-redefining.patch | 38 + .../utils/mdadm/patches/200-reduce_size.patch | 25 + package/utils/mtd-utils/Makefile | 79 + .../mtd-utils/patches/010-fix-rpmatch.patch | 19 + .../mtd-utils/patches/100-fix_includes.patch | 10 + .../mtd-utils/patches/130-lzma_jffs2.patch | 5029 + 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 | 543 + 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 | 577 + package/utils/px5g/Makefile | 70 + package/utils/px5g/px5g.c | 274 + package/utils/spidev_test/Makefile | 40 + package/utils/spidev_test/src/spidev_test.c | 318 + package/utils/ugps/Makefile | 49 + package/utils/ugps/files/gps.config | 3 + package/utils/ugps/files/ugps.init | 28 + 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 | 235 + package/utils/usbutils/Makefile | 60 + package/utils/util-linux/Makefile | 700 + .../patches/003-fix_pkgconfig_files.patch | 76 + package/utils/xfsprogs/Makefile | 85 + .../xfsprogs/patches/100-no-selftest.patch | 14 + .../utils/xfsprogs/patches/110-subdirs.patch | 12 + .../xfsprogs/patches/120-disable_assert.patch | 12 + rules.mk | 422 + scripts/arm-magic.sh | 42 + scripts/brcmImage.pl | 162 + scripts/bundle-libraries.sh | 163 + scripts/checkpatch.pl | 3491 + scripts/clang-gcc-wrapper | 12 + scripts/clean-package.sh | 24 + scripts/cleanfile | 177 + scripts/cleanpatch | 259 + scripts/combined-ext-image.sh | 61 + scripts/combined-image.sh | 34 + scripts/config.guess | 1438 + scripts/config.rpath | 666 + scripts/config.sub | 1813 + scripts/config/.gitignore | 9 + scripts/config/Makefile | 52 + scripts/config/README | 2 + scripts/config/conf.c | 703 + scripts/config/confdata.c | 1252 + scripts/config/expr.c | 1206 + scripts/config/expr.h | 239 + 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/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 | 2474 + 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/download.pl | 272 + scripts/env | 226 + scripts/ext-toolchain.sh | 583 + scripts/feeds | 843 + 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/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 | 160 + scripts/ipkg-make-index.sh | 31 + scripts/kconfig.pl | 182 + scripts/make-ipkg-dir.sh | 21 + scripts/md5sum | 2 + scripts/metadata.pm | 340 + scripts/mkhash.c | 827 + scripts/mkits.sh | 117 + scripts/om-fwupgradecfg-gen.sh | 77 + scripts/package-metadata.pl | 695 + scripts/pad_image | 100 + scripts/patch-kernel.sh | 54 + scripts/patch-specs.sh | 90 + scripts/portable_date.sh | 11 + scripts/qemustart | 281 + 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 | 443 + scripts/timestamp.pl | 69 + scripts/ubinize-image.sh | 139 + target/Config.in | 208 + target/Makefile | 23 + target/imagebuilder/Config.in | 17 + target/imagebuilder/Makefile | 96 + target/imagebuilder/files/Makefile | 210 + target/imagebuilder/files/repositories.conf | 4 + target/linux/Makefile | 13 + target/linux/adm5120/Makefile | 24 + .../adm5120/base-files/etc/board.d/01_leds | 17 + .../adm5120/base-files/etc/config/network | 39 + target/linux/adm5120/base-files/etc/diag.sh | 22 + target/linux/adm5120/base-files/etc/inittab | 5 + .../linux/adm5120/base-files/lib/adm5120.sh | 53 + .../lib/preinit/01_preinit_do_adm5120.sh | 7 + .../lib/preinit/05_set_preinit_iface_adm5120 | 9 + .../base-files/lib/upgrade/platform.sh | 44 + target/linux/adm5120/config-3.18 | 176 + .../files-3.18/arch/mips/adm5120/Kconfig | 197 + .../files-3.18/arch/mips/adm5120/Platform | 19 + .../arch/mips/adm5120/cellvision/Makefile | 4 + .../arch/mips/adm5120/cellvision/cas-771.c | 37 + .../arch/mips/adm5120/cellvision/cellvision.c | 147 + .../arch/mips/adm5120/cellvision/cellvision.h | 28 + .../arch/mips/adm5120/cellvision/nfs-101.c | 47 + .../arch/mips/adm5120/common/Makefile | 8 + .../arch/mips/adm5120/common/adm5120.c | 76 + .../arch/mips/adm5120/common/clock.c | 65 + .../arch/mips/adm5120/common/early-printk.c | 31 + .../arch/mips/adm5120/common/gpio.c | 328 + .../files-3.18/arch/mips/adm5120/common/irq.c | 171 + .../arch/mips/adm5120/common/memory.c | 149 + .../arch/mips/adm5120/common/platform.c | 375 + .../arch/mips/adm5120/common/prom.c | 264 + .../arch/mips/adm5120/common/setup.c | 129 + .../arch/mips/adm5120/compex/Makefile | 5 + .../arch/mips/adm5120/compex/compex.c | 60 + .../arch/mips/adm5120/compex/compex.h | 23 + .../arch/mips/adm5120/compex/np27g.c | 28 + .../arch/mips/adm5120/compex/np28g.c | 63 + .../arch/mips/adm5120/compex/wp54.c | 95 + .../arch/mips/adm5120/edimax/Makefile | 5 + .../arch/mips/adm5120/edimax/br-6104k.c | 36 + .../arch/mips/adm5120/edimax/br-6104kp.c | 39 + .../arch/mips/adm5120/edimax/br-61x4wg.c | 43 + .../arch/mips/adm5120/edimax/br-61xx.c | 84 + .../arch/mips/adm5120/edimax/br-61xx.h | 23 + .../arch/mips/adm5120/generic/Makefile | 1 + .../arch/mips/adm5120/generic/eb-214a.c | 120 + .../arch/mips/adm5120/infineon/Makefile | 6 + .../arch/mips/adm5120/infineon/easy5120-rt.c | 48 + .../mips/adm5120/infineon/easy5120-wvoip.c | 24 + .../mips/adm5120/infineon/easy5120p-ata.c | 22 + .../arch/mips/adm5120/infineon/easy83000.c | 23 + .../arch/mips/adm5120/infineon/infineon.c | 108 + .../arch/mips/adm5120/infineon/infineon.h | 25 + .../arch/mips/adm5120/mikrotik/Makefile | 8 + .../arch/mips/adm5120/mikrotik/rb-11x.c | 35 + .../arch/mips/adm5120/mikrotik/rb-133.c | 40 + .../arch/mips/adm5120/mikrotik/rb-133c.c | 36 + .../arch/mips/adm5120/mikrotik/rb-150.c | 131 + .../arch/mips/adm5120/mikrotik/rb-153.c | 70 + .../arch/mips/adm5120/mikrotik/rb-192.c | 27 + .../arch/mips/adm5120/mikrotik/rb-1xx.c | 149 + .../arch/mips/adm5120/mikrotik/rb-1xx.h | 33 + .../arch/mips/adm5120/motorola/Makefile | 1 + .../arch/mips/adm5120/motorola/pmugw.c | 96 + .../arch/mips/adm5120/osbridge/5gxi.c | 71 + .../arch/mips/adm5120/osbridge/Makefile | 1 + .../arch/mips/adm5120/prom/Makefile | 10 + .../arch/mips/adm5120/prom/admboot.c | 55 + .../arch/mips/adm5120/prom/bootbase.c | 119 + .../files-3.18/arch/mips/adm5120/prom/cfe.c | 69 + .../arch/mips/adm5120/prom/generic.c | 47 + .../arch/mips/adm5120/prom/myloader.c | 68 + .../arch/mips/adm5120/prom/prom_read.h | 50 + .../arch/mips/adm5120/prom/routerboot.c | 121 + .../arch/mips/adm5120/zyxel/Makefile | 4 + .../arch/mips/adm5120/zyxel/p-334wt.c | 34 + .../arch/mips/adm5120/zyxel/p-335.c | 21 + .../arch/mips/adm5120/zyxel/p-33x.c | 85 + .../arch/mips/adm5120/zyxel/p-33x.h | 22 + .../include/asm/mach-adm5120/adm5120_defs.h | 53 + .../include/asm/mach-adm5120/adm5120_info.h | 129 + .../include/asm/mach-adm5120/adm5120_intc.h | 63 + .../include/asm/mach-adm5120/adm5120_mpmc.h | 92 + .../include/asm/mach-adm5120/adm5120_nand.h | 89 + .../asm/mach-adm5120/adm5120_platform.h | 87 + .../include/asm/mach-adm5120/adm5120_switch.h | 300 + .../include/asm/mach-adm5120/adm5120_uart.h | 64 + .../mips/include/asm/mach-adm5120/asm/sizes.h | 56 + .../asm/mach-adm5120/cpu-feature-overrides.h | 71 + .../arch/mips/include/asm/mach-adm5120/gpio.h | 115 + .../arch/mips/include/asm/mach-adm5120/irq.h | 43 + .../include/asm/mach-adm5120/prom/admboot.h | 17 + .../mips/include/asm/mach-adm5120/prom/cfe.h | 18 + .../include/asm/mach-adm5120/prom/generic.h | 18 + .../include/asm/mach-adm5120/prom/myloader.h | 179 + .../asm/mach-adm5120/prom/routerboot.h | 36 + .../include/asm/mach-adm5120/prom/zynos.h | 86 + .../arch/mips/include/asm/mach-adm5120/war.h | 25 + .../files-3.18/arch/mips/pci/pci-adm5120.c | 277 + .../files-3.18/drivers/ata/pata_rb153_cf.c | 267 + .../drivers/leds/ledtrig-adm5120-switch.c | 149 + .../drivers/mtd/maps/adm5120-flash.c | 482 + .../adm5120/files-3.18/drivers/mtd/trxsplit.c | 216 + .../files-3.18/drivers/net/adm5120sw.c | 1219 + .../files-3.18/drivers/net/adm5120sw.h | 23 + .../files-3.18/drivers/usb/host/adm5120-dbg.c | 836 + .../files-3.18/drivers/usb/host/adm5120-drv.c | 228 + .../files-3.18/drivers/usb/host/adm5120-hcd.c | 843 + .../files-3.18/drivers/usb/host/adm5120-hub.c | 430 + .../files-3.18/drivers/usb/host/adm5120-mem.c | 202 + .../files-3.18/drivers/usb/host/adm5120-pm.c | 449 + .../files-3.18/drivers/usb/host/adm5120-q.c | 964 + .../files-3.18/drivers/usb/host/adm5120.h | 755 + .../files-3.18/drivers/watchdog/adm5120_wdt.c | 202 + target/linux/adm5120/image/Makefile | 112 + .../linux/adm5120/image/lzma-loader/Makefile | 62 + .../image/lzma-loader/src/LzmaDecode.c | 584 + .../image/lzma-loader/src/LzmaDecode.h | 113 + .../adm5120/image/lzma-loader/src/LzmaTypes.h | 45 + .../adm5120/image/lzma-loader/src/Makefile | 99 + .../adm5120/image/lzma-loader/src/README | 55 + .../adm5120/image/lzma-loader/src/board.c | 185 + .../adm5120/image/lzma-loader/src/config.h | 143 + .../image/lzma-loader/src/decompress.c | 353 + .../adm5120/image/lzma-loader/src/head.S | 209 + .../adm5120/image/lzma-loader/src/loader.lds | 29 + .../image/lzma-loader/src/lzma-data.lds | 8 + .../adm5120/image/lzma-loader/src/printf.c | 350 + .../adm5120/image/lzma-loader/src/printf.h | 18 + target/linux/adm5120/image/rb1xx.mk | 24 + target/linux/adm5120/image/router_be.mk | 48 + target/linux/adm5120/image/router_le.mk | 401 + target/linux/adm5120/modules.mk | 56 + .../adm5120/patches-3.18/001-adm5120.patch | 44 + .../patches-3.18/002-adm5120_flash.patch | 21 + .../patches-3.18/003-adm5120_switch.patch | 23 + .../patches-3.18/005-adm5120_usb.patch | 33 + .../patches-3.18/007-adm5120_pci.patch | 22 + .../009-adm5120_leds_switch_trigger.patch | 22 + .../050-revert_rootfs_splits.patch | 354 + .../patches-3.18/100-rootfs_split.patch | 316 + .../101-cfi_fixup_macronix_bootloc.patch | 84 + .../102-jedec_pmc_39lvxxx_chips.patch | 68 + .../patches-3.18/103-mtd_trxsplit.patch | 23 + .../patches-3.18/120-rb153_cf_driver.patch | 28 + .../patches-3.18/200-amba_pl010_hacks.patch | 354 + .../203-gpio_leds_brightness.patch | 27 + .../patches-3.18/310-adm5120_wdt.patch | 31 + .../adm5120/rb1xx/base-files/sbin/wget2nand | 78 + target/linux/adm5120/rb1xx/config-default | 52 + target/linux/adm5120/rb1xx/profiles/RB1xx.mk | 18 + target/linux/adm5120/rb1xx/target.mk | 8 + target/linux/adm5120/router_be/config-default | 13 + .../adm5120/router_be/profiles/010-Generic.mk | 17 + .../adm5120/router_be/profiles/200-ZyXEL.mk | 27 + target/linux/adm5120/router_be/target.mk | 10 + target/linux/adm5120/router_le/config-3.8 | 0 .../adm5120/router_le/profiles/010-Generic.mk | 28 + .../adm5120/router_le/profiles/Cellvision.mk | 146 + .../adm5120/router_le/profiles/Compex.mk | 37 + .../adm5120/router_le/profiles/Edimax.mk | 47 + .../adm5120/router_le/profiles/Infineon.mk | 27 + .../adm5120/router_le/profiles/Motorola.mk | 16 + .../adm5120/router_le/profiles/Osbridge.mk | 16 + target/linux/adm5120/router_le/target.mk | 10 + target/linux/adm8668/Makefile | 24 + .../adm8668/base-files/etc/config/network | 24 + target/linux/adm8668/base-files/etc/diag.sh | 21 + .../preinit/03_init_hotplug_failsafe_adm8668 | 9 + .../lib/preinit/05_set_preinit_face_adm8668 | 9 + .../base-files/lib/upgrade/platform.sh | 15 + .../adm8668/base-files/sbin/hotplug.failsafe | 4 + target/linux/adm8668/config-3.18 | 104 + .../files-3.18/arch/mips/adm8668/Kconfig | 2 + .../files-3.18/arch/mips/adm8668/Makefile | 6 + .../files-3.18/arch/mips/adm8668/Platform | 6 + .../files-3.18/arch/mips/adm8668/clock.c | 76 + .../arch/mips/adm8668/early_printk.c | 16 + .../files-3.18/arch/mips/adm8668/gpio.c | 123 + .../files-3.18/arch/mips/adm8668/irq.c | 126 + .../files-3.18/arch/mips/adm8668/platform.c | 196 + .../files-3.18/arch/mips/adm8668/prom.c | 95 + .../files-3.18/arch/mips/adm8668/setup.c | 36 + .../files-3.18/arch/mips/adm8668/time.c | 20 + .../files-3.18/arch/mips/adm8668/u-boot.h | 52 + .../mips/include/asm/mach-adm8668/adm8668.h | 69 + .../mips/include/asm/mach-adm8668/asm/sizes.h | 56 + .../arch/mips/include/asm/mach-adm8668/gpio.h | 13 + .../arch/mips/include/asm/mach-adm8668/irq.h | 14 + .../arch/mips/include/asm/mach-adm8668/war.h | 25 + .../files-3.18/arch/mips/pci/pci-adm8668.c | 200 + .../files-3.18/drivers/mtd/maps/adm8668.c | 334 + target/linux/adm8668/image/Makefile | 60 + .../linux/adm8668/image/lzma-loader/Makefile | 41 + .../image/lzma-loader/src/LzmaDecode.c | 590 + .../image/lzma-loader/src/LzmaDecode.h | 131 + .../adm8668/image/lzma-loader/src/Makefile | 47 + .../image/lzma-loader/src/decompress.c | 118 + .../image/lzma-loader/src/include/_exports.h | 18 + .../lzma-loader/src/include/asm/global_data.h | 60 + .../lzma-loader/src/include/asm/u-boot.h | 42 + .../image/lzma-loader/src/include/common.h | 48 + .../image/lzma-loader/src/include/exports.h | 38 + .../image/lzma-loader/src/include/image.h | 157 + .../adm8668/image/lzma-loader/src/lzma.lds.in | 24 + .../adm8668/image/lzma-loader/src/stubs.c | 52 + target/linux/adm8668/image/my-mkimage | 32 + .../patches-3.18/001-adm8668_arch.patch | 48 + .../patches-3.18/002-adm8668_pci.patch | 22 + .../patches-3.18/003-adm8668_nor_map.patch | 22 + .../patches-3.18/004-tulip_pci_split.patch | 452 + .../patches-3.18/005-tulip_platform.patch | 490 + .../patches-3.18/200-amba_pl010_hacks.patch | 377 + .../patches-3.18/201-amba_bus_hacks.patch | 13 + .../linux/adm8668/profiles/100-WRTU54G-TM.mk | 17 + target/linux/apm821xx/Makefile | 29 + .../apm821xx/base-files/etc/board.d/01_leds | 45 + .../base-files/etc/board.d/02_network | 29 + target/linux/apm821xx/base-files/etc/diag.sh | 42 + .../etc/hotplug.d/firmware/10-ath9k-eeprom | 88 + target/linux/apm821xx/base-files/etc/inittab | 4 + .../apm821xx/base-files/etc/rc.button/BTN_1 | 18 + .../linux/apm821xx/base-files/lib/apm821xx.sh | 43 + .../lib/preinit/01_preinit_do_apm821xx.sh | 9 + .../lib/preinit/05_set_iface_mac_apm821xx | 15 + .../lib/preinit/05_set_preinit_iface_apm821xx | 9 + .../base-files/lib/preinit/79_move_config | 16 + .../base-files/lib/upgrade/merakinand.sh | 68 + .../base-files/lib/upgrade/platform.sh | 88 + .../apm821xx/base-files/lib/upgrade/wdbook.sh | 36 + target/linux/apm821xx/config-4.9 | 326 + target/linux/apm821xx/dts/MR24.dts | 151 + target/linux/apm821xx/dts/MX60.dts | 186 + target/linux/apm821xx/dts/apm82181.dtsi | 470 + target/linux/apm821xx/dts/apollo3g-duo.dts | 37 + target/linux/apm821xx/dts/apollo3g.dts | 16 + target/linux/apm821xx/dts/apollo3g.dtsi | 174 + target/linux/apm821xx/dts/wndr4700.dts | 405 + .../arch/powerpc/platforms/44x/wndr4700.c | 99 + target/linux/apm821xx/image/Makefile | 248 + target/linux/apm821xx/image/mbl_boot.scr | 6 + .../linux/apm821xx/image/mbl_gen_hdd_img.sh | 27 + target/linux/apm821xx/nand/config-default | 43 + .../apm821xx/nand/profiles/00-default.mk | 22 + target/linux/apm821xx/nand/target.mk | 9 + .../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 + .../701-powerpc_ibm_apm82181_phyclk_fix.patch | 51 + .../702-powerpc_ibm_phy_add_dt_parser.patch | 328 + ...ac-fix-reset-timeout-with-AR8035-phy.patch | 112 + ...mware-loader-for-uPD720201-and-uPD72.patch | 545 + .../802-usb-xhci-force-msi-renesas-xhci.patch | 54 + .../804-usb-dwc2-add-amcc-usb-otg-405ex.patch | 48 + ...-for-Microchip-TC654-TC655-PWM-fan-c.patch | 1027 + target/linux/apm821xx/sata/config-default | 40 + .../apm821xx/sata/profiles/00-default.mk | 18 + target/linux/apm821xx/sata/target.mk | 9 + target/linux/ar7/Makefile | 26 + target/linux/ar7/ac49x/config-default | 4 + target/linux/ar7/ac49x/profiles/210-None.mk | 17 + target/linux/ar7/ac49x/target.mk | 10 + target/linux/ar7/base-files.mk | 11 + .../ar7/base-files/etc/board.d/02_network | 28 + target/linux/ar7/base-files/etc/diag.sh | 32 + target/linux/ar7/base-files/etc/init.d/adam2 | 13 + target/linux/ar7/config-3.18 | 130 + target/linux/ar7/config-4.1 | 147 + .../linux/ar7/files/drivers/char/ar7_gpio.c | 158 + .../linux/ar7/files/drivers/mtd/ac49xpart.c | 221 + .../linux/ar7/files/drivers/mtd/titanpart.c | 234 + target/linux/ar7/generic/config-default | 5 + .../linux/ar7/generic/profiles/100-Annex-A.mk | 18 + .../linux/ar7/generic/profiles/110-Annex-B.mk | 18 + .../linux/ar7/generic/profiles/200-Texas.mk | 18 + target/linux/ar7/generic/profiles/210-None.mk | 17 + target/linux/ar7/generic/target.mk | 12 + target/linux/ar7/image/Makefile | 137 + .../001-mips-ar7-fix-serial.patch | 23 + .../patches-3.18/100-fix-highmem-offset.patch | 11 + ...R7-allow-NULL-clock-for-clk_get_rate.patch | 45 + target/linux/ar7/patches-3.18/110-flash.patch | 22 + .../ar7/patches-3.18/120-gpio_chrdev.patch | 28 + .../160-vlynq_try_remote_first.patch | 300 + .../200-free-mem-below-kernel-offset.patch | 15 + .../patches-3.18/300-add-ac49x-platform.patch | 85 + .../patches-3.18/310-ac49x-prom-support.patch | 20 + .../320-ac49x-mtd-partitions.patch | 35 + .../ar7/patches-3.18/500-serial_kludge.patch | 28 + .../linux/ar7/patches-3.18/920-ar7part.patch | 118 + .../ar7/patches-3.18/925-actiontec_leds.patch | 95 + .../ar7/patches-3.18/950-cpmac_titan.patch | 52 + .../patches-4.1/001-mips-ar7-fix-serial.patch | 23 + .../patches-4.1/100-fix-highmem-offset.patch | 11 + ...R7-allow-NULL-clock-for-clk_get_rate.patch | 45 + target/linux/ar7/patches-4.1/110-flash.patch | 22 + .../ar7/patches-4.1/120-gpio_chrdev.patch | 28 + .../160-vlynq_try_remote_first.patch | 300 + .../200-free-mem-below-kernel-offset.patch | 15 + .../patches-4.1/300-add-ac49x-platform.patch | 85 + .../patches-4.1/310-ac49x-prom-support.patch | 20 + .../320-ac49x-mtd-partitions.patch | 35 + .../ar7/patches-4.1/500-serial_kludge.patch | 28 + .../linux/ar7/patches-4.1/920-ar7part.patch | 118 + .../ar7/patches-4.1/925-actiontec_leds.patch | 95 + .../ar7/patches-4.1/950-cpmac_titan.patch | 52 + target/linux/ar7/src/adam2patcher.c | 59 + target/linux/ar71xx/Makefile | 24 + .../ar71xx/base-files/etc/board.d/01_leds | 936 + .../ar71xx/base-files/etc/board.d/02_network | 557 + .../base-files/etc/board.d/03_gpio_switches | 39 + target/linux/ar71xx/base-files/etc/diag.sh | 533 + .../etc/hotplug.d/firmware/10-ath9k-eeprom | 170 + .../etc/hotplug.d/firmware/11-ath10k-caldata | 147 + .../etc/hotplug.d/ieee80211/10_fix_wifi_mac | 21 + .../etc/hotplug.d/net/10-ar922x-led-fix | 49 + target/linux/ar71xx/base-files/etc/inittab | 3 + .../uci-defaults/03_network-switchX-migration | 107 + .../uci-defaults/03_network-vlan-migration | 13 + .../etc/uci-defaults/04_led_migration | 92 + .../etc/uci-defaults/09_fix-checksum | 28 + .../etc/uci-defaults/09_fix-seama-header | 17 + target/linux/ar71xx/base-files/lib/ar71xx.sh | 1347 + .../lib/preinit/01_preinit_do_ar71xx.sh | 9 + .../lib/preinit/05_set_iface_mac_ar71xx | 66 + .../lib/preinit/05_set_preinit_iface_ar71xx | 58 + .../base-files/lib/preinit/82_patch_ath10k | 53 + .../ar71xx/base-files/lib/upgrade/allnet.sh | 162 + .../ar71xx/base-files/lib/upgrade/dir825.sh | 165 + .../base-files/lib/upgrade/merakinand.sh | 165 + .../ar71xx/base-files/lib/upgrade/openmesh.sh | 241 + .../ar71xx/base-files/lib/upgrade/platform.sh | 821 + target/linux/ar71xx/config-4.4 | 477 + .../files/arch/mips/ath79/Kconfig.openwrt | 2112 + .../ar71xx/files/arch/mips/ath79/Makefile | 257 + .../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 | 41 + .../ar71xx/files/arch/mips/ath79/dev-dsa.h | 21 + .../ar71xx/files/arch/mips/ath79/dev-eth.c | 1283 + .../ar71xx/files/arch/mips/ath79/dev-eth.h | 54 + .../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 + .../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 | 289 + .../arch/mips/ath79/mach-archer-c60-v1.c | 145 + .../files/arch/mips/ath79/mach-archer-c7.c | 302 + .../files/arch/mips/ath79/mach-arduino-yun.c | 157 + .../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 | 200 + .../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 | 462 + .../files/arch/mips/ath79/mach-cpe510.c | 184 + .../files/arch/mips/ath79/mach-cpe870.c | 152 + .../files/arch/mips/ath79/mach-cr3000.c | 161 + .../files/arch/mips/ath79/mach-cr5000.c | 176 + .../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 | 178 + .../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 | 187 + .../ar71xx/files/arch/mips/ath79/mach-dr344.c | 179 + .../ar71xx/files/arch/mips/ath79/mach-dr531.c | 155 + .../files/arch/mips/ath79/mach-dragino2.c | 136 + .../files/arch/mips/ath79/mach-e2100l.c | 126 + .../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-dorin.c | 150 + .../files/arch/mips/ath79/mach-f9k1115v2.c | 189 + .../files/arch/mips/ath79/mach-fritz300e.c | 132 + .../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 | 166 + .../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 + .../arch/mips/ath79/mach-gs-minibox-v1.c | 85 + .../files/arch/mips/ath79/mach-gs-oolite.c | 103 + .../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-lima.c | 88 + .../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 | 297 + .../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 + .../files/arch/mips/ath79/mach-nbg460n.c | 220 + .../files/arch/mips/ath79/mach-nbg6716.c | 380 + .../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 | 221 + .../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-r602n.c | 213 + .../ar71xx/files/arch/mips/ath79/mach-r6100.c | 146 + .../files/arch/mips/ath79/mach-rambutan.c | 90 + .../files/arch/mips/ath79/mach-rb2011.c | 339 + .../ar71xx/files/arch/mips/ath79/mach-rb4xx.c | 470 + .../ar71xx/files/arch/mips/ath79/mach-rb750.c | 349 + .../ar71xx/files/arch/mips/ath79/mach-rb91x.c | 343 + .../ar71xx/files/arch/mips/ath79/mach-rb922.c | 236 + .../ar71xx/files/arch/mips/ath79/mach-rb95x.c | 260 + .../ar71xx/files/arch/mips/ath79/mach-rbspi.c | 945 + .../files/arch/mips/ath79/mach-rbsxtlite.c | 239 + .../ar71xx/files/arch/mips/ath79/mach-re450.c | 187 + .../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 + .../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 | 136 + .../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 | 112 + .../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 | 138 + .../arch/mips/ath79/mach-tl-wr1043nd-v2.c | 215 + .../arch/mips/ath79/mach-tl-wr1043nd-v4.c | 190 + .../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-v2.c | 97 + .../files/arch/mips/ath79/mach-tl-wr802n.c | 98 + .../files/arch/mips/ath79/mach-tl-wr810n.c | 135 + .../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 | 149 + .../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-tube2h.c | 118 + .../files/arch/mips/ath79/mach-ubnt-unifiac.c | 179 + .../files/arch/mips/ath79/mach-ubnt-xm.c | 718 + .../ar71xx/files/arch/mips/ath79/mach-ubnt.c | 205 + .../ar71xx/files/arch/mips/ath79/mach-weio.c | 140 + .../files/arch/mips/ath79/mach-whr-hp-g300n.c | 155 + .../files/arch/mips/ath79/mach-wlae-ag300n.c | 114 + .../files/arch/mips/ath79/mach-wlr8100.c | 205 + .../files/arch/mips/ath79/mach-wndap360.c | 105 + .../files/arch/mips/ath79/mach-wndr3700.c | 172 + .../files/arch/mips/ath79/mach-wndr4300.c | 210 + .../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 | 245 + .../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 | 177 + .../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 | 205 + .../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 | 335 + .../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 | 358 + .../ar71xx/files/arch/mips/ath79/routerboot.h | 63 + .../mips/include/asm/fw/myloader/myloader.h | 34 + .../include/asm/mach-ath79/ag71xx_platform.h | 68 + .../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 | 251 + .../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 | 201 + .../files/drivers/mtd/nand/ar934x_nfc.c | 1502 + .../files/drivers/mtd/nand/rb4xx_nand.c | 306 + .../files/drivers/mtd/nand/rb750_nand.c | 355 + .../files/drivers/mtd/nand/rb91x_nand.c | 378 + .../ar71xx/files/drivers/mtd/tplinkpart.c | 222 + .../ar71xx/files/drivers/net/dsa/mv88e6063.c | 311 + .../net/ethernet/atheros/ag71xx/Kconfig | 33 + .../net/ethernet/atheros/ag71xx/Makefile | 15 + .../net/ethernet/atheros/ag71xx/ag71xx.h | 493 + .../ethernet/atheros/ag71xx/ag71xx_ar7240.c | 1382 + .../ethernet/atheros/ag71xx/ag71xx_ar8216.c | 44 + .../ethernet/atheros/ag71xx/ag71xx_debugfs.c | 287 + .../ethernet/atheros/ag71xx/ag71xx_ethtool.c | 131 + .../net/ethernet/atheros/ag71xx/ag71xx_main.c | 1478 + .../net/ethernet/atheros/ag71xx/ag71xx_mdio.c | 318 + .../net/ethernet/atheros/ag71xx/ag71xx_phy.c | 235 + .../ar71xx/files/drivers/spi/spi-rb4xx-cpld.c | 342 + .../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 | 1 + .../ar71xx/generic/profiles/00-default.mk | 18 + target/linux/ar71xx/generic/target.mk | 8 + target/linux/ar71xx/image/Makefile | 64 + target/linux/ar71xx/image/generic.mk | 908 + target/linux/ar71xx/image/legacy-devices.mk | 609 + target/linux/ar71xx/image/legacy.mk | 1056 + .../linux/ar71xx/image/lzma-loader/Makefile | 66 + .../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 | 106 + .../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 | 121 + .../ar71xx/image/lzma-loader/src/loader.c | 264 + .../ar71xx/image/lzma-loader/src/loader.lds | 35 + .../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 | 43 + target/linux/ar71xx/image/nand.mk | 122 + target/linux/ar71xx/image/senao.mk | 31 + target/linux/ar71xx/image/tp-link.mk | 1107 + target/linux/ar71xx/image/ubinize-nbg6716.ini | 24 + .../linux/ar71xx/image/ubinize-wndr4300.ini | 26 + target/linux/ar71xx/image/ubnt.mk | 259 + target/linux/ar71xx/mikrotik/config-default | 253 + .../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 | 256 + .../linux/ar71xx/nand/profiles/00-default.mk | 18 + target/linux/ar71xx/nand/target.mk | 7 + .../ar71xx/patches-4.4/001-spi-cs-gpio.patch | 20 + .../002-add_back_gpio_function_select.patch | 92 + .../004-register_gpio_driver_earlier.patch | 15 + ...Avoid-using-unitialized-reg-variable.patch | 42 + ...ath79_ddr_ctrl_init-compatible-for-n.patch | 31 + ...egister-address-in-ath79_ddr_wb_flus.patch | 23 + ...pport-multiple-internal-chip-select-.patch | 70 + ...e-gpio_set_value_cansleep-for-GPIO-c.patch | 19 + ...ix-AR724X_PLL_REG_PCIE_CONFIG-offset.patch | 29 + ...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 + .../203-MIPS-ath79-fix-restart.patch | 20 + .../220-add_cpu_feature_overrides.patch | 28 + ...0-MIPS-add-MIPS_MACHINE_NONAME-macro.patch | 21 + .../310-lib-add-rle-decompression.patch | 124 + .../401-mtd-physmap-add-lock-unlock.patch | 94 + .../402-mtd-SST39VF6401B-support.patch | 29 + ...mtd_fix_cfi_cmdset_0002_status_check.patch | 69 + .../404-mtd-cybertan-trx-parser.patch | 25 + .../405-mtd-tp-link-partition-parser.patch | 25 + ...o-pass-probe-types-via-platform-data.patch | 23 + .../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 + ...td-m25p80-zero-partition-parser-data.patch | 10 + .../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 | 24 + .../430-drivers-link-spi-before-mtd.patch | 12 + .../432-spi-rb4xx-spi-driver.patch | 25 + .../433-spi-rb4xx-cpld-driver.patch | 26 + .../patches-4.4/435-spi-vsc7385_driver.patch | 24 + .../440-leds-wndr3700-usb-led-driver.patch | 26 + .../441-leds-rb750-led-driver.patch | 23 + ...50-gpio-nxp-74hc153-gpio-chip-driver.patch | 25 + ...x164-improve-platform-device-support.patch | 109 + .../452-gpio-add-gpio-latch-driver.patch | 22 + .../460-m25p80-spi-read-flash-check.patch | 15 + .../461-spi-ath79-add-fast-flash-read.patch | 54 + ...ath79-swizzle-pci-address-for-ar71xx.patch | 111 + ...490-usb-ehci-add-quirks-for-qca-socs.patch | 103 + .../patches-4.4/500-MIPS-fw-myloader.patch | 22 + ...-mac-argument-to-ath79_register_wmac.patch | 70 + ...IPS-ath79-add-ath79_device_reset_get.patch | 41 + ...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 + .../605-MIPS-ath79-db120-fixes.patch | 204 + .../606-MIPS-ath79-pb44-fixes.patch | 146 + .../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 | 705 + ...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 | 102 + ...1-MIPS-ath79-wmac-enable-set-led-pin.patch | 24 + ...MIPS-ath79-gpio-enable-set-direction.patch | 32 + ...ath79-ar724x-clock-calculation-fixes.patch | 22 + ...40-MIPS-ath79-add-QCA955x-wmac-reset.patch | 82 + .../700-MIPS-ath79-add-openwrt-Kconfig.patch | 11 + ...MIPS-ath79-add-routerboard-detection.patch | 30 + ...d-gpio-func-register-for-QCA955x-SoC.patch | 38 + ...0-MIPS-ath79-add-PCI-for-QCA953x-SoC.patch | 44 + .../818-MIPS-ath79-add-nu801-led-driver.patch | 26 + ...-MIPS-ath79-add_gpio_function2_setup.patch | 67 + ...support-for-boot-console-with-arbitr.patch | 76 + .../900-mdio_bitbang_ignore_ta_value.patch | 23 + ...-prevent-rescheduling-during-command.patch | 61 + .../902-at803x-add-reset-gpio-pdata.patch | 68 + .../910-unaligned_access_hacks.patch | 931 + ...usb-chipidea-AR933x-platform-support.patch | 92 + .../patches-4.4/930-chipidea-pullup.patch | 72 + 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.9 | 197 + .../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 | 40 + .../base-files/lib/preinit/01_preinit_arc.sh | 9 + target/linux/archs38/config-4.9 | 210 + .../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 | 84 + .../archs38/image/gen_axs10x_sdcard_img.sh | 33 + target/linux/archs38/image/uEnv.txt | 7 + ...c-Disable-frame-filtering-completely.patch | 31 + target/linux/armvirt/32/config-default | 90 + target/linux/armvirt/32/target.mk | 10 + target/linux/armvirt/64/config-default | 170 + 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.9 | 180 + target/linux/armvirt/image/Makefile | 28 + target/linux/at91/Makefile | 24 + .../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 | 81 + .../lib/preinit/01_preinit_do_at91.sh | 9 + target/linux/at91/config-4.4 | 273 + .../files/arch/arm/boot/dts/at91-q5xr5.dts | 193 + .../at91/files/arch/arm/boot/dts/lmu5000.dts | 125 + .../linux/at91/files/drivers/mtd/at91part.c | 122 + target/linux/at91/image/Config.in | 10 + target/linux/at91/image/Makefile | 66 + 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 + target/linux/at91/image/legacy.mk | 111 + target/linux/at91/image/sama5d3.mk | 8 + target/linux/at91/legacy/config-default | 33 + target/linux/at91/legacy/target.mk | 7 + target/linux/at91/modules.mk | 105 + .../100-ARM-at91-build-dtb-for-LMU5000.patch | 10 + .../101-ARM-at91-build-dtb-for-q5xr5.patch | 10 + target/linux/at91/sama5d3/config-default | 20 + target/linux/at91/sama5d3/target.mk | 9 + 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.9 | 156 + target/linux/ath25/image/Makefile | 107 + .../ath25/patches-4.9/107-ar5312_gpio.patch | 212 + .../ath25/patches-4.9/108-ar2315_gpio.patch | 363 + .../patches-4.9/110-ar2313_ethernet.patch | 1734 + .../ath25/patches-4.9/120-spiflash.patch | 634 + .../ath25/patches-4.9/130-watchdog.patch | 277 + .../patches-4.9/140-redboot_boardconfig.patch | 60 + .../141-redboot_partition_scan.patch | 44 + .../142-redboot_various_erase_size_fix.patch | 72 + .../ath25/patches-4.9/210-reset_button.patch | 71 + .../220-enet_micrel_workaround.patch | 111 + .../ath25/patches-4.9/330-board_leds.patch | 116 + target/linux/ath25/profiles/00-default.mk | 16 + target/linux/au1000/Makefile | 32 + target/linux/au1000/au1500/config-default | 5 + .../linux/au1000/au1500/profiles/Atheros.mk | 13 + .../au1000/au1500/profiles/InternetBox.mk | 18 + .../linux/au1000/au1500/profiles/MeshCube.mk | 18 + target/linux/au1000/au1500/target.mk | 7 + target/linux/au1000/au1550/config-default | 4 + .../linux/au1000/au1550/profiles/DBAu1550.mk | 13 + target/linux/au1000/au1550/target.mk | 8 + target/linux/au1000/base-files/etc/diag.sh | 21 + .../au1000/base-files/lib/upgrade/platform.sh | 36 + target/linux/au1000/config-3.18 | 141 + target/linux/au1000/image/Makefile | 74 + target/linux/au1000/modules.mk | 17 + .../patches-3.18/002-openwrt_rootfs.patch | 11 + .../patches-3.18/003-au1000_eth_ioctl.patch | 17 + .../patches-3.18/004-watchdog_low_init.patch | 12 + .../linux/au1000/patches-3.18/006-codec.patch | 26 + target/linux/bcm53xx/Makefile | 31 + .../bcm53xx/base-files/etc/board.d/01_leds | 16 + .../bcm53xx/base-files/etc/board.d/02_network | 106 + target/linux/bcm53xx/base-files/etc/diag.sh | 42 + .../base-files/etc/uci-defaults/09_fix_crc | 7 + .../base-files/lib/upgrade/platform.sh | 335 + target/linux/bcm53xx/config-4.4 | 339 + target/linux/bcm53xx/config-4.9 | 339 + .../drivers/firmware/broadcom/bcm47xx_sprom.c | 737 + .../arch/arm/boot/compressed/cache-v7-min.S | 81 + target/linux/bcm53xx/image/Makefile | 346 + target/linux/bcm53xx/modules.mk | 37 + ...ove-workaround-imprecise-abort-fault.patch | 68 + ...310X-activate-erratas-needed-for-SoC.patch | 31 + ...ean-up-SMP-support-for-Broadcom-Kona.patch | 254 + ...BCM-Add-SMP-support-for-Broadcom-NSP.patch | 585 + ...CM-Add-SMP-support-for-Broadcom-4708.patch | 58 + ...RM-dts-bcm5301x-Add-BCM-SVK-DT-files.patch | 219 + ...ts-enable-clock-support-for-BCM5301X.patch | 174 + ...5301X-Add-missing-Netgear-R8000-LEDs.patch | 56 + ...d-SMP-enable-method-for-Broadcom-NSP.patch | 70 + ...-BCM5301X-Add-DT-for-D-Link-DIR-885L.patch | 141 + ...-vcc-gpio-for-USB-controllers-of-few.patch | 117 + ...1X-Enable-earlycon-on-tested-devices.patch | 95 + ...-DT-entry-for-SPI-controller-and-NOR.patch | 58 + ...Enable-SPI-NOR-on-dual-flash-devices.patch | 75 + ...e-SRAB-switch-and-GMACs-on-5301x-DTS.patch | 63 + ...ARM-dts-BCM5301X-Add-SRAB-interrupts.patch | 38 + ...-Enable-switch-ports-on-SmartRG-SR40.patch | 60 + ...ts-BCM5301x-Add-RNG-Device-Tree-node.patch | 27 + ...M-dts-BCM5301x-Add-BCM953012ER-board.patch | 139 + ...cify-NAND-chip-select-and-ECC-in-sep.patch | 65 + ...-NAND-ECC-parameters-for-D-Link-DIR-.patch | 49 + ...CM5301X-Specify-PHY-of-USB-2.0-in-DT.patch | 46 + ...tial-support-for-Broadcom-BCM53573-S.patch | 61 + ...RM-BCM5301X-Add-DT-for-Netgear-R8500.patch | 136 + ...-basic-dts-for-BCM53573-based-Tenda-.patch | 264 + ...-separated-DTS-include-file-for-BCM4.patch | 70 + ...CM5301X-Enable-UART-on-Netgear-R8000.patch | 92 + ...M-BCM5301X-Specify-USB-3.0-PHY-in-DT.patch | 51 + ...M-BCM5301X-Add-DT-for-Luxul-XAP-1510.patch | 93 + ...M-BCM5301X-Add-DT-for-Luxul-XWR-3100.patch | 159 + ...cify-PMU-and-its-ILP-clock-in-the-DT.patch | 38 + ...301X-Add-DT-for-TP-LINK-Archer-C9-V1.patch | 146 + ...-back-handler-ignoring-external-impr.patch | 75 + ...ble-UART-by-default-for-BCM4708-1-BC.patch | 269 + ...ix-LAN-LED-labels-for-Luxul-XWR-3100.patch | 43 + ...M5301X-Specify-USB-controllers-in-DT.patch | 68 + ...-GPIO-enabling-USB-power-on-Netgear-.patch | 31 + ...cify-all-RAM-by-including-an-extra-b.patch | 236 + ...cify-USB-ports-of-on-SoC-controllers.patch | 56 + ...-5-GHz-wireless-frequency-limits-on-.patch | 126 + ...M-BCM5301X-Add-DT-for-Luxul-XAP-1410.patch | 89 + ...M-BCM5301X-Add-DT-for-Luxul-XWR-1200.patch | 136 + ...301X-Add-basic-DT-for-Linksys-EA9200.patch | 72 + ...X-Add-basic-DT-for-Linksys-EA6300-V1.patch | 73 + ...5301X-Add-NAND-entries-to-bcm953012k.patch | 54 + ...301X-Add-basic-DT-for-Linksys-EA9500.patch | 69 + ...BCM5301X-Add-support-for-BCM953012HR.patch | 129 + ...3-Describe-Tenda-AC9-PCIe-card-in-DT.patch | 70 + ...dts-BCM53573-Add-Tenda-AC9-2-GHz-LED.patch | 36 + ...-Relicense-DTS-files-I-created-to-th.patch | 265 + ...-Add-missing-Netgear-R8000-LEDs-and-.patch | 66 + ...-Don-t-use-nonexistent-default-off-L.patch | 50 + ...-Don-t-use-nonexistent-default-off-L.patch | 651 + ...ts-BCM5301X-Add-TWD-WD-Support-to-DT.patch | 40 + ...s-BCM5301X-Add-I2C-support-to-the-DT.patch | 34 + ...-Add-support-for-TP-LINK-Archer-C5-V.patch | 130 + ...dts-BCM953012HR-Add-ethernet-aliases.patch | 27 + ...-Specify-serial-console-params-in-dt.patch | 161 + ...73-Specify-serial-console-parameters.patch | 33 + ...301X-Add-CPU-thermal-sensor-and-zone.patch | 59 + ...-BCM5301X-Specify-MDIO-bus-in-the-DT.patch | 34 + ...-Specify-USB-ports-for-each-controll.patch | 74 + ...-Specify-USB-ports-for-USB-LEDs-of-f.patch | 139 + ...new-driver-for-USB-2.0-PHY-on-Norths.patch | 252 + ...-ns-usb2-checking-the-wrong-variable.patch | 27 + ...new-driver-for-USB-3.0-PHY-on-Norths.patch | 361 + ...-split-all-writes-into-reg-val-pairs.patch | 177 + ...to-GPIO-descriptor-for-power-control.patch | 75 + ...lper-creating-platform-dev-more-gene.patch | 77 + ...arate-code-initializing-USB-2.0-core.patch | 116 + ...pler-devm-helper-for-getting-vcc-GPI.patch | 34 + ...tialize-Northstar-USB-3.0-controller.patch | 67 + ...-old-USB-2.0-controller-on-Northstar.patch | 163 + ...orthstar-PHY-2.0-initialization-code.patch | 136 + ...pi-bcm-qspi-Add-Broadcom-MSPI-driver.patch | 832 + ...qspi-Broadcom-settop-platform-driver.patch | 84 + ...-BSPI-spi-nor-flash-controller-drive.patch | 780 + ...m-qspi-don-t-include-linux-mtd-cfi.h.patch | 27 + ...pi-bcm-qspi-fix-suspend-resume-ifdef.patch | 63 + ...-return-value-check-in-bcm_qspi_prob.patch | 29 + ...-error-return-code-in-bcm_qspi_probe.patch | 32 + ...qspi-Add-Broadcom-iProc-SoCs-support.patch | 452 + ...t-of_node-to-let-DT-specify-device-s.patch | 52 + ...cm53xx-re-license-code-to-the-GPL-v2.patch | 50 + ...085-PCI-iproc-Hide-CONFIG_PCIE_IPROC.patch | 42 + ...-iproc-Do-not-use-0x-in-front-of-pap.patch | 27 + ...pdate-iProc-PCIe-device-tree-binding.patch | 30 + ...PCI-iproc-Add-PAXC-interface-support.patch | 429 + ...d-iProc-PCIe-MSI-device-tree-binding.patch | 68 + ...PCI-iproc-Add-iProc-PCIe-MSI-support.patch | 891 + ...llow-multiple-devices-except-on-PAXC.patch | 83 + ...cm-Add-driver-for-BCM53573-ILP-clock.patch | 224 + .../patches-4.4/101-use-part-parser.patch | 11 + .../112-bcm53xx-sprom-add-sprom-driver.patch | 45 + ...-initial-ECC-params-based-on-info-fr.patch | 53 + ...support-for-performing-fake-doorbell.patch | 137 + ...able-MMU-and-Dcache-during-decompres.patch | 101 + ...RM-BCM5301X-Add-DT-for-Netgear-R7900.patch | 64 + ...-BCM5301X-Add-serial-to-the-bootargs.patch | 26 + ...power-button-for-Buffalo-WZR-1750DHP.patch | 20 + ...p-special-treating-ECC-strength-1-as.patch | 26 + ...ct-JEDEC-incompatible-w25q128-using-.patch | 34 + ...-single-SPI-message-for-writing-data.patch | 59 + ...-mark-and-erase-all-remaining-blocks.patch | 59 + ...U-port-fixes-for-devices-not-using-p.patch | 52 + ...part-add-device-specific-workarounds.patch | 56 + .../905-BCM53573-minor-hacks.patch | 88 + ...RM-BCM5301X-Add-DT-for-Netgear-R8500.patch | 136 + ...-basic-dts-for-BCM53573-based-Tenda-.patch | 264 + ...-separated-DTS-include-file-for-BCM4.patch | 70 + ...CM5301X-Enable-UART-on-Netgear-R8000.patch | 92 + ...M-BCM5301X-Specify-USB-3.0-PHY-in-DT.patch | 51 + ...M-BCM5301X-Add-DT-for-Luxul-XAP-1510.patch | 93 + ...M-BCM5301X-Add-DT-for-Luxul-XWR-3100.patch | 159 + ...cify-PMU-and-its-ILP-clock-in-the-DT.patch | 38 + ...301X-Add-DT-for-TP-LINK-Archer-C9-V1.patch | 146 + ...ble-UART-by-default-for-BCM4708-1-BC.patch | 269 + ...ix-LAN-LED-labels-for-Luxul-XWR-3100.patch | 43 + ...M5301X-Specify-USB-controllers-in-DT.patch | 68 + ...-GPIO-enabling-USB-power-on-Netgear-.patch | 31 + ...cify-all-RAM-by-including-an-extra-b.patch | 236 + ...cify-USB-ports-of-on-SoC-controllers.patch | 56 + ...-5-GHz-wireless-frequency-limits-on-.patch | 126 + ...M-BCM5301X-Add-DT-for-Luxul-XAP-1410.patch | 89 + ...M-BCM5301X-Add-DT-for-Luxul-XWR-1200.patch | 136 + ...301X-Add-basic-DT-for-Linksys-EA9200.patch | 72 + ...X-Add-basic-DT-for-Linksys-EA6300-V1.patch | 73 + ...5301X-Add-NAND-entries-to-bcm953012k.patch | 54 + ...301X-Add-basic-DT-for-Linksys-EA9500.patch | 69 + ...BCM5301X-Add-support-for-BCM953012HR.patch | 129 + ...3-Describe-Tenda-AC9-PCIe-card-in-DT.patch | 70 + ...dts-BCM53573-Add-Tenda-AC9-2-GHz-LED.patch | 36 + ...-Relicense-DTS-files-I-created-to-th.patch | 265 + ...-Add-missing-Netgear-R8000-LEDs-and-.patch | 66 + ...-Don-t-use-nonexistent-default-off-L.patch | 50 + ...-Don-t-use-nonexistent-default-off-L.patch | 651 + ...ts-BCM5301X-Add-TWD-WD-Support-to-DT.patch | 40 + ...s-BCM5301X-Add-I2C-support-to-the-DT.patch | 34 + ...-Add-support-for-TP-LINK-Archer-C5-V.patch | 130 + ...dts-BCM953012HR-Add-ethernet-aliases.patch | 27 + ...-Specify-serial-console-params-in-dt.patch | 161 + ...73-Specify-serial-console-parameters.patch | 33 + ...301X-Add-CPU-thermal-sensor-and-zone.patch | 59 + ...-BCM5301X-Specify-MDIO-bus-in-the-DT.patch | 34 + ...BCM5301X-Add-basic-DT-for-PHICOMM-K3.patch | 79 + ...-Specify-USB-ports-for-each-controll.patch | 74 + ...-Specify-USB-ports-for-USB-LEDs-of-f.patch | 139 + ...-split-all-writes-into-reg-val-pairs.patch | 177 + ...t-of_node-to-let-DT-specify-device-s.patch | 52 + ...cm53xx-re-license-code-to-the-GPL-v2.patch | 50 + .../patches-4.9/101-use-part-parser.patch | 11 + ...support-for-performing-fake-doorbell.patch | 137 + ...able-MMU-and-Dcache-during-decompres.patch | 101 + ...RM-BCM5301X-Add-DT-for-Netgear-R7900.patch | 64 + ...power-button-for-Buffalo-WZR-1750DHP.patch | 20 + ...-BCM5301X-Add-serial-to-the-bootargs.patch | 26 + ...ct-JEDEC-incompatible-w25q128-using-.patch | 34 + ...-single-SPI-message-for-writing-data.patch | 68 + ...-mark-and-erase-all-remaining-blocks.patch | 59 + ...U-port-fixes-for-devices-not-using-p.patch | 52 + ...part-add-device-specific-workarounds.patch | 56 + ...add-partition-workaround-for-PHICOMM.patch | 32 + .../905-BCM53573-minor-hacks.patch | 88 + target/linux/bcm53xx/profiles/100-Generic.mk | 19 + target/linux/brcm2708/Makefile | 34 + .../base-files/etc/board.d/02_network | 27 + target/linux/brcm2708/base-files/etc/diag.sh | 36 + target/linux/brcm2708/base-files/etc/inittab | 4 + .../linux/brcm2708/base-files/lib/brcm2708.sh | 43 + .../lib/firmware/brcm/brcmfmac43430-sdio.txt | 66 + .../lib/preinit/01_preinit_do_brcm2708.sh | 10 + .../lib/preinit/05_set_preinit_iface_brcm2708 | 18 + .../base-files/lib/preinit/79_move_config | 18 + .../base-files/lib/upgrade/platform.sh | 32 + target/linux/brcm2708/bcm2708/config-4.9 | 386 + target/linux/brcm2708/bcm2708/target.mk | 12 + target/linux/brcm2708/bcm2709/config-4.9 | 423 + target/linux/brcm2708/bcm2709/target.mk | 13 + target/linux/brcm2708/bcm2710/config-4.9 | 434 + target/linux/brcm2708/bcm2710/target.mk | 13 + target/linux/brcm2708/image/Config.in | 5 + target/linux/brcm2708/image/Makefile | 82 + 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 | 641 + ...2835-add-pull-defines-to-dt-bindings.patch | 44 + ...Define-standard-pinctrl-groups-in-th.patch | 235 + ...add-pinctrl-group-to-pwm-drop-pins-f.patch | 33 + ...add-pinctrl-group-to-i2c0-drop-pins-.patch | 33 + ...add-pinctrl-group-to-i2c1-drop-pins-.patch | 32 + ...add-pinctrl-group-to-sdhci-drop-pins.patch | 33 + ...-ARM-dts-bcm283x-drop-alt3-from-gpio.patch | 112 + ...add-thermal-node-to-device-tree-of-b.patch | 67 + ...names-for-the-Raspberry-Pi-GPIO-line.patch | 414 + ...names-for-the-Raspberry-Pi-GPIO-line.patch | 93 + ...dd-names-for-the-RPi-Zero-GPIO-lines.patch | 91 + ...bcm283x-Add-VEC-node-in-bcm283x.dtsi.patch | 30 + ...Enable-the-VEC-IP-on-all-RaspberryPi.patch | 25 + ...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 | 27 + ...ent-spurious-interrupts-and-trap-the.patch | 26 + ...0007-irqchip-bcm2835-Add-FIQ-support.patch | 127 + ...hip-irq-bcm2835-Add-2836-FIQ-support.patch | 99 + ...v-compatible-string-to-silence-warni.patch | 20 + ...-8250-Don-t-crash-when-nr_uarts-is-0.patch | 20 + ...Set-base-to-0-give-expected-gpio-num.patch | 21 + ...Fix-interrupt-handling-for-GPIOs-28-.patch | 146 + ...Only-request-the-interrupts-listed-i.patch | 27 + ...835-Return-pins-to-inputs-when-freed.patch | 41 + ...5-Support-pin-groups-other-than-7-11.patch | 80 + ...i-bcm2835-Disable-forced-software-CS.patch | 34 + ...-0017-spi-bcm2835-Remove-unused-code.patch | 88 + ...m2835-Set-Serial-number-and-Revision.patch | 53 + ...5-Load-driver-early-and-support-lega.patch | 100 + ...0020-firmware-Updated-mailbox-header.patch | 63 + ...-GPIO-clocks-enabled-at-boot-as-crit.patch | 37 + ...rtc-Add-SPI-alias-for-pcf2123-driver.patch | 20 + ...835-Support-setting-reboot-partition.patch | 124 + ...-off-rather-than-busy-spinning-when-.patch | 23 + ...-Make-RASPBERRYPI_POWER-depend-on-PM.patch | 19 + ...clocks-early-during-the-boot-process.patch | 45 + ...void-initialising-if-already-enabled.patch | 26 + ...-dtco-targets-when-filtering-symbols.patch | 20 + ...0029-BCM2835_DT-Fix-I2S-register-map.patch | 36 + ...0030-Main-bcm2708-bcm2709-linux-port.patch | 199 + .../950-0031-Add-dwc_otg-driver.patch | 60858 ++++++++ .../950-0032-bcm2708-framebuffer-driver.patch | 3452 + ...33-dmaengine-Add-support-for-BCM2708.patch | 623 + ...034-MMC-added-alternative-MMC-driver.patch | 1743 + ...dhost-driver-and-an-overlay-to-enabl.patch | 2399 + ...MC_QUIRK_ERASE_BROKEN-for-some-cards.patch | 132 + ...d-vc_cma-driver-to-enable-use-of-CMA.patch | 1319 + .../950-0038-bcm2708-alsa-sound-driver.patch | 2715 + ...m-driver-for-querying-firmware-memor.patch | 516 + ...re-shared-memory-service-for-BCM2835.patch | 4384 + ...device-for-rootless-user-GPIO-access.patch | 306 + .../patches-4.9/950-0042-Add-SMI-driver.patch | 1930 + ...-use-clock-manager-and-fix-reload-is.patch | 169 + .../950-0044-Add-SMI-NAND-driver.patch | 357 + ...c-added-support-for-RaspberryPi-GPIO.patch | 855 + .../950-0046-Add-cpufreq-driver.patch | 262 + ...mal-driver-for-reporting-core-temper.patch | 161 + ...950-0048-Add-Chris-Boot-s-i2c-driver.patch | 660 + ...0-0049-char-broadcom-Add-vcio-module.patch | 221 + ...irmware-bcm2835-Support-ARCH_BCM270x.patch | 83 + ...-0051-bcm2835-add-v4l2-camera-device.patch | 7695 + ...limg-and-knlinfo-scripts-from-tools-.patch | 515 + ...dtc-Update-to-upstream-version-1.4.1.patch | 2833 + ...BCM2708-Add-core-Device-Tree-support.patch | 9790 ++ ...wr_led-and-the-required-input-trigge.patch | 166 + ...50-0056-fbdev-add-FBIOCOPYAREA-ioctl.patch | 248 + ...nsole-framebuffer-imageblit-function.patch | 209 + ...ltime-clock-1-wire-chip-DS1307-and-1.patch | 242 + ...dded-Device-IDs-for-August-DVB-T-205.patch | 22 + ...NFIG_MEMCG-but-leave-it-disabled-due.patch | 50 + ...fault-mouse-polling-interval-to-60Hz.patch | 36 + ...ouchscreen-driver-for-pi-LCD-display.patch | 351 + ...o_user-and-__copy_from_user-performa.patch | 1543 + ...off-Allow-it-to-work-on-Raspberry-Pi.patch | 35 + ...d-Raspberry-Pi-Sense-HAT-core-driver.patch | 837 + ...6-ASoC-Add-support-for-HifiBerry-DAC.patch | 170 + ...50-0067-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 | 325 + ...071-iqaudio-dac-Compile-fix-untested.patch | 24 + ...0072-Added-support-for-HiFiBerry-DAC.patch | 618 + ...-HiFiBerry-Amp-amplifier-add-on-boar.patch | 825 + ...s1307-driver-for-device-tree-support.patch | 27 + .../950-0075-Add-driver-for-rpi-proto.patch | 211 + .../950-0076-RaspiDAC3-support.patch | 238 + ...dd-Support-for-JustBoom-Audio-boards.patch | 446 + ...-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 | 467 + ...port-for-Dion-Audio-LOCO-DAC-AMP-HAT.patch | 168 + ...oards-Initial-2-channel-stereo-suppo.patch | 202 + ...upport-for-Blokas-Labs-pisound-board.patch | 1168 + ...lay-add-backlight-driver-and-overlay.patch | 164 + ...bcm2835-virtgpio-Virtual-GPIO-driver.patch | 267 + ...1-Don-t-use-DT-aliases-for-numbering.patch | 29 + ...090-OF-DT-Overlay-configfs-interface.patch | 424 + ...i_h5-Don-t-send-conf_req-when-ACTIVE.patch | 23 + .../950-0093-config-Add-default-configs.patch | 2623 + ...guration-and-device-tree-differences.patch | 1407 + ...5-vchiq_arm-Tweak-the-logging-output.patch | 75 + ...cess-the-dequeue_pending-flag-locked.patch | 58 + ..._arm-Service-callbacks-must-not-fail.patch | 26 + ...d-completion-records-under-the-mutex.patch | 63 + ...Avoid-use-of-mutex-in-add_completion.patch | 192 + ...vert-to-current-get_user_pages-argum.patch | 34 + ...ate-for-rename-of-page_cache_release.patch | 43 + ...i-Remove-dependency-on-CONFIG_BROKEN.patch | 22 + ...ware-Export-the-general-transaction-.patch | 42 + ...ware-Define-the-MBOX-channel-in-the-.patch | 21 + ...de-for-using-the-closed-firmware-for.patch | 758 + ...ect-against-unexpected-TXW-RXR-inter.patch | 124 + ...e-dev_dbg-logging-on-transfer-errors.patch | 32 + ...m2835-Can-t-support-I2C_M_IGNORE_NAK.patch | 44 + ...support-for-Repeated-Start-Condition.patch | 181 + ...35-Support-i2c-dev-ioctl-I2C_TIMEOUT.patch | 37 + ...cm2835-Add-support-for-dynamic-clock.patch | 117 + ...0-0113-i2c-bcm2835-Add-debug-support.patch | 189 + ...0-0114-arm64-Add-CONFIG_ARCH_BCM2835.patch | 16 + ...Silicon-Labs-Si7013-20-21-humidity-t.patch | 77 + .../950-0116-Document-the-si7020-option.patch | 21 + .../950-0117-pisound-improvements.patch | 294 + .../950-0118-Add-driver_name-property.patch | 20 + .../950-0119-Add-driver_name-paramater.patch | 20 + ...270X_DT-Add-pi3-disable-wifi-overlay.patch | 56 + ...ARM64-Make-it-work-again-on-4.9-1790.patch | 410 + ...nel-Address-Space-Randomization-1792.patch | 31 + ...L8187-RTL8192CU-wifi-in-build-config.patch | 25 + ...-0125-BCM270X_DT-Add-spi0-cs-overlay.patch | 83 + ...i-bcm2835-Disable-forced-software-CS.patch | 26 + ...-0127-config-Add-CONFIG_TCP_CONG_BBR.patch | 33 + ...-0128-BCM270X_DT-Enable-UART0-on-CM3.patch | 23 + ...NFIG_MD_M25P80-and-CONFIG_MD_SPI_NOR.patch | 37 + ...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 + ...se-dwc_otg-driver-by-default-for-USB.patch | 26 + ...dd-reference-to-audio_pins-to-CM-dtb.patch | 28 + ...dditional-network-scheduling-modules.patch | 50 + ...C-A-simple-card-overlay-for-ADAU7002.patch | 93 + ...ig-Add-SND_SOC_ADAU7002-codec-module.patch | 33 + ...138-Add-overlay-for-mcp3008-adc-1818.patch | 281 + ...uspending-if-we-re-in-gadget-mode-18.patch | 51 + ...ove-unnecessary-dev_info-output-1830.patch | 22 + ...0141-config-Enable-regulator-support.patch | 33 + ...x-DT-expose-3.3V-and-5V-system-rails.patch | 33 + ...x-DT-Consolidate-audio-card-overlays.patch | 273 + ...d-driver-for-Cirrus-Logic-Audio-Card.patch | 1238 + ...onfig-enable-Cirrus-Logic-Audio-Card.patch | 47 + ...cm2836-Avoid-Invalid-trigger-warning.patch | 24 + ...Demote-deferral-errors-to-INFO-level.patch | 35 + ...ppress-error-message-about-deferrals.patch | 217 + .../950-0149-Update-vfpmodule.c.patch | 137 + ...arize-urb-actual_length-for-isochron.patch | 28 + ...rate-change-propagation-on-bcm2835-c.patch | 124 + ...te-change-propagation-to-PLLH_AUX-on.patch | 35 + ...e-uninitialized-warning-in-bcm2835_c.patch | 29 + ...t-rate-change-PLLs-on-behalf-of-DSI-.patch | 172 + ...-Register-the-DSI0-DSI1-pixel-clocks.patch | 238 + ...leaf-clock-measurement-support-disab.patch | 346 + ...pport-for-the-Raspberry-Pi-7-Touchsc.patch | 575 + ...X-Add-the-DSI-panel-to-the-defconfig.patch | 45 + ...-Add-the-DSI-module-nodes-and-clocks.patch | 101 + ...he-DSI-panel-node-in-the-VC4-overlay.patch | 138 + ...ort-for-rendering-with-ETC1-textures.patch | 55 + ...dd-fragment-shader-threading-support.patch | 228 + ...nector-states-to-drm_connector_state.patch | 148 + ...E_SUBCONNECTOR_xx-definitions-into-a.patch | 46 + ...support-for-the-VEC-Video-Encoder-IP.patch | 730 + ...m-vc4-Set-up-SCALER_DISPCTRL-at-boot.patch | 58 + ...ort-for-feeding-DSI-encoders-from-th.patch | 113 + .../950-0173-drm-vc4-Add-DSI-driver.patch | 1817 + ...le-VEC-unless-vc4-kms-v3d-is-present.patch | 37 + ...he-primary-and-cursor-planes-in-fkms.patch | 24 + ...DEBUG_ATOMIC-for-the-insides-of-fkms.patch | 69 + ...ing-of-page-flip-completion-events-i.patch | 42 + ...user-BO-creation-requests-from-the-k.patch | 53 + ...es-from-trying-to-cache-a-partially-.patch | 34 + ...t-boot-that-CMA-doesn-t-cross-a-256M.patch | 79 + ...T-Add-SMSC-ethernet-controller-to-DT.patch | 57 + ...Mark-used-PLLs-and-dividers-CRITICAL.patch | 28 + ...lk-bcm2835-Add-claim-clocks-property.patch | 133 + ...50-0188-Add-ads1015-driver-to-config.patch | 52 + ...-0189-config-add-slcan-kernel-module.patch | 31 + ...t-for-Dion-Audio-LOCO-V2-DAC-AMP-HAT.patch | 251 + ...Add-LOCO-V2-overlay-from-last-commit.patch | 62 + ...ort-for-Fe-Pi-audio-sound-card.-1867.patch | 333 + ...93-Add-overlay-for-ads1115-ADCs-1864.patch | 159 + ...clk-bcm2835-Correct-the-prediv-logic.patch | 27 + ...0195-amba_pl011-Round-input-clock-up.patch | 86 + ...ure-H264-header-bytes-get-a-sensible.patch | 87 + ...rectly-denote-key-frames-in-encoded-.patch | 24 + ...-Driver-for-GPIO-expander-via-mailbo.patch | 405 + ...9-BCM270X_DT-Add-bcm2708-rpi-0-w.dts.patch | 225 + .../950-1000-mfd-rpisense-disable.patch | 10 + ...50-1001-sound-soc-rpi-cirrus-disable.patch | 10 + target/linux/brcm47xx/Makefile | 28 + .../brcm47xx/base-files/etc/board.d/01_detect | 191 + 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 | 12 + .../base-files/lib/upgrade/platform.sh | 155 + target/linux/brcm47xx/config-4.4 | 196 + target/linux/brcm47xx/config-4.9 | 200 + .../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 | 7 + target/linux/brcm47xx/image/Makefile | 994 + .../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 | 77 + .../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 | 160 + .../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 | 8 + 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 | 7 + target/linux/brcm47xx/modules.mk | 24 + ...XX-Add-Luxul-devices-to-the-database.patch | 246 + .../brcm47xx/patches-4.4/159-cpu_fixes.patch | 468 + .../patches-4.4/160-kmap_coherent.patch | 78 + .../209-b44-register-adm-switch.patch | 121 + .../patches-4.4/210-b44_phy_fix.patch | 54 + .../280-activate_ssb_support_in_usb.patch | 25 + .../patches-4.4/300-fork_cacheflush.patch | 21 + .../patches-4.4/310-no_highpage.patch | 74 + ...47XX-Devices-database-update-for-4.x.patch | 223 + .../400-mtd-bcm47xxpart-get-nvram.patch | 34 + .../patches-4.4/610-pci_ide_fix.patch | 41 + .../patches-4.4/791-tg3-no-pci-sleep.patch | 17 + ...f-serial-flashes-with-smaller-blocks.patch | 73 + .../patches-4.4/820-wgt634u-nvram-fix.patch | 293 + .../patches-4.4/830-huawei_e970_support.patch | 101 + .../patches-4.4/831-old_gpio_wdt.patch | 360 + ...rites-setting-CardBus-bridge-resourc.patch | 30 + ...ch-GPIO-portions-to-use-GPIOLIB_IRQC.patch | 233 + .../patches-4.4/940-bcm47xx-yenta.patch | 46 + .../976-ssb_increase_pci_delay.patch | 11 + .../brcm47xx/patches-4.4/999-wl_exports.patch | 22 + ...XX-Add-Luxul-devices-to-the-database.patch | 246 + .../brcm47xx/patches-4.9/159-cpu_fixes.patch | 468 + .../patches-4.9/160-kmap_coherent.patch | 78 + .../209-b44-register-adm-switch.patch | 121 + .../patches-4.9/210-b44_phy_fix.patch | 54 + .../280-activate_ssb_support_in_usb.patch | 25 + .../patches-4.9/300-fork_cacheflush.patch | 21 + .../patches-4.9/310-no_highpage.patch | 74 + ...47XX-Devices-database-update-for-4.x.patch | 223 + .../400-mtd-bcm47xxpart-get-nvram.patch | 34 + .../patches-4.9/610-pci_ide_fix.patch | 41 + .../patches-4.9/791-tg3-no-pci-sleep.patch | 17 + ...f-serial-flashes-with-smaller-blocks.patch | 73 + .../patches-4.9/820-wgt634u-nvram-fix.patch | 304 + .../patches-4.9/830-huawei_e970_support.patch | 101 + .../patches-4.9/831-old_gpio_wdt.patch | 360 + ...rites-setting-CardBus-bridge-resourc.patch | 30 + ...ch-GPIO-portions-to-use-GPIOLIB_IRQC.patch | 233 + .../patches-4.9/940-bcm47xx-yenta.patch | 46 + .../976-ssb_increase_pci_delay.patch | 11 + .../brcm47xx/patches-4.9/999-wl_exports.patch | 22 + target/linux/brcm63xx/Makefile | 28 + .../brcm63xx/base-files/etc/board.d/01_leds | 84 + .../base-files/etc/board.d/02_network | 151 + target/linux/brcm63xx/base-files/etc/diag.sh | 158 + .../etc/hotplug.d/firmware/10-rt2x00-eeprom | 44 + .../base-files/etc/uci-defaults/09_fix_crc | 43 + .../linux/brcm63xx/base-files/lib/brcm63xx.sh | 304 + .../base-files/lib/preinit/01_do_brcm63xx.sh | 9 + .../base-files/lib/upgrade/platform.sh | 16 + target/linux/brcm63xx/config-4.4 | 260 + target/linux/brcm63xx/dts/a226g.dts | 113 + target/linux/brcm63xx/dts/a226m-fwb.dts | 113 + target/linux/brcm63xx/dts/a226m.dts | 113 + target/linux/brcm63xx/dts/a4001n.dts | 92 + target/linux/brcm63xx/dts/a4001n1.dts | 120 + target/linux/brcm63xx/dts/agpf-s0.dts | 117 + target/linux/brcm63xx/dts/ar-5315u.dts | 106 + target/linux/brcm63xx/dts/ar-5381u.dts | 79 + target/linux/brcm63xx/dts/ar-5387un.dts | 87 + target/linux/brcm63xx/dts/ar1004g.dts | 73 + target/linux/brcm63xx/dts/av4202n.dts | 90 + target/linux/brcm63xx/dts/bcm3368.dtsi | 105 + target/linux/brcm63xx/dts/bcm6318.dtsi | 186 + target/linux/brcm63xx/dts/bcm63268.dtsi | 222 + target/linux/brcm63xx/dts/bcm6328.dtsi | 171 + target/linux/brcm63xx/dts/bcm6338.dtsi | 91 + target/linux/brcm63xx/dts/bcm6345.dtsi | 80 + target/linux/brcm63xx/dts/bcm6348.dtsi | 139 + target/linux/brcm63xx/dts/bcm6358.dtsi | 175 + target/linux/brcm63xx/dts/bcm6362.dtsi | 266 + target/linux/brcm63xx/dts/bcm6368.dtsi | 291 + target/linux/brcm63xx/dts/bcm96318ref.dts | 75 + .../linux/brcm63xx/dts/bcm96318ref_p300.dts | 81 + .../linux/brcm63xx/dts/bcm963268bu_p300.dts | 51 + target/linux/brcm63xx/dts/bcm963269bhr.dts | 59 + target/linux/brcm63xx/dts/bcm963281TAN.dts | 61 + target/linux/brcm63xx/dts/bcm96328avng.dts | 66 + target/linux/brcm63xx/dts/bcm96338GW.dts | 46 + target/linux/brcm63xx/dts/bcm96338W.dts | 46 + target/linux/brcm63xx/dts/bcm96345GW2.dts | 20 + target/linux/brcm63xx/dts/bcm96348GW-10.dts | 65 + target/linux/brcm63xx/dts/bcm96348GW-11.dts | 65 + target/linux/brcm63xx/dts/bcm96348GW.dts | 65 + target/linux/brcm63xx/dts/bcm96348R.dts | 51 + target/linux/brcm63xx/dts/bcm96358VW.dts | 46 + target/linux/brcm63xx/dts/bcm96358VW2.dts | 42 + target/linux/brcm63xx/dts/bcm96368MVNgr.dts | 51 + target/linux/brcm63xx/dts/bcm96368MVWG.dts | 51 + target/linux/brcm63xx/dts/cpva502plus.dts | 69 + target/linux/brcm63xx/dts/cpva642.dts | 101 + target/linux/brcm63xx/dts/ct-5365.dts | 83 + target/linux/brcm63xx/dts/ct-6373.dts | 99 + target/linux/brcm63xx/dts/ct536plus.dts | 69 + target/linux/brcm63xx/dts/cvg834g.dts | 46 + target/linux/brcm63xx/dts/dg834g_v4.dts | 77 + target/linux/brcm63xx/dts/dg834gtpn.dts | 81 + target/linux/brcm63xx/dts/dgnd3700v1.dts | 171 + target/linux/brcm63xx/dts/dsl-2640b-b.dts | 77 + target/linux/brcm63xx/dts/dsl-2640u.dts | 56 + target/linux/brcm63xx/dts/dsl-2650u.dts | 58 + target/linux/brcm63xx/dts/dsl-274xb-c.dts | 76 + target/linux/brcm63xx/dts/dsl-274xb-f.dts | 107 + target/linux/brcm63xx/dts/dsl-275xb-d.dts | 121 + target/linux/brcm63xx/dts/dv-201amr.dts | 41 + target/linux/brcm63xx/dts/dva-g3810bn_tl.dts | 76 + target/linux/brcm63xx/dts/evg2000.dts | 112 + target/linux/brcm63xx/dts/f5d7633.dts | 81 + target/linux/brcm63xx/dts/fast2404.dts | 41 + target/linux/brcm63xx/dts/fast2504n.dts | 96 + target/linux/brcm63xx/dts/fast2604.dts | 77 + target/linux/brcm63xx/dts/fast2704n.dts | 121 + target/linux/brcm63xx/dts/fast2704v2.dts | 105 + target/linux/brcm63xx/dts/gw6000.dts | 55 + target/linux/brcm63xx/dts/gw6200.dts | 76 + target/linux/brcm63xx/dts/hg520v.dts | 59 + target/linux/brcm63xx/dts/hg553.dts | 98 + target/linux/brcm63xx/dts/hg556a-a.dts | 130 + target/linux/brcm63xx/dts/hg556a-b.dts | 130 + target/linux/brcm63xx/dts/hg556a-c.dts | 125 + target/linux/brcm63xx/dts/hg622.dts | 86 + target/linux/brcm63xx/dts/hg655b.dts | 107 + target/linux/brcm63xx/dts/homehub2a.dts | 157 + target/linux/brcm63xx/dts/livebox-blue-5g.dts | 77 + target/linux/brcm63xx/dts/magic.dts | 81 + target/linux/brcm63xx/dts/nb4-fxc-r1.dts | 105 + target/linux/brcm63xx/dts/nb4-ser-r0.dts | 105 + target/linux/brcm63xx/dts/nb6-ser-r0.dts | 84 + target/linux/brcm63xx/dts/p870hw-51a-v2.dts | 86 + target/linux/brcm63xx/dts/r1000h.dts | 93 + target/linux/brcm63xx/dts/r5010unv2.dts | 101 + target/linux/brcm63xx/dts/rg100a.dts | 58 + target/linux/brcm63xx/dts/rta1025w.dts | 41 + target/linux/brcm63xx/dts/rta1320.dts | 58 + target/linux/brcm63xx/dts/rta770bw.dts | 74 + target/linux/brcm63xx/dts/rta770w.dts | 74 + target/linux/brcm63xx/dts/spw303v.dts | 85 + target/linux/brcm63xx/dts/spw500v.dts | 81 + target/linux/brcm63xx/dts/td-w8900gb.dts | 81 + target/linux/brcm63xx/dts/usr9108.dts | 54 + target/linux/brcm63xx/dts/v2110.dts | 80 + target/linux/brcm63xx/dts/v2500v-bb.dts | 80 + target/linux/brcm63xx/dts/vg50.dts | 51 + target/linux/brcm63xx/dts/vh4032n.dts | 102 + target/linux/brcm63xx/dts/vr-3025u.dts | 82 + target/linux/brcm63xx/dts/vr-3025un.dts | 82 + target/linux/brcm63xx/dts/vr-3026e.dts | 82 + target/linux/brcm63xx/dts/wap-5813n.dts | 143 + target/linux/brcm63xx/generic/target.mk | 7 + target/linux/brcm63xx/image/Makefile | 182 + .../brcm63xx/image/README.images-bcm63xx | 127 + target/linux/brcm63xx/image/bcm63xx.mk | 1138 + .../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 + ...d-get-set-of_node-flash_node-helpers.patch | 78 + ...device-tree-node-directly-from-maste.patch | 74 + ...-mtd-nand-spi-nor-assign-MTD-of_node.patch | 37 + ...-nand-convert-to-nand_set_flash_node.patch | 72 + ...vert-to-spi_nor_-get-set-_flash_node.patch | 79 + ...op-unnecessary-partition-parser-data.patch | 725 + ...op-unnecessary-partition-parser-data.patch | 83 + ...08-mtd-spi-nor-drop-flash_node-field.patch | 57 + ...op-unnecessary-partition-parser-data.patch | 195 + ...t-drop-of_node-partition-parser-data.patch | 61 + ...ssign-parent-for-the-concatenated-MT.patch | 27 + ...pose-master-transfer-size-limitation.patch | 51 + ...gpio-add-a-data-pointer-to-gpio_chip.patch | 121 + ...generic-factor-into-gpio_chip-struct.patch | 2586 + ...pis-for-gpiochip_add_data-and-gpioch.patch | 115 + ..._-apis-for-pinctrl_-register-unregis.patch | 108 + ...inctrl_utils_dt_free_map-to-pinctrl_.patch | 59 + ...or-change-return-value-of-read-write.patch | 149 + ...n-amount-of-data-transferred-or-erro.patch | 91 + ...return-amount-of-data-read-written-o.patch | 72 + ...turn-amount-of-data-transferred-or-e.patch | 51 + ...pi-nor-check-return-value-from-write.patch | 118 + ...d-spi-nor-stop-passing-around-retlen.patch | 266 + ...8-08-mtd-spi-nor-simplify-write-loop.patch | 103 + ...000-4.8-09-mtd-spi-nor-add-read-loop.patch | 54 + ...read-in-spi_max_transfer_size-chunks.patch | 26 + ...-max_message_size-hook-in-spi_master.patch | 73 + ...ider-max-message-size-in-m25p80_read.patch | 30 + ...ve-WARN_ONCE-message-in-spi_nor_writ.patch | 33 + ...-spi-subsystem-aware-of-message-size.patch | 42 + ...cm63xx-document-device-tree-bindings.patch | 50 + ...support-for-probing-through-devicetr.patch | 98 + ...i-allow-providing-clock-rate-through.patch | 35 + ...-hsspi-document-device-tree-bindings.patch | 51 + ...i-add-support-for-probing-through-de.patch | 76 + ...-signal-source-assignment-for-high-l.patch | 34 + ...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 | 137 + ...ister-EHCI-controller-if-board-enabl.patch | 36 + ...I-controller-does-not-support-overcu.patch | 24 + ...XX-allow-NULL-clock-for-clk_get_rate.patch | 48 + .../120-mtdpart_fixup_generic_partprobe.patch | 13 + .../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 | 432 + ...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 + ...low-limiting-ports-for-ehci-platform.patch | 66 + ...e-device-registration-code-into-its-.patch | 492 + ...s-a-mac-addresss-allocator-to-board-.patch | 100 + .../patches-4.4/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 + ...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 | 726 + ...CM63XX-add-pcie-support-for-BCM63268.patch | 55 + ...MIPS-BCM63XX-add-support-for-BCM6318.patch | 675 + ...IPS-BCM63XX-split-PCIe-reset-signals.patch | 156 + ...BCM63XX-add-PCIe-support-for-BCM6318.patch | 342 + ...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 | 56 + .../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 | 95 + ...ow-board-implementations-to-force-fl.patch | 61 + ...e-fallback-sprom-support-into-its-ow.patch | 188 + ...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 + ...-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 | 216 + ...t-use-named-gpio-for-ephy-reset-gpio.patch | 46 + ...-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 + ...81-net-bcm63xx_enet-fully-reset-ephy.patch | 28 + ...-add-a-pincontrol-driver-for-BCM6318.patch | 609 + .../383-bcm63xx_select_pinctrl.patch | 65 + ...63XX-do-not-register-SPI-controllers.patch | 35 + .../patches-4.4/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 | 169 + ...enable-rgmii-clock-on-external-ports.patch | 53 + ...CM63XX-Register-SPI-flash-if-present.patch | 161 + ...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 | 238 + ...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 + ...-bcm63xxpart_parse_paritions_from_dt.patch | 314 + .../patches-4.4/427-boards_probe_switch.patch | 119 + ...low_better_context_for_board_patches.patch | 56 + .../brcm63xx/patches-4.4/500-board-D4PW.patch | 41 + .../brcm63xx/patches-4.4/501-board-NB4.patch | 83 + .../patches-4.4/502-board-96338W2_E7T.patch | 39 + .../patches-4.4/503-board-CPVA642.patch | 45 + .../504-board_dsl_274xb_rev_c.patch | 42 + .../patches-4.4/505-board_spw500v.patch | 64 + .../patches-4.4/506-board_gw6200_gw6000.patch | 87 + .../patches-4.4/507-board-MAGIC.patch | 59 + .../patches-4.4/508-board_hw553.patch | 53 + .../patches-4.4/509-board_rta1320_16m.patch | 40 + .../patches-4.4/510-board_spw303v.patch | 40 + .../patches-4.4/511-board_V2500V.patch | 93 + .../patches-4.4/512-board_BTV2110.patch | 44 + ...BCM63XX-add-inventel-Livebox-support.patch | 224 + .../patches-4.4/514-board_ct536_ct5621.patch | 54 + .../patches-4.4/515-board_DWV-S0_fixes.patch | 19 + .../patches-4.4/516-board_96348A-122.patch | 50 + .../517-RTA1205W_16_uart_fixes.patch | 10 + .../patches-4.4/519_board_CPVA502plus.patch | 53 + ...63xx-add-support-for-96368MVWG-board.patch | 119 + ...3xx-add-support-for-96368MVNgr-board.patch | 74 + ...CM63XX-add-96328avng-reference-board.patch | 45 + ...CM63XX-add-963281TAN-reference-board.patch | 69 + .../524-board_dsl_274xb_rev_f.patch | 81 + .../patches-4.4/525-board_96348w3.patch | 44 + .../patches-4.4/526-board_CT6373-1.patch | 50 + .../527-board_dva-g3810bn-tl-1.patch | 55 + .../brcm63xx/patches-4.4/528-board_nb6.patch | 58 + .../patches-4.4/529-board_fast2604.patch | 42 + .../patches-4.4/530-board_A4001N1.patch | 69 + .../patches-4.4/531-board_AR-5387un.patch | 98 + .../patches-4.4/532-board_AR-5381u.patch | 80 + .../patches-4.4/533-board_rta770bw.patch | 41 + .../patches-4.4/534-board_hw556.patch | 126 + .../patches-4.4/535-board_rta770w.patch | 46 + .../patches-4.4/536-board_fast2704.patch | 75 + .../patches-4.4/537-board_fast2504n.patch | 68 + ...MIPS-BCM63XX-remove-leds-and-buttons.patch | 343 + .../patches-4.4/555-board_96318ref.patch | 79 + .../patches-4.4/556-board_96318ref_p300.patch | 70 + .../patches-4.4/557-board_bcm963269bhr.patch | 73 + .../patches-4.4/558-board_AR1004G.patch | 49 + .../patches-4.4/559-board_vw6339gu.patch | 72 + .../patches-4.4/560-board_963268gu_p300.patch | 85 + .../patches-4.4/561-board_WAP-5813n.patch | 76 + .../patches-4.4/562-board_VR-3025u.patch | 79 + .../patches-4.4/563-board_VR-3025un.patch | 79 + .../patches-4.4/564-board_P870HW-51a_v2.patch | 68 + .../patches-4.4/565-board_hw520.patch | 56 + .../patches-4.4/566-board_A4001N.patch | 69 + .../patches-4.4/567-board_dsl-2751b_e1.patch | 94 + .../568-board_DGND3700v1_3800B.patch | 50 + .../patches-4.4/569-board_homehub2a.patch | 51 + .../patches-4.4/570-board_HG655b.patch | 72 + .../patches-4.4/571-board_fast2704n.patch | 65 + .../patches-4.4/572-board_VR-3026e.patch | 79 + .../patches-4.4/573-board_R5010UNv2.patch | 70 + .../patches-4.4/574-board_HG622.patch | 72 + .../patches-4.4/575-board_EVG2000.patch | 62 + .../patches-4.4/576-board_AV4202N.patch | 71 + .../patches-4.4/577-board_VH4032N.patch | 64 + .../patches-4.4/578-board_R1000H.patch | 50 + .../patches-4.4/579-board_AR-5315u.patch | 87 + .../brcm63xx/patches-4.4/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 | 31 + target/linux/cns3xxx/config-4.9 | 306 + .../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 | 1121 + .../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 | 1340 + .../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 | 8 + .../001-arm_openwrt_machtypes.patch | 7 + ...-arm_introduce-dma-fiq-irq-broadcast.patch | 80 + .../patches-4.9/020-watchdog_support.patch | 185 + .../cns3xxx/patches-4.9/025-smp_support.patch | 30 + .../cns3xxx/patches-4.9/030-pcie_clock.patch | 11 + .../cns3xxx/patches-4.9/040-fiq_support.patch | 40 + .../cns3xxx/patches-4.9/045-twd_base.patch | 43 + .../cns3xxx/patches-4.9/055-pcie_io.patch | 19 + .../cns3xxx/patches-4.9/060-pcie_abort.patch | 109 + .../patches-4.9/065-pcie_skip_inactive.patch | 11 + .../cns3xxx/patches-4.9/070-i2c_support.patch | 31 + .../cns3xxx/patches-4.9/075-spi_support.patch | 51 + .../patches-4.9/080-sata_support.patch | 26 + .../cns3xxx/patches-4.9/090-timers.patch | 103 + .../093-add-virt-pci-io-mapping.patch | 41 + .../patches-4.9/095-gpio_support.patch | 67 + .../097-l2x0_cmdline_disable.patch | 69 + .../patches-4.9/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 + .../patches-4.9/200-broadcom_phy_reinit.patch | 14 + .../patches-4.9/210-dwc2_defaults.patch | 47 + target/linux/gemini/Makefile | 23 + .../lib/preinit/05_set_ether_mac_gemini | 13 + target/linux/gemini/config-4.4 | 165 + .../arch/arm/mach-gemini/include/mach/gmac.h | 21 + .../gemini/files/arch/arm/mach-gemini/pci.c | 318 + .../gemini/files/drivers/ata/pata_gemini.c | 234 + .../files/drivers/net/ethernet/gemini/Kconfig | 31 + .../drivers/net/ethernet/gemini/Makefile | 5 + .../drivers/net/ethernet/gemini/sl351x.c | 2340 + .../drivers/net/ethernet/gemini/sl351x_hw.h | 1436 + .../files/drivers/usb/host/ehci-fotg2.c | 258 + .../files/drivers/watchdog/gemini_wdt.c | 378 + target/linux/gemini/image/ImageInfo-ib4220 | 19 + target/linux/gemini/image/Makefile | 87 + .../gemini/patches-4.4/050-gpio-to-irq.patch | 21 + .../gemini/patches-4.4/060-cache-fa.patch | 41 + .../110-watchdog-add-gemini_wdt-driver.patch | 29 + .../111-arm-gemini-add-watchdog-device.patch | 33 + ...arm-gemini-register-watchdog-devices.patch | 40 + .../120-net-add-gemini-gmac-driver.patch | 20 + .../121-arm-gemini-add-gmac-device.patch | 85 + .../122-arm-gemini-register-ethernet.patch | 227 + .../130-usb-ehci-add-fot2g-driver.patch | 133 + .../131-arm-gemini-add-usb-device.patch | 77 + .../132-arm-gemini-register-usb.patch | 65 + .../140-arm-gemini-add-pci-support.patch | 66 + .../gemini/patches-4.4/150-gemini-pata.patch | 192 + target/linux/gemini/raidsonic/config-default | 5 + target/linux/gemini/raidsonic/target.mk | 17 + target/linux/gemini/wiligear/target.mk | 10 + target/linux/generic/PATCHES | 20 + ...dcode-path-to-awk-in-scripts-ld-vers.patch | 29 + .../011-kbuild-export-SUBARCH.patch | 23 + .../020-backport_netfilter_rtcache.patch | 543 + .../021-bridge-multicast-to-unicast.patch | 499 + ...rsion-of-alloc_etherdev_mqs-function.patch | 69 + ...kb_cow_head-to-deal-with-cloned-skbs.patch | 40 + ...kb_cow_head-to-deal-with-cloned-skbs.patch | 36 + ...skb_cow_head-to-deal-with-cloned-skb.patch | 35 + ...kb_cow_head-to-deal-with-cloned-skbs.patch | 37 + ...kb_cow_head-to-deal-with-cloned-skbs.patch | 38 + ...kb_cow_head-to-deal-with-cloned-skbs.patch | 38 + ...kb_cow_head-to-deal-with-cloned-skbs.patch | 43 + ...imit-and-delta-fields-from-struct-ub.patch | 82 + ...writeback_interval-value-for-wbuf-ti.patch | 66 + ...50-usb-dwc2-Remove-unnecessary-kfree.patch | 24 + ...flash-use-platform_-set-get-_drvdata.patch | 63 + ...h-support-reading-flash-out-of-mappi.patch | 81 + ...move-TRX-parsing-code-to-separated-f.patch | 180 + ...support-layouts-with-multiple-TRX-pa.patch | 112 + ...Macronix-mx25u25635f-to-list-of-know.patch | 22 + ...mtd-spi-nor-fix-spansion-quad-enable.patch | 42 + ...-mtd-spi-nor-fix-flags-for-s25fl128s.patch | 28 + ...td-spi-nor-add-support-for-s25fl208k.patch | 23 + ...-Add-at25df321-spi-nor-flash-support.patch | 26 + ...mtd-spi-nor-Add-support-for-N25Q016A.patch | 29 + ...-mtd-spi-nor-Add-support-for-mr25h40.patch | 25 + ...Add-support-for-S3AN-spi-nor-devices.patch | 312 + ...spi-nor-improve-macronix_quad_enable.patch | 28 + ...ve-WARN_ONCE-message-in-spi_nor_writ.patch | 33 + ...me-SPINOR_OP_-macros-of-the-4-byte-a.patch | 187 + ...a-stateless-method-to-support-memory.patch | 150 + ...Add-lock-unlock-support-for-f25l32pa.patch | 26 + ...-nor-Fix-S3AN-addressing-calculation.patch | 35 + ...-mtd-spi-nor-Add-support-for-gd25q16.patch | 28 + ...le-stateless-4b-op-codes-for-mx25u25.patch | 29 + ...td-introduce-function-max_bad_blocks.patch | 73 + ...n-device-node-to-mtd-partition-devic.patch | 50 + ...itioning-on-devices-with-0-erasesize.patch | 77 + ...tions-factor-out-code-calling-parser.patch | 68 + ...ns-add-helper-for-deleting-partition.patch | 119 + ...emove-sysfs-files-when-deleting-all-.patch | 45 + ...ename-master-to-the-parent-where-app.patch | 606 + ...itions-add-support-for-subpartitions.patch | 96 + ...ns-add-support-for-partition-parsers.patch | 110 + ...parser-out-of-bcm47xxpart-into-a-sep.patch | 320 + .../backport-4.9/070-bcma-from-4.11.patch | 85 + ...te-struct-bgmac-just-once-don-t-copy.patch | 139 + ...truct-bcma_mdio-we-don-t-need-anymor.patch | 261 + ...e-PHY-subsystem-for-initializing-PHY.patch | 53 + .../backport-4.9/072-bcma-from-4.12.patch | 47 + ...-Update-Auxiliary-Control-Register-m.patch | 34 + ...y-broadcom-Add-support-for-BCM54612E.patch | 94 + ...phy-broadcom-add-bcm54xx_auxctl_read.patch | 41 + ...-phy-broadcom-Add-BCM54810-PHY-entry.patch | 176 + ...-Move-bcm54xx_auxctl_-read-write-to-.patch | 74 + ...m-Allow-enabling-or-disabling-of-EEE.patch | 87 + ...-Add-support-code-for-reading-PHY-co.patch | 125 + ...et-phy-bcm7xxx-Add-entry-for-BCM7278.patch | 38 + ...-Implement-EGPHY-workaround-for-7278.patch | 68 + ...-use-auxctl-reading-helper-in-BCM546.patch | 45 + ...y-broadcom-add-support-for-BCM54210E.patch | 89 + ...adcom-rehook-BCM54612E-specific-init.patch | 121 + ...-variants-of-LED-registering-functio.patch | 120 + ...-variant-of-LED-registering-function.patch | 60 + ...5-add-thermal-driver-for-bcm2835-SoC.patch | 365 + ...roadcom-add-Northstar-thermal-driver.patch | 173 + ...B-ports-from-DT-in-the-usbport-LED-t.patch | 106 + .../087-regmap-make-LZO-cache-optional.patch | 69 + target/linux/generic/config-3.18 | 4656 + target/linux/generic/config-4.4 | 4857 + target/linux/generic/config-4.9 | 5281 + .../Documentation/networking/adm6996.txt | 110 + .../files/arch/mips/fw/myloader/Makefile | 5 + .../files/arch/mips/fw/myloader/myloader.c | 63 + .../files/drivers/leds/ledtrig-netdev.c | 444 + .../generic/files/drivers/misc/owl-loader.c | 246 + .../files/drivers/mtd/mtdsplit/Kconfig | 71 + .../files/drivers/mtd/mtdsplit/Makefile | 12 + .../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 | 96 + .../files/drivers/mtd/mtdsplit/mtdsplit_fit.c | 141 + .../drivers/mtd/mtdsplit/mtdsplit_lzma.c | 96 + .../drivers/mtd/mtdsplit/mtdsplit_minor.c | 117 + .../drivers/mtd/mtdsplit/mtdsplit_seama.c | 110 + .../drivers/mtd/mtdsplit/mtdsplit_squashfs.c | 72 + .../drivers/mtd/mtdsplit/mtdsplit_tplink.c | 169 + .../files/drivers/mtd/mtdsplit/mtdsplit_trx.c | 147 + .../drivers/mtd/mtdsplit/mtdsplit_uimage.c | 361 + .../drivers/mtd/mtdsplit/mtdsplit_wrgg.c | 109 + .../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 | 2355 + .../generic/files/drivers/net/phy/ar8216.h | 646 + .../generic/files/drivers/net/phy/ar8327.c | 1484 + .../generic/files/drivers/net/phy/ar8327.h | 340 + .../generic/files/drivers/net/phy/b53/Kconfig | 37 + .../files/drivers/net/phy/b53/Makefile | 10 + .../files/drivers/net/phy/b53/b53_common.c | 1721 + .../files/drivers/net/phy/b53/b53_mdio.c | 436 + .../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 | 339 + .../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 | 947 + .../generic/files/drivers/net/phy/mvsw61xx.h | 292 + .../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 | 1059 + .../files/drivers/net/phy/rtl8366_smi.c | 1481 + .../files/drivers/net/phy/rtl8366_smi.h | 155 + .../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 | 1613 + .../generic/files/drivers/net/phy/swconfig.c | 1236 + .../files/drivers/net/phy/swconfig_leds.c | 439 + .../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 + .../files/include/linux/platform_data/b53.h | 36 + .../generic/files/include/linux/routerboot.h | 106 + .../files/include/linux/rt2x00_platform.h | 23 + .../generic/files/include/linux/rtl8366.h | 40 + .../generic/files/include/linux/rtl8367.h | 60 + .../generic/files/include/linux/switch.h | 179 + .../generic/files/include/uapi/linux/switch.h | 119 + ...-linux-kernel-to-support-shortcut-fe.patch | 145 + ...ridge-APIs-needed-for-network-HW-acc.patch | 74 + ...k-events-support-multiple-registrant.patch | 318 + .../hack-4.9/202-reduce_module_size.patch | 24 + .../generic/hack-4.9/204-module_strip.patch | 204 + .../hack-4.9/207-disable-modorder.patch | 44 + .../hack-4.9/210-darwin_scripts_include.patch | 3065 + .../hack-4.9/211-host_tools_portability.patch | 40 + .../hack-4.9/212-byteshift_portability.patch | 65 + .../hack-4.9/214-spidev_h_portability.patch | 24 + .../generic/hack-4.9/220-gc_sections.patch | 421 + .../generic/hack-4.9/221-module_exports.patch | 101 + .../hack-4.9/230-openwrt_lzma_options.patch | 71 + .../hack-4.9/250-netfilter_depends.patch | 27 + .../generic/hack-4.9/251-sound_kconfig.patch | 195 + .../generic/hack-4.9/259-regmap_dynamic.patch | 104 + .../260-crypto_test_dependencies.patch | 62 + .../generic/hack-4.9/280-rfkill-stubs.patch | 94 + .../301-mips_image_cmdline_hack.patch | 38 + .../321-powerpc_crtsavres_prereq.patch | 26 + .../generic/hack-4.9/531-debloat_lzma.patch | 1040 + .../640-bridge-only-accept-EAP-locally.patch | 32 + .../hack-4.9/641-bridge_port_isolate.patch | 76 + .../hack-4.9/651-wireless_mesh_header.patch | 24 + .../hack-4.9/660-fq_codel_defaults.patch | 21 + .../661-use_fq_codel_by_default.patch | 94 + .../hack-4.9/662-remove_pfifo_fast.patch | 159 + .../700-swconfig_switch_drivers.patch | 138 + .../702-phy_add_aneg_done_function.patch | 27 + ...710-phy-add-mdio_register_board_info.patch | 197 + .../generic/hack-4.9/721-phy_packets.patch | 176 + .../hack-4.9/773-bgmac-add-srab-switch.patch | 98 + .../hack-4.9/835-misc-owl_loader.patch | 52 + .../hack-4.9/901-debloat_sock_diag.patch | 95 + .../generic/hack-4.9/902-debloat_proc.patch | 405 + .../hack-4.9/904-debloat_dma_buf.patch | 64 + .../generic/hack-4.9/910-kobject_uevent.patch | 32 + .../911-kobject_add_broadcast_uevent.patch | 76 + ...ays-create-console-node-in-initramfs.patch | 40 + .../linux/generic/hack-4.9/930-crashlog.patch | 338 + ...-linux-kernel-to-support-shortcut-fe.patch | 140 + ...ridge-APIs-needed-for-network-HW-acc.patch | 74 + ...k-events-support-multiple-registrant.patch | 345 + 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 + .../pending-3.18/001-mtdsplit_backport.patch | 142 + .../002-phy_drivers_backport.patch | 552 + .../pending-3.18/003-myloader_backport.patch | 11 + .../generic/pending-3.18/020-ssb_update.patch | 134 + .../generic/pending-3.18/021-ssb_sprom.patch | 32 + .../pending-3.18/025-bcma_backport.patch | 286 + .../pending-3.18/026-bcma-from-3.20.patch | 527 + .../pending-3.18/027-bcma-from-4.1.patch | 680 + .../pending-3.18/028-bcma-from-4.2.patch | 86 + .../pending-3.18/029-bcma-from-4.4.patch | 26 + .../030-backport_bcm47xx_nvram.patch | 52 + ...11-Allow-set-network-namespace-by-fd.patch | 21 + .../pending-3.18/031-bcma-from-4.5.patch | 49 + .../pending-3.18/032-bcma-from-4.6.patch | 716 + ...-mtd-bcm47xxpart-backports-from-3.19.patch | 50 + ...-mtd-bcm47xxpart-backports-from-3.20.patch | 95 + ...GD25Q128B_support_backport_from_3.19.patch | 15 + .../044-backport-m25p80-jedec-probe.patch | 39 + .../050-backport_netfilter_rtcache.patch | 509 + ...ting-hash_max-multicast_router-if-in.patch | 99 + .../060-mips_decompressor_memmove.patch | 22 + ...gmac-register-napi-before-the-device.patch | 44 + ...rqs-only-if-there-is-nothing-to-poll.patch | 30 + ...-initialization-on-Northstar-SoCs-co.patch | 40 + .../073-bgmac-Clean-warning-messages.patch | 50 + ...ixed-PHY-for-ARM-BCM470X-BCM5301X-ch.patch | 76 + ...mac-allow-enabling-on-ARCH_BCM_5301X.patch | 28 + ...76-net-phy-export-fixed_phy_register.patch | 30 + ...scriptor-frame-start-end-definitions.patch | 24 + ...gmac-implement-GRO-and-use-build_skb.patch | 189 + ...mac-implement-scatter-gather-support.patch | 267 + ...gmac-simplify-tx-ring-index-handling.patch | 125 + ...rrupts-disabled-as-long-as-there-is-.patch | 87 + ...received-skb-headroom-to-NET_SKB_PAD.patch | 66 + ...bgmac-simplify-rx-DMA-error-handling.patch | 130 + ...gmac-add-check-for-oversized-packets.patch | 27 + ...ncrease-rx-ring-size-from-511-to-512.patch | 23 + ...7-10-bgmac-simplify-dma-init-cleanup.patch | 184 + .../077-11-bgmac-fix-DMA-rx-corruption.patch | 88 + .../077-12-bgmac-drop-ring-num_slots.patch | 132 + ...enable-Ethernet-core-before-using-it.patch | 31 + ...fix-MAC-soft-reset-bit-for-corerev-4.patch | 34 + ...c-net-fib_trie-when-CONFIG_IP_MULTIP.patch | 46 + ...e-balancing-issue-if-new-node-pushes.patch | 72 + ...usage-stats-to-be-percpu-instead-of-.patch | 200 + ...rie-Make-leaf-and-tnode-more-uniform.patch | 421 + ...node_free-and-leaf_free-into-node_fr.patch | 209 + ...80-05-fib_trie-Merge-leaf-into-tnode.patch | 928 + ...e-fib_table_lookup-to-avoid-wasting-.patch | 343 + ...0-07-fib_trie-Optimize-fib_find_node.patch | 64 + ...8-fib_trie-Optimize-fib_table_insert.patch | 276 + ...meaning-of-pos-to-represent-unchecke.patch | 346 + ...igned-long-for-anything-dealing-with.patch | 186 + ...Push-rcu_read_lock-unlock-to-callers.patch | 403 + ...e-Move-resize-to-after-inflate-halve.patch | 345 + ...ctions-should_inflate-and-should_hal.patch | 250 + ...signment-of-child-to-parent-down-int.patch | 336 + ...tnode-flushing-down-to-inflate-halve.patch | 237 + ...-halve-nodes-in-a-more-RCU-friendly-.patch | 345 + ...checks-for-index-tnode_child_length-.patch | 95 + ...Add-tracking-value-for-suffix-length.patch | 234 + ...ex-0ul-n-bits-instead-of-index-n-bit.patch | 52 + ...-bug-and-merge-similar-bits-of-infla.patch | 267 + ...ck-to-slen-update-on-inflate-halve-f.patch | 61 + ...llapse-and-should_collapse-to-resize.patch | 206 + ...ty_children-instead-of-counting-empt.patch | 34 + ...b_find_alias-to-file-where-it-is-use.patch | 79 + ...-Various-clean-ups-for-handling-slen.patch | 116 + ...eue-to-die-properly-when-a-PADT-is-r.patch | 89 + ...02-pppoe-Lacks-DST-MAC-address-check.patch | 25 + ...poe-device-in-pppoe_unbind_sock_work.patch | 28 + ..._state-to-PPPOX_ZOMBIE-in-pppoe_disc.patch | 45 + ...ppp-remove-PPPOX_ZOMBIE-socket-state.patch | 51 + ...ry-corruption-in-padt-work-structure.patch | 82 + ...ment-fix-headroom-tests-and-skb-leak.patch | 101 + ...ncrease-headroom-on-received-packets.patch | 54 + .../087-regmap-make-LZO-cache-optional.patch | 67 + ...layfs-fallback-to-readonly-when-full.patch | 109 + ...i-nor-add-support-Spansion_S25FL164K.patch | 10 + ...-if-the-device-is-processing-a-messa.patch | 47 + ...rs-inside-calling-context-for-spi_sy.patch | 184 + ...e-message-pump-in-the-worker-kthread.patch | 83 + ...ility-of-linux-in.h-with-netinet-in..patch | 146 + ...ags-FOLL_WRITE-games-from-__get_user.patch | 90 + ...ing_init-new-hook-for-archs-before-m.patch | 182 + .../pending-3.18/102-ehci_hcd_ignore_oc.patch | 82 + ...ame2-and-add-RENAME_WHITEOUT-support.patch | 86 + ...11-jffs2-add-RENAME_EXCHANGE-support.patch | 58 + ...ge_allow_receiption_on_disabled_port.patch | 54 + .../132-mips_inline_dma_ops.patch | 688 + ...-__arch_swab-16-32-64-when-using-MIP.patch | 53 + ...-generic-parsing-of-linux-part-probe.patch | 175 + ...limit-scanned-flash-area-on-BCM47XX-.patch | 33 + ...part-don-t-fail-because-of-bit-flips.patch | 92 + ...ci-make-USB_XHCI_PLATFORM-selectable.patch | 41 + ...t_for_moving_ndp_to_end_of_ncm_frame.patch | 228 + ...ehci-orion-fix-probe-for-GENERIC_PHY.patch | 35 + ...-support-for-Quectel-EC20-Mini-PCIe-.patch | 114 + ...-quirk-for-Quectel-EC20-Mini-PCIe-mo.patch | 96 + .../pending-3.18/200-fix_localversion.patch | 11 + .../pending-3.18/201-extra_optimization.patch | 14 + .../pending-3.18/202-reduce_module_size.patch | 11 + .../203-kallsyms_uncompressed.patch | 108 + .../pending-3.18/204-module_strip.patch | 190 + .../205-backtrace_module_info.patch | 36 + .../210-darwin_scripts_include.patch | 3088 + .../212-byteshift_portability.patch | 51 + .../213-x86_vdso_portability.patch | 13 + .../214-spidev_h_portability.patch | 11 + .../pending-3.18/220-gc_sections.patch | 531 + .../pending-3.18/221-module_exports.patch | 88 + .../230-openwrt_lzma_options.patch | 58 + .../pending-3.18/250-netfilter_depends.patch | 18 + .../pending-3.18/251-sound_kconfig.patch | 18 + .../pending-3.18/252-mv_cesa_depends.patch | 10 + .../pending-3.18/253-ssb_b43_default_on.patch | 29 + .../254-textsearch_kconfig_hacks.patch | 23 + .../255-lib80211_kconfig_hacks.patch | 31 + .../256-crypto_add_kconfig_prompts.patch | 47 + .../257-wireless_ext_kconfig_hack.patch | 22 + .../258-netfilter_netlink_kconfig_hack.patch | 11 + .../pending-3.18/259-regmap_dynamic.patch | 87 + .../260-crypto_test_dependencies.patch | 37 + ...libc-specific-inclusion-of-sysinfo.h.patch | 34 + ...bc-compat.h-do-not-rely-on-__GLIBC__.patch | 81 + ...prevent-redefinition-of-struct-ethhd.patch | 67 + .../300-mips_expose_boot_raw.patch | 39 + .../301-mips_image_cmdline_hack.patch | 28 + .../302-mips_no_branch_likely.patch | 11 + .../pending-3.18/304-mips_disable_fpu.patch | 105 + .../pending-3.18/305-mips_module_reloc.patch | 356 + .../306-mips_mem_functions_performance.patch | 83 + .../307-mips_highmem_offset.patch | 17 + .../310-arm_module_unresolved_weak_sym.patch | 13 + .../320-ppc4xx_optimization.patch | 31 + .../321-powerpc_crtsavres_prereq.patch | 10 + ...t-command-line-parameters-from-users.patch | 298 + .../400-mtd-add-rootfs-split-support.patch | 171 + ...for-different-partition-parser-types.patch | 113 + ...arsers-for-rootfs-and-firmware-split.patch | 72 + .../403-mtd-hook-mtdsplit-to-Kbuild.patch | 22 + .../404-mtd-add-more-helper-functions.patch | 101 + ...405-mtd-old-firmware-uimage-splitter.patch | 70 + ...406-mtd-old-rootfs-squashfs-splitter.patch | 76 + ...rward-declaration-of-struct-mtd_info.patch | 18 + .../411-mtd-partial_eraseblock_write.patch | 142 + .../412-mtd-partial_eraseblock_unlock.patch | 18 + .../pending-3.18/420-mtd-redboot_space.patch | 30 + ...30-mtd-add-myloader-partition-parser.patch | 35 + ...check-for-bad-blocks-when-calculatin.patch | 100 + ...bcm47xxpart-detect-T_Meter-partition.patch | 42 + .../pending-3.18/440-block2mtd_init.patch | 107 + .../pending-3.18/441-block2mtd_probe.patch | 110 + ...-to-use-platform-specific-chip-fixup.patch | 37 + ...n-code-of-nand_correct_data-function.patch | 11 + ...mtd-cfi_cmdset_0002-no-erase_suspend.patch | 11 + ...et_0002-add-buffer-write-cmd-timeout.patch | 18 + ...add-support-for-Winbond-W25X05-flash.patch | 20 + ...support-for-the-Macronix-MX25L512E-S.patch | 21 + ...support-for-the-ISSI-SI25CD512-SPI-f.patch | 22 + ...mtd-spi-nor-add-macronix-mx25u25635f.patch | 10 + .../480-mtd-set-rootfs-to-be-root-dev.patch | 26 + ...mtd-device-named-ubi-or-data-on-boot.patch | 76 + ...to-create-ubiblock-device-for-rootfs.patch | 69 + ...ting-ubi0-rootfs-in-init-do_mounts.c.patch | 54 + ...ROOT_DEV-to-ubiblock-rootfs-if-unset.patch | 37 + .../494-mtd-ubi-add-EOF-marker-support.patch | 51 + .../530-jffs2_make_lzma_available.patch | 5142 + .../pending-3.18/531-debloat_lzma.patch | 1024 + .../pending-3.18/532-jffs2_eofdetect.patch | 56 + .../550-ubifs-symlink-xattr-support.patch | 55 + ...fs-fix-default-compression-selection.patch | 29 + .../600-netfilter_conntrack_flush.patch | 86 + ...etfilter_match_bypass_default_checks.patch | 84 + ...netfilter_match_bypass_default_table.patch | 94 + ...netfilter_match_reduce_memory_access.patch | 16 + ...-netfilter_optional_tcp_window_check.patch | 36 + .../616-net_optimize_xfrm_calls.patch | 12 + .../pending-3.18/621-sched_act_connmark.patch | 161 + .../pending-3.18/630-packet_socket_type.patch | 134 + .../640-bridge_no_eap_forward.patch | 23 + .../641-bridge_always_accept_eap.patch | 17 + .../642-bridge_port_isolate.patch | 107 + .../645-bridge_multicast_to_unicast.patch | 390 + .../pending-3.18/650-pppoe_header_pad.patch | 20 + .../651-wireless_mesh_header.patch | 11 + .../653-disable_netlink_trim.patch | 30 + .../pending-3.18/655-increase_skb_pad.patch | 11 + .../656-skb_reduce_truesize-helper.patch | 41 + .../657-qdisc_reduce_truesize.patch | 63 + .../pending-3.18/660-fq_codel_defaults.patch | 13 + .../661-fq_codel_keep_dropped_stats.patch | 10 + .../662-use_fq_codel_by_default.patch | 95 + .../pending-3.18/663-remove_pfifo_fast.patch | 143 + ...Add-support-for-MAP-E-FMRs-mesh-mode.patch | 481 + ...urce-specific-default-route-handling.patch | 96 + ...ng-with-source-address-failed-policy.patch | 249 + ...nes-for-_POLICY_FAILED-until-all-cod.patch | 53 + ...T-skip-GRO-for-foreign-MAC-addresses.patch | 160 + .../681-NET-add-of_get_mac_address_mtd.patch | 88 + .../generic/pending-3.18/700-swconfig.patch | 39 + .../pending-3.18/701-phy_extension.patch | 63 + .../702-phy_add_aneg_done_function.patch | 27 + ...detach-callback-to-struct-phy_driver.patch | 27 + .../704-phy-no-genphy-soft-reset.patch | 29 + ...710-phy-add-mdio_register_board_info.patch | 192 + .../pending-3.18/720-phy_adm6996.patch | 26 + .../pending-3.18/721-phy_packets.patch | 161 + .../pending-3.18/722-phy_mvswitch.patch | 23 + .../generic/pending-3.18/723-phy_ip175c.patch | 23 + .../generic/pending-3.18/724-phy_ar8216.patch | 24 + .../pending-3.18/725-phy_rtl8306.patch | 23 + .../pending-3.18/726-phy_rtl8366.patch | 45 + .../pending-3.18/727-phy-rtl8367.patch | 23 + .../pending-3.18/728-phy-rtl8367b.patch | 23 + .../generic/pending-3.18/729-phy-tantos.patch | 21 + .../generic/pending-3.18/730-phy_b53.patch | 21 + .../732-phy-ar8216-led-support.patch | 13 + .../pending-3.18/733-phy_mvsw61xx.patch | 23 + ...-at803x-allow-to-configure-via-pdata.patch | 180 + ...net-phy-at803x-fix-at8033-sgmii-mode.patch | 96 + .../760-8139cp-fixes-from-4.3.patch | 365 + .../773-bgmac-add-srab-switch.patch | 72 + .../785-hso-support-0af0-9300.patch | 25 + .../810-pci_disable_common_quirks.patch | 51 + .../811-pci_disable_usb_common_quirks.patch | 101 + .../pending-3.18/821-usb-dwc2-dualrole.patch | 146 + .../pending-3.18/831-ledtrig_netdev.patch | 21 + .../pending-3.18/834-ledtrig-libata.patch | 153 + .../generic/pending-3.18/840-rtc7301.patch | 250 + .../pending-3.18/841-rtc_pt7c4338.patch | 247 + .../861-04_spi_gpio_implement_spi_delay.patch | 58 + .../pending-3.18/862-gpio_spi_driver.patch | 373 + .../pending-3.18/870-hifn795x_byteswap.patch | 17 + .../890-8250_optional_sysrq.patch | 24 + .../pending-3.18/901-debloat_sock_diag.patch | 65 + .../pending-3.18/902-debloat_proc.patch | 341 + .../pending-3.18/904-debloat_dma_buf.patch | 44 + .../pending-3.18/910-kobject_uevent.patch | 21 + .../911-kobject_add_broadcast_uevent.patch | 65 + .../921-use_preinit_as_init.patch | 12 + ...ays-create-console-node-in-initramfs.patch | 30 + .../generic/pending-3.18/930-crashlog.patch | 276 + ...e-filenames-from-deps_initramfs-list.patch | 29 + .../980-arm_openwrt_machtypes.patch | 32 + .../generic/pending-3.18/990-gpio_wdt.patch | 360 + .../pending-3.18/995-mangle_bootargs.patch | 58 + .../997-device_tree_cmdline.patch | 24 + ...able_wilink_platform_without_drivers.patch | 15 + .../pending-3.18/999-seccomp_log.patch | 34 + .../pending-4.4/001-mtdsplit_backport.patch | 142 + .../002-phy_drivers_backport.patch | 640 + .../pending-4.4/003-myloader_backport.patch | 11 + ...dcode-path-to-awk-in-scripts-ld-vers.patch | 24 + .../pending-4.4/020-bcma-from-4.5.patch | 49 + .../pending-4.4/021-bcma-from-4.6.patch | 761 + .../pending-4.4/022-bcma-from-4.8.patch | 52 + .../pending-4.4/023-bcma-from-4.9.patch | 108 + .../pending-4.4/025-bcma-from-4.11.patch | 85 + .../pending-4.4/026-bcma-from-4.12.patch | 47 + ...kb_cow_head-to-deal-with-cloned-skbs.patch | 40 + ...kb_cow_head-to-deal-with-cloned-skbs.patch | 36 + ...skb_cow_head-to-deal-with-cloned-skb.patch | 35 + ...kb_cow_head-to-deal-with-cloned-skbs.patch | 37 + ...kb_cow_head-to-deal-with-cloned-skbs.patch | 38 + ...kb_cow_head-to-deal-with-cloned-skbs.patch | 38 + ...kb_cow_head-to-deal-with-cloned-skbs.patch | 43 + ...l-add-batch-ability-to-fq_codel_drop.patch | 189 + ...odel-add-memory-limitation-per-queue.patch | 182 + ...fq_codel-fix-memory-limitation-drift.patch | 40 + ...35-fq_codel-fix-NET_XMIT_CN-behavior.patch | 70 + ...ude-mtd.h-header-for-struct-mtd_info.patch | 39 + ...h-use-ioremap_cache-instead-of-KSEG0.patch | 138 + ...endency-for-MTD_BCM47XXSFLASH-symbol.patch | 41 + ...h-use-uncached-MMIO-access-for-BCM53.patch | 59 + ...flash-use-platform_-set-get-_drvdata.patch | 63 + ...h-support-reading-flash-out-of-mappi.patch | 81 + ...move-TRX-parsing-code-to-separated-f.patch | 180 + ...support-layouts-with-multiple-TRX-pa.patch | 112 + ...mx25l3205d-mx25l6405d-append-SECT_4K.patch | 27 + ...80-add-support-for-mmap-read-request.patch | 46 + ...nce-error-output-if-MS_SILENT-is-set.patch | 32 + ...ence-early-error-if-MS_SILENT-is-set.patch | 54 + ...i-nor-backport-SPI_NOR_HAS_LOCK-flag.patch | 47 + .../050-backport_netfilter_rtcache.patch | 531 + ...001-ovl-rename-is_merge-to-is_lowest.patch | 72 + ...ds-with-the-ones-from-the-superblock.patch | 336 + ...1-0005-ovl-proper-cleanup-of-workdir.patch | 131 + .../052-01-ubifs-Implement-O_TMPFILE.patch | 99 + ...2-02-ubifs-Implement-RENAME_WHITEOUT.patch | 343 + ...2-03-ubifs-Implement-RENAME_EXCHANGE.patch | 267 + ...fs-Use-move-variable-in-ubifs_rename.patch | 30 + ...imit-and-delta-fields-from-struct-ub.patch | 82 + ...writeback_interval-value-for-wbuf-ti.patch | 66 + .../060-mips_decompressor_memmove.patch | 22 + ...061-softirq-let-ksoftirqd-do-its-job.patch | 83 + ...bgmac-clarify-CONFIG_BCMA-dependency.patch | 46 + ...-checking-for-BCM4707-BCM53018-chip-.patch | 106 + ...port-Ethernet-device-on-BCM47094-SoC.patch | 39 + ...fix-MAC-soft-reset-bit-for-corerev-4.patch | 34 + ...device-with-backing-device-structure.patch | 25 + ...c-Add-support-for-ethtool-statistics.patch | 175 + ...gmac-Maintain-some-netdev-statistics.patch | 68 + ...ac-use-phydev-from-struct-net_device.patch | 105 + ...ac-change-bgmac_-prints-to-dev_-prin.patch | 407 + ...t-ethernet-bgmac-add-dma_dev-pointer.patch | 112 + ...ac-move-BCMA-MDIO-Phy-code-into-a-se.patch | 676 + ...ernet-bgmac-convert-to-feature-flags.patch | 384 + ...et-bgmac-Add-platform-device-support.patch | 1260 + ...ac-Fix-return-value-check-in-bgmac_p.patch | 26 + ...ac-Remove-redundant-dev_err-call-in-.patch | 42 + ...versed-check-for-MII-registration-er.patch | 28 + ...pport-Ethernet-core-on-BCM53573-SoCs.patch | 161 + ...t-clear-when-setting-interface-type-.patch | 31 + ...-bgmac-Fix-errant-feature-flag-check.patch | 33 + ...pelling-mistake-connecton-connection.patch | 25 + ...versed-checks-for-clock-control-flag.patch | 35 + ...rsion-of-alloc_etherdev_mqs-function.patch | 70 + ...te-struct-bgmac-just-once-don-t-copy.patch | 139 + ...truct-bcma_mdio-we-don-t-need-anymor.patch | 274 + ...e-PHY-subsystem-for-initializing-PHY.patch | 53 + ...ET-PHY-adds-driver-for-lantiq-PHY11G.patch | 537 + ...-phy-update-Broadcom-drivers-to-v4.5.patch | 125 + ...-phy-update-Broadcom-drivers-to-v4.6.patch | 123 + ...ick-Broadcom-drivers-updates-from-v4.patch | 316 + ...adcom-drivers-updates-from-net-next-.patch | 275 + ...celerated-read-support-for-spi-flash.patch | 179 + ...spi_flash_read-callback-for-MMIO-bas.patch | 157 + ...core-let-USB-device-know-device-node.patch | 179 + ...usb_alloc_dev-fix-setting-of-portnum.patch | 108 + ...vm_-clk_hw_-register-unregister-APIs.patch | 182 + ...0002-clk-Add-clk_hw-OF-clk-providers.patch | 234 + ...ore-Introduce-a-USB-port-LED-trigger.patch | 465 + ...-Use-proper-LED-API-to-fix-potential.patch | 70 + ...B-ports-from-DT-in-the-usbport-LED-t.patch | 106 + ...-Set-of_node-for-created-LED-devices.patch | 53 + ...leds-gpio-introduce-gpio_blink_set_t.patch | 61 + ...-to-managed-version-of-led_classdev_.patch | 75 + ...-variants-of-LED-registering-functio.patch | 120 + ...-variant-of-LED-registering-function.patch | 60 + ...al-Add-devm-version-of-thermal_zone_.patch | 143 + ...-export-apis-to-get-slope-and-offset.patch | 101 + ...5-add-thermal-driver-for-bcm2835-SoC.patch | 365 + ...roadcom-add-Northstar-thermal-driver.patch | 173 + ...-fix-compilation-of-Northstar-driver.patch | 19 + .../087-regmap-make-LZO-cache-optional.patch | 69 + ...e-IPI-calls-for-CM-indexed-cache-ops.patch | 317 + ...4k-Exclude-sibling-CPUs-in-SMP-calls.patch | 37 + ...appended-dtb-to-the-end-of-the-kerne.patch | 132 + ...e-appended-dtb-address-in-a-variable.patch | 132 + ...ize-calc-when-avoiding-IPIs-for-smal.patch | 38 + .../096-arc-add-model-property-in-dts.patch | 163 + .../097-MIPS-io.h-Define-ioremap_cache.patch | 29 + ...98-usb-dwc2-Remove-unnecessary-kfree.patch | 24 + ...fix-cache-flushing-for-highmem-pages.patch | 31 + .../pending-4.4/102-ehci_hcd_ignore_oc.patch | 82 + ...e_mem_map-with-ARCH_PFN_OFFSET-calcu.patch | 86 + .../105-add-linux-spidev-compatible.patch | 15 + ..._value_cansleep-for-setting-chipsele.patch | 21 + ...ame2-and-add-RENAME_WHITEOUT-support.patch | 86 + ...11-jffs2-add-RENAME_EXCHANGE-support.patch | 81 + ...ge_allow_receiption_on_disabled_port.patch | 54 + .../pending-4.4/132-mips_inline_dma_ops.patch | 778 + ...-generic-parsing-of-linux-part-probe.patch | 183 + ...support-for-ESMT_f25l32qa-and-ESMT_f.patch | 21 + ...dget-udc-net2280-add-usb2380-support.patch | 253 + ...-serial-console-directly-from-ChipCo.patch | 92 + .../pending-4.4/200-fix_localversion.patch | 11 + .../pending-4.4/201-extra_optimization.patch | 18 + .../pending-4.4/202-reduce_module_size.patch | 11 + .../203-kallsyms_uncompressed.patch | 108 + .../pending-4.4/204-module_strip.patch | 190 + .../205-backtrace_module_info.patch | 36 + .../pending-4.4/206-mips-disable-vdso.patch | 21 + ...-mips-vdso-dbg-rebuild-after-genvdso.patch | 29 + .../pending-4.4/208-disable-modorder.patch | 34 + .../210-darwin_scripts_include.patch | 3088 + .../pending-4.4/211-sign-file-libressl.patch | 16 + .../212-byteshift_portability.patch | 51 + .../214-spidev_h_portability.patch | 11 + .../generic/pending-4.4/220-gc_sections.patch | 536 + .../pending-4.4/221-module_exports.patch | 88 + .../pending-4.4/222-arm_zimage_none.patch | 133 + .../230-openwrt_lzma_options.patch | 58 + .../pending-4.4/250-netfilter_depends.patch | 18 + .../pending-4.4/251-sound_kconfig.patch | 18 + .../pending-4.4/252-mv_cesa_depends.patch | 10 + .../pending-4.4/253-ssb_b43_default_on.patch | 29 + .../254-textsearch_kconfig_hacks.patch | 23 + .../255-lib80211_kconfig_hacks.patch | 31 + .../256-crypto_add_kconfig_prompts.patch | 47 + .../257-wireless_ext_kconfig_hack.patch | 22 + .../258-netfilter_netlink_kconfig_hack.patch | 11 + .../pending-4.4/259-regmap_dynamic.patch | 90 + .../260-crypto_test_dependencies.patch | 48 + ...libc-specific-inclusion-of-sysinfo.h.patch | 34 + ...bc-compat.h-do-not-rely-on-__GLIBC__.patch | 94 + ...prevent-redefinition-of-struct-ethhd.patch | 67 + .../pending-4.4/280-rfkill-stubs.patch | 79 + .../300-mips_expose_boot_raw.patch | 39 + .../301-mips_image_cmdline_hack.patch | 28 + .../302-mips_no_branch_likely.patch | 11 + .../pending-4.4/304-mips_disable_fpu.patch | 106 + .../pending-4.4/305-mips_module_reloc.patch | 355 + .../306-mips_mem_functions_performance.patch | 83 + .../pending-4.4/307-mips_highmem_offset.patch | 17 + .../pending-4.4/308-mips32r2_tune.patch | 17 + .../310-arm_module_unresolved_weak_sym.patch | 13 + .../pending-4.4/320-ppc4xx_optimization.patch | 31 + .../321-powerpc_crtsavres_prereq.patch | 10 + ...t-command-line-parameters-from-users.patch | 298 + ...31-arc-remove-dependency-on-DEVTMPFS.patch | 31 + .../332-arc-add-OWRTDTB-section.patch | 82 + ...able-unaligned-access-in-kernel-mode.patch | 26 + .../400-mtd-add-rootfs-split-support.patch | 113 + ...for-different-partition-parser-types.patch | 113 + ...arsers-for-rootfs-and-firmware-split.patch | 71 + .../403-mtd-hook-mtdsplit-to-Kbuild.patch | 22 + .../404-mtd-add-more-helper-functions.patch | 101 + ...rward-declaration-of-struct-mtd_info.patch | 18 + .../411-mtd-partial_eraseblock_write.patch | 142 + .../412-mtd-partial_eraseblock_unlock.patch | 18 + .../pending-4.4/420-mtd-redboot_space.patch | 30 + ...30-mtd-add-myloader-partition-parser.patch | 35 + ...check-for-bad-blocks-when-calculatin.patch | 91 + ...bcm47xxpart-detect-T_Meter-partition.patch | 42 + .../pending-4.4/440-block2mtd_init.patch | 108 + .../pending-4.4/441-block2mtd_probe.patch | 39 + ...-to-use-platform-specific-chip-fixup.patch | 37 + ...n-code-of-nand_correct_data-function.patch | 11 + ...mtd-cfi_cmdset_0002-no-erase_suspend.patch | 11 + ...et_0002-add-buffer-write-cmd-timeout.patch | 18 + ...25p80-mx-disable-software-protection.patch | 14 + ...mtd-spi-nor-add-macronix-mx25u25635f.patch | 10 + .../476-mtd-spi-nor-add-eon-en25q128.patch | 10 + .../477-mtd-add-spi-nor-add-mx25u3235f.patch | 10 + ...479-enable_mtd_has_lock_for_f25l32pa.patch | 22 + .../480-mtd-set-rootfs-to-be-root-dev.patch | 26 + ...mtd-device-named-ubi-or-data-on-boot.patch | 76 + ...to-create-ubiblock-device-for-rootfs.patch | 69 + ...ting-ubi0-rootfs-in-init-do_mounts.c.patch | 54 + ...ROOT_DEV-to-ubiblock-rootfs-if-unset.patch | 37 + .../494-mtd-ubi-add-EOF-marker-support.patch | 51 + .../530-jffs2_make_lzma_available.patch | 5142 + .../pending-4.4/531-debloat_lzma.patch | 1024 + .../pending-4.4/532-jffs2_eofdetect.patch | 56 + ...fs-fix-default-compression-selection.patch | 29 + .../600-netfilter_conntrack_flush.patch | 86 + ...etfilter_match_bypass_default_checks.patch | 84 + ...netfilter_match_bypass_default_table.patch | 111 + ...netfilter_match_reduce_memory_access.patch | 16 + ...-netfilter_optional_tcp_window_check.patch | 36 + .../616-net_optimize_xfrm_calls.patch | 12 + .../pending-4.4/630-packet_socket_type.patch | 134 + .../640-bridge_no_eap_forward.patch | 23 + .../641-bridge_always_accept_eap.patch | 17 + .../pending-4.4/642-bridge_port_isolate.patch | 107 + .../645-bridge_multicast_to_unicast.patch | 420 + .../pending-4.4/650-pppoe_header_pad.patch | 20 + .../651-wireless_mesh_header.patch | 11 + .../653-disable_netlink_trim.patch | 27 + .../pending-4.4/655-increase_skb_pad.patch | 11 + .../pending-4.4/660-fq_codel_defaults.patch | 11 + .../661-fq_codel_keep_dropped_stats.patch | 10 + .../662-use_fq_codel_by_default.patch | 95 + .../pending-4.4/663-remove_pfifo_fast.patch | 142 + ...Add-support-for-MAP-E-FMRs-mesh-mode.patch | 496 + ...ng-with-source-address-failed-policy.patch | 249 + ...nes-for-_POLICY_FAILED-until-all-cod.patch | 53 + ...T-skip-GRO-for-foreign-MAC-addresses.patch | 160 + .../681-NET-add-of_get_mac_address_mtd.patch | 128 + .../generic/pending-4.4/700-swconfig.patch | 39 + .../pending-4.4/701-phy_extension.patch | 63 + .../702-phy_add_aneg_done_function.patch | 27 + ...detach-callback-to-struct-phy_driver.patch | 27 + .../704-phy-no-genphy-soft-reset.patch | 11 + ...710-phy-add-mdio_register_board_info.patch | 193 + .../generic/pending-4.4/720-phy_adm6996.patch | 26 + .../generic/pending-4.4/721-phy_packets.patch | 161 + .../pending-4.4/722-phy_mvswitch.patch | 23 + .../generic/pending-4.4/723-phy_ip175c.patch | 23 + .../generic/pending-4.4/724-phy_ar8216.patch | 24 + .../generic/pending-4.4/725-phy_rtl8306.patch | 23 + .../generic/pending-4.4/726-phy_rtl8366.patch | 45 + .../generic/pending-4.4/727-phy-rtl8367.patch | 23 + .../pending-4.4/728-phy-rtl8367b.patch | 23 + .../generic/pending-4.4/729-phy-tantos.patch | 21 + .../generic/pending-4.4/730-phy_b53.patch | 21 + .../732-phy-ar8216-led-support.patch | 13 + .../pending-4.4/733-phy_mvsw61xx.patch | 23 + ...-at803x-allow-to-configure-via-pdata.patch | 180 + ...net-phy-at803x-fix-at8033-sgmii-mode.patch | 96 + .../736-at803x-fix-reset-handling.patch | 43 + ...equest-reset-GPIO-only-for-AT8030-PH.patch | 42 + ...nly-the-AT8030-needs-a-hardware-rese.patch | 81 + ...et-phy-at803x-add-support-for-AT8032.patch | 65 + .../773-bgmac-add-srab-switch.patch | 88 + .../810-pci_disable_common_quirks.patch | 51 + .../811-pci_disable_usb_common_quirks.patch | 101 + ...ove-annoying-warning-about-bogus-URB.patch | 78 + .../pending-4.4/831-ledtrig_netdev.patch | 21 + .../pending-4.4/834-ledtrig-libata.patch | 153 + .../pending-4.4/835-misc-owl_loader.patch | 31 + .../generic/pending-4.4/840-rtc7301.patch | 250 + .../pending-4.4/841-rtc_pt7c4338.patch | 247 + .../861-04_spi_gpio_implement_spi_delay.patch | 58 + .../pending-4.4/862-gpio_spi_driver.patch | 373 + .../pending-4.4/890-uart_optional_sysrq.patch | 25 + .../pending-4.4/901-debloat_sock_diag.patch | 79 + .../pending-4.4/902-debloat_proc.patch | 385 + .../pending-4.4/904-debloat_dma_buf.patch | 44 + .../pending-4.4/910-kobject_uevent.patch | 21 + .../911-kobject_add_broadcast_uevent.patch | 65 + .../pending-4.4/921-use_preinit_as_init.patch | 12 + ...ays-create-console-node-in-initramfs.patch | 30 + .../generic/pending-4.4/930-crashlog.patch | 317 + ...e-filenames-from-deps_initramfs-list.patch | 29 + .../pending-4.4/995-mangle_bootargs.patch | 58 + ...able_wilink_platform_without_drivers.patch | 15 + ...fix-cache-flushing-for-highmem-pages.patch | 30 + .../pending-4.9/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 | 43 + ...-generic-parsing-of-linux-part-probe.patch | 181 + ...ontrollers-before-the-specified-head.patch | 30 + ...et-phy-at803x-add-support-for-AT8032.patch | 70 + .../pending-4.9/201-extra_optimization.patch | 32 + .../203-kallsyms_uncompressed.patch | 119 + .../205-backtrace_module_info.patch | 45 + .../pending-4.9/206-mips-disable-vdso.patch | 23 + ...e-filenames-from-deps_initramfs-list.patch | 47 + ...able_wilink_platform_without_drivers.patch | 20 + ...libc-specific-inclusion-of-sysinfo.h.patch | 32 + ...bc-compat.h-do-not-rely-on-__GLIBC__.patch | 105 + ...prevent-redefinition-of-struct-ethhd.patch | 65 + .../300-mips_expose_boot_raw.patch | 40 + .../302-mips_no_branch_likely.patch | 22 + .../pending-4.9/304-mips_disable_fpu.patch | 137 + .../pending-4.9/305-mips_module_reloc.patch | 365 + .../306-mips_mem_functions_performance.patch | 106 + .../pending-4.9/307-mips_highmem_offset.patch | 19 + .../pending-4.9/308-mips32r2_tune.patch | 22 + .../310-arm_module_unresolved_weak_sym.patch | 22 + ...t-command-line-parameters-from-users.patch | 269 + .../332-arc-add-OWRTDTB-section.patch | 80 + ...able-unaligned-access-in-kernel-mode.patch | 24 + .../400-mtd-add-rootfs-split-support.patch | 123 + ...for-different-partition-parser-types.patch | 110 + ...arsers-for-rootfs-and-firmware-split.patch | 81 + .../403-mtd-hook-mtdsplit-to-Kbuild.patch | 32 + .../404-mtd-add-more-helper-functions.patch | 94 + .../411-mtd-partial_eraseblock_write.patch | 154 + .../412-mtd-partial_eraseblock_unlock.patch | 40 + .../pending-4.9/420-mtd-redboot_space.patch | 41 + ...30-mtd-add-myloader-partition-parser.patch | 47 + ...check-for-bad-blocks-when-calculatin.patch | 67 + ...bcm47xxpart-detect-T_Meter-partition.patch | 37 + .../pending-4.9/440-block2mtd_init.patch | 116 + .../pending-4.9/441-block2mtd_probe.patch | 47 + ...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 + .../476-mtd-spi-nor-add-eon-en25q128.patch | 18 + .../477-mtd-add-spi-nor-add-mx25u3235f.patch | 18 + .../480-mtd-set-rootfs-to-be-root-dev.patch | 38 + ...mtd-device-named-ubi-or-data-on-boot.patch | 73 + ...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 + .../530-jffs2_make_lzma_available.patch | 5180 + .../pending-4.9/532-jffs2_eofdetect.patch | 65 + ...fs-fix-default-compression-selection.patch | 37 + .../600-netfilter_conntrack_flush.patch | 95 + ...etfilter_match_bypass_default_checks.patch | 93 + ...netfilter_match_bypass_default_table.patch | 119 + ...netfilter_match_reduce_memory_access.patch | 22 + ...-netfilter_optional_tcp_window_check.patch | 44 + .../616-net_optimize_xfrm_calls.patch | 20 + .../pending-4.9/630-packet_socket_type.patch | 138 + .../pending-4.9/650-pppoe_header_pad.patch | 29 + .../pending-4.9/655-increase_skb_pad.patch | 20 + ...Add-support-for-MAP-E-FMRs-mesh-mode.patch | 500 + ...ng-with-source-address-failed-policy.patch | 247 + ...nes-for-_POLICY_FAILED-until-all-cod.patch | 50 + ...T-skip-GRO-for-foreign-MAC-addresses.patch | 147 + .../681-NET-add-of_get_mac_address_mtd.patch | 127 + .../pending-4.9/701-phy_extension.patch | 72 + ...detach-callback-to-struct-phy_driver.patch | 38 + .../704-phy-no-genphy-soft-reset.patch | 31 + ...-at803x-allow-to-configure-via-pdata.patch | 142 + ...net-phy-at803x-fix-at8033-sgmii-mode.patch | 54 + .../810-pci_disable_common_quirks.patch | 60 + .../811-pci_disable_usb_common_quirks.patch | 110 + ...ove-annoying-warning-about-bogus-URB.patch | 76 + .../pending-4.9/831-ledtrig_netdev.patch | 74 + .../pending-4.9/834-ledtrig-libata.patch | 149 + .../pending-4.9/890-uart_optional_sysrq.patch | 40 + .../pending-4.9/920-mangle_bootargs.patch | 71 + target/linux/imx6/Makefile | 25 + .../imx6/base-files/etc/board.d/02_network | 30 + target/linux/imx6/base-files/etc/inittab | 4 + target/linux/imx6/base-files/lib/imx6.sh | 73 + .../imx6/base-files/lib/preinit/01_sysinfo | 9 + .../imx6/base-files/lib/upgrade/platform.sh | 27 + target/linux/imx6/config-4.9 | 496 + .../arch/arm/boot/dts/imx6dl-gw5904.dts | 19 + .../arch/arm/boot/dts/imx6q-gw5904.dts | 23 + .../arch/arm/boot/dts/imx6qdl-gw5904.dtsi | 629 + target/linux/imx6/image/Makefile | 127 + target/linux/imx6/image/bootscript-ventana | 79 + ...add-gateworks-ventana-gw5904-support.patch | 18 + .../linux/imx6/patches-4.9/100-bootargs.patch | 11 + .../imx6/patches-4.9/200-disable-msi.patch | 22 + .../patches-4.9/210-disable-uart-dma.patch | 23 + target/linux/imx6/profiles/100-generic.mk | 17 + target/linux/ipq806x/Makefile | 26 + .../ipq806x/base-files/etc/board.d/01_leds | 58 + .../ipq806x/base-files/etc/board.d/02_network | 72 + target/linux/ipq806x/base-files/etc/diag.sh | 45 + .../etc/hotplug.d/firmware/11-ath10k-caldata | 139 + .../etc/hotplug.d/ieee80211/10_fix_wifi_mac | 31 + .../base-files/etc/init.d/linksys_recovery | 19 + target/linux/ipq806x/base-files/etc/inittab | 4 + .../linux/ipq806x/base-files/lib/ipq806x.sh | 88 + .../lib/preinit/01_preinit_do_ipq806x.sh | 12 + .../ipq806x/base-files/lib/upgrade/linksys.sh | 101 + .../base-files/lib/upgrade/platform.sh | 85 + .../ipq806x/base-files/lib/upgrade/zyxel.sh | 87 + target/linux/ipq806x/config-4.9 | 495 + .../arch/arm/boot/dts/qcom-ipq8064-c2600.dts | 501 + .../arch/arm/boot/dts/qcom-ipq8064-d7800.dts | 406 + .../arch/arm/boot/dts/qcom-ipq8064-ea8500.dts | 399 + .../arch/arm/boot/dts/qcom-ipq8064-r7500.dts | 373 + .../arm/boot/dts/qcom-ipq8064-r7500v2.dts | 416 + .../arm/boot/dts/qcom-ipq8064-vr2600v.dts | 425 + .../arm/boot/dts/qcom-ipq8065-nbg6817.dts | 388 + .../arch/arm/boot/dts/qcom-ipq8065-r7800.dts | 566 + .../arch/arm/boot/dts/qcom-ipq8065-v1.0.dtsi | 1 + .../arch/arm/boot/dts/qcom-ipq8065.dtsi | 153 + .../arch/arm/boot/dts/qcom-ipq4019-bus.dtsi | 1142 + .../arm/boot/dts/qcom-ipq4019-fritz4040.dts | 284 + .../arm/boot/dts/qcom-ipq4019-nbg6617.dts | 208 + .../arm/boot/dts/qcom-ipq4019-rt-ac58u.dts | 271 + .../arch/arm/boot/dts/qcom-ipq8064-ap148.dts | 247 + .../arch/arm/boot/dts/qcom-ipq8064-c2600.dts | 501 + .../arch/arm/boot/dts/qcom-ipq8064-d7800.dts | 418 + .../arch/arm/boot/dts/qcom-ipq8064-db149.dts | 236 + .../arch/arm/boot/dts/qcom-ipq8064-ea8500.dts | 408 + .../arch/arm/boot/dts/qcom-ipq8064-r7500.dts | 393 + .../arm/boot/dts/qcom-ipq8064-r7500v2.dts | 424 + .../arm/boot/dts/qcom-ipq8064-vr2600v.dts | 425 + .../arch/arm/boot/dts/qcom-ipq8064.dtsi | 1321 + .../arm/boot/dts/qcom-ipq8065-nbg6817.dts | 388 + .../arch/arm/boot/dts/qcom-ipq8065-r7800.dts | 574 + .../arch/arm/boot/dts/qcom-ipq8065-v1.0.dtsi | 1 + .../arch/arm/boot/dts/qcom-ipq8065.dtsi | 153 + target/linux/ipq806x/image/Makefile | 298 + target/linux/ipq806x/modules.mk | 46 + ...ings-qcom_adm-Fix-channel-specifiers.patch | 71 + .../0002-dmaengine-Add-ADM-driver.patch | 966 + ...ke-sure-mode-is-only-determined-once.patch | 208 + ...i-qup-Fix-transaction-done-signaling.patch | 29 + ...i-qup-Fix-DMA-mode-to-work-correctly.patch | 219 + ...qup-Fix-block-mode-to-work-correctly.patch | 310 + ...qup-properly-detect-extra-interrupts.patch | 61 + ...-read-opflags-to-see-if-transaction-.patch | 26 + ...r-spi_qup_io_config-in-two-functions.patch | 202 + ...-io_config-in-mode-specific-function.patch | 391 + ...ock-mode-to-generate-multiple-transa.patch | 268 + ...-spi_qup_prep_sg-to-be-more-take-spe.patch | 73 + ...litple-DMA-transactions-per-spi-xfer.patch | 166 + ...014-spi-qup-Fix-sg-nents-calculation.patch | 86 + ...-ipq4019-Add-compat-for-qcom-ipq4019.patch | 27 + ...19-report-accurate-fixed-clock-rates.patch | 33 + ...-cpu-operating-points-for-cpufreq-su.patch | 81 + ...018-qcom-ipq4019-turn-on-DMA-for-i2c.patch | 23 + ...4019-use-correct-clock-for-i2c-bus-0.patch | 28 + ...0020-qcom-ipq4019-enable-DMA-for-spi.patch | 23 + .../0022-dts-ipq4019-support-ARMv7-PMU.patch | 28 + ...9-Add-support-for-IPQ4019-DK04-board.patch | 224 + ...-qcom-Add-support-for-SMD-RPM-Clocks.patch | 731 + ...-clk-qcom-Add-support-for-RPM-Clocks.patch | 587 + ...k-qcom-clk-rpm-Fix-clk_hw-references.patch | 94 + ...0030-clk-Disable-i2c-device-on-gsbi4.patch | 40 + ...d-add-SMEM-parser-for-QCOM-platforms.patch | 275 + .../0032-phy-add-qcom-dwc3-phy.patch | 534 + ...ically-select-PCI_DOMAINS-if-PCI-is-.patch | 29 + ...Krait-L2-register-accessor-functions.patch | 133 + ...lit-out-register-accessors-for-reuse.patch | 192 + ...g-high-rates-to-downstream-clocks-du.patch | 107 + .../0037-clk-Add-safe-switch-hook.patch | 158 + ...pport-for-High-Frequency-PLLs-HFPLLs.patch | 340 + .../0039-clk-qcom-Add-HFPLL-driver.patch | 195 + .../0040-clk-qcom-Add-IPQ806X-s-HFPLLs.patch | 118 + ...lk-qcom-Add-support-for-Krait-clocks.patch | 263 + ...042-clk-qcom-Add-KPSS-ACC-GCC-driver.patch | 196 + ...om-Add-Krait-clock-controller-driver.patch | 426 + ...44-clk-qcom-krait-Remove-CLK_IS_ROOT.patch | 23 + ...le-to-register-cpufreq-on-Krait-CPUs.patch | 295 + ...cpufreq-qcom-independent-core-clocks.patch | 56 + ...a-BBT-flag-to-access-bad-block-marke.patch | 72 + ...ow-to-set-regulator-without-opp_list.patch | 27 + ...rt-adjusting-OPP-voltages-at-runtime.patch | 147 + ...ers-to-call-dev_pm_opp_get_-voltage-.patch | 107 + ...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 | 144 + ...-dt-Add-L2-frequency-scaling-support.patch | 90 + ...056-cpufreq-dt-Add-missing-rcu-locks.patch | 23 + ...om-Add-regmap-mux-div-clocks-support.patch | 372 + ...lways-add-factor-clock-for-xo-clocks.patch | 38 + ...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 | 462 + .../patches-4.9/0064-clk-clk-rpm-fixes.patch | 93 + .../0065-arm-override-compiler-flags.patch | 21 + .../0066-GPIO-add-named-gpio-exports.patch | 166 + ...Mangle-bootloader-s-kernel-arguments.patch | 189 + .../0068-spi-add-gpio-cs-support.patch | 71 + .../0069-arm-boot-add-dts-files.patch | 31 + .../0070-qcom-spm-fix-probe-order.patch | 16 + .../patches-4.9/0071-pcie-qcom-fixes.patch | 308 + ...clock-to-be-enabled-disabled-for-ipq.patch | 166 + ...e-scm_call-to-route-GPIO-irq-to-Apps.patch | 166 + ...nd-add-Winbond-manufacturer-and-chip.patch | 56 + .../105-mtd-nor-add-mx25l25635f.patch | 22 + ...pq4019-add-remaining-pin-definitions.patch | 516 + ...-support-to-configure-ipq40xx-GPIO_P.patch | 149 + .../140-qcom-ipq4019-fix-i2c_0-node.patch | 28 + .../141-qcom-ipq4019-add-second-i2c.patch | 46 + ...use-v2-of-the-kpss-bringup-mechanism.patch | 109 + ...-USB-nodes-to-ipq4019-SoC-device-tre.patch | 130 + ...307-ARM-qcom-Add-IPQ4019-SoC-support.patch | 35 + ...-both-IPQ4019-wifi-block-definitions.patch | 151 + ...9-add-pseudo-random-number-generator.patch | 29 + .../310-msm-adhoc-bus-support.patch | 11026 ++ ...11-dts-ARM-qcom-ipq4019-add-scm-node.patch | 25 + .../312-firmware-qcom-scm-fuse-access.patch | 98 + ...dd-quirk-to-autoload-ubi-on-rt-ac58u.patch | 29 + ...4019-needs-rfs-vlan_tag-callbacks-in.patch | 53 + .../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 + ...add-qualcomm-essedma-ethernet-driver.patch | 4602 + ...ts-ipq4019-add-ethernet-essedma-node.patch | 92 + ...712-net-essedma-disable-default-vlan.patch | 69 + ...19-Add-IPQ4019-USB-HS-SS-PHY-drivers.patch | 496 + ...r-qca-ipq4019-dwc3-in-dwc3-of-simple.patch | 25 + .../850-soc-add-qualcomm-syscon.patch | 177 + ...d-bam_dma-support-in-qcom_nand-drive.patch | 379 + ...ded-bam-transaction-and-support-addi.patch | 1266 + ...qcom-bam_dma-Add-custom-data-mapping.patch | 209 + ...q4019-add-nand-and-qpic-bam-dma-node.patch | 106 + target/linux/ipq806x/profiles/00-default.mk | 10 + target/linux/ixp4xx/Makefile | 23 + target/linux/ixp4xx/base-files/lib/ixp4xx.sh | 34 + .../ixp4xx/base-files/lib/preinit/01_sysinfo | 9 + .../lib/preinit/05_set_ether_mac_ixp4xx | 32 + .../ixp4xx/base-files/lib/upgrade/platform.sh | 149 + target/linux/ixp4xx/config-4.4 | 250 + .../ixp4xx/generic/profiles/100-Default.mk | 17 + .../generic/profiles/105-Atheros-ath5k.mk | 17 + .../ixp4xx/generic/profiles/200-NSLU2.mk | 19 + .../ixp4xx/generic/profiles/300-NAS100d.mk | 21 + .../generic/profiles/400-DSMG600RevA.mk | 22 + .../ixp4xx/generic/profiles/500-USR8200.mk | 19 + target/linux/ixp4xx/generic/target.mk | 9 + target/linux/ixp4xx/harddisk/config-default | 20 + .../ixp4xx/harddisk/profiles/100-FSG3.mk | 20 + target/linux/ixp4xx/harddisk/target.mk | 6 + target/linux/ixp4xx/image/Makefile | 76 + target/linux/ixp4xx/modules.mk | 74 + ...ohorent_dma_mask-for-ethernet-platfo.patch | 136 + ...se-parent-device-for-dma-allocations.patch | 95 + .../patches-4.4/020-gateworks_i2c_pld.patch | 424 + .../patches-4.4/030-gpio_line_config.patch | 73 + .../patches-4.4/040-arm_mach_types.patch | 18 + .../090-increase_entropy_pools.patch | 17 + ...00-wg302v2_gateway7001_mac_plat_info.patch | 78 + .../patches-4.4/105-wg302v1_support.patch | 261 + .../110-pronghorn_series_support.patch | 393 + .../111-pronghorn_swap_uarts.patch | 44 + .../patches-4.4/115-sidewinder_support.patch | 286 + .../116-sidewinder_fis_location.patch | 30 + .../patches-4.4/120-compex_support.patch | 199 + .../patches-4.4/130-wrt300nv2_support.patch | 227 + .../131-wrt300nv2_mac_plat_info.patch | 42 + .../patches-4.4/132-wrt300nv2_mac_fix.patch | 72 + .../150-lanready_ap1000_support.patch | 203 + .../151-lanready_ap1000_mac_plat_info.patch | 51 + .../patches-4.4/160-delayed_uart_io.patch | 133 + .../patches-4.4/162-wg302v1_mem_fixup.patch | 38 + .../170-ixdpg425_mac_plat_info.patch | 51 + .../175-avila_hss_audio_support.patch | 2093 + .../patches-4.4/180-tw5334_support.patch | 287 + .../patches-4.4/185-mi424wr_support.patch | 507 + .../patches-4.4/190-cambria_support.patch | 1131 + ...01-npe_driver_print_license_location.patch | 11 + .../203-npe_driver_mask_phy_features.patch | 13 + ...05-npe_driver_separate_phy_functions.patch | 131 + ...-npe_driver_add_update_link_function.patch | 98 + .../207-npe_driver_multiphy_support.patch | 145 + .../patches-4.4/295-latch_led_driver.patch | 201 + .../patches-4.4/300-avila_support.patch | 726 + .../304-ixp4xx_eth_jumboframe.patch | 80 + .../patches-4.4/310-gtwx5717_spi_bus.patch | 52 + .../311-gtwx5717_mac_plat_info.patch | 50 + .../312-ixp4xx_pata_optimization.patch | 137 + .../patches-4.4/500-usr8200_support.patch | 347 + .../patches-4.4/520-tw2662_support.patch | 317 + .../patches-4.4/530-ap42x_support.patch | 282 + .../patches-4.4/600-skb_avoid_dmabounce.patch | 23 + .../900-ixp4xx-crypto-include-module.h.patch | 10 + .../patches-4.4/910-ixp4xx-nr_irq_lines.patch | 22 + target/linux/kirkwood/Makefile | 24 + .../kirkwood/base-files/etc/board.d/01_leds | 62 + .../base-files/etc/board.d/02_network | 47 + target/linux/kirkwood/base-files/etc/diag.sh | 49 + .../base-files/etc/init.d/linksys_recovery | 19 + .../base-files/etc/init.d/nsa310_fancontrol | 20 + .../linux/kirkwood/base-files/lib/kirkwood.sh | 88 + .../base-files/lib/preinit/01_sysinfo | 9 + .../base-files/lib/upgrade/linksys.sh | 71 + .../base-files/lib/upgrade/platform.sh | 40 + target/linux/kirkwood/config-4.9 | 333 + target/linux/kirkwood/image/Makefile | 120 + .../kirkwood/patches-4.9/100-ib62x0.patch | 21 + .../kirkwood/patches-4.9/101-iconnect.patch | 41 + .../kirkwood/patches-4.9/102-dockstar.patch | 32 + .../kirkwood/patches-4.9/104-ea3500.patch | 258 + .../kirkwood/patches-4.9/105-ea4500.patch | 64 + .../kirkwood/patches-4.9/105-goflexhome.patch | 130 + .../kirkwood/patches-4.9/106-goflexnet.patch | 23 + ...-zyxel-nsa3x0-common-nand-partitions.patch | 48 + .../kirkwood/patches-4.9/107-02-nsa310b.patch | 147 + .../kirkwood/patches-4.9/107-03-nsa310s.patch | 267 + .../kirkwood/patches-4.9/108-on100.patch | 173 + .../patches-4.9/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-default | 26 + .../linux/lantiq/ase/profiles/00-default.mk | 9 + target/linux/lantiq/ase/target.mk | 20 + .../lantiq/base-files/etc/board.d/01_leds | 81 + .../lantiq/base-files/etc/board.d/02_network | 217 + target/linux/lantiq/base-files/etc/diag.sh | 38 + .../base-files/etc/hotplug.d/dsl/led_dsl.sh | 30 + .../base-files/etc/hotplug.d/dsl/pppoa.sh | 37 + .../etc/hotplug.d/firmware/11-ath10k-caldata | 50 + .../etc/hotplug.d/firmware/12-ath9k-eeprom | 152 + target/linux/lantiq/base-files/etc/inittab | 3 + .../etc/uci-defaults/01_led_migration | 81 + .../lantiq/base-files/lib/functions/lantiq.sh | 17 + .../base-files/lib/functions/lantiq_dsl.sh | 749 + .../lib/preinit/01_preinit_board.sh | 19 + .../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.4 | 204 + target/linux/lantiq/config-4.9 | 207 + target/linux/lantiq/dts/ACMP252.dts | 101 + target/linux/lantiq/dts/ALL0333CJ.dts | 119 + target/linux/lantiq/dts/ARV4510PW.dts | 231 + target/linux/lantiq/dts/ARV4518PWR01.dts | 7 + target/linux/lantiq/dts/ARV4518PWR01.dtsi | 198 + target/linux/lantiq/dts/ARV4518PWR01A.dts | 13 + target/linux/lantiq/dts/ARV4519PW.dts | 194 + target/linux/lantiq/dts/ARV4520PW.dts | 220 + target/linux/lantiq/dts/ARV4525PW.dts | 168 + target/linux/lantiq/dts/ARV452CQW.dts | 236 + target/linux/lantiq/dts/ARV7506PW11.dts | 164 + target/linux/lantiq/dts/ARV7510PW22.dts | 195 + target/linux/lantiq/dts/ARV7518PW.dts | 231 + target/linux/lantiq/dts/ARV7519PW.dts | 228 + target/linux/lantiq/dts/ARV7519RW22.dts | 229 + target/linux/lantiq/dts/ARV7525PW.dts | 154 + target/linux/lantiq/dts/ARV752DPW.dts | 237 + target/linux/lantiq/dts/ARV752DPW22.dts | 257 + target/linux/lantiq/dts/ARV8539PW22.dts | 179 + target/linux/lantiq/dts/ASL56026.dts | 170 + target/linux/lantiq/dts/BTHOMEHUBV2B.dts | 261 + target/linux/lantiq/dts/BTHOMEHUBV3A.dts | 207 + target/linux/lantiq/dts/BTHOMEHUBV5A.dts | 281 + target/linux/lantiq/dts/DGN1000B.dts | 169 + target/linux/lantiq/dts/DGN3500.dts | 7 + target/linux/lantiq/dts/DGN3500.dtsi | 213 + target/linux/lantiq/dts/DGN3500B.dts | 7 + target/linux/lantiq/dts/DM200.dts | 214 + target/linux/lantiq/dts/EASY50712.dts | 82 + target/linux/lantiq/dts/EASY50810.dts | 90 + target/linux/lantiq/dts/EASY80920.dtsi | 296 + target/linux/lantiq/dts/EASY80920NAND.dts | 67 + target/linux/lantiq/dts/EASY80920NOR.dts | 42 + target/linux/lantiq/dts/EASY88388.dts | 106 + target/linux/lantiq/dts/EASY88444.dts | 80 + target/linux/lantiq/dts/EASY98000-base.dtsi | 110 + target/linux/lantiq/dts/EASY98000NAND.dts | 40 + target/linux/lantiq/dts/EASY98000NOR.dts | 38 + target/linux/lantiq/dts/EASY98000SFLASH.dts | 16 + target/linux/lantiq/dts/EASY98020.dts | 95 + target/linux/lantiq/dts/EASY98020V18.dts | 68 + target/linux/lantiq/dts/EASY98021.dts | 81 + target/linux/lantiq/dts/EASY98035SYNCE.dts | 76 + .../linux/lantiq/dts/EASY98035SYNCE1588.dts | 76 + target/linux/lantiq/dts/FALCON-MDU.dts | 53 + target/linux/lantiq/dts/FALCON-SFP.dts | 76 + target/linux/lantiq/dts/FRITZ3370.dts | 287 + target/linux/lantiq/dts/FRITZ7320.dts | 160 + target/linux/lantiq/dts/FRITZ7360SL.dts | 227 + target/linux/lantiq/dts/GIGASX76X.dts | 121 + target/linux/lantiq/dts/H201L.dts | 158 + target/linux/lantiq/dts/P2601HNFX.dts | 189 + target/linux/lantiq/dts/P2812HNUF1.dts | 71 + target/linux/lantiq/dts/P2812HNUF3.dts | 65 + target/linux/lantiq/dts/P2812HNUFX.dtsi | 278 + target/linux/lantiq/dts/TDW8970.dts | 7 + target/linux/lantiq/dts/TDW8980.dts | 34 + target/linux/lantiq/dts/TDW89X0.dtsi | 272 + target/linux/lantiq/dts/VG3503J.dts | 162 + target/linux/lantiq/dts/VGV7510KW22.dtsi | 251 + target/linux/lantiq/dts/VGV7510KW22BRN.dts | 66 + target/linux/lantiq/dts/VGV7510KW22NOR.dts | 32 + target/linux/lantiq/dts/VGV7519.dtsi | 296 + target/linux/lantiq/dts/VGV7519BRN.dts | 72 + target/linux/lantiq/dts/VGV7519NOR.dts | 31 + target/linux/lantiq/dts/VR200v.dts | 277 + target/linux/lantiq/dts/WBMR.dts | 184 + target/linux/lantiq/dts/WBMR300.dts | 305 + target/linux/lantiq/dts/amazonse.dtsi | 173 + target/linux/lantiq/dts/ar9.dtsi | 216 + target/linux/lantiq/dts/danube.dtsi | 212 + .../linux/lantiq/dts/falcon-sflash-16M.dtsi | 37 + target/linux/lantiq/dts/falcon.dtsi | 392 + target/linux/lantiq/dts/vr9.dtsi | 260 + target/linux/lantiq/falcon/config-default | 10 + .../lantiq/falcon/profiles/00-default.mk | 9 + target/linux/lantiq/falcon/target.mk | 13 + .../files/firmware/lantiq/vr9_phy11g_a1x.bin | Bin 0 -> 65536 bytes .../files/firmware/lantiq/vr9_phy11g_a2x.bin | Bin 0 -> 65536 bytes .../files/firmware/lantiq/vr9_phy22f_a1x.bin | Bin 0 -> 65536 bytes .../files/firmware/lantiq/vr9_phy22f_a2x.bin | Bin 0 -> 65536 bytes target/linux/lantiq/image/Makefile | 694 + target/linux/lantiq/image/eva.dummy.squashfs | Bin 0 -> 256 bytes target/linux/lantiq/image/tp-link.mk | 39 + 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 | 5521 + .../0004-MIPS-lantiq-add-atm-hack.patch | 500 + ...-MIPS-lantiq-backport-old-timer-code.patch | 1034 + .../0012-pinctrl-lantiq-fix-up-pinmux.patch | 68 + ...MTD-lantiq-xway-fix-invalid-operator.patch | 24 + ...the-latched-command-should-be-persis.patch | 44 + ...-MTD-lantiq-xway-remove-endless-loop.patch | 41 + ...add-missing-write_buf-and-read_buf-t.patch | 55 + .../0017-MTD-xway-fix-nand-locking.patch | 89 + .../0018-MTD-nand-lots-of-xrx200-fixes.patch | 125 + ...antiq-handle-NO_XIP-on-cfi0001-flash.patch | 25 + ...25p80-allow-loading-mtd-name-from-OF.patch | 44 + ...ET-lantiq-adds-PHY11G-firmware-blobs.patch | 364 + ...0025-NET-MIPS-lantiq-adds-xrx200-net.patch | 3396 + .../0026-NET-multi-phy-support.patch | 53 + .../0028-NET-lantiq-various-etop-fixes.patch | 911 + .../0030-GPIO-add-named-gpio-exports.patch | 170 + ...PS-lantiq-add-FALC-ON-i2c-bus-master.patch | 1034 + ...iq-wifi-and-ethernet-eeprom-handling.patch | 219 + .../0040-USB-DWC2-enable-usb-power-gpio.patch | 35 + ...42-arch-mips-increase-io_space_limit.patch | 23 + ...ntroduce-new-dedicated-devicetree-bi.patch | 1378 + ...-lantiq-Fix-GPIO-Setup-of-GPIO-Port3.patch | 28 + ...antiq-2-pins-have-the-wrong-mux-list.patch | 28 + .../lantiq/patches-4.4/0047-irq-fixes.patch | 78 + .../0047-mtd-plat-nand-pass-of-node.patch | 27 + .../lantiq/patches-4.4/0047-poweroff.patch | 23 + ...0-MIPS-Lantiq-Fix-cascaded-IRQ-setup.patch | 87 + ...-support-for-Lantiq-ARX-and-XRX-SoCs.patch | 78 + ...e-lantiq-settings-match-vendor-drive.patch | 129 + ...PS-lantiq-improve-USB-initialization.patch | 202 + ...dd-support-for-Lantiq-SPI-controller.patch | 1133 + .../patches-4.4/0101-find_active_root.patch | 93 + ...support-for-device-tree-file-from-bo.patch | 48 + ...-it-possible-to-build-in-no-device-t.patch | 37 + .../0151-lantiq-ifxmips_pcie-use-of.patch | 166 + .../lantiq/patches-4.4/0152-lantiq-VPE.patch | 180 + .../0154-lantiq-pci-bar11mask-fix.patch | 22 + .../patches-4.4/0155-lantiq-VPE-nosmp.patch | 14 + .../0160-owrt-lantiq-multiple-flash.patch | 222 + ...q-lock-DMA-register-accesses-for-SMP.patch | 152 + ...-cmdset-0001-disable-buffered-writes.patch | 11 + ...add-gphy-clk-src-device-tree-binding.patch | 30 + .../0302-xrx200-add-sensors-driver.patch | 184 + ...e-appended-dtb-address-in-a-variable.patch | 49 + .../0001-MIPS-lantiq-add-pcie-driver.patch | 5520 + .../0004-MIPS-lantiq-add-atm-hack.patch | 500 + ...-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 + ...ET-PHY-adds-driver-for-lantiq-PHY11G.patch | 294 + ...ET-lantiq-adds-PHY11G-firmware-blobs.patch | 364 + ...0025-NET-MIPS-lantiq-adds-xrx200-net.patch | 3395 + .../0026-NET-multi-phy-support.patch | 53 + .../0028-NET-lantiq-various-etop-fixes.patch | 881 + .../0030-GPIO-add-named-gpio-exports.patch | 170 + ...PS-lantiq-add-FALC-ON-i2c-bus-master.patch | 1034 + ...iq-wifi-and-ethernet-eeprom-handling.patch | 219 + .../0040-USB-DWC2-enable-usb-power-gpio.patch | 35 + ...42-arch-mips-increase-io_space_limit.patch | 23 + ...-fix-copy-paste-error-in-xrx200_grps.patch | 11 + .../lantiq/patches-4.9/0047-poweroff.patch | 23 + ...0-MIPS-Lantiq-Fix-cascaded-IRQ-setup.patch | 87 + ...e-lantiq-settings-match-vendor-drive.patch | 130 + ...PS-lantiq-improve-USB-initialization.patch | 202 + ...dd-support-for-Lantiq-SSC-SPI-contro.patch | 1078 + ...ix-platform_no_drv_owner.cocci-warni.patch | 28 + ...antiq-ssc-add-LTQ_-prefix-to-defines.patch | 723 + .../patches-4.9/0101-find_active_root.patch | 93 + .../0151-lantiq-ifxmips_pcie-use-of.patch | 166 + .../lantiq/patches-4.9/0152-lantiq-VPE.patch | 180 + .../0154-lantiq-pci-bar11mask-fix.patch | 22 + .../patches-4.9/0155-lantiq-VPE-nosmp.patch | 14 + .../0160-owrt-lantiq-multiple-flash.patch | 221 + ...q-lock-DMA-register-accesses-for-SMP.patch | 152 + ...-cmdset-0001-disable-buffered-writes.patch | 11 + ...add-gphy-clk-src-device-tree-binding.patch | 30 + .../0302-xrx200-add-sensors-driver.patch | 184 + target/linux/lantiq/xrx200/config-default | 78 + .../lantiq/xrx200/profiles/00-default.mk | 9 + target/linux/lantiq/xrx200/target.mk | 22 + target/linux/lantiq/xway/config-default | 71 + .../linux/lantiq/xway/profiles/00-default.mk | 9 + target/linux/lantiq/xway/target.mk | 11 + .../linux/lantiq/xway_legacy/config-default | 29 + .../lantiq/xway_legacy/profiles/00-default.mk | 9 + target/linux/lantiq/xway_legacy/target.mk | 11 + target/linux/layerscape/32b/config-default | 152 + .../layerscape/32b/profiles/00-default.mk | 1 + target/linux/layerscape/32b/target.mk | 15 + target/linux/layerscape/64b/config-default | 183 + .../layerscape/64b/profiles/00-default.mk | 18 + target/linux/layerscape/64b/target.mk | 14 + target/linux/layerscape/Makefile | 26 + .../linux/layerscape/base-files/etc/rc.local | 4 + target/linux/layerscape/config-4.4 | 310 + target/linux/layerscape/image/Makefile | 123 + target/linux/layerscape/modules.mk | 20 + ...nsure-ATU-is-enabled-before-IO-conf-.patch | 43 + ...PCI-designware-Simplify-control-flow.patch | 121 + ...ake-config-accessor-override-checkin.patch | 71 + ...xplain-why-we-don-t-program-ATU-for-.patch | 34 + ...nware-Remove-PCI_PROBE_ONLY-handling.patch | 41 + ...re-Add-generic-dw_pcie_wait_for_link.patch | 249 + ...dd-default-link-up-check-if-sub-driv.patch | 46 + ...ove-Root-Complex-setup-code-to-dw_pc.patch | 109 + ...emove-incorrect-RC-memory-base-limit.patch | 45 + ...onfig-add-freescale-config-for-amr64.patch | 148 + ...NFIG_EEPROM_AT24-for-freescale.confi.patch | 24 + ...39-ARM-dts-ls1021a-add-PCIe-dts-node.patch | 68 + ...RM-dts-ls1021a-add-SCFG-MSI-dts-node.patch | 56 + ...Add-bindings-for-Layerscape-SCFG-MSI.patch | 53 + ...-mtd-nand-spi-nor-assign-MTD-of_node.patch | 31 + ...vert-to-spi_nor_-get-set-_flash_node.patch | 80 + ...op-unnecessary-partition-parser-data.patch | 83 + ...d-get-set-of_node-flash_node-helpers.patch | 62 + ...78-mtd-spi-nor-drop-flash_node-field.patch | 57 + ...ve-unnecessary-leading-space-from-db.patch | 27 + ...sl-quadspi-possible-NULL-dereference.patch | 50 + ...ide-default-erase_sector-implementat.patch | 105 + ...error-message-with-unrecognized-JEDE.patch | 31 + ...-fix-error-handling-in-spi_nor_erase.patch | 39 + ...-Check-the-return-value-from-read_sr.patch | 58 + ...-until-lock-unlock-operations-are-re.patch | 66 + ...r-fsl-quadspi-add-big-endian-support.patch | 400 + ...-fsl-quadspi-add-support-for-ls1021a.patch | 63 + ...l-quadspi-add-support-for-layerscape.patch | 28 + ...spi-nor-Add-SPI-NOR-layer-PM-support.patch | 138 + ...or-change-return-value-of-read-write.patch | 82 + ...return-amount-of-data-read-written-o.patch | 73 + ...r-check-return-value-from-read-write.patch | 127 + ...d-spi-nor-stop-passing-around-retlen.patch | 215 + ...1095-mtd-spi-nor-simplify-write-loop.patch | 100 + .../1096-mtd-spi-nor-add-read-loop.patch | 46 + ...i-use-the-property-fields-of-SPI-NOR.patch | 87 + ...Rename-SEQID_QUAD_READ-to-SEQID_READ.patch | 46 + ...l-quadspi-Add-fast-read-mode-support.patch | 72 + ...r-Disable-Micron-flash-HW-protection.patch | 41 + ...quadspi-extend-support-for-some-spec.patch | 122 + ...fsl-quadspi-Support-qspi-for-ls2080a.patch | 83 + ...Support-R-W-for-S25FS-S-family-flash.patch | 110 + ...dspi-Add-quad-mode-for-flash-n25q128.patch | 112 + ...td-spi-nor-add-DDR-quad-read-support.patch | 181 + ...adspi-add-DDR-quad-read-for-Spansion.patch | 122 + ...-quadspi-disable-AHB-buffer-prefetch.patch | 67 + ...-add-multi-flash-chip-R-W-on-ls2080a.patch | 42 + ...-spi-nor-Enable-QSPI-Flash-in-Kernel.patch | 36 + ...l-quad-add-flash-S25FS-extra-support.patch | 157 + ...isable-4kb-sector-erase-for-s25fl128.patch | 27 + ...uad-Hang-memcpy-Unhandled-fault-alig.patch | 29 + ...quad-move-mtd_device_register-to-the.patch | 49 + ...ap_of-to-let-the-device-tree-specify.patch | 85 + ...d-the-default-config-ls_aarch32_defc.patch | 209 + ...-update-defconfig-for-LayerScape-SoC.patch | 101 + ...arch32-defconfig-Enable-CAAM-support.patch | 31 + ...32-defconfig-Enable-firmware-loading.patch | 23 + ...fconfig-Enable-support-for-AHCI-SATA.patch | 29 + ...fconfig-Enable-USB-and-related-confi.patch | 31 + ...fconfig-Enable-KVM-related-configura.patch | 59 + ...2-defconfig-Enable-FTM-alarm-support.patch | 23 + ...3a-add-DTS-for-Freescale-LS1043A-SoC.patch | 552 + ...ls1043a-add-LS1043ARDB-board-support.patch | 150 + ...-address-cells-and-reg-properties-of.patch | 141 + ...d-ITS-file-for-AArch32-Linux-on-LS10.patch | 71 + ...8-aarch32-change-FS-file-name-in-ITS.patch | 21 + ...n-32-bit-Linux-in-AArch32-execution-.patch | 79 + ...h32-Add-SMP-support-for-32-bit-Linux.patch | 103 + ...low-RAM-to-be-mapped-for-LayerScape-.patch | 31 + ..._cached-and-pgprot_cached_ns-support.patch | 26 + ...11-arm-add-new-non-shareable-ioremap.patch | 99 + ...3a-add-fman-bman-qman-ethernet-nodes.patch | 747 + ...13-dts-ls1043ardb-add-mdio-phy-nodes.patch | 81 + ...icetree-doc-out-of-powerpc-directory.patch | 108 + ...-move-mpc85xx.h-to-include-linux-fsl.patch | 283 + ...-dts-align-to-the-new-clocking-model.patch | 25 + ...028-dts-ls1043-update-dts-for-ls1043.patch | 523 + ...-arm64-Add-pdev_archdata-for-dmamask.patch | 51 + ...p-for-normal-cacheable-non-shareable.patch | 42 + ...t-to-remap-kernel-cacheable-memory-t.patch | 28 + ...d-support-to-map-cacheable-and-non-s.patch | 22 + ...-specific-fucntions-required-for-ehc.patch | 79 + .../3063-arm64-add-NO_IRQ-macro.patch | 27 + ...vice-tree-for-ls1012a-SoC-and-boards.patch | 880 + ...Run-32-bit-Linux-for-LayerScape-SoCs.patch | 49 + ...Add-KVM-support-for-AArch32-on-ARMv8.patch | 34 + ...6a-add-DTS-for-Freescale-LS1046A-SoC.patch | 1056 + ...ls1046a-add-LS1046ARDB-board-support.patch | 557 + .../3133-ls1046ardb-add-ITS-file.patch | 69 + ...Add-DTS-support-for-FSL-s-LS1088ARDB.patch | 790 + .../3139-ls1088ardb-add-ITS-file.patch | 69 + .../3141-caam-add-caam-node-for-ls1088a.patch | 62 + ...h32-Execute-32-bit-Linux-for-ls1046a.patch | 27 + ...quadspi-Enable-fast-read-for-LS1088A.patch | 43 + .../3227-ls2088a-dts-add-ls2088a-dts.patch | 1338 + .../3228-ls2088a-add-ls2088a-its.patch | 129 + ...1a-fix-typo-of-MSI-compatible-string.patch | 35 + ...3a-fix-typo-of-MSI-compatible-string.patch | 45 + .../3231-arm-dts-ls1021a-share-all-MSIs.patch | 37 + ...232-arm64-dts-ls1043a-share-all-MSIs.patch | 46 + ...rm64-dts-ls1046a-update-MSI-dts-node.patch | 113 + ...1043a-change-GIC-register-for-rev1.1.patch | 32 + ...-memory-Removal-of-deprecated-NO_IRQ.patch | 24 + ...emory-Add-deep-sleep-support-for-IFC.patch | 233 + ...date-dependency-of-IFC-for-Layerscap.patch | 51 + ...regate-IFC-fcm-and-runtime-registers.patch | 705 + ...ers-memory-Fix-build-error-for-arm64.patch | 53 + ...ilation-error-when-COMPAT-not-enable.patch | 29 + ...14-temp-QE-headers-are-needed-by-FMD.patch | 1317 + .../7015-fmd-add-fman-driver.patch | 116265 +++++++++++++++ .../7016-dpa-add-dpaa_eth-driver.patch | 19160 +++ .../7017-fsl_qbman-add-qbman-driver.patch | 24828 +++ .../7018-devres-add-devm_alloc_percpu.patch | 138 + .../7019-net-readd-skb_recycle.patch | 59 + .../7020-net-add-custom-NETIF-flags.patch | 40 + ...dev-watchdog-aware-of-hardware-multi.patch | 48 + ...to-setup-HugeTLB-mappings-for-USDPAA.patch | 59 + ...needs-to-be-reprogrammed-after-sleep.patch | 228 + ...md-use-kernel-api-for-64bit-division.patch | 178 + ...able-DPAA1-QBMan-for-ARM64-platforms.patch | 31 + ...r-issue-introduced-with-2.5G-support.patch | 22 + ...a_eth-replace-sgmii-2500-with-qsgmii.patch | 39 + .../7066-fmd-add-2.5G-SGMII-mode-suport.patch | 38 + .../7067-net-phy-add-SGMII-2500-PHY.patch | 20 + ...x-link-state-detect-for-10G-interfac.patch | 63 + ...7072-LS1012-Add-PPFE-driver-in-Linux.patch | 15167 ++ ...d-driver-for-aquantia-AQR106-107-phy.patch | 63 + ...h_setup_dma_ops-before-using-dma_ops.patch | 53 + ...dded-generic-MSI-support-for-FSL-MC-.patch | 400 + ...dded-GICv3-ITS-support-for-FSL-MC-MS.patch | 167 + ...xtended-MC-bus-allocator-to-include-.patch | 326 + ...hanged-DPRC-built-in-portal-s-mc_io-.patch | 44 + ...opulate-the-IRQ-pool-for-an-MC-bus-i.patch | 109 + ...l-mc-set-MSI-domain-for-DPRC-objects.patch | 103 + ...c-Fixed-bug-in-dprc_probe-error-path.patch | 72 + ...-fsl-mc-Added-DPRC-interrupt-handler.patch | 301 + ...dded-MSI-support-to-the-MC-bus-drive.patch | 59 + ...g-fsl-mc-Remove-unneeded-parentheses.patch | 39 + ...mc-Do-not-allow-building-as-a-module.patch | 30 + ...taging-fsl-mc-Avoid-section-mismatch.patch | 43 + ...emove-unneeded-else-following-a-retu.patch | 45 + ...l-mc-Drop-unneeded-void-pointer-cast.patch | 43 + ...c-bus-Eliminate-double-function-call.patch | 73 + ...fsl-mc-Replace-pr_debug-with-dev_dbg.patch | 96 + ...g-fsl-mc-Replace-pr_err-with-dev_err.patch | 83 + ...ix-incorrect-type-passed-to-dev_dbg-.patch | 48 + ...ix-incorrect-type-passed-to-dev_err-.patch | 38 + ...mc-get-rid-of-mutex_locked-variables.patch | 207 + .../7165-staging-fsl-mc-TODO-updates.patch | 49 + ...-fsl-mc-DPAA2-overview-readme-update.patch | 279 + ...pdate-dpmcp-binary-interface-to-v3.0.patch | 123 + ...update-dpbp-binary-interface-to-v2.2.patch | 208 + ...update-dprc-binary-interface-to-v5.1.patch | 206 + ...on-t-use-object-versions-to-make-bin.patch | 136 + ...et-up-coherent-dma-ops-for-added-dev.patch | 29 + ...et-cacheable-flag-for-added-devices-.patch | 30 + ...et-version-of-root-dprc-from-MC-hard.patch | 106 + ...taging-fsl-mc-add-dprc-version-check.patch | 90 + ...dd-quirk-handling-for-dpseci-objects.patch | 38 + ...aging-fsl-mc-add-dpmcp-version-check.patch | 56 + ...eturn-EINVAL-for-all-fsl_mc_portal_a.patch | 30 + ...7178-staging-fsl-mc-bus-Drop-warning.patch | 47 + ...dd-support-for-the-modalias-sysfs-at.patch | 54 + ...mplement-uevent-callback-and-set-the.patch | 32 + ...fsl-mc-clean-up-the-device-id-struct.patch | 85 + ...dd-support-for-device-table-matching.patch | 98 + ...staging-fsl-mc-export-mc_get_version.patch | 23 + ...l-mc-make-fsl_mc_is_root_dprc-global.patch | 77 + ...mc-fix-asymmetry-in-destroy-of-mc_io.patch | 62 + ...ing-fsl-mc-dprc-add-missing-irq-free.patch | 28 + ...prc-fix-ordering-problem-freeing-res.patch | 41 + ...c-properly-set-hwirq-in-msi-set_desc.patch | 48 + ...pdate-dpcon-binary-interface-to-v2.2.patch | 964 + ...oot-dprc-rescan-attribute-to-sync-ke.patch | 59 + ...us-rescan-attribute-to-sync-kernel-w.patch | 78 + ...ropagate-driver_override-for-a-child.patch | 193 + ...dd-device-binding-path-driver_overri.patch | 111 + ...c-export-irq-cleanup-for-vfio-to-use.patch | 47 + ...crement-MC_CMD_COMPLETION_TIMEOUT_MS.patch | 88 + ...-mc-make-fsl_mc_get_root_dprc-public.patch | 45 + ...mc-Management-Complex-restool-driver.patch | 489 + ...-staging-fsl-mc-dpio-services-driver.patch | 8943 ++ .../7199-dpaa2-dpio-Cosmetic-cleanup.patch | 35 + ...-fsl-mc-dpio-driver-match-id-cleanup.patch | 26 + ...h-initial-commit-of-dpaa2-eth-driver.patch | 12268 ++ ...aa2-eth-code-cleanup-for-upstreaming.patch | 3257 + ...-Update-description-of-DPNI-counters.patch | 37 + ...aa2-eth-dpni-Clear-compiler-warnings.patch | 38 + ...eth-sanitize-supported-private-flags.patch | 57 + .../7206-fsl-dpaa2-eth-match-id-cleanup.patch | 26 + ...dpaa2-eth-add-device-table-to-driver.patch | 22 + ...2-mac-Added-MAC-PHY-interface-driver.patch | 2347 + ...fsl-dpaa2-mac-Interrupt-code-cleanup.patch | 182 + ...paa2-mac-Fix-unregister_netdev-issue.patch | 42 + ...l-dpaa2-mac-Don-t-call-devm_free_irq.patch | 42 + ...sl-dpaa2-mac-Use-of_property_read_32.patch | 43 + ...-fsl-dpaa2-mac-Remove-version-checks.patch | 61 + ...aging-fsl-dpaa2-mac-match-id-cleanup.patch | 26 + ...evb-Added-Edge-Virtual-Bridge-driver.patch | 2918 + ...216-dpaa2-evb-Fix-interrupt-handling.patch | 69 + ...7-dpaa2-evb-Add-object-version-check.patch | 43 + .../7218-dpaa2-evb-Cosmetic-cleanup.patch | 20 + .../7219-dpaa2-evb-match-id-cleanup.patch | 26 + ...0-dpaa2-ethsw-Ethernet-Switch-driver.patch | 6605 + .../7221-dpaa2-ethsw-match-id-cleanup.patch | 26 + ...fix-compile-error-on-backport-to-4.4.patch | 21 + ...domain-bus-token-DOMAIN_BUS_FSL_MC_M.patch | 26 + ...-FSL-MC-specific-member-to-the-msi_d.patch | 40 + ...2-evb-fix-4.4-backport-compile-error.patch | 21 + ...paa_eth-fix-adjust_link-for-10G-2.5G.patch | 43 + ...n-t-look-at-clock-implementation-det.patch | 274 + .../8036-ls2085a-Add-support-for-reset.patch | 135 + .../8037-ls1043a-Add-support-for-reset.patch | 56 + ...nfig-Change-define-to-ARCH_LAYERSCAP.patch | 22 + ...t-gpio-driver-to-support-layerscape-.patch | 289 + ...hc-add-remove-some-quirks-according-.patch | 60 + ...e-Add-fsl-ls2085a-pcie-compatible-ID.patch | 25 + ...-layerscape-Fix-MSG-TLP-drop-setting.patch | 66 + ...yerscape-SCFG-MSI-controller-support.patch | 285 + ...ayerscape-Enable-PCIe-for-Layerscape.patch | 22 + ...2-enable-pci_domains-for-armv8-32bit.patch | 20 + ...73-ls1012a-added-clock-configuration.patch | 61 + .../8114-drivers-PCIE-enable-for-Linux.patch | 49 + ...all-dw_pcie_setup_rc-in-host-initial.patch | 30 + ...25-rtc-pcf2127-add-pcf2129-device-id.patch | 63 + ...-ls1046a-msi-Add-LS1046A-MSI-support.patch | 25 + ...8-pci-layerscape-add-LS1046A-support.patch | 38 + .../8129-clk-qoriq-add-ls1046a-support.patch | 75 + ...s1046a-sata-Add-LS1046A-sata-support.patch | 53 + ...e-add-LUT-DBG-reigster-offset-member.patch | 67 + ...mc-Add-compatible-string-for-LS1088A.patch | 24 + ...37-armv8-ls1088a-Add-PCIe-compatible.patch | 38 + ...layerscape-add-MSI-interrupt-support.patch | 259 + ...mc-Add-compatible-string-for-LS1046A.patch | 20 + ...iq-Add-ls2088a-key-to-chipinfo-table.patch | 30 + ...8230-layerscape-pci-fix-linkup-issue.patch | 37 + ...er-clk-qoriq-Add-ls2088a-clk-support.patch | 20 + ...option-to-skip-disabling-PCA954x-Mux.patch | 105 + ...-layerscape-fix-pci-lut-offset-issue.patch | 33 + .../8236-clk-add-API-of-clks.patch | 75 + ...unified-compatible-fsl-ls2080a-pcie-.patch | 96 + ...msi-fix-typo-of-MSI-compatible-strin.patch | 55 + ...-ls-scfg-msi-add-LS1046a-MSI-support.patch | 293 + ...cfg-msi-add-LS1043a-v1.1-MSI-support.patch | 134 + ...ls-scfg-msi-add-MSI-affinity-support.patch | 152 + ...69-Revert-arm64-simplify-dma_get_ops.patch | 93 + ...-fixmap-region-for-permanent-FDT-map.patch | 304 + target/linux/malta/Makefile | 23 + target/linux/malta/README | 13 + .../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 | 9 + target/linux/malta/be/target.mk | 8 + target/linux/malta/be64/config-default | 37 + target/linux/malta/be64/target.mk | 10 + target/linux/malta/config-4.4 | 300 + target/linux/malta/image/Makefile | 51 + target/linux/malta/le/config-default | 9 + target/linux/malta/le/target.mk | 9 + target/linux/malta/le64/config-default | 37 + target/linux/malta/le64/target.mk | 10 + target/linux/mcs814x/Makefile | 31 + .../mcs814x/base-files/etc/board.d/01_leds | 27 + .../mcs814x/base-files/etc/board.d/02_network | 12 + .../linux/mcs814x/base-files/lib/mcs814x.sh | 33 + .../lib/preinit/01_preinit_do_mcs814x.sh | 9 + target/linux/mcs814x/config-3.18 | 236 + .../arch/arm/boot/dts/dlan-usb-extender.dts | 68 + .../files-3.18/arch/arm/boot/dts/mcs8140.dtsi | 189 + .../files-3.18/arch/arm/boot/dts/rbt-832.dts | 89 + .../files-3.18/arch/arm/mach-mcs814x/Kconfig | 29 + .../files-3.18/arch/arm/mach-mcs814x/Makefile | 5 + .../arch/arm/mach-mcs814x/Makefile.boot | 4 + .../arch/arm/mach-mcs814x/board-mcs8140-dt.c | 45 + .../files-3.18/arch/arm/mach-mcs814x/clock.c | 271 + .../files-3.18/arch/arm/mach-mcs814x/common.c | 166 + .../files-3.18/arch/arm/mach-mcs814x/common.h | 16 + .../arch/arm/mach-mcs814x/include/mach/cpu.h | 16 + .../mach-mcs814x/include/mach/debug-macro.S | 11 + .../mach-mcs814x/include/mach/entry-macro.S | 6 + .../arch/arm/mach-mcs814x/include/mach/gpio.h | 21 + .../arm/mach-mcs814x/include/mach/hardware.h | 16 + .../arch/arm/mach-mcs814x/include/mach/io.h | 27 + .../arch/arm/mach-mcs814x/include/mach/irqs.h | 17 + .../arm/mach-mcs814x/include/mach/mcs814x.h | 53 + .../arm/mach-mcs814x/include/mach/param.h | 15 + .../arm/mach-mcs814x/include/mach/system.h | 18 + .../arm/mach-mcs814x/include/mach/timex.h | 18 + .../mach-mcs814x/include/mach/uncompress.h | 40 + .../files-3.18/arch/arm/mach-mcs814x/irq.c | 94 + .../files-3.18/arch/arm/mach-mcs814x/timer.c | 132 + .../drivers/char/hw_random/mcs814x-rng.c | 121 + .../files-3.18/drivers/gpio/gpio-mcs814x.c | 148 + .../drivers/net/ethernet/mcs8140/Kconfig | 4 + .../drivers/net/ethernet/mcs8140/Makefile | 3 + .../drivers/net/ethernet/mcs8140/nuport_mac.c | 1206 + .../files-3.18/drivers/net/phy/mcs814x.c | 64 + .../drivers/usb/host/ehci-mcs814x.c | 163 + .../drivers/usb/host/ohci-mcs814x.c | 202 + .../files-3.18/drivers/watchdog/mcs814x_wdt.c | 207 + target/linux/mcs814x/image/Makefile | 60 + target/linux/mcs814x/modules.mk | 20 + .../mcs814x/patches-3.18/001-platform.patch | 64 + .../mcs814x/patches-3.18/003-ethernet.patch | 16 + .../linux/mcs814x/patches-3.18/004-usb.patch | 28 + .../patches-3.18/005-mcs814x_rng.patch | 31 + .../patches-3.18/006-mcs814x_wdt.patch | 25 + .../patches-3.18/008-mcs814x_gpio.patch | 25 + .../011-mcs814x_internal_phy.patch | 20 + ...mtd-cfi_cmdset_0002-force-word-write.patch | 14 + .../patches-3.18/013-ohci_workarounds.patch | 64 + .../mcs814x/patches-3.18/014-debuguart.patch | 41 + target/linux/mcs814x/profiles/000-Generic.mk | 16 + .../mcs814x/profiles/100-dLAN-USB-Extender.mk | 25 + target/linux/mediatek/32/profiles/default.mk | 15 + target/linux/mediatek/32/target.mk | 13 + target/linux/mediatek/Makefile | 21 + .../base-files/etc/board.d/02_network | 30 + .../mediatek/base-files/etc/config/mtkhnat | 60 + .../mediatek/base-files/etc/init.d/mtkhnat | 13 + target/linux/mediatek/base-files/etc/inittab | 3 + .../base-files/etc/uci-defaults/99-firewall | 9 + .../base-files/etc/uci-defaults/99-net-ps | 16 + .../lib/preinit/05_set_preinit_iface | 9 + .../lib/preinit/06_set_rps_sock_flow | 8 + .../base-files/lib/upgrade/platform.sh | 55 + target/linux/mediatek/base-files/sbin/mtkhnat | 64 + target/linux/mediatek/config-4.9 | 472 + .../files/arch/arm/boot/dts/_mt7623.dtsi | 804 + .../files/arch/arm/boot/dts/mt6323.dtsi | 241 + .../arch/arm/boot/dts/mt7623-NAND-ePHY.dts | 523 + .../files/arch/arm/boot/dts/mt7623-NAND.dts | 553 + .../files/arch/arm/boot/dts/mt7623-eMMC.dts | 547 + .../files/arch/arm/boot/dts/mt7623-evb.dts | 50 + .../arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 443 + .../files/drivers/char/hw_random/mtk-rng.c | 168 + .../files/drivers/crypto/mediatek/Makefile | 2 + .../files/drivers/crypto/mediatek/mtk-aes.c | 1304 + .../drivers/crypto/mediatek/mtk-platform.c | 607 + .../drivers/crypto/mediatek/mtk-platform.h | 237 + .../files/drivers/crypto/mediatek/mtk-regs.h | 194 + .../files/drivers/crypto/mediatek/mtk-sha.c | 1358 + target/linux/mediatek/image/32.mk | 45 + target/linux/mediatek/image/Makefile | 10 + target/linux/mediatek/modules.mk | 14 + .../0001-arch-arm-add-dts-build-code.patch | 23 + ...-MediaTek-PCIe-binding-documentation.patch | 154 + ...-support-for-PCIe-found-on-MT7623-MT.patch | 698 + ...ediatek-Add-MT2701-power-dt-bindings.patch | 75 + ...lk-mediatek-Add-MT2701-clock-support.patch | 1431 + ...6-reset-mediatek-mt2701-reset-driver.patch | 36 + ...-MT2701-config-options-for-mediatek-.patch | 29 + ...ine-scpsys-to-support-multiple-platf.patch | 487 + ...oc-mediatek-Add-MT2701-scpsys-driver.patch | 194 + .../0010-clk-add-hifsys-reset.patch | 30 + .../0011-scpsys-various-fixes.patch | 20 + .../0012-clk-dont-disable-unused-clocks.patch | 21 + ...-clk-mediatek-enable-critical-clocks.patch | 69 + ...ort-CPU-mux-clocks-for-CPU-frequency.patch | 287 + .../0015-cpufreq-mediatek-add-driver.patch | 433 + .../0016-pwm-add-pwm-mediatek.patch | 274 + ...T6323-LED-support-into-MT6397-driver.patch | 27 + ...-Add-document-bindings-for-leds-mt63.patch | 78 + ...Add-the-description-for-LED-as-the-s.patch | 24 + ...leds-Add-LED-support-for-MT6323-PMIC.patch | 539 + ...-the-placement-at-which-the-mfd_cell.patch | 27 + ...ke-bootrom-work-with-upstream-driver.patch | 32 + .../0023-rng-add-mediatek-hw-rng.patch | 81 + ...ver-for-IR-remote-receiver-on-MT7623.patch | 1034 + ...-net-dsa-add-Mediatek-MT7530-binding.patch | 110 + ...6-net-mediatek-backport-v4.10-driver.patch | 1788 + ...27-net-next-mediatek-fix-DQL-support.patch | 93 + ...t-dsa-add-Mediatek-tag-RX-TX-handler.patch | 192 + ...t-mediatek-add-CDM-able-to-recognize.patch | 48 + ...-dsa-support-for-Mediatek-MT7530-swi.patch | 1584 + .../0031-net-dsa-dsa-api-compat.patch | 106 + ...-add-support-for-GMAC2-wired-to-ext-.patch | 38 + .../0033-net-dsa-add-multi-gmac-support.patch | 272 + ...t-dsa-mediatek-add-dual-gmac-support.patch | 91 + ...-mediatek-disable-RX-VLan-offloading.patch | 47 + ...tek-fix-typos-inside-the-header-file.patch | 25 + ...ext-mediatek-bring-up-QDMA-RX-ring-0.patch | 128 + ...e-struct-dsa_device_ops-to-the-globa.patch | 46 + ...-flow_dissect-callback-to-struct-dsa.patch | 32 + ...-add-flow_dissect-callback-to-the-op.patch | 39 + ...041-net-next-dsa-fix-flow-dissection.patch | 65 + ...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 | 56 + ...k-split-IRQ-register-locking-into-TX.patch | 208 + .../0048-net-core-add-RPS-balancer.patch | 90 + .../0049-net-mediatek-add-rx-queue.patch | 20 + .../0050-net-mediatek-add-trgmii-clock.patch | 21 + ...051-net-mediatek-increase-tx_timeout.patch | 21 + .../patches-4.9/0052-net-phy-add-FC.patch | 21 + ...sa-mediatek-add-software-phy-polling.patch | 68 + ...iatek-fixed-deadlock-captured-by-loc.patch | 105 + ...iatek-avoid-potential-invalid-memory.patch | 31 + ...0056-net-mediatek-add-hw-nat-support.patch | 119 + ...0057-net-mediatek-add-HW-QoS-support.patch | 121 + .../patches-4.9/0058-pinctrl-update.patch | 470 + .../mediatek/patches-4.9/0059-eth-fixes.patch | 511 + .../mediatek/patches-4.9/0060-eth-debug.patch | 69 + .../patches-4.9/0061-eth-up_down_lock.patch | 72 + target/linux/mpc85xx/Makefile | 34 + .../mpc85xx/base-files/etc/board.d/02_network | 25 + target/linux/mpc85xx/base-files/etc/diag.sh | 35 + .../etc/hotplug.d/firmware/10-ath9k-eeprom | 66 + .../linux/mpc85xx/base-files/lib/mpc85xx.sh | 30 + .../lib/preinit/01_preinit_do_mpc85xx.sh | 9 + .../lib/preinit/05_set_preinit_iface_mpc85xx | 12 + .../base-files/lib/upgrade/platform.sh | 82 + target/linux/mpc85xx/config-4.9 | 363 + .../arch/powerpc/boot/cuboot-tl-wdr4900-v1.c | 168 + .../arch/powerpc/boot/dts/tl-wdr4900-v1.dts | 238 + .../powerpc/platforms/85xx/tl_wdr4900_v1.c | 144 + target/linux/mpc85xx/generic/config-default | 0 target/linux/mpc85xx/generic/target.mk | 6 + target/linux/mpc85xx/image/Makefile | 77 + target/linux/mpc85xx/p1020/config-default | 16 + target/linux/mpc85xx/p1020/target.mk | 6 + ...85xx-add-gpio-keys-to-of-match-table.patch | 10 + ...0-powerpc-85xx-tl-wdr4900-v1-support.patch | 78 + target/linux/mpc85xx/profiles/00-default.mk | 15 + target/linux/mpc85xx/profiles/tp-link.mk | 16 + target/linux/mvebu/Makefile | 25 + .../mvebu/base-files/etc/board.d/01_leds | 49 + .../mvebu/base-files/etc/board.d/02_network | 48 + target/linux/mvebu/base-files/etc/diag.sh | 45 + .../base-files/etc/init.d/linksys_recovery | 20 + .../base-files/etc/uci-defaults/03_wireless | 56 + .../base-files/etc/uci-defaults/04_mambafan | 23 + target/linux/mvebu/base-files/lib/mvebu.sh | 73 + .../mvebu/base-files/lib/preinit/01_sysinfo | 9 + .../base-files/lib/preinit/06_set_iface_mac | 46 + .../base-files/lib/preinit/79_move_config | 18 + .../base-files/lib/preinit/81_linksys_syscfg | 37 + .../mvebu/base-files/lib/upgrade/clearfog.sh | 32 + .../mvebu/base-files/lib/upgrade/linksys.sh | 79 + .../mvebu/base-files/lib/upgrade/platform.sh | 49 + .../linux/mvebu/base-files/sbin/fan_ctrl.sh | 28 + target/linux/mvebu/config-4.4 | 436 + target/linux/mvebu/config-4.9 | 456 + .../arm/boot/dts/armada-385-linksys-rango.dts | 453 + .../boot/dts/armada-385-linksys-shelby.dts | 115 + target/linux/mvebu/image/Makefile | 215 + target/linux/mvebu/image/cfbase-boot.script | 26 + target/linux/mvebu/image/cfpro-boot.script | 22 + .../linux/mvebu/image/gen_mvebu_sdcard_img.sh | 76 + .../patches-4.4/002-add_powertables.patch | 748 + .../patches-4.4/003-add_switch_nodes.patch | 40 + .../patches-4.4/010-build_new_dtbs.patch | 11 + ..._nand-add-support-for-partial-chunks.patch | 428 + ...nand-Increase-the-initial-chunk-size.patch | 42 + ...Fix-initial-controller-configuration.patch | 104 + ...rovide-api-for-obtaining-IO-and-DRAM.patch | 94 + ...-mvneta-consolidate-autoneg-enabling.patch | 55 + ...ment-ethtool-autonegotiation-control.patch | 165 + ...the-default-queue-related-for-each-p.patch | 131 + ...ta-Associate-RX-queues-with-each-CPU.patch | 278 + ...034-net-mvneta-Add-naive-RSS-support.patch | 191 + ...035-net-mvneta-Configure-XPS-support.patch | 124 + ...rivial-cut-off-issue-in-mvneta_ethto.patch | 46 + ...he-CPU-choice-in-mvneta_percpu_elect.patch | 57 + ...mvneta-Use-on_each_cpu-when-possible.patch | 68 + ...y-the-queue-related-fields-from-each.patch | 179 + ...vneta_percpu_elect-function-should-b.patch | 68 + ...a-Fix-race-condition-during-stopping.patch | 128 + ...sort-the-headers-in-alphabetic-order.patch | 56 + ...ardware-buffer-management-helper-API.patch | 159 + ...d-support-for-hardware-buffer-manage.patch | 1684 + ...et-mvneta-Use-the-new-hwbm-framework.patch | 359 + .../047-net-mvneta-Fix-spinlock-usage.patch | 52 + ...rror-messages-in-mvneta_port_down-fu.patch | 33 + ...ce-MVNETA_CPU_D_CACHE_LINE_SIZE-with.patch | 56 + ...hanging-MTU-when-using-per-cpu-proce.patch | 75 + ...-armada-38x-add-buffer-manager-nodes.patch | 53 + ...s-armada-xp-add-buffer-manager-nodes.patch | 53 + ...idRun-Armada-388-Clearfog-A1-DT-file.patch | 611 + ...8x-enable-buffer-manager-support-on-.patch | 256 + ...88-clearfog-remove-duplicate-mdio-en.patch | 41 + .../patches-4.4/100-find_active_root.patch | 62 + .../patches-4.4/102-revert_i2c_delay.patch | 15 + .../103-remove-nand-driver-bug.patch | 13 + ...04-linksys_mamba_disable_keep_config.patch | 10 + .../106-enable-bm-on-linksys-devices.patch | 107 + .../110-pxa3xxx_revert_irq_thread.patch | 69 + ...hy-MII-register-generation-to-a-libr.patch | 306 + ...y-register-generation-to-tabular-for.patch | 203 + ...hy-state-validation-from-register-ge.patch | 138 + ...-generate-swphy-registers-on-the-fly.patch | 204 + ...ty-of-fixed-phy-MII-register-reading.patch | 92 + ...-a-hook-for-link-up-link-down-events.patch | 183 + ...ell-88E1512-add-flow-control-support.patch | 26 + ...export-phy_start_machine-for-phylink.patch | 25 + ...-export-phy_speed_to_str-for-phylink.patch | 44 + .../129-phy-add-I2C-mdio-bus.patch | 163 + ...0-phylink-add-phylink-infrastructure.patch | 1005 + ...31-phylink-add-hooks-for-SFP-support.patch | 156 + ...add-phylink-based-SFP-module-support.patch | 1382 + ...3-sfp-display-SFP-module-information.patch | 283 + .../134-net-mvneta-convert-to-phylink.patch | 697 + ...ed-phy-remove-fixed_phy_update_state.patch | 80 + ...ylink-add-ethtool-nway_reset-support.patch | 48 + ...37-net-mvneta-add-nway_reset-support.patch | 38 + ...138-phylink-add-flow-control-support.patch | 262 + ...add-flow-control-support-via-phylink.patch | 66 + ...ble-flow-control-for-PHY-connections.patch | 32 + ...e-flow-control-for-fixed-connections.patch | 53 + .../142-phylink-add-EEE-support.patch | 111 + .../143-net-mvneta-add-EEE-support.patch | 182 + ...44-phylink-add-module-EEPROM-support.patch | 137 + ...ta-add-module-EEPROM-reading-support.patch | 44 + ...sfp-phylink-hook-up-eeprom-functions.patch | 68 + .../147-net-mvneta-add-BQL-support.patch | 83 + ...2-gpio_mvebu_add_limited_pwm_support.patch | 433 + ...nd_mvebu_gpio_documentation_with_pwm.patch | 52 + ..._xp_add_pwm_properties_to_dtsi_files.patch | 149 + ...05-arm_mvebu_enable_pwm_in_defconfig.patch | 18 + ...0ac_use_pwm-fan_rather_than_gpio-fan.patch | 28 + .../207-armada-385-rd-mtd-partitions.patch | 19 + .../208-ARM-mvebu-385-ap-Add-partitions.patch | 34 + .../209-clearfog_switch_node.patch | 21 + ...a388-clearfog-add-SFP-module-support.patch | 84 + .../patches-4.4/300-reprobe_sfp_phy.patch | 96 + .../400-mvneta-tx-queue-workaround.patch | 36 + .../patches-4.9/002-add_powertables.patch | 748 + .../patches-4.9/003-add_switch_nodes.patch | 40 + .../004-add_sata_disk_activity_trigger.patch | 49 + .../patches-4.9/010-build_new_dtbs.patch | 11 + .../patches-4.9/100-find_active_root.patch | 60 + .../patches-4.9/102-revert_i2c_delay.patch | 15 + .../103-remove-nand-driver-bug.patch | 13 + ...04-linksys_mamba_disable_keep_config.patch | 10 + .../106-enable-bm-on-linksys-devices.patch | 107 + .../110-pxa3xxx_revert_irq_thread.patch | 69 + .../120-net-mvneta-add-BQL-support.patch | 83 + ...0-gpio_mvebu_add_limited_pwm_support.patch | 433 + ...nd_mvebu_gpio_documentation_with_pwm.patch | 52 + ..._xp_add_pwm_properties_to_dtsi_files.patch | 149 + ...03-arm_mvebu_enable_pwm_in_defconfig.patch | 18 + ...0ac_use_pwm-fan_rather_than_gpio-fan.patch | 28 + .../205-armada-385-rd-mtd-partitions.patch | 19 + .../206-ARM-mvebu-385-ap-Add-partitions.patch | 35 + .../210-clearfog_switch_node.patch | 21 + ...a388-clearfog-add-SFP-module-support.patch | 84 + .../300-mvneta-tx-queue-workaround.patch | 36 + ...-a-hook-for-link-up-link-down-events.patch | 177 + ...move-phy-MMD-accessors-to-phy-core.c.patch | 292 + ..._-read-write-_mmd-generic-MMD-access.patch | 97 + ...etting-unsupported-EEE-advertisments.patch | 57 + ...phy-autonegotiation-after-EEE-advert.patch | 53 + ...allow-EEE-with-SGMII-interface-modes.patch | 21 + ...phylib-correctness-for-non-autoneg-s.patch | 199 + ...dd-802.3-clause-45-support-to-phylib.patch | 323 + ...up-clause-45-autonegotiation-restart.patch | 54 + ...ouble-read-clause-45-status-register.patch | 35 + ...ttings-table-to-support-more-than-32.patch | 142 + ...t-PHY-speed-and-duplex-string-genera.patch | 103 + ..._lookup_setting-and-guts-of-phy_supp.patch | 329 + ...export-phy_start_machine-for-phylink.patch | 22 + .../414-phy-add-I2C-mdio-bus.patch | 180 + ...5-phylink-add-phylink-infrastructure.patch | 1120 + ...16-phylink-add-hooks-for-SFP-support.patch | 177 + ...add-phylink-based-SFP-module-support.patch | 1477 + ...8-sfp-display-SFP-module-information.patch | 280 + .../419-net-mvneta-convert-to-phylink.patch | 743 + ...le-MVNETA_CAUSE_PSC_SYNC_CHANGE-inte.patch | 58 + ...ylink-add-ethtool-nway_reset-support.patch | 44 + ...22-net-mvneta-add-nway_reset-support.patch | 35 + ...423-phylink-add-flow-control-support.patch | 232 + ...add-flow-control-support-via-phylink.patch | 76 + ...ble-flow-control-for-PHY-connections.patch | 28 + ...e-flow-control-for-fixed-connections.patch | 32 + .../427-phylink-add-EEE-support.patch | 116 + .../428-net-mvneta-add-EEE-support.patch | 179 + ...29-phylink-add-module-EEPROM-support.patch | 123 + ...ta-add-module-EEPROM-reading-support.patch | 41 + ...sfp-phylink-hook-up-eeprom-functions.patch | 65 + ...ell-88E1512-add-flow-control-support.patch | 24 + ...ell-88E1111-add-flow-control-support.patch | 22 + ...ell-88E1540-add-flow-control-support.patch | 22 + ...ate-PHY-interface-mode-to-MAC-driver.patch | 126 + ...ylink-ensure-link-drops-are-reported.patch | 52 + .../patches-4.9/450-reprobe_sfp_phy.patch | 119 + .../470-ClearFog-renamed-upstream.patch | 80 + ...-add-ClearFog-Base-device-tree-files.patch | 540 + ...idrun-microsom-backport-improvements.patch | 185 + ...ix-marvell-phy-initialization-issues.patch | 51 + target/linux/mvebu/profiles/000-Default.mk | 17 + 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/base-files/lib/mxs.sh | 33 + .../lib/preinit/01_preinit_do_mxs.sh | 9 + target/linux/mxs/config-4.9 | 296 + .../arch/arm/boot/dts/imx28-duckbill.dts | 139 + 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 | 16 + .../octeon/base-files/lib/upgrade/platform.sh | 100 + target/linux/octeon/config-4.9 | 296 + target/linux/octeon/image/Makefile | 45 + .../100-ubnt_edgerouter2_support.patch | 31 + .../110-er200-ethernet_probe_order.patch | 34 + ...ost-driver-for-octeon-mmc-controller.patch | 1622 + .../octeon/patches-4.9/160-cmdline-hack.patch | 47 + .../octeon/patches-4.9/170-cisco-hack.patch | 31 + target/linux/octeon/profiles/000-Generic.mk | 17 + target/linux/omap/Makefile | 29 + target/linux/omap/base-files/etc/inittab | 5 + target/linux/omap/config-4.4 | 720 + 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 + .../001-omap4_pandaboard-wlan_fix.patch | 10 + target/linux/omap/profiles/00-default.mk | 23 + target/linux/omap24xx/Makefile | 26 + .../omap24xx/base-files/etc/config/fstab | 13 + .../omap24xx/base-files/etc/config/network | 15 + .../omap24xx/base-files/etc/config/wireless | 20 + .../etc/hotplug.d/firmware/10-bme-pmm-image | 17 + .../etc/hotplug.d/firmware/20-p54spi-eeprom | 32 + .../omap24xx/base-files/etc/init.d/watchdog | 17 + target/linux/omap24xx/base-files/etc/inittab | 5 + .../linux/omap24xx/base-files/etc/pointercal | 1 + .../base-files/lib/firmware/bc4fw.bin | Bin 0 -> 2034 bytes target/linux/omap24xx/config-4.1 | 290 + target/linux/omap24xx/image/Makefile | 27 + target/linux/omap24xx/modules.mk | 83 + target/linux/omap24xx/profiles/100-n810.mk | 31 + .../linux/omap24xx/profiles/110-n810-gui.mk | 22 + target/linux/orion/Makefile | 24 + .../orion/base-files/etc/board.d/02_network | 15 + .../orion/base-files/etc/hotplug.d/usb/10-usb | 54 + .../orion/base-files/lib/preinit/01_sysinfo | 12 + target/linux/orion/config-4.4 | 244 + .../base-files/etc/uci-defaults/09_hardware | 54 + .../base-files/lib/upgrade/platform.sh | 38 + target/linux/orion/generic/target.mk | 14 + target/linux/orion/harddisk/config-default | 38 + target/linux/orion/harddisk/target.mk | 15 + target/linux/orion/image/Makefile | 12 + target/linux/orion/image/generic.mk | 237 + target/linux/orion/image/harddisk.mk | 57 + .../000-arm_openwrt_machtypes.patch | 8 + .../100-wrt350nv2_openwrt_partition_map.patch | 32 + .../101-wnr854t_partition_map.patch | 25 + .../patches-4.4/200-dt2_board_support.patch | 570 + .../patches-4.4/210-wn802t_support.patch | 75 + target/linux/oxnas/Makefile | 30 + .../oxnas/base-files/etc/board.d/01_leds | 27 + .../oxnas/base-files/etc/board.d/02_network | 22 + target/linux/oxnas/base-files/etc/diag.sh | 41 + .../oxnas/base-files/init.d/set-irq-affinity | 22 + target/linux/oxnas/base-files/lib/oxnas.sh | 66 + .../lib/preinit/01_preinit_do_oxnas.sh | 9 + .../oxnas/base-files/lib/upgrade/platform.sh | 28 + target/linux/oxnas/config-4.4 | 366 + .../files/arch/arm/boot/dts/ox820-akitio.dts | 147 + .../files/arch/arm/boot/dts/ox820-kd20.dts | 173 + .../arch/arm/boot/dts/ox820-pogoplug-pro.dts | 94 + .../arch/arm/boot/dts/ox820-pogoplug-v3.dts | 91 + .../files/arch/arm/boot/dts/ox820-stg212.dts | 102 + .../oxnas/files/arch/arm/boot/dts/ox820.dtsi | 342 + .../files/arch/arm/configs/ox820_defconfig | 104 + .../oxnas/files/arch/arm/mach-oxnas/Kconfig | 25 + .../oxnas/files/arch/arm/mach-oxnas/Makefile | 8 + .../files/arch/arm/mach-oxnas/Makefile.boot | 2 + .../oxnas/files/arch/arm/mach-oxnas/fiq.S | 87 + .../oxnas/files/arch/arm/mach-oxnas/headsmp.S | 27 + .../oxnas/files/arch/arm/mach-oxnas/hotplug.c | 111 + .../arm/mach-oxnas/include/mach/hardware.h | 233 + .../arch/arm/mach-oxnas/include/mach/iomap.h | 33 + .../arch/arm/mach-oxnas/include/mach/irqs.h | 7 + .../arch/arm/mach-oxnas/include/mach/smp.h | 34 + .../arch/arm/mach-oxnas/include/mach/timex.h | 6 + .../arm/mach-oxnas/include/mach/uncompress.h | 32 + .../arch/arm/mach-oxnas/include/mach/utils.h | 34 + .../files/arch/arm/mach-oxnas/mach-ox820.c | 183 + .../oxnas/files/arch/arm/mach-oxnas/platsmp.c | 315 + .../oxnas/files/drivers/ata/sata_oxnas.c | 2477 + .../linux/oxnas/files/drivers/clk/clk-oxnas.c | 297 + .../drivers/clocksource/oxnas_rps_timer.c | 96 + .../oxnas/files/drivers/irqchip/irq-rps.c | 145 + .../oxnas/files/drivers/mtd/nand/oxnas_nand.c | 206 + .../net/ethernet/stmicro/stmmac/dwmac-oxnas.c | 145 + .../oxnas/files/drivers/pci/host/pcie-oxnas.c | 676 + .../files/drivers/pinctrl/pinctrl-oxnas.c | 1461 + .../oxnas/files/drivers/reset/reset-ox820.c | 107 + .../oxnas/files/drivers/usb/host/ehci-oxnas.c | 316 + target/linux/oxnas/image/Makefile | 107 + target/linux/oxnas/modules.mk | 41 + ...ackport-v4.7-0day-patches-from-Boris.patch | 5286 + ...helper-reading-NAND-ECC-algo-from-DT.patch | 91 + ...mtd-nand-import-nand_hw_control_init.patch | 175 + ...-arm_introduce-dma-fiq-irq-broadcast.patch | 80 + .../250-add-plxtech-vendor-prefix.patch | 10 + .../300-introduce-oxnas-platform.patch | 71 + .../patches-4.4/310-oxnas-clocksource.patch | 25 + .../oxnas/patches-4.4/320-oxnas-irqchip.patch | 34 + .../oxnas/patches-4.4/330-oxnas-pinctrl.patch | 28 + .../oxnas/patches-4.4/340-oxnas-pcie.patch | 22 + .../oxnas/patches-4.4/350-oxnas-reset.patch | 20 + .../oxnas/patches-4.4/400-oxnas-nand.patch | 24 + .../oxnas/patches-4.4/500-oxnas-sata.patch | 26 + .../oxnas/patches-4.4/700-oxnas-dwmac.patch | 29 + .../oxnas/patches-4.4/800-oxnas-ehci.patch | 26 + .../oxnas/patches-4.4/900-more-boards.patch | 15 + .../996-ATAG_DTB_COMPAT_CMDLINE_MANGLE.patch | 185 + .../oxnas/patches-4.4/999-libata-hacks.patch | 57 + target/linux/oxnas/profiles/00-default.mk | 21 + 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 | 56 + target/linux/pistachio/config-4.9 | 340 + target/linux/pistachio/image/Makefile | 38 + ...d-base-device-tree-for-Pistachio-SoC.patch | 983 + ...img-add-device-tree-for-Marduk-board.patch | 230 + ...PS-DTS-add-img-directory-to-Makefile.patch | 22 + ...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 | 706 + ...mtd-spi-nand-Support-Gigadevice-GD5F.patch | 524 + .../701-net-micrel-Disable-PME.patch | 35 + ...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/ppc40x/Makefile | 26 + .../ppc40x/base-files/lib/preinit/01_sysinfo | 12 + .../ppc40x/base-files/lib/upgrade/platform.sh | 35 + target/linux/ppc40x/config-3.18 | 236 + target/linux/ppc40x/image/Makefile | 72 + target/linux/ppc40x/modules.mk | 41 + .../003-powerpc-add-EBC_BXCR-defines.patch | 27 + .../ppc40x/patches-3.18/004-magicbox.patch | 446 + .../ppc40x/patches-3.18/005-openrb.patch | 447 + .../101-pata-magicbox-cf-driver.patch | 433 + .../110-kilauea_openwrt_flashmap.patch | 55 + .../120-usb-isp116x-hcd-add-of-binding.patch | 290 + ...b-isp116x-hcd-ppc405-register-access.patch | 110 + target/linux/ppc44x/Makefile | 26 + target/linux/ppc44x/base-files/etc/inittab | 4 + target/linux/ppc44x/config-3.18 | 251 + target/linux/ppc44x/image/Makefile | 46 + ...move-incorrect-__init-__exit-markups.patch | 46 + .../patches-3.18/100-openwrt_flashmap.patch | 55 + .../110-openwrt_dts_cmdline.patch | 9 + .../900-bootwrapper-parallel-make-fix.patch | 45 + target/linux/ramips/Makefile | 26 + .../ramips/base-files/etc/board.d/01_leds | 452 + .../ramips/base-files/etc/board.d/02_network | 525 + .../base-files/etc/board.d/03_gpio_switches | 24 + target/linux/ramips/base-files/etc/diag.sh | 320 + .../etc/hotplug.d/firmware/10-rt2x00-eeprom | 54 + .../base-files/etc/hotplug.d/usb/10-motion | 1 + .../ramips/base-files/etc/init.d/bootcount | 12 + target/linux/ramips/base-files/etc/inittab | 3 + .../etc/uci-defaults/09_fix-seama-header | 23 + .../lib/preinit/01_preinit_do_ramips.sh | 9 + .../lib/preinit/04_handle_checksumming | 56 + .../lib/preinit/07_set_preinit_iface_ramips | 29 + target/linux/ramips/base-files/lib/ramips.sh | 730 + .../ramips/base-files/lib/upgrade/platform.sh | 326 + .../ramips/base-files/lib/upgrade/ubnt.sh | 76 + .../ramips/base-files/sbin/fixup-mac-address | 80 + target/linux/ramips/dts/11ACNAS.dts | 27 + target/linux/ramips/dts/3G-6200N.dts | 112 + target/linux/ramips/dts/3G-6200NL.dts | 101 + target/linux/ramips/dts/3G150B.dts | 118 + target/linux/ramips/dts/3G300M.dts | 124 + target/linux/ramips/dts/A5-V11.dts | 124 + target/linux/ramips/dts/AI-BR100.dts | 109 + target/linux/ramips/dts/AIR3GII.dts | 98 + target/linux/ramips/dts/ALL0239-3G.dts | 119 + target/linux/ramips/dts/ALL0256N-4M.dts | 43 + target/linux/ramips/dts/ALL0256N-8M.dts | 43 + target/linux/ramips/dts/ALL0256N.dtsi | 65 + target/linux/ramips/dts/ALL5002.dts | 114 + target/linux/ramips/dts/ALL5003.dts | 114 + target/linux/ramips/dts/AR670W.dts | 106 + target/linux/ramips/dts/AR725W.dts | 116 + target/linux/ramips/dts/ASL26555-16M.dts | 61 + target/linux/ramips/dts/ASL26555-8M.dts | 55 + target/linux/ramips/dts/ASL26555.dtsi | 100 + target/linux/ramips/dts/ATP-52B.dts | 100 + target/linux/ramips/dts/AWAPN2403.dts | 85 + target/linux/ramips/dts/AWM002-EVB-4M.dts | 43 + target/linux/ramips/dts/AWM002-EVB-8M.dts | 43 + target/linux/ramips/dts/AWM002-EVB.dtsi | 75 + target/linux/ramips/dts/ArcherC20i.dts | 153 + target/linux/ramips/dts/ArcherC50.dts | 190 + target/linux/ramips/dts/ArcherMR200.dts | 194 + target/linux/ramips/dts/BC2.dts | 90 + target/linux/ramips/dts/BR-6475ND.dts | 179 + target/linux/ramips/dts/BROADWAY.dts | 95 + target/linux/ramips/dts/CARAMBOLA.dts | 78 + target/linux/ramips/dts/CF-WR800N.dts | 115 + target/linux/ramips/dts/CS-QR10.dts | 152 + target/linux/ramips/dts/CY-SWR1100.dts | 153 + target/linux/ramips/dts/D105.dts | 95 + target/linux/ramips/dts/D240.dts | 168 + target/linux/ramips/dts/DAP-1350.dts | 128 + target/linux/ramips/dts/DB-WRT01.dts | 100 + target/linux/ramips/dts/DCH-M225.dts | 186 + target/linux/ramips/dts/DCS-930.dts | 116 + target/linux/ramips/dts/DCS-930L-B1.dts | 108 + target/linux/ramips/dts/DIR-300-B1.dts | 112 + target/linux/ramips/dts/DIR-300-B7.dts | 103 + target/linux/ramips/dts/DIR-320-B1.dts | 131 + target/linux/ramips/dts/DIR-600-B1.dts | 112 + target/linux/ramips/dts/DIR-610-A1.dts | 104 + target/linux/ramips/dts/DIR-615-D.dts | 110 + target/linux/ramips/dts/DIR-615-H1.dts | 125 + target/linux/ramips/dts/DIR-620-A1.dts | 121 + target/linux/ramips/dts/DIR-620-D1.dts | 112 + target/linux/ramips/dts/DIR-645.dts | 142 + target/linux/ramips/dts/DIR-810L.dts | 136 + target/linux/ramips/dts/DIR-860L-B1.dts | 142 + target/linux/ramips/dts/DUZUN-DM06.dts | 157 + target/linux/ramips/dts/DWR-512-B.dts | 145 + target/linux/ramips/dts/E1700.dts | 154 + target/linux/ramips/dts/ESR-9753.dts | 97 + target/linux/ramips/dts/EW1200.dts | 128 + target/linux/ramips/dts/EX2700.dts | 145 + target/linux/ramips/dts/EX3700.dts | 162 + target/linux/ramips/dts/F5D8235_V1.dts | 211 + target/linux/ramips/dts/F5D8235_V2.dts | 121 + target/linux/ramips/dts/F7C027.dts | 133 + target/linux/ramips/dts/FIREWRT.dts | 123 + target/linux/ramips/dts/FONERA20N.dts | 137 + target/linux/ramips/dts/FREESTATION5.dts | 105 + target/linux/ramips/dts/GB-PC1.dts | 120 + target/linux/ramips/dts/GL-MT300A.dts | 151 + target/linux/ramips/dts/GL-MT300N-V2.dts | 133 + target/linux/ramips/dts/GL-MT300N.dts | 140 + target/linux/ramips/dts/GL-MT750.dts | 158 + target/linux/ramips/dts/HC5661.dts | 32 + target/linux/ramips/dts/HC5661A.dts | 123 + target/linux/ramips/dts/HC5761.dts | 32 + target/linux/ramips/dts/HC5861.dts | 92 + target/linux/ramips/dts/HC5962.dts | 148 + target/linux/ramips/dts/HC5X61.dtsi | 143 + target/linux/ramips/dts/HG255D.dts | 133 + target/linux/ramips/dts/HLKRM04.dts | 125 + target/linux/ramips/dts/HPM.dts | 150 + target/linux/ramips/dts/HT-TM02.dts | 114 + target/linux/ramips/dts/HW550-3G.dts | 117 + target/linux/ramips/dts/IP2202.dts | 91 + target/linux/ramips/dts/JHR-N805R.dts | 89 + target/linux/ramips/dts/JHR-N825R.dts | 84 + target/linux/ramips/dts/JHR-N926R.dts | 130 + target/linux/ramips/dts/K2P.dts | 119 + target/linux/ramips/dts/LINKIT7688.dts | 184 + target/linux/ramips/dts/M2M.dts | 112 + target/linux/ramips/dts/M3.dts | 106 + target/linux/ramips/dts/M4-4M.dts | 43 + target/linux/ramips/dts/M4-8M.dts | 43 + target/linux/ramips/dts/M4.dtsi | 61 + target/linux/ramips/dts/MAC1200RV2.dts | 96 + target/linux/ramips/dts/MINIEMBPLUG.dts | 124 + target/linux/ramips/dts/MINIEMBWIFI.dts | 95 + target/linux/ramips/dts/MIR3G.dts | 163 + target/linux/ramips/dts/MIWIFI-MINI.dts | 155 + target/linux/ramips/dts/MIWIFI-NANO.dts | 104 + target/linux/ramips/dts/MLW221.dts | 122 + target/linux/ramips/dts/MLWG2.dts | 122 + target/linux/ramips/dts/MOFI3500-3GN.dts | 114 + target/linux/ramips/dts/MPRA1.dts | 123 + target/linux/ramips/dts/MPRA2.dts | 120 + target/linux/ramips/dts/MR-102N.dts | 119 + target/linux/ramips/dts/MT7620a.dts | 127 + target/linux/ramips/dts/MT7620a_MT7530.dts | 116 + target/linux/ramips/dts/MT7620a_MT7610e.dts | 88 + target/linux/ramips/dts/MT7620a_V22SG.dts | 117 + target/linux/ramips/dts/MT7621.dts | 54 + target/linux/ramips/dts/MT7628.dts | 66 + target/linux/ramips/dts/MZK-750DHP.dts | 128 + target/linux/ramips/dts/MZK-DP150N.dts | 102 + target/linux/ramips/dts/MZK-EX300NP.dts | 132 + target/linux/ramips/dts/MZK-EX750NP.dts | 149 + target/linux/ramips/dts/MZK-W300NH2.dts | 114 + target/linux/ramips/dts/MZK-WDPR.dts | 88 + target/linux/ramips/dts/MicroWRT.dts | 109 + target/linux/ramips/dts/NA930.dts | 175 + target/linux/ramips/dts/NBG-419N.dts | 97 + target/linux/ramips/dts/NBG-419N2.dts | 119 + target/linux/ramips/dts/NCS601W.dts | 72 + target/linux/ramips/dts/NIXCORE-16M.dts | 43 + target/linux/ramips/dts/NIXCORE-8M.dts | 43 + target/linux/ramips/dts/NIXCORE.dtsi | 155 + target/linux/ramips/dts/NW718.dts | 109 + target/linux/ramips/dts/Newifi-D1.dts | 146 + target/linux/ramips/dts/OMEGA2.dts | 20 + target/linux/ramips/dts/OMEGA2.dtsi | 166 + target/linux/ramips/dts/OMEGA2P.dts | 20 + target/linux/ramips/dts/OY-0001.dts | 124 + target/linux/ramips/dts/PBR-D1.dts | 161 + target/linux/ramips/dts/PBR-M1.dts | 178 + target/linux/ramips/dts/PSG1208.dts | 114 + target/linux/ramips/dts/PSG1218.dtsi | 77 + target/linux/ramips/dts/PSG1218A.dts | 47 + target/linux/ramips/dts/PSG1218B.dts | 42 + target/linux/ramips/dts/PSR-680W.dts | 94 + target/linux/ramips/dts/PWH2004.dts | 87 + target/linux/ramips/dts/PX-4885-4M.dts | 43 + target/linux/ramips/dts/PX-4885-8M.dts | 43 + target/linux/ramips/dts/PX-4885.dtsi | 56 + target/linux/ramips/dts/R6220.dts | 158 + target/linux/ramips/dts/RB750Gr3.dts | 125 + target/linux/ramips/dts/RE350.dts | 164 + target/linux/ramips/dts/RE6500.dts | 128 + target/linux/ramips/dts/RP-N53.dts | 175 + target/linux/ramips/dts/RT-AC51U.dts | 126 + target/linux/ramips/dts/RT-G32-B1.dts | 86 + target/linux/ramips/dts/RT-N10-PLUS.dts | 83 + target/linux/ramips/dts/RT-N13U.dts | 101 + target/linux/ramips/dts/RT-N14U.dts | 128 + target/linux/ramips/dts/RT-N15.dts | 114 + target/linux/ramips/dts/RT-N56U.dts | 152 + .../ramips/dts/RT5350F-OLINUXINO-EVB.dts | 101 + target/linux/ramips/dts/RT5350F-OLINUXINO.dts | 77 + target/linux/ramips/dts/RUT5XX.dts | 93 + target/linux/ramips/dts/SAP-G3200U3.dts | 125 + target/linux/ramips/dts/SK-WB8.dts | 120 + target/linux/ramips/dts/SL-R7205.dts | 96 + target/linux/ramips/dts/TEW-638APB-V2.dts | 97 + target/linux/ramips/dts/TEW-691GR.dts | 115 + target/linux/ramips/dts/TEW-692GR.dts | 152 + target/linux/ramips/dts/TEW-714TRU.dts | 124 + target/linux/ramips/dts/TINY-AC.dts | 161 + target/linux/ramips/dts/TL-WR840NV4.dts | 62 + target/linux/ramips/dts/TL-WR841NV13.dts | 88 + target/linux/ramips/dts/TL-WR84XN.dtsi | 67 + target/linux/ramips/dts/Timecloud.dts | 110 + target/linux/ramips/dts/UBNT-ER-e50.dtsi | 106 + target/linux/ramips/dts/UBNT-ERX-SFP.dts | 24 + target/linux/ramips/dts/UBNT-ERX.dts | 7 + target/linux/ramips/dts/UR-326N4G.dts | 116 + target/linux/ramips/dts/UR-336UN.dts | 116 + target/linux/ramips/dts/V11STFE.dts | 86 + target/linux/ramips/dts/V22RW-2X2.dts | 97 + target/linux/ramips/dts/VOCORE-16M.dts | 43 + target/linux/ramips/dts/VOCORE-8M.dts | 43 + target/linux/ramips/dts/VOCORE.dtsi | 197 + target/linux/ramips/dts/VOCORE2.dts | 55 + target/linux/ramips/dts/VOCORE2.dtsi | 53 + target/linux/ramips/dts/VOCORE2LITE.dts | 55 + target/linux/ramips/dts/VR500.dts | 87 + target/linux/ramips/dts/W150M.dts | 117 + target/linux/ramips/dts/W2914NSV2.dts | 26 + target/linux/ramips/dts/W2914NSV2.dtsi | 105 + target/linux/ramips/dts/W306R_V20.dts | 91 + target/linux/ramips/dts/W502U.dts | 105 + target/linux/ramips/dts/WCR-1166DS.dts | 172 + target/linux/ramips/dts/WCR150GN.dts | 101 + target/linux/ramips/dts/WF-2881.dts | 115 + target/linux/ramips/dts/WHR-1166D.dts | 172 + target/linux/ramips/dts/WHR-300HP2.dts | 150 + target/linux/ramips/dts/WHR-600D.dts | 158 + target/linux/ramips/dts/WHR-G300N.dts | 116 + target/linux/ramips/dts/WIDORA-NEO.dts | 171 + target/linux/ramips/dts/WITI.dts | 121 + target/linux/ramips/dts/WIZARD8800.dts | 80 + target/linux/ramips/dts/WIZFI630A.dts | 186 + target/linux/ramips/dts/WL-330N.dts | 100 + target/linux/ramips/dts/WL-330N3G.dts | 109 + target/linux/ramips/dts/WL-341V3.dts | 126 + target/linux/ramips/dts/WL-351.dts | 125 + target/linux/ramips/dts/WL-WN575A3.dts | 129 + target/linux/ramips/dts/WLI-TX4-AG300N.dts | 115 + target/linux/ramips/dts/WLR-6000.dts | 187 + target/linux/ramips/dts/WMDR-143N.dts | 64 + target/linux/ramips/dts/WMR-300.dts | 106 + target/linux/ramips/dts/WN3000RPV3.dts | 143 + target/linux/ramips/dts/WNCE2001.dts | 139 + target/linux/ramips/dts/WNDR3700V5.dts | 140 + target/linux/ramips/dts/WR512-3GN-4M.dts | 40 + target/linux/ramips/dts/WR512-3GN-8M.dts | 40 + target/linux/ramips/dts/WR512-3GN.dtsi | 77 + target/linux/ramips/dts/WR6202.dts | 116 + target/linux/ramips/dts/WRH-300CR.dts | 127 + target/linux/ramips/dts/WRTNODE.dts | 92 + target/linux/ramips/dts/WRTNODE2.dtsi | 94 + target/linux/ramips/dts/WRTNODE2P.dts | 26 + target/linux/ramips/dts/WRTNODE2R.dts | 26 + target/linux/ramips/dts/WSR-1166.dts | 190 + target/linux/ramips/dts/WSR-600.dts | 184 + target/linux/ramips/dts/WT1520-4M.dts | 43 + target/linux/ramips/dts/WT1520-8M.dts | 43 + target/linux/ramips/dts/WT1520.dtsi | 45 + target/linux/ramips/dts/WT3020-4M.dts | 43 + target/linux/ramips/dts/WT3020-8M.dts | 43 + target/linux/ramips/dts/WT3020.dtsi | 65 + target/linux/ramips/dts/WZR-AGL300NH.dts | 139 + target/linux/ramips/dts/X5.dts | 138 + target/linux/ramips/dts/X8.dts | 99 + target/linux/ramips/dts/XDXRN502J.dts | 95 + target/linux/ramips/dts/Y1.dts | 49 + target/linux/ramips/dts/Y1.dtsi | 111 + target/linux/ramips/dts/Y1S.dts | 106 + target/linux/ramips/dts/YOUKU-YK1.dts | 126 + target/linux/ramips/dts/ZBT-APE522II.dts | 145 + target/linux/ramips/dts/ZBT-CPE102.dts | 120 + target/linux/ramips/dts/ZBT-WA05.dts | 120 + target/linux/ramips/dts/ZBT-WE1326.dts | 108 + target/linux/ramips/dts/ZBT-WE2026.dts | 103 + target/linux/ramips/dts/ZBT-WE826-16M.dts | 43 + target/linux/ramips/dts/ZBT-WE826-32M.dts | 43 + target/linux/ramips/dts/ZBT-WE826.dtsi | 86 + target/linux/ramips/dts/ZBT-WG2626.dts | 123 + 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 | 118 + target/linux/ramips/dts/ZBT-WR8305RT.dts | 117 + target/linux/ramips/dts/ZTE-Q7.dts | 115 + target/linux/ramips/dts/kn.dts | 113 + target/linux/ramips/dts/kn_rc.dts | 140 + target/linux/ramips/dts/kn_rf.dts | 140 + target/linux/ramips/dts/kng_rc.dts | 166 + target/linux/ramips/dts/mt7620a.dtsi | 558 + target/linux/ramips/dts/mt7620n.dtsi | 344 + target/linux/ramips/dts/mt7621.dtsi | 471 + target/linux/ramips/dts/mt7628an.dtsi | 478 + target/linux/ramips/dts/rt2880.dtsi | 234 + target/linux/ramips/dts/rt3050.dtsi | 335 + target/linux/ramips/dts/rt3352.dtsi | 366 + target/linux/ramips/dts/rt3883.dtsi | 473 + target/linux/ramips/dts/rt5350.dtsi | 390 + .../drivers/net/ethernet/mtk/Kconfig | 62 + .../drivers/net/ethernet/mtk/Makefile | 20 + .../drivers/net/ethernet/mtk/esw_rt3050.c | 1461 + .../drivers/net/ethernet/mtk/esw_rt3050.h | 29 + .../drivers/net/ethernet/mtk/ethtool.c | 233 + .../drivers/net/ethernet/mtk/ethtool.h | 22 + .../drivers/net/ethernet/mtk/gsw_mt7620.c | 259 + .../drivers/net/ethernet/mtk/gsw_mt7620.h | 127 + .../drivers/net/ethernet/mtk/gsw_mt7621.c | 288 + .../files-4.9/drivers/net/ethernet/mtk/mdio.c | 259 + .../files-4.9/drivers/net/ethernet/mtk/mdio.h | 27 + .../drivers/net/ethernet/mtk/mdio_mt7620.c | 168 + .../drivers/net/ethernet/mtk/mdio_rt2880.c | 222 + .../drivers/net/ethernet/mtk/mdio_rt2880.h | 23 + .../drivers/net/ethernet/mtk/mt7530.c | 931 + .../drivers/net/ethernet/mtk/mt7530.h | 186 + .../drivers/net/ethernet/mtk/mtk_eth_soc.c | 1601 + .../drivers/net/ethernet/mtk/mtk_eth_soc.h | 523 + .../drivers/net/ethernet/mtk/soc_mt7620.c | 335 + .../drivers/net/ethernet/mtk/soc_mt7621.c | 185 + .../drivers/net/ethernet/mtk/soc_rt2880.c | 76 + .../drivers/net/ethernet/mtk/soc_rt3050.c | 158 + .../drivers/net/ethernet/mtk/soc_rt3883.c | 75 + target/linux/ramips/image/Makefile | 252 + .../linux/ramips/image/lzma-loader/Makefile | 65 + .../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 | 110 + .../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 | 263 + .../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/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 | 526 + target/linux/ramips/image/mt7621.mk | 363 + target/linux/ramips/image/mt76x8.mk | 166 + target/linux/ramips/image/rt288x.mk | 77 + target/linux/ramips/image/rt305x-legacy.mk | 118 + target/linux/ramips/image/rt305x.mk | 874 + target/linux/ramips/image/rt3883.mk | 124 + target/linux/ramips/modules.mk | 138 + target/linux/ramips/mt7620/config-4.9 | 213 + .../ramips/mt7620/profiles/00-default.mk | 17 + target/linux/ramips/mt7620/target.mk | 15 + target/linux/ramips/mt7621/config-4.9 | 285 + .../ramips/mt7621/profiles/00-default.mk | 19 + target/linux/ramips/mt7621/target.mk | 13 + target/linux/ramips/mt76x8/config-4.9 | 210 + .../ramips/mt76x8/profiles/00-default.mk | 17 + target/linux/ramips/mt76x8/target.mk | 15 + ...4-MIPS-ralink-add-MT7621-pcie-driver.patch | 861 + ...e-to-enable-disable-the-cevt-r4k-irq.patch | 81 + ...IPS-ralink-add-cpu-frequency-scaling.patch | 198 + ...-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 | 166 + ...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 + .../0029-phy-usb-add-ralink-phy.patch | 293 + ...0031-uvc-add-iPassion-iP2970-support.patch | 246 + .../0032-USB-dwc2-add-device_reset.patch | 29 + .../0034-NET-multi-phy-support.patch | 53 + ...x-cfi-cmdset-0002-erase-status-check.patch | 29 + ...mtd-cfi-cmdset-0002-force-word-write.patch | 70 + .../0039-mtd-add-mt7621-nand-support.patch | 4478 + .../ramips/patches-4.9/0040-nand-hack.patch | 65 + ...-DT-Add-documentation-for-spi-rt2880.patch | 44 + ...SPI-ralink-add-Ralink-SoC-spi-driver.patch | 574 + .../0043-spi-add-mt7621-support.patch | 524 + ...0044-i2c-MIPS-adds-ralink-I2C-driver.patch | 507 + .../0045-i2c-add-mt7621-driver.patch | 473 + ...IPS-ralink-add-sdhci-for-mt7620a-SoC.patch | 4831 + ...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 + ...54-mtd-add-chunked-read-io-to-m25p80.patch | 123 + ..._CMDEFTGT_MEM-according-to-datasheet.patch | 12 + .../patches-4.9/0064-add_clk_round_rate.patch | 15 + .../0066-mt7621-enable-highmem.patch | 10 + .../patches-4.9/0067-enable-mt7621-xhci.patch | 14 + .../0069-awake-rt305x-dwc2-controller.patch | 15 + .../patches-4.9/0070-weak_reordering.patch | 10 + .../ramips/patches-4.9/0085-pinmux-util.patch | 77 + .../ramips/patches-4.9/0090-ethernet.patch | 41 + .../ramips/patches-4.9/0098-disable_cm.patch | 19 + .../ramips/patches-4.9/0099-pci-mt7620.patch | 19 + .../ramips/patches-4.9/0100-prom_fixes.patch | 66 + ...nk-allow-NULL-clock-for-clk_get_rate.patch | 43 + .../0105-set_mt7621_soc_type.patch | 11 + .../patches-4.9/0200-linkit_bootstrap.patch | 97 + .../0700-pinctrl-mt7620-mdio-as-refclk.patch | 42 + ...0720-arch-mips-ralink-add-i2c-clocks.patch | 67 + .../0901-spansion_nand_id_fix.patch | 43 + .../100-mt7621-core-detect-hack.patch | 61 + .../ramips/patches-4.9/101-mt7621-timer.patch | 98 + .../ramips/patches-4.9/301-fix-rt3883.patch | 9 + .../patches-4.9/999-fix-pci-init-mt7620.patch | 21 + target/linux/ramips/rt288x/config-4.9 | 209 + target/linux/ramips/rt288x/target.mk | 14 + target/linux/ramips/rt305x/config-4.9 | 197 + .../ramips/rt305x/profiles/00-default.mk | 19 + target/linux/ramips/rt305x/target.mk | 15 + target/linux/ramips/rt3883/config-4.9 | 205 + .../ramips/rt3883/profiles/00-default.mk | 17 + target/linux/ramips/rt3883/target.mk | 15 + target/linux/rb532/Makefile | 20 + .../linux/rb532/base-files/etc/config/network | 25 + target/linux/rb532/base-files/etc/diag.sh | 17 + .../rb532/base-files/lib/preinit/01_sysinfo | 11 + .../rb532/base-files/lib/upgrade/platform.sh | 24 + target/linux/rb532/config-4.4 | 184 + target/linux/rb532/image/Makefile | 93 + target/linux/rb532/image/gen_image.sh | 18 + target/linux/rb532/modules.mk | 45 + .../rb532/patches-4.4/001-cmdline_hack.patch | 20 + .../patches-4.4/002-rb532_nand_fixup.patch | 47 + .../004-rb532-fix-partition-info.patch | 17 + target/linux/sunxi/Makefile | 33 + .../sunxi/base-files/etc/board.d/02_network | 25 + target/linux/sunxi/base-files/etc/inittab | 5 + .../lib/firmware/brcm/brcmfmac4329-sdio.txt | 57 + .../lib/firmware/brcm/brcmfmac43362-sdio.txt | 51 + .../base-files/lib/preinit/03_b53_hack.sh | 18 + .../base-files/lib/preinit/79_move_config | 20 + .../sunxi/base-files/lib/upgrade/platform.sh | 89 + target/linux/sunxi/config-4.4 | 549 + target/linux/sunxi/image/Config.in | 5 + target/linux/sunxi/image/Makefile | 192 + .../linux/sunxi/image/gen_sunxi_sdcard_img.sh | 34 + target/linux/sunxi/modules.mk | 85 + ...100-clk-sunxi-add-dram-gates-support.patch | 39 + .../101-dt-sun4i-add-dram-gates.patch | 88 + .../102-dt-sun7i-add-dram-gates.patch | 77 + .../103-clk-sunxi-add-h3-clksupport.patch | 180 + .../104-1-dt-sunxi-add-h3-dtsi.patch | 515 + .../104-2-dt-sun8i-add-orangepi-plus.patch | 111 + .../105-phy-use_of_match_node.patch | 218 + .../patches-4.4/106-phy-add-h3-usbphys.patch | 124 + .../107-clk-sunxi-add-h3-usbphy-clocks.patch | 47 + .../110-clk-sunxi-add-ve-for-sun457i.patch | 226 + .../111-1-dt-sun4i-add-ve-clock-module.patch | 32 + .../111-2-dt-sun7i-add-ve-clock-module.patch | 32 + .../115-musb-ignore-vbus-errors.patch | 26 + .../130-pinctrl-sunxi-add-h3-pio.patch | 568 + .../patches-4.4/131-reset-add-h3-resets.patch | 92 + .../132-dt-sun8i-add-h3-usbclocks.patch | 34 + ...-sun8i-add-usbphy-usbhost-ctrl-nodes.patch | 123 + ...dt-sun8i-orangepiplus-enable-usbhost.patch | 77 + .../135-clk-sunxi-fix-signedness-bug.patch | 25 + ...et-add-of_reset_control_get_by_index.patch | 109 + .../141-reset-fix-of_reset_control_get.patch | 39 + ...reset-use-ENOTSUPP-instead-of-ENOSYS.patch | 87 + ...eset-add-shared-resetcontrol-asserts.patch | 265 + ...lat-support-multiple-reset-ctrllines.patch | 127 + ...lat-support-multiple-reset-ctrllines.patch | 128 + ...50-dt-sun7i-enable-codec-on-pcduino3.patch | 27 + .../200-dt-sun7i-add-lamobo-r1.patch | 330 + target/linux/sunxi/profiles/00-default.mk | 27 + target/linux/uml/Makefile | 41 + target/linux/uml/README | 45 + target/linux/uml/base-files/etc/inittab | 4 + target/linux/uml/config/i386 | 178 + target/linux/uml/config/x86_64 | 153 + target/linux/uml/image/Makefile | 35 + ...-setjmp-symbol-clashes-with-libpthre.patch | 130 + .../uml/patches-4.4/101-mconsole-exec.patch | 211 + .../patches-4.4/102-pseudo-random-mac.patch | 124 + .../64/base-files/lib/preinit/45_mount_xenfs | 9 + target/linux/x86/64/config-default | 386 + 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 | 78 + target/linux/x86/base-files/etc/inittab | 5 + .../x86/base-files/lib/preinit/01_sysinfo | 28 + .../lib/preinit/15_essential_fs_x86 | 8 + .../x86/base-files/lib/preinit/20_check_iso | 5 + .../x86/base-files/lib/preinit/79_move_config | 23 + .../x86/base-files/lib/upgrade/platform.sh | 95 + target/linux/x86/config-4.9 | 488 + .../base-files/lib/preinit/45_mount_xenfs | 9 + target/linux/x86/generic/config-default | 374 + .../linux/x86/generic/profiles/000-Generic.mk | 18 + target/linux/x86/generic/target.mk | 11 + target/linux/x86/geode/config-default | 137 + .../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 | 190 + 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-default | 202 + .../linux/x86/legacy/profiles/000-Generic.mk | 18 + target/linux/x86/legacy/target.mk | 7 + target/linux/x86/modules.mk | 36 + .../patches-4.9/011-tune_lzma_options.patch | 22 + .../patches-4.9/100-fix_cs5535_clockevt.patch | 12 + ...0-hwmon-w83627ehf-dont-claim-nct677x.patch | 30 + target/linux/xburst/Makefile | 25 + .../xburst/base-files/etc/board.d/01_system | 12 + .../linux/xburst/base-files/etc/config/fstab | 6 + .../xburst/base-files/etc/config/network | 13 + target/linux/xburst/config-3.18 | 347 + target/linux/xburst/image/Makefile | 46 + target/linux/xburst/image/ubinize.cfg | 14 + target/linux/xburst/modules.mk | 40 + ...e-vid-header-instead-of-the-whole-pa.patch | 20 + ...-Optimize-NAND_ECC_HW_OOB_FIRST-read.patch | 43 + ...-for-subpage-reads-for-NAND_ECC_HW_O.patch | 104 + ...y-activation-of-the-DAC-to-work-arou.patch | 33 + ...it-the-regulator-register-on-startup.patch | 55 + .../006-Add-ili8960-lcd-driver.patch | 309 + ...e-3-wire-spi-mode-for-the-display-fo.patch | 21 + target/linux/xburst/qi_lb60/config-default | 33 + target/linux/xburst/qi_lb60/target.mk | 1 + target/linux/zynq/Makefile | 31 + target/linux/zynq/base-files.mk | 3 + .../zynq/base-files/etc/board.d/02_network | 16 + .../linux/zynq/base-files/etc/config/network | 17 + target/linux/zynq/base-files/etc/inittab | 3 + target/linux/zynq/config-4.4 | 753 + target/linux/zynq/image/Makefile | 71 + target/linux/zynq/image/mkits.sh | 150 + target/sdk/Config.in | 10 + target/sdk/Makefile | 152 + target/sdk/convert-config.pl | 59 + target/sdk/files/Config.in | 31 + 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 | 95 + toolchain/Config.in | 318 + toolchain/Makefile | 97 + toolchain/binutils/Config.in | 32 + toolchain/binutils/Config.version | 16 + toolchain/binutils/Makefile | 112 + .../001-MIPS_BFD_Remove_EI_ABIVERSION_5.patch | 36 + .../2.27/300-001_ld_makefile_patch.patch | 22 + .../2.27/300-012_check_ldrunpath_length.patch | 20 + .../400-mips_no_dynamic_linking_sym.patch | 18 + ...e-default-emulation-for-mips64-linux.patch | 37 + .../2.28/300-001_ld_makefile_patch.patch | 22 + .../2.28/300-012_check_ldrunpath_length.patch | 20 + .../400-mips_no_dynamic_linking_sym.patch | 18 + ...e-default-emulation-for-mips64-linux.patch | 37 + .../300-001_ld_makefile_patch.patch | 22 + .../300-012_check_ldrunpath_length.patch | 20 + toolchain/fortify-headers/Makefile | 28 + toolchain/gcc/Config.in | 78 + toolchain/gcc/Config.version | 14 + toolchain/gcc/common.mk | 228 + 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.4.0/002-case_insensitive.patch | 14 + .../gcc/patches/5.4.0/010-documentation.patch | 23 + .../patches/5.4.0/020-no-plt-backport.patch | 28 + .../5.4.0/040-fix-mips-ICE-PR-68400.patch | 23 + .../gcc/patches/5.4.0/200-musl_config.patch | 309 + .../gcc/patches/5.4.0/201-musl_arm.patch | 43 + .../gcc/patches/5.4.0/202-musl_mips.patch | 35 + .../gcc/patches/5.4.0/203-musl_powerpc.patch | 209 + toolchain/gcc/patches/5.4.0/204-musl_sh.patch | 39 + .../gcc/patches/5.4.0/205-musl_x86.patch | 41 + .../gcc/patches/5.4.0/206-musl_aarch64.patch | 31 + .../patches/5.4.0/207-musl_fixincludes.patch | 30 + .../patches/5.4.0/209-musl_libstdc++.patch | 72 + .../gcc/patches/5.4.0/230-musl_libssp.patch | 13 + .../patches/5.4.0/240-musl-libitm-fixes.patch | 61 + .../gcc/patches/5.4.0/250-add-musl.patch | 120 + .../5.4.0/260-musl-add-unwind-fix.patch | 34 + .../270-musl-add-powerpc-softfloat-fix.patch | 24 + .../280-musl-disable-ifunc-by-default.patch | 38 + .../300-mips_Os_cpu_rtx_cost_model.patch | 14 + .../5.4.0/800-arm_v5te_no_ldrd_strd.patch | 11 + .../5.4.0/810-arm-softfloat-libgcc.patch | 25 + .../gcc/patches/5.4.0/820-libgcc_pic.patch | 36 + .../5.4.0/830-arm_unbreak_armv4t.patch | 13 + .../5.4.0/840-armv4_pass_fix-v4bx_to_ld.patch | 19 + .../patches/5.4.0/850-use_shared_libgcc.patch | 47 + .../patches/5.4.0/851-libgcc_no_compat.patch | 12 + .../patches/5.4.0/870-ppc_no_crtsavres.patch | 11 + .../patches/5.4.0/880-no_java_section.patch | 11 + .../gcc/patches/5.4.0/881-no_tm_section.patch | 11 + .../patches/5.4.0/900-bad-mips16-crt.patch | 9 + .../gcc/patches/5.4.0/910-mbsd_multi.patch | 222 + .../5.4.0/920-specs_nonfatal_getenv.patch | 15 + .../5.4.0/930-fix-mips-noexecstack.patch | 111 + .../931-fix-MIPS-softfloat-build-issue.patch | 174 + .../5.4.0/940-no-clobber-stamp-bits.patch | 11 + .../5.4.0/950-cpp_file_path_translation.patch | 182 + toolchain/gcc/patches/5.4.0/960-go_libm.patch | 11 + .../gcc/patches/5.4.0/970-warn_bug.patch | 11 + .../001-revert_register_mode_search.patch | 65 + .../patches/6.3.0/002-case_insensitive.patch | 14 + .../gcc/patches/6.3.0/010-documentation.patch | 23 + .../gcc/patches/6.3.0/230-musl_libssp.patch | 13 + .../280-musl-disable-ifunc-by-default.patch | 36 + .../300-mips_Os_cpu_rtx_cost_model.patch | 11 + .../6.3.0/800-arm_v5te_no_ldrd_strd.patch | 11 + .../6.3.0/810-arm-softfloat-libgcc.patch | 25 + .../gcc/patches/6.3.0/820-libgcc_pic.patch | 36 + .../6.3.0/830-arm_unbreak_armv4t.patch | 13 + .../6.3.0/840-armv4_pass_fix-v4bx_to_ld.patch | 19 + .../patches/6.3.0/850-use_shared_libgcc.patch | 47 + .../patches/6.3.0/851-libgcc_no_compat.patch | 12 + .../patches/6.3.0/870-ppc_no_crtsavres.patch | 11 + .../patches/6.3.0/880-no_java_section.patch | 11 + .../gcc/patches/6.3.0/881-no_tm_section.patch | 11 + .../patches/6.3.0/900-bad-mips16-crt.patch | 9 + .../gcc/patches/6.3.0/910-mbsd_multi.patch | 222 + .../6.3.0/920-specs_nonfatal_getenv.patch | 15 + .../6.3.0/930-fix-mips-noexecstack.patch | 111 + .../6.3.0/940-no-clobber-stamp-bits.patch | 11 + .../6.3.0/950-cpp_file_path_translation.patch | 182 + .../patches/6.3.0/960-fix-ubsan-defref.patch | 11 + .../001-revert_register_mode_search.patch | 65 + .../patches/7.1.0/002-case_insensitive.patch | 14 + .../gcc/patches/7.1.0/010-documentation.patch | 23 + .../gcc/patches/7.1.0/230-musl_libssp.patch | 13 + .../300-mips_Os_cpu_rtx_cost_model.patch | 11 + .../7.1.0/800-arm_v5te_no_ldrd_strd.patch | 11 + .../7.1.0/810-arm-softfloat-libgcc.patch | 25 + .../gcc/patches/7.1.0/820-libgcc_pic.patch | 36 + .../7.1.0/840-armv4_pass_fix-v4bx_to_ld.patch | 19 + .../patches/7.1.0/850-use_shared_libgcc.patch | 47 + .../patches/7.1.0/851-libgcc_no_compat.patch | 12 + .../patches/7.1.0/870-ppc_no_crtsavres.patch | 11 + .../gcc/patches/7.1.0/881-no_tm_section.patch | 11 + .../patches/7.1.0/900-bad-mips16-crt.patch | 9 + .../gcc/patches/7.1.0/910-mbsd_multi.patch | 140 + .../7.1.0/920-specs_nonfatal_getenv.patch | 15 + .../7.1.0/930-fix-mips-noexecstack.patch | 111 + .../7.1.0/940-no-clobber-stamp-bits.patch | 11 + .../7.1.0/950-cpp_file_path_translation.patch | 171 + .../001-revert_register_mode_search.patch | 65 + .../002-case_insensitive.patch | 14 + .../010-documentation.patch | 23 + .../arc-2017.03-release/230-musl_libssp.patch | 13 + .../280-musl-disable-ifunc-by-default.patch | 36 + .../300-mips_Os_cpu_rtx_cost_model.patch | 11 + .../800-arm_v5te_no_ldrd_strd.patch | 11 + .../810-arm-softfloat-libgcc.patch | 25 + .../arc-2017.03-release/820-libgcc_pic.patch | 36 + .../830-arm_unbreak_armv4t.patch | 13 + .../840-armv4_pass_fix-v4bx_to_ld.patch | 19 + .../850-use_shared_libgcc.patch | 47 + .../851-libgcc_no_compat.patch | 12 + .../870-ppc_no_crtsavres.patch | 11 + .../880-no_java_section.patch | 11 + .../881-no_tm_section.patch | 11 + .../900-bad-mips16-crt.patch | 9 + .../arc-2017.03-release/910-mbsd_multi.patch | 222 + .../920-specs_nonfatal_getenv.patch | 15 + .../930-fix-mips-noexecstack.patch | 111 + .../940-no-clobber-stamp-bits.patch | 11 + .../950-cpp_file_path_translation.patch | 182 + 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 | 32 + toolchain/gdb/patches/110-no_testsuite.patch | 21 + .../120-fix-compile-flag-mismatch.patch | 11 + toolchain/glibc/Makefile | 32 + toolchain/glibc/common.mk | 94 + toolchain/glibc/headers/Makefile | 28 + toolchain/glibc/include/libintl.h | 6 + .../glibc/patches/100-fix_cross_rpcgen.patch | 52 + .../patches/200-add-dl-search-paths.patch | 14 + toolchain/info.mk | 6 + toolchain/kernel-headers/Makefile | 102 + toolchain/musl/Makefile | 31 + toolchain/musl/common.mk | 62 + 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 | 50 + toolchain/musl/patches/300-relative.patch | 11 + ...ribute-to-some-function-declarations.patch | 197 + .../musl/patches/900-iconv_size_hack.patch | 68 + .../musl/patches/901-crypt_size_hack.patch | 60 + 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 + toolchain/yasm/Makefile | 63 + tools/Makefile | 148 + 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 | 50 + 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 | 30 + .../patches/001-fix-macos-vasnprintf.patch | 25 + .../bison/patches/010-intl-stub-compat.patch | 15 + .../bison/patches/100-fix-gets-removal.patch | 16 + tools/bison/scripts/yacc | 2 + tools/ccache/Makefile | 36 + tools/ccache/files/ccache_cc | 2 + tools/ccache/files/ccache_cxx | 2 + tools/ccache/patches/100-honour-copts.patch | 10 + tools/cmake/Makefile | 34 + .../cmake/patches/100-disable_qt_tests.patch | 31 + tools/cmake/patches/110-freebsd-compat.patch | 39 + .../patches/120-alpine_musl-compat.patch | 17 + .../130-libarchive-fix-libressl-compat.patch | 22 + .../140-curl-fix-libressl-linking.patch | 32 + .../150-bootstrap_parallel_make_flag.patch | 14 + tools/coreutils/Makefile | 36 + .../patches/001-fix-macos-vasnprintf.patch | 25 + tools/dosfstools/Makefile | 26 + ..._CHECK_LIB-for-iconv-library-linking.patch | 27 + tools/e2fsprogs/Makefile | 49 + .../001-exit_0_on_corrected_errors.patch | 11 + .../patches/002-dont-build-e4defrag.patch | 11 + .../patches/003-openbsd-compat.patch | 12 + .../patches/004-freebsd-compat.patch | 12 + .../e2fsprogs/patches/005-darwin-compat.patch | 22 + .../e2fsprogs/patches/010-old-libmagic.patch | 25 + 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 | 25 + tools/findutils/Makefile | 20 + tools/firmware-utils/Makefile | 89 + 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/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 | 70 + 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 | 425 + 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/mkdcs932.c | 39 + tools/firmware-utils/src/mkdhpimg.c | 85 + tools/firmware-utils/src/mkdniimg.c | 208 + tools/firmware-utils/src/mkedimaximg.c | 259 + tools/firmware-utils/src/mkfwimage.c | 471 + 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/mkrtn56uimg.c | 293 + tools/firmware-utils/src/mksenaofw.c | 420 + tools/firmware-utils/src/mktitanimg.c | 1040 + tools/firmware-utils/src/mktitanimg.h | 171 + tools/firmware-utils/src/mktplinkfw.c | 894 + tools/firmware-utils/src/mktplinkfw2.c | 1054 + 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/osbridge-crc.c | 309 + tools/firmware-utils/src/oseama.c | 556 + tools/firmware-utils/src/pc1crypt.c | 361 + tools/firmware-utils/src/ptgen.c | 248 + 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 | 1342 + 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 | 134 + tools/firmware-utils/src/zyimage.c | 148 + tools/firmware-utils/src/zynos.h | 225 + tools/firmware-utils/src/zyxbcm.c | 259 + tools/flex/Makefile | 28 + .../flex/patches/100-disable-tests-docs.patch | 13 + 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 + .../patches/100-dependency_fix.patch | 11 + .../gengetopt/patches/200-no_docs_tests.patch | 13 + 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 | 28 + tools/libelf/Makefile | 51 + tools/libressl/Makefile | 27 + tools/libtool/Makefile | 41 + 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 | 36 + tools/lzma-old/patches/100-lzma_zlib.patch | 404 + tools/lzma-old/patches/110-ranlib.patch | 10 + 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 | 28 + .../m4/patches/001-fix-macos-vasnprintf.patch | 25 + tools/make-ext4fs/Makefile | 36 + 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 | 63 + tools/mkimage/patches/040-include_order.patch | 11 + .../patches/050-image_h_portability.patch | 31 + .../patches/060-remove_kernel_includes.patch | 35 + .../070-socfpgaimage_portability.patch | 52 + .../patches/080-remove_compiler_check.patch | 16 + .../090-reproducible-SOURCE_DATE_EPOCH.patch | 82 + .../mkimage/patches/100-freebsd-compat.patch | 14 + .../mkimage/patches/110-fix_musl_build.patch | 67 + .../patches/200-compiler-support.patch | 702 + .../patches/210-openssl-1.1.x-compat.patch | 97 + 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 | 27 + 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 | 170 + tools/mtd-utils/patches/130-lzma_jffs2.patch | 5030 + .../patches/134-freebsd_loff_t.patch | 14 + .../patches/135-mkubifs_optional_lzo.patch | 119 + ...add-ubigen_write_terminator-function.patch | 89 + .../201-ubinize-add-terminator-support.patch | 77 + .../310-add-static-linking-option.patch | 43 + .../320-mkfs.jffs2-SOURCE_DATE_EPOCH.patch | 62 + tools/mtools/Makefile | 38 + tools/mtools/patches/100-compile_fix.patch | 19 + 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 | 23 + .../patches/001-fix-macos-vasnprintf.patch | 25 + tools/patchelf/Makefile | 26 + tools/pkg-config/Makefile | 39 + tools/pkg-config/files/pkg-config | 3 + tools/qemu/Makefile | 44 + 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 + tools/sed/Makefile | 45 + tools/sparse/Makefile | 23 + tools/squashfs/Makefile | 39 + tools/squashfs/patches/100-lzma.patch | 22 + .../patches/110-no_nonstatic_inline.patch | 11 + .../120-add-fixed-timestamp-support.patch | 79 + tools/squashfs4/Makefile | 42 + tools/squashfs4/patches/100-portability.patch | 40 + .../patches/110-allow_static_liblzma.patch | 30 + .../squashfs4/patches/120-cygwin_fixes.patch | 153 + .../squashfs4/patches/150-freebsd_fixes.patch | 10 + .../patches/160-expose_lzma_xz_options.patch | 929 + ..._support_for_LZMA_MAGIC_to_unsqashfs.patch | 72 + .../patches/180-openbsd_compat.patch | 24 + .../patches/190-no_nonstatic_inline.patch | 36 + .../200-add-fixed-timestamp-option.patch | 82 + tools/sstrip/Makefile | 25 + tools/sstrip/src/sstrip.c | 465 + tools/tar/Makefile | 30 + .../patches/001-fix-macos-vasnprintf.patch | 25 + .../patches/100-symlink-force-root-name.patch | 22 + .../110-symlink-force-permissions.patch | 10 + tools/upslug2/Makefile | 36 + tools/upslug2/patches/100-libpcap_fix.patch | 153 + .../patches/110-wrt350nv2_support.patch | 279 + 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 | 40 + 7128 files changed, 1477314 insertions(+) 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/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/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/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/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 100755 package/base-files/files/etc/init.d/urandom_seed create mode 100644 package/base-files/files/etc/inittab 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/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/local.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/11_migrate-sysctl 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/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/81_urandom_seed 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 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/sysupgrade create mode 100755 package/base-files/files/sbin/urandom_seed 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 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/fconfig/Makefile create mode 100644 package/boot/grub2/Makefile 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/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/kexec-tools/patches/100-format_string_fix.patch create mode 100644 package/boot/kexec-tools/patches/110-fix-vmcore-dmsg-compilation-error.patch create mode 100644 package/boot/kexec-tools/patches/120-fail-to-get-symbol-debug.patch create mode 100644 package/boot/kexec-tools/patches/130-dont-use-percentL.patch 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/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/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/Config.in create mode 100644 package/boot/uboot-envtools/Makefile create mode 100644 package/boot/uboot-envtools/files/ar71xx 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/ipq 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/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-envtools/patches/200-fw_env_no_aes.patch create mode 100644 package/boot/uboot-envtools/patches/300-support-env-in-ubivol-chardev.patch create mode 100644 package/boot/uboot-envtools/patches/400-u-boot-2015.10-stdint.patch create mode 100644 package/boot/uboot-fritz4040/Makefile create mode 100755 package/boot/uboot-fritz4040/files/upload-to-f4040.sh create mode 100644 package/boot/uboot-fritz4040/patches/100-private-libgcc.patch create mode 100644 package/boot/uboot-fritz4040/patches/110-portability.patch create mode 100644 package/boot/uboot-imx6/Makefile create mode 100644 package/boot/uboot-imx6/patches/001-gcc-5-compiler.patch create mode 100644 package/boot/uboot-imx6/patches/002-use-static-inline.patch create mode 100644 package/boot/uboot-imx6/patches/003-use-weak-in-board.patch create mode 100644 package/boot/uboot-imx6/patches/004-use-weak-in-main.patch create mode 100644 package/boot/uboot-imx6/patches/100-wandboard-enable-fit.patch create mode 100644 package/boot/uboot-imx6/patches/110-wandboard-owrt-env.patch create mode 100644 package/boot/uboot-kirkwood/Makefile 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/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/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-layerscape-32b/Makefile create mode 100644 package/boot/uboot-layerscape/Makefile create mode 100644 package/boot/uboot-mvebu/Makefile create mode 100644 package/boot/uboot-mvebu/patches/0001-clearfog-generate-random-MAC-address.patch create mode 100644 package/boot/uboot-mvebu/patches/0002-clearfog-reset-usom-onboard-1512-phy.patch create mode 100644 package/boot/uboot-mvebu/patches/0003-clearfog-enable-distro-boot-code.patch create mode 100644 package/boot/uboot-mvebu/patches/0004-clearfog-enable-setexpr-command-by-default.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-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-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/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/010-dt-sync-files-with-kernel.patch create mode 100644 package/boot/uboot-sunxi/patches/011-dt-sync-dts-files-with-kernel.patch create mode 100644 package/boot/uboot-sunxi/patches/012-sun6i-fix-clock_twi_onoff.patch create mode 100644 package/boot/uboot-sunxi/patches/013-enable-realtek-phy.patch create mode 100644 package/boot/uboot-sunxi/patches/014-fix-gmac-init.patch create mode 100644 package/boot/uboot-sunxi/patches/015-fix-2nd-usb-ctrler-on-sun47i.patch create mode 100644 package/boot/uboot-sunxi/patches/016-spl-print-mmc-slot.patch create mode 100644 package/boot/uboot-sunxi/patches/017-usb-add-support-for-usb3-vbus-pin.patch create mode 100644 package/boot/uboot-sunxi/patches/018-usb-specify-vbus-pins-on-orangepis.patch create mode 100644 package/boot/uboot-sunxi/patches/019-sid-add-efuse-support-for-h3-a83t.patch create mode 100644 package/boot/uboot-sunxi/patches/020-boot-display-board-model-on-startup.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/uEnv-default.txt create mode 100644 package/boot/uboot-sunxi/uEnv-pangolin.txt create mode 100644 package/boot/uboot-xburst/Makefile create mode 100644 package/boot/uboot-xburst/patches/0001-qi_lb60-add-nand-spl-support.patch create mode 100644 package/boot/uboot-xburst/patches/0002-qi_lb60-add-software-usbboot-support.patch create mode 100644 package/boot/uboot-xburst/patches/0003-add-mmc-support.patch create mode 100644 package/boot/uboot-xburst/patches/0004-add-more-boot-options-F1-F2-F3-F4-M-S.patch create mode 100644 package/boot/uboot-xburst/patches/0005-add-nanonote-lcd-support.patch create mode 100644 package/boot/uboot-xburst/patches/0006-enable-silent-console.patch create mode 100644 package/boot/uboot-zynq/Makefile create mode 100644 package/boot/yamonenv/Makefile create mode 100644 package/boot/yamonenv/patches/001-yamonenv_mtd_partition.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/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/perf/musl-compat.h create mode 100644 package/devel/perf/musl-include/asm/errno.h create mode 100644 package/devel/perf/musl-include/string.h create mode 100644 package/devel/strace/Makefile create mode 100644 package/devel/strace/patches/100-workaround--pt-reg-collisions-ppc.patch 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/ath10k-firmware/Makefile create mode 100644 package/firmware/b43legacy-firmware/Makefile create mode 100644 package/firmware/fman-ucode/Makefile create mode 100644 package/firmware/ipq-wifi/Makefile create mode 100644 package/firmware/ipq-wifi/board-fritz4040.bin create mode 100644 package/firmware/ipq-wifi/board-nbg6617.bin create mode 100644 package/firmware/ipq-wifi/board-rt-ac58u.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/linux-firmware/Makefile 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/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/realtek.mk create mode 100644 package/firmware/linux-firmware/ti.mk create mode 100644 package/firmware/ppfe-firmware/Makefile create mode 100644 package/firmware/prism54-firmware/Makefile create mode 100644 package/firmware/rcw/Makefile create mode 100644 package/firmware/vsc73x5-ucode/Makefile create mode 100644 package/firmware/vsc73x5-ucode/files/Makefile create mode 100644 package/kernel/acx-mac80211/Makefile 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.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/ath10k-ct/Makefile create mode 100644 package/kernel/ath10k-ct/patches/100-kernel_compat.patch create mode 100644 package/kernel/ath10k-ct/patches/110-api_fix.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/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/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/ifxmips_mei_interface.h create mode 100644 package/kernel/lantiq/ltq-adsl-mei/src/lantiq_mei.c 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/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/100-compat.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/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-mei/Makefile create mode 100644 package/kernel/lantiq/ltq-vdsl-mei/patches/010-warnings.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/Makefile create mode 100644 package/kernel/lantiq/ltq-vdsl/patches/100-compat.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/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/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/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/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/files/regdb.txt create mode 100644 package/kernel/mac80211/patches/000-fix_kconfig.patch create mode 100644 package/kernel/mac80211/patches/001-fix_build.patch create mode 100644 package/kernel/mac80211/patches/002-change_allconfig.patch create mode 100644 package/kernel/mac80211/patches/003-remove_bogus_modparams.patch create mode 100644 package/kernel/mac80211/patches/004-kconfig_backport_fix.patch create mode 100644 package/kernel/mac80211/patches/005-revert-devcoredump.patch create mode 100644 package/kernel/mac80211/patches/006-revert-ktime-changes.patch create mode 100644 package/kernel/mac80211/patches/007-revert-genetlink-changes.patch create mode 100644 package/kernel/mac80211/patches/008-revert-ndo_stats64-cleanup.patch create mode 100644 package/kernel/mac80211/patches/009-revert-mtu-changes.patch create mode 100644 package/kernel/mac80211/patches/010-disable_rfkill.patch create mode 100644 package/kernel/mac80211/patches/011-backport_strscpy.patch create mode 100644 package/kernel/mac80211/patches/012-kernel_build_check.patch create mode 100644 package/kernel/mac80211/patches/020-01-rt2x00-avoid-introducing-a-USB-dependency-in-the-rt2.patch create mode 100644 package/kernel/mac80211/patches/020-02-rt2x00usb-do-not-anchor-rx-and-tx-urb-s.patch create mode 100644 package/kernel/mac80211/patches/020-03-rt2x00usb-fix-anchor-initialization.patch create mode 100644 package/kernel/mac80211/patches/020-04-rt61pci-use-entry-directly.patch create mode 100644 package/kernel/mac80211/patches/020-05-rt2x00-call-entry-directly-in-rt2x00_dump_frame.patch create mode 100644 package/kernel/mac80211/patches/020-06-rt2x00-remove-queue_entry-from-skbdesc.patch create mode 100644 package/kernel/mac80211/patches/020-07-rt2500usb-don-t-mark-register-accesses-as-inline.patch create mode 100644 package/kernel/mac80211/patches/020-08-rt2x00-rt2800lib-move-rt2800_drv_data-declaration-in.patch create mode 100644 package/kernel/mac80211/patches/020-09-rt2800-identify-station-based-on-status-WCID.patch create mode 100644 package/kernel/mac80211/patches/020-10-rt2x00-separte-filling-tx-status-from-rt2x00lib_txdo.patch create mode 100644 package/kernel/mac80211/patches/020-11-rt2x00-separte-clearing-entry-from-rt2x00lib_txdone.patch create mode 100644 package/kernel/mac80211/patches/020-12-rt2x00-add-txdone-nomatch-function.patch create mode 100644 package/kernel/mac80211/patches/020-13-rt2x00-fixup-fill_tx_status-for-nomatch-case.patch create mode 100644 package/kernel/mac80211/patches/020-14-rt2x00-use-txdone_nomatch-on-rt2800usb.patch create mode 100644 package/kernel/mac80211/patches/020-15-rt2800-status-based-rate-flags-for-nomatch-case.patch create mode 100644 package/kernel/mac80211/patches/020-16-rt2800-use-TXOP_BACKOFF-for-probe-frames.patch create mode 100644 package/kernel/mac80211/patches/020-17-rt2x00-fix-rt2x00debug_dump_frame-comment.patch create mode 100644 package/kernel/mac80211/patches/020-18-rt2x00-fix-TX_PWR_CFG_4-register-definition.patch create mode 100644 package/kernel/mac80211/patches/020-19-rt2x00-add-support-for-MT7620.patch create mode 100644 package/kernel/mac80211/patches/020-20-rt2x00-reverse-external-PA-capability-flag-logic.patch create mode 100644 package/kernel/mac80211/patches/020-21-rt2800-fix-LNA-gain-assignment-for-MT7620.patch create mode 100644 package/kernel/mac80211/patches/020-22-rt2800-do-VCO-calibration-after-programming-ALC.patch create mode 100644 package/kernel/mac80211/patches/020-23-rt2800-fix-mt7620-vco-calibration-registers.patch create mode 100644 package/kernel/mac80211/patches/020-24-rt2800-fix-mt7620-E2-channel-registers.patch create mode 100644 package/kernel/mac80211/patches/030-rt2x00_options.patch create mode 100644 package/kernel/mac80211/patches/040-brcmutil_option.patch create mode 100644 package/kernel/mac80211/patches/050-lib80211_option.patch create mode 100644 package/kernel/mac80211/patches/060-no_local_ssb_bcma.patch create mode 100644 package/kernel/mac80211/patches/070-ath_common_config.patch create mode 100644 package/kernel/mac80211/patches/080-ath10k_thermal_config.patch create mode 100644 package/kernel/mac80211/patches/090-remove-cred.patch create mode 100644 package/kernel/mac80211/patches/100-remove-cryptoapi-dependencies.patch create mode 100644 package/kernel/mac80211/patches/110-mac80211_keep_keys_on_stop_ap.patch create mode 100644 package/kernel/mac80211/patches/120-cfg80211_allow_perm_addr_change.patch create mode 100644 package/kernel/mac80211/patches/130-mac80211-hwsim-hrtimer-clock.patch create mode 100644 package/kernel/mac80211/patches/150-disable_addr_notifier.patch create mode 100644 package/kernel/mac80211/patches/201-ath5k-WAR-for-AR71xx-PCI-bug.patch create mode 100644 package/kernel/mac80211/patches/210-ap_scan.patch create mode 100644 package/kernel/mac80211/patches/300-ath9k_hw-reset-AHB-WMAC-interface-on-AR91xx.patch create mode 100644 package/kernel/mac80211/patches/301-ath9k_hw-issue-external-reset-for-QCA955x.patch create mode 100644 package/kernel/mac80211/patches/302-ath9k_hw-set-spectral-scan-enable-bit-on-trigger-for.patch create mode 100644 package/kernel/mac80211/patches/303-ath9k-don-t-run-periodic-and-nf-calibation-at-the-sa.patch create mode 100644 package/kernel/mac80211/patches/304-ath9k-force-rx_clear-when-disabling-rx.patch create mode 100644 package/kernel/mac80211/patches/305-ath9k-limit-retries-for-powersave-response-frames.patch create mode 100644 package/kernel/mac80211/patches/306-Revert-ath9k-interpret-requested-txpower-in-EIRP-dom.patch create mode 100644 package/kernel/mac80211/patches/307-mac80211-add-hdrlen-to-ieee80211_tx_data.patch create mode 100644 package/kernel/mac80211/patches/308-mac80211-add-NEED_ALIGNED4_SKBS-hw-flag.patch create mode 100644 package/kernel/mac80211/patches/309-mac80211-minstrel-Enable-STBC-and-LDPC-for-VHT-Rates.patch create mode 100644 package/kernel/mac80211/patches/310-ath9k-fix-moredata-bit-in-PS-buffered-frame-release.patch create mode 100644 package/kernel/mac80211/patches/311-ath9k-clear-potentially-stale-EOSP-status-bit-in-int.patch create mode 100644 package/kernel/mac80211/patches/312-ath9k-report-tx-status-on-EOSP.patch create mode 100644 package/kernel/mac80211/patches/313-ath9k-fix-block-ack-window-tracking-issues.patch create mode 100644 package/kernel/mac80211/patches/314-ath9k-rename-tx_complete_work-to-hw_check_work.patch create mode 100644 package/kernel/mac80211/patches/315-ath9k_hw-check-if-the-chip-failed-to-wake-up.patch create mode 100644 package/kernel/mac80211/patches/316-ath9k-fix-race-condition-in-enabling-disabling-IRQs.patch create mode 100644 package/kernel/mac80211/patches/318-0001-brcmfmac-check-brcmf_bus_get_memdump-result-for-erro.patch create mode 100644 package/kernel/mac80211/patches/319-0002-brcmfmac-be-more-verbose-when-PSM-s-watchdog-fires.patch create mode 100644 package/kernel/mac80211/patches/319-0003-brcmfmac-use-wiphy_read_of_freq_limits-to-respect-li.patch create mode 100644 package/kernel/mac80211/patches/319-0004-brcmfmac-merge-two-brcmf_err-macros-into-one.patch create mode 100644 package/kernel/mac80211/patches/319-0005-brcmfmac-switch-to-C-function-__brcmf_err-for-printi.patch create mode 100644 package/kernel/mac80211/patches/319-0006-brcmfmac-merge-two-remaining-brcmf_err-macros.patch create mode 100644 package/kernel/mac80211/patches/320-ath9k-clean-up-and-fix-ath_tx_count_airtime.patch create mode 100644 package/kernel/mac80211/patches/321-mac80211-fix-CSA-in-IBSS-mode.patch create mode 100644 package/kernel/mac80211/patches/322-mac80211-don-t-handle-filtered-frames-within-a-BA-se.patch create mode 100644 package/kernel/mac80211/patches/323-0001-brcmfmac-Use-net_device_stats-from-struct-net_device.patch create mode 100644 package/kernel/mac80211/patches/323-0002-brcmfmac-always-print-error-when-PSM-s-watchdog-fire.patch create mode 100644 package/kernel/mac80211/patches/323-0003-brcmfmac-Do-not-print-the-firmware-version-as-an-err.patch create mode 100644 package/kernel/mac80211/patches/323-0004-brcmfmac-Do-not-complain-about-country-code-00.patch create mode 100644 package/kernel/mac80211/patches/323-0005-brcmfmac-Handle-status-BRCMF_E_STATUS_ABORT-in-cfg80.patch create mode 100644 package/kernel/mac80211/patches/323-0006-brcmfmac-move-brcmf_txflowblock-to-bcdc-layer.patch create mode 100644 package/kernel/mac80211/patches/323-0007-brcmfmac-move-brcmf_txcomplete-to-bcdc-layer.patch create mode 100644 package/kernel/mac80211/patches/323-0008-brcmfmac-wrap-brcmf_fws_add_interface-into-bcdc-laye.patch create mode 100644 package/kernel/mac80211/patches/323-0009-brcmfmac-wrap-brcmf_fws_del_interface-into-bcdc-laye.patch create mode 100644 package/kernel/mac80211/patches/323-0010-brcmfmac-wrap-brcmf_fws_reset_interface-into-bcdc-la.patch create mode 100644 package/kernel/mac80211/patches/324-ath9k_hw-fix-channel-maximum-power-level-test.patch create mode 100644 package/kernel/mac80211/patches/325-mac80211-unconditionally-start-new-netdev-queues-wit.patch create mode 100644 package/kernel/mac80211/patches/326-ath9k-fix-ar934x-OTP-offsets.patch create mode 100644 package/kernel/mac80211/patches/327-ath10k-increase-BMI-timeout.patch create mode 100644 package/kernel/mac80211/patches/328-ath10k-log-when-longer-bmi-cmds-happen.patch create mode 100644 package/kernel/mac80211/patches/329-ath10k-add-BMI-parameters-to-fix-calibration-from-DT.patch create mode 100644 package/kernel/mac80211/patches/330-ath9k-adjust-tx-power-reduction-for-US-regulatory-do.patch create mode 100644 package/kernel/mac80211/patches/331-ath9k-fix-more-data-flag-for-buffered-multicast-pack.patch create mode 100644 package/kernel/mac80211/patches/332-ath10k-fix-rx-ring-buffer-memory-leak.patch create mode 100644 package/kernel/mac80211/patches/333-ath10k-fix-spectral-scan.patch create mode 100644 package/kernel/mac80211/patches/400-ath_move_debug_code.patch create mode 100644 package/kernel/mac80211/patches/401-ath9k_blink_default.patch create mode 100644 package/kernel/mac80211/patches/402-ath_regd_optional.patch create mode 100644 package/kernel/mac80211/patches/403-world_regd_fixup.patch create mode 100644 package/kernel/mac80211/patches/404-regd_no_assoc_hints.patch create mode 100644 package/kernel/mac80211/patches/405-ath_regd_us.patch create mode 100644 package/kernel/mac80211/patches/406-ath_relax_default_regd.patch create mode 100644 package/kernel/mac80211/patches/410-ath9k_allow_adhoc_and_ap.patch create mode 100644 package/kernel/mac80211/patches/411-ath5k_allow_adhoc_and_ap.patch create mode 100644 package/kernel/mac80211/patches/420-ath5k_disable_fast_cc.patch create mode 100644 package/kernel/mac80211/patches/430-add_ath5k_platform.patch create mode 100644 package/kernel/mac80211/patches/431-add_platform_eeprom_support_to_ath5k.patch create mode 100644 package/kernel/mac80211/patches/432-ath5k_add_pciids.patch create mode 100644 package/kernel/mac80211/patches/440-ath5k_channel_bw_debugfs.patch create mode 100644 package/kernel/mac80211/patches/500-ath9k_eeprom_debugfs.patch create mode 100644 package/kernel/mac80211/patches/501-ath9k_ahb_init.patch create mode 100644 package/kernel/mac80211/patches/510-ath9k_intr_mitigation_tweak.patch create mode 100644 package/kernel/mac80211/patches/511-ath9k_reduce_rxbuf.patch create mode 100644 package/kernel/mac80211/patches/512-ath9k_channelbw_debugfs.patch create mode 100644 package/kernel/mac80211/patches/513-ath9k_add_pci_ids.patch create mode 100644 package/kernel/mac80211/patches/522-mac80211_configure_antenna_gain.patch create mode 100644 package/kernel/mac80211/patches/530-ath9k_extra_leds.patch create mode 100644 package/kernel/mac80211/patches/531-ath9k_extra_platform_leds.patch create mode 100644 package/kernel/mac80211/patches/540-ath9k_reduce_ani_interval.patch create mode 100644 package/kernel/mac80211/patches/542-ath9k_debugfs_diag.patch create mode 100644 package/kernel/mac80211/patches/543-ath9k_entropy_from_adc.patch create mode 100644 package/kernel/mac80211/patches/544-ath9k-ar933x-usb-hang-workaround.patch create mode 100644 package/kernel/mac80211/patches/545-ath9k_ani_ws_detect.patch create mode 100644 package/kernel/mac80211/patches/547-ath9k_led_defstate_fix.patch create mode 100644 package/kernel/mac80211/patches/548-ath9k_enable_gpio_chip.patch create mode 100644 package/kernel/mac80211/patches/549-ath9k_enable_gpio_buttons.patch create mode 100644 package/kernel/mac80211/patches/550-ath9k-disable-bands-via-dt.patch create mode 100644 package/kernel/mac80211/patches/551-ath9k_ubnt_uap_plus_hsr.patch create mode 100644 package/kernel/mac80211/patches/600-01-rt2x00-allow-to-build-rt2800soc-module-for-RT3883.patch create mode 100644 package/kernel/mac80211/patches/600-02-rt2x00-rt2800lib-enable-support-for-RT3883.patch create mode 100644 package/kernel/mac80211/patches/600-03-rt2x00-rt2800lib-add-rf_vals-for-RF3853.patch create mode 100644 package/kernel/mac80211/patches/600-04-rt2x00-rt2800lib-enable-VCO-calibration-for-RF3853.patch create mode 100644 package/kernel/mac80211/patches/600-05-rt2x00-rt2800lib-add-channel-configuration-function-.patch create mode 100644 package/kernel/mac80211/patches/600-06-rt2x00-rt2800lib-enable-RF3853-support.patch create mode 100644 package/kernel/mac80211/patches/600-07-rt2x00-rt2800lib-add-MAC-register-initialization-for.patch create mode 100644 package/kernel/mac80211/patches/600-08-rt2x00-rt2800soc-fix-rt2800soc_disable_radio-for-RT3.patch create mode 100644 package/kernel/mac80211/patches/600-09-rt2x00-rt2800lib-add-BBP-register-initialization-for.patch create mode 100644 package/kernel/mac80211/patches/600-10-rt2x00-rt2800lib-add-RFCSR-initialization-for-RT3883.patch create mode 100644 package/kernel/mac80211/patches/600-11-rt2x00-rt2800lib-use-the-extended-EEPROM-map-for-RT3.patch create mode 100644 package/kernel/mac80211/patches/600-12-rt2x00-rt2800lib-force-rf-type-to-RF3853-on-RT3883.patch create mode 100644 package/kernel/mac80211/patches/600-13-rt2x00-rt2800lib-add-channel-configuration-code-for-.patch create mode 100644 package/kernel/mac80211/patches/600-14-rt2x00-rt2800lib-fix-txpower_to_dev-function-for-RT3.patch create mode 100644 package/kernel/mac80211/patches/600-15-rt2x00-rt2800lib-use-correct-txpower-calculation-fun.patch create mode 100644 package/kernel/mac80211/patches/600-16-rt2x00-rt2800lib-hardcode-txmixer-gain-values-to-zer.patch create mode 100644 package/kernel/mac80211/patches/600-17-rt2x00-rt2800lib-use-correct-RT-XWI-size-for-RT3883.patch create mode 100644 package/kernel/mac80211/patches/600-18-rt2x00-rt2800lib-fix-antenna-configuration-for-RT388.patch create mode 100644 package/kernel/mac80211/patches/600-19-rt2x00-rt2800lib-fix-LNA-gain-configuration-for-RT38.patch create mode 100644 package/kernel/mac80211/patches/600-20-rt2x00-rt2800lib-fix-VGC-setup-for-RT3883.patch create mode 100644 package/kernel/mac80211/patches/600-21-rt2x00-rt2800lib-fix-EEPROM-LNA-validation-for-RT388.patch create mode 100644 package/kernel/mac80211/patches/600-22-rt2x00-rt2800lib-fix-txpower-compensation-for-RT3883.patch create mode 100644 package/kernel/mac80211/patches/600-23-rt2x00-rt2800mmio-add-a-workaround-for-spurious-TX_F.patch create mode 100644 package/kernel/mac80211/patches/601-rt2x00-introduce-rt2x00_platform_h.patch create mode 100644 package/kernel/mac80211/patches/602-rt2x00-introduce-rt2x00eeprom.patch create mode 100644 package/kernel/mac80211/patches/603-rt2x00-of_load_eeprom_filename.patch create mode 100644 package/kernel/mac80211/patches/604-rt2x00-load-eeprom-on-SoC-from-a-mtd-device-defines-.patch create mode 100644 package/kernel/mac80211/patches/606-rt2x00-allow_disabling_bands_through_platform_data.patch create mode 100644 package/kernel/mac80211/patches/607-rt2x00-add_platform_data_mac_addr.patch create mode 100644 package/kernel/mac80211/patches/608-rt2x00-allow_disabling_bands_through_dts.patch create mode 100644 package/kernel/mac80211/patches/609-rt2x00-make-wmac-loadable-via-OF-on-rt288x-305x-SoC.patch create mode 100644 package/kernel/mac80211/patches/610-rt2x00-change-led-polarity-from-OF.patch create mode 100644 package/kernel/mac80211/patches/611-rt2x00-add-AP+STA-support.patch create mode 100644 package/kernel/mac80211/patches/650-rt2x00-add-support-for-external-PA-on-MT7620.patch create mode 100644 package/kernel/mac80211/patches/651-rt2x00-remove-unneccesary-code.patch create mode 100644 package/kernel/mac80211/patches/653-0001-rtl8xxxu-Accept-firmware-signature-0x88e0.patch create mode 100644 package/kernel/mac80211/patches/653-0002-rtl8xxxu-Add-initial-code-to-detect-8188eu-devices.patch create mode 100644 package/kernel/mac80211/patches/653-0003-rtl8xxxu-Add-initial-code-to-parse-8188eu-efuse.patch create mode 100644 package/kernel/mac80211/patches/653-0004-rtl8xxxu-Detect-8188eu-parts-correctly.patch create mode 100644 package/kernel/mac80211/patches/653-0005-rtl8xxxu-First-stab-at-rtl8188e_power_on.patch create mode 100644 package/kernel/mac80211/patches/653-0006-rtl8xxxu-Add-rtl8188e_disabled_to_emu.patch create mode 100644 package/kernel/mac80211/patches/653-0007-rtl8xxxu-8188e-Enable-scheduler.patch create mode 100644 package/kernel/mac80211/patches/653-0008-rtl8xxxu-Add-rtl8188e_usb_quirk-for-enabling-MAC-TX-.patch create mode 100644 package/kernel/mac80211/patches/653-0009-rtl8xxxu-8188e-add-REG_TXDMA_OFFSET_CHK-quirk.patch create mode 100644 package/kernel/mac80211/patches/653-0010-rtl8xxxu-Add-reserved-page-init-parameters-for-8188e.patch create mode 100644 package/kernel/mac80211/patches/653-0011-rtl8xxxu-Correct-TX_TOTAL_PAGE_NUM-for-8188eu.patch create mode 100644 package/kernel/mac80211/patches/653-0012-rtl8xxxu-Add-trxff_boundary-for-8188e.patch create mode 100644 package/kernel/mac80211/patches/653-0013-rtl8xxxu-8188eu-specify-firmware-block-size-and-set-.patch create mode 100644 package/kernel/mac80211/patches/653-0014-rtl8xxxu-Add-8188e-mac-init-table.patch create mode 100644 package/kernel/mac80211/patches/653-0015-rtl8xxxu-Implement-rtl8188eu_init_phy_bb.patch create mode 100644 package/kernel/mac80211/patches/653-0016-rtl8xxxu-Implement-rtl8188eu_init_phy_rf.patch create mode 100644 package/kernel/mac80211/patches/653-0017-rtl8xxxu-Use-auto-LLT-init-for-8188e.patch create mode 100644 package/kernel/mac80211/patches/653-0018-rtl8xxxu-Do-not-set-REG_FPGA0_TX_INFO-on-8188eu.patch create mode 100644 package/kernel/mac80211/patches/653-0019-rtl8xxxu-Do-not-mess-with-REG_FPGA0_XA_RF_INT_OE-eit.patch create mode 100644 package/kernel/mac80211/patches/653-0020-rtl8xxxu-Set-transfer-page-size-for-8188eu.patch create mode 100644 package/kernel/mac80211/patches/653-0021-rtl8xxxu-Enable-TX-report-timer-on-8188eu.patch create mode 100644 package/kernel/mac80211/patches/653-0022-rtl8xxxu-Setup-interrupts-for-8188eu.patch create mode 100644 package/kernel/mac80211/patches/653-0023-rtl8xxxu-Use-rxdesc16-and-32-byte-tx-descriptors-for.patch create mode 100644 package/kernel/mac80211/patches/653-0024-rtl8xxxu-8188eu-use-same-ADDA-on-parameters-as-8723a.patch create mode 100644 package/kernel/mac80211/patches/653-0025-rtl8xxxu-Add-PHY-IQ-calibration-code-for-8188eu.patch create mode 100644 package/kernel/mac80211/patches/653-0026-rtl8xxxu-8188eu-uses-the-gen2-thermal-meter.patch create mode 100644 package/kernel/mac80211/patches/653-0027-rtl8xxxu-Set-REG_USB_HRPWM-to-0-for-8188eu.patch create mode 100644 package/kernel/mac80211/patches/653-0028-rtl8xxxu-Implement-rtl8188eu_config_channel.patch create mode 100644 package/kernel/mac80211/patches/653-0029-rtl8xxxu-Use-gen2-H2C-commands-for-8188eu.patch create mode 100644 package/kernel/mac80211/patches/653-0030-rtl8xxxu-Initialize-GPIO-settings-for-8188eu.patch create mode 100644 package/kernel/mac80211/patches/653-0031-rtl8xxxu-Add-simple-rtl8188eu_rf_on-routine.patch create mode 100644 package/kernel/mac80211/patches/653-0032-rtl8xxxu-Implement-rtl8188e_disable_rf.patch create mode 100644 package/kernel/mac80211/patches/653-0033-rtl8xxxu-Update-8188e-efuse-definition-for-power-val.patch create mode 100644 package/kernel/mac80211/patches/653-0034-rtl8xxxu-Implement-rtl8188e_set_tx_power.patch create mode 100644 package/kernel/mac80211/patches/653-0035-rtl8xxxu-Implement-rtl8xxxu_fill_txdesc_v3-for-8188e.patch create mode 100644 package/kernel/mac80211/patches/653-0036-rtl8xxxu-Add-some-8188eu-registers-and-update-CCK0_A.patch create mode 100644 package/kernel/mac80211/patches/653-0037-rtl8xxxu-Improve-register-description-for-REG_FPGA1_.patch create mode 100644 package/kernel/mac80211/patches/653-0038-rtl8xxxu-properly-detect-RTL8188EU-devices.patch create mode 100644 package/kernel/mac80211/patches/653-0039-rtl8xxxu-Implement-8188eu-specific-8051-reset-functi.patch create mode 100644 package/kernel/mac80211/patches/653-0040-rtl8xxxu-Disable-packet-DMA-aggregation-on-8188eu.patch create mode 100644 package/kernel/mac80211/patches/653-0041-rtl8xxxu-8188eu-set-REG_OFDM0_XA_AGC_CORE1-to-match-.patch create mode 100644 package/kernel/mac80211/patches/653-0042-rtl8xxxu-Fix-rtl8188eu-connection-fail.patch create mode 100644 package/kernel/mac80211/patches/653-0043-rtl8xxxu-Do-not-set-auto-rate-fallback-on-8188eu.patch create mode 100644 package/kernel/mac80211/patches/653-0044-rtl8xxxu-Enable-8188eu-driver.patch create mode 100644 package/kernel/mac80211/patches/653-0045-rtl8xxxu-Add-rtl8188etv-to-USB-device-list.patch create mode 100644 package/kernel/mac80211/patches/653-0046-rtl8xxxu-Add-sitecom-dongle-to-USB-device-list.patch create mode 100644 package/kernel/mac80211/patches/653-0047-rtl8xxxu-Implement-rtl8188eu_active_to_emu.patch create mode 100644 package/kernel/mac80211/patches/653-0048-rtl8xxxu-Implement-rtl8188eu_power_off.patch create mode 100644 package/kernel/mac80211/patches/653-0049-rtl8xxxu-Add-rtl8188eu-USB-ID-for-D-Link-USB-GO-N150.patch create mode 100644 package/kernel/mac80211/patches/653-0050-rtl8xxxu-Clear-SYS_FUNC_UPLL-during-power-up-on-8188.patch create mode 100644 package/kernel/mac80211/patches/653-0051-rtl8xxxu-Early-enable-of-WEP-TKIP-security-on-8188eu.patch create mode 100644 package/kernel/mac80211/patches/653-0052-rtl8xxxu-Correct-power-down-sequence-for-8188eu.patch create mode 100644 package/kernel/mac80211/patches/653-0053-rtl8xxxu-Reset-8188eu-REG_GPIO_MUXCFG-on-power-off.patch create mode 100644 package/kernel/mac80211/patches/653-0054-rtl8xxxu-Handle-devices-with-a-smaller-LLT-buffer.patch create mode 100644 package/kernel/mac80211/patches/653-0055-rtl8xxxu-Fix-reloading-of-driver-for-8188eu-devices.patch create mode 100644 package/kernel/mac80211/patches/653-0056-rtl8xxxu-Make-sure-to-enable-OFDM-paths-for-8188eu-i.patch create mode 100644 package/kernel/mac80211/patches/653-0057-rtl8xxxu-Add-rpt_sel-entry-to-struct-rtl8xxxu_rxdesc.patch create mode 100644 package/kernel/mac80211/patches/700-mwl8k-missing-pci-id-for-WNR854T.patch create mode 100644 package/kernel/mac80211/patches/801-libertas-configure-sysfs-links.patch create mode 100644 package/kernel/mac80211/patches/802-libertas-set-wireless-macaddr.patch create mode 100644 package/kernel/mac80211/patches/810-b43-gpio-mask-module-option.patch create mode 100644 package/kernel/mac80211/patches/811-b43_no_pio.patch create mode 100644 package/kernel/mac80211/patches/812-b43-add-antenna-control.patch create mode 100644 package/kernel/mac80211/patches/813-b43-reduce-number-of-RX-slots.patch create mode 100644 package/kernel/mac80211/patches/814-b43-only-use-gpio-0-1-for-led.patch create mode 100644 package/kernel/mac80211/patches/815-b43-always-take-overlapping-devs.patch create mode 100644 package/kernel/mac80211/patches/850-brcmsmac-remove-extra-regulation-restriction.patch create mode 100644 package/kernel/mac80211/patches/860-brcmfmac-register-wiphy-s-during-module_init.patch create mode 100644 package/kernel/mac80211/patches/861-brcmfmac-workaround-bug-with-some-inconsistent-BSSes.patch create mode 100644 package/kernel/mac80211/patches/862-brcmfmac-Disable-power-management.patch create mode 100644 package/kernel/mac80211/patches/863-brcmfmac-add-in-driver-tables-with-country-codes.patch create mode 100644 package/kernel/mac80211/patches/864-brcmfmac-do-not-use-internal-roaming-engine-by-default.patch create mode 100644 package/kernel/mac80211/patches/921-ath10k_init_devices_synchronously.patch create mode 100644 package/kernel/mac80211/patches/930-ath10k_add_tpt_led_trigger.patch create mode 100644 package/kernel/mac80211/patches/936-ath10k-fix-otp-failure-result.patch create mode 100644 package/kernel/mac80211/patches/940-mwl8k_init_devices_synchronously.patch create mode 100644 package/kernel/mac80211/patches/960-0010-ath10k-limit-htt-rx-ring-size.patch create mode 100644 package/kernel/mac80211/patches/960-0011-ath10k-limit-pci-buffer-size.patch 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/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/rotary-gpio-custom/Makefile create mode 100644 package/kernel/rotary-gpio-custom/src/Kconfig create mode 100644 package/kernel/rotary-gpio-custom/src/Makefile create mode 100644 package/kernel/rotary-gpio-custom/src/rotary-gpio-custom.c 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/shortcut-fe/Makefile create mode 100644 package/kernel/shortcut-fe/src/Kconfig create mode 100644 package/kernel/shortcut-fe/src/Makefile create mode 100644 package/kernel/shortcut-fe/src/README create mode 100644 package/kernel/shortcut-fe/src/fast-classifier.c create mode 100644 package/kernel/shortcut-fe/src/fast-classifier.h create mode 100644 package/kernel/shortcut-fe/src/nl_classifier_test.c create mode 100644 package/kernel/shortcut-fe/src/sfe.h create mode 100644 package/kernel/shortcut-fe/src/sfe_backport.h create mode 100644 package/kernel/shortcut-fe/src/sfe_cm.c create mode 100644 package/kernel/shortcut-fe/src/sfe_cm.h create mode 100644 package/kernel/shortcut-fe/src/sfe_ipv4.c create mode 100644 package/kernel/shortcut-fe/src/sfe_ipv6.c create mode 100644 package/kernel/shortcut-fe/src/userspace_example.c 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/kernel/wrt55agv2-spidevs/Makefile create mode 100644 package/kernel/wrt55agv2-spidevs/src/Kconfig create mode 100644 package/kernel/wrt55agv2-spidevs/src/Makefile create mode 100644 package/kernel/wrt55agv2-spidevs/src/wrt55agv2_spidevs.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/cyassl/Config.in create mode 100644 package/libs/cyassl/Makefile create mode 100644 package/libs/cyassl/patches/400-additional_compatibility.patch create mode 100644 package/libs/elfutils/Makefile create mode 100644 package/libs/elfutils/patches/002-argp_standalone.patch create mode 100644 package/libs/elfutils/patches/003-libint-stub.patch create mode 100644 package/libs/elfutils/patches/005-build_only_libs.patch create mode 100644 package/libs/elfutils/patches/006-libdw_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-aarch64_support.patch create mode 100644 package/libs/libconfig/Makefile create mode 100644 package/libs/libevent2/Makefile 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/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/0001-lib-Escape-usage-of-strerror_l-if-it-doesn-t-exist-i.patch create mode 100644 package/libs/libpcap/Config.in create mode 100644 package/libs/libpcap/Makefile create mode 100644 package/libs/libpcap/patches/001-Fix-compiler_state_t.ai-usage-when-INET6-is-not-defi.patch create mode 100644 package/libs/libpcap/patches/002-Add-missing-compiler_state_t-parameter.patch 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/202-protocol_api.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/librpc/Makefile create mode 100644 package/libs/libtool/Makefile create mode 100644 package/libs/libtool/patches/160-passthrough-ssp.patch create mode 100644 package/libs/libubox/Makefile create mode 100644 package/libs/libunwind/Makefile create mode 100644 package/libs/libunwind/patches/001-disable-tests.patch 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/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/200-fix_missing_include.patch create mode 100644 package/libs/ncurses/patches/500-cross.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/openssl/Config.in create mode 100644 package/libs/openssl/Makefile create mode 100644 package/libs/openssl/include/crypto/cryptodev.h create mode 100644 package/libs/openssl/patches/110-optimize-for-size.patch create mode 100644 package/libs/openssl/patches/130-perl-path.patch create mode 100644 package/libs/openssl/patches/140-makefile-dirs.patch create mode 100644 package/libs/openssl/patches/150-no_engines.patch create mode 100644 package/libs/openssl/patches/160-disable_doc_tests.patch create mode 100644 package/libs/openssl/patches/170-bash_path.patch create mode 100644 package/libs/openssl/patches/180-fix_link_segfault.patch create mode 100644 package/libs/openssl/patches/190-remove_timestamp_check.patch create mode 100644 package/libs/openssl/patches/200-parallel_build.patch create mode 100644 package/libs/popt/Makefile create mode 100644 package/libs/readline/Makefile create mode 100644 package/libs/readline/patches/001-install_perm.patch create mode 100644 package/libs/sysfsutils/Makefile 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/eglibc-files/etc/nsswitch.conf 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/002-path_to_bash.patch create mode 100644 package/libs/uclibc++/patches/006-eabi_fix.patch create mode 100644 package/libs/uclibc++/patches/010-honor-ldflags.patch create mode 100644 package/libs/uclibc++/patches/020-template-fix.patch create mode 100644 package/libs/uclibc++/patches/030-memory_corruption_fix.patch create mode 100644 package/libs/uclibc++/patches/040-delete-c++14.patch create mode 100644 package/libs/uclibc++/patches/050-Bugfix-erase-on-derived-__base_associative.patch create mode 100644 package/libs/uclient/Makefile create mode 100644 package/libs/ustream-ssl/Makefile create mode 100644 package/libs/zlib/Makefile 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/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 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-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 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/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 100755 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/authsae/Makefile create mode 100644 package/network/services/authsae/files/lib/wifi/authsae.sh create mode 100644 package/network/services/authsae/patches/100-musl_fix.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/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/010-Tweak-ICMP-ping-check-logic-for-DHCPv4.patch create mode 100644 package/network/services/dnsmasq/patches/011-Remove-ping-check-of-configured-DHCP-address.patch create mode 100644 package/network/services/dnsmasq/patches/020-Try-other-servers-if-first-returns-REFUSED-when-stri.patch create mode 100644 package/network/services/dnsmasq/patches/025-fix-CVE-2017-13704.patch create mode 100644 package/network/services/dnsmasq/patches/110-ipset-remove-old-kernel-support.patch create mode 100644 package/network/services/dnsmasq/patches/210-dnssec-improve-timestamp-heuristic.patch create mode 100644 package/network/services/dnsmasq/patches/230-fix-poll-h-include-warning-on-musl.patch create mode 100644 package/network/services/dnsmasq/patches/240-ubus.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/010-runtime-maxauthtries.patch 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/120-openwrt_options.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/150-dbconvert_standalone.patch create mode 100644 package/network/services/dropbear/patches/600-allow-blank-root-password.patch create mode 100644 package/network/services/dropbear/patches/610-skip-default-keys-in-custom-runs.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/emailrelay/Makefile create mode 100644 package/network/services/emailrelay/files/emailrelay.auth create mode 100644 package/network/services/emailrelay/files/emailrelay.init create mode 100755 package/network/services/emailrelay/patches/0001-fix-attachement.patch create mode 100644 package/network/services/emailrelay/patches/0002-fix-no-openssl_v3.patch 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-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-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/001-Fix-race-condition-between-AssocResp-callback-and-4a.patch create mode 100644 package/network/services/hostapd/patches/002-Fix-duplicate-Reassociation-Request-frame-dropping.patch create mode 100644 package/network/services/hostapd/patches/003-RSN-IBSS-Fix-TK-clearing-on-Authentication-frame-RX.patch create mode 100644 package/network/services/hostapd/patches/004-hostapd-Add-possibility-to-send-debug-messages-to-sy.patch create mode 100644 package/network/services/hostapd/patches/100-daemonize_fix.patch create mode 100644 package/network/services/hostapd/patches/110-no_eapol_fix.patch create mode 100644 package/network/services/hostapd/patches/120-disable_bridge_packet_workaround.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/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/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/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/462-wpa_s-support-htmode-param.patch create mode 100644 package/network/services/hostapd/patches/470-survey_data_fallback.patch create mode 100644 package/network/services/hostapd/patches/600-ubus_support.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/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/igmpproxy/patches/001-Send-IGMP-packets-with-IP-Router-Alert-option-RFC-21.patch create mode 100644 package/network/services/igmpproxy/patches/002-Change-default-interface-state-to-disabled-wrt-29458.patch create mode 100644 package/network/services/igmpproxy/patches/003-Restrict-igmp-reports-for-downstream-interfaces-wrt-.patch create mode 100644 package/network/services/igmpproxy/patches/004-Restrict-igmp-reports-forwarding-to-upstream-interfa.patch create mode 100644 package/network/services/igmpproxy/patches/010-missing_include.patch create mode 100644 package/network/services/igmpproxy/patches/020-Silence-downstream-interface-igmp-messages.patch create mode 100644 package/network/services/igmpproxy/patches/100-use-monotic-clock-instead-of-time-of-day.patch create mode 100644 package/network/services/igmpproxy/patches/200-allow_wildcard_addr.patch create mode 100644 package/network/services/igmpproxy/patches/250-fix_multiple_downlink_interfaces.patch 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/ipset-dns/patches/100-simultaneous-ipv4-ipv6.patch 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/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/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/001-honor-ldflags.patch 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/320-custom_iface_names.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/520-uniq.patch create mode 100644 package/network/services/ppp/patches/530-pppoe_send_padt.patch create mode 100644 package/network/services/ppp/patches/531-pppoe_no_disconnect_warning.patch create mode 100644 package/network/services/ppp/patches/540-save-pppol2tp_fd_str.patch create mode 100644 package/network/services/ppp/patches/550-fix-printer-args.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 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-2017-7494-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/upnpbridge/Makefile create mode 100755 package/network/services/upnpbridge/files/upnpbridge.init create mode 100644 package/network/services/upnpbridge/src/Makefile create mode 100644 package/network/services/upnpbridge/src/upnpbridge.c 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/conntrack-tools/Makefile create mode 100644 package/network/utils/conntrack-tools/files/conntrackd.init 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/200-no_docs_tests.patch create mode 100644 package/network/utils/curl/patches/310-mbedtls-disable-runtime-version-check.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/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/iftop/Makefile create mode 100644 package/network/utils/iperf/Makefile create mode 100644 package/network/utils/iperf3/Makefile create mode 100644 package/network/utils/iperf3/patches/010-fix-openssl-ac-macro.patch create mode 100644 package/network/utils/iperf3/patches/100-iperf_auth-rsa-header.patch 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/001-config.patch create mode 100644 package/network/utils/iproute2/patches/004-darwin_fixes.patch create mode 100644 package/network/utils/iproute2/patches/006-no_sctp.patch create mode 100644 package/network/utils/iproute2/patches/007-no_arpd.patch create mode 100644 package/network/utils/iproute2/patches/008-no_netem.patch create mode 100644 package/network/utils/iproute2/patches/100-allow_pfifo_fast.patch create mode 100644 package/network/utils/iproute2/patches/110-extra-ccopts.patch create mode 100644 package/network/utils/iproute2/patches/120-libnetlink-pic.patch create mode 100644 package/network/utils/iproute2/patches/271-uapi-libc-compat.h-do-not-rely-on-__GLIBC__.patch create mode 100644 package/network/utils/iproute2/patches/272-uapi-if_ether.h-prevent-redefinition-of-struct-ethhd.patch create mode 100644 package/network/utils/iproute2/patches/300-ip_tiny.patch create mode 100644 package/network/utils/iproute2/patches/900-drop_FAILED_POLICY.patch create mode 100644 package/network/utils/iproute2/patches/950-add-cake-to-tc.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/020-iptables-disable-modprobe.patch create mode 100644 package/network/utils/iptables/patches/050-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/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/linkwatch/Makefile create mode 100644 package/network/utils/linkwatch/files/linkwatch create mode 100644 package/network/utils/linkwatch/files/linkwatch.init 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/600-fix-format-errors.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/nftables/patches/100-disable-doc-generation.patch create mode 100644 package/network/utils/nftables/patches/101-nftables-statement-fix-print-of-ip-dnat-address.patch 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/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/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/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/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/network/utils/xtables-addons/Makefile create mode 100644 package/network/utils/xtables-addons/patches/002-fix-kernel-version-detection.patch create mode 100644 package/network/utils/xtables-addons/patches/100-add-rtsp-conntrack.patch create mode 100644 package/network/utils/xtables-addons/patches/200-add-lua-packetscript.patch create mode 100644 package/network/utils/xtables-addons/patches/201-fix-lua-packetscript.patch create mode 100644 package/network/utils/xtables-addons/patches/300-geoip-endian-detection.patch 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/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/lede-keyring/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/trx.c create mode 100644 package/system/mtd/src/wrgg.c create mode 100644 package/system/mtd/src/wrgg.h 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/uci/Makefile create mode 100644 package/system/uci/files/lib/config/uci.sh create mode 100644 package/system/usign/Makefile create mode 100644 package/system/zram-swap/Makefile create mode 100644 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/admswconfig/Makefile create mode 100644 package/utils/admswconfig/files/admswconfig create mode 100644 package/utils/admswconfig/files/admswswitch.sh create mode 100644 package/utils/admswconfig/patches/001-matrix.patch create mode 100644 package/utils/admswconfig/patches/002-fix-musl.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/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/001-resource_h_include.patch 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/130-mconf_missing_sigwinch.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/bzip2/Makefile 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/001-com_err_version.patch create mode 100644 package/utils/e2fsprogs/patches/002-fix-subst-host-build.patch create mode 100644 package/utils/f2fs-tools/Makefile create mode 100644 package/utils/f2fs-tools/patches/100-f2fs-WARNING-at-fs-f2fs-segment.c-718-update_sit_ent.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_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/jsonfilter/Makefile create mode 100644 package/utils/k3screenctrl/Makefile create mode 100755 package/utils/k3screenctrl/files/k3screenctrl.init 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/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/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/200-reduce_size.patch create mode 100644 package/utils/mtd-utils/Makefile create mode 100644 package/utils/mtd-utils/patches/010-fix-rpmatch.patch 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/spidev_test/src/spidev_test.c 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/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 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/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/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/download.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/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/kconfig.pl 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.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/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/adm5120/Makefile create mode 100755 target/linux/adm5120/base-files/etc/board.d/01_leds create mode 100644 target/linux/adm5120/base-files/etc/config/network create mode 100644 target/linux/adm5120/base-files/etc/diag.sh create mode 100644 target/linux/adm5120/base-files/etc/inittab create mode 100755 target/linux/adm5120/base-files/lib/adm5120.sh create mode 100644 target/linux/adm5120/base-files/lib/preinit/01_preinit_do_adm5120.sh create mode 100644 target/linux/adm5120/base-files/lib/preinit/05_set_preinit_iface_adm5120 create mode 100644 target/linux/adm5120/base-files/lib/upgrade/platform.sh create mode 100644 target/linux/adm5120/config-3.18 create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/Kconfig create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/Platform create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/cellvision/Makefile create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/cellvision/cas-771.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/cellvision/cellvision.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/cellvision/cellvision.h create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/cellvision/nfs-101.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/common/Makefile create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/common/adm5120.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/common/clock.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/common/early-printk.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/common/gpio.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/common/irq.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/common/memory.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/common/platform.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/common/prom.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/common/setup.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/compex/Makefile create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/compex/compex.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/compex/compex.h create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/compex/np27g.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/compex/np28g.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/compex/wp54.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/edimax/Makefile create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/edimax/br-6104k.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/edimax/br-6104kp.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/edimax/br-61x4wg.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/edimax/br-61xx.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/edimax/br-61xx.h create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/generic/Makefile create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/generic/eb-214a.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/infineon/Makefile create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/infineon/easy5120-rt.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/infineon/easy5120-wvoip.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/infineon/easy5120p-ata.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/infineon/easy83000.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/infineon/infineon.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/infineon/infineon.h create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/mikrotik/Makefile create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/mikrotik/rb-11x.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/mikrotik/rb-133.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/mikrotik/rb-133c.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/mikrotik/rb-150.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/mikrotik/rb-153.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/mikrotik/rb-192.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/mikrotik/rb-1xx.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/mikrotik/rb-1xx.h create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/motorola/Makefile create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/motorola/pmugw.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/osbridge/5gxi.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/osbridge/Makefile create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/prom/Makefile create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/prom/admboot.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/prom/bootbase.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/prom/cfe.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/prom/generic.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/prom/myloader.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/prom/prom_read.h create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/prom/routerboot.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/zyxel/Makefile create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/zyxel/p-334wt.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/zyxel/p-335.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/zyxel/p-33x.c create mode 100644 target/linux/adm5120/files-3.18/arch/mips/adm5120/zyxel/p-33x.h create mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/adm5120_defs.h create mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/adm5120_info.h create mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/adm5120_intc.h create mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/adm5120_mpmc.h create mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/adm5120_nand.h create mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/adm5120_platform.h create mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/adm5120_switch.h create mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/adm5120_uart.h create mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/asm/sizes.h create mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/cpu-feature-overrides.h create mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/gpio.h create mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/irq.h create mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/prom/admboot.h create mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/prom/cfe.h create mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/prom/generic.h create mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/prom/myloader.h create mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/prom/routerboot.h create mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/prom/zynos.h create mode 100644 target/linux/adm5120/files-3.18/arch/mips/include/asm/mach-adm5120/war.h create mode 100644 target/linux/adm5120/files-3.18/arch/mips/pci/pci-adm5120.c create mode 100644 target/linux/adm5120/files-3.18/drivers/ata/pata_rb153_cf.c create mode 100644 target/linux/adm5120/files-3.18/drivers/leds/ledtrig-adm5120-switch.c create mode 100644 target/linux/adm5120/files-3.18/drivers/mtd/maps/adm5120-flash.c create mode 100644 target/linux/adm5120/files-3.18/drivers/mtd/trxsplit.c create mode 100644 target/linux/adm5120/files-3.18/drivers/net/adm5120sw.c create mode 100644 target/linux/adm5120/files-3.18/drivers/net/adm5120sw.h create mode 100644 target/linux/adm5120/files-3.18/drivers/usb/host/adm5120-dbg.c create mode 100644 target/linux/adm5120/files-3.18/drivers/usb/host/adm5120-drv.c create mode 100644 target/linux/adm5120/files-3.18/drivers/usb/host/adm5120-hcd.c create mode 100644 target/linux/adm5120/files-3.18/drivers/usb/host/adm5120-hub.c create mode 100644 target/linux/adm5120/files-3.18/drivers/usb/host/adm5120-mem.c create mode 100644 target/linux/adm5120/files-3.18/drivers/usb/host/adm5120-pm.c create mode 100644 target/linux/adm5120/files-3.18/drivers/usb/host/adm5120-q.c create mode 100644 target/linux/adm5120/files-3.18/drivers/usb/host/adm5120.h create mode 100644 target/linux/adm5120/files-3.18/drivers/watchdog/adm5120_wdt.c create mode 100644 target/linux/adm5120/image/Makefile create mode 100644 target/linux/adm5120/image/lzma-loader/Makefile create mode 100644 target/linux/adm5120/image/lzma-loader/src/LzmaDecode.c create mode 100644 target/linux/adm5120/image/lzma-loader/src/LzmaDecode.h create mode 100644 target/linux/adm5120/image/lzma-loader/src/LzmaTypes.h create mode 100644 target/linux/adm5120/image/lzma-loader/src/Makefile create mode 100644 target/linux/adm5120/image/lzma-loader/src/README create mode 100644 target/linux/adm5120/image/lzma-loader/src/board.c create mode 100644 target/linux/adm5120/image/lzma-loader/src/config.h create mode 100644 target/linux/adm5120/image/lzma-loader/src/decompress.c create mode 100644 target/linux/adm5120/image/lzma-loader/src/head.S create mode 100644 target/linux/adm5120/image/lzma-loader/src/loader.lds create mode 100644 target/linux/adm5120/image/lzma-loader/src/lzma-data.lds create mode 100644 target/linux/adm5120/image/lzma-loader/src/printf.c create mode 100644 target/linux/adm5120/image/lzma-loader/src/printf.h create mode 100644 target/linux/adm5120/image/rb1xx.mk create mode 100644 target/linux/adm5120/image/router_be.mk create mode 100644 target/linux/adm5120/image/router_le.mk create mode 100644 target/linux/adm5120/modules.mk create mode 100644 target/linux/adm5120/patches-3.18/001-adm5120.patch create mode 100644 target/linux/adm5120/patches-3.18/002-adm5120_flash.patch create mode 100644 target/linux/adm5120/patches-3.18/003-adm5120_switch.patch create mode 100644 target/linux/adm5120/patches-3.18/005-adm5120_usb.patch create mode 100644 target/linux/adm5120/patches-3.18/007-adm5120_pci.patch create mode 100644 target/linux/adm5120/patches-3.18/009-adm5120_leds_switch_trigger.patch create mode 100644 target/linux/adm5120/patches-3.18/050-revert_rootfs_splits.patch create mode 100644 target/linux/adm5120/patches-3.18/100-rootfs_split.patch create mode 100644 target/linux/adm5120/patches-3.18/101-cfi_fixup_macronix_bootloc.patch create mode 100644 target/linux/adm5120/patches-3.18/102-jedec_pmc_39lvxxx_chips.patch create mode 100644 target/linux/adm5120/patches-3.18/103-mtd_trxsplit.patch create mode 100644 target/linux/adm5120/patches-3.18/120-rb153_cf_driver.patch create mode 100644 target/linux/adm5120/patches-3.18/200-amba_pl010_hacks.patch create mode 100644 target/linux/adm5120/patches-3.18/203-gpio_leds_brightness.patch create mode 100644 target/linux/adm5120/patches-3.18/310-adm5120_wdt.patch create mode 100755 target/linux/adm5120/rb1xx/base-files/sbin/wget2nand create mode 100644 target/linux/adm5120/rb1xx/config-default create mode 100644 target/linux/adm5120/rb1xx/profiles/RB1xx.mk create mode 100644 target/linux/adm5120/rb1xx/target.mk create mode 100644 target/linux/adm5120/router_be/config-default create mode 100644 target/linux/adm5120/router_be/profiles/010-Generic.mk create mode 100644 target/linux/adm5120/router_be/profiles/200-ZyXEL.mk create mode 100644 target/linux/adm5120/router_be/target.mk create mode 100644 target/linux/adm5120/router_le/config-3.8 create mode 100644 target/linux/adm5120/router_le/profiles/010-Generic.mk create mode 100644 target/linux/adm5120/router_le/profiles/Cellvision.mk create mode 100644 target/linux/adm5120/router_le/profiles/Compex.mk create mode 100644 target/linux/adm5120/router_le/profiles/Edimax.mk create mode 100644 target/linux/adm5120/router_le/profiles/Infineon.mk create mode 100644 target/linux/adm5120/router_le/profiles/Motorola.mk create mode 100644 target/linux/adm5120/router_le/profiles/Osbridge.mk create mode 100644 target/linux/adm5120/router_le/target.mk create mode 100644 target/linux/adm8668/Makefile create mode 100644 target/linux/adm8668/base-files/etc/config/network create mode 100644 target/linux/adm8668/base-files/etc/diag.sh create mode 100644 target/linux/adm8668/base-files/lib/preinit/03_init_hotplug_failsafe_adm8668 create mode 100644 target/linux/adm8668/base-files/lib/preinit/05_set_preinit_face_adm8668 create mode 100644 target/linux/adm8668/base-files/lib/upgrade/platform.sh create mode 100644 target/linux/adm8668/base-files/sbin/hotplug.failsafe create mode 100644 target/linux/adm8668/config-3.18 create mode 100644 target/linux/adm8668/files-3.18/arch/mips/adm8668/Kconfig create mode 100644 target/linux/adm8668/files-3.18/arch/mips/adm8668/Makefile create mode 100644 target/linux/adm8668/files-3.18/arch/mips/adm8668/Platform create mode 100644 target/linux/adm8668/files-3.18/arch/mips/adm8668/clock.c create mode 100644 target/linux/adm8668/files-3.18/arch/mips/adm8668/early_printk.c create mode 100644 target/linux/adm8668/files-3.18/arch/mips/adm8668/gpio.c create mode 100644 target/linux/adm8668/files-3.18/arch/mips/adm8668/irq.c create mode 100644 target/linux/adm8668/files-3.18/arch/mips/adm8668/platform.c create mode 100644 target/linux/adm8668/files-3.18/arch/mips/adm8668/prom.c create mode 100644 target/linux/adm8668/files-3.18/arch/mips/adm8668/setup.c create mode 100644 target/linux/adm8668/files-3.18/arch/mips/adm8668/time.c create mode 100644 target/linux/adm8668/files-3.18/arch/mips/adm8668/u-boot.h create mode 100644 target/linux/adm8668/files-3.18/arch/mips/include/asm/mach-adm8668/adm8668.h create mode 100644 target/linux/adm8668/files-3.18/arch/mips/include/asm/mach-adm8668/asm/sizes.h create mode 100644 target/linux/adm8668/files-3.18/arch/mips/include/asm/mach-adm8668/gpio.h create mode 100644 target/linux/adm8668/files-3.18/arch/mips/include/asm/mach-adm8668/irq.h create mode 100644 target/linux/adm8668/files-3.18/arch/mips/include/asm/mach-adm8668/war.h create mode 100644 target/linux/adm8668/files-3.18/arch/mips/pci/pci-adm8668.c create mode 100644 target/linux/adm8668/files-3.18/drivers/mtd/maps/adm8668.c create mode 100644 target/linux/adm8668/image/Makefile create mode 100644 target/linux/adm8668/image/lzma-loader/Makefile create mode 100644 target/linux/adm8668/image/lzma-loader/src/LzmaDecode.c create mode 100644 target/linux/adm8668/image/lzma-loader/src/LzmaDecode.h create mode 100644 target/linux/adm8668/image/lzma-loader/src/Makefile create mode 100644 target/linux/adm8668/image/lzma-loader/src/decompress.c create mode 100644 target/linux/adm8668/image/lzma-loader/src/include/_exports.h create mode 100644 target/linux/adm8668/image/lzma-loader/src/include/asm/global_data.h create mode 100644 target/linux/adm8668/image/lzma-loader/src/include/asm/u-boot.h create mode 100644 target/linux/adm8668/image/lzma-loader/src/include/common.h create mode 100644 target/linux/adm8668/image/lzma-loader/src/include/exports.h create mode 100644 target/linux/adm8668/image/lzma-loader/src/include/image.h create mode 100644 target/linux/adm8668/image/lzma-loader/src/lzma.lds.in create mode 100644 target/linux/adm8668/image/lzma-loader/src/stubs.c create mode 100755 target/linux/adm8668/image/my-mkimage create mode 100644 target/linux/adm8668/patches-3.18/001-adm8668_arch.patch create mode 100644 target/linux/adm8668/patches-3.18/002-adm8668_pci.patch create mode 100644 target/linux/adm8668/patches-3.18/003-adm8668_nor_map.patch create mode 100644 target/linux/adm8668/patches-3.18/004-tulip_pci_split.patch create mode 100644 target/linux/adm8668/patches-3.18/005-tulip_platform.patch create mode 100644 target/linux/adm8668/patches-3.18/200-amba_pl010_hacks.patch create mode 100644 target/linux/adm8668/patches-3.18/201-amba_bus_hacks.patch create mode 100644 target/linux/adm8668/profiles/100-WRTU54G-TM.mk 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 100755 target/linux/apm821xx/base-files/etc/diag.sh create mode 100644 target/linux/apm821xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom create mode 100644 target/linux/apm821xx/base-files/etc/inittab create mode 100755 target/linux/apm821xx/base-files/etc/rc.button/BTN_1 create mode 100755 target/linux/apm821xx/base-files/lib/apm821xx.sh create mode 100644 target/linux/apm821xx/base-files/lib/preinit/01_preinit_do_apm821xx.sh 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/merakinand.sh 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.9 create mode 100644 target/linux/apm821xx/dts/MR24.dts create mode 100644 target/linux/apm821xx/dts/MX60.dts create mode 100644 target/linux/apm821xx/dts/apm82181.dtsi create mode 100644 target/linux/apm821xx/dts/apollo3g-duo.dts create mode 100644 target/linux/apm821xx/dts/apollo3g.dts create mode 100644 target/linux/apm821xx/dts/apollo3g.dtsi create mode 100644 target/linux/apm821xx/dts/wndr4700.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.9/200-add-meraki-mr24-ikarem-support.patch create mode 100644 target/linux/apm821xx/patches-4.9/201-add-amcc-apollo3g-support.patch create mode 100644 target/linux/apm821xx/patches-4.9/202-add-netgear-wndr4700-support.patch create mode 100644 target/linux/apm821xx/patches-4.9/203-add-meraki-mx60-buckminster-support.patch create mode 100644 target/linux/apm821xx/patches-4.9/300-fix-atheros-nics-on-apm82181.patch create mode 100644 target/linux/apm821xx/patches-4.9/301-fix-memory-map-wndr4700.patch create mode 100644 target/linux/apm821xx/patches-4.9/701-powerpc_ibm_apm82181_phyclk_fix.patch create mode 100644 target/linux/apm821xx/patches-4.9/702-powerpc_ibm_phy_add_dt_parser.patch create mode 100644 target/linux/apm821xx/patches-4.9/703-net-emac-fix-reset-timeout-with-AR8035-phy.patch create mode 100644 target/linux/apm821xx/patches-4.9/801-usb-xhci-add-firmware-loader-for-uPD720201-and-uPD72.patch create mode 100644 target/linux/apm821xx/patches-4.9/802-usb-xhci-force-msi-renesas-xhci.patch create mode 100644 target/linux/apm821xx/patches-4.9/804-usb-dwc2-add-amcc-usb-otg-405ex.patch create mode 100644 target/linux/apm821xx/patches-4.9/901-hwmon-add-driver-for-Microchip-TC654-TC655-PWM-fan-c.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/ar7/Makefile create mode 100644 target/linux/ar7/ac49x/config-default create mode 100644 target/linux/ar7/ac49x/profiles/210-None.mk create mode 100644 target/linux/ar7/ac49x/target.mk create mode 100644 target/linux/ar7/base-files.mk create mode 100755 target/linux/ar7/base-files/etc/board.d/02_network create mode 100644 target/linux/ar7/base-files/etc/diag.sh create mode 100755 target/linux/ar7/base-files/etc/init.d/adam2 create mode 100644 target/linux/ar7/config-3.18 create mode 100644 target/linux/ar7/config-4.1 create mode 100644 target/linux/ar7/files/drivers/char/ar7_gpio.c create mode 100644 target/linux/ar7/files/drivers/mtd/ac49xpart.c create mode 100644 target/linux/ar7/files/drivers/mtd/titanpart.c create mode 100644 target/linux/ar7/generic/config-default create mode 100644 target/linux/ar7/generic/profiles/100-Annex-A.mk create mode 100644 target/linux/ar7/generic/profiles/110-Annex-B.mk create mode 100644 target/linux/ar7/generic/profiles/200-Texas.mk create mode 100644 target/linux/ar7/generic/profiles/210-None.mk create mode 100644 target/linux/ar7/generic/target.mk create mode 100644 target/linux/ar7/image/Makefile create mode 100644 target/linux/ar7/patches-3.18/001-mips-ar7-fix-serial.patch create mode 100644 target/linux/ar7/patches-3.18/100-fix-highmem-offset.patch create mode 100644 target/linux/ar7/patches-3.18/101-MIPS-AR7-allow-NULL-clock-for-clk_get_rate.patch create mode 100644 target/linux/ar7/patches-3.18/110-flash.patch create mode 100644 target/linux/ar7/patches-3.18/120-gpio_chrdev.patch create mode 100644 target/linux/ar7/patches-3.18/160-vlynq_try_remote_first.patch create mode 100644 target/linux/ar7/patches-3.18/200-free-mem-below-kernel-offset.patch create mode 100644 target/linux/ar7/patches-3.18/300-add-ac49x-platform.patch create mode 100644 target/linux/ar7/patches-3.18/310-ac49x-prom-support.patch create mode 100644 target/linux/ar7/patches-3.18/320-ac49x-mtd-partitions.patch create mode 100644 target/linux/ar7/patches-3.18/500-serial_kludge.patch create mode 100644 target/linux/ar7/patches-3.18/920-ar7part.patch create mode 100644 target/linux/ar7/patches-3.18/925-actiontec_leds.patch create mode 100644 target/linux/ar7/patches-3.18/950-cpmac_titan.patch create mode 100644 target/linux/ar7/patches-4.1/001-mips-ar7-fix-serial.patch create mode 100644 target/linux/ar7/patches-4.1/100-fix-highmem-offset.patch create mode 100644 target/linux/ar7/patches-4.1/101-MIPS-AR7-allow-NULL-clock-for-clk_get_rate.patch create mode 100644 target/linux/ar7/patches-4.1/110-flash.patch create mode 100644 target/linux/ar7/patches-4.1/120-gpio_chrdev.patch create mode 100644 target/linux/ar7/patches-4.1/160-vlynq_try_remote_first.patch create mode 100644 target/linux/ar7/patches-4.1/200-free-mem-below-kernel-offset.patch create mode 100644 target/linux/ar7/patches-4.1/300-add-ac49x-platform.patch create mode 100644 target/linux/ar7/patches-4.1/310-ac49x-prom-support.patch create mode 100644 target/linux/ar7/patches-4.1/320-ac49x-mtd-partitions.patch create mode 100644 target/linux/ar7/patches-4.1/500-serial_kludge.patch create mode 100644 target/linux/ar7/patches-4.1/920-ar7part.patch create mode 100644 target/linux/ar7/patches-4.1/925-actiontec_leds.patch create mode 100644 target/linux/ar7/patches-4.1/950-cpmac_titan.patch create mode 100644 target/linux/ar7/src/adam2patcher.c 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.4 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-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.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-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-e2100l.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-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-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-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-gs-minibox-v1.c create mode 100644 target/linux/ar71xx/files/arch/mips/ath79/mach-gs-oolite.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-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-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-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-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-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-v2.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-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-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-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/generic.mk create mode 100644 target/linux/ar71xx/image/legacy-devices.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/senao.mk create mode 100644 target/linux/ar71xx/image/tp-link.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/image/ubnt.mk 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.4/001-spi-cs-gpio.patch create mode 100644 target/linux/ar71xx/patches-4.4/002-add_back_gpio_function_select.patch create mode 100644 target/linux/ar71xx/patches-4.4/004-register_gpio_driver_earlier.patch create mode 100644 target/linux/ar71xx/patches-4.4/100-MIPS-ath79-Avoid-using-unitialized-reg-variable.patch create mode 100644 target/linux/ar71xx/patches-4.4/101-MIPS-ath79-make-ath79_ddr_ctrl_init-compatible-for-n.patch create mode 100644 target/linux/ar71xx/patches-4.4/103-MIPS-ath79-fix-register-address-in-ath79_ddr_wb_flus.patch create mode 100644 target/linux/ar71xx/patches-4.4/104-spi-spi-ath79-support-multiple-internal-chip-select-.patch create mode 100644 target/linux/ar71xx/patches-4.4/105-spi-spi-ath79-use-gpio_set_value_cansleep-for-GPIO-c.patch create mode 100644 target/linux/ar71xx/patches-4.4/106-01-MIPS-ath79-fix-AR724X_PLL_REG_PCIE_CONFIG-offset.patch create mode 100644 target/linux/ar71xx/patches-4.4/106-02-MIPS-ath79-do-AR724x-PCIe-root-complex-init.patch create mode 100644 target/linux/ar71xx/patches-4.4/200-MIPS-ath79-fix-ar933x-wmac-reset.patch create mode 100644 target/linux/ar71xx/patches-4.4/201-ar913x_wmac_external_reset.patch create mode 100644 target/linux/ar71xx/patches-4.4/202-MIPS-ath79-ar934x-wmac-revision.patch create mode 100644 target/linux/ar71xx/patches-4.4/203-MIPS-ath79-fix-restart.patch create mode 100644 target/linux/ar71xx/patches-4.4/220-add_cpu_feature_overrides.patch create mode 100644 target/linux/ar71xx/patches-4.4/300-MIPS-add-MIPS_MACHINE_NONAME-macro.patch create mode 100644 target/linux/ar71xx/patches-4.4/310-lib-add-rle-decompression.patch create mode 100644 target/linux/ar71xx/patches-4.4/401-mtd-physmap-add-lock-unlock.patch create mode 100644 target/linux/ar71xx/patches-4.4/402-mtd-SST39VF6401B-support.patch create mode 100644 target/linux/ar71xx/patches-4.4/403-mtd_fix_cfi_cmdset_0002_status_check.patch create mode 100644 target/linux/ar71xx/patches-4.4/404-mtd-cybertan-trx-parser.patch create mode 100644 target/linux/ar71xx/patches-4.4/405-mtd-tp-link-partition-parser.patch create mode 100644 target/linux/ar71xx/patches-4.4/407-mtd-m25p80-allow-to-pass-probe-types-via-platform-data.patch create mode 100644 target/linux/ar71xx/patches-4.4/408-mtd-redboot_partition_scan.patch create mode 100644 target/linux/ar71xx/patches-4.4/409-mtd-rb4xx_nand_driver.patch create mode 100644 target/linux/ar71xx/patches-4.4/410-mtd-rb750-nand-driver.patch create mode 100644 target/linux/ar71xx/patches-4.4/411-mtd-cfi_cmdset_0002-force-word-write.patch create mode 100644 target/linux/ar71xx/patches-4.4/412-mtd-m25p80-zero-partition-parser-data.patch create mode 100644 target/linux/ar71xx/patches-4.4/413-mtd-ar934x-nand-driver.patch create mode 100644 target/linux/ar71xx/patches-4.4/414-mtd-rb91x-nand-driver.patch create mode 100644 target/linux/ar71xx/patches-4.4/420-net-ar71xx_mac_driver.patch create mode 100644 target/linux/ar71xx/patches-4.4/423-dsa-add-88e6063-driver.patch create mode 100644 target/linux/ar71xx/patches-4.4/430-drivers-link-spi-before-mtd.patch create mode 100644 target/linux/ar71xx/patches-4.4/432-spi-rb4xx-spi-driver.patch create mode 100644 target/linux/ar71xx/patches-4.4/433-spi-rb4xx-cpld-driver.patch create mode 100644 target/linux/ar71xx/patches-4.4/435-spi-vsc7385_driver.patch create mode 100644 target/linux/ar71xx/patches-4.4/440-leds-wndr3700-usb-led-driver.patch create mode 100644 target/linux/ar71xx/patches-4.4/441-leds-rb750-led-driver.patch create mode 100644 target/linux/ar71xx/patches-4.4/450-gpio-nxp-74hc153-gpio-chip-driver.patch create mode 100644 target/linux/ar71xx/patches-4.4/451-gpio-74x164-improve-platform-device-support.patch create mode 100644 target/linux/ar71xx/patches-4.4/452-gpio-add-gpio-latch-driver.patch create mode 100644 target/linux/ar71xx/patches-4.4/460-m25p80-spi-read-flash-check.patch create mode 100644 target/linux/ar71xx/patches-4.4/461-spi-ath79-add-fast-flash-read.patch create mode 100644 target/linux/ar71xx/patches-4.4/470-MIPS-ath79-swizzle-pci-address-for-ar71xx.patch create mode 100644 target/linux/ar71xx/patches-4.4/490-usb-ehci-add-quirks-for-qca-socs.patch create mode 100644 target/linux/ar71xx/patches-4.4/500-MIPS-fw-myloader.patch create mode 100644 target/linux/ar71xx/patches-4.4/501-MIPS-ath79-add-mac-argument-to-ath79_register_wmac.patch create mode 100644 target/linux/ar71xx/patches-4.4/504-MIPS-ath79-add-ath79_device_reset_get.patch create mode 100644 target/linux/ar71xx/patches-4.4/505-MIPS-ath79-add-ath79_gpio_function_select.patch create mode 100644 target/linux/ar71xx/patches-4.4/506-MIPS-ath79-prom-parse-redboot-args.patch create mode 100644 target/linux/ar71xx/patches-4.4/507-MIPS-ath79-prom-add-myloader-support.patch create mode 100644 target/linux/ar71xx/patches-4.4/508-MIPS-ath79-prom-image-command-line-hack.patch create mode 100644 target/linux/ar71xx/patches-4.4/509-MIPS-ath79-process-board-kernel-option.patch create mode 100644 target/linux/ar71xx/patches-4.4/510-MIPS-ath79-init-gpio-pin-of-wmac-device.patch create mode 100644 target/linux/ar71xx/patches-4.4/520-MIPS-ath79-enable-UART-function.patch create mode 100644 target/linux/ar71xx/patches-4.4/521-MIPS-ath79-enable-UART-for-early_serial.patch create mode 100644 target/linux/ar71xx/patches-4.4/522-MIPS-ath79-add-ath79_wmac_register_simple-helper.patch create mode 100644 target/linux/ar71xx/patches-4.4/523-MIPS-ath79-OTP-support.patch create mode 100644 target/linux/ar71xx/patches-4.4/524-MIPS-ath79-add-ath79_wmac_disable_25ghz-helpers.patch create mode 100644 target/linux/ar71xx/patches-4.4/525-MIPS-ath79-enable-qca-usb-quirks.patch create mode 100644 target/linux/ar71xx/patches-4.4/601-MIPS-ath79-add-more-register-defines.patch create mode 100644 target/linux/ar71xx/patches-4.4/602-MIPS-ath79-add-openwrt-stuff.patch create mode 100644 target/linux/ar71xx/patches-4.4/603-MIPS-ath79-ap121-fixes.patch create mode 100644 target/linux/ar71xx/patches-4.4/605-MIPS-ath79-db120-fixes.patch create mode 100644 target/linux/ar71xx/patches-4.4/606-MIPS-ath79-pb44-fixes.patch create mode 100644 target/linux/ar71xx/patches-4.4/607-MIPS-ath79-ubnt-xm-fixes.patch create mode 100644 target/linux/ar71xx/patches-4.4/608-MIPS-ath79-ubnt-xm-add-more-boards.patch create mode 100644 target/linux/ar71xx/patches-4.4/609-MIPS-ath79-ap136-fixes.patch create mode 100644 target/linux/ar71xx/patches-4.4/611-MIPS-ath79-wdt-timeout.patch create mode 100644 target/linux/ar71xx/patches-4.4/612-MIPS-ath79-set-buffalo-txgain.patch create mode 100644 target/linux/ar71xx/patches-4.4/613-MIPS-ath79-add-ath79_wmac_setup_ext_lna_gpio-helper.patch create mode 100644 target/linux/ar71xx/patches-4.4/620-MIPS-ath79-add-support-for-QCA953x-SoC.patch create mode 100644 target/linux/ar71xx/patches-4.4/621-MIPS-ath79-add-support-for-QCA956x-SoC.patch create mode 100644 target/linux/ar71xx/patches-4.4/622-MIPS-ath79-add-more-register-defines-for-QCA956x-SoC.patch create mode 100644 target/linux/ar71xx/patches-4.4/630-MIPS-ath79-fix-chained-irq-disable.patch create mode 100644 target/linux/ar71xx/patches-4.4/631-MIPS-ath79-wmac-enable-set-led-pin.patch create mode 100644 target/linux/ar71xx/patches-4.4/632-MIPS-ath79-gpio-enable-set-direction.patch create mode 100644 target/linux/ar71xx/patches-4.4/634-MIPS-ath79-ar724x-clock-calculation-fixes.patch create mode 100644 target/linux/ar71xx/patches-4.4/640-MIPS-ath79-add-QCA955x-wmac-reset.patch create mode 100644 target/linux/ar71xx/patches-4.4/700-MIPS-ath79-add-openwrt-Kconfig.patch create mode 100644 target/linux/ar71xx/patches-4.4/701-MIPS-ath79-add-routerboard-detection.patch create mode 100644 target/linux/ar71xx/patches-4.4/739-MIPS-ath79-add-gpio-func-register-for-QCA955x-SoC.patch create mode 100644 target/linux/ar71xx/patches-4.4/740-MIPS-ath79-add-PCI-for-QCA953x-SoC.patch create mode 100644 target/linux/ar71xx/patches-4.4/818-MIPS-ath79-add-nu801-led-driver.patch create mode 100644 target/linux/ar71xx/patches-4.4/820-MIPS-ath79-add_gpio_function2_setup.patch create mode 100644 target/linux/ar71xx/patches-4.4/821-serial-core-add-support-for-boot-console-with-arbitr.patch create mode 100644 target/linux/ar71xx/patches-4.4/900-mdio_bitbang_ignore_ta_value.patch create mode 100644 target/linux/ar71xx/patches-4.4/901-phy-mdio-bitbang-prevent-rescheduling-during-command.patch create mode 100644 target/linux/ar71xx/patches-4.4/902-at803x-add-reset-gpio-pdata.patch create mode 100644 target/linux/ar71xx/patches-4.4/910-unaligned_access_hacks.patch create mode 100644 target/linux/ar71xx/patches-4.4/920-usb-chipidea-AR933x-platform-support.patch create mode 100644 target/linux/ar71xx/patches-4.4/930-chipidea-pullup.patch 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.9 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.9/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.9 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/patches-4.9/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.9 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.4 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/drivers/mtd/at91part.c 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 100644 target/linux/at91/image/legacy.mk create mode 100644 target/linux/at91/image/sama5d3.mk create mode 100644 target/linux/at91/legacy/config-default create mode 100644 target/linux/at91/legacy/target.mk create mode 100644 target/linux/at91/modules.mk create mode 100644 target/linux/at91/patches-4.4/100-ARM-at91-build-dtb-for-LMU5000.patch create mode 100644 target/linux/at91/patches-4.4/101-ARM-at91-build-dtb-for-q5xr5.patch create mode 100644 target/linux/at91/sama5d3/config-default create mode 100644 target/linux/at91/sama5d3/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.9 create mode 100644 target/linux/ath25/image/Makefile create mode 100644 target/linux/ath25/patches-4.9/107-ar5312_gpio.patch create mode 100644 target/linux/ath25/patches-4.9/108-ar2315_gpio.patch create mode 100644 target/linux/ath25/patches-4.9/110-ar2313_ethernet.patch create mode 100644 target/linux/ath25/patches-4.9/120-spiflash.patch create mode 100644 target/linux/ath25/patches-4.9/130-watchdog.patch create mode 100644 target/linux/ath25/patches-4.9/140-redboot_boardconfig.patch create mode 100644 target/linux/ath25/patches-4.9/141-redboot_partition_scan.patch create mode 100644 target/linux/ath25/patches-4.9/142-redboot_various_erase_size_fix.patch create mode 100644 target/linux/ath25/patches-4.9/210-reset_button.patch create mode 100644 target/linux/ath25/patches-4.9/220-enet_micrel_workaround.patch create mode 100644 target/linux/ath25/patches-4.9/330-board_leds.patch create mode 100644 target/linux/ath25/profiles/00-default.mk create mode 100644 target/linux/au1000/Makefile create mode 100644 target/linux/au1000/au1500/config-default create mode 100644 target/linux/au1000/au1500/profiles/Atheros.mk create mode 100644 target/linux/au1000/au1500/profiles/InternetBox.mk create mode 100644 target/linux/au1000/au1500/profiles/MeshCube.mk create mode 100644 target/linux/au1000/au1500/target.mk create mode 100644 target/linux/au1000/au1550/config-default create mode 100644 target/linux/au1000/au1550/profiles/DBAu1550.mk create mode 100644 target/linux/au1000/au1550/target.mk create mode 100644 target/linux/au1000/base-files/etc/diag.sh create mode 100644 target/linux/au1000/base-files/lib/upgrade/platform.sh create mode 100644 target/linux/au1000/config-3.18 create mode 100644 target/linux/au1000/image/Makefile create mode 100644 target/linux/au1000/modules.mk create mode 100644 target/linux/au1000/patches-3.18/002-openwrt_rootfs.patch create mode 100644 target/linux/au1000/patches-3.18/003-au1000_eth_ioctl.patch create mode 100644 target/linux/au1000/patches-3.18/004-watchdog_low_init.patch create mode 100644 target/linux/au1000/patches-3.18/006-codec.patch 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.4 create mode 100644 target/linux/bcm53xx/config-4.9 create mode 100644 target/linux/bcm53xx/files-4.4/drivers/firmware/broadcom/bcm47xx_sprom.c 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.4/020-ARM-BCM5301X-remove-workaround-imprecise-abort-fault.patch create mode 100644 target/linux/bcm53xx/patches-4.4/021-ARM-BCM5310X-activate-erratas-needed-for-SoC.patch create mode 100644 target/linux/bcm53xx/patches-4.4/022-ARM-BCM-Clean-up-SMP-support-for-Broadcom-Kona.patch create mode 100644 target/linux/bcm53xx/patches-4.4/023-ARM-BCM-Add-SMP-support-for-Broadcom-NSP.patch create mode 100644 target/linux/bcm53xx/patches-4.4/024-ARM-BCM-Add-SMP-support-for-Broadcom-4708.patch create mode 100644 target/linux/bcm53xx/patches-4.4/030-ARM-dts-bcm5301x-Add-BCM-SVK-DT-files.patch create mode 100644 target/linux/bcm53xx/patches-4.4/031-ARM-dts-enable-clock-support-for-BCM5301X.patch create mode 100644 target/linux/bcm53xx/patches-4.4/032-ARM-BCM5301X-Add-missing-Netgear-R8000-LEDs.patch create mode 100644 target/linux/bcm53xx/patches-4.4/033-dt-bindings-add-SMP-enable-method-for-Broadcom-NSP.patch create mode 100644 target/linux/bcm53xx/patches-4.4/034-ARM-BCM5301X-Add-DT-for-D-Link-DIR-885L.patch create mode 100644 target/linux/bcm53xx/patches-4.4/035-ARM-BCM5301X-Set-vcc-gpio-for-USB-controllers-of-few.patch create mode 100644 target/linux/bcm53xx/patches-4.4/036-ARM-BCM5301X-Enable-earlycon-on-tested-devices.patch create mode 100644 target/linux/bcm53xx/patches-4.4/037-0001-ARM-BCM5301X-Add-DT-entry-for-SPI-controller-and-NOR.patch create mode 100644 target/linux/bcm53xx/patches-4.4/037-0002-ARM-BCM5301X-Enable-SPI-NOR-on-dual-flash-devices.patch create mode 100644 target/linux/bcm53xx/patches-4.4/038-0001-ARM-dts-Enable-SRAB-switch-and-GMACs-on-5301x-DTS.patch create mode 100644 target/linux/bcm53xx/patches-4.4/038-0002-ARM-dts-BCM5301X-Add-SRAB-interrupts.patch create mode 100644 target/linux/bcm53xx/patches-4.4/038-0003-ARM-dts-BCM5310x-Enable-switch-ports-on-SmartRG-SR40.patch create mode 100644 target/linux/bcm53xx/patches-4.4/039-ARM-dts-BCM5301x-Add-RNG-Device-Tree-node.patch create mode 100644 target/linux/bcm53xx/patches-4.4/040-ARM-dts-BCM5301x-Add-BCM953012ER-board.patch create mode 100644 target/linux/bcm53xx/patches-4.4/041-0001-ARM-BCM5301X-Specify-NAND-chip-select-and-ECC-in-sep.patch create mode 100644 target/linux/bcm53xx/patches-4.4/041-0002-ARM-BCM5301X-Fix-NAND-ECC-parameters-for-D-Link-DIR-.patch create mode 100644 target/linux/bcm53xx/patches-4.4/042-ARM-BCM5301X-Specify-PHY-of-USB-2.0-in-DT.patch create mode 100644 target/linux/bcm53xx/patches-4.4/043-0001-ARM-BCM53573-Initial-support-for-Broadcom-BCM53573-S.patch create mode 100644 target/linux/bcm53xx/patches-4.4/044-0001-ARM-BCM5301X-Add-DT-for-Netgear-R8500.patch create mode 100644 target/linux/bcm53xx/patches-4.4/044-0002-ARM-BCM5301X-Add-basic-dts-for-BCM53573-based-Tenda-.patch create mode 100644 target/linux/bcm53xx/patches-4.4/044-0003-ARM-BCM5301X-Add-separated-DTS-include-file-for-BCM4.patch create mode 100644 target/linux/bcm53xx/patches-4.4/044-0004-ARM-BCM5301X-Enable-UART-on-Netgear-R8000.patch create mode 100644 target/linux/bcm53xx/patches-4.4/044-0005-ARM-BCM5301X-Specify-USB-3.0-PHY-in-DT.patch create mode 100644 target/linux/bcm53xx/patches-4.4/044-0006-ARM-BCM5301X-Add-DT-for-Luxul-XAP-1510.patch create mode 100644 target/linux/bcm53xx/patches-4.4/044-0007-ARM-BCM5301X-Add-DT-for-Luxul-XWR-3100.patch create mode 100644 target/linux/bcm53xx/patches-4.4/044-0008-ARM-BCM53573-Specify-PMU-and-its-ILP-clock-in-the-DT.patch create mode 100644 target/linux/bcm53xx/patches-4.4/044-0009-ARM-BCM5301X-Add-DT-for-TP-LINK-Archer-C9-V1.patch create mode 100644 target/linux/bcm53xx/patches-4.4/045-ARM-BCM5301X-Add-back-handler-ignoring-external-impr.patch create mode 100644 target/linux/bcm53xx/patches-4.4/046-0001-ARM-BCM5301X-Enable-UART-by-default-for-BCM4708-1-BC.patch create mode 100644 target/linux/bcm53xx/patches-4.4/046-0002-ARM-BCM5301X-Fix-LAN-LED-labels-for-Luxul-XWR-3100.patch create mode 100644 target/linux/bcm53xx/patches-4.4/046-0003-ARM-BCM5301X-Specify-USB-controllers-in-DT.patch create mode 100644 target/linux/bcm53xx/patches-4.4/046-0004-ARM-BCM5301X-Set-GPIO-enabling-USB-power-on-Netgear-.patch create mode 100644 target/linux/bcm53xx/patches-4.4/046-0005-ARM-BCM5301X-Specify-all-RAM-by-including-an-extra-b.patch create mode 100644 target/linux/bcm53xx/patches-4.4/046-0006-ARM-BCM53573-Specify-USB-ports-of-on-SoC-controllers.patch create mode 100644 target/linux/bcm53xx/patches-4.4/046-0007-ARM-BCM5301X-Set-5-GHz-wireless-frequency-limits-on-.patch create mode 100644 target/linux/bcm53xx/patches-4.4/046-0008-ARM-BCM5301X-Add-DT-for-Luxul-XAP-1410.patch create mode 100644 target/linux/bcm53xx/patches-4.4/046-0009-ARM-BCM5301X-Add-DT-for-Luxul-XWR-1200.patch create mode 100644 target/linux/bcm53xx/patches-4.4/047-0001-ARM-dts-BCM5301X-Add-basic-DT-for-Linksys-EA9200.patch create mode 100644 target/linux/bcm53xx/patches-4.4/047-0002-ARM-dts-BCM5301X-Add-basic-DT-for-Linksys-EA6300-V1.patch create mode 100644 target/linux/bcm53xx/patches-4.4/047-0003-ARM-dts-BCM5301X-Add-NAND-entries-to-bcm953012k.patch create mode 100644 target/linux/bcm53xx/patches-4.4/047-0005-ARM-dts-BCM5301X-Add-basic-DT-for-Linksys-EA9500.patch create mode 100644 target/linux/bcm53xx/patches-4.4/047-0006-ARM-dts-BCM5301X-Add-support-for-BCM953012HR.patch create mode 100644 target/linux/bcm53xx/patches-4.4/047-0007-ARM-dts-BCM53573-Describe-Tenda-AC9-PCIe-card-in-DT.patch create mode 100644 target/linux/bcm53xx/patches-4.4/047-0008-ARM-dts-BCM53573-Add-Tenda-AC9-2-GHz-LED.patch create mode 100644 target/linux/bcm53xx/patches-4.4/047-0009-ARM-dts-BCM5301X-Relicense-DTS-files-I-created-to-th.patch create mode 100644 target/linux/bcm53xx/patches-4.4/047-0010-ARM-dts-BCM5301X-Add-missing-Netgear-R8000-LEDs-and-.patch create mode 100644 target/linux/bcm53xx/patches-4.4/047-0011-ARM-dts-BCM53573-Don-t-use-nonexistent-default-off-L.patch create mode 100644 target/linux/bcm53xx/patches-4.4/047-0012-ARM-dts-BCM5301X-Don-t-use-nonexistent-default-off-L.patch create mode 100644 target/linux/bcm53xx/patches-4.4/047-0014-ARM-dts-BCM5301X-Add-TWD-WD-Support-to-DT.patch create mode 100644 target/linux/bcm53xx/patches-4.4/047-0015-ARM-dts-BCM5301X-Add-I2C-support-to-the-DT.patch create mode 100644 target/linux/bcm53xx/patches-4.4/047-0016-ARM-dts-BCM5301X-Add-support-for-TP-LINK-Archer-C5-V.patch create mode 100644 target/linux/bcm53xx/patches-4.4/047-0017-ARM-dts-BCM953012HR-Add-ethernet-aliases.patch create mode 100644 target/linux/bcm53xx/patches-4.4/047-0018-ARM-dts-BCM5301X-Specify-serial-console-params-in-dt.patch create mode 100644 target/linux/bcm53xx/patches-4.4/047-0019-ARM-dts-BCM53573-Specify-serial-console-parameters.patch create mode 100644 target/linux/bcm53xx/patches-4.4/047-0020-ARM-dts-BCM5301X-Add-CPU-thermal-sensor-and-zone.patch create mode 100644 target/linux/bcm53xx/patches-4.4/047-0021-ARM-dts-BCM5301X-Specify-MDIO-bus-in-the-DT.patch create mode 100644 target/linux/bcm53xx/patches-4.4/049-v4.14-0001-ARM-dts-BCM5301X-Specify-USB-ports-for-each-controll.patch create mode 100644 target/linux/bcm53xx/patches-4.4/049-v4.14-0002-ARM-dts-BCM5301X-Specify-USB-ports-for-USB-LEDs-of-f.patch create mode 100644 target/linux/bcm53xx/patches-4.4/070-0001-phy-bcm-ns-usb2-new-driver-for-USB-2.0-PHY-on-Norths.patch create mode 100644 target/linux/bcm53xx/patches-4.4/070-0002-phy-bcm-ns-usb2-checking-the-wrong-variable.patch create mode 100644 target/linux/bcm53xx/patches-4.4/071-0001-phy-bcm-ns-usb3-new-driver-for-USB-3.0-PHY-on-Norths.patch create mode 100644 target/linux/bcm53xx/patches-4.4/071-0002-phy-bcm-ns-usb3-split-all-writes-into-reg-val-pairs.patch create mode 100644 target/linux/bcm53xx/patches-4.4/080-USB-bcma-switch-to-GPIO-descriptor-for-power-control.patch create mode 100644 target/linux/bcm53xx/patches-4.4/081-0001-USB-bcma-make-helper-creating-platform-dev-more-gene.patch create mode 100644 target/linux/bcm53xx/patches-4.4/081-0002-USB-bcma-separate-code-initializing-USB-2.0-core.patch create mode 100644 target/linux/bcm53xx/patches-4.4/081-0003-USB-bcma-use-simpler-devm-helper-for-getting-vcc-GPI.patch create mode 100644 target/linux/bcm53xx/patches-4.4/082-0001-USB-bcma-initialize-Northstar-USB-3.0-controller.patch create mode 100644 target/linux/bcm53xx/patches-4.4/082-0002-USB-bcma-support-old-USB-2.0-controller-on-Northstar.patch create mode 100644 target/linux/bcm53xx/patches-4.4/082-0003-USB-bcma-drop-Northstar-PHY-2.0-initialization-code.patch create mode 100644 target/linux/bcm53xx/patches-4.4/083-0001-spi-bcm-qspi-Add-Broadcom-MSPI-driver.patch create mode 100644 target/linux/bcm53xx/patches-4.4/083-0002-spi-brcmstb-qspi-Broadcom-settop-platform-driver.patch create mode 100644 target/linux/bcm53xx/patches-4.4/083-0003-spi-bcm-qspi-Add-BSPI-spi-nor-flash-controller-drive.patch create mode 100644 target/linux/bcm53xx/patches-4.4/083-0004-spi-bcm-qspi-don-t-include-linux-mtd-cfi.h.patch create mode 100644 target/linux/bcm53xx/patches-4.4/083-0005-spi-bcm-qspi-fix-suspend-resume-ifdef.patch create mode 100644 target/linux/bcm53xx/patches-4.4/083-0006-spi-bcm-qspi-Fix-return-value-check-in-bcm_qspi_prob.patch create mode 100644 target/linux/bcm53xx/patches-4.4/083-0007-spi-bcm-qspi-Fix-error-return-code-in-bcm_qspi_probe.patch create mode 100644 target/linux/bcm53xx/patches-4.4/083-0008-spi-iproc-qspi-Add-Broadcom-iProc-SoCs-support.patch create mode 100644 target/linux/bcm53xx/patches-4.4/084-0001-spi-bcm53xx-set-of_node-to-let-DT-specify-device-s.patch create mode 100644 target/linux/bcm53xx/patches-4.4/084-0002-spi-bcm53xx-re-license-code-to-the-GPL-v2.patch create mode 100644 target/linux/bcm53xx/patches-4.4/085-PCI-iproc-Hide-CONFIG_PCIE_IPROC.patch create mode 100644 target/linux/bcm53xx/patches-4.4/086-PCI-iproc-Do-not-use-0x-in-front-of-pap.patch create mode 100644 target/linux/bcm53xx/patches-4.4/087-0001-PCI-iproc-Update-iProc-PCIe-device-tree-binding.patch create mode 100644 target/linux/bcm53xx/patches-4.4/087-0002-PCI-iproc-Add-PAXC-interface-support.patch create mode 100644 target/linux/bcm53xx/patches-4.4/087-0003-PCI-iproc-Add-iProc-PCIe-MSI-device-tree-binding.patch create mode 100644 target/linux/bcm53xx/patches-4.4/087-0004-PCI-iproc-Add-iProc-PCIe-MSI-support.patch create mode 100644 target/linux/bcm53xx/patches-4.4/088-PCI-iproc-Allow-multiple-devices-except-on-PAXC.patch create mode 100644 target/linux/bcm53xx/patches-4.4/089-clk-bcm-Add-driver-for-BCM53573-ILP-clock.patch create mode 100644 target/linux/bcm53xx/patches-4.4/101-use-part-parser.patch create mode 100644 target/linux/bcm53xx/patches-4.4/112-bcm53xx-sprom-add-sprom-driver.patch create mode 100644 target/linux/bcm53xx/patches-4.4/140-mtd-brcmnand-set-initial-ECC-params-based-on-info-fr.patch create mode 100644 target/linux/bcm53xx/patches-4.4/180-usb-xhci-add-support-for-performing-fake-doorbell.patch create mode 100644 target/linux/bcm53xx/patches-4.4/300-ARM-BCM5301X-Disable-MMU-and-Dcache-during-decompres.patch create mode 100644 target/linux/bcm53xx/patches-4.4/301-ARM-BCM5301X-Add-DT-for-Netgear-R7900.patch create mode 100644 target/linux/bcm53xx/patches-4.4/320-ARM-dts-BCM5301X-Add-serial-to-the-bootargs.patch create mode 100644 target/linux/bcm53xx/patches-4.4/332-ARM-BCM5301X-Add-power-button-for-Buffalo-WZR-1750DHP.patch create mode 100644 target/linux/bcm53xx/patches-4.4/400-mtd-brcmnand-stop-special-treating-ECC-strength-1-as.patch create mode 100644 target/linux/bcm53xx/patches-4.4/405-mtd-spi-nor-detect-JEDEC-incompatible-w25q128-using-.patch create mode 100644 target/linux/bcm53xx/patches-4.4/406-mtd-m25p80-use-single-SPI-message-for-writing-data.patch create mode 100644 target/linux/bcm53xx/patches-4.4/500-UBI-Detect-EOF-mark-and-erase-all-remaining-blocks.patch create mode 100644 target/linux/bcm53xx/patches-4.4/710-b53-add-hacky-CPU-port-fixes-for-devices-not-using-p.patch create mode 100644 target/linux/bcm53xx/patches-4.4/901-mtd-bcm47xxpart-add-device-specific-workarounds.patch create mode 100644 target/linux/bcm53xx/patches-4.4/905-BCM53573-minor-hacks.patch create mode 100644 target/linux/bcm53xx/patches-4.9/030-0001-ARM-BCM5301X-Add-DT-for-Netgear-R8500.patch create mode 100644 target/linux/bcm53xx/patches-4.9/030-0002-ARM-BCM5301X-Add-basic-dts-for-BCM53573-based-Tenda-.patch create mode 100644 target/linux/bcm53xx/patches-4.9/030-0003-ARM-BCM5301X-Add-separated-DTS-include-file-for-BCM4.patch create mode 100644 target/linux/bcm53xx/patches-4.9/030-0004-ARM-BCM5301X-Enable-UART-on-Netgear-R8000.patch create mode 100644 target/linux/bcm53xx/patches-4.9/030-0005-ARM-BCM5301X-Specify-USB-3.0-PHY-in-DT.patch create mode 100644 target/linux/bcm53xx/patches-4.9/030-0006-ARM-BCM5301X-Add-DT-for-Luxul-XAP-1510.patch create mode 100644 target/linux/bcm53xx/patches-4.9/030-0007-ARM-BCM5301X-Add-DT-for-Luxul-XWR-3100.patch create mode 100644 target/linux/bcm53xx/patches-4.9/030-0008-ARM-BCM53573-Specify-PMU-and-its-ILP-clock-in-the-DT.patch create mode 100644 target/linux/bcm53xx/patches-4.9/030-0009-ARM-BCM5301X-Add-DT-for-TP-LINK-Archer-C9-V1.patch create mode 100644 target/linux/bcm53xx/patches-4.9/032-0001-ARM-BCM5301X-Enable-UART-by-default-for-BCM4708-1-BC.patch create mode 100644 target/linux/bcm53xx/patches-4.9/032-0002-ARM-BCM5301X-Fix-LAN-LED-labels-for-Luxul-XWR-3100.patch create mode 100644 target/linux/bcm53xx/patches-4.9/032-0003-ARM-BCM5301X-Specify-USB-controllers-in-DT.patch create mode 100644 target/linux/bcm53xx/patches-4.9/032-0004-ARM-BCM5301X-Set-GPIO-enabling-USB-power-on-Netgear-.patch create mode 100644 target/linux/bcm53xx/patches-4.9/032-0005-ARM-BCM5301X-Specify-all-RAM-by-including-an-extra-b.patch create mode 100644 target/linux/bcm53xx/patches-4.9/032-0006-ARM-BCM53573-Specify-USB-ports-of-on-SoC-controllers.patch create mode 100644 target/linux/bcm53xx/patches-4.9/032-0007-ARM-BCM5301X-Set-5-GHz-wireless-frequency-limits-on-.patch create mode 100644 target/linux/bcm53xx/patches-4.9/032-0008-ARM-BCM5301X-Add-DT-for-Luxul-XAP-1410.patch create mode 100644 target/linux/bcm53xx/patches-4.9/032-0009-ARM-BCM5301X-Add-DT-for-Luxul-XWR-1200.patch create mode 100644 target/linux/bcm53xx/patches-4.9/033-0001-ARM-dts-BCM5301X-Add-basic-DT-for-Linksys-EA9200.patch create mode 100644 target/linux/bcm53xx/patches-4.9/033-0002-ARM-dts-BCM5301X-Add-basic-DT-for-Linksys-EA6300-V1.patch create mode 100644 target/linux/bcm53xx/patches-4.9/033-0003-ARM-dts-BCM5301X-Add-NAND-entries-to-bcm953012k.patch create mode 100644 target/linux/bcm53xx/patches-4.9/033-0005-ARM-dts-BCM5301X-Add-basic-DT-for-Linksys-EA9500.patch create mode 100644 target/linux/bcm53xx/patches-4.9/033-0006-ARM-dts-BCM5301X-Add-support-for-BCM953012HR.patch create mode 100644 target/linux/bcm53xx/patches-4.9/033-0007-ARM-dts-BCM53573-Describe-Tenda-AC9-PCIe-card-in-DT.patch create mode 100644 target/linux/bcm53xx/patches-4.9/033-0008-ARM-dts-BCM53573-Add-Tenda-AC9-2-GHz-LED.patch create mode 100644 target/linux/bcm53xx/patches-4.9/033-0009-ARM-dts-BCM5301X-Relicense-DTS-files-I-created-to-th.patch create mode 100644 target/linux/bcm53xx/patches-4.9/033-0010-ARM-dts-BCM5301X-Add-missing-Netgear-R8000-LEDs-and-.patch create mode 100644 target/linux/bcm53xx/patches-4.9/033-0011-ARM-dts-BCM53573-Don-t-use-nonexistent-default-off-L.patch create mode 100644 target/linux/bcm53xx/patches-4.9/033-0012-ARM-dts-BCM5301X-Don-t-use-nonexistent-default-off-L.patch create mode 100644 target/linux/bcm53xx/patches-4.9/033-0014-ARM-dts-BCM5301X-Add-TWD-WD-Support-to-DT.patch create mode 100644 target/linux/bcm53xx/patches-4.9/033-0015-ARM-dts-BCM5301X-Add-I2C-support-to-the-DT.patch create mode 100644 target/linux/bcm53xx/patches-4.9/033-0016-ARM-dts-BCM5301X-Add-support-for-TP-LINK-Archer-C5-V.patch create mode 100644 target/linux/bcm53xx/patches-4.9/033-0017-ARM-dts-BCM953012HR-Add-ethernet-aliases.patch create mode 100644 target/linux/bcm53xx/patches-4.9/033-0018-ARM-dts-BCM5301X-Specify-serial-console-params-in-dt.patch create mode 100644 target/linux/bcm53xx/patches-4.9/033-0019-ARM-dts-BCM53573-Specify-serial-console-parameters.patch create mode 100644 target/linux/bcm53xx/patches-4.9/033-0020-ARM-dts-BCM5301X-Add-CPU-thermal-sensor-and-zone.patch create mode 100644 target/linux/bcm53xx/patches-4.9/033-0021-ARM-dts-BCM5301X-Specify-MDIO-bus-in-the-DT.patch create mode 100644 target/linux/bcm53xx/patches-4.9/033-0022-ARM-dts-BCM5301X-Add-basic-DT-for-PHICOMM-K3.patch create mode 100644 target/linux/bcm53xx/patches-4.9/035-v4.14-0001-ARM-dts-BCM5301X-Specify-USB-ports-for-each-controll.patch create mode 100644 target/linux/bcm53xx/patches-4.9/035-v4.14-0002-ARM-dts-BCM5301X-Specify-USB-ports-for-USB-LEDs-of-f.patch create mode 100644 target/linux/bcm53xx/patches-4.9/070-0001-phy-bcm-ns-usb3-split-all-writes-into-reg-val-pairs.patch create mode 100644 target/linux/bcm53xx/patches-4.9/080-0001-spi-bcm53xx-set-of_node-to-let-DT-specify-device-s.patch create mode 100644 target/linux/bcm53xx/patches-4.9/080-0002-spi-bcm53xx-re-license-code-to-the-GPL-v2.patch create mode 100644 target/linux/bcm53xx/patches-4.9/101-use-part-parser.patch create mode 100644 target/linux/bcm53xx/patches-4.9/180-usb-xhci-add-support-for-performing-fake-doorbell.patch create mode 100644 target/linux/bcm53xx/patches-4.9/300-ARM-BCM5301X-Disable-MMU-and-Dcache-during-decompres.patch create mode 100644 target/linux/bcm53xx/patches-4.9/310-ARM-BCM5301X-Add-DT-for-Netgear-R7900.patch create mode 100644 target/linux/bcm53xx/patches-4.9/311-ARM-BCM5301X-Add-power-button-for-Buffalo-WZR-1750DHP.patch create mode 100644 target/linux/bcm53xx/patches-4.9/320-ARM-dts-BCM5301X-Add-serial-to-the-bootargs.patch create mode 100644 target/linux/bcm53xx/patches-4.9/400-mtd-spi-nor-detect-JEDEC-incompatible-w25q128-using-.patch create mode 100644 target/linux/bcm53xx/patches-4.9/401-mtd-m25p80-use-single-SPI-message-for-writing-data.patch create mode 100644 target/linux/bcm53xx/patches-4.9/500-UBI-Detect-EOF-mark-and-erase-all-remaining-blocks.patch create mode 100644 target/linux/bcm53xx/patches-4.9/700-b53-add-hacky-CPU-port-fixes-for-devices-not-using-p.patch create mode 100644 target/linux/bcm53xx/patches-4.9/900-mtd-bcm47xxpart-add-device-specific-workarounds.patch create mode 100644 target/linux/bcm53xx/patches-4.9/901-mtd-bcm47xxpart-add-partition-workaround-for-PHICOMM.patch create mode 100644 target/linux/bcm53xx/patches-4.9/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/brcm2708.sh create mode 100644 target/linux/brcm2708/base-files/lib/firmware/brcm/brcmfmac43430-sdio.txt create mode 100644 target/linux/brcm2708/base-files/lib/preinit/01_preinit_do_brcm2708.sh 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/platform.sh create mode 100644 target/linux/brcm2708/bcm2708/config-4.9 create mode 100644 target/linux/brcm2708/bcm2708/target.mk create mode 100644 target/linux/brcm2708/bcm2709/config-4.9 create mode 100644 target/linux/brcm2708/bcm2709/target.mk create mode 100644 target/linux/brcm2708/bcm2710/config-4.9 create mode 100644 target/linux/brcm2708/bcm2710/target.mk create mode 100644 target/linux/brcm2708/image/Config.in 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.9/030-pinctrl-bcm2835-add-pull-defines-to-dt-bindings.patch create mode 100644 target/linux/brcm2708/patches-4.9/031-v4.10-0001-ARM-dts-bcm283x-Define-standard-pinctrl-groups-in-th.patch create mode 100644 target/linux/brcm2708/patches-4.9/031-v4.10-0002-ARM-dts-bcm283x-add-pinctrl-group-to-pwm-drop-pins-f.patch create mode 100644 target/linux/brcm2708/patches-4.9/031-v4.10-0003-ARM-dts-bcm283x-add-pinctrl-group-to-i2c0-drop-pins-.patch create mode 100644 target/linux/brcm2708/patches-4.9/031-v4.10-0004-ARM-dts-bcm283x-add-pinctrl-group-to-i2c1-drop-pins-.patch create mode 100644 target/linux/brcm2708/patches-4.9/031-v4.10-0005-ARM-dts-bcm283x-add-pinctrl-group-to-sdhci-drop-pins.patch create mode 100644 target/linux/brcm2708/patches-4.9/031-v4.10-0006-ARM-dts-bcm283x-drop-alt3-from-gpio.patch create mode 100644 target/linux/brcm2708/patches-4.9/031-v4.10-0008-ARM-bcm2835-dts-add-thermal-node-to-device-tree-of-b.patch create mode 100644 target/linux/brcm2708/patches-4.9/031-v4.10-0009-ARM-bcm2835-Add-names-for-the-Raspberry-Pi-GPIO-line.patch create mode 100644 target/linux/brcm2708/patches-4.9/031-v4.10-0010-ARM-bcm2835-Fix-names-for-the-Raspberry-Pi-GPIO-line.patch create mode 100644 target/linux/brcm2708/patches-4.9/031-v4.10-0011-ARM-bcm2835-Add-names-for-the-RPi-Zero-GPIO-lines.patch create mode 100644 target/linux/brcm2708/patches-4.9/032-v4.11-0001-ARM-dts-bcm283x-Add-VEC-node-in-bcm283x.dtsi.patch create mode 100644 target/linux/brcm2708/patches-4.9/032-v4.11-0002-ARM-dts-bcm283x-Enable-the-VEC-IP-on-all-RaspberryPi.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0001-smsx95xx-fix-crimes-against-truesize.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0002-smsc95xx-Experimental-Enable-turbo_mode-and-packetsi.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0003-Allow-mac-address-to-be-set-in-smsc95xx.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0004-Protect-__release_resource-against-resources-without.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0006-irq-bcm2836-Prevent-spurious-interrupts-and-trap-the.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0007-irqchip-bcm2835-Add-FIQ-support.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0008-irqchip-irq-bcm2835-Add-2836-FIQ-support.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0009-spidev-Add-spidev-compatible-string-to-silence-warni.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0010-serial-8250-Don-t-crash-when-nr_uarts-is-0.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0011-pinctrl-bcm2835-Set-base-to-0-give-expected-gpio-num.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0012-pinctrl-bcm2835-Fix-interrupt-handling-for-GPIOs-28-.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0013-pinctrl-bcm2835-Only-request-the-interrupts-listed-i.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0014-pinctrl-bcm2835-Return-pins-to-inputs-when-freed.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0015-spi-bcm2835-Support-pin-groups-other-than-7-11.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0016-spi-bcm2835-Disable-forced-software-CS.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0017-spi-bcm2835-Remove-unused-code.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0018-ARM-bcm2835-Set-Serial-number-and-Revision.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0019-dmaengine-bcm2835-Load-driver-early-and-support-lega.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0020-firmware-Updated-mailbox-header.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0021-clk-bcm2835-Mark-GPIO-clocks-enabled-at-boot-as-crit.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0022-rtc-Add-SPI-alias-for-pcf2123-driver.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0023-watchdog-bcm2835-Support-setting-reboot-partition.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0024-reboot-Use-power-off-rather-than-busy-spinning-when-.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0025-bcm-Make-RASPBERRYPI_POWER-depend-on-PM.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0026-Register-the-clocks-early-during-the-boot-process.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0027-bcm2835-rng-Avoid-initialising-if-already-enabled.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0028-kbuild-Ignore-dtco-targets-when-filtering-symbols.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0029-BCM2835_DT-Fix-I2S-register-map.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0030-Main-bcm2708-bcm2709-linux-port.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0031-Add-dwc_otg-driver.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0032-bcm2708-framebuffer-driver.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0033-dmaengine-Add-support-for-BCM2708.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0034-MMC-added-alternative-MMC-driver.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0035-Adding-bcm2835-sdhost-driver-and-an-overlay-to-enabl.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0036-mmc-Add-MMC_QUIRK_ERASE_BROKEN-for-some-cards.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0037-cma-Add-vc_cma-driver-to-enable-use-of-CMA.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0038-bcm2708-alsa-sound-driver.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0039-vc_mem-Add-vc_mem-driver-for-querying-firmware-memor.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0040-vcsm-VideoCore-shared-memory-service-for-BCM2835.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0041-Add-dev-gpiomem-device-for-rootless-user-GPIO-access.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0042-Add-SMI-driver.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0043-MISC-bcm2835-smi-use-clock-manager-and-fix-reload-is.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0044-Add-SMI-NAND-driver.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0045-lirc-added-support-for-RaspberryPi-GPIO.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0046-Add-cpufreq-driver.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0047-Added-hwmon-thermal-driver-for-reporting-core-temper.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0048-Add-Chris-Boot-s-i2c-driver.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0049-char-broadcom-Add-vcio-module.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0050-firmware-bcm2835-Support-ARCH_BCM270x.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0051-bcm2835-add-v4l2-camera-device.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0052-scripts-Add-mkknlimg-and-knlinfo-scripts-from-tools-.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0053-scripts-dtc-Update-to-upstream-version-1.4.1.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0054-BCM2708-Add-core-Device-Tree-support.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0055-BCM270x_DT-Add-pwr_led-and-the-required-input-trigge.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0056-fbdev-add-FBIOCOPYAREA-ioctl.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0057-Speed-up-console-framebuffer-imageblit-function.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0058-enabling-the-realtime-clock-1-wire-chip-DS1307-and-1.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0059-Added-Device-IDs-for-August-DVB-T-205.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0060-config-Enable-CONFIG_MEMCG-but-leave-it-disabled-due.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0061-hid-Reduce-default-mouse-polling-interval-to-60Hz.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0062-rpi-ft5406-Add-touchscreen-driver-for-pi-LCD-display.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0063-Improve-__copy_to_user-and-__copy_from_user-performa.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0064-gpio-poweroff-Allow-it-to-work-on-Raspberry-Pi.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0065-mfd-Add-Raspberry-Pi-Sense-HAT-core-driver.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0066-ASoC-Add-support-for-HifiBerry-DAC.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0067-ASoC-Add-support-for-Rpi-DAC.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0068-ASoC-wm8804-Implement-MCLK-configuration-options-add.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0069-ASoC-BCM-Add-support-for-HiFiBerry-Digi.-Driver-is-b.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0070-Add-IQaudIO-Sound-Card-support-for-Raspberry-Pi.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0071-iqaudio-dac-Compile-fix-untested.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0072-Added-support-for-HiFiBerry-DAC.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0073-Added-driver-for-HiFiBerry-Amp-amplifier-add-on-boar.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0074-Update-ds1307-driver-for-device-tree-support.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0075-Add-driver-for-rpi-proto.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0076-RaspiDAC3-support.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0077-Add-Support-for-JustBoom-Audio-boards.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0078-ARM-adau1977-adc-Add-basic-machine-driver-for-adau19.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0079-New-AudioInjector.net-Pi-soundcard-with-low-jitter-a.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0080-Add-IQAudIO-Digi-WM8804-board-support.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0081-New-driver-for-RRA-DigiDAC1-soundcard-using-WM8741-W.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0082-Add-support-for-Dion-Audio-LOCO-DAC-AMP-HAT.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0083-Allo-Piano-DAC-boards-Initial-2-channel-stereo-suppo.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0084-Support-for-Blokas-Labs-pisound-board.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0085-rpi_display-add-backlight-driver-and-overlay.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0086-bcm2835-virtgpio-Virtual-GPIO-driver.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0087-amba_pl011-Don-t-use-DT-aliases-for-numbering.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0090-OF-DT-Overlay-configfs-interface.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0092-hci_h5-Don-t-send-conf_req-when-ACTIVE.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0093-config-Add-default-configs.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0094-Add-arm64-configuration-and-device-tree-differences.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0095-vchiq_arm-Tweak-the-logging-output.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0096-vchiq_arm-Access-the-dequeue_pending-flag-locked.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0097-vchiq_arm-Service-callbacks-must-not-fail.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0098-vchiq_arm-Add-completion-records-under-the-mutex.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0099-vchiq_arm-Avoid-use-of-mutex-in-add_completion.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0100-staging-vchi-Convert-to-current-get_user_pages-argum.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0101-staging-vchi-Update-for-rename-of-page_cache_release.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0102-drivers-vchi-Remove-dependency-on-CONFIG_BROKEN.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0103-raspberrypi-firmware-Export-the-general-transaction-.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0104-raspberrypi-firmware-Define-the-MBOX-channel-in-the-.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0105-drm-vc4-Add-a-mode-for-using-the-closed-firmware-for.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0107-i2c-bcm2835-Protect-against-unexpected-TXW-RXR-inter.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0108-i2c-bcm2835-Use-dev_dbg-logging-on-transfer-errors.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0109-i2c-bcm2835-Can-t-support-I2C_M_IGNORE_NAK.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0110-i2c-bcm2835-Add-support-for-Repeated-Start-Condition.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0111-i2c-bcm2835-Support-i2c-dev-ioctl-I2C_TIMEOUT.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0112-i2c-bcm2835-Add-support-for-dynamic-clock.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0113-i2c-bcm2835-Add-debug-support.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0114-arm64-Add-CONFIG_ARCH_BCM2835.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0115-Add-support-for-Silicon-Labs-Si7013-20-21-humidity-t.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0116-Document-the-si7020-option.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0117-pisound-improvements.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0118-Add-driver_name-property.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0119-Add-driver_name-paramater.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0120-BCM270X_DT-Add-pi3-disable-wifi-overlay.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0121-ARM64-Make-it-work-again-on-4.9-1790.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0122-ARM64-Enable-Kernel-Address-Space-Randomization-1792.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0124-ARM64-Enable-RTL8187-RTL8192CU-wifi-in-build-config.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0125-BCM270X_DT-Add-spi0-cs-overlay.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0126-spi-bcm2835-Disable-forced-software-CS.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0127-config-Add-CONFIG_TCP_CONG_BBR.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0128-BCM270X_DT-Enable-UART0-on-CM3.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0129-config-Add-CONFIG_MD_M25P80-and-CONFIG_MD_SPI_NOR.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0130-ARM64-DWC_OTG-Port-dwc_otg-driver-to-ARM64.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0131-ARM64-Round-Robin-dispatch-IRQs-between-CPUs.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0132-ARM64-Enable-DWC_OTG-Driver-In-ARM64-Build-Config-bc.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0133-ARM64-Use-dwc_otg-driver-by-default-for-USB.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0134-BCM270X_DT-Add-reference-to-audio_pins-to-CM-dtb.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0135-config-Add-additional-network-scheduling-modules.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0136-ASoC-A-simple-card-overlay-for-ADAU7002.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0137-config-Add-SND_SOC_ADAU7002-codec-module.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0138-Add-overlay-for-mcp3008-adc-1818.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0139-usb-dwc2-Avoid-suspending-if-we-re-in-gadget-mode-18.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0140-gpio_mem-Remove-unnecessary-dev_info-output-1830.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0141-config-Enable-regulator-support.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0142-BCM270x-DT-expose-3.3V-and-5V-system-rails.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0143-BCM270x-DT-Consolidate-audio-card-overlays.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0144-ASoC-Add-driver-for-Cirrus-Logic-Audio-Card.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0145-config-enable-Cirrus-Logic-Audio-Card.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0146-irq-bcm2836-Avoid-Invalid-trigger-warning.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0147-sound-Demote-deferral-errors-to-INFO-level.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0148-sound-Suppress-error-message-about-deferrals.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0149-Update-vfpmodule.c.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0150-dwc_otg-fix-summarize-urb-actual_length-for-isochron.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0152-clk-bcm-Support-rate-change-propagation-on-bcm2835-c.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0153-clk-bcm-Allow-rate-change-propagation-to-PLLH_AUX-on.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0154-clk-bcm-Fix-maybe-uninitialized-warning-in-bcm2835_c.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0155-clk-bcm2835-Don-t-rate-change-PLLs-on-behalf-of-DSI-.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0156-clk-bcm2835-Register-the-DSI0-DSI1-pixel-clocks.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0157-clk-bcm2835-Add-leaf-clock-measurement-support-disab.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0158-drm-panel-Add-support-for-the-Raspberry-Pi-7-Touchsc.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0159-BCM270X-Add-the-DSI-panel-to-the-defconfig.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0160-ARM-bcm2835-dt-Add-the-DSI-module-nodes-and-clocks.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0161-BCM270X-Enable-the-DSI-panel-node-in-the-VC4-overlay.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0163-drm-vc4-Add-support-for-rendering-with-ETC1-textures.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0165-drm-vc4-Add-fragment-shader-threading-support.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0168-drm-Add-TV-connector-states-to-drm_connector_state.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0169-drm-Turn-DRM_MODE_SUBCONNECTOR_xx-definitions-into-a.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0170-drm-vc4-Add-support-for-the-VEC-Video-Encoder-IP.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0171-drm-vc4-Set-up-SCALER_DISPCTRL-at-boot.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0172-drm-vc4-Add-support-for-feeding-DSI-encoders-from-th.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0173-drm-vc4-Add-DSI-driver.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0176-BCM270X-Disable-VEC-unless-vc4-kms-v3d-is-present.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0177-drm-vc4-Name-the-primary-and-cursor-planes-in-fkms.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0178-drm-vc4-Add-DRM_DEBUG_ATOMIC-for-the-insides-of-fkms.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0179-drm-vc4-Fix-sending-of-page-flip-completion-events-i.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0180-drm-vc4-Fulfill-user-BO-creation-requests-from-the-k.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0181-drm-vc4-Fix-OOPSes-from-trying-to-cache-a-partially-.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0182-drm-vc4-Verify-at-boot-that-CMA-doesn-t-cross-a-256M.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0183-BCM270X_DT-Add-SMSC-ethernet-controller-to-DT.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0185-clk-bcm2835-Mark-used-PLLs-and-dividers-CRITICAL.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0186-clk-bcm2835-Add-claim-clocks-property.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0188-Add-ads1015-driver-to-config.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0189-config-add-slcan-kernel-module.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0190-sound-Support-for-Dion-Audio-LOCO-V2-DAC-AMP-HAT.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0191-SQUASH-Add-LOCO-V2-overlay-from-last-commit.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0192-Add-support-for-Fe-Pi-audio-sound-card.-1867.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0193-Add-overlay-for-ads1115-ADCs-1864.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0194-clk-bcm2835-Correct-the-prediv-logic.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0195-amba_pl011-Round-input-clock-up.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0196-BCM2835-V4L2-Ensure-H264-header-bytes-get-a-sensible.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0197-BCM2835-V4L2-Correctly-denote-key-frames-in-encoded-.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0198-bcm2835-gpio-exp-Driver-for-GPIO-expander-via-mailbo.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-0199-BCM270X_DT-Add-bcm2708-rpi-0-w.dts.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-1000-mfd-rpisense-disable.patch create mode 100644 target/linux/brcm2708/patches-4.9/950-1001-sound-soc-rpi-cirrus-disable.patch create mode 100644 target/linux/brcm47xx/Makefile create mode 100755 target/linux/brcm47xx/base-files/etc/board.d/01_detect 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.4 create mode 100644 target/linux/brcm47xx/config-4.9 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.4/030-MIPS-BCM47XX-Add-Luxul-devices-to-the-database.patch create mode 100644 target/linux/brcm47xx/patches-4.4/159-cpu_fixes.patch create mode 100644 target/linux/brcm47xx/patches-4.4/160-kmap_coherent.patch create mode 100644 target/linux/brcm47xx/patches-4.4/209-b44-register-adm-switch.patch create mode 100644 target/linux/brcm47xx/patches-4.4/210-b44_phy_fix.patch create mode 100644 target/linux/brcm47xx/patches-4.4/280-activate_ssb_support_in_usb.patch create mode 100644 target/linux/brcm47xx/patches-4.4/300-fork_cacheflush.patch create mode 100644 target/linux/brcm47xx/patches-4.4/310-no_highpage.patch create mode 100644 target/linux/brcm47xx/patches-4.4/320-MIPS-BCM47XX-Devices-database-update-for-4.x.patch create mode 100644 target/linux/brcm47xx/patches-4.4/400-mtd-bcm47xxpart-get-nvram.patch create mode 100644 target/linux/brcm47xx/patches-4.4/610-pci_ide_fix.patch create mode 100644 target/linux/brcm47xx/patches-4.4/791-tg3-no-pci-sleep.patch create mode 100644 target/linux/brcm47xx/patches-4.4/800-bcma-add-table-of-serial-flashes-with-smaller-blocks.patch create mode 100644 target/linux/brcm47xx/patches-4.4/820-wgt634u-nvram-fix.patch create mode 100644 target/linux/brcm47xx/patches-4.4/830-huawei_e970_support.patch create mode 100644 target/linux/brcm47xx/patches-4.4/831-old_gpio_wdt.patch create mode 100644 target/linux/brcm47xx/patches-4.4/900-ssb-reject-PCI-writes-setting-CardBus-bridge-resourc.patch create mode 100644 target/linux/brcm47xx/patches-4.4/901-Revert-bcma-switch-GPIO-portions-to-use-GPIOLIB_IRQC.patch create mode 100644 target/linux/brcm47xx/patches-4.4/940-bcm47xx-yenta.patch create mode 100644 target/linux/brcm47xx/patches-4.4/976-ssb_increase_pci_delay.patch create mode 100644 target/linux/brcm47xx/patches-4.4/999-wl_exports.patch create mode 100644 target/linux/brcm47xx/patches-4.9/030-MIPS-BCM47XX-Add-Luxul-devices-to-the-database.patch create mode 100644 target/linux/brcm47xx/patches-4.9/159-cpu_fixes.patch create mode 100644 target/linux/brcm47xx/patches-4.9/160-kmap_coherent.patch create mode 100644 target/linux/brcm47xx/patches-4.9/209-b44-register-adm-switch.patch create mode 100644 target/linux/brcm47xx/patches-4.9/210-b44_phy_fix.patch create mode 100644 target/linux/brcm47xx/patches-4.9/280-activate_ssb_support_in_usb.patch create mode 100644 target/linux/brcm47xx/patches-4.9/300-fork_cacheflush.patch create mode 100644 target/linux/brcm47xx/patches-4.9/310-no_highpage.patch create mode 100644 target/linux/brcm47xx/patches-4.9/320-MIPS-BCM47XX-Devices-database-update-for-4.x.patch create mode 100644 target/linux/brcm47xx/patches-4.9/400-mtd-bcm47xxpart-get-nvram.patch create mode 100644 target/linux/brcm47xx/patches-4.9/610-pci_ide_fix.patch create mode 100644 target/linux/brcm47xx/patches-4.9/791-tg3-no-pci-sleep.patch create mode 100644 target/linux/brcm47xx/patches-4.9/800-bcma-add-table-of-serial-flashes-with-smaller-blocks.patch create mode 100644 target/linux/brcm47xx/patches-4.9/820-wgt634u-nvram-fix.patch create mode 100644 target/linux/brcm47xx/patches-4.9/830-huawei_e970_support.patch create mode 100644 target/linux/brcm47xx/patches-4.9/831-old_gpio_wdt.patch create mode 100644 target/linux/brcm47xx/patches-4.9/900-ssb-reject-PCI-writes-setting-CardBus-bridge-resourc.patch create mode 100644 target/linux/brcm47xx/patches-4.9/901-Revert-bcma-switch-GPIO-portions-to-use-GPIOLIB_IRQC.patch create mode 100644 target/linux/brcm47xx/patches-4.9/940-bcm47xx-yenta.patch create mode 100644 target/linux/brcm47xx/patches-4.9/976-ssb_increase_pci_delay.patch create mode 100644 target/linux/brcm47xx/patches-4.9/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.4 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/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/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.4/000-4.5-01-mtd-add-get-set-of_node-flash_node-helpers.patch create mode 100644 target/linux/brcm63xx/patches-4.4/000-4.5-02-mtd-ofpart-grab-device-tree-node-directly-from-maste.patch create mode 100644 target/linux/brcm63xx/patches-4.4/000-4.5-03-mtd-nand-spi-nor-assign-MTD-of_node.patch create mode 100644 target/linux/brcm63xx/patches-4.4/000-4.5-04-mtd-nand-convert-to-nand_set_flash_node.patch create mode 100644 target/linux/brcm63xx/patches-4.4/000-4.5-05-spi-nor-convert-to-spi_nor_-get-set-_flash_node.patch create mode 100644 target/linux/brcm63xx/patches-4.4/000-4.5-06-mtd-nand-drop-unnecessary-partition-parser-data.patch create mode 100644 target/linux/brcm63xx/patches-4.4/000-4.5-07-mtd-spi-nor-drop-unnecessary-partition-parser-data.patch create mode 100644 target/linux/brcm63xx/patches-4.4/000-4.5-08-mtd-spi-nor-drop-flash_node-field.patch create mode 100644 target/linux/brcm63xx/patches-4.4/000-4.5-09-mtd-drop-unnecessary-partition-parser-data.patch create mode 100644 target/linux/brcm63xx/patches-4.4/000-4.5-10-mtd-ofpart-drop-of_node-partition-parser-data.patch create mode 100644 target/linux/brcm63xx/patches-4.4/000-4.5-11-mtd-physmap_of-assign-parent-for-the-concatenated-MT.patch create mode 100644 target/linux/brcm63xx/patches-4.4/000-4.5-20-spi-expose-master-transfer-size-limitation.patch create mode 100644 target/linux/brcm63xx/patches-4.4/000-4.5-30-gpio-add-a-data-pointer-to-gpio_chip.patch create mode 100644 target/linux/brcm63xx/patches-4.4/000-4.5-31-gpio-generic-factor-into-gpio_chip-struct.patch create mode 100644 target/linux/brcm63xx/patches-4.4/000-4.6-01-gpio-Add-devm_-apis-for-gpiochip_add_data-and-gpioch.patch create mode 100644 target/linux/brcm63xx/patches-4.4/000-4.7-01-pinctrl-Add-devm_-apis-for-pinctrl_-register-unregis.patch create mode 100644 target/linux/brcm63xx/patches-4.4/000-4.7-02-pinctrl-Rename-pinctrl_utils_dt_free_map-to-pinctrl_.patch create mode 100644 target/linux/brcm63xx/patches-4.4/000-4.8-01-mtd-spi-nor-change-return-value-of-read-write.patch create mode 100644 target/linux/brcm63xx/patches-4.4/000-4.8-02-mtd-m25p80-return-amount-of-data-transferred-or-erro.patch create mode 100644 target/linux/brcm63xx/patches-4.4/000-4.8-03-mtd-fsl-quadspi-return-amount-of-data-read-written-o.patch create mode 100644 target/linux/brcm63xx/patches-4.4/000-4.8-05-mtd-nxp-spifi-return-amount-of-data-transferred-or-e.patch create mode 100644 target/linux/brcm63xx/patches-4.4/000-4.8-06-mtd-spi-nor-check-return-value-from-write.patch create mode 100644 target/linux/brcm63xx/patches-4.4/000-4.8-07-mtd-spi-nor-stop-passing-around-retlen.patch create mode 100644 target/linux/brcm63xx/patches-4.4/000-4.8-08-mtd-spi-nor-simplify-write-loop.patch create mode 100644 target/linux/brcm63xx/patches-4.4/000-4.8-09-mtd-spi-nor-add-read-loop.patch create mode 100644 target/linux/brcm63xx/patches-4.4/000-4.8-10-mtd-m25p80-read-in-spi_max_transfer_size-chunks.patch create mode 100644 target/linux/brcm63xx/patches-4.4/000-4.9-01-spi-introduce-max_message_size-hook-in-spi_master.patch create mode 100644 target/linux/brcm63xx/patches-4.4/001-4.11-01-mtd-m25p80-consider-max-message-size-in-m25p80_read.patch create mode 100644 target/linux/brcm63xx/patches-4.4/001-4.11-02-mtd-spi-nor-remove-WARN_ONCE-message-in-spi_nor_writ.patch create mode 100644 target/linux/brcm63xx/patches-4.4/001-4.12-01-spi-bcm63xx-make-spi-subsystem-aware-of-message-size.patch create mode 100644 target/linux/brcm63xx/patches-4.4/001-4.12-02-spi-bcm63xx-document-device-tree-bindings.patch create mode 100644 target/linux/brcm63xx/patches-4.4/001-4.12-03-spi-bcm63xx-add-support-for-probing-through-devicetr.patch create mode 100644 target/linux/brcm63xx/patches-4.4/001-4.12-04-spi-bcm63xx-hsspi-allow-providing-clock-rate-through.patch create mode 100644 target/linux/brcm63xx/patches-4.4/001-4.12-05-spi-bcm63xx-hsspi-document-device-tree-bindings.patch create mode 100644 target/linux/brcm63xx/patches-4.4/001-4.12-06-spi-bcm63xx-hsspi-add-support-for-probing-through-de.patch create mode 100644 target/linux/brcm63xx/patches-4.4/001-4.13-01-leds-bcm6328-fix-signal-source-assignment-for-high-l.patch create mode 100644 target/linux/brcm63xx/patches-4.4/100-MIPS-BCM63XX-add-USB-host-clock-enable-delay.patch create mode 100644 target/linux/brcm63xx/patches-4.4/101-MIPS-BCM63XX-add-USB-device-clock-enable-delay-to-cl.patch create mode 100644 target/linux/brcm63xx/patches-4.4/102-MIPS-BCM63XX-move-code-touching-the-USB-private-regi.patch create mode 100644 target/linux/brcm63xx/patches-4.4/103-MIPS-BCM63XX-add-OHCI-EHCI-configuration-bits-to-com.patch create mode 100644 target/linux/brcm63xx/patches-4.4/104-MIPS-BCM63XX-introduce-BCM63XX_OHCI-configuration-sy.patch create mode 100644 target/linux/brcm63xx/patches-4.4/105-MIPS-BCM63XX-add-support-for-the-on-chip-OHCI-contro.patch create mode 100644 target/linux/brcm63xx/patches-4.4/106-MIPS-BCM63XX-register-OHCI-controller-if-board-enabl.patch create mode 100644 target/linux/brcm63xx/patches-4.4/107-MIPS-BCM63XX-introduce-BCM63XX_EHCI-configuration-sy.patch create mode 100644 target/linux/brcm63xx/patches-4.4/108-MIPS-BCM63XX-add-support-for-the-on-chip-EHCI-contro.patch create mode 100644 target/linux/brcm63xx/patches-4.4/109-MIPS-BCM63XX-register-EHCI-controller-if-board-enabl.patch create mode 100644 target/linux/brcm63xx/patches-4.4/110-MIPS-BCM63XX-EHCI-controller-does-not-support-overcu.patch create mode 100644 target/linux/brcm63xx/patches-4.4/111-MIPS-BCM63XX-allow-NULL-clock-for-clk_get_rate.patch create mode 100644 target/linux/brcm63xx/patches-4.4/120-mtdpart_fixup_generic_partprobe.patch create mode 100644 target/linux/brcm63xx/patches-4.4/130-pinctrl-add-bcm63xx-base-code.patch create mode 100644 target/linux/brcm63xx/patches-4.4/131-Documentation-add-BCM6328-pincontroller-binding-docu.patch create mode 100644 target/linux/brcm63xx/patches-4.4/132-pinctrl-add-a-pincontrol-driver-for-BCM6328.patch create mode 100644 target/linux/brcm63xx/patches-4.4/133-Documentation-add-BCM6348-pincontroller-binding-docu.patch create mode 100644 target/linux/brcm63xx/patches-4.4/134-pinctrl-add-a-pincontrol-driver-for-BCM6348.patch create mode 100644 target/linux/brcm63xx/patches-4.4/135-Documentation-add-BCM6358-pincontroller-binding-docu.patch create mode 100644 target/linux/brcm63xx/patches-4.4/136-pinctrl-add-a-pincontrol-driver-for-BCM6358.patch create mode 100644 target/linux/brcm63xx/patches-4.4/137-Documentation-add-BCM6362-pincontroller-binding-docu.patch create mode 100644 target/linux/brcm63xx/patches-4.4/138-pinctrl-add-a-pincontrol-driver-for-BCM6362.patch create mode 100644 target/linux/brcm63xx/patches-4.4/139-Documentation-add-BCM6368-pincontroller-binding-docu.patch create mode 100644 target/linux/brcm63xx/patches-4.4/140-pinctrl-add-a-pincontrol-driver-for-BCM6368.patch create mode 100644 target/linux/brcm63xx/patches-4.4/141-Documentation-add-BCM63268-pincontroller-binding-doc.patch create mode 100644 target/linux/brcm63xx/patches-4.4/142-pinctrl-add-a-pincontrol-driver-for-BCM63268.patch create mode 100644 target/linux/brcm63xx/patches-4.4/206-USB-EHCI-allow-limiting-ports-for-ehci-platform.patch create mode 100644 target/linux/brcm63xx/patches-4.4/207-MIPS-BCM63XX-move-device-registration-code-into-its-.patch create mode 100644 target/linux/brcm63xx/patches-4.4/208-MIPS-BCM63XX-pass-a-mac-addresss-allocator-to-board-.patch create mode 100644 target/linux/brcm63xx/patches-4.4/309-cfe_version_mod.patch create mode 100644 target/linux/brcm63xx/patches-4.4/310-cfe_simplify_detection.patch create mode 100644 target/linux/brcm63xx/patches-4.4/311-bcm63xxpart_use_cfedetection.patch create mode 100644 target/linux/brcm63xx/patches-4.4/320-irqchip-add-support-for-bcm6345-style-periphery-irq-.patch create mode 100644 target/linux/brcm63xx/patches-4.4/321-irqchip-add-support-for-bcm6345-style-external-inter.patch create mode 100644 target/linux/brcm63xx/patches-4.4/322-MIPS-BCM63XX-switch-to-IRQ_DOMAIN.patch create mode 100644 target/linux/brcm63xx/patches-4.4/323-MIPS-BCM63XX-wire-up-BCM6358-s-external-interrupts-4.patch create mode 100644 target/linux/brcm63xx/patches-4.4/330-MIPS-BCM63XX-add-a-new-cpu-variant-helper.patch create mode 100644 target/linux/brcm63xx/patches-4.4/331-MIPS-BCM63XX-define-variant-id-field.patch create mode 100644 target/linux/brcm63xx/patches-4.4/332-MIPS-BCM63XX-detect-BCM6328-variants.patch create mode 100644 target/linux/brcm63xx/patches-4.4/333-MIPS-BCM63XX-detect-BCM6362-variants.patch create mode 100644 target/linux/brcm63xx/patches-4.4/334-MIPS-BCM63XX-detect-BCM6368-variants.patch create mode 100644 target/linux/brcm63xx/patches-4.4/335-MIPS-BCM63XX-fix-PCIe-memory-window-size.patch create mode 100644 target/linux/brcm63xx/patches-4.4/336-MIPS-BCM63XX-dynamically-set-the-pcie-memory-windows.patch create mode 100644 target/linux/brcm63xx/patches-4.4/337-MIPS-BCM63XX-widen-cpuid-field.patch create mode 100644 target/linux/brcm63xx/patches-4.4/338-MIPS-BCM63XX-increase-number-of-IRQs.patch create mode 100644 target/linux/brcm63xx/patches-4.4/339-MIPS-BCM63XX-add-support-for-BCM63268.patch create mode 100644 target/linux/brcm63xx/patches-4.4/340-MIPS-BCM63XX-add-pcie-support-for-BCM63268.patch create mode 100644 target/linux/brcm63xx/patches-4.4/341-MIPS-BCM63XX-add-support-for-BCM6318.patch create mode 100644 target/linux/brcm63xx/patches-4.4/342-MIPS-BCM63XX-split-PCIe-reset-signals.patch create mode 100644 target/linux/brcm63xx/patches-4.4/343-MIPS-BCM63XX-add-PCIe-support-for-BCM6318.patch create mode 100644 target/linux/brcm63xx/patches-4.4/344-MIPS-BCM63XX-detect-flash-type-early-and-store-the-r.patch create mode 100644 target/linux/brcm63xx/patches-4.4/345-MIPS-BCM63XX-fixup-mapped-SPI-flash-access-on-boot.patch create mode 100644 target/linux/brcm63xx/patches-4.4/346-MIPS-BCM63XX-USB-ENETSW-6318-clocks.patch create mode 100644 target/linux/brcm63xx/patches-4.4/347-MIPS-BCM6318-USB-support.patch create mode 100644 target/linux/brcm63xx/patches-4.4/348-MIPS-BCM63XX-fix-BCM63268-USB-clock.patch create mode 100644 target/linux/brcm63xx/patches-4.4/349-MIPS-BCM63XX-add-BCM63268-USB-support.patch create mode 100644 target/linux/brcm63xx/patches-4.4/350-MIPS-BCM63XX-support-settings-num-usbh-ports.patch create mode 100644 target/linux/brcm63xx/patches-4.4/351-set-board-usbh-ports.patch create mode 100644 target/linux/brcm63xx/patches-4.4/354-MIPS-BCM63XX-allow-building-support-for-more-than-on.patch create mode 100644 target/linux/brcm63xx/patches-4.4/355-MIPS-BCM63XX-allow-board-implementations-to-force-fl.patch create mode 100644 target/linux/brcm63xx/patches-4.4/356-MIPS-BCM63XX-move-fallback-sprom-support-into-its-ow.patch create mode 100644 target/linux/brcm63xx/patches-4.4/357-MIPS-BCM63XX-use-platform-data-for-the-sprom.patch create mode 100644 target/linux/brcm63xx/patches-4.4/358-MIPS-BCM63XX-make-fallback-sprom-optional.patch create mode 100644 target/linux/brcm63xx/patches-4.4/359-MIPS-BCM63XX-allow-different-types-of-sprom.patch create mode 100644 target/linux/brcm63xx/patches-4.4/360-MIPS-BCM63XX-add-support-for-raw-sproms.patch create mode 100644 target/linux/brcm63xx/patches-4.4/361-MIPS-BCM63XX-add-raw-fallback-sproms-for-most-common.patch create mode 100644 target/linux/brcm63xx/patches-4.4/362-MIPS-BCM63XX-also-register-a-fallback-sprom-for-bcma.patch create mode 100644 target/linux/brcm63xx/patches-4.4/363-MIPS-BCM63XX-add-BCMA-based-sprom-templates.patch create mode 100644 target/linux/brcm63xx/patches-4.4/364-MIPS-BCM63XX-allow-board-files-to-provide-sprom-fixu.patch create mode 100644 target/linux/brcm63xx/patches-4.4/365-MIPS-BCM63XX-allow-setting-a-pci-bus-device-for-fall.patch create mode 100644 target/linux/brcm63xx/patches-4.4/367-MIPS-BCM63XX-add-support-for-loading-DTB.patch create mode 100644 target/linux/brcm63xx/patches-4.4/368-MIPS-BCM63XX-add-support-for-matching-the-board_info.patch create mode 100644 target/linux/brcm63xx/patches-4.4/369-MIPS-BCM63XX-populate-the-compatible-to-board_info-l.patch create mode 100644 target/linux/brcm63xx/patches-4.4/371_add_of_node_available_by_alias.patch create mode 100644 target/linux/brcm63xx/patches-4.4/372_dont_register_pflash_when_available_in_dtb.patch create mode 100644 target/linux/brcm63xx/patches-4.4/373-MIPS-BCM63XX-register-interrupt-controllers-through-.patch create mode 100644 target/linux/brcm63xx/patches-4.4/374-gpio-add-a-simple-GPIO-driver-for-bcm63xx.patch create mode 100644 target/linux/brcm63xx/patches-4.4/375-MIPS-BCM63XX-switch-to-new-gpio-driver.patch create mode 100644 target/linux/brcm63xx/patches-4.4/376-net-bcm63xx_enet-use-named-gpio-for-ephy-reset-gpio.patch create mode 100644 target/linux/brcm63xx/patches-4.4/377-MIPS-BCM63XX-register-lookup-for-ephy-reset-gpio.patch create mode 100644 target/linux/brcm63xx/patches-4.4/378-MIPS-BCM63XX-do-not-register-gpio-controller-if-pres.patch create mode 100644 target/linux/brcm63xx/patches-4.4/379-MIPS-BCM63XX-provide-a-gpio-lookup-for-the-pcmcia-re.patch create mode 100644 target/linux/brcm63xx/patches-4.4/380-pcmcia-bcm63xx_pmcia-use-the-new-named-gpio.patch create mode 100644 target/linux/brcm63xx/patches-4.4/381-Documentation-add-BCM6318-pincontroller-binding-docu.patch create mode 100644 target/linux/brcm63xx/patches-4.4/381-net-bcm63xx_enet-fully-reset-ephy.patch create mode 100644 target/linux/brcm63xx/patches-4.4/382-pinctrl-add-a-pincontrol-driver-for-BCM6318.patch create mode 100644 target/linux/brcm63xx/patches-4.4/383-bcm63xx_select_pinctrl.patch create mode 100644 target/linux/brcm63xx/patches-4.4/390-MIPS-BCM63XX-do-not-register-SPI-controllers.patch create mode 100644 target/linux/brcm63xx/patches-4.4/400-bcm963xx_flashmap.patch create mode 100644 target/linux/brcm63xx/patches-4.4/401-bcm963xx_real_rootfs_length.patch create mode 100644 target/linux/brcm63xx/patches-4.4/402_bcm63xx_enet_vlan_incoming_fixed.patch create mode 100644 target/linux/brcm63xx/patches-4.4/403-6358-enet1-external-mii-clk.patch create mode 100644 target/linux/brcm63xx/patches-4.4/404-NET-bcm63xx_enet-move-phy_-dis-connect-into-probe-re.patch create mode 100644 target/linux/brcm63xx/patches-4.4/408-bcm63xx_enet-enable-rgmii-clock-on-external-ports.patch create mode 100644 target/linux/brcm63xx/patches-4.4/411-MIPS-BCM63XX-Register-SPI-flash-if-present.patch create mode 100644 target/linux/brcm63xx/patches-4.4/413-BCM63XX-allow-providing-fixup-data-in-board-data.patch create mode 100644 target/linux/brcm63xx/patches-4.4/415-MIPS-BCM63XX-export-the-attached-flash-type.patch create mode 100644 target/linux/brcm63xx/patches-4.4/416-BCM63XX-add-a-fixup-for-ath9k-devices.patch create mode 100644 target/linux/brcm63xx/patches-4.4/420-BCM63XX-add-endian-check-for-ath9k.patch create mode 100644 target/linux/brcm63xx/patches-4.4/421-BCM63XX-add-led-pin-for-ath9k.patch create mode 100644 target/linux/brcm63xx/patches-4.4/422-BCM63XX-add-a-fixup-for-rt2x00-devices.patch create mode 100644 target/linux/brcm63xx/patches-4.4/423-bcm63xx_enet_add_b53_support.patch create mode 100644 target/linux/brcm63xx/patches-4.4/424-bcm63xx_enet_no_request_mem_region.patch create mode 100644 target/linux/brcm63xx/patches-4.4/425-bcm63xxpart_parse_paritions_from_dt.patch create mode 100644 target/linux/brcm63xx/patches-4.4/427-boards_probe_switch.patch create mode 100644 target/linux/brcm63xx/patches-4.4/499-allow_better_context_for_board_patches.patch create mode 100644 target/linux/brcm63xx/patches-4.4/500-board-D4PW.patch create mode 100644 target/linux/brcm63xx/patches-4.4/501-board-NB4.patch create mode 100644 target/linux/brcm63xx/patches-4.4/502-board-96338W2_E7T.patch create mode 100644 target/linux/brcm63xx/patches-4.4/503-board-CPVA642.patch create mode 100644 target/linux/brcm63xx/patches-4.4/504-board_dsl_274xb_rev_c.patch create mode 100644 target/linux/brcm63xx/patches-4.4/505-board_spw500v.patch create mode 100644 target/linux/brcm63xx/patches-4.4/506-board_gw6200_gw6000.patch create mode 100644 target/linux/brcm63xx/patches-4.4/507-board-MAGIC.patch create mode 100644 target/linux/brcm63xx/patches-4.4/508-board_hw553.patch create mode 100644 target/linux/brcm63xx/patches-4.4/509-board_rta1320_16m.patch create mode 100644 target/linux/brcm63xx/patches-4.4/510-board_spw303v.patch create mode 100644 target/linux/brcm63xx/patches-4.4/511-board_V2500V.patch create mode 100644 target/linux/brcm63xx/patches-4.4/512-board_BTV2110.patch create mode 100644 target/linux/brcm63xx/patches-4.4/513-MIPS-BCM63XX-add-inventel-Livebox-support.patch create mode 100644 target/linux/brcm63xx/patches-4.4/514-board_ct536_ct5621.patch create mode 100644 target/linux/brcm63xx/patches-4.4/515-board_DWV-S0_fixes.patch create mode 100644 target/linux/brcm63xx/patches-4.4/516-board_96348A-122.patch create mode 100644 target/linux/brcm63xx/patches-4.4/517-RTA1205W_16_uart_fixes.patch create mode 100644 target/linux/brcm63xx/patches-4.4/519_board_CPVA502plus.patch create mode 100644 target/linux/brcm63xx/patches-4.4/520-bcm63xx-add-support-for-96368MVWG-board.patch create mode 100644 target/linux/brcm63xx/patches-4.4/521-bcm63xx-add-support-for-96368MVNgr-board.patch create mode 100644 target/linux/brcm63xx/patches-4.4/522-MIPS-BCM63XX-add-96328avng-reference-board.patch create mode 100644 target/linux/brcm63xx/patches-4.4/523-MIPS-BCM63XX-add-963281TAN-reference-board.patch create mode 100644 target/linux/brcm63xx/patches-4.4/524-board_dsl_274xb_rev_f.patch create mode 100644 target/linux/brcm63xx/patches-4.4/525-board_96348w3.patch create mode 100644 target/linux/brcm63xx/patches-4.4/526-board_CT6373-1.patch create mode 100644 target/linux/brcm63xx/patches-4.4/527-board_dva-g3810bn-tl-1.patch create mode 100644 target/linux/brcm63xx/patches-4.4/528-board_nb6.patch create mode 100644 target/linux/brcm63xx/patches-4.4/529-board_fast2604.patch create mode 100644 target/linux/brcm63xx/patches-4.4/530-board_A4001N1.patch create mode 100644 target/linux/brcm63xx/patches-4.4/531-board_AR-5387un.patch create mode 100644 target/linux/brcm63xx/patches-4.4/532-board_AR-5381u.patch create mode 100644 target/linux/brcm63xx/patches-4.4/533-board_rta770bw.patch create mode 100644 target/linux/brcm63xx/patches-4.4/534-board_hw556.patch create mode 100644 target/linux/brcm63xx/patches-4.4/535-board_rta770w.patch create mode 100644 target/linux/brcm63xx/patches-4.4/536-board_fast2704.patch create mode 100644 target/linux/brcm63xx/patches-4.4/537-board_fast2504n.patch create mode 100644 target/linux/brcm63xx/patches-4.4/550-MIPS-BCM63XX-remove-leds-and-buttons.patch create mode 100644 target/linux/brcm63xx/patches-4.4/555-board_96318ref.patch create mode 100644 target/linux/brcm63xx/patches-4.4/556-board_96318ref_p300.patch create mode 100644 target/linux/brcm63xx/patches-4.4/557-board_bcm963269bhr.patch create mode 100644 target/linux/brcm63xx/patches-4.4/558-board_AR1004G.patch create mode 100644 target/linux/brcm63xx/patches-4.4/559-board_vw6339gu.patch create mode 100644 target/linux/brcm63xx/patches-4.4/560-board_963268gu_p300.patch create mode 100644 target/linux/brcm63xx/patches-4.4/561-board_WAP-5813n.patch create mode 100644 target/linux/brcm63xx/patches-4.4/562-board_VR-3025u.patch create mode 100644 target/linux/brcm63xx/patches-4.4/563-board_VR-3025un.patch create mode 100644 target/linux/brcm63xx/patches-4.4/564-board_P870HW-51a_v2.patch create mode 100644 target/linux/brcm63xx/patches-4.4/565-board_hw520.patch create mode 100644 target/linux/brcm63xx/patches-4.4/566-board_A4001N.patch create mode 100644 target/linux/brcm63xx/patches-4.4/567-board_dsl-2751b_e1.patch create mode 100644 target/linux/brcm63xx/patches-4.4/568-board_DGND3700v1_3800B.patch create mode 100644 target/linux/brcm63xx/patches-4.4/569-board_homehub2a.patch create mode 100644 target/linux/brcm63xx/patches-4.4/570-board_HG655b.patch create mode 100644 target/linux/brcm63xx/patches-4.4/571-board_fast2704n.patch create mode 100644 target/linux/brcm63xx/patches-4.4/572-board_VR-3026e.patch create mode 100644 target/linux/brcm63xx/patches-4.4/573-board_R5010UNv2.patch create mode 100644 target/linux/brcm63xx/patches-4.4/574-board_HG622.patch create mode 100644 target/linux/brcm63xx/patches-4.4/575-board_EVG2000.patch create mode 100644 target/linux/brcm63xx/patches-4.4/576-board_AV4202N.patch create mode 100644 target/linux/brcm63xx/patches-4.4/577-board_VH4032N.patch create mode 100644 target/linux/brcm63xx/patches-4.4/578-board_R1000H.patch create mode 100644 target/linux/brcm63xx/patches-4.4/579-board_AR-5315u.patch create mode 100644 target/linux/brcm63xx/patches-4.4/800-wl_exports.patch create mode 100644 target/linux/brcm63xx/patches-4.4/801-ssb_export_fallback_sprom.patch create mode 100644 target/linux/brcm63xx/patches-4.4/802-rtl8367r_fix_RGMII_support.patch create mode 100644 target/linux/brcm63xx/patches-4.4/803-jffs2-work-around-unaligned-accesses-failing-on-bcm6.patch create mode 100644 target/linux/brcm63xx/patches-4.4/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.9 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.9/000-cns3xxx_arch_include.patch create mode 100644 target/linux/cns3xxx/patches-4.9/001-arm_openwrt_machtypes.patch create mode 100644 target/linux/cns3xxx/patches-4.9/010-arm_introduce-dma-fiq-irq-broadcast.patch create mode 100644 target/linux/cns3xxx/patches-4.9/020-watchdog_support.patch create mode 100644 target/linux/cns3xxx/patches-4.9/025-smp_support.patch create mode 100644 target/linux/cns3xxx/patches-4.9/030-pcie_clock.patch create mode 100644 target/linux/cns3xxx/patches-4.9/040-fiq_support.patch create mode 100644 target/linux/cns3xxx/patches-4.9/045-twd_base.patch create mode 100644 target/linux/cns3xxx/patches-4.9/055-pcie_io.patch create mode 100644 target/linux/cns3xxx/patches-4.9/060-pcie_abort.patch create mode 100644 target/linux/cns3xxx/patches-4.9/065-pcie_skip_inactive.patch create mode 100644 target/linux/cns3xxx/patches-4.9/070-i2c_support.patch create mode 100644 target/linux/cns3xxx/patches-4.9/075-spi_support.patch create mode 100644 target/linux/cns3xxx/patches-4.9/080-sata_support.patch create mode 100644 target/linux/cns3xxx/patches-4.9/090-timers.patch create mode 100644 target/linux/cns3xxx/patches-4.9/093-add-virt-pci-io-mapping.patch create mode 100644 target/linux/cns3xxx/patches-4.9/095-gpio_support.patch create mode 100644 target/linux/cns3xxx/patches-4.9/097-l2x0_cmdline_disable.patch create mode 100644 target/linux/cns3xxx/patches-4.9/100-laguna_support.patch create mode 100644 target/linux/cns3xxx/patches-4.9/101-laguna_sdhci_card_detect.patch create mode 100644 target/linux/cns3xxx/patches-4.9/110-pci_isolated_interrupts.patch create mode 100644 target/linux/cns3xxx/patches-4.9/130-Extend-PCIE_BUS_PEER2PEER-to-set-MRSS-128-to-fix-CNS3xxx-BM-DMA..patch create mode 100644 target/linux/cns3xxx/patches-4.9/200-broadcom_phy_reinit.patch create mode 100644 target/linux/cns3xxx/patches-4.9/210-dwc2_defaults.patch create mode 100644 target/linux/gemini/Makefile create mode 100644 target/linux/gemini/base-files/lib/preinit/05_set_ether_mac_gemini create mode 100644 target/linux/gemini/config-4.4 create mode 100644 target/linux/gemini/files/arch/arm/mach-gemini/include/mach/gmac.h create mode 100644 target/linux/gemini/files/arch/arm/mach-gemini/pci.c create mode 100644 target/linux/gemini/files/drivers/ata/pata_gemini.c create mode 100644 target/linux/gemini/files/drivers/net/ethernet/gemini/Kconfig create mode 100644 target/linux/gemini/files/drivers/net/ethernet/gemini/Makefile create mode 100644 target/linux/gemini/files/drivers/net/ethernet/gemini/sl351x.c create mode 100644 target/linux/gemini/files/drivers/net/ethernet/gemini/sl351x_hw.h create mode 100644 target/linux/gemini/files/drivers/usb/host/ehci-fotg2.c create mode 100644 target/linux/gemini/files/drivers/watchdog/gemini_wdt.c create mode 100644 target/linux/gemini/image/ImageInfo-ib4220 create mode 100644 target/linux/gemini/image/Makefile create mode 100644 target/linux/gemini/patches-4.4/050-gpio-to-irq.patch create mode 100644 target/linux/gemini/patches-4.4/060-cache-fa.patch create mode 100644 target/linux/gemini/patches-4.4/110-watchdog-add-gemini_wdt-driver.patch create mode 100644 target/linux/gemini/patches-4.4/111-arm-gemini-add-watchdog-device.patch create mode 100644 target/linux/gemini/patches-4.4/112-arm-gemini-register-watchdog-devices.patch create mode 100644 target/linux/gemini/patches-4.4/120-net-add-gemini-gmac-driver.patch create mode 100644 target/linux/gemini/patches-4.4/121-arm-gemini-add-gmac-device.patch create mode 100644 target/linux/gemini/patches-4.4/122-arm-gemini-register-ethernet.patch create mode 100644 target/linux/gemini/patches-4.4/130-usb-ehci-add-fot2g-driver.patch create mode 100644 target/linux/gemini/patches-4.4/131-arm-gemini-add-usb-device.patch create mode 100644 target/linux/gemini/patches-4.4/132-arm-gemini-register-usb.patch create mode 100644 target/linux/gemini/patches-4.4/140-arm-gemini-add-pci-support.patch create mode 100644 target/linux/gemini/patches-4.4/150-gemini-pata.patch create mode 100644 target/linux/gemini/raidsonic/config-default create mode 100644 target/linux/gemini/raidsonic/target.mk create mode 100644 target/linux/gemini/wiligear/target.mk create mode 100644 target/linux/generic/PATCHES create mode 100644 target/linux/generic/backport-4.9/010-Kbuild-don-t-hardcode-path-to-awk-in-scripts-ld-vers.patch create mode 100644 target/linux/generic/backport-4.9/011-kbuild-export-SUBARCH.patch create mode 100644 target/linux/generic/backport-4.9/020-backport_netfilter_rtcache.patch create mode 100644 target/linux/generic/backport-4.9/021-bridge-multicast-to-unicast.patch create mode 100644 target/linux/generic/backport-4.9/022-net-add-devm-version-of-alloc_etherdev_mqs-function.patch create mode 100644 target/linux/generic/backport-4.9/023-1-smsc95xx-Use-skb_cow_head-to-deal-with-cloned-skbs.patch create mode 100644 target/linux/generic/backport-4.9/023-2-smsc75xx-use-skb_cow_head-to-deal-with-cloned-skbs.patch create mode 100644 target/linux/generic/backport-4.9/023-3-cx82310_eth-use-skb_cow_head-to-deal-with-cloned-skb.patch create mode 100644 target/linux/generic/backport-4.9/023-4-sr9700-use-skb_cow_head-to-deal-with-cloned-skbs.patch create mode 100644 target/linux/generic/backport-4.9/023-5-lan78xx-use-skb_cow_head-to-deal-with-cloned-skbs.patch create mode 100644 target/linux/generic/backport-4.9/023-6-ch9200-use-skb_cow_head-to-deal-with-cloned-skbs.patch create mode 100644 target/linux/generic/backport-4.9/023-7-kaweth-use-skb_cow_head-to-deal-with-cloned-skbs.patch create mode 100644 target/linux/generic/backport-4.9/030-01-ubifs-Drop-softlimit-and-delta-fields-from-struct-ub.patch create mode 100644 target/linux/generic/backport-4.9/030-02-ubifs-Use-dirty_writeback_interval-value-for-wbuf-ti.patch create mode 100644 target/linux/generic/backport-4.9/050-usb-dwc2-Remove-unnecessary-kfree.patch create mode 100644 target/linux/generic/backport-4.9/060-0002-mtd-bcm47xxsflash-use-platform_-set-get-_drvdata.patch create mode 100644 target/linux/generic/backport-4.9/060-0003-mtd-bcm47xxsflash-support-reading-flash-out-of-mappi.patch create mode 100644 target/linux/generic/backport-4.9/060-0004-mtd-bcm47xxpart-move-TRX-parsing-code-to-separated-f.patch create mode 100644 target/linux/generic/backport-4.9/060-0005-mtd-bcm47xxpart-support-layouts-with-multiple-TRX-pa.patch create mode 100644 target/linux/generic/backport-4.9/061-v4.10-0001-mtd-spi-nor-add-Macronix-mx25u25635f-to-list-of-know.patch create mode 100644 target/linux/generic/backport-4.9/061-v4.10-0002-mtd-spi-nor-fix-spansion-quad-enable.patch create mode 100644 target/linux/generic/backport-4.9/061-v4.10-0003-mtd-spi-nor-fix-flags-for-s25fl128s.patch create mode 100644 target/linux/generic/backport-4.9/061-v4.10-0004-mtd-spi-nor-add-support-for-s25fl208k.patch create mode 100644 target/linux/generic/backport-4.9/061-v4.10-0005-mtd-spi-nor-Add-at25df321-spi-nor-flash-support.patch create mode 100644 target/linux/generic/backport-4.9/061-v4.10-0006-mtd-spi-nor-Add-support-for-N25Q016A.patch create mode 100644 target/linux/generic/backport-4.9/061-v4.10-0007-mtd-spi-nor-Add-support-for-mr25h40.patch create mode 100644 target/linux/generic/backport-4.9/062-v4.11-0001-mtd-spi-nor-Add-support-for-S3AN-spi-nor-devices.patch create mode 100644 target/linux/generic/backport-4.9/062-v4.11-0002-mtd-spi-nor-improve-macronix_quad_enable.patch create mode 100644 target/linux/generic/backport-4.9/062-v4.11-0003-mtd-spi-nor-remove-WARN_ONCE-message-in-spi_nor_writ.patch create mode 100644 target/linux/generic/backport-4.9/062-v4.11-0004-mtd-spi-nor-rename-SPINOR_OP_-macros-of-the-4-byte-a.patch create mode 100644 target/linux/generic/backport-4.9/062-v4.11-0005-mtd-spi-nor-add-a-stateless-method-to-support-memory.patch create mode 100644 target/linux/generic/backport-4.9/062-v4.11-0006-mtd-spi-nor-Add-lock-unlock-support-for-f25l32pa.patch create mode 100644 target/linux/generic/backport-4.9/062-v4.11-0007-mtd-spi-nor-Fix-S3AN-addressing-calculation.patch create mode 100644 target/linux/generic/backport-4.9/062-v4.11-0008-mtd-spi-nor-Add-support-for-gd25q16.patch create mode 100644 target/linux/generic/backport-4.9/063-mtd-spi-nor-enable-stateless-4b-op-codes-for-mx25u25.patch create mode 100644 target/linux/generic/backport-4.9/064-v4.11-0001-mtd-introduce-function-max_bad_blocks.patch create mode 100644 target/linux/generic/backport-4.9/064-v4.11-0002-mtd-Add-partition-device-node-to-mtd-partition-devic.patch create mode 100644 target/linux/generic/backport-4.9/065-v4.13-0001-mtd-handle-partitioning-on-devices-with-0-erasesize.patch create mode 100644 target/linux/generic/backport-4.9/065-v4.13-0002-mtd-partitions-factor-out-code-calling-parser.patch create mode 100644 target/linux/generic/backport-4.9/065-v4.13-0003-mtd-partitions-add-helper-for-deleting-partition.patch create mode 100644 target/linux/generic/backport-4.9/065-v4.13-0004-mtd-partitions-remove-sysfs-files-when-deleting-all-.patch create mode 100644 target/linux/generic/backport-4.9/065-v4.13-0005-mtd-partitions-rename-master-to-the-parent-where-app.patch create mode 100644 target/linux/generic/backport-4.9/065-v4.13-0006-mtd-partitions-add-support-for-subpartitions.patch create mode 100644 target/linux/generic/backport-4.9/065-v4.13-0007-mtd-partitions-add-support-for-partition-parsers.patch create mode 100644 target/linux/generic/backport-4.9/065-v4.13-0008-mtd-extract-TRX-parser-out-of-bcm47xxpart-into-a-sep.patch create mode 100644 target/linux/generic/backport-4.9/070-bcma-from-4.11.patch create mode 100644 target/linux/generic/backport-4.9/071-v4.10-0001-net-bgmac-allocate-struct-bgmac-just-once-don-t-copy.patch create mode 100644 target/linux/generic/backport-4.9/071-v4.10-0002-net-bgmac-drop-struct-bcma_mdio-we-don-t-need-anymor.patch create mode 100644 target/linux/generic/backport-4.9/071-v4.10-0003-net-bgmac-use-PHY-subsystem-for-initializing-PHY.patch create mode 100644 target/linux/generic/backport-4.9/072-bcma-from-4.12.patch create mode 100644 target/linux/generic/backport-4.9/075-v4.10-0001-net-phy-broadcom-Update-Auxiliary-Control-Register-m.patch create mode 100644 target/linux/generic/backport-4.9/075-v4.10-0002-net-phy-broadcom-Add-support-for-BCM54612E.patch create mode 100644 target/linux/generic/backport-4.9/075-v4.10-0003-net-phy-broadcom-add-bcm54xx_auxctl_read.patch create mode 100644 target/linux/generic/backport-4.9/075-v4.10-0004-net-phy-broadcom-Add-BCM54810-PHY-entry.patch create mode 100644 target/linux/generic/backport-4.9/075-v4.10-0005-net-phy-broadcom-Move-bcm54xx_auxctl_-read-write-to-.patch create mode 100644 target/linux/generic/backport-4.9/076-v4.11-0001-net-phy-broadcom-Allow-enabling-or-disabling-of-EEE.patch create mode 100644 target/linux/generic/backport-4.9/076-v4.11-0002-net-phy-broadcom-Add-support-code-for-reading-PHY-co.patch create mode 100644 target/linux/generic/backport-4.9/076-v4.11-0003-net-phy-bcm7xxx-Add-entry-for-BCM7278.patch create mode 100644 target/linux/generic/backport-4.9/076-v4.11-0004-net-phy-bcm7xxx-Implement-EGPHY-workaround-for-7278.patch create mode 100644 target/linux/generic/backport-4.9/076-v4.11-0005-net-phy-broadcom-use-auxctl-reading-helper-in-BCM546.patch create mode 100644 target/linux/generic/backport-4.9/076-v4.11-0006-net-phy-broadcom-add-support-for-BCM54210E.patch create mode 100644 target/linux/generic/backport-4.9/076-v4.11-0007-net-phy-broadcom-rehook-BCM54612E-specific-init.patch create mode 100644 target/linux/generic/backport-4.9/080-0001-leds-core-add-OF-variants-of-LED-registering-functio.patch create mode 100644 target/linux/generic/backport-4.9/080-0002-leds-gpio-use-OF-variant-of-LED-registering-function.patch create mode 100644 target/linux/generic/backport-4.9/081-0001-thermal-bcm2835-add-thermal-driver-for-bcm2835-SoC.patch create mode 100644 target/linux/generic/backport-4.9/081-0002-thermal-broadcom-add-Northstar-thermal-driver.patch create mode 100644 target/linux/generic/backport-4.9/082-0001-usb-core-read-USB-ports-from-DT-in-the-usbport-LED-t.patch create mode 100644 target/linux/generic/backport-4.9/087-regmap-make-LZO-cache-optional.patch create mode 100644 target/linux/generic/config-3.18 create mode 100644 target/linux/generic/config-4.4 create mode 100644 target/linux/generic/config-4.9 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/leds/ledtrig-netdev.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_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/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/platform_data/b53.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.4/950-net-patch-linux-kernel-to-support-shortcut-fe.patch create mode 100644 target/linux/generic/hack-4.4/951-bridge-Add-new-bridge-APIs-needed-for-network-HW-acc.patch create mode 100644 target/linux/generic/hack-4.4/952-net-conntrack-events-support-multiple-registrant.patch create mode 100644 target/linux/generic/hack-4.9/202-reduce_module_size.patch create mode 100644 target/linux/generic/hack-4.9/204-module_strip.patch create mode 100644 target/linux/generic/hack-4.9/207-disable-modorder.patch create mode 100644 target/linux/generic/hack-4.9/210-darwin_scripts_include.patch create mode 100644 target/linux/generic/hack-4.9/211-host_tools_portability.patch create mode 100644 target/linux/generic/hack-4.9/212-byteshift_portability.patch create mode 100644 target/linux/generic/hack-4.9/214-spidev_h_portability.patch create mode 100644 target/linux/generic/hack-4.9/220-gc_sections.patch create mode 100644 target/linux/generic/hack-4.9/221-module_exports.patch create mode 100644 target/linux/generic/hack-4.9/230-openwrt_lzma_options.patch create mode 100644 target/linux/generic/hack-4.9/250-netfilter_depends.patch create mode 100644 target/linux/generic/hack-4.9/251-sound_kconfig.patch create mode 100644 target/linux/generic/hack-4.9/259-regmap_dynamic.patch create mode 100644 target/linux/generic/hack-4.9/260-crypto_test_dependencies.patch create mode 100644 target/linux/generic/hack-4.9/280-rfkill-stubs.patch create mode 100644 target/linux/generic/hack-4.9/301-mips_image_cmdline_hack.patch create mode 100644 target/linux/generic/hack-4.9/321-powerpc_crtsavres_prereq.patch create mode 100644 target/linux/generic/hack-4.9/531-debloat_lzma.patch create mode 100644 target/linux/generic/hack-4.9/640-bridge-only-accept-EAP-locally.patch create mode 100644 target/linux/generic/hack-4.9/641-bridge_port_isolate.patch create mode 100644 target/linux/generic/hack-4.9/651-wireless_mesh_header.patch create mode 100644 target/linux/generic/hack-4.9/660-fq_codel_defaults.patch create mode 100644 target/linux/generic/hack-4.9/661-use_fq_codel_by_default.patch create mode 100644 target/linux/generic/hack-4.9/662-remove_pfifo_fast.patch create mode 100644 target/linux/generic/hack-4.9/700-swconfig_switch_drivers.patch create mode 100644 target/linux/generic/hack-4.9/702-phy_add_aneg_done_function.patch create mode 100644 target/linux/generic/hack-4.9/710-phy-add-mdio_register_board_info.patch create mode 100644 target/linux/generic/hack-4.9/721-phy_packets.patch create mode 100644 target/linux/generic/hack-4.9/773-bgmac-add-srab-switch.patch create mode 100644 target/linux/generic/hack-4.9/835-misc-owl_loader.patch create mode 100644 target/linux/generic/hack-4.9/901-debloat_sock_diag.patch create mode 100644 target/linux/generic/hack-4.9/902-debloat_proc.patch create mode 100644 target/linux/generic/hack-4.9/904-debloat_dma_buf.patch create mode 100644 target/linux/generic/hack-4.9/910-kobject_uevent.patch create mode 100644 target/linux/generic/hack-4.9/911-kobject_add_broadcast_uevent.patch create mode 100644 target/linux/generic/hack-4.9/921-always-create-console-node-in-initramfs.patch create mode 100644 target/linux/generic/hack-4.9/930-crashlog.patch create mode 100644 target/linux/generic/hack-4.9/950-net-patch-linux-kernel-to-support-shortcut-fe.patch create mode 100644 target/linux/generic/hack-4.9/951-bridge-Add-new-bridge-APIs-needed-for-network-HW-acc.patch create mode 100644 target/linux/generic/hack-4.9/952-net-conntrack-events-support-multiple-registrant.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-3.18/001-mtdsplit_backport.patch create mode 100644 target/linux/generic/pending-3.18/002-phy_drivers_backport.patch create mode 100644 target/linux/generic/pending-3.18/003-myloader_backport.patch create mode 100644 target/linux/generic/pending-3.18/020-ssb_update.patch create mode 100644 target/linux/generic/pending-3.18/021-ssb_sprom.patch create mode 100644 target/linux/generic/pending-3.18/025-bcma_backport.patch create mode 100644 target/linux/generic/pending-3.18/026-bcma-from-3.20.patch create mode 100644 target/linux/generic/pending-3.18/027-bcma-from-4.1.patch create mode 100644 target/linux/generic/pending-3.18/028-bcma-from-4.2.patch create mode 100644 target/linux/generic/pending-3.18/029-bcma-from-4.4.patch create mode 100644 target/linux/generic/pending-3.18/030-backport_bcm47xx_nvram.patch create mode 100644 target/linux/generic/pending-3.18/030-nl80211-Allow-set-network-namespace-by-fd.patch create mode 100644 target/linux/generic/pending-3.18/031-bcma-from-4.5.patch create mode 100644 target/linux/generic/pending-3.18/032-bcma-from-4.6.patch create mode 100644 target/linux/generic/pending-3.18/040-mtd-bcm47xxpart-backports-from-3.19.patch create mode 100644 target/linux/generic/pending-3.18/041-mtd-bcm47xxpart-backports-from-3.20.patch create mode 100644 target/linux/generic/pending-3.18/043-mtd_GD25Q128B_support_backport_from_3.19.patch create mode 100644 target/linux/generic/pending-3.18/044-backport-m25p80-jedec-probe.patch create mode 100644 target/linux/generic/pending-3.18/050-backport_netfilter_rtcache.patch create mode 100644 target/linux/generic/pending-3.18/051-02-bridge-allow-setting-hash_max-multicast_router-if-in.patch create mode 100644 target/linux/generic/pending-3.18/060-mips_decompressor_memmove.patch create mode 100644 target/linux/generic/pending-3.18/070-bgmac-register-napi-before-the-device.patch create mode 100644 target/linux/generic/pending-3.18/071-bgmac-activate-irqs-only-if-there-is-nothing-to-poll.patch create mode 100644 target/linux/generic/pending-3.18/072-bgmac-fix-device-initialization-on-Northstar-SoCs-co.patch create mode 100644 target/linux/generic/pending-3.18/073-bgmac-Clean-warning-messages.patch create mode 100644 target/linux/generic/pending-3.18/074-bgmac-register-fixed-PHY-for-ARM-BCM470X-BCM5301X-ch.patch create mode 100644 target/linux/generic/pending-3.18/075-bgmac-allow-enabling-on-ARCH_BCM_5301X.patch create mode 100644 target/linux/generic/pending-3.18/076-net-phy-export-fixed_phy_register.patch create mode 100644 target/linux/generic/pending-3.18/077-01-bgmac-fix-descriptor-frame-start-end-definitions.patch create mode 100644 target/linux/generic/pending-3.18/077-02-bgmac-implement-GRO-and-use-build_skb.patch create mode 100644 target/linux/generic/pending-3.18/077-03-bgmac-implement-scatter-gather-support.patch create mode 100644 target/linux/generic/pending-3.18/077-04-bgmac-simplify-tx-ring-index-handling.patch create mode 100644 target/linux/generic/pending-3.18/077-05-bgmac-leave-interrupts-disabled-as-long-as-there-is-.patch create mode 100644 target/linux/generic/pending-3.18/077-06-bgmac-set-received-skb-headroom-to-NET_SKB_PAD.patch create mode 100644 target/linux/generic/pending-3.18/077-07-bgmac-simplify-rx-DMA-error-handling.patch create mode 100644 target/linux/generic/pending-3.18/077-08-bgmac-add-check-for-oversized-packets.patch create mode 100644 target/linux/generic/pending-3.18/077-09-bgmac-increase-rx-ring-size-from-511-to-512.patch create mode 100644 target/linux/generic/pending-3.18/077-10-bgmac-simplify-dma-init-cleanup.patch create mode 100644 target/linux/generic/pending-3.18/077-11-bgmac-fix-DMA-rx-corruption.patch create mode 100644 target/linux/generic/pending-3.18/077-12-bgmac-drop-ring-num_slots.patch create mode 100644 target/linux/generic/pending-3.18/078-bgmac-reset-enable-Ethernet-core-before-using-it.patch create mode 100644 target/linux/generic/pending-3.18/079-bgmac-fix-MAC-soft-reset-bit-for-corerev-4.patch create mode 100644 target/linux/generic/pending-3.18/080-00-fib_trie-Fix-proc-net-fib_trie-when-CONFIG_IP_MULTIP.patch create mode 100644 target/linux/generic/pending-3.18/080-01-fib_trie-Fix-trie-balancing-issue-if-new-node-pushes.patch create mode 100644 target/linux/generic/pending-3.18/080-02-fib_trie-Update-usage-stats-to-be-percpu-instead-of-.patch create mode 100644 target/linux/generic/pending-3.18/080-03-fib_trie-Make-leaf-and-tnode-more-uniform.patch create mode 100644 target/linux/generic/pending-3.18/080-04-fib_trie-Merge-tnode_free-and-leaf_free-into-node_fr.patch create mode 100644 target/linux/generic/pending-3.18/080-05-fib_trie-Merge-leaf-into-tnode.patch create mode 100644 target/linux/generic/pending-3.18/080-06-fib_trie-Optimize-fib_table_lookup-to-avoid-wasting-.patch create mode 100644 target/linux/generic/pending-3.18/080-07-fib_trie-Optimize-fib_find_node.patch create mode 100644 target/linux/generic/pending-3.18/080-08-fib_trie-Optimize-fib_table_insert.patch create mode 100644 target/linux/generic/pending-3.18/080-09-fib_trie-Update-meaning-of-pos-to-represent-unchecke.patch create mode 100644 target/linux/generic/pending-3.18/080-10-fib_trie-Use-unsigned-long-for-anything-dealing-with.patch create mode 100644 target/linux/generic/pending-3.18/080-11-fib_trie-Push-rcu_read_lock-unlock-to-callers.patch create mode 100644 target/linux/generic/pending-3.18/080-12-fib_trie-Move-resize-to-after-inflate-halve.patch create mode 100644 target/linux/generic/pending-3.18/080-13-fib_trie-Add-functions-should_inflate-and-should_hal.patch create mode 100644 target/linux/generic/pending-3.18/080-14-fib_trie-Push-assignment-of-child-to-parent-down-int.patch create mode 100644 target/linux/generic/pending-3.18/080-15-fib_trie-Push-tnode-flushing-down-to-inflate-halve.patch create mode 100644 target/linux/generic/pending-3.18/080-16-fib_trie-inflate-halve-nodes-in-a-more-RCU-friendly-.patch create mode 100644 target/linux/generic/pending-3.18/080-17-fib_trie-Remove-checks-for-index-tnode_child_length-.patch create mode 100644 target/linux/generic/pending-3.18/080-18-fib_trie-Add-tracking-value-for-suffix-length.patch create mode 100644 target/linux/generic/pending-3.18/080-19-fib_trie-Use-index-0ul-n-bits-instead-of-index-n-bit.patch create mode 100644 target/linux/generic/pending-3.18/080-20-fib_trie-Fix-RCU-bug-and-merge-similar-bits-of-infla.patch create mode 100644 target/linux/generic/pending-3.18/080-21-fib_trie-Fall-back-to-slen-update-on-inflate-halve-f.patch create mode 100644 target/linux/generic/pending-3.18/080-22-fib_trie-Add-collapse-and-should_collapse-to-resize.patch create mode 100644 target/linux/generic/pending-3.18/080-23-fib_trie-Use-empty_children-instead-of-counting-empt.patch create mode 100644 target/linux/generic/pending-3.18/080-24-fib_trie-Move-fib_find_alias-to-file-where-it-is-use.patch create mode 100644 target/linux/generic/pending-3.18/080-25-fib_trie-Various-clean-ups-for-handling-slen.patch create mode 100644 target/linux/generic/pending-3.18/081-01-pppoe-Use-workqueue-to-die-properly-when-a-PADT-is-r.patch create mode 100644 target/linux/generic/pending-3.18/081-02-pppoe-Lacks-DST-MAC-address-check.patch create mode 100644 target/linux/generic/pending-3.18/081-03-pppoe-drop-pppoe-device-in-pppoe_unbind_sock_work.patch create mode 100644 target/linux/generic/pending-3.18/081-06-ppp-don-t-set-sk_state-to-PPPOX_ZOMBIE-in-pppoe_disc.patch create mode 100644 target/linux/generic/pending-3.18/081-07-ppp-remove-PPPOX_ZOMBIE-socket-state.patch create mode 100644 target/linux/generic/pending-3.18/081-08-pppoe-fix-memory-corruption-in-padt-work-structure.patch create mode 100644 target/linux/generic/pending-3.18/082-ipv6-ip6_fragment-fix-headroom-tests-and-skb-leak.patch create mode 100644 target/linux/generic/pending-3.18/083-solos-pci-Increase-headroom-on-received-packets.patch create mode 100644 target/linux/generic/pending-3.18/087-regmap-make-LZO-cache-optional.patch create mode 100644 target/linux/generic/pending-3.18/090-overlayfs-fallback-to-readonly-when-full.patch create mode 100644 target/linux/generic/pending-3.18/091-mtd-spi-nor-add-support-Spansion_S25FL164K.patch create mode 100644 target/linux/generic/pending-3.18/092-01-spi-Check-to-see-if-the-device-is-processing-a-messa.patch create mode 100644 target/linux/generic/pending-3.18/092-02-spi-Pump-transfers-inside-calling-context-for-spi_sy.patch create mode 100644 target/linux/generic/pending-3.18/092-03-spi-Only-idle-the-message-pump-in-the-worker-kthread.patch create mode 100644 target/linux/generic/pending-3.18/095-api-fix-compatibility-of-linux-in.h-with-netinet-in..patch create mode 100644 target/linux/generic/pending-3.18/097-mm-remove-gup_flags-FOLL_WRITE-games-from-__get_user.patch create mode 100644 target/linux/generic/pending-3.18/099-module_arch_freeing_init-new-hook-for-archs-before-m.patch create mode 100644 target/linux/generic/pending-3.18/102-ehci_hcd_ignore_oc.patch create mode 100644 target/linux/generic/pending-3.18/110-jffs2-use-.rename2-and-add-RENAME_WHITEOUT-support.patch create mode 100644 target/linux/generic/pending-3.18/111-jffs2-add-RENAME_EXCHANGE-support.patch create mode 100644 target/linux/generic/pending-3.18/120-bridge_allow_receiption_on_disabled_port.patch create mode 100644 target/linux/generic/pending-3.18/132-mips_inline_dma_ops.patch create mode 100644 target/linux/generic/pending-3.18/133-MIPS-UAPI-Ignore-__arch_swab-16-32-64-when-using-MIP.patch create mode 100644 target/linux/generic/pending-3.18/140-mtd-part-add-generic-parsing-of-linux-part-probe.patch create mode 100644 target/linux/generic/pending-3.18/141-mtd-bcm47xxpart-limit-scanned-flash-area-on-BCM47XX-.patch create mode 100644 target/linux/generic/pending-3.18/142-mtd-bcm47xxpart-don-t-fail-because-of-bit-flips.patch create mode 100644 target/linux/generic/pending-3.18/180-usb-xhci-make-USB_XHCI_PLATFORM-selectable.patch create mode 100644 target/linux/generic/pending-3.18/190-cdc_ncm_add_support_for_moving_ndp_to_end_of_ncm_frame.patch create mode 100644 target/linux/generic/pending-3.18/191-usb-ehci-orion-fix-probe-for-GENERIC_PHY.patch create mode 100644 target/linux/generic/pending-3.18/192-USB-qcserial-Add-support-for-Quectel-EC20-Mini-PCIe-.patch create mode 100644 target/linux/generic/pending-3.18/193-USB-qmi_wwan-Add-quirk-for-Quectel-EC20-Mini-PCIe-mo.patch create mode 100644 target/linux/generic/pending-3.18/200-fix_localversion.patch create mode 100644 target/linux/generic/pending-3.18/201-extra_optimization.patch create mode 100644 target/linux/generic/pending-3.18/202-reduce_module_size.patch create mode 100644 target/linux/generic/pending-3.18/203-kallsyms_uncompressed.patch create mode 100644 target/linux/generic/pending-3.18/204-module_strip.patch create mode 100644 target/linux/generic/pending-3.18/205-backtrace_module_info.patch create mode 100644 target/linux/generic/pending-3.18/210-darwin_scripts_include.patch create mode 100644 target/linux/generic/pending-3.18/212-byteshift_portability.patch create mode 100644 target/linux/generic/pending-3.18/213-x86_vdso_portability.patch create mode 100644 target/linux/generic/pending-3.18/214-spidev_h_portability.patch create mode 100644 target/linux/generic/pending-3.18/220-gc_sections.patch create mode 100644 target/linux/generic/pending-3.18/221-module_exports.patch create mode 100644 target/linux/generic/pending-3.18/230-openwrt_lzma_options.patch create mode 100644 target/linux/generic/pending-3.18/250-netfilter_depends.patch create mode 100644 target/linux/generic/pending-3.18/251-sound_kconfig.patch create mode 100644 target/linux/generic/pending-3.18/252-mv_cesa_depends.patch create mode 100644 target/linux/generic/pending-3.18/253-ssb_b43_default_on.patch create mode 100644 target/linux/generic/pending-3.18/254-textsearch_kconfig_hacks.patch create mode 100644 target/linux/generic/pending-3.18/255-lib80211_kconfig_hacks.patch create mode 100644 target/linux/generic/pending-3.18/256-crypto_add_kconfig_prompts.patch create mode 100644 target/linux/generic/pending-3.18/257-wireless_ext_kconfig_hack.patch create mode 100644 target/linux/generic/pending-3.18/258-netfilter_netlink_kconfig_hack.patch create mode 100644 target/linux/generic/pending-3.18/259-regmap_dynamic.patch create mode 100644 target/linux/generic/pending-3.18/260-crypto_test_dependencies.patch create mode 100644 target/linux/generic/pending-3.18/270-uapi-kernel.h-glibc-specific-inclusion-of-sysinfo.h.patch create mode 100644 target/linux/generic/pending-3.18/271-uapi-libc-compat.h-do-not-rely-on-__GLIBC__.patch create mode 100644 target/linux/generic/pending-3.18/272-uapi-if_ether.h-prevent-redefinition-of-struct-ethhd.patch create mode 100644 target/linux/generic/pending-3.18/300-mips_expose_boot_raw.patch create mode 100644 target/linux/generic/pending-3.18/301-mips_image_cmdline_hack.patch create mode 100644 target/linux/generic/pending-3.18/302-mips_no_branch_likely.patch create mode 100644 target/linux/generic/pending-3.18/304-mips_disable_fpu.patch create mode 100644 target/linux/generic/pending-3.18/305-mips_module_reloc.patch create mode 100644 target/linux/generic/pending-3.18/306-mips_mem_functions_performance.patch create mode 100644 target/linux/generic/pending-3.18/307-mips_highmem_offset.patch create mode 100644 target/linux/generic/pending-3.18/310-arm_module_unresolved_weak_sym.patch create mode 100644 target/linux/generic/pending-3.18/320-ppc4xx_optimization.patch create mode 100644 target/linux/generic/pending-3.18/321-powerpc_crtsavres_prereq.patch create mode 100644 target/linux/generic/pending-3.18/330-MIPS-kexec-Accept-command-line-parameters-from-users.patch create mode 100644 target/linux/generic/pending-3.18/400-mtd-add-rootfs-split-support.patch create mode 100644 target/linux/generic/pending-3.18/401-mtd-add-support-for-different-partition-parser-types.patch create mode 100644 target/linux/generic/pending-3.18/402-mtd-use-typed-mtd-parsers-for-rootfs-and-firmware-split.patch create mode 100644 target/linux/generic/pending-3.18/403-mtd-hook-mtdsplit-to-Kbuild.patch create mode 100644 target/linux/generic/pending-3.18/404-mtd-add-more-helper-functions.patch create mode 100644 target/linux/generic/pending-3.18/405-mtd-old-firmware-uimage-splitter.patch create mode 100644 target/linux/generic/pending-3.18/406-mtd-old-rootfs-squashfs-splitter.patch create mode 100644 target/linux/generic/pending-3.18/410-mtd-move-forward-declaration-of-struct-mtd_info.patch create mode 100644 target/linux/generic/pending-3.18/411-mtd-partial_eraseblock_write.patch create mode 100644 target/linux/generic/pending-3.18/412-mtd-partial_eraseblock_unlock.patch create mode 100644 target/linux/generic/pending-3.18/420-mtd-redboot_space.patch create mode 100644 target/linux/generic/pending-3.18/430-mtd-add-myloader-partition-parser.patch create mode 100644 target/linux/generic/pending-3.18/431-mtd-bcm47xxpart-check-for-bad-blocks-when-calculatin.patch create mode 100644 target/linux/generic/pending-3.18/432-mtd-bcm47xxpart-detect-T_Meter-partition.patch create mode 100644 target/linux/generic/pending-3.18/440-block2mtd_init.patch create mode 100644 target/linux/generic/pending-3.18/441-block2mtd_probe.patch create mode 100644 target/linux/generic/pending-3.18/450-mtd-nand-allow-to-use-platform-specific-chip-fixup.patch create mode 100644 target/linux/generic/pending-3.18/451-mtd-nand-fix-return-code-of-nand_correct_data-function.patch create mode 100644 target/linux/generic/pending-3.18/460-mtd-cfi_cmdset_0002-no-erase_suspend.patch create mode 100644 target/linux/generic/pending-3.18/461-mtd-cfi_cmdset_0002-add-buffer-write-cmd-timeout.patch create mode 100644 target/linux/generic/pending-3.18/472-mtd-m25p80-add-support-for-Winbond-W25X05-flash.patch create mode 100644 target/linux/generic/pending-3.18/473-mtd-spi-nor-add-support-for-the-Macronix-MX25L512E-S.patch create mode 100644 target/linux/generic/pending-3.18/474-mtd-spi-nor-add-support-for-the-ISSI-SI25CD512-SPI-f.patch create mode 100644 target/linux/generic/pending-3.18/475-mtd-spi-nor-add-macronix-mx25u25635f.patch create mode 100644 target/linux/generic/pending-3.18/480-mtd-set-rootfs-to-be-root-dev.patch create mode 100644 target/linux/generic/pending-3.18/490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch create mode 100644 target/linux/generic/pending-3.18/491-ubi-auto-create-ubiblock-device-for-rootfs.patch create mode 100644 target/linux/generic/pending-3.18/492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch create mode 100644 target/linux/generic/pending-3.18/493-ubi-set-ROOT_DEV-to-ubiblock-rootfs-if-unset.patch create mode 100644 target/linux/generic/pending-3.18/494-mtd-ubi-add-EOF-marker-support.patch create mode 100644 target/linux/generic/pending-3.18/530-jffs2_make_lzma_available.patch create mode 100644 target/linux/generic/pending-3.18/531-debloat_lzma.patch create mode 100644 target/linux/generic/pending-3.18/532-jffs2_eofdetect.patch create mode 100644 target/linux/generic/pending-3.18/550-ubifs-symlink-xattr-support.patch create mode 100644 target/linux/generic/pending-3.18/551-ubifs-fix-default-compression-selection.patch create mode 100644 target/linux/generic/pending-3.18/600-netfilter_conntrack_flush.patch create mode 100644 target/linux/generic/pending-3.18/610-netfilter_match_bypass_default_checks.patch create mode 100644 target/linux/generic/pending-3.18/611-netfilter_match_bypass_default_table.patch create mode 100644 target/linux/generic/pending-3.18/612-netfilter_match_reduce_memory_access.patch create mode 100644 target/linux/generic/pending-3.18/613-netfilter_optional_tcp_window_check.patch create mode 100644 target/linux/generic/pending-3.18/616-net_optimize_xfrm_calls.patch create mode 100644 target/linux/generic/pending-3.18/621-sched_act_connmark.patch create mode 100644 target/linux/generic/pending-3.18/630-packet_socket_type.patch create mode 100644 target/linux/generic/pending-3.18/640-bridge_no_eap_forward.patch create mode 100644 target/linux/generic/pending-3.18/641-bridge_always_accept_eap.patch create mode 100644 target/linux/generic/pending-3.18/642-bridge_port_isolate.patch create mode 100644 target/linux/generic/pending-3.18/645-bridge_multicast_to_unicast.patch create mode 100644 target/linux/generic/pending-3.18/650-pppoe_header_pad.patch create mode 100644 target/linux/generic/pending-3.18/651-wireless_mesh_header.patch create mode 100644 target/linux/generic/pending-3.18/653-disable_netlink_trim.patch create mode 100644 target/linux/generic/pending-3.18/655-increase_skb_pad.patch create mode 100644 target/linux/generic/pending-3.18/656-skb_reduce_truesize-helper.patch create mode 100644 target/linux/generic/pending-3.18/657-qdisc_reduce_truesize.patch create mode 100644 target/linux/generic/pending-3.18/660-fq_codel_defaults.patch create mode 100644 target/linux/generic/pending-3.18/661-fq_codel_keep_dropped_stats.patch create mode 100644 target/linux/generic/pending-3.18/662-use_fq_codel_by_default.patch create mode 100644 target/linux/generic/pending-3.18/663-remove_pfifo_fast.patch create mode 100644 target/linux/generic/pending-3.18/666-Add-support-for-MAP-E-FMRs-mesh-mode.patch create mode 100644 target/linux/generic/pending-3.18/667-ipv6-Fixed-source-specific-default-route-handling.patch create mode 100644 target/linux/generic/pending-3.18/670-ipv6-allow-rejecting-with-source-address-failed-policy.patch create mode 100644 target/linux/generic/pending-3.18/671-net-provide-defines-for-_POLICY_FAILED-until-all-cod.patch create mode 100644 target/linux/generic/pending-3.18/680-NET-skip-GRO-for-foreign-MAC-addresses.patch create mode 100644 target/linux/generic/pending-3.18/681-NET-add-of_get_mac_address_mtd.patch create mode 100644 target/linux/generic/pending-3.18/700-swconfig.patch create mode 100644 target/linux/generic/pending-3.18/701-phy_extension.patch create mode 100644 target/linux/generic/pending-3.18/702-phy_add_aneg_done_function.patch create mode 100644 target/linux/generic/pending-3.18/703-phy-add-detach-callback-to-struct-phy_driver.patch create mode 100644 target/linux/generic/pending-3.18/704-phy-no-genphy-soft-reset.patch create mode 100644 target/linux/generic/pending-3.18/710-phy-add-mdio_register_board_info.patch create mode 100644 target/linux/generic/pending-3.18/720-phy_adm6996.patch create mode 100644 target/linux/generic/pending-3.18/721-phy_packets.patch create mode 100644 target/linux/generic/pending-3.18/722-phy_mvswitch.patch create mode 100644 target/linux/generic/pending-3.18/723-phy_ip175c.patch create mode 100644 target/linux/generic/pending-3.18/724-phy_ar8216.patch create mode 100644 target/linux/generic/pending-3.18/725-phy_rtl8306.patch create mode 100644 target/linux/generic/pending-3.18/726-phy_rtl8366.patch create mode 100644 target/linux/generic/pending-3.18/727-phy-rtl8367.patch create mode 100644 target/linux/generic/pending-3.18/728-phy-rtl8367b.patch create mode 100644 target/linux/generic/pending-3.18/729-phy-tantos.patch create mode 100644 target/linux/generic/pending-3.18/730-phy_b53.patch create mode 100644 target/linux/generic/pending-3.18/732-phy-ar8216-led-support.patch create mode 100644 target/linux/generic/pending-3.18/733-phy_mvsw61xx.patch create mode 100644 target/linux/generic/pending-3.18/734-net-phy-at803x-allow-to-configure-via-pdata.patch create mode 100644 target/linux/generic/pending-3.18/735-net-phy-at803x-fix-at8033-sgmii-mode.patch create mode 100644 target/linux/generic/pending-3.18/760-8139cp-fixes-from-4.3.patch create mode 100644 target/linux/generic/pending-3.18/773-bgmac-add-srab-switch.patch create mode 100644 target/linux/generic/pending-3.18/785-hso-support-0af0-9300.patch create mode 100644 target/linux/generic/pending-3.18/810-pci_disable_common_quirks.patch create mode 100644 target/linux/generic/pending-3.18/811-pci_disable_usb_common_quirks.patch create mode 100644 target/linux/generic/pending-3.18/821-usb-dwc2-dualrole.patch create mode 100644 target/linux/generic/pending-3.18/831-ledtrig_netdev.patch create mode 100644 target/linux/generic/pending-3.18/834-ledtrig-libata.patch create mode 100644 target/linux/generic/pending-3.18/840-rtc7301.patch create mode 100644 target/linux/generic/pending-3.18/841-rtc_pt7c4338.patch create mode 100644 target/linux/generic/pending-3.18/861-04_spi_gpio_implement_spi_delay.patch create mode 100644 target/linux/generic/pending-3.18/862-gpio_spi_driver.patch create mode 100644 target/linux/generic/pending-3.18/870-hifn795x_byteswap.patch create mode 100644 target/linux/generic/pending-3.18/890-8250_optional_sysrq.patch create mode 100644 target/linux/generic/pending-3.18/901-debloat_sock_diag.patch create mode 100644 target/linux/generic/pending-3.18/902-debloat_proc.patch create mode 100644 target/linux/generic/pending-3.18/904-debloat_dma_buf.patch create mode 100644 target/linux/generic/pending-3.18/910-kobject_uevent.patch create mode 100644 target/linux/generic/pending-3.18/911-kobject_add_broadcast_uevent.patch create mode 100644 target/linux/generic/pending-3.18/921-use_preinit_as_init.patch create mode 100644 target/linux/generic/pending-3.18/922-always-create-console-node-in-initramfs.patch create mode 100644 target/linux/generic/pending-3.18/930-crashlog.patch create mode 100644 target/linux/generic/pending-3.18/970-remove-unsane-filenames-from-deps_initramfs-list.patch create mode 100644 target/linux/generic/pending-3.18/980-arm_openwrt_machtypes.patch create mode 100644 target/linux/generic/pending-3.18/990-gpio_wdt.patch create mode 100644 target/linux/generic/pending-3.18/995-mangle_bootargs.patch create mode 100644 target/linux/generic/pending-3.18/997-device_tree_cmdline.patch create mode 100644 target/linux/generic/pending-3.18/998-enable_wilink_platform_without_drivers.patch create mode 100644 target/linux/generic/pending-3.18/999-seccomp_log.patch create mode 100644 target/linux/generic/pending-4.4/001-mtdsplit_backport.patch create mode 100644 target/linux/generic/pending-4.4/002-phy_drivers_backport.patch create mode 100644 target/linux/generic/pending-4.4/003-myloader_backport.patch create mode 100644 target/linux/generic/pending-4.4/010-Kbuild-don-t-hardcode-path-to-awk-in-scripts-ld-vers.patch create mode 100644 target/linux/generic/pending-4.4/020-bcma-from-4.5.patch create mode 100644 target/linux/generic/pending-4.4/021-bcma-from-4.6.patch create mode 100644 target/linux/generic/pending-4.4/022-bcma-from-4.8.patch create mode 100644 target/linux/generic/pending-4.4/023-bcma-from-4.9.patch create mode 100644 target/linux/generic/pending-4.4/025-bcma-from-4.11.patch create mode 100644 target/linux/generic/pending-4.4/026-bcma-from-4.12.patch create mode 100644 target/linux/generic/pending-4.4/030-1-smsc95xx-Use-skb_cow_head-to-deal-with-cloned-skbs.patch create mode 100644 target/linux/generic/pending-4.4/030-2-smsc75xx-use-skb_cow_head-to-deal-with-cloned-skbs.patch create mode 100644 target/linux/generic/pending-4.4/030-3-cx82310_eth-use-skb_cow_head-to-deal-with-cloned-skb.patch create mode 100644 target/linux/generic/pending-4.4/030-4-sr9700-use-skb_cow_head-to-deal-with-cloned-skbs.patch create mode 100644 target/linux/generic/pending-4.4/030-5-lan78xx-use-skb_cow_head-to-deal-with-cloned-skbs.patch create mode 100644 target/linux/generic/pending-4.4/030-6-ch9200-use-skb_cow_head-to-deal-with-cloned-skbs.patch create mode 100644 target/linux/generic/pending-4.4/030-7-kaweth-use-skb_cow_head-to-deal-with-cloned-skbs.patch create mode 100644 target/linux/generic/pending-4.4/032-fq_codel-add-batch-ability-to-fq_codel_drop.patch create mode 100644 target/linux/generic/pending-4.4/033-fq_codel-add-memory-limitation-per-queue.patch create mode 100644 target/linux/generic/pending-4.4/034-fq_codel-fix-memory-limitation-drift.patch create mode 100644 target/linux/generic/pending-4.4/035-fq_codel-fix-NET_XMIT_CN-behavior.patch create mode 100644 target/linux/generic/pending-4.4/041-mtd-spi-nor-include-mtd.h-header-for-struct-mtd_info.patch create mode 100644 target/linux/generic/pending-4.4/042-0001-mtd-bcm47xxsflash-use-ioremap_cache-instead-of-KSEG0.patch create mode 100644 target/linux/generic/pending-4.4/042-0002-mtd-add-arch-dependency-for-MTD_BCM47XXSFLASH-symbol.patch create mode 100644 target/linux/generic/pending-4.4/042-0003-mtd-bcm47xxsflash-use-uncached-MMIO-access-for-BCM53.patch create mode 100644 target/linux/generic/pending-4.4/042-0005-mtd-bcm47xxsflash-use-platform_-set-get-_drvdata.patch create mode 100644 target/linux/generic/pending-4.4/042-0006-mtd-bcm47xxsflash-support-reading-flash-out-of-mappi.patch create mode 100644 target/linux/generic/pending-4.4/042-0007-mtd-bcm47xxpart-move-TRX-parsing-code-to-separated-f.patch create mode 100644 target/linux/generic/pending-4.4/042-0008-mtd-bcm47xxpart-support-layouts-with-multiple-TRX-pa.patch create mode 100644 target/linux/generic/pending-4.4/043-mtd-spi-nor-mx25l3205d-mx25l6405d-append-SECT_4K.patch create mode 100644 target/linux/generic/pending-4.4/045-mtd-devices-m25p80-add-support-for-mmap-read-request.patch create mode 100644 target/linux/generic/pending-4.4/046-ubifs-silence-error-output-if-MS_SILENT-is-set.patch create mode 100644 target/linux/generic/pending-4.4/047-ubifs-silence-early-error-if-MS_SILENT-is-set.patch create mode 100644 target/linux/generic/pending-4.4/048-mtd-spi-nor-backport-SPI_NOR_HAS_LOCK-flag.patch create mode 100644 target/linux/generic/pending-4.4/050-backport_netfilter_rtcache.patch create mode 100644 target/linux/generic/pending-4.4/051-0001-ovl-rename-is_merge-to-is_lowest.patch create mode 100644 target/linux/generic/pending-4.4/051-0002-ovl-override-creds-with-the-ones-from-the-superblock.patch create mode 100644 target/linux/generic/pending-4.4/051-0005-ovl-proper-cleanup-of-workdir.patch create mode 100644 target/linux/generic/pending-4.4/052-01-ubifs-Implement-O_TMPFILE.patch create mode 100644 target/linux/generic/pending-4.4/052-02-ubifs-Implement-RENAME_WHITEOUT.patch create mode 100644 target/linux/generic/pending-4.4/052-03-ubifs-Implement-RENAME_EXCHANGE.patch create mode 100644 target/linux/generic/pending-4.4/052-04-ubifs-Use-move-variable-in-ubifs_rename.patch create mode 100644 target/linux/generic/pending-4.4/053-0001-ubifs-Drop-softlimit-and-delta-fields-from-struct-ub.patch create mode 100644 target/linux/generic/pending-4.4/053-0002-ubifs-Use-dirty_writeback_interval-value-for-wbuf-ti.patch create mode 100644 target/linux/generic/pending-4.4/060-mips_decompressor_memmove.patch create mode 100644 target/linux/generic/pending-4.4/061-softirq-let-ksoftirqd-do-its-job.patch create mode 100644 target/linux/generic/pending-4.4/070-v4.5-0003-net-bgmac-clarify-CONFIG_BCMA-dependency.patch create mode 100644 target/linux/generic/pending-4.4/070-v4.6-0001-bgmac-add-helper-checking-for-BCM4707-BCM53018-chip-.patch create mode 100644 target/linux/generic/pending-4.4/070-v4.6-0002-bgmac-support-Ethernet-device-on-BCM47094-SoC.patch create mode 100644 target/linux/generic/pending-4.4/070-v4.6-0004-bgmac-fix-MAC-soft-reset-bit-for-corerev-4.patch create mode 100644 target/linux/generic/pending-4.4/070-v4.8-0001-bgmac-Bind-net_device-with-backing-device-structure.patch create mode 100644 target/linux/generic/pending-4.4/070-v4.8-0002-bgmac-Add-support-for-ethtool-statistics.patch create mode 100644 target/linux/generic/pending-4.4/070-v4.8-0003-bgmac-Maintain-some-netdev-statistics.patch create mode 100644 target/linux/generic/pending-4.4/070-v4.8-0004-net-ethernet-bgmac-use-phydev-from-struct-net_device.patch create mode 100644 target/linux/generic/pending-4.4/071-v4.8-0001-net-ethernet-bgmac-change-bgmac_-prints-to-dev_-prin.patch create mode 100644 target/linux/generic/pending-4.4/071-v4.8-0002-net-ethernet-bgmac-add-dma_dev-pointer.patch create mode 100644 target/linux/generic/pending-4.4/071-v4.8-0003-net-ethernet-bgmac-move-BCMA-MDIO-Phy-code-into-a-se.patch create mode 100644 target/linux/generic/pending-4.4/071-v4.8-0004-net-ethernet-bgmac-convert-to-feature-flags.patch create mode 100644 target/linux/generic/pending-4.4/071-v4.8-0005-net-ethernet-bgmac-Add-platform-device-support.patch create mode 100644 target/linux/generic/pending-4.4/071-v4.8-0006-net-ethernet-bgmac-Fix-return-value-check-in-bgmac_p.patch create mode 100644 target/linux/generic/pending-4.4/071-v4.8-0007-net-ethernet-bgmac-Remove-redundant-dev_err-call-in-.patch create mode 100644 target/linux/generic/pending-4.4/071-v4.8-0009-net-bgmac-fix-reversed-check-for-MII-registration-er.patch create mode 100644 target/linux/generic/pending-4.4/071-v4.9-0001-net-bgmac-support-Ethernet-core-on-BCM53573-SoCs.patch create mode 100644 target/linux/generic/pending-4.4/071-v4.9-0002-net-bgmac-make-it-clear-when-setting-interface-type-.patch create mode 100644 target/linux/generic/pending-4.4/071-v4.9-0003-net-bgmac-Fix-errant-feature-flag-check.patch create mode 100644 target/linux/generic/pending-4.4/071-v4.9-0004-net-bgmac-fix-spelling-mistake-connecton-connection.patch create mode 100644 target/linux/generic/pending-4.4/071-v4.9-0005-net-bgmac-fix-reversed-checks-for-clock-control-flag.patch create mode 100644 target/linux/generic/pending-4.4/072-net-add-devm-version-of-alloc_etherdev_mqs-function.patch create mode 100644 target/linux/generic/pending-4.4/073-v4.10-0001-net-bgmac-allocate-struct-bgmac-just-once-don-t-copy.patch create mode 100644 target/linux/generic/pending-4.4/073-v4.10-0002-net-bgmac-drop-struct-bcma_mdio-we-don-t-need-anymor.patch create mode 100644 target/linux/generic/pending-4.4/073-v4.10-0003-net-bgmac-use-PHY-subsystem-for-initializing-PHY.patch create mode 100644 target/linux/generic/pending-4.4/074-NET-PHY-adds-driver-for-lantiq-PHY11G.patch create mode 100644 target/linux/generic/pending-4.4/078-0001-net-phy-update-Broadcom-drivers-to-v4.5.patch create mode 100644 target/linux/generic/pending-4.4/078-0002-net-phy-update-Broadcom-drivers-to-v4.6.patch create mode 100644 target/linux/generic/pending-4.4/078-0003-net-phy-cherry-pick-Broadcom-drivers-updates-from-v4.patch create mode 100644 target/linux/generic/pending-4.4/078-0004-net-phy-pick-Broadcom-drivers-updates-from-net-next-.patch create mode 100644 target/linux/generic/pending-4.4/080-spi-introduce-accelerated-read-support-for-spi-flash.patch create mode 100644 target/linux/generic/pending-4.4/081-spi-bcm53xx-add-spi_flash_read-callback-for-MMIO-bas.patch create mode 100644 target/linux/generic/pending-4.4/082-0001-USB-core-let-USB-device-know-device-node.patch create mode 100644 target/linux/generic/pending-4.4/082-0002-usb-core-usb_alloc_dev-fix-setting-of-portnum.patch create mode 100644 target/linux/generic/pending-4.4/083-0001-clk-Add-devm_-clk_hw_-register-unregister-APIs.patch create mode 100644 target/linux/generic/pending-4.4/083-0002-clk-Add-clk_hw-OF-clk-providers.patch create mode 100644 target/linux/generic/pending-4.4/084-0001-usb-core-Introduce-a-USB-port-LED-trigger.patch create mode 100644 target/linux/generic/pending-4.4/084-0002-usb-core-usbport-Use-proper-LED-API-to-fix-potential.patch create mode 100644 target/linux/generic/pending-4.4/084-0003-usb-core-read-USB-ports-from-DT-in-the-usbport-LED-t.patch create mode 100644 target/linux/generic/pending-4.4/085-0001-leds-leds-gpio-Set-of_node-for-created-LED-devices.patch create mode 100644 target/linux/generic/pending-4.4/085-0002-leds-gpio-introduce-gpio_blink_set_t.patch create mode 100644 target/linux/generic/pending-4.4/085-0003-leds-gpio-switch-to-managed-version-of-led_classdev_.patch create mode 100644 target/linux/generic/pending-4.4/085-0004-leds-core-add-OF-variants-of-LED-registering-functio.patch create mode 100644 target/linux/generic/pending-4.4/085-0005-leds-gpio-use-OF-variant-of-LED-registering-function.patch create mode 100644 target/linux/generic/pending-4.4/086-0001-thermal-of-thermal-Add-devm-version-of-thermal_zone_.patch create mode 100644 target/linux/generic/pending-4.4/086-0002-thermal-core-export-apis-to-get-slope-and-offset.patch create mode 100644 target/linux/generic/pending-4.4/086-0003-thermal-bcm2835-add-thermal-driver-for-bcm2835-SoC.patch create mode 100644 target/linux/generic/pending-4.4/086-0004-thermal-broadcom-add-Northstar-thermal-driver.patch create mode 100644 target/linux/generic/pending-4.4/086-0005-thermal-broadcom-fix-compilation-of-Northstar-driver.patch create mode 100644 target/linux/generic/pending-4.4/087-regmap-make-LZO-cache-optional.patch create mode 100644 target/linux/generic/pending-4.4/090-MIPS-c-r4k-Use-IPI-calls-for-CM-indexed-cache-ops.patch create mode 100644 target/linux/generic/pending-4.4/091-MIPS-c-r4k-Exclude-sibling-CPUs-in-SMP-calls.patch create mode 100644 target/linux/generic/pending-4.4/092-MIPS-ZBOOT-copy-appended-dtb-to-the-end-of-the-kerne.patch create mode 100644 target/linux/generic/pending-4.4/093-MIPS-store-the-appended-dtb-address-in-a-variable.patch create mode 100644 target/linux/generic/pending-4.4/094-MIPS-c-r4k-Fix-size-calc-when-avoiding-IPIs-for-smal.patch create mode 100644 target/linux/generic/pending-4.4/096-arc-add-model-property-in-dts.patch create mode 100644 target/linux/generic/pending-4.4/097-MIPS-io.h-Define-ioremap_cache.patch create mode 100644 target/linux/generic/pending-4.4/098-usb-dwc2-Remove-unnecessary-kfree.patch create mode 100644 target/linux/generic/pending-4.4/101-MIPS-fix-cache-flushing-for-highmem-pages.patch create mode 100644 target/linux/generic/pending-4.4/102-ehci_hcd_ignore_oc.patch create mode 100644 target/linux/generic/pending-4.4/103-Fix-alloc_node_mem_map-with-ARCH_PFN_OFFSET-calcu.patch create mode 100644 target/linux/generic/pending-4.4/105-add-linux-spidev-compatible.patch create mode 100644 target/linux/generic/pending-4.4/106-spi-use-gpio_set_value_cansleep-for-setting-chipsele.patch create mode 100644 target/linux/generic/pending-4.4/110-jffs2-use-.rename2-and-add-RENAME_WHITEOUT-support.patch create mode 100644 target/linux/generic/pending-4.4/111-jffs2-add-RENAME_EXCHANGE-support.patch create mode 100644 target/linux/generic/pending-4.4/120-bridge_allow_receiption_on_disabled_port.patch create mode 100644 target/linux/generic/pending-4.4/132-mips_inline_dma_ops.patch create mode 100644 target/linux/generic/pending-4.4/140-mtd-part-add-generic-parsing-of-linux-part-probe.patch create mode 100644 target/linux/generic/pending-4.4/150-mtd-spi-nor-add-support-for-ESMT_f25l32qa-and-ESMT_f.patch create mode 100644 target/linux/generic/pending-4.4/160-usb-gadget-udc-net2280-add-usb2380-support.patch create mode 100644 target/linux/generic/pending-4.4/180-Revert-bcma-init-serial-console-directly-from-ChipCo.patch create mode 100644 target/linux/generic/pending-4.4/200-fix_localversion.patch create mode 100644 target/linux/generic/pending-4.4/201-extra_optimization.patch create mode 100644 target/linux/generic/pending-4.4/202-reduce_module_size.patch create mode 100644 target/linux/generic/pending-4.4/203-kallsyms_uncompressed.patch create mode 100644 target/linux/generic/pending-4.4/204-module_strip.patch create mode 100644 target/linux/generic/pending-4.4/205-backtrace_module_info.patch create mode 100644 target/linux/generic/pending-4.4/206-mips-disable-vdso.patch create mode 100644 target/linux/generic/pending-4.4/207-mips-vdso-dbg-rebuild-after-genvdso.patch create mode 100644 target/linux/generic/pending-4.4/208-disable-modorder.patch create mode 100644 target/linux/generic/pending-4.4/210-darwin_scripts_include.patch create mode 100644 target/linux/generic/pending-4.4/211-sign-file-libressl.patch create mode 100644 target/linux/generic/pending-4.4/212-byteshift_portability.patch create mode 100644 target/linux/generic/pending-4.4/214-spidev_h_portability.patch create mode 100644 target/linux/generic/pending-4.4/220-gc_sections.patch create mode 100644 target/linux/generic/pending-4.4/221-module_exports.patch create mode 100644 target/linux/generic/pending-4.4/222-arm_zimage_none.patch create mode 100644 target/linux/generic/pending-4.4/230-openwrt_lzma_options.patch create mode 100644 target/linux/generic/pending-4.4/250-netfilter_depends.patch create mode 100644 target/linux/generic/pending-4.4/251-sound_kconfig.patch create mode 100644 target/linux/generic/pending-4.4/252-mv_cesa_depends.patch create mode 100644 target/linux/generic/pending-4.4/253-ssb_b43_default_on.patch create mode 100644 target/linux/generic/pending-4.4/254-textsearch_kconfig_hacks.patch create mode 100644 target/linux/generic/pending-4.4/255-lib80211_kconfig_hacks.patch create mode 100644 target/linux/generic/pending-4.4/256-crypto_add_kconfig_prompts.patch create mode 100644 target/linux/generic/pending-4.4/257-wireless_ext_kconfig_hack.patch create mode 100644 target/linux/generic/pending-4.4/258-netfilter_netlink_kconfig_hack.patch create mode 100644 target/linux/generic/pending-4.4/259-regmap_dynamic.patch create mode 100644 target/linux/generic/pending-4.4/260-crypto_test_dependencies.patch create mode 100644 target/linux/generic/pending-4.4/270-uapi-kernel.h-glibc-specific-inclusion-of-sysinfo.h.patch create mode 100644 target/linux/generic/pending-4.4/271-uapi-libc-compat.h-do-not-rely-on-__GLIBC__.patch create mode 100644 target/linux/generic/pending-4.4/272-uapi-if_ether.h-prevent-redefinition-of-struct-ethhd.patch create mode 100644 target/linux/generic/pending-4.4/280-rfkill-stubs.patch create mode 100644 target/linux/generic/pending-4.4/300-mips_expose_boot_raw.patch create mode 100644 target/linux/generic/pending-4.4/301-mips_image_cmdline_hack.patch create mode 100644 target/linux/generic/pending-4.4/302-mips_no_branch_likely.patch create mode 100644 target/linux/generic/pending-4.4/304-mips_disable_fpu.patch create mode 100644 target/linux/generic/pending-4.4/305-mips_module_reloc.patch create mode 100644 target/linux/generic/pending-4.4/306-mips_mem_functions_performance.patch create mode 100644 target/linux/generic/pending-4.4/307-mips_highmem_offset.patch create mode 100644 target/linux/generic/pending-4.4/308-mips32r2_tune.patch create mode 100644 target/linux/generic/pending-4.4/310-arm_module_unresolved_weak_sym.patch create mode 100644 target/linux/generic/pending-4.4/320-ppc4xx_optimization.patch create mode 100644 target/linux/generic/pending-4.4/321-powerpc_crtsavres_prereq.patch create mode 100644 target/linux/generic/pending-4.4/330-MIPS-kexec-Accept-command-line-parameters-from-users.patch create mode 100644 target/linux/generic/pending-4.4/331-arc-remove-dependency-on-DEVTMPFS.patch create mode 100644 target/linux/generic/pending-4.4/332-arc-add-OWRTDTB-section.patch create mode 100644 target/linux/generic/pending-4.4/333-arc-enable-unaligned-access-in-kernel-mode.patch create mode 100644 target/linux/generic/pending-4.4/400-mtd-add-rootfs-split-support.patch create mode 100644 target/linux/generic/pending-4.4/401-mtd-add-support-for-different-partition-parser-types.patch create mode 100644 target/linux/generic/pending-4.4/402-mtd-use-typed-mtd-parsers-for-rootfs-and-firmware-split.patch create mode 100644 target/linux/generic/pending-4.4/403-mtd-hook-mtdsplit-to-Kbuild.patch create mode 100644 target/linux/generic/pending-4.4/404-mtd-add-more-helper-functions.patch create mode 100644 target/linux/generic/pending-4.4/410-mtd-move-forward-declaration-of-struct-mtd_info.patch create mode 100644 target/linux/generic/pending-4.4/411-mtd-partial_eraseblock_write.patch create mode 100644 target/linux/generic/pending-4.4/412-mtd-partial_eraseblock_unlock.patch create mode 100644 target/linux/generic/pending-4.4/420-mtd-redboot_space.patch create mode 100644 target/linux/generic/pending-4.4/430-mtd-add-myloader-partition-parser.patch create mode 100644 target/linux/generic/pending-4.4/431-mtd-bcm47xxpart-check-for-bad-blocks-when-calculatin.patch create mode 100644 target/linux/generic/pending-4.4/432-mtd-bcm47xxpart-detect-T_Meter-partition.patch create mode 100644 target/linux/generic/pending-4.4/440-block2mtd_init.patch create mode 100644 target/linux/generic/pending-4.4/441-block2mtd_probe.patch create mode 100644 target/linux/generic/pending-4.4/450-mtd-nand-allow-to-use-platform-specific-chip-fixup.patch create mode 100644 target/linux/generic/pending-4.4/451-mtd-nand-fix-return-code-of-nand_correct_data-function.patch create mode 100644 target/linux/generic/pending-4.4/460-mtd-cfi_cmdset_0002-no-erase_suspend.patch create mode 100644 target/linux/generic/pending-4.4/461-mtd-cfi_cmdset_0002-add-buffer-write-cmd-timeout.patch create mode 100644 target/linux/generic/pending-4.4/465-m25p80-mx-disable-software-protection.patch create mode 100644 target/linux/generic/pending-4.4/475-mtd-spi-nor-add-macronix-mx25u25635f.patch create mode 100644 target/linux/generic/pending-4.4/476-mtd-spi-nor-add-eon-en25q128.patch create mode 100644 target/linux/generic/pending-4.4/477-mtd-add-spi-nor-add-mx25u3235f.patch create mode 100644 target/linux/generic/pending-4.4/479-enable_mtd_has_lock_for_f25l32pa.patch create mode 100644 target/linux/generic/pending-4.4/480-mtd-set-rootfs-to-be-root-dev.patch create mode 100644 target/linux/generic/pending-4.4/490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch create mode 100644 target/linux/generic/pending-4.4/491-ubi-auto-create-ubiblock-device-for-rootfs.patch create mode 100644 target/linux/generic/pending-4.4/492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch create mode 100644 target/linux/generic/pending-4.4/493-ubi-set-ROOT_DEV-to-ubiblock-rootfs-if-unset.patch create mode 100644 target/linux/generic/pending-4.4/494-mtd-ubi-add-EOF-marker-support.patch create mode 100644 target/linux/generic/pending-4.4/530-jffs2_make_lzma_available.patch create mode 100644 target/linux/generic/pending-4.4/531-debloat_lzma.patch create mode 100644 target/linux/generic/pending-4.4/532-jffs2_eofdetect.patch create mode 100644 target/linux/generic/pending-4.4/551-ubifs-fix-default-compression-selection.patch create mode 100644 target/linux/generic/pending-4.4/600-netfilter_conntrack_flush.patch create mode 100644 target/linux/generic/pending-4.4/610-netfilter_match_bypass_default_checks.patch create mode 100644 target/linux/generic/pending-4.4/611-netfilter_match_bypass_default_table.patch create mode 100644 target/linux/generic/pending-4.4/612-netfilter_match_reduce_memory_access.patch create mode 100644 target/linux/generic/pending-4.4/613-netfilter_optional_tcp_window_check.patch create mode 100644 target/linux/generic/pending-4.4/616-net_optimize_xfrm_calls.patch create mode 100644 target/linux/generic/pending-4.4/630-packet_socket_type.patch create mode 100644 target/linux/generic/pending-4.4/640-bridge_no_eap_forward.patch create mode 100644 target/linux/generic/pending-4.4/641-bridge_always_accept_eap.patch create mode 100644 target/linux/generic/pending-4.4/642-bridge_port_isolate.patch create mode 100644 target/linux/generic/pending-4.4/645-bridge_multicast_to_unicast.patch create mode 100644 target/linux/generic/pending-4.4/650-pppoe_header_pad.patch create mode 100644 target/linux/generic/pending-4.4/651-wireless_mesh_header.patch create mode 100644 target/linux/generic/pending-4.4/653-disable_netlink_trim.patch create mode 100644 target/linux/generic/pending-4.4/655-increase_skb_pad.patch create mode 100644 target/linux/generic/pending-4.4/660-fq_codel_defaults.patch create mode 100644 target/linux/generic/pending-4.4/661-fq_codel_keep_dropped_stats.patch create mode 100644 target/linux/generic/pending-4.4/662-use_fq_codel_by_default.patch create mode 100644 target/linux/generic/pending-4.4/663-remove_pfifo_fast.patch create mode 100644 target/linux/generic/pending-4.4/666-Add-support-for-MAP-E-FMRs-mesh-mode.patch create mode 100644 target/linux/generic/pending-4.4/670-ipv6-allow-rejecting-with-source-address-failed-policy.patch create mode 100644 target/linux/generic/pending-4.4/671-net-provide-defines-for-_POLICY_FAILED-until-all-cod.patch create mode 100644 target/linux/generic/pending-4.4/680-NET-skip-GRO-for-foreign-MAC-addresses.patch create mode 100644 target/linux/generic/pending-4.4/681-NET-add-of_get_mac_address_mtd.patch create mode 100644 target/linux/generic/pending-4.4/700-swconfig.patch create mode 100644 target/linux/generic/pending-4.4/701-phy_extension.patch create mode 100644 target/linux/generic/pending-4.4/702-phy_add_aneg_done_function.patch create mode 100644 target/linux/generic/pending-4.4/703-phy-add-detach-callback-to-struct-phy_driver.patch create mode 100644 target/linux/generic/pending-4.4/704-phy-no-genphy-soft-reset.patch create mode 100644 target/linux/generic/pending-4.4/710-phy-add-mdio_register_board_info.patch create mode 100644 target/linux/generic/pending-4.4/720-phy_adm6996.patch create mode 100644 target/linux/generic/pending-4.4/721-phy_packets.patch create mode 100644 target/linux/generic/pending-4.4/722-phy_mvswitch.patch create mode 100644 target/linux/generic/pending-4.4/723-phy_ip175c.patch create mode 100644 target/linux/generic/pending-4.4/724-phy_ar8216.patch create mode 100644 target/linux/generic/pending-4.4/725-phy_rtl8306.patch create mode 100644 target/linux/generic/pending-4.4/726-phy_rtl8366.patch create mode 100644 target/linux/generic/pending-4.4/727-phy-rtl8367.patch create mode 100644 target/linux/generic/pending-4.4/728-phy-rtl8367b.patch create mode 100644 target/linux/generic/pending-4.4/729-phy-tantos.patch create mode 100644 target/linux/generic/pending-4.4/730-phy_b53.patch create mode 100644 target/linux/generic/pending-4.4/732-phy-ar8216-led-support.patch create mode 100644 target/linux/generic/pending-4.4/733-phy_mvsw61xx.patch create mode 100644 target/linux/generic/pending-4.4/734-net-phy-at803x-allow-to-configure-via-pdata.patch create mode 100644 target/linux/generic/pending-4.4/735-net-phy-at803x-fix-at8033-sgmii-mode.patch create mode 100644 target/linux/generic/pending-4.4/736-at803x-fix-reset-handling.patch create mode 100644 target/linux/generic/pending-4.4/737-net-phy-at803x-Request-reset-GPIO-only-for-AT8030-PH.patch create mode 100644 target/linux/generic/pending-4.4/738-net-phy-at803x-only-the-AT8030-needs-a-hardware-rese.patch create mode 100644 target/linux/generic/pending-4.4/739-net-phy-at803x-add-support-for-AT8032.patch create mode 100644 target/linux/generic/pending-4.4/773-bgmac-add-srab-switch.patch create mode 100644 target/linux/generic/pending-4.4/810-pci_disable_common_quirks.patch create mode 100644 target/linux/generic/pending-4.4/811-pci_disable_usb_common_quirks.patch create mode 100644 target/linux/generic/pending-4.4/821-usb-Remove-annoying-warning-about-bogus-URB.patch create mode 100644 target/linux/generic/pending-4.4/831-ledtrig_netdev.patch create mode 100644 target/linux/generic/pending-4.4/834-ledtrig-libata.patch create mode 100644 target/linux/generic/pending-4.4/835-misc-owl_loader.patch create mode 100644 target/linux/generic/pending-4.4/840-rtc7301.patch create mode 100644 target/linux/generic/pending-4.4/841-rtc_pt7c4338.patch create mode 100644 target/linux/generic/pending-4.4/861-04_spi_gpio_implement_spi_delay.patch create mode 100644 target/linux/generic/pending-4.4/862-gpio_spi_driver.patch create mode 100644 target/linux/generic/pending-4.4/890-uart_optional_sysrq.patch create mode 100644 target/linux/generic/pending-4.4/901-debloat_sock_diag.patch create mode 100644 target/linux/generic/pending-4.4/902-debloat_proc.patch create mode 100644 target/linux/generic/pending-4.4/904-debloat_dma_buf.patch create mode 100644 target/linux/generic/pending-4.4/910-kobject_uevent.patch create mode 100644 target/linux/generic/pending-4.4/911-kobject_add_broadcast_uevent.patch create mode 100644 target/linux/generic/pending-4.4/921-use_preinit_as_init.patch create mode 100644 target/linux/generic/pending-4.4/922-always-create-console-node-in-initramfs.patch create mode 100644 target/linux/generic/pending-4.4/930-crashlog.patch create mode 100644 target/linux/generic/pending-4.4/970-remove-unsane-filenames-from-deps_initramfs-list.patch create mode 100644 target/linux/generic/pending-4.4/995-mangle_bootargs.patch create mode 100644 target/linux/generic/pending-4.4/998-enable_wilink_platform_without_drivers.patch create mode 100644 target/linux/generic/pending-4.9/100-MIPS-fix-cache-flushing-for-highmem-pages.patch create mode 100644 target/linux/generic/pending-4.9/110-ehci_hcd_ignore_oc.patch create mode 100644 target/linux/generic/pending-4.9/120-Fix-alloc_node_mem_map-with-ARCH_PFN_OFFSET-calcu.patch create mode 100644 target/linux/generic/pending-4.9/130-add-linux-spidev-compatible-si3210.patch create mode 100644 target/linux/generic/pending-4.9/131-spi-use-gpio_set_value_cansleep-for-setting-chipsele.patch create mode 100644 target/linux/generic/pending-4.9/140-jffs2-use-.rename2-and-add-RENAME_WHITEOUT-support.patch create mode 100644 target/linux/generic/pending-4.9/141-jffs2-add-RENAME_EXCHANGE-support.patch create mode 100644 target/linux/generic/pending-4.9/150-bridge_allow_receiption_on_disabled_port.patch create mode 100644 target/linux/generic/pending-4.9/160-mtd-part-add-generic-parsing-of-linux-part-probe.patch create mode 100644 target/linux/generic/pending-4.9/170-MIPS-PCI-add-controllers-before-the-specified-head.patch create mode 100644 target/linux/generic/pending-4.9/180-net-phy-at803x-add-support-for-AT8032.patch create mode 100644 target/linux/generic/pending-4.9/201-extra_optimization.patch create mode 100644 target/linux/generic/pending-4.9/203-kallsyms_uncompressed.patch create mode 100644 target/linux/generic/pending-4.9/205-backtrace_module_info.patch create mode 100644 target/linux/generic/pending-4.9/206-mips-disable-vdso.patch create mode 100644 target/linux/generic/pending-4.9/240-remove-unsane-filenames-from-deps_initramfs-list.patch create mode 100644 target/linux/generic/pending-4.9/261-enable_wilink_platform_without_drivers.patch create mode 100644 target/linux/generic/pending-4.9/270-uapi-kernel.h-glibc-specific-inclusion-of-sysinfo.h.patch create mode 100644 target/linux/generic/pending-4.9/271-uapi-libc-compat.h-do-not-rely-on-__GLIBC__.patch create mode 100644 target/linux/generic/pending-4.9/272-uapi-if_ether.h-prevent-redefinition-of-struct-ethhd.patch create mode 100644 target/linux/generic/pending-4.9/300-mips_expose_boot_raw.patch create mode 100644 target/linux/generic/pending-4.9/302-mips_no_branch_likely.patch create mode 100644 target/linux/generic/pending-4.9/304-mips_disable_fpu.patch create mode 100644 target/linux/generic/pending-4.9/305-mips_module_reloc.patch create mode 100644 target/linux/generic/pending-4.9/306-mips_mem_functions_performance.patch create mode 100644 target/linux/generic/pending-4.9/307-mips_highmem_offset.patch create mode 100644 target/linux/generic/pending-4.9/308-mips32r2_tune.patch create mode 100644 target/linux/generic/pending-4.9/310-arm_module_unresolved_weak_sym.patch create mode 100644 target/linux/generic/pending-4.9/330-MIPS-kexec-Accept-command-line-parameters-from-users.patch create mode 100644 target/linux/generic/pending-4.9/332-arc-add-OWRTDTB-section.patch create mode 100644 target/linux/generic/pending-4.9/333-arc-enable-unaligned-access-in-kernel-mode.patch create mode 100644 target/linux/generic/pending-4.9/400-mtd-add-rootfs-split-support.patch create mode 100644 target/linux/generic/pending-4.9/401-mtd-add-support-for-different-partition-parser-types.patch create mode 100644 target/linux/generic/pending-4.9/402-mtd-use-typed-mtd-parsers-for-rootfs-and-firmware-split.patch create mode 100644 target/linux/generic/pending-4.9/403-mtd-hook-mtdsplit-to-Kbuild.patch create mode 100644 target/linux/generic/pending-4.9/404-mtd-add-more-helper-functions.patch create mode 100644 target/linux/generic/pending-4.9/411-mtd-partial_eraseblock_write.patch create mode 100644 target/linux/generic/pending-4.9/412-mtd-partial_eraseblock_unlock.patch create mode 100644 target/linux/generic/pending-4.9/420-mtd-redboot_space.patch create mode 100644 target/linux/generic/pending-4.9/430-mtd-add-myloader-partition-parser.patch create mode 100644 target/linux/generic/pending-4.9/431-mtd-bcm47xxpart-check-for-bad-blocks-when-calculatin.patch create mode 100644 target/linux/generic/pending-4.9/432-mtd-bcm47xxpart-detect-T_Meter-partition.patch create mode 100644 target/linux/generic/pending-4.9/440-block2mtd_init.patch create mode 100644 target/linux/generic/pending-4.9/441-block2mtd_probe.patch create mode 100644 target/linux/generic/pending-4.9/460-mtd-cfi_cmdset_0002-no-erase_suspend.patch create mode 100644 target/linux/generic/pending-4.9/461-mtd-cfi_cmdset_0002-add-buffer-write-cmd-timeout.patch create mode 100644 target/linux/generic/pending-4.9/465-m25p80-mx-disable-software-protection.patch create mode 100644 target/linux/generic/pending-4.9/476-mtd-spi-nor-add-eon-en25q128.patch create mode 100644 target/linux/generic/pending-4.9/477-mtd-add-spi-nor-add-mx25u3235f.patch create mode 100644 target/linux/generic/pending-4.9/480-mtd-set-rootfs-to-be-root-dev.patch create mode 100644 target/linux/generic/pending-4.9/490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch create mode 100644 target/linux/generic/pending-4.9/491-ubi-auto-create-ubiblock-device-for-rootfs.patch create mode 100644 target/linux/generic/pending-4.9/492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch create mode 100644 target/linux/generic/pending-4.9/493-ubi-set-ROOT_DEV-to-ubiblock-rootfs-if-unset.patch create mode 100644 target/linux/generic/pending-4.9/494-mtd-ubi-add-EOF-marker-support.patch create mode 100644 target/linux/generic/pending-4.9/530-jffs2_make_lzma_available.patch create mode 100644 target/linux/generic/pending-4.9/532-jffs2_eofdetect.patch create mode 100644 target/linux/generic/pending-4.9/551-ubifs-fix-default-compression-selection.patch create mode 100644 target/linux/generic/pending-4.9/600-netfilter_conntrack_flush.patch create mode 100644 target/linux/generic/pending-4.9/610-netfilter_match_bypass_default_checks.patch create mode 100644 target/linux/generic/pending-4.9/611-netfilter_match_bypass_default_table.patch create mode 100644 target/linux/generic/pending-4.9/612-netfilter_match_reduce_memory_access.patch create mode 100644 target/linux/generic/pending-4.9/613-netfilter_optional_tcp_window_check.patch create mode 100644 target/linux/generic/pending-4.9/616-net_optimize_xfrm_calls.patch create mode 100644 target/linux/generic/pending-4.9/630-packet_socket_type.patch create mode 100644 target/linux/generic/pending-4.9/650-pppoe_header_pad.patch create mode 100644 target/linux/generic/pending-4.9/655-increase_skb_pad.patch create mode 100644 target/linux/generic/pending-4.9/666-Add-support-for-MAP-E-FMRs-mesh-mode.patch create mode 100644 target/linux/generic/pending-4.9/670-ipv6-allow-rejecting-with-source-address-failed-policy.patch create mode 100644 target/linux/generic/pending-4.9/671-net-provide-defines-for-_POLICY_FAILED-until-all-cod.patch create mode 100644 target/linux/generic/pending-4.9/680-NET-skip-GRO-for-foreign-MAC-addresses.patch create mode 100644 target/linux/generic/pending-4.9/681-NET-add-of_get_mac_address_mtd.patch create mode 100644 target/linux/generic/pending-4.9/701-phy_extension.patch create mode 100644 target/linux/generic/pending-4.9/703-phy-add-detach-callback-to-struct-phy_driver.patch create mode 100644 target/linux/generic/pending-4.9/704-phy-no-genphy-soft-reset.patch create mode 100644 target/linux/generic/pending-4.9/734-net-phy-at803x-allow-to-configure-via-pdata.patch create mode 100644 target/linux/generic/pending-4.9/735-net-phy-at803x-fix-at8033-sgmii-mode.patch create mode 100644 target/linux/generic/pending-4.9/810-pci_disable_common_quirks.patch create mode 100644 target/linux/generic/pending-4.9/811-pci_disable_usb_common_quirks.patch create mode 100644 target/linux/generic/pending-4.9/821-usb-Remove-annoying-warning-about-bogus-URB.patch create mode 100644 target/linux/generic/pending-4.9/831-ledtrig_netdev.patch create mode 100644 target/linux/generic/pending-4.9/834-ledtrig-libata.patch create mode 100644 target/linux/generic/pending-4.9/890-uart_optional_sysrq.patch create mode 100644 target/linux/generic/pending-4.9/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 100755 target/linux/imx6/base-files/lib/upgrade/platform.sh create mode 100644 target/linux/imx6/config-4.9 create mode 100644 target/linux/imx6/files-4.9/arch/arm/boot/dts/imx6dl-gw5904.dts create mode 100644 target/linux/imx6/files-4.9/arch/arm/boot/dts/imx6q-gw5904.dts create mode 100644 target/linux/imx6/files-4.9/arch/arm/boot/dts/imx6qdl-gw5904.dtsi create mode 100644 target/linux/imx6/image/Makefile create mode 100644 target/linux/imx6/image/bootscript-ventana create mode 100644 target/linux/imx6/patches-4.9/0001-arm-dts-imx-add-gateworks-ventana-gw5904-support.patch create mode 100644 target/linux/imx6/patches-4.9/100-bootargs.patch create mode 100644 target/linux/imx6/patches-4.9/200-disable-msi.patch create mode 100644 target/linux/imx6/patches-4.9/210-disable-uart-dma.patch create mode 100644 target/linux/imx6/profiles/100-generic.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 100755 target/linux/ipq806x/base-files/etc/diag.sh 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/linksys_recovery create mode 100644 target/linux/ipq806x/base-files/etc/inittab create mode 100644 target/linux/ipq806x/base-files/lib/ipq806x.sh create mode 100644 target/linux/ipq806x/base-files/lib/preinit/01_preinit_do_ipq806x.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.9 create mode 100644 target/linux/ipq806x/files-4.4/arch/arm/boot/dts/qcom-ipq8064-c2600.dts create mode 100644 target/linux/ipq806x/files-4.4/arch/arm/boot/dts/qcom-ipq8064-d7800.dts create mode 100644 target/linux/ipq806x/files-4.4/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts create mode 100644 target/linux/ipq806x/files-4.4/arch/arm/boot/dts/qcom-ipq8064-r7500.dts create mode 100644 target/linux/ipq806x/files-4.4/arch/arm/boot/dts/qcom-ipq8064-r7500v2.dts create mode 100644 target/linux/ipq806x/files-4.4/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts create mode 100644 target/linux/ipq806x/files-4.4/arch/arm/boot/dts/qcom-ipq8065-nbg6817.dts create mode 100644 target/linux/ipq806x/files-4.4/arch/arm/boot/dts/qcom-ipq8065-r7800.dts create mode 100644 target/linux/ipq806x/files-4.4/arch/arm/boot/dts/qcom-ipq8065-v1.0.dtsi create mode 100644 target/linux/ipq806x/files-4.4/arch/arm/boot/dts/qcom-ipq8065.dtsi create mode 100644 target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-bus.dtsi create mode 100644 target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-fritz4040.dts create mode 100644 target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-nbg6617.dts create mode 100644 target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq4019-rt-ac58u.dts create mode 100644 target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064-ap148.dts create mode 100644 target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064-c2600.dts create mode 100644 target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064-d7800.dts create mode 100644 target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064-db149.dts create mode 100644 target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts create mode 100644 target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064-r7500.dts create mode 100644 target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064-r7500v2.dts create mode 100644 target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts create mode 100644 target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8064.dtsi create mode 100644 target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8065-nbg6817.dts create mode 100644 target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8065-r7800.dts create mode 100644 target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8065-v1.0.dtsi create mode 100644 target/linux/ipq806x/files-4.9/arch/arm/boot/dts/qcom-ipq8065.dtsi create mode 100644 target/linux/ipq806x/image/Makefile create mode 100644 target/linux/ipq806x/modules.mk create mode 100644 target/linux/ipq806x/patches-4.9/0001-dtbindings-qcom_adm-Fix-channel-specifiers.patch create mode 100644 target/linux/ipq806x/patches-4.9/0002-dmaengine-Add-ADM-driver.patch create mode 100644 target/linux/ipq806x/patches-4.9/0003-spi-qup-Make-sure-mode-is-only-determined-once.patch create mode 100644 target/linux/ipq806x/patches-4.9/0004-spi-qup-Fix-transaction-done-signaling.patch create mode 100644 target/linux/ipq806x/patches-4.9/0005-spi-qup-Fix-DMA-mode-to-work-correctly.patch create mode 100644 target/linux/ipq806x/patches-4.9/0006-spi-qup-Fix-block-mode-to-work-correctly.patch create mode 100644 target/linux/ipq806x/patches-4.9/0007-spi-qup-properly-detect-extra-interrupts.patch create mode 100644 target/linux/ipq806x/patches-4.9/0008-spi-qup-don-t-re-read-opflags-to-see-if-transaction-.patch create mode 100644 target/linux/ipq806x/patches-4.9/0009-spi-qup-refactor-spi_qup_io_config-in-two-functions.patch create mode 100644 target/linux/ipq806x/patches-4.9/0010-spi-qup-call-io_config-in-mode-specific-function.patch create mode 100644 target/linux/ipq806x/patches-4.9/0011-spi-qup-allow-block-mode-to-generate-multiple-transa.patch create mode 100644 target/linux/ipq806x/patches-4.9/0012-spi-qup-refactor-spi_qup_prep_sg-to-be-more-take-spe.patch create mode 100644 target/linux/ipq806x/patches-4.9/0013-spi-qup-allow-mulitple-DMA-transactions-per-spi-xfer.patch create mode 100644 target/linux/ipq806x/patches-4.9/0014-spi-qup-Fix-sg-nents-calculation.patch create mode 100644 target/linux/ipq806x/patches-4.9/0015-cpufreq-dt-qcom-ipq4019-Add-compat-for-qcom-ipq4019.patch create mode 100644 target/linux/ipq806x/patches-4.9/0016-clk-ipq4019-report-accurate-fixed-clock-rates.patch create mode 100644 target/linux/ipq806x/patches-4.9/0017-qcom-ipq4019-add-cpu-operating-points-for-cpufreq-su.patch create mode 100644 target/linux/ipq806x/patches-4.9/0018-qcom-ipq4019-turn-on-DMA-for-i2c.patch create mode 100644 target/linux/ipq806x/patches-4.9/0019-qcom-ipq4019-use-correct-clock-for-i2c-bus-0.patch create mode 100644 target/linux/ipq806x/patches-4.9/0020-qcom-ipq4019-enable-DMA-for-spi.patch create mode 100644 target/linux/ipq806x/patches-4.9/0022-dts-ipq4019-support-ARMv7-PMU.patch create mode 100644 target/linux/ipq806x/patches-4.9/0026-dts-ipq4019-Add-support-for-IPQ4019-DK04-board.patch create mode 100644 target/linux/ipq806x/patches-4.9/0027-clk-qcom-Add-support-for-SMD-RPM-Clocks.patch create mode 100644 target/linux/ipq806x/patches-4.9/0028-clk-qcom-Add-support-for-RPM-Clocks.patch create mode 100644 target/linux/ipq806x/patches-4.9/0029-clk-qcom-clk-rpm-Fix-clk_hw-references.patch create mode 100644 target/linux/ipq806x/patches-4.9/0030-clk-Disable-i2c-device-on-gsbi4.patch create mode 100644 target/linux/ipq806x/patches-4.9/0031-mtd-add-SMEM-parser-for-QCOM-platforms.patch create mode 100644 target/linux/ipq806x/patches-4.9/0032-phy-add-qcom-dwc3-phy.patch create mode 100644 target/linux/ipq806x/patches-4.9/0033-ARM-qcom-automatically-select-PCI_DOMAINS-if-PCI-is-.patch create mode 100644 target/linux/ipq806x/patches-4.9/0034-ARM-Add-Krait-L2-register-accessor-functions.patch create mode 100644 target/linux/ipq806x/patches-4.9/0035-clk-mux-Split-out-register-accessors-for-reuse.patch create mode 100644 target/linux/ipq806x/patches-4.9/0036-clk-Avoid-sending-high-rates-to-downstream-clocks-du.patch create mode 100644 target/linux/ipq806x/patches-4.9/0037-clk-Add-safe-switch-hook.patch create mode 100644 target/linux/ipq806x/patches-4.9/0038-clk-qcom-Add-support-for-High-Frequency-PLLs-HFPLLs.patch create mode 100644 target/linux/ipq806x/patches-4.9/0039-clk-qcom-Add-HFPLL-driver.patch create mode 100644 target/linux/ipq806x/patches-4.9/0040-clk-qcom-Add-IPQ806X-s-HFPLLs.patch create mode 100644 target/linux/ipq806x/patches-4.9/0041-clk-qcom-Add-support-for-Krait-clocks.patch create mode 100644 target/linux/ipq806x/patches-4.9/0042-clk-qcom-Add-KPSS-ACC-GCC-driver.patch create mode 100644 target/linux/ipq806x/patches-4.9/0043-clk-qcom-Add-Krait-clock-controller-driver.patch create mode 100644 target/linux/ipq806x/patches-4.9/0044-clk-qcom-krait-Remove-CLK_IS_ROOT.patch create mode 100644 target/linux/ipq806x/patches-4.9/0045-cpufreq-Add-module-to-register-cpufreq-on-Krait-CPUs.patch create mode 100644 target/linux/ipq806x/patches-4.9/0046-cpufreq-qcom-independent-core-clocks.patch create mode 100644 target/linux/ipq806x/patches-4.9/0047-mtd-nand-Create-a-BBT-flag-to-access-bad-block-marke.patch create mode 100644 target/linux/ipq806x/patches-4.9/0048-PM-OPP-HACK-Allow-to-set-regulator-without-opp_list.patch create mode 100644 target/linux/ipq806x/patches-4.9/0049-PM-OPP-Support-adjusting-OPP-voltages-at-runtime.patch create mode 100644 target/linux/ipq806x/patches-4.9/0050-OPP-Allow-notifiers-to-call-dev_pm_opp_get_-voltage-.patch create mode 100644 target/linux/ipq806x/patches-4.9/0051-PM-OPP-Add-a-helper-to-get-an-opp-regulator-for-devi.patch create mode 100644 target/linux/ipq806x/patches-4.9/0052-PM-OPP-Update-the-voltage-tolerance-when-adjusting-t.patch create mode 100644 target/linux/ipq806x/patches-4.9/0053-regulator-add-smb208-support.patch create mode 100644 target/linux/ipq806x/patches-4.9/0054-cpufreq-dt-Handle-OPP-voltage-adjust-events.patch create mode 100644 target/linux/ipq806x/patches-4.9/0055-cpufreq-dt-Add-L2-frequency-scaling-support.patch create mode 100644 target/linux/ipq806x/patches-4.9/0056-cpufreq-dt-Add-missing-rcu-locks.patch create mode 100644 target/linux/ipq806x/patches-4.9/0057-clk-qcom-Add-regmap-mux-div-clocks-support.patch create mode 100644 target/linux/ipq806x/patches-4.9/0058-clk-qcom-Always-add-factor-clock-for-xo-clocks.patch create mode 100644 target/linux/ipq806x/patches-4.9/0059-ARM-cpuidle-Add-cpuidle-support-for-QCOM-cpus.patch create mode 100644 target/linux/ipq806x/patches-4.9/0060-HACK-arch-arm-force-ZRELADDR-on-arch-qcom.patch create mode 100644 target/linux/ipq806x/patches-4.9/0061-mtd-rootfs-conflicts-with-OpenWrt-auto-mounting.patch create mode 100644 target/linux/ipq806x/patches-4.9/0062-ipq806x-gcc-Added-the-enable-regs-and-mask-for-PRNG.patch create mode 100644 target/linux/ipq806x/patches-4.9/0063-1-ipq806x-tsens-driver.patch create mode 100644 target/linux/ipq806x/patches-4.9/0063-2-tsens-support-configurable-interrupts.patch create mode 100644 target/linux/ipq806x/patches-4.9/0064-clk-clk-rpm-fixes.patch create mode 100644 target/linux/ipq806x/patches-4.9/0065-arm-override-compiler-flags.patch create mode 100644 target/linux/ipq806x/patches-4.9/0066-GPIO-add-named-gpio-exports.patch create mode 100644 target/linux/ipq806x/patches-4.9/0067-generic-Mangle-bootloader-s-kernel-arguments.patch create mode 100644 target/linux/ipq806x/patches-4.9/0068-spi-add-gpio-cs-support.patch create mode 100644 target/linux/ipq806x/patches-4.9/0069-arm-boot-add-dts-files.patch create mode 100644 target/linux/ipq806x/patches-4.9/0070-qcom-spm-fix-probe-order.patch create mode 100644 target/linux/ipq806x/patches-4.9/0071-pcie-qcom-fixes.patch create mode 100644 target/linux/ipq806x/patches-4.9/0072-ipq-scm-TZ-don-t-need-clock-to-be-enabled-disabled-for-ipq.patch create mode 100644 target/linux/ipq806x/patches-4.9/0073-pinctrl-qom-use-scm_call-to-route-GPIO-irq-to-Apps.patch create mode 100644 target/linux/ipq806x/patches-4.9/104-mtd-nand-add-Winbond-manufacturer-and-chip.patch create mode 100644 target/linux/ipq806x/patches-4.9/105-mtd-nor-add-mx25l25635f.patch create mode 100644 target/linux/ipq806x/patches-4.9/131-pinctrl-qcom-ipq4019-add-remaining-pin-definitions.patch create mode 100644 target/linux/ipq806x/patches-4.9/132-pinctrl-qcom-add-support-to-configure-ipq40xx-GPIO_P.patch create mode 100644 target/linux/ipq806x/patches-4.9/140-qcom-ipq4019-fix-i2c_0-node.patch create mode 100644 target/linux/ipq806x/patches-4.9/141-qcom-ipq4019-add-second-i2c.patch create mode 100644 target/linux/ipq806x/patches-4.9/305-qcom-ipq4019-use-v2-of-the-kpss-bringup-mechanism.patch create mode 100644 target/linux/ipq806x/patches-4.9/306-qcom-ipq4019-add-USB-nodes-to-ipq4019-SoC-device-tre.patch create mode 100644 target/linux/ipq806x/patches-4.9/307-ARM-qcom-Add-IPQ4019-SoC-support.patch create mode 100644 target/linux/ipq806x/patches-4.9/308-dts-ipq4019-add-both-IPQ4019-wifi-block-definitions.patch create mode 100644 target/linux/ipq806x/patches-4.9/309-dts-ipq4019-add-pseudo-random-number-generator.patch create mode 100644 target/linux/ipq806x/patches-4.9/310-msm-adhoc-bus-support.patch create mode 100644 target/linux/ipq806x/patches-4.9/311-dts-ARM-qcom-ipq4019-add-scm-node.patch create mode 100644 target/linux/ipq806x/patches-4.9/312-firmware-qcom-scm-fuse-access.patch create mode 100644 target/linux/ipq806x/patches-4.9/400-mtd-ubi-add-quirk-to-autoload-ubi-on-rt-ac58u.patch create mode 100644 target/linux/ipq806x/patches-4.9/605-net-IPQ4019-needs-rfs-vlan_tag-callbacks-in.patch create mode 100644 target/linux/ipq806x/patches-4.9/700-net-add-qualcomm-mdio-and-phy.patch create mode 100644 target/linux/ipq806x/patches-4.9/701-dts-ipq4019-add-mdio-node.patch create mode 100644 target/linux/ipq806x/patches-4.9/702-dts-ipq4019-add-PHY-switch-nodes.patch create mode 100644 target/linux/ipq806x/patches-4.9/710-net-add-qualcomm-essedma-ethernet-driver.patch create mode 100644 target/linux/ipq806x/patches-4.9/711-dts-ipq4019-add-ethernet-essedma-node.patch create mode 100644 target/linux/ipq806x/patches-4.9/712-net-essedma-disable-default-vlan.patch create mode 100644 target/linux/ipq806x/patches-4.9/820-qcom-ipq4019-Add-IPQ4019-USB-HS-SS-PHY-drivers.patch create mode 100644 target/linux/ipq806x/patches-4.9/830-usb-dwc3-register-qca-ipq4019-dwc3-in-dwc3-of-simple.patch create mode 100644 target/linux/ipq806x/patches-4.9/850-soc-add-qualcomm-syscon.patch create mode 100644 target/linux/ipq806x/patches-4.9/860-qcom-mtd-nand-Add-bam_dma-support-in-qcom_nand-drive.patch create mode 100644 target/linux/ipq806x/patches-4.9/861-qcom-mtd-nand-Added-bam-transaction-and-support-addi.patch create mode 100644 target/linux/ipq806x/patches-4.9/862-dmaengine-qcom-bam_dma-Add-custom-data-mapping.patch create mode 100644 target/linux/ipq806x/patches-4.9/863-dts-ipq4019-add-nand-and-qpic-bam-dma-node.patch create mode 100644 target/linux/ipq806x/profiles/00-default.mk create mode 100644 target/linux/ixp4xx/Makefile create mode 100644 target/linux/ixp4xx/base-files/lib/ixp4xx.sh create mode 100644 target/linux/ixp4xx/base-files/lib/preinit/01_sysinfo create mode 100644 target/linux/ixp4xx/base-files/lib/preinit/05_set_ether_mac_ixp4xx create mode 100644 target/linux/ixp4xx/base-files/lib/upgrade/platform.sh create mode 100644 target/linux/ixp4xx/config-4.4 create mode 100644 target/linux/ixp4xx/generic/profiles/100-Default.mk create mode 100644 target/linux/ixp4xx/generic/profiles/105-Atheros-ath5k.mk create mode 100644 target/linux/ixp4xx/generic/profiles/200-NSLU2.mk create mode 100644 target/linux/ixp4xx/generic/profiles/300-NAS100d.mk create mode 100644 target/linux/ixp4xx/generic/profiles/400-DSMG600RevA.mk create mode 100644 target/linux/ixp4xx/generic/profiles/500-USR8200.mk create mode 100644 target/linux/ixp4xx/generic/target.mk create mode 100644 target/linux/ixp4xx/harddisk/config-default create mode 100644 target/linux/ixp4xx/harddisk/profiles/100-FSG3.mk create mode 100644 target/linux/ixp4xx/harddisk/target.mk create mode 100644 target/linux/ixp4xx/image/Makefile create mode 100644 target/linux/ixp4xx/modules.mk create mode 100644 target/linux/ixp4xx/patches-4.4/001-arm-ixp4xx-set-cohorent_dma_mask-for-ethernet-platfo.patch create mode 100644 target/linux/ixp4xx/patches-4.4/002-ixp4xx_eth-use-parent-device-for-dma-allocations.patch create mode 100644 target/linux/ixp4xx/patches-4.4/020-gateworks_i2c_pld.patch create mode 100644 target/linux/ixp4xx/patches-4.4/030-gpio_line_config.patch create mode 100644 target/linux/ixp4xx/patches-4.4/040-arm_mach_types.patch create mode 100644 target/linux/ixp4xx/patches-4.4/090-increase_entropy_pools.patch create mode 100644 target/linux/ixp4xx/patches-4.4/100-wg302v2_gateway7001_mac_plat_info.patch create mode 100644 target/linux/ixp4xx/patches-4.4/105-wg302v1_support.patch create mode 100644 target/linux/ixp4xx/patches-4.4/110-pronghorn_series_support.patch create mode 100644 target/linux/ixp4xx/patches-4.4/111-pronghorn_swap_uarts.patch create mode 100644 target/linux/ixp4xx/patches-4.4/115-sidewinder_support.patch create mode 100644 target/linux/ixp4xx/patches-4.4/116-sidewinder_fis_location.patch create mode 100644 target/linux/ixp4xx/patches-4.4/120-compex_support.patch create mode 100644 target/linux/ixp4xx/patches-4.4/130-wrt300nv2_support.patch create mode 100644 target/linux/ixp4xx/patches-4.4/131-wrt300nv2_mac_plat_info.patch create mode 100644 target/linux/ixp4xx/patches-4.4/132-wrt300nv2_mac_fix.patch create mode 100644 target/linux/ixp4xx/patches-4.4/150-lanready_ap1000_support.patch create mode 100644 target/linux/ixp4xx/patches-4.4/151-lanready_ap1000_mac_plat_info.patch create mode 100644 target/linux/ixp4xx/patches-4.4/160-delayed_uart_io.patch create mode 100644 target/linux/ixp4xx/patches-4.4/162-wg302v1_mem_fixup.patch create mode 100644 target/linux/ixp4xx/patches-4.4/170-ixdpg425_mac_plat_info.patch create mode 100644 target/linux/ixp4xx/patches-4.4/175-avila_hss_audio_support.patch create mode 100644 target/linux/ixp4xx/patches-4.4/180-tw5334_support.patch create mode 100644 target/linux/ixp4xx/patches-4.4/185-mi424wr_support.patch create mode 100644 target/linux/ixp4xx/patches-4.4/190-cambria_support.patch create mode 100644 target/linux/ixp4xx/patches-4.4/201-npe_driver_print_license_location.patch create mode 100644 target/linux/ixp4xx/patches-4.4/203-npe_driver_mask_phy_features.patch create mode 100644 target/linux/ixp4xx/patches-4.4/205-npe_driver_separate_phy_functions.patch create mode 100644 target/linux/ixp4xx/patches-4.4/206-npe_driver_add_update_link_function.patch create mode 100644 target/linux/ixp4xx/patches-4.4/207-npe_driver_multiphy_support.patch create mode 100644 target/linux/ixp4xx/patches-4.4/295-latch_led_driver.patch create mode 100644 target/linux/ixp4xx/patches-4.4/300-avila_support.patch create mode 100644 target/linux/ixp4xx/patches-4.4/304-ixp4xx_eth_jumboframe.patch create mode 100644 target/linux/ixp4xx/patches-4.4/310-gtwx5717_spi_bus.patch create mode 100644 target/linux/ixp4xx/patches-4.4/311-gtwx5717_mac_plat_info.patch create mode 100644 target/linux/ixp4xx/patches-4.4/312-ixp4xx_pata_optimization.patch create mode 100644 target/linux/ixp4xx/patches-4.4/500-usr8200_support.patch create mode 100644 target/linux/ixp4xx/patches-4.4/520-tw2662_support.patch create mode 100644 target/linux/ixp4xx/patches-4.4/530-ap42x_support.patch create mode 100644 target/linux/ixp4xx/patches-4.4/600-skb_avoid_dmabounce.patch create mode 100644 target/linux/ixp4xx/patches-4.4/900-ixp4xx-crypto-include-module.h.patch create mode 100644 target/linux/ixp4xx/patches-4.4/910-ixp4xx-nr_irq_lines.patch 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/linksys_recovery create mode 100755 target/linux/kirkwood/base-files/etc/init.d/nsa310_fancontrol create mode 100755 target/linux/kirkwood/base-files/lib/kirkwood.sh create mode 100644 target/linux/kirkwood/base-files/lib/preinit/01_sysinfo 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.9 create mode 100644 target/linux/kirkwood/image/Makefile create mode 100644 target/linux/kirkwood/patches-4.9/100-ib62x0.patch create mode 100644 target/linux/kirkwood/patches-4.9/101-iconnect.patch create mode 100644 target/linux/kirkwood/patches-4.9/102-dockstar.patch create mode 100644 target/linux/kirkwood/patches-4.9/104-ea3500.patch create mode 100644 target/linux/kirkwood/patches-4.9/105-ea4500.patch create mode 100644 target/linux/kirkwood/patches-4.9/105-goflexhome.patch create mode 100644 target/linux/kirkwood/patches-4.9/106-goflexnet.patch create mode 100644 target/linux/kirkwood/patches-4.9/107-01-zyxel-nsa3x0-common-nand-partitions.patch create mode 100644 target/linux/kirkwood/patches-4.9/107-02-nsa310b.patch create mode 100644 target/linux/kirkwood/patches-4.9/107-03-nsa310s.patch create mode 100644 target/linux/kirkwood/patches-4.9/108-on100.patch create mode 100644 target/linux/kirkwood/patches-4.9/200-disable-tso.patch create mode 100644 target/linux/kirkwood/patches-4.9/201-enable-sata-port-specific-led-triggers.patch create mode 100644 target/linux/kirkwood/patches-4.9/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-default 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 100644 target/linux/lantiq/base-files/etc/diag.sh 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/lib/functions/lantiq.sh create mode 100755 target/linux/lantiq/base-files/lib/functions/lantiq_dsl.sh create mode 100755 target/linux/lantiq/base-files/lib/preinit/01_preinit_board.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.4 create mode 100644 target/linux/lantiq/config-4.9 create mode 100644 target/linux/lantiq/dts/ACMP252.dts create mode 100644 target/linux/lantiq/dts/ALL0333CJ.dts create mode 100644 target/linux/lantiq/dts/ARV4510PW.dts create mode 100644 target/linux/lantiq/dts/ARV4518PWR01.dts create mode 100644 target/linux/lantiq/dts/ARV4518PWR01.dtsi create mode 100644 target/linux/lantiq/dts/ARV4518PWR01A.dts create mode 100644 target/linux/lantiq/dts/ARV4519PW.dts create mode 100644 target/linux/lantiq/dts/ARV4520PW.dts create mode 100644 target/linux/lantiq/dts/ARV4525PW.dts create mode 100644 target/linux/lantiq/dts/ARV452CQW.dts create mode 100644 target/linux/lantiq/dts/ARV7506PW11.dts create mode 100644 target/linux/lantiq/dts/ARV7510PW22.dts create mode 100644 target/linux/lantiq/dts/ARV7518PW.dts create mode 100644 target/linux/lantiq/dts/ARV7519PW.dts create mode 100644 target/linux/lantiq/dts/ARV7519RW22.dts create mode 100644 target/linux/lantiq/dts/ARV7525PW.dts create mode 100644 target/linux/lantiq/dts/ARV752DPW.dts create mode 100644 target/linux/lantiq/dts/ARV752DPW22.dts create mode 100644 target/linux/lantiq/dts/ARV8539PW22.dts create mode 100644 target/linux/lantiq/dts/ASL56026.dts create mode 100644 target/linux/lantiq/dts/BTHOMEHUBV2B.dts create mode 100644 target/linux/lantiq/dts/BTHOMEHUBV3A.dts create mode 100644 target/linux/lantiq/dts/BTHOMEHUBV5A.dts create mode 100644 target/linux/lantiq/dts/DGN1000B.dts create mode 100644 target/linux/lantiq/dts/DGN3500.dts create mode 100644 target/linux/lantiq/dts/DGN3500.dtsi create mode 100644 target/linux/lantiq/dts/DGN3500B.dts create mode 100644 target/linux/lantiq/dts/DM200.dts create mode 100644 target/linux/lantiq/dts/EASY50712.dts create mode 100644 target/linux/lantiq/dts/EASY50810.dts create mode 100644 target/linux/lantiq/dts/EASY80920.dtsi create mode 100644 target/linux/lantiq/dts/EASY80920NAND.dts create mode 100644 target/linux/lantiq/dts/EASY80920NOR.dts create mode 100644 target/linux/lantiq/dts/EASY88388.dts create mode 100644 target/linux/lantiq/dts/EASY88444.dts create mode 100644 target/linux/lantiq/dts/EASY98000-base.dtsi create mode 100644 target/linux/lantiq/dts/EASY98000NAND.dts create mode 100644 target/linux/lantiq/dts/EASY98000NOR.dts create mode 100644 target/linux/lantiq/dts/EASY98000SFLASH.dts create mode 100644 target/linux/lantiq/dts/EASY98020.dts create mode 100644 target/linux/lantiq/dts/EASY98020V18.dts create mode 100644 target/linux/lantiq/dts/EASY98021.dts create mode 100644 target/linux/lantiq/dts/EASY98035SYNCE.dts create mode 100644 target/linux/lantiq/dts/EASY98035SYNCE1588.dts create mode 100644 target/linux/lantiq/dts/FALCON-MDU.dts create mode 100644 target/linux/lantiq/dts/FALCON-SFP.dts create mode 100644 target/linux/lantiq/dts/FRITZ3370.dts create mode 100644 target/linux/lantiq/dts/FRITZ7320.dts create mode 100644 target/linux/lantiq/dts/FRITZ7360SL.dts create mode 100644 target/linux/lantiq/dts/GIGASX76X.dts create mode 100644 target/linux/lantiq/dts/H201L.dts create mode 100644 target/linux/lantiq/dts/P2601HNFX.dts create mode 100644 target/linux/lantiq/dts/P2812HNUF1.dts create mode 100644 target/linux/lantiq/dts/P2812HNUF3.dts create mode 100644 target/linux/lantiq/dts/P2812HNUFX.dtsi create mode 100644 target/linux/lantiq/dts/TDW8970.dts create mode 100644 target/linux/lantiq/dts/TDW8980.dts create mode 100644 target/linux/lantiq/dts/TDW89X0.dtsi create mode 100644 target/linux/lantiq/dts/VG3503J.dts create mode 100644 target/linux/lantiq/dts/VGV7510KW22.dtsi create mode 100644 target/linux/lantiq/dts/VGV7510KW22BRN.dts create mode 100644 target/linux/lantiq/dts/VGV7510KW22NOR.dts create mode 100644 target/linux/lantiq/dts/VGV7519.dtsi create mode 100644 target/linux/lantiq/dts/VGV7519BRN.dts create mode 100644 target/linux/lantiq/dts/VGV7519NOR.dts create mode 100644 target/linux/lantiq/dts/VR200v.dts create mode 100644 target/linux/lantiq/dts/WBMR.dts create mode 100644 target/linux/lantiq/dts/WBMR300.dts create mode 100644 target/linux/lantiq/dts/amazonse.dtsi create mode 100644 target/linux/lantiq/dts/ar9.dtsi create mode 100644 target/linux/lantiq/dts/danube.dtsi create mode 100644 target/linux/lantiq/dts/falcon-sflash-16M.dtsi create mode 100644 target/linux/lantiq/dts/falcon.dtsi create mode 100644 target/linux/lantiq/dts/vr9.dtsi create mode 100644 target/linux/lantiq/falcon/config-default 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/firmware/lantiq/vr9_phy11g_a1x.bin create mode 100644 target/linux/lantiq/files/firmware/lantiq/vr9_phy11g_a2x.bin create mode 100644 target/linux/lantiq/files/firmware/lantiq/vr9_phy22f_a1x.bin create mode 100644 target/linux/lantiq/files/firmware/lantiq/vr9_phy22f_a2x.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.4/0001-MIPS-lantiq-add-pcie-driver.patch create mode 100644 target/linux/lantiq/patches-4.4/0004-MIPS-lantiq-add-atm-hack.patch create mode 100644 target/linux/lantiq/patches-4.4/0008-MIPS-lantiq-backport-old-timer-code.patch create mode 100644 target/linux/lantiq/patches-4.4/0012-pinctrl-lantiq-fix-up-pinmux.patch create mode 100644 target/linux/lantiq/patches-4.4/0013-MTD-lantiq-xway-fix-invalid-operator.patch create mode 100644 target/linux/lantiq/patches-4.4/0014-MTD-lantiq-xway-the-latched-command-should-be-persis.patch create mode 100644 target/linux/lantiq/patches-4.4/0015-MTD-lantiq-xway-remove-endless-loop.patch create mode 100644 target/linux/lantiq/patches-4.4/0016-MTD-lantiq-xway-add-missing-write_buf-and-read_buf-t.patch create mode 100644 target/linux/lantiq/patches-4.4/0017-MTD-xway-fix-nand-locking.patch create mode 100644 target/linux/lantiq/patches-4.4/0018-MTD-nand-lots-of-xrx200-fixes.patch create mode 100644 target/linux/lantiq/patches-4.4/0020-MTD-lantiq-handle-NO_XIP-on-cfi0001-flash.patch create mode 100644 target/linux/lantiq/patches-4.4/0022-MTD-m25p80-allow-loading-mtd-name-from-OF.patch create mode 100644 target/linux/lantiq/patches-4.4/0024-NET-lantiq-adds-PHY11G-firmware-blobs.patch create mode 100644 target/linux/lantiq/patches-4.4/0025-NET-MIPS-lantiq-adds-xrx200-net.patch create mode 100644 target/linux/lantiq/patches-4.4/0026-NET-multi-phy-support.patch create mode 100644 target/linux/lantiq/patches-4.4/0028-NET-lantiq-various-etop-fixes.patch create mode 100644 target/linux/lantiq/patches-4.4/0030-GPIO-add-named-gpio-exports.patch create mode 100644 target/linux/lantiq/patches-4.4/0031-I2C-MIPS-lantiq-add-FALC-ON-i2c-bus-master.patch create mode 100644 target/linux/lantiq/patches-4.4/0035-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch create mode 100644 target/linux/lantiq/patches-4.4/0040-USB-DWC2-enable-usb-power-gpio.patch create mode 100644 target/linux/lantiq/patches-4.4/0042-arch-mips-increase-io_space_limit.patch create mode 100644 target/linux/lantiq/patches-4.4/0044-pinctrl-lantiq-introduce-new-dedicated-devicetree-bi.patch create mode 100644 target/linux/lantiq/patches-4.4/0045-pinctrl-lantiq-Fix-GPIO-Setup-of-GPIO-Port3.patch create mode 100644 target/linux/lantiq/patches-4.4/0046-pinctrl-lantiq-2-pins-have-the-wrong-mux-list.patch create mode 100644 target/linux/lantiq/patches-4.4/0047-irq-fixes.patch create mode 100644 target/linux/lantiq/patches-4.4/0047-mtd-plat-nand-pass-of-node.patch create mode 100644 target/linux/lantiq/patches-4.4/0047-poweroff.patch create mode 100644 target/linux/lantiq/patches-4.4/0050-MIPS-Lantiq-Fix-cascaded-IRQ-setup.patch create mode 100644 target/linux/lantiq/patches-4.4/0060-usb-dwc2-Add-support-for-Lantiq-ARX-and-XRX-SoCs.patch create mode 100644 target/linux/lantiq/patches-4.4/0061-USB-DWC2-make-the-lantiq-settings-match-vendor-drive.patch create mode 100644 target/linux/lantiq/patches-4.4/0065-MIPS-lantiq-improve-USB-initialization.patch create mode 100644 target/linux/lantiq/patches-4.4/0100-spi-add-support-for-Lantiq-SPI-controller.patch create mode 100644 target/linux/lantiq/patches-4.4/0101-find_active_root.patch create mode 100644 target/linux/lantiq/patches-4.4/0120-MIPS-lantiq-add-support-for-device-tree-file-from-bo.patch create mode 100644 target/linux/lantiq/patches-4.4/0121-MIPS-lantiq-make-it-possible-to-build-in-no-device-t.patch create mode 100644 target/linux/lantiq/patches-4.4/0151-lantiq-ifxmips_pcie-use-of.patch create mode 100644 target/linux/lantiq/patches-4.4/0152-lantiq-VPE.patch create mode 100644 target/linux/lantiq/patches-4.4/0154-lantiq-pci-bar11mask-fix.patch create mode 100644 target/linux/lantiq/patches-4.4/0155-lantiq-VPE-nosmp.patch create mode 100644 target/linux/lantiq/patches-4.4/0160-owrt-lantiq-multiple-flash.patch create mode 100644 target/linux/lantiq/patches-4.4/0170-MIPS-lantiq-lock-DMA-register-accesses-for-SMP.patch create mode 100644 target/linux/lantiq/patches-4.4/0300-MTD-cfi-cmdset-0001-disable-buffered-writes.patch create mode 100644 target/linux/lantiq/patches-4.4/0301-xrx200-add-gphy-clk-src-device-tree-binding.patch create mode 100644 target/linux/lantiq/patches-4.4/0302-xrx200-add-sensors-driver.patch create mode 100644 target/linux/lantiq/patches-4.4/122-MIPS-store-the-appended-dtb-address-in-a-variable.patch create mode 100644 target/linux/lantiq/patches-4.9/0001-MIPS-lantiq-add-pcie-driver.patch create mode 100644 target/linux/lantiq/patches-4.9/0004-MIPS-lantiq-add-atm-hack.patch create mode 100644 target/linux/lantiq/patches-4.9/0008-MIPS-lantiq-backport-old-timer-code.patch create mode 100644 target/linux/lantiq/patches-4.9/0018-MTD-nand-lots-of-xrx200-fixes.patch create mode 100644 target/linux/lantiq/patches-4.9/0020-MTD-lantiq-handle-NO_XIP-on-cfi0001-flash.patch create mode 100644 target/linux/lantiq/patches-4.9/0022-MTD-m25p80-allow-loading-mtd-name-from-OF.patch create mode 100644 target/linux/lantiq/patches-4.9/0023-NET-PHY-adds-driver-for-lantiq-PHY11G.patch create mode 100644 target/linux/lantiq/patches-4.9/0024-NET-lantiq-adds-PHY11G-firmware-blobs.patch create mode 100644 target/linux/lantiq/patches-4.9/0025-NET-MIPS-lantiq-adds-xrx200-net.patch create mode 100644 target/linux/lantiq/patches-4.9/0026-NET-multi-phy-support.patch create mode 100644 target/linux/lantiq/patches-4.9/0028-NET-lantiq-various-etop-fixes.patch create mode 100644 target/linux/lantiq/patches-4.9/0030-GPIO-add-named-gpio-exports.patch create mode 100644 target/linux/lantiq/patches-4.9/0031-I2C-MIPS-lantiq-add-FALC-ON-i2c-bus-master.patch create mode 100644 target/linux/lantiq/patches-4.9/0035-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch create mode 100644 target/linux/lantiq/patches-4.9/0040-USB-DWC2-enable-usb-power-gpio.patch create mode 100644 target/linux/lantiq/patches-4.9/0042-arch-mips-increase-io_space_limit.patch create mode 100644 target/linux/lantiq/patches-4.9/0044-pinctrl-xway-fix-copy-paste-error-in-xrx200_grps.patch create mode 100644 target/linux/lantiq/patches-4.9/0047-poweroff.patch create mode 100644 target/linux/lantiq/patches-4.9/0050-MIPS-Lantiq-Fix-cascaded-IRQ-setup.patch create mode 100644 target/linux/lantiq/patches-4.9/0061-USB-DWC2-make-the-lantiq-settings-match-vendor-drive.patch create mode 100644 target/linux/lantiq/patches-4.9/0065-MIPS-lantiq-improve-USB-initialization.patch create mode 100644 target/linux/lantiq/patches-4.9/0090-spi-lantiq-ssc-add-support-for-Lantiq-SSC-SPI-contro.patch create mode 100644 target/linux/lantiq/patches-4.9/0091-spi-lantiq-ssc-fix-platform_no_drv_owner.cocci-warni.patch create mode 100644 target/linux/lantiq/patches-4.9/0092-spi-lantiq-ssc-add-LTQ_-prefix-to-defines.patch create mode 100644 target/linux/lantiq/patches-4.9/0101-find_active_root.patch create mode 100644 target/linux/lantiq/patches-4.9/0151-lantiq-ifxmips_pcie-use-of.patch create mode 100644 target/linux/lantiq/patches-4.9/0152-lantiq-VPE.patch create mode 100644 target/linux/lantiq/patches-4.9/0154-lantiq-pci-bar11mask-fix.patch create mode 100644 target/linux/lantiq/patches-4.9/0155-lantiq-VPE-nosmp.patch create mode 100644 target/linux/lantiq/patches-4.9/0160-owrt-lantiq-multiple-flash.patch create mode 100644 target/linux/lantiq/patches-4.9/0170-MIPS-lantiq-lock-DMA-register-accesses-for-SMP.patch create mode 100644 target/linux/lantiq/patches-4.9/0300-MTD-cfi-cmdset-0001-disable-buffered-writes.patch create mode 100644 target/linux/lantiq/patches-4.9/0301-xrx200-add-gphy-clk-src-device-tree-binding.patch create mode 100644 target/linux/lantiq/patches-4.9/0302-xrx200-add-sensors-driver.patch create mode 100644 target/linux/lantiq/xrx200/config-default 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-default 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-default 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/32b/config-default create mode 120000 target/linux/layerscape/32b/profiles/00-default.mk create mode 100644 target/linux/layerscape/32b/target.mk create mode 100644 target/linux/layerscape/64b/config-default create mode 100644 target/linux/layerscape/64b/profiles/00-default.mk create mode 100644 target/linux/layerscape/64b/target.mk create mode 100644 target/linux/layerscape/Makefile create mode 100644 target/linux/layerscape/base-files/etc/rc.local create mode 100644 target/linux/layerscape/config-4.4 create mode 100644 target/linux/layerscape/image/Makefile create mode 100644 target/linux/layerscape/modules.mk create mode 100644 target/linux/layerscape/patches-4.4/0051-PCI-designware-Ensure-ATU-is-enabled-before-IO-conf-.patch create mode 100644 target/linux/layerscape/patches-4.4/0052-PCI-designware-Simplify-control-flow.patch create mode 100644 target/linux/layerscape/patches-4.4/0053-PCI-designware-Make-config-accessor-override-checkin.patch create mode 100644 target/linux/layerscape/patches-4.4/0054-PCI-designware-Explain-why-we-don-t-program-ATU-for-.patch create mode 100644 target/linux/layerscape/patches-4.4/0055-PCI-designware-Remove-PCI_PROBE_ONLY-handling.patch create mode 100644 target/linux/layerscape/patches-4.4/0056-PCI-designware-Add-generic-dw_pcie_wait_for_link.patch create mode 100644 target/linux/layerscape/patches-4.4/0057-PCI-designware-Add-default-link-up-check-if-sub-driv.patch create mode 100644 target/linux/layerscape/patches-4.4/0058-PCI-designware-Move-Root-Complex-setup-code-to-dw_pc.patch create mode 100644 target/linux/layerscape/patches-4.4/0059-PCI-designware-Remove-incorrect-RC-memory-base-limit.patch create mode 100644 target/linux/layerscape/patches-4.4/0140-config-add-freescale-config-for-amr64.patch create mode 100644 target/linux/layerscape/patches-4.4/0238-arm64-disable-CONFIG_EEPROM_AT24-for-freescale.confi.patch create mode 100644 target/linux/layerscape/patches-4.4/0239-ARM-dts-ls1021a-add-PCIe-dts-node.patch create mode 100644 target/linux/layerscape/patches-4.4/0240-ARM-dts-ls1021a-add-SCFG-MSI-dts-node.patch create mode 100644 target/linux/layerscape/patches-4.4/0241-dt-bindings-Add-bindings-for-Layerscape-SCFG-MSI.patch create mode 100644 target/linux/layerscape/patches-4.4/1074-mtd-nand-spi-nor-assign-MTD-of_node.patch create mode 100644 target/linux/layerscape/patches-4.4/1075-mtd-spi-nor-convert-to-spi_nor_-get-set-_flash_node.patch create mode 100644 target/linux/layerscape/patches-4.4/1076-mtd-spi-nor-drop-unnecessary-partition-parser-data.patch create mode 100644 target/linux/layerscape/patches-4.4/1077-mtd-add-get-set-of_node-flash_node-helpers.patch create mode 100644 target/linux/layerscape/patches-4.4/1078-mtd-spi-nor-drop-flash_node-field.patch create mode 100644 target/linux/layerscape/patches-4.4/1079-mtd-spi-nor-remove-unnecessary-leading-space-from-db.patch create mode 100644 target/linux/layerscape/patches-4.4/1080-mtd-fsl-quadspi-possible-NULL-dereference.patch create mode 100644 target/linux/layerscape/patches-4.4/1081-mtd-spi-nor-provide-default-erase_sector-implementat.patch create mode 100644 target/linux/layerscape/patches-4.4/1083-mtd-spi-nor-Fix-error-message-with-unrecognized-JEDE.patch create mode 100644 target/linux/layerscape/patches-4.4/1084-mtd-spi-nor-fix-error-handling-in-spi_nor_erase.patch create mode 100644 target/linux/layerscape/patches-4.4/1085-mtd-spi-nor-Check-the-return-value-from-read_sr.patch create mode 100644 target/linux/layerscape/patches-4.4/1086-mtd-spi-nor-wait-until-lock-unlock-operations-are-re.patch create mode 100644 target/linux/layerscape/patches-4.4/1087-mtd-spi-nor-fsl-quadspi-add-big-endian-support.patch create mode 100644 target/linux/layerscape/patches-4.4/1088-mtd-spi-nor-fsl-quadspi-add-support-for-ls1021a.patch create mode 100644 target/linux/layerscape/patches-4.4/1089-mtd-spi-nor-fsl-quadspi-add-support-for-layerscape.patch create mode 100644 target/linux/layerscape/patches-4.4/1090-mtd-spi-nor-Add-SPI-NOR-layer-PM-support.patch create mode 100644 target/linux/layerscape/patches-4.4/1091-mtd-spi-nor-change-return-value-of-read-write.patch create mode 100644 target/linux/layerscape/patches-4.4/1092-mtd-fsl-quadspi-return-amount-of-data-read-written-o.patch create mode 100644 target/linux/layerscape/patches-4.4/1093-mtd-spi-nor-check-return-value-from-read-write.patch create mode 100644 target/linux/layerscape/patches-4.4/1094-mtd-spi-nor-stop-passing-around-retlen.patch create mode 100644 target/linux/layerscape/patches-4.4/1095-mtd-spi-nor-simplify-write-loop.patch create mode 100644 target/linux/layerscape/patches-4.4/1096-mtd-spi-nor-add-read-loop.patch create mode 100644 target/linux/layerscape/patches-4.4/1097-mtd-fsl-quadspi-use-the-property-fields-of-SPI-NOR.patch create mode 100644 target/linux/layerscape/patches-4.4/1098-mtd-fsl-quadspi-Rename-SEQID_QUAD_READ-to-SEQID_READ.patch create mode 100644 target/linux/layerscape/patches-4.4/1099-mtd-spi-nor-fsl-quadspi-Add-fast-read-mode-support.patch create mode 100644 target/linux/layerscape/patches-4.4/1100-mtd-spi_nor-Disable-Micron-flash-HW-protection.patch create mode 100644 target/linux/layerscape/patches-4.4/1101-mtd-spi-nor-fsl-quadspi-extend-support-for-some-spec.patch create mode 100644 target/linux/layerscape/patches-4.4/1102-mtd-spi-nor-fsl-quadspi-Support-qspi-for-ls2080a.patch create mode 100644 target/linux/layerscape/patches-4.4/1103-mtd-spi-nor-Support-R-W-for-S25FS-S-family-flash.patch create mode 100644 target/linux/layerscape/patches-4.4/1104-mtd-fsl-quadspi-Add-quad-mode-for-flash-n25q128.patch create mode 100644 target/linux/layerscape/patches-4.4/1105-mtd-spi-nor-add-DDR-quad-read-support.patch create mode 100644 target/linux/layerscape/patches-4.4/1106-mtd-fsl-quadspi-add-DDR-quad-read-for-Spansion.patch create mode 100644 target/linux/layerscape/patches-4.4/1107-mtd-fsl-quadspi-disable-AHB-buffer-prefetch.patch create mode 100644 target/linux/layerscape/patches-4.4/1108-mtd-fsl-quadspi-add-multi-flash-chip-R-W-on-ls2080a.patch create mode 100644 target/linux/layerscape/patches-4.4/1109-drivers-mtd-spi-nor-Enable-QSPI-Flash-in-Kernel.patch create mode 100644 target/linux/layerscape/patches-4.4/1110-mtd-spi-nor-fsl-quad-add-flash-S25FS-extra-support.patch create mode 100644 target/linux/layerscape/patches-4.4/1111-mtd-spi-nor-disable-4kb-sector-erase-for-s25fl128.patch create mode 100644 target/linux/layerscape/patches-4.4/1112-driver-spi-fsl-quad-Hang-memcpy-Unhandled-fault-alig.patch create mode 100644 target/linux/layerscape/patches-4.4/1113-mtd-spi-nor-fsl-quad-move-mtd_device_register-to-the.patch create mode 100644 target/linux/layerscape/patches-4.4/1239-mtd-extend-physmap_of-to-let-the-device-tree-specify.patch create mode 100644 target/linux/layerscape/patches-4.4/2006-armv8-aarch32-Add-the-default-config-ls_aarch32_defc.patch create mode 100644 target/linux/layerscape/patches-4.4/2027-armv8-aarch32-update-defconfig-for-LayerScape-SoC.patch create mode 100644 target/linux/layerscape/patches-4.4/2119-armv8-aarch32-defconfig-Enable-CAAM-support.patch create mode 100644 target/linux/layerscape/patches-4.4/2120-armv8-aarch32-defconfig-Enable-firmware-loading.patch create mode 100644 target/linux/layerscape/patches-4.4/2121-armv8-aarch32-defconfig-Enable-support-for-AHCI-SATA.patch create mode 100644 target/linux/layerscape/patches-4.4/2122-armv8-aarch32-defconfig-Enable-USB-and-related-confi.patch create mode 100644 target/linux/layerscape/patches-4.4/2123-armv8-aarch32-defconfig-Enable-KVM-related-configura.patch create mode 100644 target/linux/layerscape/patches-4.4/2124-armv8-aarch32-defconfig-Enable-FTM-alarm-support.patch create mode 100644 target/linux/layerscape/patches-4.4/3001-arm64-ls1043a-add-DTS-for-Freescale-LS1043A-SoC.patch create mode 100644 target/linux/layerscape/patches-4.4/3002-dts-ls1043a-add-LS1043ARDB-board-support.patch create mode 100644 target/linux/layerscape/patches-4.4/3003-arm64-dts-Update-address-cells-and-reg-properties-of.patch create mode 100644 target/linux/layerscape/patches-4.4/3004-armv8-aarch32-Add-ITS-file-for-AArch32-Linux-on-LS10.patch create mode 100644 target/linux/layerscape/patches-4.4/3005-armv8-aarch32-change-FS-file-name-in-ITS.patch create mode 100644 target/linux/layerscape/patches-4.4/3007-armv8-aarch32-Run-32-bit-Linux-in-AArch32-execution-.patch create mode 100644 target/linux/layerscape/patches-4.4/3008-armv8-aarch32-Add-SMP-support-for-32-bit-Linux.patch create mode 100644 target/linux/layerscape/patches-4.4/3009-armv8-aarch32-Allow-RAM-to-be-mapped-for-LayerScape-.patch create mode 100644 target/linux/layerscape/patches-4.4/3010-arm-add-pgprot_cached-and-pgprot_cached_ns-support.patch create mode 100644 target/linux/layerscape/patches-4.4/3011-arm-add-new-non-shareable-ioremap.patch create mode 100644 target/linux/layerscape/patches-4.4/3012-dts-ls1043a-add-fman-bman-qman-ethernet-nodes.patch create mode 100644 target/linux/layerscape/patches-4.4/3013-dts-ls1043ardb-add-mdio-phy-nodes.patch create mode 100644 target/linux/layerscape/patches-4.4/3022-dt-move-guts-devicetree-doc-out-of-powerpc-directory.patch create mode 100644 target/linux/layerscape/patches-4.4/3023-powerpc-fsl-move-mpc85xx.h-to-include-linux-fsl.patch create mode 100644 target/linux/layerscape/patches-4.4/3025-arm64-dts-align-to-the-new-clocking-model.patch create mode 100644 target/linux/layerscape/patches-4.4/3028-dts-ls1043-update-dts-for-ls1043.patch create mode 100644 target/linux/layerscape/patches-4.4/3032-arm64-Add-pdev_archdata-for-dmamask.patch create mode 100644 target/linux/layerscape/patches-4.4/3033-arm64-add-ioremap-for-normal-cacheable-non-shareable.patch create mode 100644 target/linux/layerscape/patches-4.4/3034-arm64-add-support-to-remap-kernel-cacheable-memory-t.patch create mode 100644 target/linux/layerscape/patches-4.4/3035-arm64-pgtable-add-support-to-map-cacheable-and-non-s.patch create mode 100644 target/linux/layerscape/patches-4.4/3039-arch-arm-add-ARM-specific-fucntions-required-for-ehc.patch create mode 100644 target/linux/layerscape/patches-4.4/3063-arm64-add-NO_IRQ-macro.patch create mode 100644 target/linux/layerscape/patches-4.4/3071-arm64-dts-add-device-tree-for-ls1012a-SoC-and-boards.patch create mode 100644 target/linux/layerscape/patches-4.4/3117-armv8-aarch32-Run-32-bit-Linux-for-LayerScape-SoCs.patch create mode 100644 target/linux/layerscape/patches-4.4/3118-armv8-aarch32-Add-KVM-support-for-AArch32-on-ARMv8.patch create mode 100644 target/linux/layerscape/patches-4.4/3131-arm64-ls1046a-add-DTS-for-Freescale-LS1046A-SoC.patch create mode 100644 target/linux/layerscape/patches-4.4/3132-dts-ls1046a-add-LS1046ARDB-board-support.patch create mode 100644 target/linux/layerscape/patches-4.4/3133-ls1046ardb-add-ITS-file.patch create mode 100644 target/linux/layerscape/patches-4.4/3135-arm64-Add-DTS-support-for-FSL-s-LS1088ARDB.patch create mode 100644 target/linux/layerscape/patches-4.4/3139-ls1088ardb-add-ITS-file.patch create mode 100644 target/linux/layerscape/patches-4.4/3141-caam-add-caam-node-for-ls1088a.patch create mode 100644 target/linux/layerscape/patches-4.4/3143-armv8-aarch32-Execute-32-bit-Linux-for-ls1046a.patch create mode 100644 target/linux/layerscape/patches-4.4/3226-mtd-spi-nor-fsl-quadspi-Enable-fast-read-for-LS1088A.patch create mode 100644 target/linux/layerscape/patches-4.4/3227-ls2088a-dts-add-ls2088a-dts.patch create mode 100644 target/linux/layerscape/patches-4.4/3228-ls2088a-add-ls2088a-its.patch create mode 100644 target/linux/layerscape/patches-4.4/3229-arm-dts-ls1021a-fix-typo-of-MSI-compatible-string.patch create mode 100644 target/linux/layerscape/patches-4.4/3230-arm64-dts-ls1043a-fix-typo-of-MSI-compatible-string.patch create mode 100644 target/linux/layerscape/patches-4.4/3231-arm-dts-ls1021a-share-all-MSIs.patch create mode 100644 target/linux/layerscape/patches-4.4/3232-arm64-dts-ls1043a-share-all-MSIs.patch create mode 100644 target/linux/layerscape/patches-4.4/3233-arm64-dts-ls1046a-update-MSI-dts-node.patch create mode 100644 target/linux/layerscape/patches-4.4/3234-dts-ls1043a-change-GIC-register-for-rev1.1.patch create mode 100644 target/linux/layerscape/patches-4.4/4043-driver-memory-Removal-of-deprecated-NO_IRQ.patch create mode 100644 target/linux/layerscape/patches-4.4/4044-drivers-memory-Add-deep-sleep-support-for-IFC.patch create mode 100644 target/linux/layerscape/patches-4.4/4045-driver-memory-Update-dependency-of-IFC-for-Layerscap.patch create mode 100644 target/linux/layerscape/patches-4.4/4046-mtd-ifc-Segregate-IFC-fcm-and-runtime-registers.patch create mode 100644 target/linux/layerscape/patches-4.4/4047-drivers-memory-Fix-build-error-for-arm64.patch create mode 100644 target/linux/layerscape/patches-4.4/4234-fsl-ifc-fix-compilation-error-when-COMPAT-not-enable.patch create mode 100644 target/linux/layerscape/patches-4.4/7014-temp-QE-headers-are-needed-by-FMD.patch create mode 100644 target/linux/layerscape/patches-4.4/7015-fmd-add-fman-driver.patch create mode 100644 target/linux/layerscape/patches-4.4/7016-dpa-add-dpaa_eth-driver.patch create mode 100644 target/linux/layerscape/patches-4.4/7017-fsl_qbman-add-qbman-driver.patch create mode 100644 target/linux/layerscape/patches-4.4/7018-devres-add-devm_alloc_percpu.patch create mode 100644 target/linux/layerscape/patches-4.4/7019-net-readd-skb_recycle.patch create mode 100644 target/linux/layerscape/patches-4.4/7020-net-add-custom-NETIF-flags.patch create mode 100644 target/linux/layerscape/patches-4.4/7021-net-Make-the-netdev-watchdog-aware-of-hardware-multi.patch create mode 100644 target/linux/layerscape/patches-4.4/7024-Add-APIs-to-setup-HugeTLB-mappings-for-USDPAA.patch create mode 100644 target/linux/layerscape/patches-4.4/7029-fmd-SGMII-PCS-needs-to-be-reprogrammed-after-sleep.patch create mode 100644 target/linux/layerscape/patches-4.4/7030-fmd-use-kernel-api-for-64bit-division.patch create mode 100644 target/linux/layerscape/patches-4.4/7031-fsl_qbman-Enable-DPAA1-QBMan-for-ARM64-platforms.patch create mode 100644 target/linux/layerscape/patches-4.4/7064-dpaa_eth-repair-issue-introduced-with-2.5G-support.patch create mode 100644 target/linux/layerscape/patches-4.4/7065-dpaa_eth-replace-sgmii-2500-with-qsgmii.patch create mode 100644 target/linux/layerscape/patches-4.4/7066-fmd-add-2.5G-SGMII-mode-suport.patch create mode 100644 target/linux/layerscape/patches-4.4/7067-net-phy-add-SGMII-2500-PHY.patch create mode 100644 target/linux/layerscape/patches-4.4/7068-dpaa_ethernet-fix-link-state-detect-for-10G-interfac.patch create mode 100644 target/linux/layerscape/patches-4.4/7072-LS1012-Add-PPFE-driver-in-Linux.patch create mode 100644 target/linux/layerscape/patches-4.4/7126-net-phy-add-driver-for-aquantia-AQR106-107-phy.patch create mode 100644 target/linux/layerscape/patches-4.4/7144-dpaa-call-arch_setup_dma_ops-before-using-dma_ops.patch create mode 100644 target/linux/layerscape/patches-4.4/7145-staging-fsl-mc-Added-generic-MSI-support-for-FSL-MC-.patch create mode 100644 target/linux/layerscape/patches-4.4/7146-staging-fsl-mc-Added-GICv3-ITS-support-for-FSL-MC-MS.patch create mode 100644 target/linux/layerscape/patches-4.4/7147-staging-fsl-mc-Extended-MC-bus-allocator-to-include-.patch create mode 100644 target/linux/layerscape/patches-4.4/7148-staging-fsl-mc-Changed-DPRC-built-in-portal-s-mc_io-.patch create mode 100644 target/linux/layerscape/patches-4.4/7149-staging-fsl-mc-Populate-the-IRQ-pool-for-an-MC-bus-i.patch create mode 100644 target/linux/layerscape/patches-4.4/7150-staging-fsl-mc-set-MSI-domain-for-DPRC-objects.patch create mode 100644 target/linux/layerscape/patches-4.4/7151-staging-fsl-mc-Fixed-bug-in-dprc_probe-error-path.patch create mode 100644 target/linux/layerscape/patches-4.4/7152-staging-fsl-mc-Added-DPRC-interrupt-handler.patch create mode 100644 target/linux/layerscape/patches-4.4/7153-staging-fsl-mc-Added-MSI-support-to-the-MC-bus-drive.patch create mode 100644 target/linux/layerscape/patches-4.4/7154-staging-fsl-mc-Remove-unneeded-parentheses.patch create mode 100644 target/linux/layerscape/patches-4.4/7155-staging-fsl-mc-Do-not-allow-building-as-a-module.patch create mode 100644 target/linux/layerscape/patches-4.4/7156-staging-fsl-mc-Avoid-section-mismatch.patch create mode 100644 target/linux/layerscape/patches-4.4/7157-staging-fsl-mc-Remove-unneeded-else-following-a-retu.patch create mode 100644 target/linux/layerscape/patches-4.4/7158-staging-fsl-mc-Drop-unneeded-void-pointer-cast.patch create mode 100644 target/linux/layerscape/patches-4.4/7159-staging-fsl-mc-bus-Eliminate-double-function-call.patch create mode 100644 target/linux/layerscape/patches-4.4/7160-Staging-fsl-mc-Replace-pr_debug-with-dev_dbg.patch create mode 100644 target/linux/layerscape/patches-4.4/7161-Staging-fsl-mc-Replace-pr_err-with-dev_err.patch create mode 100644 target/linux/layerscape/patches-4.4/7162-staging-fsl-mc-fix-incorrect-type-passed-to-dev_dbg-.patch create mode 100644 target/linux/layerscape/patches-4.4/7163-staging-fsl-mc-fix-incorrect-type-passed-to-dev_err-.patch create mode 100644 target/linux/layerscape/patches-4.4/7164-staging-fsl-mc-get-rid-of-mutex_locked-variables.patch create mode 100644 target/linux/layerscape/patches-4.4/7165-staging-fsl-mc-TODO-updates.patch create mode 100644 target/linux/layerscape/patches-4.4/7166-staging-fsl-mc-DPAA2-overview-readme-update.patch create mode 100644 target/linux/layerscape/patches-4.4/7167-staging-fsl-mc-update-dpmcp-binary-interface-to-v3.0.patch create mode 100644 target/linux/layerscape/patches-4.4/7168-staging-fsl-mc-update-dpbp-binary-interface-to-v2.2.patch create mode 100644 target/linux/layerscape/patches-4.4/7169-staging-fsl-mc-update-dprc-binary-interface-to-v5.1.patch create mode 100644 target/linux/layerscape/patches-4.4/7170-staging-fsl-mc-don-t-use-object-versions-to-make-bin.patch create mode 100644 target/linux/layerscape/patches-4.4/7171-staging-fsl-mc-set-up-coherent-dma-ops-for-added-dev.patch create mode 100644 target/linux/layerscape/patches-4.4/7172-staging-fsl-mc-set-cacheable-flag-for-added-devices-.patch create mode 100644 target/linux/layerscape/patches-4.4/7173-staging-fsl-mc-get-version-of-root-dprc-from-MC-hard.patch create mode 100644 target/linux/layerscape/patches-4.4/7174-staging-fsl-mc-add-dprc-version-check.patch create mode 100644 target/linux/layerscape/patches-4.4/7175-staging-fsl-mc-add-quirk-handling-for-dpseci-objects.patch create mode 100644 target/linux/layerscape/patches-4.4/7176-staging-fsl-mc-add-dpmcp-version-check.patch create mode 100644 target/linux/layerscape/patches-4.4/7177-staging-fsl-mc-return-EINVAL-for-all-fsl_mc_portal_a.patch create mode 100644 target/linux/layerscape/patches-4.4/7178-staging-fsl-mc-bus-Drop-warning.patch create mode 100644 target/linux/layerscape/patches-4.4/7179-staging-fsl-mc-add-support-for-the-modalias-sysfs-at.patch create mode 100644 target/linux/layerscape/patches-4.4/7180-staging-fsl-mc-implement-uevent-callback-and-set-the.patch create mode 100644 target/linux/layerscape/patches-4.4/7181-staging-fsl-mc-clean-up-the-device-id-struct.patch create mode 100644 target/linux/layerscape/patches-4.4/7182-staging-fsl-mc-add-support-for-device-table-matching.patch create mode 100644 target/linux/layerscape/patches-4.4/7183-staging-fsl-mc-export-mc_get_version.patch create mode 100644 target/linux/layerscape/patches-4.4/7184-staging-fsl-mc-make-fsl_mc_is_root_dprc-global.patch create mode 100644 target/linux/layerscape/patches-4.4/7185-staging-fsl-mc-fix-asymmetry-in-destroy-of-mc_io.patch create mode 100644 target/linux/layerscape/patches-4.4/7186-staging-fsl-mc-dprc-add-missing-irq-free.patch create mode 100644 target/linux/layerscape/patches-4.4/7187-staging-fsl-mc-dprc-fix-ordering-problem-freeing-res.patch create mode 100644 target/linux/layerscape/patches-4.4/7188-staging-fsl-mc-properly-set-hwirq-in-msi-set_desc.patch create mode 100644 target/linux/layerscape/patches-4.4/7189-staging-fsl-mc-update-dpcon-binary-interface-to-v2.2.patch create mode 100644 target/linux/layerscape/patches-4.4/7190-staging-fsl-mc-root-dprc-rescan-attribute-to-sync-ke.patch create mode 100644 target/linux/layerscape/patches-4.4/7191-staging-fsl-mc-bus-rescan-attribute-to-sync-kernel-w.patch create mode 100644 target/linux/layerscape/patches-4.4/7192-staging-fsl-mc-Propagate-driver_override-for-a-child.patch create mode 100644 target/linux/layerscape/patches-4.4/7193-staging-fsl-mc-add-device-binding-path-driver_overri.patch create mode 100644 target/linux/layerscape/patches-4.4/7194-staging-fsl-mc-export-irq-cleanup-for-vfio-to-use.patch create mode 100644 target/linux/layerscape/patches-4.4/7195-increment-MC_CMD_COMPLETION_TIMEOUT_MS.patch create mode 100644 target/linux/layerscape/patches-4.4/7196-staging-fsl-mc-make-fsl_mc_get_root_dprc-public.patch create mode 100644 target/linux/layerscape/patches-4.4/7197-staging-fsl-mc-Management-Complex-restool-driver.patch create mode 100644 target/linux/layerscape/patches-4.4/7198-staging-fsl-mc-dpio-services-driver.patch create mode 100644 target/linux/layerscape/patches-4.4/7199-dpaa2-dpio-Cosmetic-cleanup.patch create mode 100644 target/linux/layerscape/patches-4.4/7200-staging-fsl-mc-dpio-driver-match-id-cleanup.patch create mode 100644 target/linux/layerscape/patches-4.4/7201-staging-dpaa2-eth-initial-commit-of-dpaa2-eth-driver.patch create mode 100644 target/linux/layerscape/patches-4.4/7202-staging-fsl-dpaa2-eth-code-cleanup-for-upstreaming.patch create mode 100644 target/linux/layerscape/patches-4.4/7203-fsl-dpaa2-eth-Update-description-of-DPNI-counters.patch create mode 100644 target/linux/layerscape/patches-4.4/7204-fsl-dpaa2-eth-dpni-Clear-compiler-warnings.patch create mode 100644 target/linux/layerscape/patches-4.4/7205-fsl-dpaa2-eth-sanitize-supported-private-flags.patch create mode 100644 target/linux/layerscape/patches-4.4/7206-fsl-dpaa2-eth-match-id-cleanup.patch create mode 100644 target/linux/layerscape/patches-4.4/7207-fsl-dpaa2-eth-add-device-table-to-driver.patch create mode 100644 target/linux/layerscape/patches-4.4/7208-staging-fsl-dpaa2-mac-Added-MAC-PHY-interface-driver.patch create mode 100644 target/linux/layerscape/patches-4.4/7209-staging-fsl-dpaa2-mac-Interrupt-code-cleanup.patch create mode 100644 target/linux/layerscape/patches-4.4/7210-staging-fsl-dpaa2-mac-Fix-unregister_netdev-issue.patch create mode 100644 target/linux/layerscape/patches-4.4/7211-staging-fsl-dpaa2-mac-Don-t-call-devm_free_irq.patch create mode 100644 target/linux/layerscape/patches-4.4/7212-staging-fsl-dpaa2-mac-Use-of_property_read_32.patch create mode 100644 target/linux/layerscape/patches-4.4/7213-staging-fsl-dpaa2-mac-Remove-version-checks.patch create mode 100644 target/linux/layerscape/patches-4.4/7214-staging-fsl-dpaa2-mac-match-id-cleanup.patch create mode 100644 target/linux/layerscape/patches-4.4/7215-dpaa2-evb-Added-Edge-Virtual-Bridge-driver.patch create mode 100644 target/linux/layerscape/patches-4.4/7216-dpaa2-evb-Fix-interrupt-handling.patch create mode 100644 target/linux/layerscape/patches-4.4/7217-dpaa2-evb-Add-object-version-check.patch create mode 100644 target/linux/layerscape/patches-4.4/7218-dpaa2-evb-Cosmetic-cleanup.patch create mode 100644 target/linux/layerscape/patches-4.4/7219-dpaa2-evb-match-id-cleanup.patch create mode 100644 target/linux/layerscape/patches-4.4/7220-dpaa2-ethsw-Ethernet-Switch-driver.patch create mode 100644 target/linux/layerscape/patches-4.4/7221-dpaa2-ethsw-match-id-cleanup.patch create mode 100644 target/linux/layerscape/patches-4.4/7222-dpaa2-ethsw-fix-compile-error-on-backport-to-4.4.patch create mode 100644 target/linux/layerscape/patches-4.4/7223-irqdomain-Added-domain-bus-token-DOMAIN_BUS_FSL_MC_M.patch create mode 100644 target/linux/layerscape/patches-4.4/7224-fsl-mc-msi-Added-FSL-MC-specific-member-to-the-msi_d.patch create mode 100644 target/linux/layerscape/patches-4.4/7225-dpaa2-evb-fix-4.4-backport-compile-error.patch create mode 100644 target/linux/layerscape/patches-4.4/7226-dpaa_eth-fix-adjust_link-for-10G-2.5G.patch create mode 100644 target/linux/layerscape/patches-4.4/8026-cpufreq-qoriq-Don-t-look-at-clock-implementation-det.patch create mode 100644 target/linux/layerscape/patches-4.4/8036-ls2085a-Add-support-for-reset.patch create mode 100644 target/linux/layerscape/patches-4.4/8037-ls1043a-Add-support-for-reset.patch create mode 100644 target/linux/layerscape/patches-4.4/8038-reset-driver-Kconfig-Change-define-to-ARCH_LAYERSCAP.patch create mode 100644 target/linux/layerscape/patches-4.4/8042-drivers-gpio-Port-gpio-driver-to-support-layerscape-.patch create mode 100644 target/linux/layerscape/patches-4.4/8048-mmc-sdhci-of-esdhc-add-remove-some-quirks-according-.patch create mode 100644 target/linux/layerscape/patches-4.4/8049-PCI-layerscape-Add-fsl-ls2085a-pcie-compatible-ID.patch create mode 100644 target/linux/layerscape/patches-4.4/8050-PCI-layerscape-Fix-MSG-TLP-drop-setting.patch create mode 100644 target/linux/layerscape/patches-4.4/8060-irqchip-Add-Layerscape-SCFG-MSI-controller-support.patch create mode 100644 target/linux/layerscape/patches-4.4/8061-arm64-layerscape-Enable-PCIe-for-Layerscape.patch create mode 100644 target/linux/layerscape/patches-4.4/8062-armv8-aarch32-enable-pci_domains-for-armv8-32bit.patch create mode 100644 target/linux/layerscape/patches-4.4/8073-ls1012a-added-clock-configuration.patch create mode 100644 target/linux/layerscape/patches-4.4/8114-drivers-PCIE-enable-for-Linux.patch create mode 100644 target/linux/layerscape/patches-4.4/8115-PCI-layerscape-call-dw_pcie_setup_rc-in-host-initial.patch create mode 100644 target/linux/layerscape/patches-4.4/8125-rtc-pcf2127-add-pcf2129-device-id.patch create mode 100644 target/linux/layerscape/patches-4.4/8127-ls1046a-msi-Add-LS1046A-MSI-support.patch create mode 100644 target/linux/layerscape/patches-4.4/8128-pci-layerscape-add-LS1046A-support.patch create mode 100644 target/linux/layerscape/patches-4.4/8129-clk-qoriq-add-ls1046a-support.patch create mode 100644 target/linux/layerscape/patches-4.4/8130-ls1046a-sata-Add-LS1046A-sata-support.patch create mode 100644 target/linux/layerscape/patches-4.4/8134-pci-layerscape-add-LUT-DBG-reigster-offset-member.patch create mode 100644 target/linux/layerscape/patches-4.4/8136-drivers-mmc-Add-compatible-string-for-LS1088A.patch create mode 100644 target/linux/layerscape/patches-4.4/8137-armv8-ls1088a-Add-PCIe-compatible.patch create mode 100644 target/linux/layerscape/patches-4.4/8138-pci-layerscape-add-MSI-interrupt-support.patch create mode 100644 target/linux/layerscape/patches-4.4/8142-drivers-mmc-Add-compatible-string-for-LS1046A.patch create mode 100644 target/linux/layerscape/patches-4.4/8229-drivers-clk-qoriq-Add-ls2088a-key-to-chipinfo-table.patch create mode 100644 target/linux/layerscape/patches-4.4/8230-layerscape-pci-fix-linkup-issue.patch create mode 100644 target/linux/layerscape/patches-4.4/8231-driver-clk-qoriq-Add-ls2088a-clk-support.patch create mode 100644 target/linux/layerscape/patches-4.4/8233-i2c-pca954x-Add-option-to-skip-disabling-PCA954x-Mux.patch create mode 100644 target/linux/layerscape/patches-4.4/8235-pci-layerscape-fix-pci-lut-offset-issue.patch create mode 100644 target/linux/layerscape/patches-4.4/8236-clk-add-API-of-clks.patch create mode 100644 target/linux/layerscape/patches-4.4/8237-pcie-ls208x-use-unified-compatible-fsl-ls2080a-pcie-.patch create mode 100644 target/linux/layerscape/patches-4.4/8238-irqchip-ls-scfg-msi-fix-typo-of-MSI-compatible-strin.patch create mode 100644 target/linux/layerscape/patches-4.4/8239-irqchip-ls-scfg-msi-add-LS1046a-MSI-support.patch create mode 100644 target/linux/layerscape/patches-4.4/8240-irqchip-ls-scfg-msi-add-LS1043a-v1.1-MSI-support.patch create mode 100644 target/linux/layerscape/patches-4.4/8241-irqchip-ls-scfg-msi-add-MSI-affinity-support.patch create mode 100644 target/linux/layerscape/patches-4.4/9069-Revert-arm64-simplify-dma_get_ops.patch create mode 100644 target/linux/layerscape/patches-4.4/9070-Revert-arm64-use-fixmap-region-for-permanent-FDT-map.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.4 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/mcs814x/Makefile create mode 100755 target/linux/mcs814x/base-files/etc/board.d/01_leds create mode 100755 target/linux/mcs814x/base-files/etc/board.d/02_network create mode 100644 target/linux/mcs814x/base-files/lib/mcs814x.sh create mode 100755 target/linux/mcs814x/base-files/lib/preinit/01_preinit_do_mcs814x.sh create mode 100644 target/linux/mcs814x/config-3.18 create mode 100644 target/linux/mcs814x/files-3.18/arch/arm/boot/dts/dlan-usb-extender.dts create mode 100644 target/linux/mcs814x/files-3.18/arch/arm/boot/dts/mcs8140.dtsi create mode 100644 target/linux/mcs814x/files-3.18/arch/arm/boot/dts/rbt-832.dts create mode 100644 target/linux/mcs814x/files-3.18/arch/arm/mach-mcs814x/Kconfig create mode 100644 target/linux/mcs814x/files-3.18/arch/arm/mach-mcs814x/Makefile create mode 100644 target/linux/mcs814x/files-3.18/arch/arm/mach-mcs814x/Makefile.boot create mode 100644 target/linux/mcs814x/files-3.18/arch/arm/mach-mcs814x/board-mcs8140-dt.c create mode 100644 target/linux/mcs814x/files-3.18/arch/arm/mach-mcs814x/clock.c create mode 100644 target/linux/mcs814x/files-3.18/arch/arm/mach-mcs814x/common.c create mode 100644 target/linux/mcs814x/files-3.18/arch/arm/mach-mcs814x/common.h create mode 100644 target/linux/mcs814x/files-3.18/arch/arm/mach-mcs814x/include/mach/cpu.h create mode 100644 target/linux/mcs814x/files-3.18/arch/arm/mach-mcs814x/include/mach/debug-macro.S create mode 100644 target/linux/mcs814x/files-3.18/arch/arm/mach-mcs814x/include/mach/entry-macro.S create mode 100644 target/linux/mcs814x/files-3.18/arch/arm/mach-mcs814x/include/mach/gpio.h create mode 100644 target/linux/mcs814x/files-3.18/arch/arm/mach-mcs814x/include/mach/hardware.h create mode 100644 target/linux/mcs814x/files-3.18/arch/arm/mach-mcs814x/include/mach/io.h create mode 100644 target/linux/mcs814x/files-3.18/arch/arm/mach-mcs814x/include/mach/irqs.h create mode 100644 target/linux/mcs814x/files-3.18/arch/arm/mach-mcs814x/include/mach/mcs814x.h create mode 100644 target/linux/mcs814x/files-3.18/arch/arm/mach-mcs814x/include/mach/param.h create mode 100644 target/linux/mcs814x/files-3.18/arch/arm/mach-mcs814x/include/mach/system.h create mode 100644 target/linux/mcs814x/files-3.18/arch/arm/mach-mcs814x/include/mach/timex.h create mode 100644 target/linux/mcs814x/files-3.18/arch/arm/mach-mcs814x/include/mach/uncompress.h create mode 100644 target/linux/mcs814x/files-3.18/arch/arm/mach-mcs814x/irq.c create mode 100644 target/linux/mcs814x/files-3.18/arch/arm/mach-mcs814x/timer.c create mode 100644 target/linux/mcs814x/files-3.18/drivers/char/hw_random/mcs814x-rng.c create mode 100644 target/linux/mcs814x/files-3.18/drivers/gpio/gpio-mcs814x.c create mode 100644 target/linux/mcs814x/files-3.18/drivers/net/ethernet/mcs8140/Kconfig create mode 100644 target/linux/mcs814x/files-3.18/drivers/net/ethernet/mcs8140/Makefile create mode 100644 target/linux/mcs814x/files-3.18/drivers/net/ethernet/mcs8140/nuport_mac.c create mode 100644 target/linux/mcs814x/files-3.18/drivers/net/phy/mcs814x.c create mode 100644 target/linux/mcs814x/files-3.18/drivers/usb/host/ehci-mcs814x.c create mode 100644 target/linux/mcs814x/files-3.18/drivers/usb/host/ohci-mcs814x.c create mode 100644 target/linux/mcs814x/files-3.18/drivers/watchdog/mcs814x_wdt.c create mode 100644 target/linux/mcs814x/image/Makefile create mode 100644 target/linux/mcs814x/modules.mk create mode 100644 target/linux/mcs814x/patches-3.18/001-platform.patch create mode 100644 target/linux/mcs814x/patches-3.18/003-ethernet.patch create mode 100644 target/linux/mcs814x/patches-3.18/004-usb.patch create mode 100644 target/linux/mcs814x/patches-3.18/005-mcs814x_rng.patch create mode 100644 target/linux/mcs814x/patches-3.18/006-mcs814x_wdt.patch create mode 100644 target/linux/mcs814x/patches-3.18/008-mcs814x_gpio.patch create mode 100644 target/linux/mcs814x/patches-3.18/011-mcs814x_internal_phy.patch create mode 100644 target/linux/mcs814x/patches-3.18/012-mtd-cfi_cmdset_0002-force-word-write.patch create mode 100644 target/linux/mcs814x/patches-3.18/013-ohci_workarounds.patch create mode 100644 target/linux/mcs814x/patches-3.18/014-debuguart.patch create mode 100644 target/linux/mcs814x/profiles/000-Generic.mk create mode 100644 target/linux/mcs814x/profiles/100-dLAN-USB-Extender.mk create mode 100644 target/linux/mediatek/32/profiles/default.mk create mode 100644 target/linux/mediatek/32/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/config/mtkhnat create mode 100755 target/linux/mediatek/base-files/etc/init.d/mtkhnat create mode 100644 target/linux/mediatek/base-files/etc/inittab create mode 100755 target/linux/mediatek/base-files/etc/uci-defaults/99-firewall 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 100755 target/linux/mediatek/base-files/lib/upgrade/platform.sh create mode 100755 target/linux/mediatek/base-files/sbin/mtkhnat create mode 100644 target/linux/mediatek/config-4.9 create mode 100644 target/linux/mediatek/files/arch/arm/boot/dts/_mt7623.dtsi create mode 100644 target/linux/mediatek/files/arch/arm/boot/dts/mt6323.dtsi create mode 100644 target/linux/mediatek/files/arch/arm/boot/dts/mt7623-NAND-ePHY.dts create mode 100644 target/linux/mediatek/files/arch/arm/boot/dts/mt7623-NAND.dts create mode 100644 target/linux/mediatek/files/arch/arm/boot/dts/mt7623-eMMC.dts create mode 100644 target/linux/mediatek/files/arch/arm/boot/dts/mt7623-evb.dts create mode 100644 target/linux/mediatek/files/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts create mode 100644 target/linux/mediatek/files/drivers/char/hw_random/mtk-rng.c create mode 100644 target/linux/mediatek/files/drivers/crypto/mediatek/Makefile create mode 100644 target/linux/mediatek/files/drivers/crypto/mediatek/mtk-aes.c create mode 100644 target/linux/mediatek/files/drivers/crypto/mediatek/mtk-platform.c create mode 100644 target/linux/mediatek/files/drivers/crypto/mediatek/mtk-platform.h create mode 100644 target/linux/mediatek/files/drivers/crypto/mediatek/mtk-regs.h create mode 100644 target/linux/mediatek/files/drivers/crypto/mediatek/mtk-sha.c create mode 100644 target/linux/mediatek/image/32.mk create mode 100644 target/linux/mediatek/image/Makefile create mode 100644 target/linux/mediatek/modules.mk create mode 100644 target/linux/mediatek/patches-4.9/0001-arch-arm-add-dts-build-code.patch create mode 100644 target/linux/mediatek/patches-4.9/0002-dt-bindings-add-MediaTek-PCIe-binding-documentation.patch create mode 100644 target/linux/mediatek/patches-4.9/0003-PCI-mediatek-add-support-for-PCIe-found-on-MT7623-MT.patch create mode 100644 target/linux/mediatek/patches-4.9/0004-soc-mediatek-Add-MT2701-power-dt-bindings.patch create mode 100644 target/linux/mediatek/patches-4.9/0005-clk-mediatek-Add-MT2701-clock-support.patch create mode 100644 target/linux/mediatek/patches-4.9/0006-reset-mediatek-mt2701-reset-driver.patch create mode 100644 target/linux/mediatek/patches-4.9/0007-ARM-mediatek-Add-MT2701-config-options-for-mediatek-.patch create mode 100644 target/linux/mediatek/patches-4.9/0008-soc-mediatek-Refine-scpsys-to-support-multiple-platf.patch create mode 100644 target/linux/mediatek/patches-4.9/0009-soc-mediatek-Add-MT2701-scpsys-driver.patch create mode 100644 target/linux/mediatek/patches-4.9/0010-clk-add-hifsys-reset.patch create mode 100644 target/linux/mediatek/patches-4.9/0011-scpsys-various-fixes.patch create mode 100644 target/linux/mediatek/patches-4.9/0012-clk-dont-disable-unused-clocks.patch create mode 100644 target/linux/mediatek/patches-4.9/0013-clk-mediatek-enable-critical-clocks.patch create mode 100644 target/linux/mediatek/patches-4.9/0014-clk-mediatek-Export-CPU-mux-clocks-for-CPU-frequency.patch create mode 100644 target/linux/mediatek/patches-4.9/0015-cpufreq-mediatek-add-driver.patch create mode 100644 target/linux/mediatek/patches-4.9/0016-pwm-add-pwm-mediatek.patch create mode 100644 target/linux/mediatek/patches-4.9/0017-mfd-mt6397-Add-MT6323-LED-support-into-MT6397-driver.patch create mode 100644 target/linux/mediatek/patches-4.9/0018-dt-bindings-leds-Add-document-bindings-for-leds-mt63.patch create mode 100644 target/linux/mediatek/patches-4.9/0019-dt-bindings-mfd-Add-the-description-for-LED-as-the-s.patch create mode 100644 target/linux/mediatek/patches-4.9/0020-leds-Add-LED-support-for-MT6323-PMIC.patch create mode 100644 target/linux/mediatek/patches-4.9/0021-mfd-mt6397-Align-the-placement-at-which-the-mfd_cell.patch create mode 100644 target/linux/mediatek/patches-4.9/0022-nand-make-bootrom-work-with-upstream-driver.patch create mode 100644 target/linux/mediatek/patches-4.9/0023-rng-add-mediatek-hw-rng.patch create mode 100644 target/linux/mediatek/patches-4.9/0024-media-rc-add-driver-for-IR-remote-receiver-on-MT7623.patch create mode 100644 target/linux/mediatek/patches-4.9/0025-dt-bindings-net-dsa-add-Mediatek-MT7530-binding.patch create mode 100644 target/linux/mediatek/patches-4.9/0026-net-mediatek-backport-v4.10-driver.patch create mode 100644 target/linux/mediatek/patches-4.9/0027-net-next-mediatek-fix-DQL-support.patch create mode 100644 target/linux/mediatek/patches-4.9/0028-net-next-dsa-add-Mediatek-tag-RX-TX-handler.patch create mode 100644 target/linux/mediatek/patches-4.9/0029-net-next-ethernet-mediatek-add-CDM-able-to-recognize.patch create mode 100644 target/linux/mediatek/patches-4.9/0030-net-next-dsa-add-dsa-support-for-Mediatek-MT7530-swi.patch create mode 100644 target/linux/mediatek/patches-4.9/0031-net-dsa-dsa-api-compat.patch create mode 100644 target/linux/mediatek/patches-4.9/0032-net-dsa-mediatek-add-support-for-GMAC2-wired-to-ext-.patch create mode 100644 target/linux/mediatek/patches-4.9/0033-net-dsa-add-multi-gmac-support.patch create mode 100644 target/linux/mediatek/patches-4.9/0034-net-dsa-mediatek-add-dual-gmac-support.patch create mode 100644 target/linux/mediatek/patches-4.9/0035-net-mediatek-disable-RX-VLan-offloading.patch create mode 100644 target/linux/mediatek/patches-4.9/0036-net-next-mediatek-fix-typos-inside-the-header-file.patch create mode 100644 target/linux/mediatek/patches-4.9/0037-net-next-mediatek-bring-up-QDMA-RX-ring-0.patch create mode 100644 target/linux/mediatek/patches-4.9/0038-net-next-dsa-move-struct-dsa_device_ops-to-the-globa.patch create mode 100644 target/linux/mediatek/patches-4.9/0039-net-next-dsa-add-flow_dissect-callback-to-struct-dsa.patch create mode 100644 target/linux/mediatek/patches-4.9/0040-net-next-tag_mtk-add-flow_dissect-callback-to-the-op.patch create mode 100644 target/linux/mediatek/patches-4.9/0041-net-next-dsa-fix-flow-dissection.patch create mode 100644 target/linux/mediatek/patches-4.9/0042-net-next-mediatek-honour-special-tag-bit-inside-RX-D.patch create mode 100644 target/linux/mediatek/patches-4.9/0043-net-next-mediatek-enable-special-tag-indication-for-.patch create mode 100644 target/linux/mediatek/patches-4.9/0044-net-next-dsa-mediatek-tell-GDMA-when-we-are-turning-.patch create mode 100644 target/linux/mediatek/patches-4.9/0045-net-dsa-mediatek-turn-into-platform-driver.patch create mode 100644 target/linux/mediatek/patches-4.9/0046-net-mediatek-add-irq-delay.patch create mode 100644 target/linux/mediatek/patches-4.9/0047-net-next-mediatek-split-IRQ-register-locking-into-TX.patch create mode 100644 target/linux/mediatek/patches-4.9/0048-net-core-add-RPS-balancer.patch create mode 100644 target/linux/mediatek/patches-4.9/0049-net-mediatek-add-rx-queue.patch create mode 100644 target/linux/mediatek/patches-4.9/0050-net-mediatek-add-trgmii-clock.patch create mode 100644 target/linux/mediatek/patches-4.9/0051-net-mediatek-increase-tx_timeout.patch create mode 100644 target/linux/mediatek/patches-4.9/0052-net-phy-add-FC.patch create mode 100644 target/linux/mediatek/patches-4.9/0053-net-dsa-mediatek-add-software-phy-polling.patch create mode 100644 target/linux/mediatek/patches-4.9/0054-net-ethernet-mediatek-fixed-deadlock-captured-by-loc.patch create mode 100644 target/linux/mediatek/patches-4.9/0055-net-ethernet-mediatek-avoid-potential-invalid-memory.patch create mode 100644 target/linux/mediatek/patches-4.9/0056-net-mediatek-add-hw-nat-support.patch create mode 100644 target/linux/mediatek/patches-4.9/0057-net-mediatek-add-HW-QoS-support.patch create mode 100644 target/linux/mediatek/patches-4.9/0058-pinctrl-update.patch create mode 100644 target/linux/mediatek/patches-4.9/0059-eth-fixes.patch create mode 100644 target/linux/mediatek/patches-4.9/0060-eth-debug.patch create mode 100644 target/linux/mediatek/patches-4.9/0061-eth-up_down_lock.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/diag.sh create mode 100644 target/linux/mpc85xx/base-files/etc/hotplug.d/firmware/10-ath9k-eeprom create mode 100755 target/linux/mpc85xx/base-files/lib/mpc85xx.sh create mode 100644 target/linux/mpc85xx/base-files/lib/preinit/01_preinit_do_mpc85xx.sh 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.9 create mode 100644 target/linux/mpc85xx/files/arch/powerpc/boot/cuboot-tl-wdr4900-v1.c create mode 100644 target/linux/mpc85xx/files/arch/powerpc/boot/dts/tl-wdr4900-v1.dts create mode 100644 target/linux/mpc85xx/files/arch/powerpc/platforms/85xx/tl_wdr4900_v1.c create mode 100644 target/linux/mpc85xx/generic/config-default 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/target.mk create mode 100644 target/linux/mpc85xx/patches-4.9/001-powerpc-85xx-add-gpio-keys-to-of-match-table.patch create mode 100644 target/linux/mpc85xx/patches-4.9/100-powerpc-85xx-tl-wdr4900-v1-support.patch create mode 100644 target/linux/mpc85xx/profiles/00-default.mk create mode 100644 target/linux/mpc85xx/profiles/tp-link.mk 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 100755 target/linux/mvebu/base-files/etc/init.d/linksys_recovery 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 100755 target/linux/mvebu/base-files/lib/mvebu.sh create mode 100644 target/linux/mvebu/base-files/lib/preinit/01_sysinfo 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/clearfog.sh 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 100755 target/linux/mvebu/base-files/sbin/fan_ctrl.sh create mode 100644 target/linux/mvebu/config-4.4 create mode 100644 target/linux/mvebu/config-4.9 create mode 100644 target/linux/mvebu/files/arch/arm/boot/dts/armada-385-linksys-rango.dts create mode 100644 target/linux/mvebu/files/arch/arm/boot/dts/armada-385-linksys-shelby.dts create mode 100644 target/linux/mvebu/image/Makefile create mode 100644 target/linux/mvebu/image/cfbase-boot.script create mode 100644 target/linux/mvebu/image/cfpro-boot.script create mode 100755 target/linux/mvebu/image/gen_mvebu_sdcard_img.sh create mode 100644 target/linux/mvebu/patches-4.4/002-add_powertables.patch create mode 100644 target/linux/mvebu/patches-4.4/003-add_switch_nodes.patch create mode 100644 target/linux/mvebu/patches-4.4/010-build_new_dtbs.patch create mode 100644 target/linux/mvebu/patches-4.4/020-mtd-nand-pxa3xx_nand-add-support-for-partial-chunks.patch create mode 100644 target/linux/mvebu/patches-4.4/021-mtd-pxa3xx_nand-Increase-the-initial-chunk-size.patch create mode 100644 target/linux/mvebu/patches-4.4/022-mtd-pxa3xx_nand-Fix-initial-controller-configuration.patch create mode 100644 target/linux/mvebu/patches-4.4/023-bus-mvebu-mbus-provide-api-for-obtaining-IO-and-DRAM.patch create mode 100644 target/linux/mvebu/patches-4.4/030-mvneta-consolidate-autoneg-enabling.patch create mode 100644 target/linux/mvebu/patches-4.4/031-mvneta-implement-ethtool-autonegotiation-control.patch create mode 100644 target/linux/mvebu/patches-4.4/032-net-mvneta-Make-the-default-queue-related-for-each-p.patch create mode 100644 target/linux/mvebu/patches-4.4/033-net-mvneta-Associate-RX-queues-with-each-CPU.patch create mode 100644 target/linux/mvebu/patches-4.4/034-net-mvneta-Add-naive-RSS-support.patch create mode 100644 target/linux/mvebu/patches-4.4/035-net-mvneta-Configure-XPS-support.patch create mode 100644 target/linux/mvebu/patches-4.4/036-net-mvneta-fix-trivial-cut-off-issue-in-mvneta_ethto.patch create mode 100644 target/linux/mvebu/patches-4.4/038-net-mvneta-Fix-the-CPU-choice-in-mvneta_percpu_elect.patch create mode 100644 target/linux/mvebu/patches-4.4/039-net-mvneta-Use-on_each_cpu-when-possible.patch create mode 100644 target/linux/mvebu/patches-4.4/040-net-mvneta-Modify-the-queue-related-fields-from-each.patch create mode 100644 target/linux/mvebu/patches-4.4/041-net-mvneta-The-mvneta_percpu_elect-function-should-b.patch create mode 100644 target/linux/mvebu/patches-4.4/042-net-mvneta-Fix-race-condition-during-stopping.patch create mode 100644 target/linux/mvebu/patches-4.4/043-net-mvneta-sort-the-headers-in-alphabetic-order.patch create mode 100644 target/linux/mvebu/patches-4.4/044-net-add-a-hardware-buffer-management-helper-API.patch create mode 100644 target/linux/mvebu/patches-4.4/045-net-mvneta-bm-add-support-for-hardware-buffer-manage.patch create mode 100644 target/linux/mvebu/patches-4.4/046-net-mvneta-Use-the-new-hwbm-framework.patch create mode 100644 target/linux/mvebu/patches-4.4/047-net-mvneta-Fix-spinlock-usage.patch create mode 100644 target/linux/mvebu/patches-4.4/048-net-mvneta-fix-error-messages-in-mvneta_port_down-fu.patch create mode 100644 target/linux/mvebu/patches-4.4/049-net-mvneta-replace-MVNETA_CPU_D_CACHE_LINE_SIZE-with.patch create mode 100644 target/linux/mvebu/patches-4.4/050-net-mvneta-fix-changing-MTU-when-using-per-cpu-proce.patch create mode 100644 target/linux/mvebu/patches-4.4/051-ARM-dts-armada-38x-add-buffer-manager-nodes.patch create mode 100644 target/linux/mvebu/patches-4.4/052-ARM-dts-armada-xp-add-buffer-manager-nodes.patch create mode 100644 target/linux/mvebu/patches-4.4/053-ARM-dts-Add-SolidRun-Armada-388-Clearfog-A1-DT-file.patch create mode 100644 target/linux/mvebu/patches-4.4/054-ARM-dts-armada-38x-enable-buffer-manager-support-on-.patch create mode 100644 target/linux/mvebu/patches-4.4/055-ARM-dts-armada-388-clearfog-remove-duplicate-mdio-en.patch create mode 100644 target/linux/mvebu/patches-4.4/100-find_active_root.patch create mode 100644 target/linux/mvebu/patches-4.4/102-revert_i2c_delay.patch create mode 100644 target/linux/mvebu/patches-4.4/103-remove-nand-driver-bug.patch create mode 100644 target/linux/mvebu/patches-4.4/104-linksys_mamba_disable_keep_config.patch create mode 100644 target/linux/mvebu/patches-4.4/106-enable-bm-on-linksys-devices.patch create mode 100644 target/linux/mvebu/patches-4.4/110-pxa3xxx_revert_irq_thread.patch create mode 100644 target/linux/mvebu/patches-4.4/120-phy-move-fixed_phy-MII-register-generation-to-a-libr.patch create mode 100644 target/linux/mvebu/patches-4.4/121-phy-convert-swphy-register-generation-to-tabular-for.patch create mode 100644 target/linux/mvebu/patches-4.4/122-phy-separate-swphy-state-validation-from-register-ge.patch create mode 100644 target/linux/mvebu/patches-4.4/123-phy-generate-swphy-registers-on-the-fly.patch create mode 100644 target/linux/mvebu/patches-4.4/124-phy-improve-safety-of-fixed-phy-MII-register-reading.patch create mode 100644 target/linux/mvebu/patches-4.4/125-phy-provide-a-hook-for-link-up-link-down-events.patch create mode 100644 target/linux/mvebu/patches-4.4/126-phy-marvell-88E1512-add-flow-control-support.patch create mode 100644 target/linux/mvebu/patches-4.4/127-phy-export-phy_start_machine-for-phylink.patch create mode 100644 target/linux/mvebu/patches-4.4/128-phy-export-phy_speed_to_str-for-phylink.patch create mode 100644 target/linux/mvebu/patches-4.4/129-phy-add-I2C-mdio-bus.patch create mode 100644 target/linux/mvebu/patches-4.4/130-phylink-add-phylink-infrastructure.patch create mode 100644 target/linux/mvebu/patches-4.4/131-phylink-add-hooks-for-SFP-support.patch create mode 100644 target/linux/mvebu/patches-4.4/132-sfp-add-phylink-based-SFP-module-support.patch create mode 100644 target/linux/mvebu/patches-4.4/133-sfp-display-SFP-module-information.patch create mode 100644 target/linux/mvebu/patches-4.4/134-net-mvneta-convert-to-phylink.patch create mode 100644 target/linux/mvebu/patches-4.4/135-phy-fixed-phy-remove-fixed_phy_update_state.patch create mode 100644 target/linux/mvebu/patches-4.4/136-phylink-add-ethtool-nway_reset-support.patch create mode 100644 target/linux/mvebu/patches-4.4/137-net-mvneta-add-nway_reset-support.patch create mode 100644 target/linux/mvebu/patches-4.4/138-phylink-add-flow-control-support.patch create mode 100644 target/linux/mvebu/patches-4.4/139-net-mvneta-add-flow-control-support-via-phylink.patch create mode 100644 target/linux/mvebu/patches-4.4/140-net-mvneta-enable-flow-control-for-PHY-connections.patch create mode 100644 target/linux/mvebu/patches-4.4/141-net-mvneta-enable-flow-control-for-fixed-connections.patch create mode 100644 target/linux/mvebu/patches-4.4/142-phylink-add-EEE-support.patch create mode 100644 target/linux/mvebu/patches-4.4/143-net-mvneta-add-EEE-support.patch create mode 100644 target/linux/mvebu/patches-4.4/144-phylink-add-module-EEPROM-support.patch create mode 100644 target/linux/mvebu/patches-4.4/145-net-mvneta-add-module-EEPROM-reading-support.patch create mode 100644 target/linux/mvebu/patches-4.4/146-sfp-phylink-hook-up-eeprom-functions.patch create mode 100644 target/linux/mvebu/patches-4.4/147-net-mvneta-add-BQL-support.patch create mode 100644 target/linux/mvebu/patches-4.4/202-gpio_mvebu_add_limited_pwm_support.patch create mode 100644 target/linux/mvebu/patches-4.4/203-dt_bindings_extend_mvebu_gpio_documentation_with_pwm.patch create mode 100644 target/linux/mvebu/patches-4.4/204-mvebu_xp_add_pwm_properties_to_dtsi_files.patch create mode 100644 target/linux/mvebu/patches-4.4/205-arm_mvebu_enable_pwm_in_defconfig.patch create mode 100644 target/linux/mvebu/patches-4.4/206-mvebu_wrt1900ac_use_pwm-fan_rather_than_gpio-fan.patch create mode 100644 target/linux/mvebu/patches-4.4/207-armada-385-rd-mtd-partitions.patch create mode 100644 target/linux/mvebu/patches-4.4/208-ARM-mvebu-385-ap-Add-partitions.patch create mode 100644 target/linux/mvebu/patches-4.4/209-clearfog_switch_node.patch create mode 100644 target/linux/mvebu/patches-4.4/210-ARM-dts-armada388-clearfog-add-SFP-module-support.patch create mode 100644 target/linux/mvebu/patches-4.4/300-reprobe_sfp_phy.patch create mode 100644 target/linux/mvebu/patches-4.4/400-mvneta-tx-queue-workaround.patch create mode 100644 target/linux/mvebu/patches-4.9/002-add_powertables.patch create mode 100644 target/linux/mvebu/patches-4.9/003-add_switch_nodes.patch create mode 100644 target/linux/mvebu/patches-4.9/004-add_sata_disk_activity_trigger.patch create mode 100644 target/linux/mvebu/patches-4.9/010-build_new_dtbs.patch create mode 100644 target/linux/mvebu/patches-4.9/100-find_active_root.patch create mode 100644 target/linux/mvebu/patches-4.9/102-revert_i2c_delay.patch create mode 100644 target/linux/mvebu/patches-4.9/103-remove-nand-driver-bug.patch create mode 100644 target/linux/mvebu/patches-4.9/104-linksys_mamba_disable_keep_config.patch create mode 100644 target/linux/mvebu/patches-4.9/106-enable-bm-on-linksys-devices.patch create mode 100644 target/linux/mvebu/patches-4.9/110-pxa3xxx_revert_irq_thread.patch create mode 100644 target/linux/mvebu/patches-4.9/120-net-mvneta-add-BQL-support.patch create mode 100644 target/linux/mvebu/patches-4.9/200-gpio_mvebu_add_limited_pwm_support.patch create mode 100644 target/linux/mvebu/patches-4.9/201-dt_bindings_extend_mvebu_gpio_documentation_with_pwm.patch create mode 100644 target/linux/mvebu/patches-4.9/202-mvebu_xp_add_pwm_properties_to_dtsi_files.patch create mode 100644 target/linux/mvebu/patches-4.9/203-arm_mvebu_enable_pwm_in_defconfig.patch create mode 100644 target/linux/mvebu/patches-4.9/204-mvebu_wrt1900ac_use_pwm-fan_rather_than_gpio-fan.patch create mode 100644 target/linux/mvebu/patches-4.9/205-armada-385-rd-mtd-partitions.patch create mode 100644 target/linux/mvebu/patches-4.9/206-ARM-mvebu-385-ap-Add-partitions.patch create mode 100644 target/linux/mvebu/patches-4.9/210-clearfog_switch_node.patch create mode 100644 target/linux/mvebu/patches-4.9/220-ARM-dts-armada388-clearfog-add-SFP-module-support.patch create mode 100644 target/linux/mvebu/patches-4.9/300-mvneta-tx-queue-workaround.patch create mode 100644 target/linux/mvebu/patches-4.9/400-phy-provide-a-hook-for-link-up-link-down-events.patch create mode 100644 target/linux/mvebu/patches-4.9/401-net-phy-move-phy-MMD-accessors-to-phy-core.c.patch create mode 100644 target/linux/mvebu/patches-4.9/402-net-phy-make-phy_-read-write-_mmd-generic-MMD-access.patch create mode 100644 target/linux/mvebu/patches-4.9/403-net-phy-avoid-setting-unsupported-EEE-advertisments.patch create mode 100644 target/linux/mvebu/patches-4.9/404-net-phy-restart-phy-autonegotiation-after-EEE-advert.patch create mode 100644 target/linux/mvebu/patches-4.9/405-net-phy-allow-EEE-with-SGMII-interface-modes.patch create mode 100644 target/linux/mvebu/patches-4.9/406-net-phy-improve-phylib-correctness-for-non-autoneg-s.patch create mode 100644 target/linux/mvebu/patches-4.9/407-net-phy-add-802.3-clause-45-support-to-phylib.patch create mode 100644 target/linux/mvebu/patches-4.9/408-net-phy-hook-up-clause-45-autonegotiation-restart.patch create mode 100644 target/linux/mvebu/patches-4.9/409-net-phy-don-t-double-read-clause-45-status-register.patch create mode 100644 target/linux/mvebu/patches-4.9/410-net-phy-allow-settings-table-to-support-more-than-32.patch create mode 100644 target/linux/mvebu/patches-4.9/411-net-phy-split-out-PHY-speed-and-duplex-string-genera.patch create mode 100644 target/linux/mvebu/patches-4.9/412-net-phy-move-phy_lookup_setting-and-guts-of-phy_supp.patch create mode 100644 target/linux/mvebu/patches-4.9/413-phy-export-phy_start_machine-for-phylink.patch create mode 100644 target/linux/mvebu/patches-4.9/414-phy-add-I2C-mdio-bus.patch create mode 100644 target/linux/mvebu/patches-4.9/415-phylink-add-phylink-infrastructure.patch create mode 100644 target/linux/mvebu/patches-4.9/416-phylink-add-hooks-for-SFP-support.patch create mode 100644 target/linux/mvebu/patches-4.9/417-sfp-add-phylink-based-SFP-module-support.patch create mode 100644 target/linux/mvebu/patches-4.9/418-sfp-display-SFP-module-information.patch create mode 100644 target/linux/mvebu/patches-4.9/419-net-mvneta-convert-to-phylink.patch create mode 100644 target/linux/mvebu/patches-4.9/420-net-mvneta-disable-MVNETA_CAUSE_PSC_SYNC_CHANGE-inte.patch create mode 100644 target/linux/mvebu/patches-4.9/421-phylink-add-ethtool-nway_reset-support.patch create mode 100644 target/linux/mvebu/patches-4.9/422-net-mvneta-add-nway_reset-support.patch create mode 100644 target/linux/mvebu/patches-4.9/423-phylink-add-flow-control-support.patch create mode 100644 target/linux/mvebu/patches-4.9/424-net-mvneta-add-flow-control-support-via-phylink.patch create mode 100644 target/linux/mvebu/patches-4.9/425-net-mvneta-enable-flow-control-for-PHY-connections.patch create mode 100644 target/linux/mvebu/patches-4.9/426-net-mvneta-enable-flow-control-for-fixed-connections.patch create mode 100644 target/linux/mvebu/patches-4.9/427-phylink-add-EEE-support.patch create mode 100644 target/linux/mvebu/patches-4.9/428-net-mvneta-add-EEE-support.patch create mode 100644 target/linux/mvebu/patches-4.9/429-phylink-add-module-EEPROM-support.patch create mode 100644 target/linux/mvebu/patches-4.9/430-net-mvneta-add-module-EEPROM-reading-support.patch create mode 100644 target/linux/mvebu/patches-4.9/431-sfp-phylink-hook-up-eeprom-functions.patch create mode 100644 target/linux/mvebu/patches-4.9/432-phy-marvell-88E1512-add-flow-control-support.patch create mode 100644 target/linux/mvebu/patches-4.9/433-phy-marvell-88E1111-add-flow-control-support.patch create mode 100644 target/linux/mvebu/patches-4.9/434-phy-marvell-88E1540-add-flow-control-support.patch create mode 100644 target/linux/mvebu/patches-4.9/436-phylink-propagate-PHY-interface-mode-to-MAC-driver.patch create mode 100644 target/linux/mvebu/patches-4.9/437-phylink-ensure-link-drops-are-reported.patch create mode 100644 target/linux/mvebu/patches-4.9/450-reprobe_sfp_phy.patch create mode 100644 target/linux/mvebu/patches-4.9/470-ClearFog-renamed-upstream.patch create mode 100644 target/linux/mvebu/patches-4.9/471-add-ClearFog-Base-device-tree-files.patch create mode 100644 target/linux/mvebu/patches-4.9/472-armada-solidrun-microsom-backport-improvements.patch create mode 100644 target/linux/mvebu/patches-4.9/473-fix-marvell-phy-initialization-issues.patch create mode 100644 target/linux/mvebu/profiles/000-Default.mk 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/base-files/lib/mxs.sh create mode 100644 target/linux/mxs/base-files/lib/preinit/01_preinit_do_mxs.sh create mode 100644 target/linux/mxs/config-4.9 create mode 100644 target/linux/mxs/files/arch/arm/boot/dts/imx28-duckbill.dts 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.9/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.9 create mode 100644 target/linux/octeon/image/Makefile create mode 100644 target/linux/octeon/patches-4.9/100-ubnt_edgerouter2_support.patch create mode 100644 target/linux/octeon/patches-4.9/110-er200-ethernet_probe_order.patch create mode 100644 target/linux/octeon/patches-4.9/150-mmc-octeon-add-host-driver-for-octeon-mmc-controller.patch create mode 100644 target/linux/octeon/patches-4.9/160-cmdline-hack.patch create mode 100644 target/linux/octeon/patches-4.9/170-cisco-hack.patch create mode 100644 target/linux/octeon/profiles/000-Generic.mk create mode 100644 target/linux/omap/Makefile create mode 100644 target/linux/omap/base-files/etc/inittab create mode 100644 target/linux/omap/config-4.4 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/patches-4.4/001-omap4_pandaboard-wlan_fix.patch create mode 100644 target/linux/omap/profiles/00-default.mk create mode 100644 target/linux/omap24xx/Makefile create mode 100644 target/linux/omap24xx/base-files/etc/config/fstab create mode 100644 target/linux/omap24xx/base-files/etc/config/network create mode 100644 target/linux/omap24xx/base-files/etc/config/wireless create mode 100644 target/linux/omap24xx/base-files/etc/hotplug.d/firmware/10-bme-pmm-image create mode 100644 target/linux/omap24xx/base-files/etc/hotplug.d/firmware/20-p54spi-eeprom create mode 100755 target/linux/omap24xx/base-files/etc/init.d/watchdog create mode 100644 target/linux/omap24xx/base-files/etc/inittab create mode 100644 target/linux/omap24xx/base-files/etc/pointercal create mode 100644 target/linux/omap24xx/base-files/lib/firmware/bc4fw.bin create mode 100644 target/linux/omap24xx/config-4.1 create mode 100644 target/linux/omap24xx/image/Makefile create mode 100644 target/linux/omap24xx/modules.mk create mode 100644 target/linux/omap24xx/profiles/100-n810.mk create mode 100644 target/linux/omap24xx/profiles/110-n810-gui.mk create mode 100644 target/linux/orion/Makefile create mode 100755 target/linux/orion/base-files/etc/board.d/02_network create mode 100644 target/linux/orion/base-files/etc/hotplug.d/usb/10-usb create mode 100644 target/linux/orion/base-files/lib/preinit/01_sysinfo create mode 100644 target/linux/orion/config-4.4 create mode 100644 target/linux/orion/generic/base-files/etc/uci-defaults/09_hardware create mode 100644 target/linux/orion/generic/base-files/lib/upgrade/platform.sh create mode 100644 target/linux/orion/generic/target.mk create mode 100644 target/linux/orion/harddisk/config-default create mode 100644 target/linux/orion/harddisk/target.mk create mode 100644 target/linux/orion/image/Makefile create mode 100644 target/linux/orion/image/generic.mk create mode 100644 target/linux/orion/image/harddisk.mk create mode 100644 target/linux/orion/patches-4.4/000-arm_openwrt_machtypes.patch create mode 100644 target/linux/orion/patches-4.4/100-wrt350nv2_openwrt_partition_map.patch create mode 100644 target/linux/orion/patches-4.4/101-wnr854t_partition_map.patch create mode 100644 target/linux/orion/patches-4.4/200-dt2_board_support.patch create mode 100644 target/linux/orion/patches-4.4/210-wn802t_support.patch create mode 100644 target/linux/oxnas/Makefile create mode 100755 target/linux/oxnas/base-files/etc/board.d/01_leds create mode 100755 target/linux/oxnas/base-files/etc/board.d/02_network create mode 100644 target/linux/oxnas/base-files/etc/diag.sh create mode 100755 target/linux/oxnas/base-files/init.d/set-irq-affinity create mode 100755 target/linux/oxnas/base-files/lib/oxnas.sh create mode 100644 target/linux/oxnas/base-files/lib/preinit/01_preinit_do_oxnas.sh create mode 100644 target/linux/oxnas/base-files/lib/upgrade/platform.sh create mode 100644 target/linux/oxnas/config-4.4 create mode 100644 target/linux/oxnas/files/arch/arm/boot/dts/ox820-akitio.dts create mode 100644 target/linux/oxnas/files/arch/arm/boot/dts/ox820-kd20.dts create mode 100644 target/linux/oxnas/files/arch/arm/boot/dts/ox820-pogoplug-pro.dts create mode 100644 target/linux/oxnas/files/arch/arm/boot/dts/ox820-pogoplug-v3.dts create mode 100644 target/linux/oxnas/files/arch/arm/boot/dts/ox820-stg212.dts create mode 100644 target/linux/oxnas/files/arch/arm/boot/dts/ox820.dtsi create mode 100644 target/linux/oxnas/files/arch/arm/configs/ox820_defconfig create mode 100644 target/linux/oxnas/files/arch/arm/mach-oxnas/Kconfig create mode 100644 target/linux/oxnas/files/arch/arm/mach-oxnas/Makefile create mode 100644 target/linux/oxnas/files/arch/arm/mach-oxnas/Makefile.boot create mode 100644 target/linux/oxnas/files/arch/arm/mach-oxnas/fiq.S create mode 100644 target/linux/oxnas/files/arch/arm/mach-oxnas/headsmp.S create mode 100644 target/linux/oxnas/files/arch/arm/mach-oxnas/hotplug.c create mode 100644 target/linux/oxnas/files/arch/arm/mach-oxnas/include/mach/hardware.h create mode 100644 target/linux/oxnas/files/arch/arm/mach-oxnas/include/mach/iomap.h create mode 100644 target/linux/oxnas/files/arch/arm/mach-oxnas/include/mach/irqs.h create mode 100644 target/linux/oxnas/files/arch/arm/mach-oxnas/include/mach/smp.h create mode 100644 target/linux/oxnas/files/arch/arm/mach-oxnas/include/mach/timex.h create mode 100644 target/linux/oxnas/files/arch/arm/mach-oxnas/include/mach/uncompress.h create mode 100644 target/linux/oxnas/files/arch/arm/mach-oxnas/include/mach/utils.h create mode 100644 target/linux/oxnas/files/arch/arm/mach-oxnas/mach-ox820.c create mode 100644 target/linux/oxnas/files/arch/arm/mach-oxnas/platsmp.c create mode 100644 target/linux/oxnas/files/drivers/ata/sata_oxnas.c create mode 100644 target/linux/oxnas/files/drivers/clk/clk-oxnas.c create mode 100644 target/linux/oxnas/files/drivers/clocksource/oxnas_rps_timer.c create mode 100644 target/linux/oxnas/files/drivers/irqchip/irq-rps.c create mode 100644 target/linux/oxnas/files/drivers/mtd/nand/oxnas_nand.c create mode 100644 target/linux/oxnas/files/drivers/net/ethernet/stmicro/stmmac/dwmac-oxnas.c create mode 100644 target/linux/oxnas/files/drivers/pci/host/pcie-oxnas.c create mode 100644 target/linux/oxnas/files/drivers/pinctrl/pinctrl-oxnas.c create mode 100644 target/linux/oxnas/files/drivers/reset/reset-ox820.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/modules.mk create mode 100644 target/linux/oxnas/patches-4.4/0072-mtd-backport-v4.7-0day-patches-from-Boris.patch create mode 100644 target/linux/oxnas/patches-4.4/0073-of-mtd-prepare-helper-reading-NAND-ECC-algo-from-DT.patch create mode 100644 target/linux/oxnas/patches-4.4/0074-mtd-nand-import-nand_hw_control_init.patch create mode 100644 target/linux/oxnas/patches-4.4/010-arm_introduce-dma-fiq-irq-broadcast.patch create mode 100644 target/linux/oxnas/patches-4.4/250-add-plxtech-vendor-prefix.patch create mode 100644 target/linux/oxnas/patches-4.4/300-introduce-oxnas-platform.patch create mode 100644 target/linux/oxnas/patches-4.4/310-oxnas-clocksource.patch create mode 100644 target/linux/oxnas/patches-4.4/320-oxnas-irqchip.patch create mode 100644 target/linux/oxnas/patches-4.4/330-oxnas-pinctrl.patch create mode 100644 target/linux/oxnas/patches-4.4/340-oxnas-pcie.patch create mode 100644 target/linux/oxnas/patches-4.4/350-oxnas-reset.patch create mode 100644 target/linux/oxnas/patches-4.4/400-oxnas-nand.patch create mode 100644 target/linux/oxnas/patches-4.4/500-oxnas-sata.patch create mode 100644 target/linux/oxnas/patches-4.4/700-oxnas-dwmac.patch create mode 100644 target/linux/oxnas/patches-4.4/800-oxnas-ehci.patch create mode 100644 target/linux/oxnas/patches-4.4/900-more-boards.patch create mode 100644 target/linux/oxnas/patches-4.4/996-ATAG_DTB_COMPAT_CMDLINE_MANGLE.patch create mode 100644 target/linux/oxnas/patches-4.4/999-libata-hacks.patch create mode 100644 target/linux/oxnas/profiles/00-default.mk 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.9 create mode 100644 target/linux/pistachio/image/Makefile create mode 100644 target/linux/pistachio/patches-4.9/001-MIPS-DTS-Add-base-device-tree-for-Pistachio-SoC.patch create mode 100644 target/linux/pistachio/patches-4.9/002-MIPS-DTS-img-add-device-tree-for-Marduk-board.patch create mode 100644 target/linux/pistachio/patches-4.9/003-MIPS-DTS-add-img-directory-to-Makefile.patch create mode 100644 target/linux/pistachio/patches-4.9/101-dmaengine-img-mdc-Handle-early-status-read.patch create mode 100644 target/linux/pistachio/patches-4.9/102-spi-img-spfi-Implement-dual-and-quad-mode.patch create mode 100644 target/linux/pistachio/patches-4.9/103-spi-img-spfi-set-device-select-bits-for-SPFI-port-st.patch create mode 100644 target/linux/pistachio/patches-4.9/104-spi-img-spfi-use-device-0-configuration-for-all-devi.patch create mode 100644 target/linux/pistachio/patches-4.9/105-spi-img-spfi-RX-maximum-burst-size-for-DMA-is-8.patch create mode 100644 target/linux/pistachio/patches-4.9/106-spi-img-spfi-finish-every-transfer-cleanly.patch create mode 100644 target/linux/pistachio/patches-4.9/107-clockevents-Retry-programming-min-delta-up-to-10-tim.patch create mode 100644 target/linux/pistachio/patches-4.9/108-clk-pistachio-Fix-wrong-SDHost-card-speed.patch create mode 100644 target/linux/pistachio/patches-4.9/109-MIPS-DTS-img-marduk-switch-mmc-to-1-bit-mode.patch create mode 100644 target/linux/pistachio/patches-4.9/401-mtd-nor-support-mtd-name-from-device-tree.patch create mode 100644 target/linux/pistachio/patches-4.9/411-mtd-nand-Check-length-of-ID-before-reading-bits-per-.patch create mode 100644 target/linux/pistachio/patches-4.9/412-mtd-nand-Add-JEDEC-manufacturer-ID-for-Gigadevice.patch create mode 100644 target/linux/pistachio/patches-4.9/413-mtd-Introduce-SPI-NAND-framework.patch create mode 100644 target/linux/pistachio/patches-4.9/414-mtd-spi-nand-Support-Gigadevice-GD5F.patch create mode 100644 target/linux/pistachio/patches-4.9/701-net-micrel-Disable-PME.patch create mode 100644 target/linux/pistachio/patches-4.9/901-MIPS-DTS-img-marduk-add-nor-partition-name.patch create mode 100644 target/linux/pistachio/patches-4.9/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/ppc40x/Makefile create mode 100644 target/linux/ppc40x/base-files/lib/preinit/01_sysinfo create mode 100644 target/linux/ppc40x/base-files/lib/upgrade/platform.sh create mode 100644 target/linux/ppc40x/config-3.18 create mode 100644 target/linux/ppc40x/image/Makefile create mode 100644 target/linux/ppc40x/modules.mk create mode 100644 target/linux/ppc40x/patches-3.18/003-powerpc-add-EBC_BXCR-defines.patch create mode 100644 target/linux/ppc40x/patches-3.18/004-magicbox.patch create mode 100644 target/linux/ppc40x/patches-3.18/005-openrb.patch create mode 100644 target/linux/ppc40x/patches-3.18/101-pata-magicbox-cf-driver.patch create mode 100644 target/linux/ppc40x/patches-3.18/110-kilauea_openwrt_flashmap.patch create mode 100644 target/linux/ppc40x/patches-3.18/120-usb-isp116x-hcd-add-of-binding.patch create mode 100644 target/linux/ppc40x/patches-3.18/121-usb-isp116x-hcd-ppc405-register-access.patch create mode 100644 target/linux/ppc44x/Makefile create mode 100644 target/linux/ppc44x/base-files/etc/inittab create mode 100644 target/linux/ppc44x/config-3.18 create mode 100644 target/linux/ppc44x/image/Makefile create mode 100644 target/linux/ppc44x/patches-3.18/001-crypto-amcc-remove-incorrect-__init-__exit-markups.patch create mode 100644 target/linux/ppc44x/patches-3.18/100-openwrt_flashmap.patch create mode 100644 target/linux/ppc44x/patches-3.18/110-openwrt_dts_cmdline.patch create mode 100644 target/linux/ppc44x/patches-3.18/900-bootwrapper-parallel-make-fix.patch create mode 100644 target/linux/ramips/Makefile create mode 100644 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/diag.sh 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 100644 target/linux/ramips/base-files/etc/inittab create mode 100644 target/linux/ramips/base-files/etc/uci-defaults/09_fix-seama-header 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/AI-BR100.dts create mode 100644 target/linux/ramips/dts/AIR3GII.dts create mode 100644 target/linux/ramips/dts/ALL0239-3G.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/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/ArcherC20i.dts create mode 100644 target/linux/ramips/dts/ArcherC50.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/BR-6475ND.dts create mode 100644 target/linux/ramips/dts/BROADWAY.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/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/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-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-512-B.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/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/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/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/HC5962.dts create mode 100644 target/linux/ramips/dts/HC5X61.dtsi create mode 100644 target/linux/ramips/dts/HG255D.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/K2P.dts create mode 100644 target/linux/ramips/dts/LINKIT7688.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/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/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/R6220.dts create mode 100644 target/linux/ramips/dts/RB750Gr3.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-G32-B1.dts create mode 100644 target/linux/ramips/dts/RT-N10-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/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/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-WR840NV4.dts create mode 100644 target/linux/ramips/dts/TL-WR841NV13.dts create mode 100644 target/linux/ramips/dts/TL-WR84XN.dtsi create mode 100644 target/linux/ramips/dts/Timecloud.dts 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/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/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/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.dts create mode 100644 target/linux/ramips/dts/WITI.dts 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/WL-330N.dts create mode 100644 target/linux/ramips/dts/WL-330N3G.dts create mode 100644 target/linux/ramips/dts/WL-341V3.dts create mode 100644 target/linux/ramips/dts/WL-351.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/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/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/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/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/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-WE1326.dts create mode 100644 target/linux/ramips/dts/ZBT-WE2026.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.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/ZTE-Q7.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/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.9/drivers/net/ethernet/mtk/Kconfig create mode 100644 target/linux/ramips/files-4.9/drivers/net/ethernet/mtk/Makefile create mode 100644 target/linux/ramips/files-4.9/drivers/net/ethernet/mtk/esw_rt3050.c create mode 100644 target/linux/ramips/files-4.9/drivers/net/ethernet/mtk/esw_rt3050.h create mode 100644 target/linux/ramips/files-4.9/drivers/net/ethernet/mtk/ethtool.c create mode 100644 target/linux/ramips/files-4.9/drivers/net/ethernet/mtk/ethtool.h create mode 100644 target/linux/ramips/files-4.9/drivers/net/ethernet/mtk/gsw_mt7620.c create mode 100644 target/linux/ramips/files-4.9/drivers/net/ethernet/mtk/gsw_mt7620.h create mode 100644 target/linux/ramips/files-4.9/drivers/net/ethernet/mtk/gsw_mt7621.c create mode 100644 target/linux/ramips/files-4.9/drivers/net/ethernet/mtk/mdio.c create mode 100644 target/linux/ramips/files-4.9/drivers/net/ethernet/mtk/mdio.h create mode 100644 target/linux/ramips/files-4.9/drivers/net/ethernet/mtk/mdio_mt7620.c create mode 100644 target/linux/ramips/files-4.9/drivers/net/ethernet/mtk/mdio_rt2880.c create mode 100644 target/linux/ramips/files-4.9/drivers/net/ethernet/mtk/mdio_rt2880.h create mode 100644 target/linux/ramips/files-4.9/drivers/net/ethernet/mtk/mt7530.c create mode 100644 target/linux/ramips/files-4.9/drivers/net/ethernet/mtk/mt7530.h create mode 100644 target/linux/ramips/files-4.9/drivers/net/ethernet/mtk/mtk_eth_soc.c create mode 100644 target/linux/ramips/files-4.9/drivers/net/ethernet/mtk/mtk_eth_soc.h create mode 100644 target/linux/ramips/files-4.9/drivers/net/ethernet/mtk/soc_mt7620.c create mode 100644 target/linux/ramips/files-4.9/drivers/net/ethernet/mtk/soc_mt7621.c create mode 100644 target/linux/ramips/files-4.9/drivers/net/ethernet/mtk/soc_rt2880.c create mode 100644 target/linux/ramips/files-4.9/drivers/net/ethernet/mtk/soc_rt3050.c create mode 100644 target/linux/ramips/files-4.9/drivers/net/ethernet/mtk/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-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/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-legacy.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.9 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.9 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.9 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.9/0004-MIPS-ralink-add-MT7621-pcie-driver.patch create mode 100644 target/linux/ramips/patches-4.9/0005-MIPS-use-set_mode-to-enable-disable-the-cevt-r4k-irq.patch create mode 100644 target/linux/ramips/patches-4.9/0006-MIPS-ralink-add-cpu-frequency-scaling.patch create mode 100644 target/linux/ramips/patches-4.9/0007-MIPS-ralink-copy-the-commandline-from-the-devicetree.patch create mode 100644 target/linux/ramips/patches-4.9/0009-PCI-MIPS-enable-PCIe-on-MT7688.patch create mode 100644 target/linux/ramips/patches-4.9/0013-owrt-hack-fix-mt7688-cache-issue.patch create mode 100644 target/linux/ramips/patches-4.9/0015-arch-mips-do-not-select-illegal-access-driver-by-def.patch create mode 100644 target/linux/ramips/patches-4.9/0024-GPIO-add-named-gpio-exports.patch create mode 100644 target/linux/ramips/patches-4.9/0025-pinctrl-ralink-add-pinctrl-driver.patch create mode 100644 target/linux/ramips/patches-4.9/0026-DT-Add-documentation-for-gpio-ralink.patch create mode 100644 target/linux/ramips/patches-4.9/0027-GPIO-MIPS-ralink-add-gpio-driver-for-ralink-SoC.patch create mode 100644 target/linux/ramips/patches-4.9/0028-GPIO-ralink-add-mt7621-gpio-controller.patch create mode 100644 target/linux/ramips/patches-4.9/0029-phy-usb-add-ralink-phy.patch create mode 100644 target/linux/ramips/patches-4.9/0031-uvc-add-iPassion-iP2970-support.patch create mode 100644 target/linux/ramips/patches-4.9/0032-USB-dwc2-add-device_reset.patch create mode 100644 target/linux/ramips/patches-4.9/0034-NET-multi-phy-support.patch create mode 100644 target/linux/ramips/patches-4.9/0036-mtd-fix-cfi-cmdset-0002-erase-status-check.patch create mode 100644 target/linux/ramips/patches-4.9/0037-mtd-cfi-cmdset-0002-force-word-write.patch create mode 100644 target/linux/ramips/patches-4.9/0039-mtd-add-mt7621-nand-support.patch create mode 100644 target/linux/ramips/patches-4.9/0040-nand-hack.patch create mode 100644 target/linux/ramips/patches-4.9/0041-DT-Add-documentation-for-spi-rt2880.patch create mode 100644 target/linux/ramips/patches-4.9/0042-SPI-ralink-add-Ralink-SoC-spi-driver.patch create mode 100644 target/linux/ramips/patches-4.9/0043-spi-add-mt7621-support.patch create mode 100644 target/linux/ramips/patches-4.9/0044-i2c-MIPS-adds-ralink-I2C-driver.patch create mode 100644 target/linux/ramips/patches-4.9/0045-i2c-add-mt7621-driver.patch create mode 100644 target/linux/ramips/patches-4.9/0046-mmc-MIPS-ralink-add-sdhci-for-mt7620a-SoC.patch create mode 100644 target/linux/ramips/patches-4.9/0047-DMA-ralink-add-rt2880-dma-engine.patch create mode 100644 target/linux/ramips/patches-4.9/0048-asoc-add-mt7620-support.patch create mode 100644 target/linux/ramips/patches-4.9/0051-serial-add-ugly-custom-baud-rate-hack.patch create mode 100644 target/linux/ramips/patches-4.9/0052-pwm-add-mediatek-support.patch create mode 100644 target/linux/ramips/patches-4.9/0054-mtd-add-chunked-read-io-to-m25p80.patch create mode 100644 target/linux/ramips/patches-4.9/0063-set-CM_GCR_BASE_CMDEFTGT_MEM-according-to-datasheet.patch create mode 100644 target/linux/ramips/patches-4.9/0064-add_clk_round_rate.patch create mode 100644 target/linux/ramips/patches-4.9/0066-mt7621-enable-highmem.patch create mode 100644 target/linux/ramips/patches-4.9/0067-enable-mt7621-xhci.patch create mode 100644 target/linux/ramips/patches-4.9/0069-awake-rt305x-dwc2-controller.patch create mode 100644 target/linux/ramips/patches-4.9/0070-weak_reordering.patch create mode 100644 target/linux/ramips/patches-4.9/0085-pinmux-util.patch create mode 100644 target/linux/ramips/patches-4.9/0090-ethernet.patch create mode 100644 target/linux/ramips/patches-4.9/0098-disable_cm.patch create mode 100644 target/linux/ramips/patches-4.9/0099-pci-mt7620.patch create mode 100644 target/linux/ramips/patches-4.9/0100-prom_fixes.patch create mode 100644 target/linux/ramips/patches-4.9/0101-MIPS-ralink-allow-NULL-clock-for-clk_get_rate.patch create mode 100644 target/linux/ramips/patches-4.9/0105-set_mt7621_soc_type.patch create mode 100644 target/linux/ramips/patches-4.9/0200-linkit_bootstrap.patch create mode 100644 target/linux/ramips/patches-4.9/0700-pinctrl-mt7620-mdio-as-refclk.patch create mode 100644 target/linux/ramips/patches-4.9/0720-arch-mips-ralink-add-i2c-clocks.patch create mode 100644 target/linux/ramips/patches-4.9/0901-spansion_nand_id_fix.patch create mode 100644 target/linux/ramips/patches-4.9/100-mt7621-core-detect-hack.patch create mode 100644 target/linux/ramips/patches-4.9/101-mt7621-timer.patch create mode 100644 target/linux/ramips/patches-4.9/301-fix-rt3883.patch create mode 100644 target/linux/ramips/patches-4.9/999-fix-pci-init-mt7620.patch create mode 100644 target/linux/ramips/rt288x/config-4.9 create mode 100644 target/linux/ramips/rt288x/target.mk create mode 100644 target/linux/ramips/rt305x/config-4.9 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.9 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.4 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.4/001-cmdline_hack.patch create mode 100644 target/linux/rb532/patches-4.4/002-rb532_nand_fixup.patch create mode 100644 target/linux/rb532/patches-4.4/004-rb532-fix-partition-info.patch 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/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.4 create mode 100644 target/linux/sunxi/image/Config.in create mode 100644 target/linux/sunxi/image/Makefile 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.4/100-clk-sunxi-add-dram-gates-support.patch create mode 100644 target/linux/sunxi/patches-4.4/101-dt-sun4i-add-dram-gates.patch create mode 100644 target/linux/sunxi/patches-4.4/102-dt-sun7i-add-dram-gates.patch create mode 100644 target/linux/sunxi/patches-4.4/103-clk-sunxi-add-h3-clksupport.patch create mode 100644 target/linux/sunxi/patches-4.4/104-1-dt-sunxi-add-h3-dtsi.patch create mode 100644 target/linux/sunxi/patches-4.4/104-2-dt-sun8i-add-orangepi-plus.patch create mode 100644 target/linux/sunxi/patches-4.4/105-phy-use_of_match_node.patch create mode 100644 target/linux/sunxi/patches-4.4/106-phy-add-h3-usbphys.patch create mode 100644 target/linux/sunxi/patches-4.4/107-clk-sunxi-add-h3-usbphy-clocks.patch create mode 100644 target/linux/sunxi/patches-4.4/110-clk-sunxi-add-ve-for-sun457i.patch create mode 100644 target/linux/sunxi/patches-4.4/111-1-dt-sun4i-add-ve-clock-module.patch create mode 100644 target/linux/sunxi/patches-4.4/111-2-dt-sun7i-add-ve-clock-module.patch create mode 100644 target/linux/sunxi/patches-4.4/115-musb-ignore-vbus-errors.patch create mode 100644 target/linux/sunxi/patches-4.4/130-pinctrl-sunxi-add-h3-pio.patch create mode 100644 target/linux/sunxi/patches-4.4/131-reset-add-h3-resets.patch create mode 100644 target/linux/sunxi/patches-4.4/132-dt-sun8i-add-h3-usbclocks.patch create mode 100644 target/linux/sunxi/patches-4.4/133-dt-sun8i-add-usbphy-usbhost-ctrl-nodes.patch create mode 100644 target/linux/sunxi/patches-4.4/134-dt-sun8i-orangepiplus-enable-usbhost.patch create mode 100644 target/linux/sunxi/patches-4.4/135-clk-sunxi-fix-signedness-bug.patch create mode 100644 target/linux/sunxi/patches-4.4/140-reset-add-of_reset_control_get_by_index.patch create mode 100644 target/linux/sunxi/patches-4.4/141-reset-fix-of_reset_control_get.patch create mode 100644 target/linux/sunxi/patches-4.4/142-reset-use-ENOTSUPP-instead-of-ENOSYS.patch create mode 100644 target/linux/sunxi/patches-4.4/143-reset-add-shared-resetcontrol-asserts.patch create mode 100644 target/linux/sunxi/patches-4.4/144-usb-ehci-plat-support-multiple-reset-ctrllines.patch create mode 100644 target/linux/sunxi/patches-4.4/145-usb-ohci-plat-support-multiple-reset-ctrllines.patch create mode 100644 target/linux/sunxi/patches-4.4/150-dt-sun7i-enable-codec-on-pcduino3.patch create mode 100644 target/linux/sunxi/patches-4.4/200-dt-sun7i-add-lamobo-r1.patch create mode 100644 target/linux/sunxi/profiles/00-default.mk 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.4/000-um-Avoid-longjmp-setjmp-symbol-clashes-with-libpthre.patch create mode 100644 target/linux/uml/patches-4.4/101-mconsole-exec.patch create mode 100644 target/linux/uml/patches-4.4/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-default 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/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.9 create mode 100644 target/linux/x86/generic/base-files/lib/preinit/45_mount_xenfs create mode 100644 target/linux/x86/generic/config-default 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-default 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-default 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.9/011-tune_lzma_options.patch create mode 100644 target/linux/x86/patches-4.9/100-fix_cs5535_clockevt.patch create mode 100644 target/linux/x86/patches-4.9/800-hwmon-w83627ehf-dont-claim-nct677x.patch create mode 100644 target/linux/xburst/Makefile create mode 100755 target/linux/xburst/base-files/etc/board.d/01_system create mode 100644 target/linux/xburst/base-files/etc/config/fstab create mode 100644 target/linux/xburst/base-files/etc/config/network create mode 100644 target/linux/xburst/config-3.18 create mode 100644 target/linux/xburst/image/Makefile create mode 100644 target/linux/xburst/image/ubinize.cfg create mode 100644 target/linux/xburst/modules.mk create mode 100644 target/linux/xburst/patches-3.18/001-ubi-Read-only-the-vid-header-instead-of-the-whole-pa.patch create mode 100644 target/linux/xburst/patches-3.18/002-NAND-Optimize-NAND_ECC_HW_OOB_FIRST-read.patch create mode 100644 target/linux/xburst/patches-3.18/003-NAND-Add-support-for-subpage-reads-for-NAND_ECC_HW_O.patch create mode 100644 target/linux/xburst/patches-3.18/004-ASoC-JZ4740-delay-activation-of-the-DAC-to-work-arou.patch create mode 100644 target/linux/xburst/patches-3.18/005-RTC-JZ4740-Init-the-regulator-register-on-startup.patch create mode 100644 target/linux/xburst/patches-3.18/006-Add-ili8960-lcd-driver.patch create mode 100644 target/linux/xburst/patches-3.18/007-qi_lb60-Don-t-use-3-wire-spi-mode-for-the-display-fo.patch create mode 100644 target/linux/xburst/qi_lb60/config-default create mode 100644 target/linux/xburst/qi_lb60/target.mk create mode 100644 target/linux/zynq/Makefile create mode 100644 target/linux/zynq/base-files.mk create mode 100755 target/linux/zynq/base-files/etc/board.d/02_network create mode 100644 target/linux/zynq/base-files/etc/config/network create mode 100644 target/linux/zynq/base-files/etc/inittab create mode 100644 target/linux/zynq/config-4.4 create mode 100644 target/linux/zynq/image/Makefile create mode 100755 target/linux/zynq/image/mkits.sh 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.27/001-MIPS_BFD_Remove_EI_ABIVERSION_5.patch create mode 100644 toolchain/binutils/patches/2.27/300-001_ld_makefile_patch.patch create mode 100644 toolchain/binutils/patches/2.27/300-012_check_ldrunpath_length.patch create mode 100644 toolchain/binutils/patches/2.27/400-mips_no_dynamic_linking_sym.patch create mode 100644 toolchain/binutils/patches/2.27/500-Change-default-emulation-for-mips64-linux.patch create mode 100644 toolchain/binutils/patches/2.28/300-001_ld_makefile_patch.patch create mode 100644 toolchain/binutils/patches/2.28/300-012_check_ldrunpath_length.patch create mode 100644 toolchain/binutils/patches/2.28/400-mips_no_dynamic_linking_sym.patch create mode 100644 toolchain/binutils/patches/2.28/500-Change-default-emulation-for-mips64-linux.patch create mode 100644 toolchain/binutils/patches/arc-2016.09-release/300-001_ld_makefile_patch.patch create mode 100644 toolchain/binutils/patches/arc-2016.09-release/300-012_check_ldrunpath_length.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.4.0/001-revert_register_mode_search.patch create mode 100644 toolchain/gcc/patches/5.4.0/002-case_insensitive.patch create mode 100644 toolchain/gcc/patches/5.4.0/010-documentation.patch create mode 100644 toolchain/gcc/patches/5.4.0/020-no-plt-backport.patch create mode 100644 toolchain/gcc/patches/5.4.0/040-fix-mips-ICE-PR-68400.patch create mode 100644 toolchain/gcc/patches/5.4.0/200-musl_config.patch create mode 100644 toolchain/gcc/patches/5.4.0/201-musl_arm.patch create mode 100644 toolchain/gcc/patches/5.4.0/202-musl_mips.patch create mode 100644 toolchain/gcc/patches/5.4.0/203-musl_powerpc.patch create mode 100644 toolchain/gcc/patches/5.4.0/204-musl_sh.patch create mode 100644 toolchain/gcc/patches/5.4.0/205-musl_x86.patch create mode 100644 toolchain/gcc/patches/5.4.0/206-musl_aarch64.patch create mode 100644 toolchain/gcc/patches/5.4.0/207-musl_fixincludes.patch create mode 100644 toolchain/gcc/patches/5.4.0/209-musl_libstdc++.patch create mode 100644 toolchain/gcc/patches/5.4.0/230-musl_libssp.patch create mode 100644 toolchain/gcc/patches/5.4.0/240-musl-libitm-fixes.patch create mode 100644 toolchain/gcc/patches/5.4.0/250-add-musl.patch create mode 100644 toolchain/gcc/patches/5.4.0/260-musl-add-unwind-fix.patch create mode 100644 toolchain/gcc/patches/5.4.0/270-musl-add-powerpc-softfloat-fix.patch create mode 100644 toolchain/gcc/patches/5.4.0/280-musl-disable-ifunc-by-default.patch create mode 100644 toolchain/gcc/patches/5.4.0/300-mips_Os_cpu_rtx_cost_model.patch create mode 100644 toolchain/gcc/patches/5.4.0/800-arm_v5te_no_ldrd_strd.patch create mode 100644 toolchain/gcc/patches/5.4.0/810-arm-softfloat-libgcc.patch create mode 100644 toolchain/gcc/patches/5.4.0/820-libgcc_pic.patch create mode 100644 toolchain/gcc/patches/5.4.0/830-arm_unbreak_armv4t.patch create mode 100644 toolchain/gcc/patches/5.4.0/840-armv4_pass_fix-v4bx_to_ld.patch create mode 100644 toolchain/gcc/patches/5.4.0/850-use_shared_libgcc.patch create mode 100644 toolchain/gcc/patches/5.4.0/851-libgcc_no_compat.patch create mode 100644 toolchain/gcc/patches/5.4.0/870-ppc_no_crtsavres.patch create mode 100644 toolchain/gcc/patches/5.4.0/880-no_java_section.patch create mode 100644 toolchain/gcc/patches/5.4.0/881-no_tm_section.patch create mode 100644 toolchain/gcc/patches/5.4.0/900-bad-mips16-crt.patch create mode 100644 toolchain/gcc/patches/5.4.0/910-mbsd_multi.patch create mode 100644 toolchain/gcc/patches/5.4.0/920-specs_nonfatal_getenv.patch create mode 100644 toolchain/gcc/patches/5.4.0/930-fix-mips-noexecstack.patch create mode 100644 toolchain/gcc/patches/5.4.0/931-fix-MIPS-softfloat-build-issue.patch create mode 100644 toolchain/gcc/patches/5.4.0/940-no-clobber-stamp-bits.patch create mode 100644 toolchain/gcc/patches/5.4.0/950-cpp_file_path_translation.patch create mode 100644 toolchain/gcc/patches/5.4.0/960-go_libm.patch create mode 100644 toolchain/gcc/patches/5.4.0/970-warn_bug.patch create mode 100644 toolchain/gcc/patches/6.3.0/001-revert_register_mode_search.patch create mode 100644 toolchain/gcc/patches/6.3.0/002-case_insensitive.patch create mode 100644 toolchain/gcc/patches/6.3.0/010-documentation.patch create mode 100644 toolchain/gcc/patches/6.3.0/230-musl_libssp.patch create mode 100644 toolchain/gcc/patches/6.3.0/280-musl-disable-ifunc-by-default.patch create mode 100644 toolchain/gcc/patches/6.3.0/300-mips_Os_cpu_rtx_cost_model.patch create mode 100644 toolchain/gcc/patches/6.3.0/800-arm_v5te_no_ldrd_strd.patch create mode 100644 toolchain/gcc/patches/6.3.0/810-arm-softfloat-libgcc.patch create mode 100644 toolchain/gcc/patches/6.3.0/820-libgcc_pic.patch create mode 100644 toolchain/gcc/patches/6.3.0/830-arm_unbreak_armv4t.patch create mode 100644 toolchain/gcc/patches/6.3.0/840-armv4_pass_fix-v4bx_to_ld.patch create mode 100644 toolchain/gcc/patches/6.3.0/850-use_shared_libgcc.patch create mode 100644 toolchain/gcc/patches/6.3.0/851-libgcc_no_compat.patch create mode 100644 toolchain/gcc/patches/6.3.0/870-ppc_no_crtsavres.patch create mode 100644 toolchain/gcc/patches/6.3.0/880-no_java_section.patch create mode 100644 toolchain/gcc/patches/6.3.0/881-no_tm_section.patch create mode 100644 toolchain/gcc/patches/6.3.0/900-bad-mips16-crt.patch create mode 100644 toolchain/gcc/patches/6.3.0/910-mbsd_multi.patch create mode 100644 toolchain/gcc/patches/6.3.0/920-specs_nonfatal_getenv.patch create mode 100644 toolchain/gcc/patches/6.3.0/930-fix-mips-noexecstack.patch create mode 100644 toolchain/gcc/patches/6.3.0/940-no-clobber-stamp-bits.patch create mode 100644 toolchain/gcc/patches/6.3.0/950-cpp_file_path_translation.patch create mode 100644 toolchain/gcc/patches/6.3.0/960-fix-ubsan-defref.patch create mode 100644 toolchain/gcc/patches/7.1.0/001-revert_register_mode_search.patch create mode 100644 toolchain/gcc/patches/7.1.0/002-case_insensitive.patch create mode 100644 toolchain/gcc/patches/7.1.0/010-documentation.patch create mode 100644 toolchain/gcc/patches/7.1.0/230-musl_libssp.patch create mode 100644 toolchain/gcc/patches/7.1.0/300-mips_Os_cpu_rtx_cost_model.patch create mode 100644 toolchain/gcc/patches/7.1.0/800-arm_v5te_no_ldrd_strd.patch create mode 100644 toolchain/gcc/patches/7.1.0/810-arm-softfloat-libgcc.patch create mode 100644 toolchain/gcc/patches/7.1.0/820-libgcc_pic.patch create mode 100644 toolchain/gcc/patches/7.1.0/840-armv4_pass_fix-v4bx_to_ld.patch create mode 100644 toolchain/gcc/patches/7.1.0/850-use_shared_libgcc.patch create mode 100644 toolchain/gcc/patches/7.1.0/851-libgcc_no_compat.patch create mode 100644 toolchain/gcc/patches/7.1.0/870-ppc_no_crtsavres.patch create mode 100644 toolchain/gcc/patches/7.1.0/881-no_tm_section.patch create mode 100644 toolchain/gcc/patches/7.1.0/900-bad-mips16-crt.patch create mode 100644 toolchain/gcc/patches/7.1.0/910-mbsd_multi.patch create mode 100644 toolchain/gcc/patches/7.1.0/920-specs_nonfatal_getenv.patch create mode 100644 toolchain/gcc/patches/7.1.0/930-fix-mips-noexecstack.patch create mode 100644 toolchain/gcc/patches/7.1.0/940-no-clobber-stamp-bits.patch create mode 100644 toolchain/gcc/patches/7.1.0/950-cpp_file_path_translation.patch create mode 100644 toolchain/gcc/patches/arc-2017.03-release/001-revert_register_mode_search.patch create mode 100644 toolchain/gcc/patches/arc-2017.03-release/002-case_insensitive.patch create mode 100644 toolchain/gcc/patches/arc-2017.03-release/010-documentation.patch create mode 100644 toolchain/gcc/patches/arc-2017.03-release/230-musl_libssp.patch create mode 100644 toolchain/gcc/patches/arc-2017.03-release/280-musl-disable-ifunc-by-default.patch create mode 100644 toolchain/gcc/patches/arc-2017.03-release/300-mips_Os_cpu_rtx_cost_model.patch create mode 100644 toolchain/gcc/patches/arc-2017.03-release/800-arm_v5te_no_ldrd_strd.patch create mode 100644 toolchain/gcc/patches/arc-2017.03-release/810-arm-softfloat-libgcc.patch create mode 100644 toolchain/gcc/patches/arc-2017.03-release/820-libgcc_pic.patch create mode 100644 toolchain/gcc/patches/arc-2017.03-release/830-arm_unbreak_armv4t.patch create mode 100644 toolchain/gcc/patches/arc-2017.03-release/840-armv4_pass_fix-v4bx_to_ld.patch create mode 100644 toolchain/gcc/patches/arc-2017.03-release/850-use_shared_libgcc.patch create mode 100644 toolchain/gcc/patches/arc-2017.03-release/851-libgcc_no_compat.patch create mode 100644 toolchain/gcc/patches/arc-2017.03-release/870-ppc_no_crtsavres.patch create mode 100644 toolchain/gcc/patches/arc-2017.03-release/880-no_java_section.patch create mode 100644 toolchain/gcc/patches/arc-2017.03-release/881-no_tm_section.patch create mode 100644 toolchain/gcc/patches/arc-2017.03-release/900-bad-mips16-crt.patch create mode 100644 toolchain/gcc/patches/arc-2017.03-release/910-mbsd_multi.patch create mode 100644 toolchain/gcc/patches/arc-2017.03-release/920-specs_nonfatal_getenv.patch create mode 100644 toolchain/gcc/patches/arc-2017.03-release/930-fix-mips-noexecstack.patch create mode 100644 toolchain/gcc/patches/arc-2017.03-release/940-no-clobber-stamp-bits.patch create mode 100644 toolchain/gcc/patches/arc-2017.03-release/950-cpp_file_path_translation.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/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/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/900-iconv_size_hack.patch create mode 100644 toolchain/musl/patches/901-crypt_size_hack.patch 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 toolchain/yasm/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/001-fix-macos-vasnprintf.patch create mode 100644 tools/bison/patches/010-intl-stub-compat.patch create mode 100644 tools/bison/patches/100-fix-gets-removal.patch create mode 100755 tools/bison/scripts/yacc 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-freebsd-compat.patch create mode 100644 tools/cmake/patches/120-alpine_musl-compat.patch create mode 100644 tools/cmake/patches/130-libarchive-fix-libressl-compat.patch create mode 100644 tools/cmake/patches/140-curl-fix-libressl-linking.patch create mode 100644 tools/cmake/patches/150-bootstrap_parallel_make_flag.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-openbsd-compat.patch create mode 100644 tools/e2fsprogs/patches/004-freebsd-compat.patch create mode 100644 tools/e2fsprogs/patches/005-darwin-compat.patch create mode 100644 tools/e2fsprogs/patches/010-old-libmagic.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/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/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/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/mkdcs932.c create mode 100644 tools/firmware-utils/src/mkdhpimg.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/mkrtn56uimg.c create mode 100644 tools/firmware-utils/src/mksenaofw.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.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/osbridge-crc.c create mode 100644 tools/firmware-utils/src/oseama.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/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-dependency_fix.patch create mode 100644 tools/gengetopt/patches/200-no_docs_tests.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/libressl/Makefile 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/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/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/040-include_order.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/070-socfpgaimage_portability.patch create mode 100644 tools/mkimage/patches/080-remove_compiler_check.patch create mode 100644 tools/mkimage/patches/090-reproducible-SOURCE_DATE_EPOCH.patch create mode 100644 tools/mkimage/patches/100-freebsd-compat.patch create mode 100644 tools/mkimage/patches/110-fix_musl_build.patch create mode 100644 tools/mkimage/patches/200-compiler-support.patch create mode 100644 tools/mkimage/patches/210-openssl-1.1.x-compat.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/135-mkubifs_optional_lzo.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/310-add-static-linking-option.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/mtools/patches/100-compile_fix.patch 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/001-fix-macos-vasnprintf.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/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/squashfs4/Makefile create mode 100644 tools/squashfs4/patches/100-portability.patch create mode 100644 tools/squashfs4/patches/110-allow_static_liblzma.patch create mode 100644 tools/squashfs4/patches/120-cygwin_fixes.patch create mode 100644 tools/squashfs4/patches/150-freebsd_fixes.patch create mode 100644 tools/squashfs4/patches/160-expose_lzma_xz_options.patch create mode 100644 tools/squashfs4/patches/170-add_support_for_LZMA_MAGIC_to_unsqashfs.patch create mode 100644 tools/squashfs4/patches/180-openbsd_compat.patch create mode 100644 tools/squashfs4/patches/190-no_nonstatic_inline.patch create mode 100644 tools/squashfs4/patches/200-add-fixed-timestamp-option.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/001-fix-macos-vasnprintf.patch 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/upslug2/patches/110-wrt350nv2_support.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 diff --git a/BSDmakefile b/BSDmakefile new file mode 100644 index 00000000000000..c6a04256985752 --- /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 00000000000000..ddbc4e2ea40946 --- /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 "LEDE 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 00000000000000..d60c31a97a544b --- /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 00000000000000..09db75c5508d49 --- /dev/null +++ b/Makefile @@ -0,0 +1,103 @@ +# 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 LEDE directory must not include any spaces)) + +world: + +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 + 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 + +checksum: FORCE + $(call sha256sums,$(BIN_DIR)) + +diffconfig: FORCE + mkdir -p $(BIN_DIR) + $(SCRIPT_DIR)/diffconfig.sh > $(BIN_DIR)/config.seed + +prepare: .config $(tools/stamp-compile) $(toolchain/stamp-compile) + $(_SINGLE)$(SUBMAKE) -r diffconfig + +world: prepare $(target/stamp-compile) $(package/stamp-compile) $(package/stamp-install) $(target/stamp-install) FORCE + $(_SINGLE)$(SUBMAKE) -r package/index + $(_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 00000000000000..405c18bac06b1d --- /dev/null +++ b/README @@ -0,0 +1,29 @@ +This is the buildsystem for the LEDE Linux distribution. + +Please use "make menuconfig" to choose your preferred +configuration for the toolchain and firmware. + +You need to have installed gcc, binutils, bzip2, flex, python, perl, make, +find, grep, diff, unzip, gawk, getopt, subversion, libz-dev and libc headers. + +Run "./scripts/feeds update -a" to get all the latest package definitions +defined in feeds.conf / feeds.conf.default respectively +and "./scripts/feeds install -a" to install symlinks of all of them into +package/feeds/. + +Use "make menuconfig" to configure your image. + +Simply running "make" will build your firmware. +It will download all sources, build the cross-compile toolchain, +the kernel and all choosen applications. + +To build your own firmware you need to have access to a Linux, BSD or MacOSX system +(case-sensitive filesystem required). Cygwin will not be supported because of +the lack of case sensitiveness in the file system. + + +Sunshine! + Your LEDE Community + http://www.lede-project.org + + diff --git a/config/Config-build.in b/config/Config-build.in new file mode 100644 index 00000000000000..f9987fcd2bb711 --- /dev/null +++ b/config/Config-build.in @@ -0,0 +1,259 @@ +# 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 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 + + comment "General build options" + + config DISPLAY_SUPPORT + bool "Show packages that require graphics support (local or remote)" + default n + + config BUILD_PATENTED + default y + 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 INCLUDE_CONFIG + bool "Include build configuration in firmware" if DEVEL + default n + help + If enabled, config.seed 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. + + 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 SSP_SUPPORT if !USE_MUSL + depends on KERNEL_CC_STACKPROTECTOR_REGULAR + config PKG_CC_STACKPROTECTOR_STRONG + bool "Strong" + select SSP_SUPPORT 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 + + 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 00000000000000..30fbd6f7a9964e --- /dev/null +++ b/config/Config-devel.in @@ -0,0 +1,120 @@ +# 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_BRANCH + string "Enter git branch to clone" if DEVEL + depends on (KERNEL_GIT_CLONE_URI != "") + default "" + help + Enter the branch name to checkout after cloning the git repository. + In this instance, the --branch option of git clone will be used. + If unused, the clone's repository HEAD will be checked-out. + + 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 00000000000000..55aff7d08757ee --- /dev/null +++ b/config/Config-images.in @@ -0,0 +1,272 @@ +# 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_ar71xx + default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_ramips + default TARGET_INITRAMFS_COMPRESSION_LZMA if TARGET_apm821xx + 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. + + 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 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 n if (TARGET_x86_generic_Soekris45xx || TARGET_x86_generic_Soekris48xx || TARGET_x86_net5501 || TARGET_x86_geos || TARGET_x86_alix2) + default y + + config GRUB_SERIAL + string "Serial port device" + depends on GRUB_IMAGES + default "hvc0" if TARGET_x86_xen_domu + default "ttyS0" if ! TARGET_x86_xen_domu + + 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 + default "xencons=hvc" if TARGET_x86_xen_domu + 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 VDI_IMAGES + bool "Build VirtualBox image files (VDI)" + depends on TARGET_x86 || TARGET_x86_64 + select GRUB_IMAGES + select TARGET_IMAGES_PAD + select PACKAGE_kmod-e1000 + + config VMDK_IMAGES + bool "Build VMware image files (VMDK)" + depends on TARGET_x86 || TARGET_x86_64 + 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 + default 16 + + config TARGET_ROOTFS_PARTSIZE + int "Root filesystem partition size (in MB)" + depends on GRUB_IMAGES || TARGET_ROOTFS_EXT4FS || TARGET_rb532 || TARGET_mvebu || 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 00000000000000..86bdb705e472c9 --- /dev/null +++ b/config/Config-kernel.in @@ -0,0 +1,754 @@ +# 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 "" + 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 "" + 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 + +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_ARM_PMU + bool + default n + depends on (arm || arm64) + +config KERNEL_PERF_EVENTS + bool "Compile the kernel with performance events and counters" + default n + select KERNEL_ARM_PMU if (arm || arm64) + +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_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 + select KERNEL_DEBUG_KERNEL + help + This will compile your kernel and modules with debug information. + +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_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 + +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 ti 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. + + 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. + +# +# 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 + def_bool y + + 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_HFSPLUG_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. diff --git a/feeds.conf.default b/feeds.conf.default new file mode 100644 index 00000000000000..040dbdc551f209 --- /dev/null +++ b/feeds.conf.default @@ -0,0 +1,9 @@ +src-git packages https://git.lede-project.org/feed/packages.git +src-git luci https://git.lede-project.org/project/luci.git +src-git routing https://git.lede-project.org/feed/routing.git +src-git telephony https://git.lede-project.org/feed/telephony.git +#src-git video https://github.com/openwrt/video.git +#src-git targets https://github.com/openwrt/targets.git +#src-git management https://github.com/openwrt-management/packages.git +#src-git oldpackages http://git.openwrt.org/packages.git +#src-link custom /usr/src/openwrt/custom-feed diff --git a/include/autotools.mk b/include/autotools.mk new file mode 100644 index 00000000000000..7bd400ab36d052 --- /dev/null +++ b/include/autotools.mk @@ -0,0 +1,170 @@ +# +# 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) $(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 libintl libiconv + ifeq ($(filter no-autoreconf,$(PKG_FIXUP)),) + Hooks/Configure/Pre += autoreconf_target + endif +endif + +ifneq ($(filter libtool-ucxx,$(PKG_FIXUP)),) + PKG_BUILD_DEPENDS += libtool libintl 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 00000000000000..900dae1d4afc60 --- /dev/null +++ b/include/cmake.mk @@ -0,0 +1,113 @@ +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) +HOST_CMAKE_SOURCE_DIR = $(HOST_BUILD_DIR) +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:= +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) +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_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 \ + $(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 00000000000000..59a99c0f77d89e --- /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 00000000000000..3df51adae3bf34 --- /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 00000000000000..f45b158892a691 --- /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 00000000000000..82a3dd2f988d28 --- /dev/null +++ b/include/download.mk @@ -0,0 +1,285 @@ +# +# 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. +# + +OPENWRT_GIT = http://git.openwrt.org +LEDE_GIT = https://git.lede-project.org + +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) + +# Try to guess the download method from the URL +define dl_method +$(strip \ + $(if $(2),$(2), \ + $(if $(filter @APACHE/% @GITHUB/% @GNOME/% @GNU/% @KERNEL/% @SF/% @SAVANNAH/% ftp://% http://% https://% file://%,$(1)),default, \ + $(if $(filter git://%,$(1)),git, \ + $(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 --sort=name $$$${TAR_TIMESTAMP:+--mtime="$$$$TAR_TIMESTAMP"} -c $(2) | $(call dl_pack,$(1)) +endef + +ifdef CHECK +check_escape=$(subst ','\'',$(1)) +#') + +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 + +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)) + +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 + +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), \ + 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) + 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 00000000000000..f89687a27e6139 --- /dev/null +++ b/include/feeds.mk @@ -0,0 +1,50 @@ +# +# 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)/.packagesubdirs + +FEEDS_INSTALLED:=$(notdir $(wildcard $(TOPDIR)/package/feeds/*)) +FEEDS_AVAILABLE:=$(sort $(FEEDS_INSTALLED) $(shell $(SCRIPT_DIR)/feeds list -n)) +FEEDS_ENABLED:=$(foreach feed,$(FEEDS_AVAILABLE),$(if $(CONFIG_FEED_$(feed)),$(feed))) +FEEDS_DISABLED:=$(filter-out $(FEEDS_ENABLED),$(FEEDS_AVAILABLE)) + +PACKAGE_SUBDIRS=$(PACKAGE_DIR) +ifneq ($(CONFIG_PER_FEED_REPO),) + PACKAGE_SUBDIRS += $(OUTPUT_DIR)/packages/$(ARCH_PACKAGES)/base + ifneq ($(CONFIG_PER_FEED_REPO_ADD_DISABLED),) + PACKAGE_SUBDIRS += $(foreach FEED,$(FEEDS_AVAILABLE),$(OUTPUT_DIR)/packages/$(ARCH_PACKAGES)/$(FEED)) + else + PACKAGE_SUBDIRS += $(foreach FEED,$(FEEDS_ENABLED),$(OUTPUT_DIR)/packages/$(ARCH_PACKAGES)/$(FEED)) + endif +endif + +PACKAGE_DIR_ALL := $(TOPDIR)/staging_dir/packages/$(BOARD) + +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 %n_core %U/targets/%S/packages"; \ + $(strip $(if $(CONFIG_PER_FEED_REPO), \ + $(foreach feed,base $(FEEDS_ENABLED),echo "src/gz %n_$(feed) %U/packages/%A/$(feed)";) \ + $(if $(CONFIG_PER_FEED_REPO_ADD_DISABLED), \ + $(foreach feed,$(FEEDS_DISABLED),echo "$(if $(CONFIG_PER_FEED_REPO_ADD_COMMENTED),# )src/gz %n_$(feed) %U/packages/%A/$(feed)";)))) \ +) >> $(1) +endef diff --git a/include/hardening.mk b/include/hardening.mk new file mode 100644 index 00000000000000..c277081c510773 --- /dev/null +++ b/include/hardening.mk @@ -0,0 +1,50 @@ +# +# 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_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_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 00000000000000..dc7037385563a3 --- /dev/null +++ b/include/host-build.mk @@ -0,0 +1,205 @@ +# +# 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)" \ + 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 + +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 + $(1) : export CCACHE_DIR:=$(STAGING_DIR_HOST)/ccache + $(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 + + $(_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 00000000000000..2aac8fb15d2e12 --- /dev/null +++ b/include/image-commands.mk @@ -0,0 +1,280 @@ +# 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)) LEDE 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/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 LEDE.$(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 + +# append a fake/empty rootfs uImage header, to fool the bootloaders +# rootfs integrity check +define Build/append-uImage-fakeroot-hdr + rm -f $@.fakeroot + $(STAGING_DIR_HOST)/bin/mkimage \ + -A $(LINUX_KARCH) -O linux -T filesystem -C none \ + -n '$(call toupper,$(LINUX_KARCH)) LEDE fakeroot' \ + -s \ + $@.fakeroot + cat $@.fakeroot >> $@ +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 + $(call Image/BuildDTB,$(if $(DEVICE_DTS_DIR),$(DEVICE_DTS_DIR),$(DTS_DIR))/$(DEVICE_DTS).dts,$@.dtb) + cat $@.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)) \ + -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 -9n -c $@ $(1) > $@.new + @mv $@.new $@ +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/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/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/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 -V "ver. 2.0" -B $(TPLINK_BOARD_ID) $(1) -k $@ -o $@.new + @mv $@.new $@ +endef + +define Build/tplink-v2-image + $(STAGING_DIR_HOST)/bin/mktplinkfw2 \ + -a 0x4 -j -V "ver. 2.0" -B $(TPLINK_BOARD_ID) $(1) \ + -k $(IMAGE_KERNEL) -r $(IMAGE_ROOTFS) -o $@.new + 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)) \ + "supported_devices":[$(call metadata_devices,$(1))], \ + "version": { \ + "dist": "$(call json_quote,$(VERSION_DIST))", \ + "version": "$(call json_quote,$(VERSION_NUMBER))", \ + "revision": "$(call json_quote,$(REVISION))", \ + "board": "$(call json_quote,$(BOARD))" \ + } \ + }' + +define Build/append-metadata + $(if $(SUPPORTED_DEVICES),echo $(call metadata_json,$(SUPPORTED_DEVICES)) | fwtool -I - $@) +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 00000000000000..1ccaec09b04674 --- /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 00000000000000..3f5b4544e9e31e --- /dev/null +++ b/include/image.mk @@ -0,0 +1,576 @@ +# +# 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 + +ifdef TARGET_PER_DEVICE_ROOTFS + include $(INCLUDE_DIR)/rootfs.mk +endif + +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)) LEDE 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) \ + -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 + +# $(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 \ + -undef -D__DTS__ $(3) \ + -o $(2).tmp $(1) + $(LINUX_DIR)/scripts/dtc/dtc -O dtb \ + -i$(dir $(1)) $(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 \ + $(if $(SOURCE_DATE_EPOCH),-fixed-time $(SOURCE_DATE_EPOCH)) +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 + $(STAGING_DIR_HOST)/bin/opkg \ + --offline-root $(TARGET_DIR) \ + --add-arch all:100 \ + --add-arch $(if $(ARCH_PACKAGES),$(ARCH_PACKAGES),$(BOARD)):200 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 --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 = $(filter-out -%,$(mkfs_packages)) +mkfs_packages_remove = $(patsubst -%,%,$(filter -%,$(mkfs_packages))) +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))) + $(call prepare_rootfs,$(mkfs_cur_target_dir)) + -mv $(mkfs_cur_target_dir).opkg $(mkfs_cur_target_dir)/etc/opkg + rm -f $(mkfs_cur_target_dir).conf + +$(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 := + 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_DIR := + + BOARD_NAME := + UIMAGE_NAME := + SUPPORTED_DEVICES := + IMAGE_METADATA := + + FILESYSTEMS := $(TARGET_FILESYSTEMS) +endef + +DEFAULT_DEVICE_VARS := \ + DEVICE_NAME KERNEL KERNEL_INITRAMFS KERNEL_SIZE KERNEL_INITRAMFS_IMAGE \ + KERNEL_LOADADDR DEVICE_DTS DEVICE_DTS_DIR BOARD_NAME CMDLINE \ + UBOOTENV_IN_UBI KERNEL_IN_UBI \ + BLOCKSIZE PAGESIZE SUBPAGESIZE VID_HDR_OFFSET \ + UBINIZE_OPTS UIMAGE_NAME UBINIZE_PARTS \ + SUPPORTED_DEVICES IMAGE_METADATA + +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)))) + 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 + +define Device/Build/kernel + $(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): $(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 $$^ $$@ + +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))))) +endef + +define Device/DumpInfo +Target-Profile: DEVICE_$(1) +Target-Profile-Name: $(DEVICE_TITLE) +Target-Profile-Packages: $(DEVICE_PACKAGES) +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 + $(call Image/Prepare) + + legacy-images-prepare-make: image_prepare + $(MAKE) legacy-images-prepare + + 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 + + install: install-images + $(call Image/Manifest) + +endef diff --git a/include/kernel-build.mk b/include/kernel-build.mk new file mode 100644 index 00000000000000..5c58e443df43b8 --- /dev/null +++ b/include/kernel-build.mk @@ -0,0 +1,178 @@ +# +# 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=$(BACKPORT_PATCH_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 + +ifneq ($(strip $(CONFIG_KERNEL_GIT_BRANCH)),"") + KERNEL_GIT_OPTS+=--branch $(CONFIG_KERNEL_GIT_BRANCH) +endif + +define Download/git-kernel + URL:=$(call qstrip,$(CONFIG_KERNEL_GIT_CLONE_URI)) + PROTO:=git + VERSION:=$(CONFIG_KERNEL_GIT_BRANCH) + 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: $(STAMP_CONFIGURED) $(LINUX_DIR)/.config FORCE + $(Kernel/CompileModules) + touch $$@ + + $(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 00000000000000..f0618633b292c1 --- /dev/null +++ b/include/kernel-defaults.mk @@ -0,0 +1,156 @@ +# +# 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) + +ifeq ($(strip $(CONFIG_EXTERNAL_KERNEL_TREE)),"") + ifeq ($(strip $(CONFIG_KERNEL_GIT_CLONE_URI)),"") + define Kernel/Prepare/Default + xzcat $(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 + xzcat $(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_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 +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 00000000000000..875a7605f1aa18 --- /dev/null +++ b/include/kernel-version.mk @@ -0,0 +1,25 @@ +# Use the default kernel version if the Makefile doesn't override it + +LINUX_RELEASE?=1 + +LINUX_VERSION-3.18 = .43 +LINUX_VERSION-4.4 = .85 +LINUX_VERSION-4.9 = .47 + +LINUX_KERNEL_HASH-3.18.43 = 1236e8123a6ce537d5029232560966feed054ae31776fe8481dd7d18cdd5492c +LINUX_KERNEL_HASH-4.4.85 = cfa49f631587e4587ba04236ce0e56765ea938c26815d5a29eec561b21d0f055 +LINUX_KERNEL_HASH-4.9.47 = 75be9679d69460a45e77a61474a6d8eee34de21b9929fe4992971dff122541c9 + +ifdef KERNEL_PATCHVER + LINUX_VERSION:=$(KERNEL_PATCHVER)$(strip $(LINUX_VERSION-$(KERNEL_PATCHVER))) +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 00000000000000..7674f0dadc202a --- /dev/null +++ b/include/kernel.mk @@ -0,0 +1,292 @@ +# +# 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:=$(if $(word 3,$(subst ., ,$(KERNEL_BASE))),$(KERNEL_BASE),$(KERNEL_BASE).0) + ifneq ($(findstring -rc,$(LINUX_VERSION)),) + LINUX_UNAME_VERSION:=$(LINUX_UNAME_VERSION)-$(strip $(lastword $(subst -, ,$(LINUX_VERSION)))) + endif + + LINUX_KERNEL:=$(KERNEL_BUILD_DIR)/vmlinux + + LINUX_SOURCE:=linux-$(LINUX_VERSION).tar.xz + TESTING:=$(if $(findstring -rc,$(LINUX_VERSION)),/testing,) + 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$(TESTING) + else + LINUX_UNAME_VERSION:=$(strip $(shell cat $(LINUX_DIR)/include/config/kernel.release)) + 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)/$(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) , 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 + +define KernelPackage/Defaults + FILES:= + AUTOLOAD:= + PKGFLAGS+=nonshared +endef + +define ModuleAutoLoad + $(SH_FUNC) \ + export modules=; \ + probe_module() { \ + local mods="$$$$$$$$1"; \ + local boot="$$$$$$$$2"; \ + local mod; \ + shift 2; \ + for mod in $$$$$$$$mods; do \ + mkdir -p $(2)/etc/modules.d; \ + echo "$$$$$$$$mod" >> $(2)/etc/modules.d/$(1); \ + done; \ + if [ -e $(2)/etc/modules.d/$(1) ]; then \ + if [ "$$$$$$$$boot" = "1" -a ! -e $(2)/etc/modules-boot.d/$(1) ]; then \ + mkdir -p $(2)/etc/modules-boot.d; \ + ln -s ../modules.d/$(1) $(2)/etc/modules-boot.d/; \ + fi; \ + modules="$$$$$$$${modules:+$$$$$$$$modules }$$$$$$$$mods"; \ + fi; \ + }; \ + add_module() { \ + local priority="$$$$$$$$1"; \ + local mods="$$$$$$$$2"; \ + local boot="$$$$$$$$3"; \ + local mod; \ + shift 3; \ + for mod in $$$$$$$$mods; do \ + mkdir -p $(2)/etc/modules.d; \ + echo "$$$$$$$$mod" >> $(2)/etc/modules.d/$$$$$$$$priority-$(1); \ + done; \ + if [ -e $(2)/etc/modules.d/$$$$$$$$priority-$(1) ]; then \ + if [ "$$$$$$$$boot" = "1" -a ! -e $(2)/etc/modules-boot.d/$$$$$$$$priority-$(1) ]; then \ + mkdir -p $(2)/etc/modules-boot.d; \ + ln -s ../modules.d/$$$$$$$$priority-$(1) $(2)/etc/modules-boot.d/; \ + fi; \ + modules="$$$$$$$${modules:+$$$$$$$$modules }$$$$$$$$priority-$(1)"; \ + fi; \ + }; \ + $(3) \ + if [ -n "$$$$$$$$modules" ]; then \ + modules="$$$$$$$$(echo "$$$$$$$$modules" | tr ' ' '\n' | sort | uniq | paste -s -d' ' -)"; \ + mkdir -p $(2)/etc/modules.d; \ + mkdir -p $(2)/CONTROL; \ + echo "#!/bin/sh" > $(2)/CONTROL/postinst-pkg; \ + echo "[ -z \"\$$$$$$$$IPKG_INSTROOT\" ] || exit 0" >> $(2)/CONTROL/postinst-pkg; \ + echo ". /lib/functions.sh" >> $(2)/CONTROL/postinst-pkg; \ + echo "insert_modules $$$$$$$$modules" >> $(2)/CONTROL/postinst-pkg; \ + chmod 0755 $(2)/CONTROL/postinst-pkg; \ + fi +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) + + ifneq ($(if $(filter-out %=y %=n %=m,$(KCONFIG)),$(filter m y,$(foreach c,$(filter-out %=y %=n %=m,$(KCONFIG)),$($(c)))),.),) + ifneq ($(strip $(FILES)),) + 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),$(AUTOLOAD)) + $(call KernelPackage/$(1)/install,$$(1)) + endef + endif + $(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 $$(FILES)) +endef + +version_filter=$(if $(findstring @,$(1)),$(shell $(SCRIPT_DIR)/package-metadata.pl version_filter $(KERNEL_PATCHVER) $(1)),$(1)) + +define AutoLoad + add_module "$(1)" "$(call version_filter,$(2))" "$(3)"; +endef + +define AutoProbe + probe_module "$(call version_filter,$(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 00000000000000..2d537583bd7eb5 --- /dev/null +++ b/include/netfilter.mk @@ -0,0 +1,379 @@ +# +# 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_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,NF_IPT,CONFIG_NF_REJECT_IPV4, $(P_V4)nf_reject_ipv4),)) + +$(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_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))) + +# 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_PHYSDEV, $(P_XT)xt_physdev)) +$(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)) + + +# filter + +$(eval $(call nf_add,IPT_FILTER,CONFIG_NETFILTER_XT_MATCH_STRING, $(P_XT)xt_string)) + + +# 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)) + + +# IPv6 + +# kernel only +$(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_IPT6,CONFIG_NF_REJECT_IPV6, $(P_V6)nf_reject_ipv6),)) + +$(eval $(if $(NF_KMOD),$(call nf_add,NF_CONNTRACK6,CONFIG_NF_DEFRAG_IPV6, $(P_V6)nf_defrag_ipv6),)) +$(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),)) + +$(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),)) + +$(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_NETFILTER_XT_TARGET_TPROXY, $(P_XT)xt_TPROXY)) + +# 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)) + + +# 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),)) +$(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),)) +$(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),)) +$(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_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_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_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_NAT,CONFIG_NFT_MASQ_IPV6, $(P_V6)nft_masq_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_FILTER-y) +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_DEBUG-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 00000000000000..51463b9f122c6a --- /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:libintl + +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 00000000000000..4ae049af540968 --- /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 00000000000000..0eecd6c4f81ec1 --- /dev/null +++ b/include/package-defaults.mk @@ -0,0 +1,162 @@ +# +# 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 +SSP_SUPPORT: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:= +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 00000000000000..b717c1b472df6a --- /dev/null +++ b/include/package-dumpinfo.mk @@ -0,0 +1,91 @@ +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +ifneq ($(DUMP),) + +dumpinfo: FORCE + +define Config/template +Preconfig: $(1) +Preconfig-Type: $(2) +Preconfig-Default: $(3) +Preconfig-Label: $(4) + +endef + +define Config + Preconfig/$(1) = $$(call Config/template,$(1),$(2),$(3),$(4)) + preconfig_$$(1) += $(1) +endef + +define Dumpinfo/Package +$(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) +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) +))$(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) +)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 $(PKG_LICENSE),License: $(PKG_LICENSE) +)$(if $(PKG_LICENSE_FILES),LicenseFiles: $(PKG_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) +@@ +)$(foreach pc,$(preconfig_$(1)), +$(Preconfig/$(pc)))) +endef + +define Feature/Default + TARGET_NAME:= + TARGET_TITLE:= + PRIORITY:= + NAME:= +endef + +define Feature + $(eval $(Feature/Default)) + $(eval $(Feature/$(1))) + $(if $(DUMP),$(call Dumpinfo/Feature,$(1))) +endef + +define Dumpinfo/Feature +$(info Feature: $(TARGET_NAME)_$(1) +Target-Name: $(TARGET_NAME) +Target-Title: $(TARGET_TITLE) +Feature-Name: $(NAME) +$(if $(PRIORITY),Feature-Priority: $(PRIORITY) +)Feature-Description: +$(Feature/$(1)/description) +@@ +) +endef + +endif diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk new file mode 100644 index 00000000000000..bf508fb4934ad6 --- /dev/null +++ b/include/package-ipkg.mk @@ -0,0 +1,243 @@ +# +# 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_STATE_DIR:=$(TARGET_DIR)/usr/lib/opkg + +# 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_confvar=$(strip $(foreach cond,$(subst ||, ,$(call dep_rem,$(1))),$(CONFIG_$(cond)))) +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 + PDIR_$(1):=$(call FeedPackageDir,$(1)) + IPKG_$(1):=$$(PDIR_$(1))/$(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) + 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,$$(filter-out @%,$$(IDEPEND_$(1)))) + ifneq ($$(EXTRA_DEPENDS),) + Package/$(1)/DEPENDS := $$(EXTRA_DEPENDS)$$(if $$(Package/$(1)/DEPENDS),$$(comma) $$(Package/$(1)/DEPENDS)) + endif + +$(_define) Package/$(1)/CONTROL +Package: $(1) +Version: $(VERSION) +$$(call addfield,Depends,$$(Package/$(1)/DEPENDS) +)$$(call addfield,Conflicts,$$(call mergelist,$(CONFLICTS)) +)$$(call addfield,Provides,$$(call mergelist,$(PROVIDES)) +)$$(call addfield,Alternatives,$$(call mergelist,$(ALTERNATIVES)) +)$$(call addfield,Source,$(SOURCE) +)$$(call addfield,License,$$(PKG_LICENSE) +)$$(call addfield,LicenseFiles,$$(PKG_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 opkg_package_files,$(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 $(PROVIDES); do cp $(PKG_INFO_DIR)/$(1).provides $(PKG_INFO_DIR)/$$$$pkg.provides; done) + $(CheckDependencies) + + $(RSTRIP) $$(IDIR_$(1)) + (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: + $$(if $$(call opkg_package_files,$(1)),rm -f $$(call opkg_package_files,$(1))) + + clean: $(1)-clean + + endef +endif diff --git a/include/package-seccomp.mk b/include/package-seccomp.mk new file mode 100644 index 00000000000000..fa49617d41a364 --- /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 00000000000000..5dc4aec70da10a --- /dev/null +++ b/include/package.mk @@ -0,0 +1,316 @@ +# +# 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)/$(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 ($(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, \ + $(filter-out $(BUILD_PACKAGES),$(foreach dep, \ + $(filter-out @%, $(patsubst +%,%,$(1))), \ + $(if $(findstring :,$(dep)), \ + $(word 2,$(subst :,$(space),$(dep))), \ + $(dep) \ + ) \ + )))) + +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) + @-(\ + cd "$(STAGING_DIR)"; \ + if [ -f packages/$(STAGING_FILES_LIST) ]; then \ + cat packages/$(STAGING_FILES_LIST) | xargs -r rm -f 2>/dev/null; \ + 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_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 .) + 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) + $(1) : export CCACHE_DIR:=$(STAGING_DIR)/ccache +endef +Build/Exports=$(Build/Exports/Default) + +define Build/CoreTargets + $(if $(QUILT),$(Build/Quilt)) + $(call Build/Autoclean) + $(call DefaultTargets) + + 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) + $(CleanStaging) + $(foreach hook,$(Hooks/Configure/Pre),$(call $(hook))$(sep)) + $(Build/Configure) + $(foreach hook,$(Hooks/Configure/Post),$(call $(hook))$(sep)) + rm -f $(STAMP_CONFIGURED_WILDCARD) + 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 $(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),,$(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,$(DEPENDS))) + + $(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 00000000000000..7d96921a9c5f2d --- /dev/null +++ b/include/prereq-build.mk @@ -0,0 +1,161 @@ +# +# 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, \ + LEDE 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 00[012][012])) + +$(eval $(call SetupHostCommand,gcc, \ + Please install the GNU C Compiler (gcc), \ + $(CC) --version | grep gcc, \ + gcc --version | grep gcc, \ + gcc49 --version | grep gcc, \ + gcc48 --version | grep gcc, \ + gcc47 --version | grep gcc, \ + gcc46 --version | grep gcc, \ + gcc --version | grep Apple.LLVM )) + +$(eval $(call TestHostCommand,working-gcc, \ + Please reinstall the GNU C Compiler - 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++), \ + $(CXX) --version | grep g++, \ + g++ --version | grep g++, \ + g++49 --version | grep g++, \ + g++48 --version | grep g++, \ + g++47 --version | grep g++, \ + g++46 --version | grep g++, \ + g++ --version | grep Apple.LLVM )) + +$(eval $(call TestHostCommand,working-g++, \ + Please reinstall the GNU C++ Compiler - 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)) + +ifeq ($(HOST_OS),Linux) + zlib_link_flags := -Wl,-Bstatic -lz -Wl,-Bdynamic +else + zlib_link_flags := -lz +endif + +$(eval $(call TestHostCommand,zlib, \ + Please install a static zlib. (Missing libz.a or zlib.h), \ + echo 'int main(int argc, char **argv) { gzdopen(0, "rb"); return 0; }' | \ + gcc -include zlib.h -x c -o $(TMP_DIR)/a.out - $(zlib_link_flags))) + +$(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, \ + python2 -V 2>&1 | grep Python, \ + python -V 2>&1 | grep Python)) + +$(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 00000000000000..6cb590e360aab3 --- /dev/null +++ b/include/prereq.mk @@ -0,0 +1,108 @@ +# +# 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 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)); 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 00000000000000..61dcc7964cf431 --- /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 $(PKG_BUILD_DIR)/patches; mkdir -p $(PKG_BUILD_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,$(PKG_BUILD_DIR),$(GENERIC_BACKPORT_DIR),generic-backport/) + $(call PatchDir,$(PKG_BUILD_DIR),$(GENERIC_PATCH_DIR),generic/) + $(call PatchDir,$(PKG_BUILD_DIR),$(GENERIC_HACK_DIR),generic-hack/) + $(call PatchDir,$(PKG_BUILD_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 00000000000000..74785cbbd39cfb --- /dev/null +++ b/include/rootfs.mk @@ -0,0 +1,89 @@ +include $(INCLUDE_DIR)/feeds.mk + +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 -type f -and -not -name '*.control' | $(XARGS) rm -rf + -sed -i -ne '/^Require-User: /p' $(1)/usr/lib/opkg/info/*.control + -find $(1)/usr/lib/opkg -empty | $(XARGS) rm -rf + endef +endif + +define prepare_rootfs + @if [ -d $(TOPDIR)/files ]; then \ + $(call file_copy,$(TOPDIR)/files/.,$(1)); \ + fi + @mkdir -p $(1)/etc/rc.d + @( \ + 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; \ + IPKG_INSTROOT=$(1) $$(which bash) ./etc/rc.common $$script enable; \ + 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)/usr/lib/opkg/info/*.prerm* + $(call clean_ipkg,$(1)) + $(call mklibs,$(1)) +endef diff --git a/include/scan.awk b/include/scan.awk new file mode 100644 index 00000000000000..0f027823263b6c --- /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 00000000000000..86d9576c8247be --- /dev/null +++ b/include/scan.mk @@ -0,0 +1,104 @@ +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 ($(IS_TTY),1) + define progress + printf "\033[M\r$(1)" >&2; + endef +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 00000000000000..2b767105429e78 --- /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 00000000000000..6ee0cf6030ac5e --- /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 00000000000000..c5aa9c5543d081 --- /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 00000000000000..19e75ab9914e92 --- /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 00000000000000..72a3805c642ded --- /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 00000000000000..72a3805c642ded --- /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 00000000000000..a5626a722be61e --- /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/i386 b/include/site/i386 new file mode 100644 index 00000000000000..78f1557b7963e2 --- /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 00000000000000..72a3805c642ded --- /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 00000000000000..78f1557b7963e2 --- /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 00000000000000..b193d25c45bf1e --- /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 00000000000000..0037600a0965df --- /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 00000000000000..a5626a722be61e --- /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 00000000000000..19e75ab9914e92 --- /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 00000000000000..c5aa9c5543d081 --- /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 00000000000000..72a3805c642ded --- /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 00000000000000..a5626a722be61e --- /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/sparc b/include/site/sparc new file mode 100644 index 00000000000000..a5626a722be61e --- /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 00000000000000..b8d581d448edc9 --- /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 00000000000000..79a80528aef315 --- /dev/null +++ b/include/subdir.mk @@ -0,0 +1,106 @@ +# +# 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));) \ + $$(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 00000000000000..c5f6e8bedeb3e1 --- /dev/null +++ b/include/target.mk @@ -0,0 +1,316 @@ +# +# 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 +# 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 odhcp6c +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 + +# 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 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) + 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_octeon = -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 + CPU_CFLAGS_arm920t = -mcpu=arm920t + CPU_CFLAGS_arm926ej-s = -mcpu=arm926ej-s + CPU_CFLAGS_arm1136j-s = -mcpu=arm1136j-s + CPU_CFLAGS_arm1176jzf-s = -mcpu=arm1176jzf-s + CPU_CFLAGS_cortex-a5 = -mcpu=cortex-a5 + CPU_CFLAGS_cortex-a7 = -mcpu=cortex-a7 + CPU_CFLAGS_cortex-a8 = -mcpu=cortex-a8 + CPU_CFLAGS_cortex-a9 = -mcpu=cortex-a9 + CPU_CFLAGS_cortex-a15 = -mcpu=cortex-a15 + CPU_CFLAGS_cortex-a53 = -mcpu=cortex-a53 + CPU_CFLAGS_fa526 = -mcpu=fa526 + CPU_CFLAGS_mpcore = -mcpu=mpcore + CPU_CFLAGS_xscale = -mcpu=xscale + ifeq ($(CONFIG_SOFT_FLOAT),) + CPU_CFLAGS_neon = -mfpu=neon + CPU_CFLAGS_vfp = -mfpu=vfp + CPU_CFLAGS_vfpv3 = -mfpu=vfpv3-d16 + CPU_CFLAGS_neon-vfpv4 = -mfpu=neon-vfpv4 + endif + 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),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) + + 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),) + ifneq ($(CPU_SUBTYPE),nomips16) + FEATURES += mips16 + endif + 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)'; \ + 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 00000000000000..883d74d25c8285 --- /dev/null +++ b/include/toolchain-build.mk @@ -0,0 +1,25 @@ +# +# 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 + +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 00000000000000..658eb4ce475e73 --- /dev/null +++ b/include/toplevel.mk @@ -0,0 +1,248 @@ +# 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_DEPS="$(TOPDIR)/include/package*.mk" 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_DEPS="image/Makefile profiles/*.mk $(TOPDIR)/include/kernel*.mk $(TOPDIR)/include/target.mk" 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/.packagesubdirs ] || ./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 subdirs tmp/.packageinfo > tmp/.packagesubdirs || { rm -f tmp/.packagesubdirs; 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 + +scripts/config/mconf: + @$(_SINGLE)$(SUBMAKE) -s -C scripts/config all CC="$(HOSTCC_WRAPPER)" + +$(eval $(call rdep,scripts/config,scripts/config/mconf)) + +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 + +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 + +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 00000000000000..4b3ff69d6b5331 --- /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 = \ + http://sources.lede-project.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) $$$$(HOSTCPPFLAGS)' \ + HOSTLDFLAGS="" + +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 00000000000000..a1a61f26d419fd --- /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 00000000000000..a139827490f53b --- /dev/null +++ b/include/unpack.mk @@ -0,0 +1,76 @@ +# +# 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 + ifneq ($(strip $(CRLF_WORKAROUND)),) + CRLF_CMD := && find $(PKG_BUILD_DIR) -type f -print0 | xargs -0 perl -pi -e 's!\r$$$$!!g' + else + CRLF_CMD := + endif +endif + +ifdef PKG_BUILD_DIR + PKG_UNPACK ?= $(SH_FUNC) $(call UNPACK_CMD,$(PKG_BUILD_DIR)) $(call CRLF_CMD,$(PKG_BUILD_DIR)) +endif +ifdef HOST_BUILD_DIR + HOST_UNPACK ?= $(SH_FUNC) $(call UNPACK_CMD,$(HOST_BUILD_DIR)) $(call CRLF_CMD,$(HOST_BUILD_DIR)) +endif + +endif # PKG_SOURCE + diff --git a/include/verbose.mk b/include/verbose.mk new file mode 100644 index 00000000000000..b7e43f74300edb --- /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 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 00000000000000..1a0d3c990b5db3 --- /dev/null +++ b/include/version.mk @@ -0,0 +1,112 @@ +# +# 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 + +RELEASE:=Reboot + +PKG_CONFIG_DEPENDS += \ + CONFIG_VERSION_BUG_URL \ + CONFIG_VERSION_NUMBER \ + CONFIG_VERSION_CODE \ + CONFIG_VERSION_NICK \ + CONFIG_VERSION_REPO \ + CONFIG_VERSION_DIST \ + CONFIG_VERSION_MANUFACTURER \ + CONFIG_VERSION_MANUFACTURER_URL \ + CONFIG_VERSION_PRODUCT \ + CONFIG_VERSION_SUPPORT_URL \ + CONFIG_VERSION_HWREV \ + +qstrip_escape=$(subst ','\'',$(call qstrip,$(1))) +#' + +sanitize = $(call tolower,$(subst _,-,$(subst $(space),-,$(1)))) + +VERSION_NUMBER:=$(call qstrip_escape,$(CONFIG_VERSION_NUMBER)) +VERSION_NUMBER:=$(if $(VERSION_NUMBER),$(VERSION_NUMBER),SNAPSHOT) + +VERSION_CODE:=$(call qstrip_escape,$(CONFIG_VERSION_CODE)) +VERSION_CODE:=$(if $(VERSION_CODE),$(VERSION_CODE),$(REVISION)) + +VERSION_NICK:=$(call qstrip_escape,$(CONFIG_VERSION_NICK)) +VERSION_NICK:=$(if $(VERSION_NICK),$(VERSION_NICK),$(RELEASE)) + +VERSION_REPO:=$(call qstrip_escape,$(CONFIG_VERSION_REPO)) +VERSION_REPO:=$(if $(VERSION_REPO),$(VERSION_REPO),http://downloads.lede-project.org/snapshots) + +VERSION_DIST:=$(call qstrip_escape,$(CONFIG_VERSION_DIST)) +VERSION_DIST:=$(if $(VERSION_DIST),$(VERSION_DIST),LEDE) +VERSION_DIST_SANITIZED:=$(call sanitize,$(VERSION_DIST)) + +VERSION_MANUFACTURER:=$(call qstrip_escape,$(CONFIG_VERSION_MANUFACTURER)) +VERSION_MANUFACTURER:=$(if $(VERSION_MANUFACTURER),$(VERSION_MANUFACTURER),LEDE) + +VERSION_MANUFACTURER_URL:=$(call qstrip_escape,$(CONFIG_VERSION_MANUFACTURER_URL)) +VERSION_MANUFACTURER_URL:=$(if $(VERSION_MANUFACTURER_URL),$(VERSION_MANUFACTURER_URL),http://lede-project.org/) + +VERSION_BUG_URL:=$(call qstrip_escape,$(CONFIG_VERSION_BUG_URL)) +VERSION_BUG_URL:=$(if $(VERSION_BUG_URL),$(VERSION_BUG_URL),http://bugs.lede-project.org/) + +VERSION_SUPPORT_URL:=$(call qstrip_escape,$(CONFIG_VERSION_SUPPORT_URL)) +VERSION_SUPPORT_URL:=$(if $(VERSION_SUPPORT_URL),$(VERSION_SUPPORT_URL),http://forum.lede-project.org/) + +VERSION_PRODUCT:=$(call qstrip_escape,$(CONFIG_VERSION_PRODUCT)) +VERSION_PRODUCT:=$(if $(VERSION_PRODUCT),$(VERSION_PRODUCT),Generic) + +VERSION_HWREV:=$(call qstrip_escape,$(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))) + +VERSION_SED:=$(SED) 's,%U,$(VERSION_REPO),g' \ + -e 's,%V,$(VERSION_NUMBER),g' \ + -e 's,%v,\L$(subst $(space),_,$(VERSION_NUMBER)),g' \ + -e 's,%C,$(VERSION_CODE),g' \ + -e 's,%c,\L$(subst $(space),_,$(VERSION_CODE)),g' \ + -e 's,%N,$(VERSION_NICK),g' \ + -e 's,%n,\L$(subst $(space),_,$(VERSION_NICK)),g' \ + -e 's,%D,$(VERSION_DIST),g' \ + -e 's,%d,\L$(subst $(space),_,$(VERSION_DIST)),g' \ + -e 's,%R,$(REVISION),g' \ + -e 's,%T,$(BOARD),g' \ + -e 's,%S,$(BOARD)/$(if $(SUBTARGET),$(SUBTARGET),generic),g' \ + -e 's,%A,$(ARCH_PACKAGES),g' \ + -e 's,%t,$(VERSION_TAINTS),g' \ + -e 's,%M,$(VERSION_MANUFACTURER),g' \ + -e 's,%m,$(VERSION_MANUFACTURER_URL),g' \ + -e 's,%b,$(VERSION_BUG_URL),g' \ + -e 's,%s,$(VERSION_SUPPORT_URL),g' \ + -e 's,%P,$(VERSION_PRODUCT),g' \ + -e 's,%h,$(VERSION_HWREV),g' + +VERSION_SED_SCRIPT:=$(subst '\'','\'\\\\\'\'',$(VERSION_SED)) diff --git a/package/Makefile b/package/Makefile new file mode 100644 index 00000000000000..4fdf4150469434 --- /dev/null +++ b/package/Makefile @@ -0,0 +1,109 @@ +# +# 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)/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,$(shell cat $(PACKAGE_INSTALL_FILES) 2>/dev/null)) + @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 + @-$(MAKE) package/preconfig + + $(CP) $(TARGET_DIR) $(TARGET_DIR_ORIG) + + $(call prepare_rootfs,$(TARGET_DIR)) + +$(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|Require)' Packages.manifest > Packages && \ + 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)/preconfig: + +$(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 00000000000000..d92069ec76c344 --- /dev/null +++ b/package/base-files/Makefile @@ -0,0 +1,193 @@ +# +# 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 + +PKG_NAME:=base-files +PKG_RELEASE:=174 +PKG_FLAGS:=nonshared + +PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/ +PKG_BUILD_DEPENDS:=usign/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 + +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:lede-keyring +NAND_SUPPORT:ubi-utils +fstools +fwtool + TITLE:=Base filesystem for Lede + 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/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/sysctl.d/ +/etc/sysctl.d/local.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" + + 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) \ + $(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/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.seed >>$(1)/etc/build.config) +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 00000000000000..441db6a08fc9e3 --- /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 00000000000000..6230b0892f04c9 --- /dev/null +++ b/package/base-files/files/bin/config_generate @@ -0,0 +1,437 @@ +#!/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' + 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 + json_get_vars vpi vci encaps payload + 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' + 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 + + [ -n "$macaddr" ] && uci -q batch <<-EOF + delete network.$1_dev + set network.$1_dev='device' + set network.$1_dev.name='$ifname' + set network.$1_dev.macaddr='$macaddr' + EOF + + 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' + set network.$1.ip6assign='60' + EOF + ;; + + dhcp) + # fixup IPv6 slave interface if parent is a bridge + [ "$type" = "bridge" ] && ifname="br-$1" + + uci -q batch <<-EOF + set network.$1.proto='dhcp' + delete network.${1}6 + set network.${1}6='interface' + set network.${1}6.ifname='$ifname' + set network.${1}6.proto='dhcpv6' + EOF + ;; + + pppoe) + # fixup IPv6 slave interface + ifname="pppoe-$1" + + uci -q batch <<-EOF + set network.$1.proto='pppoe' + set network.$1.username='username' + set network.$1.password='password' + set network.$1.ipv6='auto' + delete network.${1}6 + set network.${1}6='interface' + set network.${1}6.ifname='$ifname' + 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 + + 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' + 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='LEDE' + 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.lede.pool.ntp.org' + add_list system.ntp.server='1.lede.pool.ntp.org' + add_list system.ntp.server='2.lede.pool.ntp.org' + add_list system.ntp.server='3.lede.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 + json_get_vars port_mask speed_mask + uci -q batch <<-EOF + set system.$cfg.port_mask='$port_mask' + set system.$cfg.speed_mask='$speed_mask' + 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 00000000000000..5d5eac3ea80b8e --- /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 00000000000000..4ec646a9334cf6 --- /dev/null +++ b/package/base-files/files/etc/banner @@ -0,0 +1,10 @@ + _________ + / /\ _ ___ ___ ___ + / LE / \ | | | __| \| __| + / DE / \ | |__| _|| |) | _| + /________/ LE \ |____|___|___/|___| lede-project.org + \ \ DE / + \ LE \ / ----------------------------------------------------------- + \ DE \ / %N (%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 00000000000000..14615e1ef7a082 --- /dev/null +++ b/package/base-files/files/etc/banner.failsafe @@ -0,0 +1,13 @@ +================= 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: +http://wiki.openwrt.org/doc/howto/generic.failsafe +======================================================= + 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 00000000000000..d70aa352b9214a --- /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 00000000000000..4045e9e027de50 --- /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 00000000000000..8726a4398bed53 --- /dev/null +++ b/package/base-files/files/etc/diag.sh @@ -0,0 +1,4 @@ +#!/bin/sh +# Copyright (C) 2006-2009 OpenWrt.org + +set_state() { :; } diff --git a/package/base-files/files/etc/fstab b/package/base-files/files/etc/fstab new file mode 100644 index 00000000000000..6e9b7baf53c904 --- /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 00000000000000..e8e2adf4ac6ea9 --- /dev/null +++ b/package/base-files/files/etc/group @@ -0,0 +1,11 @@ +root:x:0: +daemon:x:1: +adm:x:4: +tty:x:5: +mail:x:8: +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 00000000000000..b7713ebcc68ac1 --- /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 00000000000000..7a71652c44f8bd --- /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.conf /etc/sysctl.d/*.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 00000000000000..31f245ffc759b1 --- /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=98 + +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 00000000000000..374353a23c3714 --- /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 00000000000000..1f1b44b2129ce2 --- /dev/null +++ b/package/base-files/files/etc/init.d/gpio_switch @@ -0,0 +1,42 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2015 OpenWrt.org + +START=98 +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 + echo out >"$gpio_path/direction" + } + # write 0 or 1 to the "value" field + { [ "$value" = "0" ] && echo "0" || echo "1"; } >"$gpio_path/value" +} + +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 00000000000000..7c2a185013d2aa --- /dev/null +++ b/package/base-files/files/etc/init.d/led @@ -0,0 +1,134 @@ +#!/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 "link" + 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 + echo $mode > /sys/class/leds/${sysfs}/mode + } + ;; + + "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 + ;; + 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 00000000000000..3a497fb66c4f0f --- /dev/null +++ b/package/base-files/files/etc/init.d/sysctl @@ -0,0 +1,25 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2006 OpenWrt.org + +START=11 + +set_vm_min_free() { + mem="$(grep MemTotal /proc/meminfo | awk '{print $2}')" + if [ "$mem" -gt 65536 ]; then # 128M + val=16384 + elif [ "$mem" -gt 32768 ]; then # 64M + val=8192 + elif [ "$mem" -gt 16384 ]; then # 32M + val=1024 + else + return + fi + sysctl -qw vm.min_free_kbytes="$val" +} + +start() { + set_vm_min_free + for CONF in /etc/sysctl.conf /etc/sysctl.d/*.conf; do + [ -f "$CONF" ] && sysctl -p "$CONF" -e >&- + 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 00000000000000..aab5b153d0714f --- /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 00000000000000..8c5f6772996775 --- /dev/null +++ b/package/base-files/files/etc/init.d/system @@ -0,0 +1,50 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2014 OpenWrt.org + +START=10 +USE_PROCD=1 + +validate_system_section() +{ + uci_validate_section system system "${1}" \ + 'hostname:string:lede' \ + 'conloglevel:uinteger' \ + 'buffersize:uinteger' \ + 'timezone:string:UTC' \ + 'zonename:string' +} + +system_config() { + local cfg="$1" + + local hostname conloglevel buffersize timezone zonename + + validate_system_section "${1}" || { + 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 system_config system +} + +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 00000000000000..349b2b32648e6d --- /dev/null +++ b/package/base-files/files/etc/init.d/umount @@ -0,0 +1,8 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2006 OpenWrt.org + +STOP=99 +stop() { + sync + /bin/umount -a -d -r +} diff --git a/package/base-files/files/etc/init.d/urandom_seed b/package/base-files/files/etc/init.d/urandom_seed new file mode 100755 index 00000000000000..17d9c13400782a --- /dev/null +++ b/package/base-files/files/etc/init.d/urandom_seed @@ -0,0 +1,12 @@ +#!/bin/sh /etc/rc.common + +START=99 +USE_PROCD=1 + +start_service() { + procd_open_instance "urandom_seed" + procd_set_param command "/sbin/urandom_seed" + procd_set_param stdout 1 + procd_set_param stderr 1 + procd_close_instance +} diff --git a/package/base-files/files/etc/inittab b/package/base-files/files/etc/inittab new file mode 100644 index 00000000000000..9820e7144bed61 --- /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/rt_protos b/package/base-files/files/etc/iproute2/rt_protos new file mode 100644 index 00000000000000..5b61798aecb144 --- /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 00000000000000..5fc09b3c0cfdfc --- /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 00000000000000..da86208f7f70a7 --- /dev/null +++ b/package/base-files/files/etc/openwrt_release @@ -0,0 +1,8 @@ +DISTRIB_ID='%D' +DISTRIB_RELEASE='%V' +DISTRIB_REVISION='%R' +DISTRIB_CODENAME='%n' +DISTRIB_TARGET='%S' +DISTRIB_ARCH='%A' +DISTRIB_DESCRIPTION='%D %N %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 00000000000000..48157ed97f7acc --- /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 00000000000000..c4c75b419cfd1a --- /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 00000000000000..1d06a803615f4e --- /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 00000000000000..829574f5f1824f --- /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 00000000000000..3eda09b456ba26 --- /dev/null +++ b/package/base-files/files/etc/profile @@ -0,0 +1,52 @@ +#!/bin/sh +[ -f /etc/banner ] && cat /etc/banner +[ -e /tmp/.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\$ ' + +[ "$TERM" = "xterm" ] && export PS1='\[\e]0;\u@\h: \w\a\]'$PS1 + +[ -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 00000000000000..26bc775ed68a6c --- /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 00000000000000..ba958fa885e0eb --- /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 00000000000000..c2457441728834 --- /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/reset b/package/base-files/files/etc/rc.button/reset new file mode 100755 index 00000000000000..4265767437e8ed --- /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" -gt 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 00000000000000..fbdda40ed56f3f --- /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 00000000000000..e80af891e684fd --- /dev/null +++ b/package/base-files/files/etc/rc.common @@ -0,0 +1,144 @@ +#!/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 "$@" + 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() { + name="$(basename "${initscript}")" + disable + [ -n "$START" -o -n "$STOP" ] || { + echo "/etc/init.d/$name does not have a START or STOP value" + return 1 + } + [ "$START" ] && ln -s "../init.d/$name" "$IPKG_INSTROOT/etc/rc.d/S${START}${name##S[0-9][0-9]}" + [ "$STOP" ] && ln -s "../init.d/$name" "$IPKG_INSTROOT/etc/rc.d/K${STOP}${name##K[0-9][0-9]}" +} + +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() { + stop_service "$@" + procd_kill "$(basename ${basescript:-$initscript})" "$1" + } + + reload() { + if eval "type reload_service" 2>/dev/null >/dev/null; then + 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 00000000000000..56394773c3e5ae --- /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 00000000000000..8ff914ecf25931 --- /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 +sunrpc 111/udp +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 00000000000000..4b4154f21f478c --- /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 00000000000000..006aa38ced919c --- /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 00000000000000..91a3ac9a02d434 --- /dev/null +++ b/package/base-files/files/etc/sysctl.conf @@ -0,0 +1,30 @@ +kernel.panic=3 +kernel.core_pattern=/tmp/%e.%t.%p.%s.core + +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 + +net.netfilter.nf_conntrack_acct=1 +net.netfilter.nf_conntrack_checksum=0 +net.netfilter.nf_conntrack_max=16384 +net.netfilter.nf_conntrack_tcp_timeout_established=7440 +net.netfilter.nf_conntrack_udp_timeout=60 +net.netfilter.nf_conntrack_udp_timeout_stream=180 + +# disable bridge firewalling by default +net.bridge.bridge-nf-call-arptables=0 +net.bridge.bridge-nf-call-ip6tables=0 +net.bridge.bridge-nf-call-iptables=0 diff --git a/package/base-files/files/etc/sysctl.d/local.conf b/package/base-files/files/etc/sysctl.d/local.conf new file mode 100644 index 00000000000000..891da73df8d61e --- /dev/null +++ b/package/base-files/files/etc/sysctl.d/local.conf @@ -0,0 +1 @@ +# local sysctl settings can be stored in this directory diff --git a/package/base-files/files/etc/sysupgrade.conf b/package/base-files/files/etc/sysupgrade.conf new file mode 100644 index 00000000000000..e06fd5e3323d5e --- /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 00000000000000..a354844fe4a9d5 --- /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/11_migrate-sysctl b/package/base-files/files/etc/uci-defaults/11_migrate-sysctl new file mode 100644 index 00000000000000..464e275779ceec --- /dev/null +++ b/package/base-files/files/etc/uci-defaults/11_migrate-sysctl @@ -0,0 +1,16 @@ +#!/bin/sh + +if [ ! -f "/rom/etc/sysctl.conf" ] || cmp -s "/rom/etc/sysctl.conf" "/etc/sysctl.conf"; then + exit 0 +fi + +fingerprint="$(md5sum /etc/sysctl.conf)" +fingerprint="${fingerprint%% *}" + +if [ "$fingerprint" = "1b05ebb41f72cb84e5510573cd4aca26" ] || \ + [ "$fingerprint" = "62deb895be1a7f496040187b7c930e4e" ]; then + logger -t migrate-sysctl "Updating sysctl.conf to use current defaults" + cp "/rom/etc/sysctl.conf" "/etc/sysctl.conf" +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 00000000000000..8871427c60de76 --- /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 00000000000000..e6dae2419f65a8 --- /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 00000000000000..81ef84b8ef8fc4 --- /dev/null +++ b/package/base-files/files/lib/functions.sh @@ -0,0 +1,360 @@ +#!/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" + [ -n "$NO_CALLBACK" ] || config_cb "$cfgtype" "$name" + export ${NO_EXPORT:+-n} CONFIG_SECTION="$name" + export ${NO_EXPORT:+-n} "CONFIG_${CONFIG_SECTION}_TYPE=$cfgtype" +} + +option () { + local varname="$1"; shift + local value="$*" + + export ${NO_EXPORT:+-n} "CONFIG_${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" + list_cb "$varname" "$*" +} + +config_unset() { + config_set "$1" "$2" "" +} + +# config_get