I´m trying to compile a new build for my Archer C60 v2 using a diferent firmware binarie file to test the performance.
First, i want to test the non-ct driver from kvalo (https://github.com/kvalo/ath10k-firmware), so i modified the folling lines on Makefile in ./package/firmware/ath10k-firmware/
Lines 12 and 13 - Replaced for:
PKG_SOURCE_VERSION:=8ab19f1adb3ec187b4f1f0dd9b03a06bf925eb56
PKG_MIRROR_HASH:=skip
PKG_RELEASE:=1
Line 426 - Replaced for:
$(PKG_BUILD_DIR)/QCA9888/hw2.0/3.9.0.2/firmware-5.bin_10.4-3.9.0.2-00091 \
Line 610 - Removed the comment.
$(eval $(call BuildPackage,ath10k-firmware-qca9888))
But this is not working.
The image builder always download a file called "linux-firmware-20200122.tar, and get the binaries from this file.
Below is for a different router, but you are better off not messing with the build but instead add files on top of the standard files. Pass FILES=/some_path/files to make image and it will overwrite the original files with the ones you provided in FILES. Also make sure, you package the non-ct packages and then something like below will overwrite the default files.
I know that I can change between ct driver and non-ct driver in menuconfig, i already do that.
I want to change the driver version. Are you sure that this is not possible by changing the Makefile? I do that with mt76 driver, kernel updates, etc and it works.
@fantom-x , i did not got the point.
Can you explain better?
On the root of my image builder, i had a lot of folders. "packages", building_dir, staging_dir, etc".
I already try to change the .bin file in these folders, but when i run the make, the files are overwritten
Setup to build a standard image without any custom changes and with non-CT packages
Use FILES - directory with custom files to include (help)
Build the firmware
If the full path of your additional files match the path of the standard files then they will be overwritten. It is like the standard packages are installed first and then overwritten with yours.
make image PROFILE=XXX PACKAGES="pkg1 pkg2 pkg3 -pkg4 -pkg5 -pkg6" FILES=files/