mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
fix
This commit is contained in:
parent
354f4c67a4
commit
5f83a36e4a
2016 changed files with 2705 additions and 9315 deletions
0
root/include/netfilter.mk
Executable file → Normal file
0
root/include/netfilter.mk
Executable file → Normal file
114
root/package/Makefile
Normal file
114
root/package/Makefile
Normal file
|
@ -0,0 +1,114 @@
|
||||||
|
#
|
||||||
|
# Copyright (C) 2006-2010 OpenWrt.org
|
||||||
|
#
|
||||||
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
|
# See /LICENSE for more information.
|
||||||
|
#
|
||||||
|
|
||||||
|
curdir:=package
|
||||||
|
|
||||||
|
include $(INCLUDE_DIR)/feeds.mk
|
||||||
|
include $(INCLUDE_DIR)/rootfs.mk
|
||||||
|
|
||||||
|
-include $(TMP_DIR)/.packagedeps
|
||||||
|
package-y += kernel/linux
|
||||||
|
$(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
|
||||||
|
$(file >$(TMP_DIR)/opkg_install_list,\
|
||||||
|
$(call opkg_package_files,\
|
||||||
|
$(foreach pkg,$(shell cat $(PACKAGE_INSTALL_FILES) 2>/dev/null),$(pkg)$(call GetABISuffix,$(pkg)))))
|
||||||
|
$(call opkg,$(TARGET_DIR)) install $$(cat $(TMP_DIR)/opkg_install_list)
|
||||||
|
@for file in $(PACKAGE_INSTALL_FILES); do \
|
||||||
|
[ -s $$file.flags ] || continue; \
|
||||||
|
for flag in `cat $$file.flags`; do \
|
||||||
|
$(call opkg,$(TARGET_DIR)) flag $$flag `cat $$file`; \
|
||||||
|
done; \
|
||||||
|
done || true
|
||||||
|
|
||||||
|
$(CP) $(TARGET_DIR) $(TARGET_DIR_ORIG)
|
||||||
|
|
||||||
|
$(call prepare_rootfs,$(TARGET_DIR),$(TOPDIR)/files)
|
||||||
|
|
||||||
|
$(curdir)/index: FORCE
|
||||||
|
@echo Generating package index...
|
||||||
|
@for d in $(PACKAGE_SUBDIRS); do ( \
|
||||||
|
mkdir -p $$d; \
|
||||||
|
cd $$d || continue; \
|
||||||
|
$(SCRIPT_DIR)/ipkg-make-index.sh . 2>&1 > Packages.manifest; \
|
||||||
|
grep -vE '^(Maintainer|LicenseFiles|Source|SourceName|Require|SourceDateEpoch)' Packages.manifest > Packages; \
|
||||||
|
case "$$(((64 + $$(stat -L -c%s Packages)) % 128))" in 110|111) \
|
||||||
|
$(call ERROR_MESSAGE,WARNING: Applying padding in $$d/Packages to workaround usign SHA-512 bug!); \
|
||||||
|
{ echo ""; echo ""; } >> Packages;; \
|
||||||
|
esac; \
|
||||||
|
gzip -9nc Packages > Packages.gz; \
|
||||||
|
); done
|
||||||
|
ifdef CONFIG_SIGNED_PACKAGES
|
||||||
|
@echo Signing package index...
|
||||||
|
@for d in $(PACKAGE_SUBDIRS); do ( \
|
||||||
|
[ -d $$d ] && \
|
||||||
|
cd $$d || continue; \
|
||||||
|
$(STAGING_DIR_HOST)/bin/usign -S -m Packages -s $(BUILD_KEY); \
|
||||||
|
); done
|
||||||
|
endif
|
||||||
|
|
||||||
|
$(curdir)/flags-install:= -j1
|
||||||
|
|
||||||
|
$(eval $(call stampfile,$(curdir),package,prereq,.config))
|
||||||
|
$(eval $(call stampfile,$(curdir),package,cleanup,$(TMP_DIR)/.build))
|
||||||
|
$(eval $(call stampfile,$(curdir),package,compile,$(TMP_DIR)/.build))
|
||||||
|
$(eval $(call stampfile,$(curdir),package,install,$(TMP_DIR)/.build))
|
||||||
|
$(eval $(call stampfile,$(curdir),package,check,$(TMP_DIR)/.build))
|
||||||
|
|
||||||
|
$(eval $(call subdir,$(curdir)))
|
16
root/package/base-files/files/etc/board.d/99-default_network
Executable file
16
root/package/base-files/files/etc/board.d/99-default_network
Executable file
|
@ -0,0 +1,16 @@
|
||||||
|
#!/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'
|
||||||
|
|
||||||
|
board_config_flush
|
||||||
|
|
||||||
|
exit 0
|
|
@ -9,17 +9,16 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=uboot-envtools
|
PKG_NAME:=uboot-envtools
|
||||||
PKG_DISTNAME:=u-boot
|
PKG_DISTNAME:=u-boot
|
||||||
PKG_VERSION:=2021.01
|
PKG_VERSION:=2020.04
|
||||||
PKG_RELEASE:=$(AUTORELEASE)
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE:=$(PKG_DISTNAME)-$(PKG_VERSION).tar.bz2
|
PKG_SOURCE:=$(PKG_DISTNAME)-$(PKG_VERSION).tar.bz2
|
||||||
PKG_SOURCE_URL:= \
|
|
||||||
https://ftp.denx.de/pub/u-boot \
|
|
||||||
https://mirror.cyberbits.eu/u-boot \
|
|
||||||
ftp://ftp.denx.de/pub/u-boot
|
|
||||||
PKG_HASH:=b407e1510a74e863b8b5cb42a24625344f0e0c2fc7582d8c866bd899367d0454
|
|
||||||
PKG_SOURCE_SUBDIR:=$(PKG_DISTNAME)-$(PKG_VERSION)
|
PKG_SOURCE_SUBDIR:=$(PKG_DISTNAME)-$(PKG_VERSION)
|
||||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_DISTNAME)-$(PKG_VERSION)
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_DISTNAME)-$(PKG_VERSION)
|
||||||
|
PKG_SOURCE_URL:=https://git.denx.de/u-boot.git
|
||||||
|
PKG_SOURCE_VERSION:=36fec02b1f90b92cf51ec531564f9284eae27ab4
|
||||||
|
PKG_MIRROR_HASH:=fe732aaf037d9cc3c0909bad8362af366ae964bbdac6913a34081ff4ad565372
|
||||||
|
|
||||||
PKG_BUILD_DEPENDS:=fstools
|
PKG_BUILD_DEPENDS:=fstools
|
||||||
|
|
||||||
|
|
|
@ -5,10 +5,10 @@
|
||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
include $(INCLUDE_DIR)/kernel.mk
|
include $(INCLUDE_DIR)/kernel.mk
|
||||||
|
|
||||||
PKG_VERSION:=2021.01
|
PKG_VERSION:=2021.04
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_HASH:=b407e1510a74e863b8b5cb42a24625344f0e0c2fc7582d8c866bd899367d0454
|
PKG_HASH:=0d438b1bb5cceb57a18ea2de4a0d51f7be5b05b98717df05938636e0aadfe11a
|
||||||
|
|
||||||
PKG_MAINTAINER:=Tobias Maedel <openwrt@tbspace.de>
|
PKG_MAINTAINER:=Tobias Maedel <openwrt@tbspace.de>
|
||||||
|
|
||||||
|
@ -38,6 +38,16 @@ endef
|
||||||
|
|
||||||
# RK3399 boards
|
# RK3399 boards
|
||||||
|
|
||||||
|
define U-Boot/nanopi-r4s-rk3399
|
||||||
|
BUILD_SUBTARGET:=armv8
|
||||||
|
NAME:=NanoPi R4S
|
||||||
|
BUILD_DEVICES:= \
|
||||||
|
friendlyarm_nanopi-r4s
|
||||||
|
DEPENDS:=+PACKAGE_u-boot-nanopi-r4s-rk3399:arm-trusted-firmware-rockchip
|
||||||
|
PKG_BUILD_DEPENDS:=arm-trusted-firmware-rockchip
|
||||||
|
ATF:=rk3399_bl31.elf
|
||||||
|
endef
|
||||||
|
|
||||||
define U-Boot/rock-pi-4-rk3399
|
define U-Boot/rock-pi-4-rk3399
|
||||||
BUILD_SUBTARGET:=armv8
|
BUILD_SUBTARGET:=armv8
|
||||||
NAME:=Rock Pi 4
|
NAME:=Rock Pi 4
|
||||||
|
@ -59,6 +69,7 @@ define U-Boot/rockpro64-rk3399
|
||||||
endef
|
endef
|
||||||
|
|
||||||
UBOOT_TARGETS := \
|
UBOOT_TARGETS := \
|
||||||
|
nanopi-r4s-rk3399 \
|
||||||
rock-pi-4-rk3399 \
|
rock-pi-4-rk3399 \
|
||||||
rockpro64-rk3399 \
|
rockpro64-rk3399 \
|
||||||
nanopi-r2s-rk3328
|
nanopi-r2s-rk3328
|
||||||
|
@ -75,7 +86,7 @@ ifneq ($(OF_PLATDATA),)
|
||||||
mkdir -p $(PKG_BUILD_DIR)/tpl/dts
|
mkdir -p $(PKG_BUILD_DIR)/tpl/dts
|
||||||
mkdir -p $(PKG_BUILD_DIR)/include/generated
|
mkdir -p $(PKG_BUILD_DIR)/include/generated
|
||||||
|
|
||||||
$(CP) $(PKG_BUILD_DIR)/of-platdata/$(OF_PLATDATA)/dt-platdata.c $(PKG_BUILD_DIR)/tpl/dts/dt-platdata.c
|
$(CP) $(PKG_BUILD_DIR)/of-platdata/$(OF_PLATDATA)/dt-plat.c $(PKG_BUILD_DIR)/tpl/dts/dt-plat.c
|
||||||
$(CP) $(PKG_BUILD_DIR)/of-platdata/$(OF_PLATDATA)/dt-structs-gen.h $(PKG_BUILD_DIR)/include/generated/dt-structs-gen.h
|
$(CP) $(PKG_BUILD_DIR)/of-platdata/$(OF_PLATDATA)/dt-structs-gen.h $(PKG_BUILD_DIR)/include/generated/dt-structs-gen.h
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
|
@ -17,15 +17,13 @@ Signed-off-by: David Bauer <mail@david-bauer.net>
|
||||||
|
|
||||||
--- a/scripts/Makefile.spl
|
--- a/scripts/Makefile.spl
|
||||||
+++ b/scripts/Makefile.spl
|
+++ b/scripts/Makefile.spl
|
||||||
@@ -321,12 +321,6 @@ PHONY += dts_dir
|
@@ -329,10 +329,6 @@ PHONY += dts_dir
|
||||||
dts_dir:
|
dts_dir:
|
||||||
$(shell [ -d $(obj)/dts ] || mkdir -p $(obj)/dts)
|
$(shell [ -d $(obj)/dts ] || mkdir -p $(obj)/dts)
|
||||||
|
|
||||||
-include/generated/dt-structs-gen.h: $(obj)/$(SPL_BIN).dtb dts_dir FORCE
|
-include/generated/dt-structs-gen.h $(u-boot-spl-platdata_c) &: \
|
||||||
- $(call if_changed,dtoch)
|
- $(obj)/$(SPL_BIN).dtb dts_dir FORCE
|
||||||
-
|
- $(call if_changed,dtoc)
|
||||||
-$(obj)/dts/dt-platdata.c: $(obj)/$(SPL_BIN).dtb dts_dir FORCE
|
|
||||||
- $(call if_changed,dtocc)
|
|
||||||
-
|
-
|
||||||
ifdef CONFIG_SAMSUNG
|
ifdef CONFIG_SAMSUNG
|
||||||
ifdef CONFIG_VAR_SIZE_SPL
|
ifdef CONFIG_VAR_SIZE_SPL
|
||||||
|
|
0
root/package/boot/uboot-rockchip/patches/102-arm64-rk3399-Add-support-NanoPi-R4s.patch
Executable file → Normal file
0
root/package/boot/uboot-rockchip/patches/102-arm64-rk3399-Add-support-NanoPi-R4s.patch
Executable file → Normal file
0
root/package/boot/uboot-rockchip/src/of-platdata/nanopi-r2s-rk3328/dt-plat.c
Executable file → Normal file
0
root/package/boot/uboot-rockchip/src/of-platdata/nanopi-r2s-rk3328/dt-plat.c
Executable file → Normal file
|
@ -1,7 +1,8 @@
|
||||||
/*
|
/*
|
||||||
* DO NOT MODIFY
|
* DO NOT MODIFY
|
||||||
*
|
*
|
||||||
* This file was generated by dtoc from a .dtb (device tree binary) file.
|
* Defines the structs used to hold devicetree data.
|
||||||
|
* This was generated by dtoc from a .dtb (device tree binary) file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
@ -18,23 +19,6 @@ struct dtd_ns16550_serial {
|
||||||
fdt32_t reg_io_width;
|
fdt32_t reg_io_width;
|
||||||
fdt32_t reg_shift;
|
fdt32_t reg_shift;
|
||||||
};
|
};
|
||||||
struct dtd_regulator_fixed {
|
|
||||||
fdt32_t gpio[3];
|
|
||||||
fdt32_t pinctrl_0;
|
|
||||||
const char * pinctrl_names;
|
|
||||||
bool regulator_boot_on;
|
|
||||||
fdt32_t regulator_max_microvolt;
|
|
||||||
fdt32_t regulator_min_microvolt;
|
|
||||||
const char * regulator_name;
|
|
||||||
fdt32_t vin_supply;
|
|
||||||
};
|
|
||||||
struct dtd_rockchip_gpio_bank {
|
|
||||||
struct phandle_1_arg clocks[1];
|
|
||||||
bool gpio_controller;
|
|
||||||
bool interrupt_controller;
|
|
||||||
fdt32_t interrupts[3];
|
|
||||||
fdt64_t reg[2];
|
|
||||||
};
|
|
||||||
struct dtd_rockchip_rk3288_dw_mshc {
|
struct dtd_rockchip_rk3288_dw_mshc {
|
||||||
fdt32_t bus_width;
|
fdt32_t bus_width;
|
||||||
bool cap_sd_highspeed;
|
bool cap_sd_highspeed;
|
||||||
|
@ -65,7 +49,3 @@ struct dtd_rockchip_rk3328_dmc {
|
||||||
struct dtd_rockchip_rk3328_grf {
|
struct dtd_rockchip_rk3328_grf {
|
||||||
fdt64_t reg[2];
|
fdt64_t reg[2];
|
||||||
};
|
};
|
||||||
struct dtd_rockchip_rk3328_pinctrl {
|
|
||||||
bool ranges;
|
|
||||||
fdt32_t rockchip_grf;
|
|
||||||
};
|
|
||||||
|
|
0
root/package/kernel/linux/modules/crypto.mk
Executable file → Normal file
0
root/package/kernel/linux/modules/crypto.mk
Executable file → Normal file
0
root/package/kernel/linux/modules/fs.mk
Executable file → Normal file
0
root/package/kernel/linux/modules/fs.mk
Executable file → Normal file
0
root/package/kernel/linux/modules/input.mk
Executable file → Normal file
0
root/package/kernel/linux/modules/input.mk
Executable file → Normal file
0
root/package/kernel/linux/modules/netfilter.mk
Executable file → Normal file
0
root/package/kernel/linux/modules/netfilter.mk
Executable file → Normal file
0
root/package/kernel/linux/modules/other.mk
Executable file → Normal file
0
root/package/kernel/linux/modules/other.mk
Executable file → Normal file
0
root/package/kernel/linux/modules/sound.mk
Executable file → Normal file
0
root/package/kernel/linux/modules/sound.mk
Executable file → Normal file
0
root/package/kernel/mwlwifi/patches/002-remove-fallthrough.patch
Executable file → Normal file
0
root/package/kernel/mwlwifi/patches/002-remove-fallthrough.patch
Executable file → Normal file
0
root/package/kernel/mwlwifi/patches/003-remove-pcie_dev_name.patch
Executable file → Normal file
0
root/package/kernel/mwlwifi/patches/003-remove-pcie_dev_name.patch
Executable file → Normal file
0
root/package/kernel/mwlwifi/patches/004-remove-get_fs.patch
Executable file → Normal file
0
root/package/kernel/mwlwifi/patches/004-remove-get_fs.patch
Executable file → Normal file
0
root/package/network/config/firewall/patches/fullconenat.patch
Executable file → Normal file
0
root/package/network/config/firewall/patches/fullconenat.patch
Executable file → Normal file
45
root/package/network/ipv6/6in4/Makefile
Normal file
45
root/package/network/ipv6/6in4/Makefile
Normal file
|
@ -0,0 +1,45 @@
|
||||||
|
#
|
||||||
|
# Copyright (C) 2010-2015 OpenWrt.org
|
||||||
|
# Copyright (C) 2018-2019 Ycarus (Yannick Chabanois) <ycarus@zugaina.org>
|
||||||
|
# - Added gateway setting
|
||||||
|
#
|
||||||
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
|
# See /LICENSE for more information.
|
||||||
|
#
|
||||||
|
|
||||||
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
|
PKG_NAME:=6in4
|
||||||
|
PKG_VERSION:=270
|
||||||
|
PKG_RELEASE:=2
|
||||||
|
PKG_LICENSE:=GPL-2.0
|
||||||
|
|
||||||
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
define Package/6in4
|
||||||
|
SECTION:=net
|
||||||
|
CATEGORY:=Network
|
||||||
|
DEPENDS:=@IPV6 +kmod-sit +uclient-fetch
|
||||||
|
TITLE:=IPv6-in-IPv4 configuration support
|
||||||
|
MAINTAINER:=Jo-Philipp Wich <jo@mein.io>
|
||||||
|
PKGARCH:=all
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/6in4/description
|
||||||
|
Provides support for 6in4 tunnels in /etc/config/network.
|
||||||
|
Refer to http://wiki.openwrt.org/doc/uci/network for
|
||||||
|
configuration details.
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Build/Compile
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Build/Configure
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/6in4/install
|
||||||
|
$(INSTALL_DIR) $(1)/lib/netifd/proto
|
||||||
|
$(INSTALL_BIN) ./files/6in4.sh $(1)/lib/netifd/proto/6in4.sh
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call BuildPackage,6in4))
|
149
root/package/network/ipv6/6in4/files/6in4.sh
Executable file
149
root/package/network/ipv6/6in4/files/6in4.sh
Executable file
|
@ -0,0 +1,149 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# 6in4.sh - IPv6-in-IPv4 tunnel backend
|
||||||
|
# Copyright (c) 2010-2015 OpenWrt.org
|
||||||
|
|
||||||
|
[ -n "$INCLUDE_ONLY" ] || {
|
||||||
|
. /lib/functions.sh
|
||||||
|
. /lib/functions/network.sh
|
||||||
|
. ../netifd-proto.sh
|
||||||
|
init_proto "$@"
|
||||||
|
}
|
||||||
|
|
||||||
|
proto_6in4_update() {
|
||||||
|
sh -c '
|
||||||
|
timeout=5
|
||||||
|
|
||||||
|
(while [ $((timeout--)) -gt 0 ]; do
|
||||||
|
sleep 1
|
||||||
|
kill -0 $$ || exit 0
|
||||||
|
done; kill -9 $$) 2>/dev/null &
|
||||||
|
|
||||||
|
exec "$@"
|
||||||
|
' "$1" "$@"
|
||||||
|
}
|
||||||
|
|
||||||
|
proto_6in4_add_prefix() {
|
||||||
|
append "$3" "$1"
|
||||||
|
}
|
||||||
|
|
||||||
|
proto_6in4_setup() {
|
||||||
|
local cfg="$1"
|
||||||
|
local iface="$2"
|
||||||
|
local link="6in4-$cfg"
|
||||||
|
|
||||||
|
local mtu ttl tos ipaddr peeraddr ip6addr ip6prefix ip6prefixes tunlink tunnelid username password updatekey gateway
|
||||||
|
json_get_vars mtu ttl tos ipaddr peeraddr ip6addr tunlink tunnelid username password updatekey gateway
|
||||||
|
json_for_each_item proto_6in4_add_prefix ip6prefix ip6prefixes
|
||||||
|
|
||||||
|
[ -z "$peeraddr" ] && {
|
||||||
|
proto_notify_error "$cfg" "MISSING_ADDRESS"
|
||||||
|
proto_block_restart "$cfg"
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
|
[ -n "$tunlink" ] && ( proto_add_host_dependency "$cfg" "$peeraddr" "$tunlink" )
|
||||||
|
|
||||||
|
[ -z "$ipaddr" ] && {
|
||||||
|
local wanif="$tunlink"
|
||||||
|
if [ -z "$wanif" ] && ! network_find_wan wanif; then
|
||||||
|
proto_notify_error "$cfg" "NO_WAN_LINK"
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! network_get_ipaddr ipaddr "$wanif"; then
|
||||||
|
proto_notify_error "$cfg" "NO_WAN_LINK"
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
proto_init_update "$link" 1
|
||||||
|
|
||||||
|
[ -n "$ip6addr" ] && {
|
||||||
|
local local6="${ip6addr%%/*}"
|
||||||
|
local mask6="${ip6addr##*/}"
|
||||||
|
[[ "$local6" = "$mask6" ]] && mask6=
|
||||||
|
proto_add_ipv6_address "$local6" "$mask6"
|
||||||
|
proto_add_ipv6_route "::" 0 "" "" "" "$local6/$mask6"
|
||||||
|
}
|
||||||
|
|
||||||
|
[ -n "$gateway" ] && {
|
||||||
|
proto_add_ipv6_route "::" 0 "$gateway"
|
||||||
|
}
|
||||||
|
|
||||||
|
for ip6prefix in $ip6prefixes; do
|
||||||
|
proto_add_ipv6_prefix "$ip6prefix"
|
||||||
|
proto_add_ipv6_route "::" 0 "" "" "" "$ip6prefix"
|
||||||
|
done
|
||||||
|
|
||||||
|
proto_add_tunnel
|
||||||
|
json_add_string mode sit
|
||||||
|
json_add_int mtu "${mtu:-1280}"
|
||||||
|
json_add_int ttl "${ttl:-64}"
|
||||||
|
[ -n "$tos" ] && json_add_string tos "$tos"
|
||||||
|
json_add_string local "$ipaddr"
|
||||||
|
json_add_string remote "$peeraddr"
|
||||||
|
[ -n "$tunlink" ] && json_add_string link "$tunlink"
|
||||||
|
proto_close_tunnel
|
||||||
|
|
||||||
|
proto_send_update "$cfg"
|
||||||
|
|
||||||
|
[ -n "$tunnelid" -a -n "$username" -a \( -n "$password" -o -n "$updatekey" \) ] && {
|
||||||
|
[ -n "$updatekey" ] && password="$updatekey"
|
||||||
|
|
||||||
|
local http="http"
|
||||||
|
local urlget="uclient-fetch"
|
||||||
|
local urlget_opts="-qO-"
|
||||||
|
local ca_path="${SSL_CERT_DIR:-/etc/ssl/certs}"
|
||||||
|
|
||||||
|
[ -f /lib/libustream-ssl.so ] && http=https
|
||||||
|
[ "$http" = "https" -a -z "$(find $ca_path -name "*.0" 2>/dev/null)" ] && {
|
||||||
|
urlget_opts="$urlget_opts --no-check-certificate"
|
||||||
|
}
|
||||||
|
|
||||||
|
local url="$http://ipv4.tunnelbroker.net/nic/update?hostname=$tunnelid"
|
||||||
|
local try=0
|
||||||
|
local max=3
|
||||||
|
|
||||||
|
(
|
||||||
|
set -o pipefail
|
||||||
|
while [ $((++try)) -le $max ]; do
|
||||||
|
if proto_6in4_update $urlget $urlget_opts --user="$username" --password="$password" "$url" 2>&1 | \
|
||||||
|
sed -e 's,^Killed$,timeout,' -e "s,^,update $try/$max: ," | \
|
||||||
|
logger -t "$link";
|
||||||
|
then
|
||||||
|
logger -t "$link" "updated"
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
|
sleep 5
|
||||||
|
done
|
||||||
|
logger -t "$link" "update failed"
|
||||||
|
)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
proto_6in4_teardown() {
|
||||||
|
local cfg="$1"
|
||||||
|
}
|
||||||
|
|
||||||
|
proto_6in4_init_config() {
|
||||||
|
no_device=1
|
||||||
|
available=1
|
||||||
|
|
||||||
|
proto_config_add_string "ipaddr"
|
||||||
|
proto_config_add_string "ip6addr"
|
||||||
|
proto_config_add_array "ip6prefix"
|
||||||
|
proto_config_add_string "peeraddr"
|
||||||
|
proto_config_add_string "tunlink"
|
||||||
|
proto_config_add_string "tunnelid"
|
||||||
|
proto_config_add_string "username"
|
||||||
|
proto_config_add_string "password"
|
||||||
|
proto_config_add_string "updatekey"
|
||||||
|
proto_config_add_string "gateway"
|
||||||
|
proto_config_add_int "mtu"
|
||||||
|
proto_config_add_int "ttl"
|
||||||
|
proto_config_add_string "tos"
|
||||||
|
}
|
||||||
|
|
||||||
|
[ -n "$INCLUDE_ONLY" ] || {
|
||||||
|
add_protocol 6in4
|
||||||
|
}
|
1134
root/package/network/services/dnsmasq/files/dnsmasq.init
Normal file
1134
root/package/network/services/dnsmasq/files/dnsmasq.init
Normal file
File diff suppressed because it is too large
Load diff
51
root/package/utils/wmt/Makefile
Normal file
51
root/package/utils/wmt/Makefile
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
#
|
||||||
|
# Copyright (C) 2009 OpenWrt.org
|
||||||
|
#
|
||||||
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
|
# See /LICENSE for more information.
|
||||||
|
#
|
||||||
|
|
||||||
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
|
PKG_NAME:=wmt
|
||||||
|
PKG_VERSION:=1.0.0
|
||||||
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
|
PKG_SOURCE_PROTO:=git
|
||||||
|
PKG_SOURCE_URL:=https://github.com/abbradar/wmt
|
||||||
|
PKG_SOURCE_VERSION:=2127e23dd94df960b12f3ffff806bcf41ebbf4b8
|
||||||
|
PKG_MAINTAINER:=Nikolay Amiantov <ab@fmap.me>
|
||||||
|
|
||||||
|
PKG_BUILD_PARALLEL:=1
|
||||||
|
|
||||||
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
define Package/$(PKG_NAME)
|
||||||
|
SECTION:=utils
|
||||||
|
CATEGORY:=Utilities
|
||||||
|
TITLE:=wmt utility for MT6625L
|
||||||
|
DEPENDS:=kmod-mt6625l-wlan-gen2
|
||||||
|
MAINTAINER:=Jinkai li <lijk@synertone.net>
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/$(PKG_NAME)/description
|
||||||
|
Utility for loading MT6625L firmware.
|
||||||
|
endef
|
||||||
|
|
||||||
|
define Package/$(PKG_NAME)/install
|
||||||
|
$(INSTALL_DIR) $(1)/usr/bin
|
||||||
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/stp_uart_launcher $(1)/usr/bin/
|
||||||
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/wmt_loader $(1)/usr/bin/
|
||||||
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/wmt_loopback $(1)/usr/bin/
|
||||||
|
$(INSTALL_DIR) $(1)/system/etc/firmware
|
||||||
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/config/WMT_SOC.cfg $(1)/system/etc/firmware
|
||||||
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/config/WMT_SOC.cfg $(1)/system/etc/firmware/WMT.cfg
|
||||||
|
$(INSTALL_DIR) $(1)/etc/firmware
|
||||||
|
$(CP) -r $(PKG_BUILD_DIR)/firmware/* $(1)/etc/firmware/
|
||||||
|
$(INSTALL_DIR) $(1)/etc/init.d
|
||||||
|
$(INSTALL_BIN) ./files/wmt.init $(1)/etc/init.d/wmt
|
||||||
|
$(INSTALL_DIR) $(1)/etc/uci-defaults
|
||||||
|
$(INSTALL_BIN) ./files/wmt.defaults $(1)/etc/uci-defaults/8803-wmt
|
||||||
|
endef
|
||||||
|
|
||||||
|
$(eval $(call BuildPackage,$(PKG_NAME)))
|
11
root/package/utils/wmt/files/wmt.defaults
Normal file
11
root/package/utils/wmt/files/wmt.defaults
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
if [ -z "$(uci -q get ucitrack.@wmt[0])" ]; then
|
||||||
|
uci -q batch <<-EOF
|
||||||
|
set ucitrack.@wmt[-1]=wmt
|
||||||
|
set ucitrack.@wmt[-1].init=wmt
|
||||||
|
add_list ucitrack.@wireless[0].affects=wmt
|
||||||
|
commit ucitrack
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
|
exit 0
|
119
root/package/utils/wmt/files/wmt.init
Normal file
119
root/package/utils/wmt/files/wmt.init
Normal file
|
@ -0,0 +1,119 @@
|
||||||
|
#!/bin/sh /etc/rc.common
|
||||||
|
|
||||||
|
START=69
|
||||||
|
|
||||||
|
check_mtk_device() {
|
||||||
|
config_get phy "$1" phy
|
||||||
|
[ "$phy" = "mtkp2p0" ] && {
|
||||||
|
[ "$(uci -q get wireless.$1.disabled)" = "1" ] || apmode="$1"
|
||||||
|
[ -z "$(uci -q get wireless.default_$1.ifname)" ] && {
|
||||||
|
uci -q batch <<-EOF
|
||||||
|
set wireless.default_$1.ifname=mtkap0
|
||||||
|
set wireless.default_$1.bss_load_update_period=0
|
||||||
|
rename wireless.$1=ap
|
||||||
|
rename wireless.default_$1=default_ap
|
||||||
|
set wireless.default_$1.device=ap
|
||||||
|
EOF
|
||||||
|
}
|
||||||
|
}
|
||||||
|
[ "$phy" = "mtkphy0" ] && {
|
||||||
|
[ "$(uci -q get wireless.$1.disabled)" = "1" ] || wlanmode="$1"
|
||||||
|
[ "$(uci -q get wireless.default_$1.mode)" = "ap" ] && {
|
||||||
|
uci -q batch <<-EOF
|
||||||
|
set wireless.default_$1.mode=sta
|
||||||
|
EOF
|
||||||
|
}
|
||||||
|
[ -z "$(uci -q get wireless.default_$1.ifname)" ] && {
|
||||||
|
uci -q batch <<-EOF
|
||||||
|
set wireless.default_$1.ifname=mtkwlan0
|
||||||
|
set wireless.default_$1.bss_load_update_period=0
|
||||||
|
rename wireless.$1=client
|
||||||
|
rename wireless.default_$1=default_client
|
||||||
|
set wireless.default_$1.device=client
|
||||||
|
EOF
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
find_radio() {
|
||||||
|
config_load wireless
|
||||||
|
apmode=""
|
||||||
|
wlanmode=""
|
||||||
|
config_foreach check_mtk_device wifi-device
|
||||||
|
uci -q commit wireless
|
||||||
|
}
|
||||||
|
|
||||||
|
start_ap() {
|
||||||
|
echo A > /dev/wmtWifi
|
||||||
|
# Those are recommended by vendor to avoid chip lockup.
|
||||||
|
tc qdisc add dev mtkap0 root handle 1: htb default 11
|
||||||
|
tc class add dev mtkap0 parent 1:1 classid 1:2 htb rate 8Mbit ceil 4Mbit prio 2
|
||||||
|
|
||||||
|
find_radio
|
||||||
|
if [ -n "$apmode" ]; then
|
||||||
|
config_get_bool disabled "$apmode" disabled
|
||||||
|
[ "$disabled" = "1" ] || wifi up "$apmode" 2>/dev/null
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
start_wlan() {
|
||||||
|
echo 1 > /dev/wmtWifi
|
||||||
|
# Those are recommended by vendor to avoid chip lockup.
|
||||||
|
tc qdisc add dev mtkap0 root handle 1: htb default 11
|
||||||
|
tc class add dev mtkap0 parent 1:1 classid 1:2 htb rate 8Mbit ceil 4Mbit prio 2
|
||||||
|
|
||||||
|
find_radio
|
||||||
|
if [ -n "$wlanmode" ]; then
|
||||||
|
config_get_bool disabled "$wlanmode" disabled
|
||||||
|
[ "$disabled" = "1" ] || wifi up "$wlanmode" 2>/dev/null
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
stop_apwlan() {
|
||||||
|
find_radio
|
||||||
|
[ -n "$apmode" ] && wifi down "$apmode" 2>/dev/null
|
||||||
|
[ -n "$wlanmode" ] && wifi down "$wlanmode" 2>/dev/null
|
||||||
|
echo 0 > /dev/wmtWifi
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
start() {
|
||||||
|
find_radio
|
||||||
|
|
||||||
|
[ -c /dev/stpwmt ] || /usr/bin/wmt_loader 2>&1
|
||||||
|
/usr/bin/stp_uart_launcher -p /etc/firmware 2>&1 | logger -t stp_uart_launcher &
|
||||||
|
echo "$!" > /var/run/stp_uart_launcher.pid
|
||||||
|
sleep 3
|
||||||
|
if [ -c /dev/wmtWifi ]; then
|
||||||
|
[ -n "$apmode" ] && start_ap
|
||||||
|
[ -n "$wlanmode" ] && start_wlan
|
||||||
|
[ -z "$apmode" ] && [ -z "$wlanmode" ] && start_ap
|
||||||
|
return 0
|
||||||
|
else
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
stop() {
|
||||||
|
find_radio
|
||||||
|
|
||||||
|
if [ -c /dev/wmtWifi ]; then
|
||||||
|
stop_apwlan
|
||||||
|
stp_pid="$(cat /var/run/stp_uart_launcher.pid 2>/dev/null)"
|
||||||
|
if [ -n "$stp_pid" ]; then
|
||||||
|
kill "$stp_pid"
|
||||||
|
rm /var/run/stp_uart_launcher.pid
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
reload() {
|
||||||
|
find_radio
|
||||||
|
|
||||||
|
if [ -c /dev/wmtWifi ]; then
|
||||||
|
stop_apwlan
|
||||||
|
[ -n "$apmode" ] && start_ap
|
||||||
|
[ -n "$wlanmode" ] && start_wlan
|
||||||
|
[ -z "$apmode" ] && [ -z "$wlanmode" ] && start_ap
|
||||||
|
fi
|
||||||
|
}
|
0
root/target/linux/bcm27xx/Makefile
Executable file → Normal file
0
root/target/linux/bcm27xx/Makefile
Executable file → Normal file
0
root/target/linux/bcm27xx/bcm2708/config-4.14
Executable file → Normal file
0
root/target/linux/bcm27xx/bcm2708/config-4.14
Executable file → Normal file
0
root/target/linux/bcm27xx/bcm2708/config-5.14
Executable file → Normal file
0
root/target/linux/bcm27xx/bcm2708/config-5.14
Executable file → Normal file
0
root/target/linux/bcm27xx/bcm2708/config-5.15
Executable file → Normal file
0
root/target/linux/bcm27xx/bcm2708/config-5.15
Executable file → Normal file
0
root/target/linux/bcm27xx/bcm2709/config-4.14
Executable file → Normal file
0
root/target/linux/bcm27xx/bcm2709/config-4.14
Executable file → Normal file
0
root/target/linux/bcm27xx/bcm2709/config-4.19
Executable file → Normal file
0
root/target/linux/bcm27xx/bcm2709/config-4.19
Executable file → Normal file
0
root/target/linux/bcm27xx/bcm2709/config-5.14
Executable file → Normal file
0
root/target/linux/bcm27xx/bcm2709/config-5.14
Executable file → Normal file
0
root/target/linux/bcm27xx/bcm2709/config-5.15
Executable file → Normal file
0
root/target/linux/bcm27xx/bcm2709/config-5.15
Executable file → Normal file
0
root/target/linux/bcm27xx/bcm2710/config-4.14
Executable file → Normal file
0
root/target/linux/bcm27xx/bcm2710/config-4.14
Executable file → Normal file
0
root/target/linux/bcm27xx/bcm2710/config-4.19
Executable file → Normal file
0
root/target/linux/bcm27xx/bcm2710/config-4.19
Executable file → Normal file
0
root/target/linux/bcm27xx/bcm2710/config-5.14
Executable file → Normal file
0
root/target/linux/bcm27xx/bcm2710/config-5.14
Executable file → Normal file
0
root/target/linux/bcm27xx/bcm2710/config-5.15
Executable file → Normal file
0
root/target/linux/bcm27xx/bcm2710/config-5.15
Executable file → Normal file
0
root/target/linux/bcm27xx/bcm2711/config-4.19
Executable file → Normal file
0
root/target/linux/bcm27xx/bcm2711/config-4.19
Executable file → Normal file
2
root/target/linux/bcm27xx/bcm2711/config-5.14
Executable file → Normal file
2
root/target/linux/bcm27xx/bcm2711/config-5.14
Executable file → Normal file
|
@ -444,8 +444,6 @@ CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
|
||||||
CONFIG_USB_COMMON=y
|
CONFIG_USB_COMMON=y
|
||||||
CONFIG_USB_DWCOTG=y
|
CONFIG_USB_DWCOTG=y
|
||||||
CONFIG_USB_GADGET=y
|
CONFIG_USB_GADGET=y
|
||||||
CONFIG_USB_LAN78XX=y
|
|
||||||
CONFIG_USB_NET_DRIVERS=y
|
|
||||||
CONFIG_USB_PCI=y
|
CONFIG_USB_PCI=y
|
||||||
CONFIG_USB_PHY=y
|
CONFIG_USB_PHY=y
|
||||||
CONFIG_USB_STORAGE=y
|
CONFIG_USB_STORAGE=y
|
||||||
|
|
2
root/target/linux/bcm27xx/bcm2711/config-5.15
Executable file → Normal file
2
root/target/linux/bcm27xx/bcm2711/config-5.15
Executable file → Normal file
|
@ -444,8 +444,6 @@ CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
|
||||||
CONFIG_USB_COMMON=y
|
CONFIG_USB_COMMON=y
|
||||||
CONFIG_USB_DWCOTG=y
|
CONFIG_USB_DWCOTG=y
|
||||||
CONFIG_USB_GADGET=y
|
CONFIG_USB_GADGET=y
|
||||||
CONFIG_USB_LAN78XX=y
|
|
||||||
CONFIG_USB_NET_DRIVERS=y
|
|
||||||
CONFIG_USB_PCI=y
|
CONFIG_USB_PCI=y
|
||||||
CONFIG_USB_PHY=y
|
CONFIG_USB_PHY=y
|
||||||
CONFIG_USB_STORAGE=y
|
CONFIG_USB_STORAGE=y
|
||||||
|
|
0
root/target/linux/bcm27xx/image/cmdline.txt
Executable file → Normal file
0
root/target/linux/bcm27xx/image/cmdline.txt
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0001-arm-partially-revert-702b94bff3c50542a6e4ab9a4f4cef0.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0001-arm-partially-revert-702b94bff3c50542a6e4ab9a4f4cef0.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0002-Revert-rtc-pcf8523-properly-handle-oscillator-stop-b.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0002-Revert-rtc-pcf8523-properly-handle-oscillator-stop-b.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0003-Revert-staging-bcm2835-audio-Drop-DT-dependency.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0003-Revert-staging-bcm2835-audio-Drop-DT-dependency.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0004-Revert-spi-spidev-Fix-CS-polarity-if-GPIO-descriptor.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0004-Revert-spi-spidev-Fix-CS-polarity-if-GPIO-descriptor.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0005-Revert-mailbox-avoid-timer-start-from-callback.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0005-Revert-mailbox-avoid-timer-start-from-callback.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0006-Revert-Bluetooth-Always-request-for-user-confirmatio.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0006-Revert-Bluetooth-Always-request-for-user-confirmatio.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0007-Revert-Bluetooth-Always-request-for-user-confirmatio.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0007-Revert-Bluetooth-Always-request-for-user-confirmatio.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0008-smsx95xx-fix-crimes-against-truesize.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0008-smsx95xx-fix-crimes-against-truesize.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0009-smsc95xx-Experimental-Enable-turbo_mode-and-packetsi.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0009-smsc95xx-Experimental-Enable-turbo_mode-and-packetsi.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0010-Allow-mac-address-to-be-set-in-smsc95xx.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0010-Allow-mac-address-to-be-set-in-smsc95xx.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0011-cgroup-Disable-cgroup-memory-by-default.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0011-cgroup-Disable-cgroup-memory-by-default.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0012-Protect-__release_resource-against-resources-without.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0012-Protect-__release_resource-against-resources-without.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0013-irq-bcm2836-Avoid-Invalid-trigger-warning.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0013-irq-bcm2836-Avoid-Invalid-trigger-warning.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0014-irqchip-bcm2835-Add-FIQ-support.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0014-irqchip-bcm2835-Add-FIQ-support.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0015-irqchip-irq-bcm2835-Add-2836-FIQ-support.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0015-irqchip-irq-bcm2835-Add-2836-FIQ-support.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0016-spi-spidev-Completely-disable-the-spidev-warning.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0016-spi-spidev-Completely-disable-the-spidev-warning.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0017-dmaengine-bcm2835-Load-driver-early-and-support-lega.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0017-dmaengine-bcm2835-Load-driver-early-and-support-lega.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0018-rtc-Add-SPI-alias-for-pcf2123-driver.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0018-rtc-Add-SPI-alias-for-pcf2123-driver.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0019-watchdog-bcm2835-Support-setting-reboot-partition.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0019-watchdog-bcm2835-Support-setting-reboot-partition.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0020-reboot-Use-power-off-rather-than-busy-spinning-when-.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0020-reboot-Use-power-off-rather-than-busy-spinning-when-.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0021-bcm-Make-RASPBERRYPI_POWER-depend-on-PM.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0021-bcm-Make-RASPBERRYPI_POWER-depend-on-PM.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0022-Register-the-clocks-early-during-the-boot-process-so.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0022-Register-the-clocks-early-during-the-boot-process-so.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0023-bcm2835-rng-Avoid-initialising-if-already-enabled.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0023-bcm2835-rng-Avoid-initialising-if-already-enabled.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0024-clk-bcm2835-Mark-used-PLLs-and-dividers-CRITICAL.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0024-clk-bcm2835-Mark-used-PLLs-and-dividers-CRITICAL.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0025-clk-bcm2835-Add-claim-clocks-property.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0025-clk-bcm2835-Add-claim-clocks-property.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0026-clk-bcm2835-Read-max-core-clock-from-firmware.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0026-clk-bcm2835-Read-max-core-clock-from-firmware.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0027-sound-Demote-deferral-errors-to-INFO-level.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0027-sound-Demote-deferral-errors-to-INFO-level.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0028-Update-vfpmodule.c.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0028-Update-vfpmodule.c.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0029-i2c-bcm2835-Add-debug-support.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0029-i2c-bcm2835-Add-debug-support.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0030-irqchip-irq-bcm2836-Remove-regmap-and-syscon-use.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0030-irqchip-irq-bcm2836-Remove-regmap-and-syscon-use.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0031-lan78xx-Enable-LEDs-and-auto-negotiation.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0031-lan78xx-Enable-LEDs-and-auto-negotiation.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0032-amba_pl011-Don-t-use-DT-aliases-for-numbering.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0032-amba_pl011-Don-t-use-DT-aliases-for-numbering.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0033-amba_pl011-Round-input-clock-up.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0033-amba_pl011-Round-input-clock-up.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0034-amba_pl011-Insert-mb-for-correct-FIFO-handling.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0034-amba_pl011-Insert-mb-for-correct-FIFO-handling.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0035-amba_pl011-Add-cts-event-workaround-DT-property.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0035-amba_pl011-Add-cts-event-workaround-DT-property.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0036-tty-amba-pl011-Add-un-throttle-support.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0036-tty-amba-pl011-Add-un-throttle-support.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0037-tty-amba-pl011-Avoid-rare-write-when-full-error.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0037-tty-amba-pl011-Avoid-rare-write-when-full-error.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0038-pinctrl-bcm2835-Set-base-to-0-give-expected-gpio-num.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0038-pinctrl-bcm2835-Set-base-to-0-give-expected-gpio-num.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0039-Main-bcm2708-bcm2709-linux-port.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0039-Main-bcm2708-bcm2709-linux-port.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0040-Add-dwc_otg-driver.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0040-Add-dwc_otg-driver.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0041-bcm2708-framebuffer-driver.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0041-bcm2708-framebuffer-driver.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0042-Pulled-in-the-multi-frame-buffer-support-from-the-Pi.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0042-Pulled-in-the-multi-frame-buffer-support-from-the-Pi.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0043-fbdev-add-FBIOCOPYAREA-ioctl.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0043-fbdev-add-FBIOCOPYAREA-ioctl.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0044-Speed-up-console-framebuffer-imageblit-function.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0044-Speed-up-console-framebuffer-imageblit-function.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0045-dmaengine-Add-support-for-BCM2708.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0045-dmaengine-Add-support-for-BCM2708.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0046-MMC-added-alternative-MMC-driver.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0046-MMC-added-alternative-MMC-driver.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0047-Adding-bcm2835-sdhost-driver-and-an-overlay-to-enabl.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0047-Adding-bcm2835-sdhost-driver-and-an-overlay-to-enabl.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0048-vc_mem-Add-vc_mem-driver-for-querying-firmware-memor.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0048-vc_mem-Add-vc_mem-driver-for-querying-firmware-memor.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0049-Add-dev-gpiomem-device-for-rootless-user-GPIO-access.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0049-Add-dev-gpiomem-device-for-rootless-user-GPIO-access.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0050-Add-SMI-driver.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0050-Add-SMI-driver.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0051-Add-Chris-Boot-s-i2c-driver.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0051-Add-Chris-Boot-s-i2c-driver.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0052-char-broadcom-Add-vcio-module.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0052-char-broadcom-Add-vcio-module.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0053-firmware-bcm2835-Support-ARCH_BCM270x.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0053-firmware-bcm2835-Support-ARCH_BCM270x.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0054-BCM2708-Add-core-Device-Tree-support.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0054-BCM2708-Add-core-Device-Tree-support.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0055-leds-Add-the-input-trigger-for-pwr_led.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0055-leds-Add-the-input-trigger-for-pwr_led.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0056-Added-Device-IDs-for-August-DVB-T-205.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0056-Added-Device-IDs-for-August-DVB-T-205.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0057-Improve-__copy_to_user-and-__copy_from_user-performa.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0057-Improve-__copy_to_user-and-__copy_from_user-performa.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0058-gpio-poweroff-Allow-it-to-work-on-Raspberry-Pi.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0058-gpio-poweroff-Allow-it-to-work-on-Raspberry-Pi.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0059-mfd-Add-Raspberry-Pi-Sense-HAT-core-driver.patch
Executable file → Normal file
0
root/target/linux/bcm27xx/patches-5.14/0059-mfd-Add-Raspberry-Pi-Sense-HAT-core-driver.patch
Executable file → Normal file
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue