Closed HerrMuellerluedenscheid closed 7 months ago
Seems you're using mender. Mender don't have support for other release then kirkstone so it could be related to that. I would suggest to use kirkstone. What is the issue with xradio please? Thanks.
Thanks @nandra for the swift reply! I switched back to kirkstone
and am facing this error on xradio compilation:
| /home/mk/qs-kas/build/tmp-orange-pi-zero/work-shared/orange-pi-zero/kernel-source/include/asm-generic/bug.h:65:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
| 65 | #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
| | ^~
| /home/mk/qs-kas/build/tmp-orange-pi-zero/work/orange_pi_zero-poky-linux-gnueabi/xradio/0.1-r0/git/scan.c:890:17: note: in expansion of macro 'BUG_ON'
| 890 | BUG_ON(xradio_queue_remove(queue, hw_priv->pending_frame_id));
| | ^~~~~~
| /home/mk/qs-kas/build/tmp-orange-pi-zero/work/orange_pi_zero-poky-linux-gnueabi/xradio/0.1-r0/git/main.c: In function 'xradio_core_init':
| /home/mk/qs-kas/build/tmp-orange-pi-zero/work/orange_pi_zero-poky-linux-gnueabi/xradio/0.1-r0/git/main.c:521:24: error: too few arguments to function 'of_get_mac_address'
| 521 | addr = of_get_mac_address(hw_priv->pdev->of_node);
| | ^~~~~~~~~~~~~~~~~~
| In file included from /home/mk/qs-kas/build/tmp-orange-pi-zero/work/orange_pi_zero-poky-linux-gnueabi/xradio/0.1-r0/git/main.c:15:
| /home/mk/qs-kas/build/tmp-orange-pi-zero/work-shared/orange-pi-zero/kernel-source/include/linux/of_net.h:16:12: note: declared here
| 16 | extern int of_get_mac_address(struct device_node *np, u8 *mac);
| | ^~~~~~~~~~~~~~~~~~
| make[2]: *** [/home/mk/qs-kas/build/tmp-orange-pi-zero/work-shared/orange-pi-zero/kernel-source/scripts/Makefile.build:277: /home/mk/qs-kas/build/tmp-orange-pi-zero/work/oran
-linux-gnueabi/xradio/0.1-r0/git/scan.c:12:
| /home/mk/qs-kas/build/tmp-orange-pi-zero/work-shared/orange-pi-zero/kernel-source/include/asm-generic/bug.h:65:27: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
| 65 | #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
| | ^~
| /home/mk/qs-kas/build/tmp-orange-pi-zero/work/orange_pi_zero-poky-linux-gnueabi/xradio/0.1-r0/git/scan.c:890:17: note: in expansion of macro 'BUG_ON'
| 890 | BUG_ON(xradio_queue_remove(queue, hw_priv->pending_frame_id));
| | ^~~~~~
| /home/mk/qs-kas/build/tmp-orange-pi-zero/work/orange_pi_zero-poky-linux-gnueabi/xradio/0.1-r0/git/main.c: In function 'xradio_core_init':
| /home/mk/qs-kas/build/tmp-orange-pi-zero/work/orange_pi_zero-poky-linux-gnueabi/xradio/0.1-r0/git/main.c:521:24: error: too few arguments to function 'of_get_mac_address'
| 521 | addr = of_get_mac_address(hw_priv->pdev->of_node);
| | ^~~~~~~~~~~~~~~~~~
| In file included from /home/mk/qs-kas/build/tmp-orange-pi-zero/work/orange_pi_zero-poky-linux-gnueabi/xradio/0.1-r0/git/main.c:15:
| /home/mk/qs-kas/build/tmp-orange-pi-zero/work-shared/orange-pi-zero/kernel-source/include/linux/of_net.h:16:12: note: declared here
| 16 | extern int of_get_mac_address(struct device_node *np, u8 *mac);
| | ^~~~~~~~~~~~~~~~~~
| make[2]: *** [/home/mk/qs-kas/build/tmp-orange-pi-zero/work-shared/orange-pi-zero/kernel-source/scripts/Makefile.build:277: /home/mk/qs-kas/build/tmp-orange-pi-zero/work/orange_pi_zero-poky-linux-gnueabi/xradio/0.1-r0/git/main.o] Error 1
Do you have a clue what could be the issue?
I saw that there has been some development going on in the fifteenhex/xradio.git
fork. At least that seems to compile. I don't have a suitable orange pi at hand right now but will flash one asap and see if that worked.
@HerrMuellerluedenscheid is this resolved please? Can you please post update if it works for you? Thanks.
@HerrMuellerluedenscheid please see this commit. I just bumped on master to repo you proposed. https://github.com/linux-sunxi/meta-sunxi/commit/40c6d521230f24094cd189bb645284da2fcb2804
Thanks @nandra ! Tested. Works 👍
Hi,
After I failed to compile
xradio
on kirkstone I switched to master but am facing the following error which leaves me a bit puzzled:ERROR: Layer 'mender-sunxi' depends on layer 'meta-sunxi', but this layer is not enabled in your configuration
Can you help me understanding whats going on?
Cheers