Pandablocks SDK
A docker image is provided for each machine called panda-sdk-{machine}, for
example pandablocks-sdk-pandabox, this contains the SDK built by
yocto to be able to build binaries compatible with the panda linux system
outside of yocto, this is used only for testing purposes.
Additionally, the sdk installer is also provided to use it in the host directly.
How to build the PandABlocks-server using Pandablocks SDK?
Load the build environment:
. /sdk/environment-*
Create a CONFIG file, e.g.
KERNEL_DIR=/sdk/sysroots/cortexa9t2hf-neon-xilinx-linux-gnueabi/usr/src/kernel
PYTHON = python3
SPHINX_BUILD = $(PYTHON) -m sphinx
PLATFORM = zynq
Note
KERNEL_DIR is set to the path of the kernel sources included in the sdk.
Make the server
CROSS_COMPILE= make server
Note
CROSS_COMPILE is empty so that CC provided by the build environment is used.
Make the driver
make driver
Now you can use the build results to test in a panda.