![Phytec Linux-Kit phyCARD-M Quick Start Instructions Download Page 50](http://html1.mh-extra.com/html/phytec/linux-kit-phycard-m/linux-kit-phycard-m_quick-start-instructions_1554142050.webp)
phyCARD-M
Quick Start Instructions
46
© 2010 PHYTEC Messtechnik GmbH L-746e_1
Now you’re ready to build the BSP. Please decompress archieve
OSELAS.BSP-Phytec-phyCARD-PD10.1.0.tar.gz into a directory and then
move into it. Select the platform for which the BSP should be build:
ptxdist platform \
configs/phyCARD-M-2004.04.1/platformconfig
You should get the messages:
info: selected
platformconfig:
'configs/phyCARD-iM-2004.04.1/platformconfig'
Furthermore PTXdist should have recognized the necessary toolchain and
confirm this by giving you the messages:
found and using toolchain:
'/opt/OSELAS.Toolchain-1.99.3/arm-1136jfs-linux-gnueabi/gcc-4.3.2-glibc-2.8-binutils-
2.19-kernel-2.6.27-sanitized/bin'
Otherwise you need to choose the toolchain manually:
ptxdist toolchain /opt/OSELAS.Toolchain-1.99.3/arm-1136jfs-linux-
gnueabi/gcc-4.3.2-glibc-2.8-binutils-2.19-kernel-2.6.27-sanitized/bin
For building the BSP you could call
ptxdist go
now, but then you would get
so much stuff for the root-filesystem of your target, that it won’t fit into the
flash-memory any more. This rootfs could only be used when mounting it
via NFS. Thus, PHYTEC provides the BSP together with a file called a
'collection', that excludes not necessary stuff for you. Please tell ptxdist to
use this collection by calling
ptxdist collection configs/collectionconfig-kit
Now, for building the BSP call
ptxdist go