aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@saftware.de>2020-09-29 01:26:14 +0200
committerJohn Crispin <john@phrozen.org>2020-10-15 08:32:31 +0200
commit0c26c9395bafb905a7eab240bdfc52cef686cd62 (patch)
treeb83382d311496ebe3fc362205735132285c3ba74
parent121ef9ddc9dbf7ed16fc4700c71279d71048051f (diff)
downloadupstream-0c26c9395bafb905a7eab240bdfc52cef686cd62.tar.gz
upstream-0c26c9395bafb905a7eab240bdfc52cef686cd62.tar.bz2
upstream-0c26c9395bafb905a7eab240bdfc52cef686cd62.zip
rtl838x: bundle phy firmware with Linux kernel
Fixes long delay on boot when booting from flash. The driver waits for one minute for userspace to load firmware, before it becomes available. Signed-off-by: Andreas Oberritter <obi@saftware.de>
-rw-r--r--target/linux/rtl838x/config-5.42
-rw-r--r--target/linux/rtl838x/files/firmware/rtl838x_phy/rtl838x_8214fc.fw (renamed from target/linux/rtl838x/base-files/lib/firmware/rtl838x_phy/rtl838x_8214fc.fw)bin1676 -> 1676 bytes
-rw-r--r--target/linux/rtl838x/files/firmware/rtl838x_phy/rtl838x_8218b.fw (renamed from target/linux/rtl838x/base-files/lib/firmware/rtl838x_phy/rtl838x_8218b.fw)bin1168 -> 1168 bytes
-rw-r--r--target/linux/rtl838x/files/firmware/rtl838x_phy/rtl838x_8380.fw (renamed from target/linux/rtl838x/base-files/lib/firmware/rtl838x_phy/rtl838x_8380.fw)bin1184 -> 1184 bytes
4 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/rtl838x/config-5.4 b/target/linux/rtl838x/config-5.4
index a9955b8f92..4d1ba372e6 100644
--- a/target/linux/rtl838x/config-5.4
+++ b/target/linux/rtl838x/config-5.4
@@ -53,6 +53,8 @@ CONFIG_DTC=y
CONFIG_EARLY_PRINTK=y
CONFIG_EFI_EARLYCON=y
CONFIG_ETHERNET_PACKET_MANGLE=y
+CONFIG_EXTRA_FIRMWARE="rtl838x_phy/rtl838x_8214fc.fw rtl838x_phy/rtl838x_8218b.fw rtl838x_phy/rtl838x_8380.fw"
+CONFIG_EXTRA_FIRMWARE_DIR="firmware"
CONFIG_FIXED_PHY=y
CONFIG_FONT_8x16=y
CONFIG_FONT_AUTOSELECT=y
diff --git a/target/linux/rtl838x/base-files/lib/firmware/rtl838x_phy/rtl838x_8214fc.fw b/target/linux/rtl838x/files/firmware/rtl838x_phy/rtl838x_8214fc.fw
index 035c02d804..035c02d804 100644
--- a/target/linux/rtl838x/base-files/lib/firmware/rtl838x_phy/rtl838x_8214fc.fw
+++ b/target/linux/rtl838x/files/firmware/rtl838x_phy/rtl838x_8214fc.fw
Binary files differ
diff --git a/target/linux/rtl838x/base-files/lib/firmware/rtl838x_phy/rtl838x_8218b.fw b/target/linux/rtl838x/files/firmware/rtl838x_phy/rtl838x_8218b.fw
index a907849fb9..a907849fb9 100644
--- a/target/linux/rtl838x/base-files/lib/firmware/rtl838x_phy/rtl838x_8218b.fw
+++ b/target/linux/rtl838x/files/firmware/rtl838x_phy/rtl838x_8218b.fw
Binary files differ
diff --git a/target/linux/rtl838x/base-files/lib/firmware/rtl838x_phy/rtl838x_8380.fw b/target/linux/rtl838x/files/firmware/rtl838x_phy/rtl838x_8380.fw
index ef84c71753..ef84c71753 100644
--- a/target/linux/rtl838x/base-files/lib/firmware/rtl838x_phy/rtl838x_8380.fw
+++ b/target/linux/rtl838x/files/firmware/rtl838x_phy/rtl838x_8380.fw
Binary files differ