summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorTomasz Moń <desowin@gmail.com>2021-07-02 12:02:26 +0200
committerTomasz Moń <desowin@gmail.com>2021-07-04 07:41:44 +0000
commite11fa5f74eb49b10ebefbe8882bb50186dffb2a4 (patch)
tree295a28ca58bc4d7b5153629046c1e2894db02f5e /tools
parentc9f2308a1d4401ceefaac47b1ea851530d07e47d (diff)
downloadrockbox-e11fa5f74eb49b10ebefbe8882bb50186dffb2a4.tar.gz
rockbox-e11fa5f74eb49b10ebefbe8882bb50186dffb2a4.zip
Sansa Connect: Initial libertas WiFi driver port
Import non-free firmware image from linux-firmware package. Firmware loading works but is disabled at compile time because just loading firmware without configuring device results in higher power consumption without any benefit to end user. Change-Id: I8fd252c49385ede1ea4e0f9b1e29adeb331ab8ae
Diffstat (limited to 'tools')
-rwxr-xr-xtools/buildzip.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/buildzip.pl b/tools/buildzip.pl
index 4e9ba79eeb..43c304ff12 100755
--- a/tools/buildzip.pl
+++ b/tools/buildzip.pl
@@ -387,6 +387,11 @@ sub buildzip {
open(NOMEDIA, ">$temp_dir/.nomedia") || die "can't open .nomedia";
close(NOMEDIA);
}
+ # copy wifi firmware
+ if ($modelname =~ /sansaconnect/) {
+ glob_mkdir("$temp_dir/libertas");
+ glob_copy("$ROOT/firmware/drivers/libertas/firmware/*", "$temp_dir/libertas/");
+ }
glob_mkdir("$temp_dir/langs");
glob_mkdir("$temp_dir/rocks");