Closed frestuc closed 3 years ago
We have restructured the procedure to generate new kernel after changing the way using ad9361. I suggest you follow: https://github.com/open-sdr/openwifi#build-openwifi-linux-img-from-scratch to rebuild your SD card image.
If you are not starting from a clean fresh git clone of openwifi, at least you need to reset the openwifi/adi-linux (or adi-linux-64) by:
git reset --hard
git clean -d -x -f
in adi-linux (or adi-linux-64) directory
I think I may have found the issue, when I git reset and clean like you said, and re-run prepare_kernel, this is what I get:
/usr/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x10): multiple definition of `yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [scripts/Makefile.host:111: scripts/dtc/dtc] Error 1
make[1]: *** [scripts/Makefile.build:573: scripts/dtc] Error 2
make: *** [Makefile:562: scripts] Error 2
If I go ahead and add extern
to that variable, that screws up the kernel version and therefore the drivers mismatch...
Any hint/fix?
It is because you have gcc-10 (run: gcc --version). Please install gcc-9, and make sure your default gcc points to gcc-9 instead of 10.
Hi, I am not sure I understand how we can utilize ad9361 driver in the new version. I am running wgd.sh and getting the following:
Any suggestion? Thanks!