ramips:improve R6850 support

This commit is contained in:
coolsnowwolf 2020-07-04 00:13:20 +08:00
parent c1941e154b
commit df073244ab
4 changed files with 28 additions and 15 deletions

View File

@ -8,7 +8,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=procd
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=$(PROJECT_GIT)/project/procd.git

View File

@ -48,15 +48,6 @@ _PROCD_SERVICE=
procd_lock() {
local basescript=$(readlink "$initscript")
local service_name="$(basename ${basescript:-$initscript})"
flock -n 1000 &> /dev/null
if [ "$?" != "0" ]; then
exec 1000>"$IPKG_INSTROOT/var/lock/procd_${service_name}.lock"
flock 1000
if [ "$?" != "0" ]; then
logger "warning: procd flock for $service_name failed"
fi
fi
}
_procd_call() {

View File

@ -12,7 +12,7 @@ BOARDNAME:=MediaTek Ralink MIPS
SUBTARGETS:=mt7620 mt7621 mt76x8 rt288x rt305x rt3883
FEATURES:=squashfs gpio
KERNEL_PATCHVER:=4.14
KERNEL_PATCHVER:=5.4
KERNEL_TESTING_PATCHVER:=5.4
define Target/Description

View File

@ -150,12 +150,23 @@
reg = <0x0 0x100000>;
read-only;
};
partition@100000 {
partition@1 {
label = "SC PART_MAP";
reg = <0x100000 0x100000>;
read-only;
};
partition@100000 {
label = "BootEnv";
reg = <0x100000 0x80000>;
read-only;
};
partition@180000 {
label = "Factory";
reg = <0x180000 0x80000>;
};
partition@200000 {
label = "kernel";
@ -166,19 +177,30 @@
label = "ubi";
reg = <0x600000 0x2800000>;
};
partition@2 {
label = "firmware";
reg = <0x200000 0x2C00000>;
};
partition@2e00000 {
label = "reserved0";
reg = <0x2e00000 0x1800000>;
read-only;
};
factory: partition@4600000 {
label = "factory";
reg = <0x4600000 0x200000>;
read-only;
};
partition@3 {
label = "epprom";
reg = <0x4600000 0x80000>;
read-only;
};
partition@4800000 {
label = "reserved1";
reg = <0x4800000 0x3800000>;