Skip to content

Commit

Permalink
Convert to building multiple devices
Browse files Browse the repository at this point in the history
  • Loading branch information
alistairjordan committed Oct 28, 2023
1 parent 9e6ab9a commit 09a18c1
Show file tree
Hide file tree
Showing 91 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
- name: Prepare build environment
run: ./scripts/prepare_runner.sh
- name: Build
run: ./scripts/docker_brun.sh
run: ./scripts/docker_brun.sh UFI1962
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand Down
Binary file added devices/UFI1962/device.dtb
Binary file not shown.
Binary file added devices/UFI1962/firmware/Signedrompatch_v20.bin
Binary file not shown.
Binary file added devices/UFI1962/firmware/Signedrompatch_v21.bin
Binary file not shown.
Binary file added devices/UFI1962/firmware/Signedrompatch_v24.bin
Binary file not shown.
Binary file added devices/UFI1962/firmware/Signedrompatch_v30.bin
Binary file not shown.
Binary file added devices/UFI1962/firmware/a225_pfp.fw
Binary file not shown.
Binary file added devices/UFI1962/firmware/a225_pm4.fw
Binary file not shown.
Binary file added devices/UFI1962/firmware/a225p5_pm4.fw
Binary file not shown.
Binary file added devices/UFI1962/firmware/a300_pfp.fw
Binary file not shown.
Binary file added devices/UFI1962/firmware/a300_pm4.fw
Binary file not shown.
Binary file added devices/UFI1962/firmware/a330_pfp.fw
Binary file not shown.
Binary file added devices/UFI1962/firmware/a330_pm4.fw
Binary file not shown.
Binary file added devices/UFI1962/firmware/a420_pfp.fw
Binary file not shown.
Binary file added devices/UFI1962/firmware/a420_pm4.fw
Binary file not shown.
Binary file added devices/UFI1962/firmware/cmnlib.b00
Binary file not shown.
Binary file added devices/UFI1962/firmware/cmnlib.b01
Binary file not shown.
Binary file added devices/UFI1962/firmware/cmnlib.b02
Binary file not shown.
Binary file added devices/UFI1962/firmware/cmnlib.b03
Binary file not shown.
Binary file added devices/UFI1962/firmware/cmnlib.mdt
Binary file not shown.
Binary file added devices/UFI1962/firmware/cpp_firmware_v1_1_1.fw
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added devices/UFI1962/firmware/ice40.bin
Binary file not shown.
Binary file added devices/UFI1962/firmware/keymaste.b00
Binary file not shown.
Binary file added devices/UFI1962/firmware/keymaste.b01
Binary file not shown.
Binary file added devices/UFI1962/firmware/keymaste.b02
Binary file not shown.
Binary file added devices/UFI1962/firmware/keymaste.b03
Binary file not shown.
Binary file added devices/UFI1962/firmware/keymaste.mdt
Binary file not shown.
Binary file added devices/UFI1962/firmware/leia_pfp_470.fw
Binary file not shown.
Binary file added devices/UFI1962/firmware/leia_pm4_470.fw
Binary file not shown.
Binary file added devices/UFI1962/firmware/mba.mbn
Binary file not shown.
Binary file added devices/UFI1962/firmware/modem.b00
Binary file not shown.
Binary file added devices/UFI1962/firmware/modem.b01
Binary file not shown.
Binary file added devices/UFI1962/firmware/modem.b02
Binary file not shown.
Binary file added devices/UFI1962/firmware/modem.b03
Binary file not shown.
Binary file added devices/UFI1962/firmware/modem.b04
Binary file not shown.
Binary file added devices/UFI1962/firmware/modem.b05
Binary file not shown.
Binary file added devices/UFI1962/firmware/modem.b06
Binary file not shown.
Binary file added devices/UFI1962/firmware/modem.b07
Binary file not shown.
Binary file added devices/UFI1962/firmware/modem.b10
Binary file not shown.
Binary file added devices/UFI1962/firmware/modem.b12
Binary file not shown.
Binary file added devices/UFI1962/firmware/modem.b13
Binary file not shown.
Binary file added devices/UFI1962/firmware/modem.b15
Binary file not shown.
Binary file added devices/UFI1962/firmware/modem.b16
Binary file not shown.
Binary file added devices/UFI1962/firmware/modem.b17
Binary file not shown.
Binary file added devices/UFI1962/firmware/modem.b18
Binary file not shown.
Binary file added devices/UFI1962/firmware/modem.b19
Binary file not shown.
Binary file added devices/UFI1962/firmware/modem.b20
Binary file not shown.
Binary file added devices/UFI1962/firmware/modem.b21
Binary file not shown.
Binary file added devices/UFI1962/firmware/modem.b24
Binary file not shown.
Binary file added devices/UFI1962/firmware/modem.b25
Binary file not shown.
Binary file added devices/UFI1962/firmware/modem.b26
Binary file not shown.
Binary file added devices/UFI1962/firmware/modem.b27
Binary file not shown.
Binary file added devices/UFI1962/firmware/modem.mdt
Binary file not shown.
Binary file added devices/UFI1962/firmware/nfc_test.bin
Binary file not shown.
Binary file added devices/UFI1962/firmware/playread.b00
Binary file not shown.
Binary file added devices/UFI1962/firmware/playread.b01
Binary file not shown.
Binary file added devices/UFI1962/firmware/playread.b02
Binary file not shown.
Binary file added devices/UFI1962/firmware/playread.b03
Binary file not shown.
Binary file added devices/UFI1962/firmware/playread.mdt
Binary file not shown.
Binary file added devices/UFI1962/firmware/venus.b00
Binary file not shown.
Binary file added devices/UFI1962/firmware/venus.b01
Binary file not shown.
Binary file added devices/UFI1962/firmware/venus.b02
Binary file not shown.
Binary file added devices/UFI1962/firmware/venus.b03
Binary file not shown.
1 change: 1 addition & 0 deletions devices/UFI1962/firmware/venus.b04
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Э�Э�Э�Э�Э�Э�Э�Э�
Expand Down
Binary file added devices/UFI1962/firmware/venus.mbn
Binary file not shown.
Binary file added devices/UFI1962/firmware/venus.mdt
Binary file not shown.
Binary file added devices/UFI1962/firmware/wcnss.b00
Binary file not shown.
Binary file added devices/UFI1962/firmware/wcnss.b01
Binary file not shown.
Binary file added devices/UFI1962/firmware/wcnss.b02
Binary file not shown.
Binary file added devices/UFI1962/firmware/wcnss.b04
Binary file not shown.
Binary file added devices/UFI1962/firmware/wcnss.b06
Binary file not shown.
Binary file added devices/UFI1962/firmware/wcnss.b09
Binary file not shown.
Binary file added devices/UFI1962/firmware/wcnss.b10
Binary file not shown.
Binary file added devices/UFI1962/firmware/wcnss.b11
Binary file not shown.
Binary file added devices/UFI1962/firmware/wcnss.mdt
Binary file not shown.
Binary file added devices/UFI1962/firmware/widevine.b00
Binary file not shown.
Binary file added devices/UFI1962/firmware/widevine.b01
Binary file not shown.
Binary file added devices/UFI1962/firmware/widevine.b02
Binary file not shown.
Binary file added devices/UFI1962/firmware/widevine.b03
Binary file not shown.
Binary file added devices/UFI1962/firmware/widevine.mdt
Binary file not shown.
Binary file added devices/UFI1962/firmware/wlan/prima/WCNSS_cfg.dat
Binary file not shown.
1 change: 1 addition & 0 deletions devices/UFI1962/firmware/wlan/prima/WCNSS_qcom_cfg.ini
1 change: 1 addition & 0 deletions devices/UFI1962/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin
4 changes: 2 additions & 2 deletions scripts/build_all.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
./scripts/build_linux.sh
./scripts/create_debian.sh
./scripts/create_boot.sh
./scripts/create_debian.sh ${1}
./scripts/create_boot.sh ${1}
./scripts/create_edl.sh
2 changes: 1 addition & 1 deletion scripts/create_boot.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
set -e

