On 12/18/19 11:09 PM, Xianjun Jiao (UGent-imec) wrote: > Dear openwrt friends, > > > A message may interest you. Our openwifi project is online: > > https://github.com/open-sdr/openwifi > > > Full stack real time SDR (Software Defined Radio) Wi-Fi implementation > on zynq FPGA with embedded ARM Linux. Compatible with Linux mac80211 > SoftMAC framework. > > > hostapd, wpa_supplicant and other native Linux Wi-Fi tools already work > out of the box! > > > But for openwrt, I have too little experience, only know that it is also > a kind of embedded Linux. > > > Is openwrt above the mac80211 subsystem? > > > How much effort do you think we need to run openwrt on the openwifi design? > > > If someone would like to work on this porting, we will definitely help!
Hi, Interesting project, I would like to see support for this in OpenWrt. OpenWrt is a Linux distribution which also ships mac80211 and other drivers and user space components. The zynq target is already support in OpenWrt master, see here: https://git.openwrt.org/?p=openwrt/openwrt.git;a=tree;f=target/linux/zynq;h=d20f848fca5d6de2e3afd88fc208aa9747b8b101;hb=HEAD You have to add support for you broad to the zynq target, see here for an example of an other board: https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=64f4c3ef357815e5d8c780a0d02924b9176db794 Then you would already get images for you board using kernel 4.19. Then you have to add your wifi driver, you can use the integration of the mwlwifi driver as an example: https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob;f=package/kernel/mwlwifi/Makefile;h=aa8eea0450a2e16a460c2f18af1fa6a3dcc07a0c;hb=HEAD This builds against mac80211 from kernel 5.4 provided by backports. Then you should add your other user space tools as normal OpenWrt packages. You should list the basic packages you need in the DEVICE_PACKAGES variable in the board definition in target/linux/zynq/image/Makefile to create images with your wifi driver by default. Hauke _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
