You need to add the appropriate kernel configuration fragments yourself 
(CONFIG_NETFILTER_xxx, CONFIG_IP_NF_xxx, CONFIG_NF_xxx etc.). See the Yocto 
mega-manual for details on how to do this.

I assume that (at least some of) these are enabled by default in the x86 kernel 
but they aren't in the Zynq kernel. Be warned, there are a lot of them.

Regards

Alan
ALAN LEVY
Lead Consultant, Embedded Systems

Tel > +44 (0) 1799 533200
Email > [email protected]
[http://www.plextek.com/wp-content/uploads/2016/04/Plextek-LOGO-for-email.jpg]<http://www.plextek.com/>

www.plextek.com<http://www.plextek.com/>
The Plextek Building, London Road, Great Chesterford, Saffron Walden, CB10 1NY, 
UK

Plextek is the trading name of Plextek Services Ltd. Registered in England and 
Wales, no. 09826669


From: Nilsson, Gaute [mailto:[email protected]]
Sent: 05 November 2017 14:39
To: [email protected]
Subject: [meta-xilinx] iptables kernel modules

I have an application that needs to use iptables.
The iptables recipe is located under poky/meta/recipes-extended/iptables.
When I use MACHINE = "qemux86", and add IMAGE_INSTALL_append = " iptables" in 
my local.conf, Yocto will nicely include iptables and the corresponding kernel 
modules in the image. This has the desired behavior.
But when I change MACHINE to "qemu-zynq7", Yocto will only include the iptables 
utility and not the corresponding kernel modules in the image. This will result 
in an error message when I run the iptables utility.
meta-xilinx is the only layer that I've added to bblayers.
I've tested morty, pyro, and rel-2017.x branches, but all have the same 
behavior.

How can I get Yocto to include the kernel modules for iptables in the image for 
my Xilinx target?

Regards
Gaute
-- 
_______________________________________________
meta-xilinx mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-xilinx

Reply via email to