DPDK announcements
 help / color / Atom feed
* [dpdk-announce] DPDK support in Buildroot
@ 2015-10-30 13:55 Jan Viktorin
  0 siblings, 0 replies; only message in thread
From: Jan Viktorin @ 2015-10-30 13:55 UTC (permalink / raw)
  To: announce

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-30 13:55 [dpdk-announce] DPDK support in Buildroot Jan Viktorin

DPDK announcements

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/announce/0 announce/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 announce announce/ http://inbox.dpdk.org/announce \
		announce@dpdk.org
	public-inbox-index announce


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.announce


AGPL code for this site: git clone https://public-inbox.org/ public-inbox