Add extract files

The script is a shim to to common Tegra extract scripts

Change-Id: I8453db29f782996ac204c9eb2fbf54cfdebe39b9
This commit is contained in:
Aaron Kling committed 2021-03-27 17:12:24 -05:00
1 parent c6f300cbbb
commit 043de863d2
5 files changed
+83

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
#!/bin/bash
#
# Copyright (C) 2021 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
exec ${BASH_SOURCE%/*}/../tegra-common/extract/extract-files.sh "$@"
+19
View File
@@ -0,0 +1,19 @@
#
# Copyright (C) 2021 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
SOURCE_PATHS+=("foster");
FILELIST_PATHS+=("foster");
PATCH_PATHS+=("foster");
+15
View File
@@ -0,0 +1,15 @@
hekate hekate_ctcaer_5.5.4.bin foster/firmware/hekate.bin
nv-tegra-t210 3rdparty/bcmbinaries/bcm4354a1/wlan/atv/nvram_darcy_a00.txt foster/bcm_firmware/bcm4354/nvram_darcy_a00.txt
nv-tegra-t210 3rdparty/bcmbinaries/bcm4354a1/wlan/atv/nvram_foster_e_4354.txt foster/bcm_firmware/bcm4354/nvram_foster_e_4354.txt
nv-tegra-t210 3rdparty/bcmbinaries/bcm4354a1/wlan/atv/nvram_foster_e_antenna_tuned_4354.txt foster/bcm_firmware/bcm4354/nvram_foster_e_antenna_tuned_4354.txt
nv-tegra-t210 3rdparty/bcmbinaries/bcm4354a1/wlan/atv/nvram_loki_e_4354.txt foster/bcm_firmware/bcm4354/nvram_loki_e_4354.txt
nv-tegra-t210 3rdparty/bcmbinaries/bcm4354a1/wlan/atv/nvram_loki_e_antenna_tuned_4354.txt foster/bcm_firmware/bcm4354/nvram_loki_e_antenna_tuned_4354.txt
nv-tegra-t210 3rdparty/bcmbinaries/bcm4354a1/wlan/emb/nvram_jetsonE_cv_4354.txt foster/bcm_firmware/bcm4354/nvram_jetsonE_cv_4354.txt
nv-tegra-t210 3rdparty/cypress/bcm4356a3/wlan/brcmfmac4356-pcie.txt foster/bcm_firmware/bcm4356/brcmfmac4356-pcie.txt
nv-tegra-t210 3rdparty/cypress/bcm4354a1/wlan/atv/darcy.clm_blob foster/bcm_firmware/bcm4354/darcy.clm_blob
nv-tegra-t210 3rdparty/cypress/bcm4354a1/wlan/atv/foster.clm_blob foster/bcm_firmware/bcm4354/foster.clm_blob
nv-tegra-t210 3rdparty/cypress/bcm4354a1/wlan/atv/flynn-hp.clm_blob foster/bcm_firmware/bcm4354/flynn-hp.clm_blob
nv-tegra-t210 3rdparty/cypress/bcm4356a3/wlan/fw_4356a3_prod.clm_blob foster/bcm_firmware/bcm4356/fw_4356a3_prod.clm_blob
nv-tegra-t210 3rdparty/cypress/bcm4356a3/wlan/brcmfmac4356-pcie.clm_blob foster/bcm_firmware/bcm4356/brcmfmac4356-pcie.clm_blob
+30
View File
@@ -0,0 +1,30 @@
# Copyright (C) 2021 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Needed by the Pixel C
function fetch_smaug_nvram() {
wget 'https://dumps.tadiphone.dev/dumps/google/dragon/-/raw/ryu-user-8.1.0-OPM8.190605.005-5749003-release-keys/system/etc/wifi/bcmdhd.cal' -O ${LINEAGE_ROOT}/${OUTDIR}/foster/bcm_firmware/bcm4354/bcmdhd.cal
# Crummy hack to match what was already committed
sed -i -e '$a\' ${LINEAGE_ROOT}/${OUTDIR}/foster/bcm_firmware/bcm4354/bcmdhd.cal
}
# The previous default crashes the current firmware
function patch_nvrams() {
sed -i 's/ccode=XR/ccode=XX/' ${LINEAGE_ROOT}/${OUTDIR}/foster/bcm_firmware/bcm4354/nvram_jetsonE_cv_4354.txt
sed -i 's/ccode=0/ccode=XX/' ${LINEAGE_ROOT}/${OUTDIR}/foster/bcm_firmware/bcm4354/bcmdhd.cal
}
fetch_smaug_nvram;
patch_nvrams;
+1
View File
@@ -0,0 +1 @@
hekate https://github.com/CTCaer/hekate/releases/download/v5.5.4-v2/hekate_ctcaer_5.5.4_Nyx_1.0.1.zip hekate