From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wes1-so1.wedos.net (wes1-so1.wedos.net [46.28.106.15]) by dpdk.org (Postfix) with ESMTP id 2235891EE for ; Fri, 30 Oct 2015 14:56:55 +0100 (CET) Received: from pcviktorin.fit.vutbr.cz (pcviktorin.fit.vutbr.cz [147.229.13.147]) by wes1-so1.wedos.net (Postfix) with ESMTPSA id 3nnQDQ5WRWz5Wr for ; Fri, 30 Oct 2015 14:56:54 +0100 (CET) Date: Fri, 30 Oct 2015 14:55:10 +0100 From: Jan Viktorin To: announce@dpdk.org Message-ID: <20151030145510.75576878@pcviktorin.fit.vutbr.cz> Organization: RehiveTech MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Sun, 01 Nov 2015 09:41:44 +0100 Subject: [dpdk-announce] DPDK support in Buildroot X-BeenThere: announce@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: release announcements List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Oct 2015 13:56:55 -0000 Hello all, as the ARM port is finding its way into the DPDK, I've prepared a DPDK integration package [1] for the Buildroot project [2]. Buildroot is used to build custom Linux distributions for embedded systems and it covers the cross-compilation very well. It is possible to build and test the ARMv7/v8 ports by using qemu and Buildroot. How to do it: $ git clone https://github.com/RehiveTech/buildroot.git $ git checkout dpdk-support # 773b7bc9925 * or try the official git with the patch referred in [2] $ cd buildroot $ make qemu_aarch64_virt_defconfig * or qemu_arm_vexpress_defconfig for ARMv7 $ make menuconfig * set libc library to glibc * enable DPDK, testpmd, tests in Target packages/Libraries/Networking/DPDK * point DPDK to https://github.com/RehiveTech/dpdk.git arm-support-v5 or download the patches and configure Buildroot for patching or do it your way... $ make linux-menuconfig * enable UIO, PCI and MSI-X (if applicable) $ make $ ls output/images Try in QEMU (ARMv8): $ qemu-system-aarch64 -machine virt -cpu cortex-a57 -machine type=virt \ -nographic -smp 1 -m 2048 -kernel output/images/Image -append "console=ttyAMA0" or (ARMv7): $ qemu-system-arm -M vexpress-a9 -kernel output/images/zImage \ -dtb output/images/vexpress-v2p-ca9.dtb -drive file=output/images/rootfs.ext2,if=sd \ -append "console=ttyAMA0,115200 root=/dev/mmcblk0" -smp 1 -m 1024 -nographic * now login as root (in QEMU) and try: buildroot # /usr/bin/test [--no-huge] [--no-pci] Regards Jan Viktorin [1] http://lists.busybox.net/pipermail/buildroot/2015-October/143413.html [2] http://buildroot.uclibc.org/ -- Jan Viktorin E-mail: Viktorin@RehiveTech.com System Architect Web: www.RehiveTech.com RehiveTech Brno, Czech Republic