Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
tbblgm119
lede
提交
ad77be28
L
lede
项目概览
tbblgm119
/
lede
与 Fork 源项目一致
从无法访问的项目Fork
通知
7
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
lede
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
ad77be28
编写于
1月 16, 2019
作者:
C
coolsnowwolf
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ipq40xx: add support for Linksys EA6350v3
上级
e665a4ff
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
305 addition
and
2 deletion
+305
-2
package/firmware/ipq-wifi/Makefile
package/firmware/ipq-wifi/Makefile
+2
-1
package/firmware/ipq-wifi/board-linksys_ea6350v3.bin
package/firmware/ipq-wifi/board-linksys_ea6350v3.bin
+0
-0
target/linux/ipq40xx/base-files/etc/board.d/02_network
target/linux/ipq40xx/base-files/etc/board.d/02_network
+1
-0
target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
...q40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
+2
-0
target/linux/ipq40xx/base-files/lib/upgrade/platform.sh
target/linux/ipq40xx/base-files/lib/upgrade/platform.sh
+5
-0
target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-ea6350v3.dts
...xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-ea6350v3.dts
+279
-0
target/linux/ipq40xx/image/Makefile
target/linux/ipq40xx/image/Makefile
+14
-0
target/linux/ipq40xx/patches-4.14/901-arm-boot-add-dts-files.patch
...nux/ipq40xx/patches-4.14/901-arm-boot-add-dts-files.patch
+2
-1
未找到文件。
package/firmware/ipq-wifi/Makefile
浏览文件 @
ad77be28
...
...
@@ -17,7 +17,7 @@ endef
# Please send a mail with your device-specific board files upstream.
# You can find instructions and examples on the linux-wireless wiki:
# <https://wireless.wiki.kernel.org/en/users/drivers/ath10k/boardfiles>
ALLWIFIBOARDS
:=
rt-acrh17 engenius_eap1300
ALLWIFIBOARDS
:=
linksys_ea6350v3
rt-acrh17 engenius_eap1300
ALLWIFIPACKAGES
:=
$(
foreach
BOARD,
$(ALLWIFIBOARDS)
,ipq-wifi-
$(BOARD)
)
define
Package/ipq-wifi-default
...
...
@@ -51,6 +51,7 @@ Don't install it for any other device!
PREV_BOARD
+=
ipq-wifi-
$(1)
endef
$(eval
$(call
generate-ipq-wifi-package,linksys_ea6350v3,board-linksys_ea6350v3.bin,Linksys
EA6350v3))
$(eval
$(call
generate-ipq-wifi-package,rt-acrh17,board-rt-acrh17.bin,ASUS
RT-ACRH17/RT-AC82U/RT-AC42U))
#$(eval $(call generate-ipq-wifi-package,<devicename>,<filename>,<displayname>))
$(eval
$(call
generate-ipq-wifi-package,engenius_eap1300,board-engenius_eap1300.bin,EnGenius
EAP1300))
...
...
package/firmware/ipq-wifi/board-linksys_ea6350v3.bin
0 → 100644
浏览文件 @
ad77be28
文件已添加
target/linux/ipq40xx/base-files/etc/board.d/02_network
浏览文件 @
ad77be28
...
...
@@ -22,6 +22,7 @@ asus,rt-acrh17)
ucidef_set_interface_macaddr
"lan"
"
$lan_mac_addr
"
ucidef_set_interface_macaddr
"wan"
"
$wan_mac_addr
"
;;
linksys,ea6350v3
|
\
avm,fritzbox-4040
)
ucidef_add_switch
"switch0"
\
"0t@eth0"
"1:lan"
"2:lan"
"3:lan"
"4:lan"
"5:wan"
...
...
target/linux/ipq40xx/base-files/etc/hotplug.d/firmware/11-ath10k-caldata
浏览文件 @
ad77be28
...
...
@@ -124,6 +124,7 @@ case "$FIRMWARE" in
"ath10k/pre-cal-ahb-a000000.wifi.bin"
)
case
"
$board
"
in
8dev,jalapeno
|
\
linksys,ea6350v3
|
\
glinet,gl-b1300
|
\
qcom,ap-dk01.1-c1
)
ath10kcal_extract
"ART"
4096 12064
...
...
@@ -162,6 +163,7 @@ case "$FIRMWARE" in
"ath10k/pre-cal-ahb-a800000.wifi.bin"
)
case
"
$board
"
in
8dev,jalapeno
|
\
linksys,ea6350v3
|
\
glinet,gl-b1300
|
\
qcom,ap-dk01.1-c1
)
ath10kcal_extract
"ART"
20480 12064
...
...
target/linux/ipq40xx/base-files/lib/upgrade/platform.sh
浏览文件 @
ad77be28
...
...
@@ -164,6 +164,7 @@ platform_do_upgrade() {
;;
asus,rt-ac1300uhp
|
\
asus,rt-acrh17|
\
linksys,ea6350v3
|
\
asus,rt-ac58u
)
local
magic
=
$(
get_magic_long
"
$1
"
)
CI_UBIPART
=
"UBI_DEV"
...
...
@@ -195,6 +196,10 @@ platform_do_upgrade() {
platform_nand_pre_upgrade
()
{
case
"
$(
board_name
)
"
in
linksys,ea6350v3
)
CI_UBIPART
=
"UBI_DEV"
CI_KERNPART
=
"linux"
;;
meraki,mr33
)
CI_KERNPART
=
"part.safe"
;;
...
...
target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-ea6350v3.dts
0 → 100644
浏览文件 @
ad77be28
/*
Copyright
(
c
)
2015
,
The
Linux
Foundation
.
All
rights
reserved
.
*
*
Permission
to
use
,
copy
,
modify
,
and
/
or
distribute
this
software
for
any
*
purpose
with
or
without
fee
is
hereby
granted
,
provided
that
the
above
*
copyright
notice
and
this
permission
notice
appear
in
all
copies
.
*
*
THE
SOFTWARE
IS
PROVIDED
"AS IS"
AND
THE
AUTHOR
DISCLAIMS
ALL
WARRANTIES
*
WITH
REGARD
TO
THIS
SOFTWARE
INCLUDING
ALL
IMPLIED
WARRANTIES
OF
*
MERCHANTABILITY
AND
FITNESS
.
IN
NO
EVENT
SHALL
THE
AUTHOR
BE
LIABLE
FOR
*
ANY
SPECIAL
,
DIRECT
,
INDIRECT
,
OR
CONSEQUENTIAL
DAMAGES
OR
ANY
DAMAGES
*
WHATSOEVER
RESULTING
FROM
LOSS
OF
USE
,
DATA
OR
PROFITS
,
WHETHER
IN
AN
*
ACTION
OF
CONTRACT
,
NEGLIGENCE
OR
OTHER
TORTIOUS
ACTION
,
ARISING
OUT
OF
*
OR
IN
CONNECTION
WITH
THE
USE
OR
PERFORMANCE
OF
THIS
SOFTWARE
.
*
*/
#
include
"qcom-ipq4019.dtsi"
#
include
<
dt
-
bindings
/
gpio
/
gpio
.
h
>
#
include
<
dt
-
bindings
/
input
/
input
.
h
>
#
include
<
dt
-
bindings
/
soc
/
qcom
,
tcsr
.
h
>
/
{
model
=
"Linksys EA6350v3"
;
compatible
=
"linksys,ea6350v3"
,
"qcom,ipq4019"
;
memory
{
device_type
=
"memory"
;
reg
=
<
0x80000000
0x10000000
>;
};
aliases
{
led
-
boot
=
&
power
;
led
-
failsafe
=
&
power
;
led
-
running
=
&
power
;
led
-
upgrade
=
&
power
;
};
soc
{
mdio
@
90000
{
status
=
"okay"
;
};
ess
-
psgmii
@
98000
{
status
=
"okay"
;
};
tcsr
@
1949000
{
compatible
=
"qcom,tcsr"
;
reg
=
<
0x1949000
0x100
>;
qcom
,
wifi_glb_cfg
=
<
TCSR_WIFI_GLB_CFG
>;
};
tcsr
@
194
b000
{
compatible
=
"qcom,tcsr"
;
reg
=
<
0x194b000
0x100
>;
qcom
,
usb
-
hsphy
-
mode
-
select
=
<
TCSR_USB_HSPHY_HOST_MODE
>;
};
ess_tcsr
@
1953000
{
compatible
=
"qcom,tcsr"
;
reg
=
<
0x1953000
0x1000
>;
qcom
,
ess
-
interface
-
select
=
<
TCSR_ESS_PSGMII
>;
};
tcsr
@
1957000
{
compatible
=
"qcom,tcsr"
;
reg
=
<
0x1957000
0x100
>;
qcom
,
wifi_noc_memtype_m0_m2
=
<
TCSR_WIFI_NOC_MEMTYPE_M0_M2
>;
};
usb2
@
60f8800
{
status
=
"okay"
;
};
serial
@
78
af000
{
pinctrl
-
0
=
<&
serial_pins
>;
pinctrl
-
names
=
"default"
;
status
=
"okay"
;
};
usb3
@
8
af8800
{
status
=
"okay"
;
};
crypto
@
8e3
a000
{
status
=
"okay"
;
};
wifi
@
a000000
{
status
=
"okay"
;
qcom
,
ath10k
-
calibration
-
variant
=
"linksys-ea6350v3"
;
};
wifi
@
a800000
{
status
=
"okay"
;
qcom
,
ath10k
-
calibration
-
variant
=
"linksys-ea6350v3"
;
};
watchdog
@
b017000
{
status
=
"okay"
;
};
ess
-
switch
@
c000000
{
status
=
"okay"
;
};
edma
@
c080000
{
status
=
"okay"
;
};
};
gpio
-
keys
{
compatible
=
"gpio-keys"
;
reset
{
label
=
"reset"
;
gpios
=
<&
tlmm
63
GPIO_ACTIVE_LOW
>;
linux
,
code
=
<
KEY_RESTART
>;
};
wps
{
label
=
"wps"
;
gpios
=
<&
tlmm
0
GPIO_ACTIVE_LOW
>;
linux
,
code
=
<
KEY_WPS_BUTTON
>;
};
};
gpio
-
leds
{
compatible
=
"gpio-leds"
;
power
:
status
{
label
=
"rt-ac58u:blue:status"
;
gpios
=
<&
tlmm
2
GPIO_ACTIVE_HIGH
>;
};
};
};
&
cryptobam
{
status
=
"okay"
;
};
&
blsp_dma
{
status
=
"okay"
;
};
&
tlmm
{
serial_pins
:
serial_pinmux
{
mux
{
pins
=
"gpio60"
,
"gpio61"
;
function
=
"blsp_uart0"
;
bias
-
disable
;
};
};
spi_0_pins
:
spi_0_pinmux
{
mux
{
function
=
"blsp_spi0"
;
pins
=
"gpio55"
,
"gpio56"
,
"gpio57"
;
drive
-
strength
=
<
12
>;
bias
-
disable
;
};
mux_cs
{
function
=
"gpio"
;
pins
=
"gpio54"
,
"gpio59"
;
drive
-
strength
=
<
2
>;
bias
-
disable
;
output
-
high
;
};
};
};
&
blsp1_spi1
{
/*
BLSP1
QUP1
*/
pinctrl
-
0
=
<&
spi_0_pins
>;
pinctrl
-
names
=
"default"
;
status
=
"okay"
;
cs
-
gpios
=
<&
tlmm
54
GPIO_ACTIVE_HIGH
>,
<&
tlmm
59
GPIO_ACTIVE_HIGH
>;
m25p80
@
0
{
#
address
-
cells
=
<
1
>;
#
size
-
cells
=
<
0
>;
/*
*
U
-
boot
looks
for
"n25q128a11"
node
,
*
if
we
don
't have it, it will spit out the following warning:
* "ipq: fdt fixup unable to find compatible node".
*/
compatible = "jedec,spi-nor";
reg = <0>;
linux,modalias = "m25p80", "mx25l1606e", "n25q128a11";
spi-max-frequency = <24000000>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition0@0 {
label = "SBL1";
reg = <0x00000000 0x00040000>;
read-only;
};
partition1@40000 {
label = "MIBIB";
reg = <0x00040000 0x00020000>;
read-only;
};
partition2@60000 {
label = "QSEE";
reg = <0x00060000 0x00060000>;
read-only;
};
partition3@c0000 {
label = "CDT";
reg = <0x000c0000 0x00010000>;
read-only;
};
partition4@d0000 {
label = "APPSBLENV";
reg = <0x000d0000 0x00010000>;
read-only;
};
partition5@e0000 {
label = "APPSBL"; /* uboot */
reg = <0x000e0000 0x00080000>;
read-only;
};
partition6@160000 {
label = "ART";
reg = <0x00160000 0x00010000>;
read-only;
};
partition7@170000 {
label = "u_env";
reg = <0x00170000 0x00020000>;
};
partition8@190000 {
label = "s_env";
reg = <0x00190000 0x00020000>;
};
partition9@1b0000 {
label = "devinfo";
reg = <0x001b0000 0x00010000>;
};
/* 0x001c0000 - 0x00200000 unused */
};
};
mt29f@1 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
compatible = "spinand,mt29f", "w25n01gv";
reg = <1>;
spi-max-frequency = <24000000>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition0@0 {
label = "ubi";
reg = <0x00000000 0x08000000>;
};
};
};
};
&usb3_ss_phy {
status = "okay";
};
&usb3_hs_phy {
status = "okay";
};
&usb2_hs_phy {
status = "okay";
};
target/linux/ipq40xx/image/Makefile
浏览文件 @
ad77be28
...
...
@@ -230,6 +230,20 @@ define Device/qcom_ap-dk01.1-c1
endef
TARGET_DEVICES
+=
qcom_ap-dk01.1-c1
define
Device/linksys_ea6350v3
DEVICE_TITLE
:=
Linksys EA6350v3
BOARD_NAME
:=
ea6350v3
DEVICE_DTS
:=
qcom-ipq4018-ea6350v3
DTB_SIZE
:=
65536
BLOCKSIZE
:=
128k
IMAGE_SIZE
:=
20439364
FILESYSTEMS
:=
squashfs
IMAGES
:=
sysupgrade.bin
$(call
Device/FitImage)
DEVICE_PACKAGES
:=
ath10k-firmware-qca4019 ipq-wifi-linksys_ea6350v3
endef
TARGET_DEVICES
+=
linksys_ea6350v3
define
Device/qcom_ap-dk04.1-c1
$(call
Device/FitImage)
$(call
Device/UbiFit)
...
...
target/linux/ipq40xx/patches-4.14/901-arm-boot-add-dts-files.patch
浏览文件 @
ad77be28
...
...
@@ -10,7 +10,7 @@ Signed-off-by: John Crispin <john@phrozen.org>
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -697,7 +697,2
2
@@
dtb-$(CONFIG_ARCH_QCOM) += \
@@ -697,7 +697,2
3
@@
dtb-$(CONFIG_ARCH_QCOM) += \
qcom-apq8074-dragonboard.dtb \
qcom-apq8084-ifc6540.dtb \
qcom-apq8084-mtp.dtb \
...
...
@@ -30,6 +30,7 @@ Signed-off-by: John Crispin <john@phrozen.org>
+ qcom-ipq4028-wpj428.dtb \
+ qcom-ipq4029-gl-b1300.dtb \
+ qcom-ipq4029-mr33.dtb \
+ qcom-ipq4018-ea6350v3.dtb \
qcom-ipq8064-ap148.dtb \
qcom-msm8660-surf.dtb \
qcom-msm8960-cdp.dtb \
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录