Sorry, you need to enable JavaScript to visit this website.

Docker on Petalinux

Zedboard forums is currently read-only while it under goes maintenance.

Unsolved
6 posts / 0 new
e_rush
Junior(0)
Docker on Petalinux

Hi! I'm trying to build petalinux image with docker on it and run it on QEMU. So far I've added docker to user packages via petalinux-config and built it. But wherever I try to boot it with qemu error message appears. Any help would be appretiated!

 

INFO: The image provided is a zImage

INFO: Set QEMU tftp to /home/e_rush/docker_test/images/linux 

INFO: TCP PORT is free 

INFO: Starting arm QEMU

INFO:  qemu-system-aarch64 -M arm-generic-fdt-7series -machine linux=on   -serial /dev/null -serial mon:stdio -display none -kernel /home/e_rush/docker_test/build/qemu_image.elf -gdb tcp::9000 -dtb /home/e_rush/docker_test/pre-built/linux/images/system.dtb  -net nic,vlan=1 -net user,vlan=1,tftp=/home/e_rush/docker_test/images/linux -net nic -device loader,addr=0xf8000008,data=0xDF0D,data-len=4 -device loader,addr=0xf8000140,data=0x00500801,data-len=4 -device loader,addr=0xf800012c,data=0x1ed044d,data-len=4 -device loader,addr=0xf8000108,data=0x0001e008,data-len=4 -device loader,addr=0xF8000910,data=0xF,data-len=0x4    

qemu-system-aarch64: -net nic,vlan=1: 'vlan' is deprecated. Please use 'netdev' instead.

qemu-system-aarch64: warning: vlan 0 is not connected to host network

rom: requested regions overlap (rom bootloader. free=0x0000000004ca8be8, addr=0x0000000000000000)

Uncompressing Linux... done, booting the kernel.

 

 

Error: unrecognized/unsupported machine ID (r1 = 0x00000d32).

Available machine support:

ID (hex) NAME

ffffffff Generic DT based system

ffffffff ARM-Versatile Express

ffffffff Xilinx Zynq Platform

Please check your kernel config and/or bootloader.

 

 

Steps I performed before:

 

1) Installed Vivado and Petalinux Tools

2) Downloaded zedboard bsp

3) Created project with "petalinux-create -t project -n docket_test -s bsps/zed.bsp"

4) Then I've edited $PROJ/project-spec/meta-user/recipes-core/images/petalinux-image.bbappend to add docker (IMAGE_INSTALL_append = " docker")

5) With petalinux-config -c rootfs enabled docker recipes

6) Built image with petalinux-build

7) Replaced prebuilt image with petalinux-package --prebuilt --force

8) Tried to boot with petalinux-boot --qemu --prebuilt 3

 

 

JFoster
Moderator(77)
hello,

hello,

What deveopment hardware are you using/targeting? 

--Josh

e_rush
Junior(0)
I have created project using

I have created project using zedboard bsp from xilinx site

e_rush
Junior(0)
Sorry I wasn't able to write

Sorry I wasn't able to write more info before. System tagged my messages as spam

JFoster
Moderator(77)
Hello,

Hello,

Are you developing this for use with the Zedboard? Or are you using this as a starting point for a custom board?

--Josh

e_rush
Junior(0)
I am developing this for a

I am developing this for a Zedboard. Moving to custom board is possible in the long term.