Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to compile OpenWrt image using wfx-openwrt #1

Open
wireless-road opened this issue Sep 18, 2020 · 0 comments
Open

unable to compile OpenWrt image using wfx-openwrt #1

wireless-road opened this issue Sep 18, 2020 · 0 comments

Comments

@wireless-road
Copy link

Hello!
We are developing IMX6ULL based custom hardware with onboard WF200C Wi-Fi IC.
Here is photo just in a case:
https://thumb.cloud.mail.ru/weblink/thumb/xw1/XqzX/hoJtPKEEX/IMG_20200906_224419.jpg
We have working source code base and able to compile image for that SoM.
Now we are trying to add support for WF200C.
Here what I got going throuth steps described in readme:

al@ubuntu-s-1vcpu-2gb-nyc1-01:~/lorawan-imx6ull$ vi feeds.conf.default

Here how feeds.conf.default looks:

al@ubuntu-s-1vcpu-2gb-nyc1-01:~/lorawan-imx6ull$ cat feeds.conf.default
#src-git packages https://git.openwrt.org/feed/packages.git;openwrt-18.06
#src-git luci https://git.openwrt.org/project/luci.git;openwrt-18.06
#src-git routing https://git.openwrt.org/feed/routing.git;openwrt-18.06
#src-git telephony https://git.openwrt.org/feed/telephony.git;openwrt-18.06

src-git packages git://github.com/openwrt/packages.git;openwrt-18.06
src-git luci https://github.com/openwrt/luci.git;openwrt-18.06
src-git routing git://github.com/openwrt-routing/packages.git;openwrt-18.06
src-git telephony https://github.com/openwrt/telephony.git;openwrt-18.06

# WFX feed
src-git wfx https://github.com/riotnetwork/wfx-openwrt/

Then:

al@ubuntu-s-1vcpu-2gb-nyc1-01:~/lorawan-imx6ull$ scripts/feeds update wfx
Updating feed 'wfx' from 'https://github.com/riotnetwork/wfx-openwrt/' ...
Cloning into './feeds/wfx'...
remote: Enumerating objects: 1071, done.
remote: Counting objects: 100% (1071/1071), done.
remote: Compressing objects: 100% (902/902), done.
remote: Total 1071 (delta 260), reused 800 (delta 157), pack-reused 0
Receiving objects: 100% (1071/1071), 3.06 MiB | 12.38 MiB/s, done.
Resolving deltas: 100% (260/260), done.
Create index file './feeds/wfx.index'
Collecting package info: done
Collecting target info: done
al@ubuntu-s-1vcpu-2gb-nyc1-01:~/lorawan-imx6ull$ scripts/feeds install -a -p wfx
Installing all packages from feed wfx.
Installing package 'wf200' from wfx
Installing package 'wfx' from wfx
WARNING: No feed for package 'kmod-nl80211' found
al@ubuntu-s-1vcpu-2gb-nyc1-01:~/lorawan-imx6ull$ make menuconfig
Collecting package info: done
WARNING: Makefile 'package/feeds/wfx/wfx/Makefile' has a dependency on 'kmod-nl80211', which does not exist
configuration written to .config

*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.

al@ubuntu-s-1vcpu-2gb-nyc1-01:~/lorawan-imx6ull$ make &
[1] 11100
al@ubuntu-s-1vcpu-2gb-nyc1-01:~/lorawan-imx6ull$ WARNING: Makefile 'package/feeds/wfx/wfx/Makefile' has a dependency on 'kmod-nl80211', which does not exist
time: target/linux/prereq#0.10#0.03#0.13
 make[1] world
 make[2] target/compile
 make[3] -C target/linux compile
 make[2] diffconfig
 make[2] package/cleanup
 make[2] package/compile
...
 make[3] -C feeds/wfx/wfx compile
make -r world: build failed. Please re-run make with -j1 V=s to see what's going on
/home/al/lorawan-imx6ull/include/toplevel.mk:216: recipe for target 'world' failed
make: *** [world] Error 1
[1]+  Exit 2                  make
al@ubuntu-s-1vcpu-2gb-nyc1-01:~/lorawan-imx6ull$ make -j1 V=s
WARNING: Makefile 'package/feeds/wfx/wfx/Makefile' has a dependency on 'kmod-nl80211', which does not exist
make[1]: Entering directory '/home/al/lorawan-imx6ull'
....
make[3]: Entering directory '/home/al/lorawan-imx6ull/feeds/wfx/wfx'
rm -rf /home/al/lorawan-imx6ull/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-imx6ull_cortexa7/wfx/.pkgdir/kmod-wfx.installed /home/al/lorawan-imx6ull/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-imx6ull_cortexa7/wfx/.pkgdir/kmod-wfx
mkdir -p /home/al/lorawan-imx6ull/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-imx6ull_cortexa7/wfx/.pkgdir/kmod-wfx
ERROR: module '/home/al/lorawan-imx6ull/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-imx6ull_cortexa7/wfx/wfx.ko' is missing.
Makefile:71: recipe for target '/home/al/lorawan-imx6ull/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-imx6ull_cortexa7/wfx/.pkgdir/kmod-wfx.installed' failed
make[3]: *** [/home/al/lorawan-imx6ull/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-imx6ull_cortexa7/wfx/.pkgdir/kmod-wfx.installed] Error 1
make[3]: Leaving directory '/home/al/lorawan-imx6ull/feeds/wfx/wfx'
Command exited with non-zero status 2
time: package/feeds/wfx/wfx/compile#0.17#0.07#0.25
package/Makefile:107: recipe for target 'package/feeds/wfx/wfx/compile' failed
make[2]: *** [package/feeds/wfx/wfx/compile] Error 2
make[2]: Leaving directory '/home/al/lorawan-imx6ull'
package/Makefile:103: recipe for target '/home/al/lorawan-imx6ull/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/stamp/.package_compile' failed
make[1]: *** [/home/al/lorawan-imx6ull/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/al/lorawan-imx6ull'
/home/al/lorawan-imx6ull/include/toplevel.mk:216: recipe for target 'world' failed
make: *** [world] Error 2

Did I do something wrong? Please let me know if any additional information required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant