Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
kiddin9 committed Sep 5, 2024
1 parent 6a130a3 commit 438c723
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
2 changes: 2 additions & 0 deletions devices/common/diy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ sed -i 's/max_requests 3/max_requests 20/g' package/network/services/uhttpd/file
#rm -rf ./feeds/packages/lang/{golang,node}
sed -i "s/tty\(0\|1\)::askfirst/tty\1::respawn/g" target/linux/*/base-files/etc/inittab

sed -i 's/$$(call concat_cmd,$$(KERNEL_INITRAMFS))/-$$(call concat_cmd,$$(KERNEL_INITRAMFS))/' include/image.mk

date=`date +%m.%d.%Y`
sed -i -e "/\(# \)\?REVISION:=/c\REVISION:=$date" -e '/VERSION_CODE:=/c\VERSION_CODE:=$(REVISION)' include/version.mk

Expand Down
2 changes: 2 additions & 0 deletions devices/mediatek_filogic/diy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ SHELL_FOLDER=$(dirname $(readlink -f "$0"))

bash $SHELL_FOLDER/../common/kernel_6.6.sh

sed -i '#bootargs-* = " root=/dev/fit0 rootwait";#d' target/linux/mediatek/dts/*

sed -i "s/-stock//g" package/boot/uboot-envtools/files/mediatek_filogic
sed -i "s/-stock//g" target/linux/mediatek/filogic/base-files/etc/board.d/01_leds
sed -i "s/-stock//g" target/linux/mediatek/filogic/base-files/etc/board.d/02_network
Expand Down
31 changes: 31 additions & 0 deletions devices/mediatek_filogic/patches/platform.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
--- a/target/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh
+++ b/target/linux/mediatek/filogic/base-files/lib/upgrade/platform.sh
@@ -64,28 +64,17 @@ platform_do_upgrade() {
local board=$(board_name)

case "$board" in
- abt,asr3000|\
bananapi,bpi-r3|\
bananapi,bpi-r3-mini|\
bananapi,bpi-r4|\
bananapi,bpi-r4-poe|\
- cmcc,rax3000m|\
- h3c,magic-nx30-pro|\
- jcg,q30-pro|\
- jdcloud,re-cp-03|\
mediatek,mt7981-rfb|\
mediatek,mt7988a-rfb|\
- nokia,ea0326gmp|\
openwrt,one|\
- netcore,n60|\
- qihoo,360t7|\
tplink,tl-xdr4288|\
tplink,tl-xdr6086|\
tplink,tl-xdr6088|\
tplink,tl-xtr8488|\
- xiaomi,mi-router-ax3000t-ubootmod|\
- xiaomi,redmi-router-ax6000-ubootmod|\
- xiaomi,mi-router-wr30u-ubootmod|\
zyxel,ex5601-t0-ubootmod)
fit_do_upgrade "$1"
;;

0 comments on commit 438c723

Please sign in to comment.