From: Jan Viktorin <viktorin@rehivetech.com>
To: announce@dpdk.org
Subject: [dpdk-announce] DPDK support in Buildroot
Date: Fri, 30 Oct 2015 14:55:10 +0100 [thread overview]
Message-ID: <20151030145510.75576878@pcviktorin.fit.vutbr.cz> (raw)
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
reply other threads:[~2015-10-30 13:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151030145510.75576878@pcviktorin.fit.vutbr.cz \
--to=viktorin@rehivetech.com \
--cc=announce@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).