-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
51 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# ppc-sbc-nxp-spsdk-image | ||
SUMMARY = "PPC SBC NXP SPSDK image" | ||
DESCRIPTION = " \ | ||
Image to be loaded in an Board Computer (SBC) \ | ||
embedded in a custom Pogo-Pin Cassette (PPC) used to \ | ||
interact with a Device-under-Test (DUT) during production \ | ||
firmware programming and In-Circuit Testing (ICT) with \ | ||
Blue Clover's Production Line Tool (PLT) with \ | ||
the NXP Secure Provisioning SDK (SPSDK). \ | ||
" | ||
HOMEPAGE = "https://docs.pltcloud.com/acc/ppc/yocto/" | ||
|
||
inherit core-image | ||
|
||
IMAGE_FEATURES:append = " debug-tweaks" | ||
IMAGE_FEATURES:append = " empty-root-password" | ||
|
||
IMAGE_INSTALL:append = " packagegroup-ppc-sbc" | ||
IMAGE_INSTALL:append = " python3-intelhex" | ||
IMAGE_INSTALL:append = " python3-pyocd" | ||
IMAGE_INSTALL:append = " python3-spsdk" | ||
|
||
# Optional, non-redistributable packages | ||
#IMAGE_INSTALL:append = " nxp-mcu-link" | ||
#IMAGE_INSTALL:append = " nxp-libusbsio-bin" | ||
#IMAGE_INSTALL:append = " nxp-lpcscrypt" | ||
#IMAGE_INSTALL:append = " segger-jlink-ob-nxp" | ||
|
||
IMAGE_INSTALL:append:rpi = " rpi-eeprom" | ||
|
||
# lrzsz is a unix communication package providing the XMODEM, | ||
# YMODEM ZMODEM file transfer protocols. | ||
IMAGE_INSTALL:append = " lrzsz" | ||
|
||
fakeroot do_populate_bcdevices_src () { | ||
# Allow pltagent to use sudo | ||
echo "pltagent ALL=(ALL) NOPASSWD: ALL" >> ${IMAGE_ROOTFS}/etc/sudoers | ||
} | ||
IMAGE_PREPROCESS_COMMAND += "do_populate_bcdevices_src; " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# kas-nxp-spsdk-rpi4.yml | ||
--- | ||
header: | ||
version: 13 | ||
includes: | ||
- scripts/kas/kas-rpi4.yml | ||
|
||
target: | ||
- ppc-sbc-nxp-spsdk-image |