mirror of
https://github.com/open-sdr/openwifi.git
synced 2025-01-31 00:24:09 +00:00
commit
3efa6c7775
6
.gitmodules
vendored
6
.gitmodules
vendored
@ -1,9 +1,9 @@
|
||||
[submodule "adi-linux"]
|
||||
path = adi-linux
|
||||
url = https://github.com/analogdevicesinc/linux.git
|
||||
[submodule "adi-linux-64"]
|
||||
path = adi-linux-64
|
||||
url = https://github.com/analogdevicesinc/linux.git
|
||||
[submodule "openwifi-hw"]
|
||||
path = openwifi-hw
|
||||
url = https://github.com/open-sdr/openwifi-hw.git
|
||||
[submodule "adi-linux-64"]
|
||||
path = adi-linux-64
|
||||
url = https://github.com/analogdevicesinc/linux.git
|
||||
|
22
README.md
22
README.md
@ -5,7 +5,7 @@
|
||||
|
||||
This repository includes Linux driver and software. [openwifi-hw](https://github.com/open-sdr/openwifi-hw) repository has the FPGA design. [[Project document](https://github.com/open-sdr/openwifi/tree/master/doc)]
|
||||
|
||||
[Demo [video](https://youtu.be/NpjEaszd5u4) and video [download](https://users.ugent.be/~xjiao/openwifi-low-aac.mp4)] [openwifi [maillist](https://lists.ugent.be/wws/subscribe/openwifi)] [[Cite openwifi project](#Cite-openwifi-project)]
|
||||
[[Videos](#Videos)] [[Papers](#Papers)] [openwifi [maillist](https://lists.ugent.be/wws/subscribe/openwifi)] [[Cite openwifi project](#Cite-openwifi-project)]
|
||||
|
||||
Openwifi code has dual licenses. AGPLv3 is the opensource license. For non-opensource license, please contact Filip.Louagie@UGent.be. Openwifi project also leverages some 3rd party modules. It is user's duty to check and follow licenses of those modules according to the purpose/usage. You can find [an example explanation from Analog Devices](https://github.com/analogdevicesinc/hdl/blob/master/LICENSE) for this compound license conditions. [[How to contribute]](https://github.com/open-sdr/openwifi/blob/master/CONTRIBUTING.md).
|
||||
|
||||
@ -35,8 +35,8 @@ board_name|board combination|status|SD card img
|
||||
-------|-------|----|----
|
||||
zc706_fmcs2|Xilinx ZC706 dev board + FMCOMMS2/3/4|Done|[32bit img](https://users.ugent.be/~xjiao/openwifi-1.1.0-taiyuan-3-32bit.img.xz)
|
||||
zed_fmcs2|Xilinx zed board + FMCOMMS2/3/4|Done|[32bit img](https://users.ugent.be/~xjiao/openwifi-1.1.0-taiyuan-3-32bit.img.xz)
|
||||
adrv9364z7020|ADRV9364Z7020 SOM|Done|[32bit img](https://users.ugent.be/~xjiao/openwifi-1.1.0-taiyuan-3-32bit.img.xz)
|
||||
adrv9361z7035|ADRV9361Z7035 SOM|Done|[32bit img](https://users.ugent.be/~xjiao/openwifi-1.1.0-taiyuan-3-32bit.img.xz)
|
||||
adrv9364z7020|ADRV9364-Z7020 + ADRV1CRR-BOB|Done|[32bit img](https://users.ugent.be/~xjiao/openwifi-1.1.0-taiyuan-3-32bit.img.xz)
|
||||
adrv9361z7035|ADRV9361-Z7035 + ADRV1CRR-BOB/FMC|Done|[32bit img](https://users.ugent.be/~xjiao/openwifi-1.1.0-taiyuan-3-32bit.img.xz)
|
||||
zc702_fmcs2|Xilinx ZC702 dev board + FMCOMMS2/3/4|Done|[32bit img](https://users.ugent.be/~xjiao/openwifi-1.1.0-taiyuan-3-32bit.img.xz)
|
||||
zcu102_fmcs2|Xilinx ZCU102 dev board + FMCOMMS2/3/4|Done|[64bit img](https://users.ugent.be/~xjiao/openwifi-1.1.0-taiyuan-3-64bit.img.xz)
|
||||
zcu102_9371|Xilinx ZCU102 dev board + ADRV9371|Future|None
|
||||
@ -54,7 +54,6 @@ zcu102_9371|Xilinx ZCU102 dev board + ADRV9371|Future|None
|
||||
[[Build openwifi Linux img from scratch](#Build-openwifi-Linux-img-from-scratch)]
|
||||
[[Special note for 11b](#Special-note-for-11b)]
|
||||
[[Porting guide](#Porting-guide)]
|
||||
[[Cite openwifi project](#Cite-openwifi-project)]
|
||||
|
||||
## Quick start
|
||||
- Burn openwifi board specific img file (from the table) into a SD card ("Open With Disk Image Writer". Or "dd" command after unzip). The SD card has two partitions: BOOT and rootfs. You need to config the **correct files in the BOOT partition** according to the **board you have** by operation on your computer:
|
||||
@ -230,6 +229,20 @@ This section explains the porting work by showing the differences between openwi
|
||||
- We use dtc command to get devicetree.dts converted from devicetree.dtb in [Analog Devices Linux image](https://wiki.analog.com/resources/tools-software/linux-software/zynq_images), then do modification according to what we have added/modified to the reference design.
|
||||
- Please learn the script in [[Build openwifi Linux img from scratch](#Build-openwifi-Linux-img-from-scratch)] to understand how we generate devicetree.dtb, BOOT.BIN and Linux kernel uImage and put them together to build the full SD card image.
|
||||
|
||||
## Videos
|
||||
|
||||
Demo [[youtube](https://youtu.be/NpjEaszd5u4)], [[link for CHN user](https://www.zhihu.com/zvideo/1280659393378041856)]
|
||||
|
||||
FOSDEM2020 [[youtube](https://youtu.be/Mq48cGthk7M)], [[link for CHN user](https://www.zhihu.com/zvideo/1280673506397425664)]
|
||||
|
||||
Low latency for gaming and introduction [[youtube](https://youtu.be/Notn9X482LI)], [[link for CHN user](https://www.zhihu.com/zvideo/1273823153371385856)]
|
||||
|
||||
## Papers
|
||||
|
||||
[openwifi: a free and open-source IEEE802.11 SDR implementation on SoC](https://biblio.ugent.be/publication/8663043/file/8663044.pdf)
|
||||
|
||||
Openwifi was born in [ORCA project](https://www.orca-project.eu/) (EU's Horizon2020 programme under agreement number 732174).
|
||||
|
||||
## Cite openwifi project
|
||||
|
||||
Any use of openwifi project which results in a publication should include a citation via (bibtex example):
|
||||
@ -241,4 +254,3 @@ Any use of openwifi project which results in a publication should include a cita
|
||||
year = {2019},
|
||||
}
|
||||
```
|
||||
Openwifi was born in [ORCA project](https://www.orca-project.eu/) (EU's Horizon2020 programme under agreement number 732174).
|
||||
|
@ -218,7 +218,7 @@ Linux mac80211 (struct ieee80211_ops openwifi_ops in sdr.c) uses the "config" AP
|
||||
|
||||
## Analog and digital frequency design
|
||||
|
||||
Following figure shows the current openwifi analog and digital frequency design strategy. The Tx RF center frequency is tuned with 10MHz offset deliberately to ease Tx Lo leakage suppressed by Rx filter. This RF offset is pre-compensated by Tx DUC (Digital Up Converter) in FPGA (duc_bank_core.bd used by tx_intf.v). It combines AD9361's bandwidth, frequency, sampling rate and FPGA's digital down/up converter (ddc_bank_core.bd/duc_bank_core.bd) setting to achieve this example spectrum arrangement. Values in the figure are configurable in the openwifi design.
|
||||
Following figure shows the current openwifi analog and digital frequency design strategy. The Tx RF center frequency is tuned with 10MHz offset deliberately to ease Tx Lo leakage suppressed by Rx filter. This RF offset is pre-compensated by Tx DUC (Digital Up Converter) in FPGA (duc_bank_core.bd used by tx_intf.v). It combines AD9361's bandwidth, frequency, sampling rate and FPGA's digital down/up converter (ddc_bank_core.bd/duc_bank_core.bd) setting to achieve this example spectrum arrangement. Values in the figure are configurable in the openwifi design. Please be noticed that **ddc_bank_core.bd is not used anymore**. Because the digital and analog RX Lo is the same, mixer is not needed. Decimation by 2 is implemented in adc_intv.v.
|
||||
![](./rf-digital-if-chain-spectrum.jpg)
|
||||
|
||||
Above spectrum setting has two benefits:
|
||||
|
BIN
kernel_boot/boards/adrv9361z7035/devicetree.dtb
Normal file
BIN
kernel_boot/boards/adrv9361z7035/devicetree.dtb
Normal file
Binary file not shown.
BIN
kernel_boot/boards/adrv9364z7020/devicetree.dtb
Normal file
BIN
kernel_boot/boards/adrv9364z7020/devicetree.dtb
Normal file
Binary file not shown.
BIN
kernel_boot/boards/zc702_fmcs2/devicetree.dtb
Normal file
BIN
kernel_boot/boards/zc702_fmcs2/devicetree.dtb
Normal file
Binary file not shown.
BIN
kernel_boot/boards/zc706_fmcs2/devicetree.dtb
Normal file
BIN
kernel_boot/boards/zc706_fmcs2/devicetree.dtb
Normal file
Binary file not shown.
BIN
kernel_boot/boards/zcu102_fmcs2/system.dtb
Normal file
BIN
kernel_boot/boards/zcu102_fmcs2/system.dtb
Normal file
Binary file not shown.
BIN
kernel_boot/boards/zed_fmcs2/devicetree.dtb
Normal file
BIN
kernel_boot/boards/zed_fmcs2/devicetree.dtb
Normal file
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 719 KiB After Width: | Height: | Size: 318 KiB |
@ -1 +1 @@
|
||||
Subproject commit badd325f725b874db4c5c344c76ef59e70734c98
|
||||
Subproject commit b242a17a987374a0b997b9cdb54001891191474c
|
@ -2,5 +2,5 @@
|
||||
|
||||
./sdrctl dev sdr0 get reg xpu 19
|
||||
|
||||
./sdrctl dev sdr0 set reg xpu 19 0
|
||||
./sdrctl dev sdr0 set reg xpu 19 3
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user