DTB_FILE="./linux/arch/arm64/boot/dts/qcom/msm8916-thwc-ufi001c.dtb"
DTB_FILE="./devices/${1}/*.dtb"
#DTB_FILE="./dtb/*.dtb"
KERNEL_FILE="./linux/arch/arm64/boot/Image.gz"

Expand Down
2 changes: 1 addition & 1 deletion scripts/create_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ rm -rf ./${DEBIAN_DIR}/linux_deb
#cp edl/modem/image/* ${DEBIAN_DIR}/lib/firmware/
#umount edl/modem
#rm -rf edl/modem
cp -r firmware/* ${DEBIAN_DIR}/lib/firmware
cp -r devices/${1}/firmware/* ${DEBIAN_DIR}/lib/firmware

# If needed, add WIFI connection
#cp ../wifi.nmconnection ./${DEBIAN_DIR}/etc/NetworkManager/system-connections
Expand Down
2 changes: 1 addition & 1 deletion scripts/docker_brun.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
set -e

sudo docker build -t dongle .
sudo docker run --privileged --mount type=bind,source="$(pwd)",target=/dongle dongle build
sudo docker run --privileged --mount type=bind,source="$(pwd)",target=/dongle dongle build ${1}
2 changes: 1 addition & 1 deletion scripts/docker_entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ case ${1} in
./scripts/clean_all.sh
;;
"build")
./scripts/build_all.sh
./scripts/build_all.sh ${2}
;;
*)
echo "Select option 'build' or 'clean'"
Expand Down

0 comments on commit 09a18c1

Please sign in to comment.