Dear Pau, all

 

I followed the directions in your earlier reply (attached) to the email I sent to you directly. I cross-compiled libremesh for zynq board and got the following files in the output folder:


drwxrwxr-x 2 meshnet meshnet    4096 Apr  2 14:11 ./

drwxrwxr-x 3 meshnet meshnet    4096 Apr  2 14:11 ../

-rw-rw-r-- 1 meshnet meshnet    4760 Apr  2 14:11 lede-17.01.4-lime-default-zynq-device-zedboard.manifest

-rw-rw-r-- 1 meshnet meshnet 3593943 Apr  2 14:11 lede-17.01.4-lime-default-zynq-device-zedboard-rootfs.tar.gz

-rw-rw-r-- 1 meshnet meshnet 6972488 Apr  2 14:11 lede-17.01.4-lime-default-zynq-zc702-fit.itb

-rw-rw-r-- 1 meshnet meshnet 3612119 Apr  2 14:11 lede-17.01.4-lime-default-zynq-zc702-uramdisk.image.gz

-rw-rw-r-- 1 meshnet meshnet 6967804 Apr  2 14:11 lede-17.01.4-lime-default-zynq-zed-fit.itb

-rw-rw-r-- 1 meshnet meshnet 3612119 Apr  2 14:11 lede-17.01.4-lime-default-zynq-zed-uramdisk.image.gz

-rw-rw-r-- 1 meshnet meshnet 6967660 Apr  2 14:11 lede-17.01.4-lime-default-zynq-zybo-fit.itb

-rw-rw-r-- 1 meshnet meshnet 3612119 Apr  2 14:11 lede-17.01.4-lime-default-zynq-zybo-uramdisk.image.gz

-rw-rw-r-- 1 meshnet meshnet     939 Apr  2 14:11 sha256sums    


But based on the requirements for booting a zedboard here http://www.wiki.xilinx.com/OpenWrt+running+on+ZC702, there are many files that are missing as you can see from the list. Using the files produced by lime-sdk alone could't get zedboard to boot. So I built an openwrt image for Zedboard (I am using this board https://reference.digilentinc.com/reference/programmable-logic/zedboard/start?redirect=1), which generated some of the files that are missing, as listed below.


-rw-r--r-- 1 meshnet meshnet   66228 Apr  2 16:32 boot.bin
-rwxr-xr-x 1 meshnet meshnet 2998844 Apr  2 16:32 u-boot*
-rw-r--r-- 1 meshnet meshnet    8014 Apr  2 16:32 u-boot.dtb
-rw-r--r-- 1 meshnet meshnet  427722 Apr  2 16:32 u-boot-dtb.bin
-rw-r--r-- 1 meshnet meshnet  427786 Apr  2 16:32 u-boot-dtb.img
-rwxr-xr-x 1 meshnet meshnet 1056160 Apr  2 16:32 u-boot-spl*
-rw-r--r-- 1 meshnet meshnet   63988 Apr  2 16:32 u-boot-spl-dtb.bin


I copied these missing files together with the files produced via lime-sdk to my sdcard and tried to boot the board but the terminal keeps reading **Unable to read file fit.itb **.


When building the openwrt image for the board, I also generated the sdk and the imagebuilder for it. I tried to make a custom build of image with the sdk and the ib but get the following error:


tmp/.config-package.in:3740:error: recursive dependency detected!
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:3740:    symbol PACKAGE_lime-basic-uing depends on PACKAGE_kmod-ebtables
For a resolution refer to Documentation/kbuild/kconfig-language.txt
subsection "Kconfig recursive dependency limitations"
Segmentation fault (core dumped)
/home/meshnet/lime-sdk/openwrt/zynq/generic/sdk/include/toplevel.mk:136: recipe for target 'menuconfig' failed
make[2]: *** [menuconfig] Error 139
make[2]: Leaving directory '/home/meshnet/lime-sdk/openwrt/zynq/generic/sdk'
/home/meshnet/lime-sdk/openwrt/zynq/generic/sdk/include/toplevel.mk:97: recipe for target '.config' failed
make[1]: *** [.config] Error 2
make[1]: Leaving directory '/home/meshnet/lime-sdk/openwrt/zynq/generic/sdk'
/home/meshnet/lime-sdk/openwrt/zynq/generic/sdk/include/toplevel.mk:209: recipe for target 'world' failed
make: *** [world] Error 2
make: Leaving directory '/home/meshnet/lime-sdk/openwrt/zynq/generic/sdk'
-> Error compiling SDK


And when I tried to cook the image without building using custom sdk and ib, I got the following:


Collected errors:
* opkg_install_cmd: Cannot install package lime-full.
* opkg_install_cmd: Cannot install package lime-app.
Makefile:134: recipe for target 'package_install' failed
make[2]: *** [package_install] Error 255
Makefile:100: recipe for target '_call_image' failed
make[1]: *** [_call_image] Error 2
Makefile:175: recipe for target 'image' failed
make: *** [image] Error 2
make: Leaving directory '/home/meshnet/lime-sdk/openwrt/zynq/generic/ib'


Could you please advise?


Many thanks for your help.


Musab