Problems encountered installing spsdk on I.mx6ul-based yocto

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problems encountered installing spsdk on I.mx6ul-based yocto

Jump to solution
303 Views
link91943
Contributor I

Our purpose is to upgrade the firmware of the K32W041A through the ISP in I.MX6UL. To package the spsdk into I.MX6UL, you need to install a python environment. Since our previous I.MX6ul products did not use other python features, only the default python minimal environment imx-yocto-sdk was used. After adding python3-spsdk, which relies on many python modules, we need to install the spsdk environment on the target customer's device over OTA. What files need to be extracted at this point?

Labels (1)
0 Kudos
Reply
1 Solution
89 Views
gnar_fang
NXP Employee
NXP Employee

hi, form pytho3-spsdk.bb file. you need install these python package

RDEPENDS:${PN} += "python3-appdirs"
RDEPENDS:${PN} += "python3-argparse-addons"
RDEPENDS:${PN} += "python3-asn1crypto"
RDEPENDS:${PN} += "python3-astunparse"
RDEPENDS:${PN} += "python3-bincopy"
RDEPENDS:${PN} += "python3-bitstring"
RDEPENDS:${PN} += "python3-capstone"
RDEPENDS:${PN} += "python3-cffi"
RDEPENDS:${PN} += "python3-click"
RDEPENDS:${PN} += "python3-click-command-tree"
RDEPENDS:${PN} += "python3-click-option-group"
RDEPENDS:${PN} += "python3-colorama"
RDEPENDS:${PN} += "python3-commentjson"
RDEPENDS:${PN} += "python3-construct"
RDEPENDS:${PN} += "python3-crcmod"
RDEPENDS:${PN} += "python3-cryptography"
RDEPENDS:${PN} += "python3-deepmerge"
RDEPENDS:${PN} += "python3-fastjsonschema"
RDEPENDS:${PN} += "python3-future"
RDEPENDS:${PN} += "python3-hexdump"
RDEPENDS:${PN} += "python3-humanfriendly"
RDEPENDS:${PN} += "python3-importlib-metadata"
RDEPENDS:${PN} += "python3-intelhex"
RDEPENDS:${PN} += "python3-intervaltree"
RDEPENDS:${PN} += "python3-jinja2"
RDEPENDS:${PN} += "python3-libusb-package"
RDEPENDS:${PN} += "python3-libusbsio"
RDEPENDS:${PN} += "python3-markupsafe"
RDEPENDS:${PN} += "python3-modules"
RDEPENDS:${PN} += "python3-natsort"
RDEPENDS:${PN} += "python3-oscrypto"
RDEPENDS:${PN} += "python3-packaging"
RDEPENDS:${PN} += "python3-platformdirs"
RDEPENDS:${PN} += "python3-prettytable"
RDEPENDS:${PN} += "python3-psutil"
RDEPENDS:${PN} += "python3-pyasn1"
RDEPENDS:${PN} += "python3-pycparser"
RDEPENDS:${PN} += "python3-pyelftools"
RDEPENDS:${PN} += "python3-pylink-square"
RDEPENDS:${PN} += "python3-pyocd"
RDEPENDS:${PN} += "python3-pyocd-pemicro"
RDEPENDS:${PN} += "python3-pypemicro"
RDEPENDS:${PN} += "python3-pyserial"
RDEPENDS:${PN} += "python3-pyusb"
RDEPENDS:${PN} += "python3-pyyaml"
RDEPENDS:${PN} += "python3-requests"
RDEPENDS:${PN} += "python3-ruamel.yaml"
RDEPENDS:${PN} += "python3-setuptools"
RDEPENDS:${PN} += "python3-six"
RDEPENDS:${PN} += "python3-sly"
RDEPENDS:${PN} += "python3-sortedcontainers"
RDEPENDS:${PN} += "python3-spsdk"
RDEPENDS:${PN} += "python3-typing-extensions"
RDEPENDS:${PN} += "python3-wcwidth"
RDEPENDS:${PN} += "python3-wheel"
RDEPENDS:${PN} += "python3-yamlloader"
RDEPENDS:${PN} += "python3-zipp"
 
Specific requirements are in accordance with the documents is under images folder.
example: python3-libusbsio.
build/tmp/work/cortexa7t2hf-neon-poky-linux-gnueabi/python3-libusbsio/2.1.11/image
 

View solution in original post

0 Kudos
Reply
3 Replies
90 Views
gnar_fang
NXP Employee
NXP Employee

hi, form pytho3-spsdk.bb file. you need install these python package

RDEPENDS:${PN} += "python3-appdirs"
RDEPENDS:${PN} += "python3-argparse-addons"
RDEPENDS:${PN} += "python3-asn1crypto"
RDEPENDS:${PN} += "python3-astunparse"
RDEPENDS:${PN} += "python3-bincopy"
RDEPENDS:${PN} += "python3-bitstring"
RDEPENDS:${PN} += "python3-capstone"
RDEPENDS:${PN} += "python3-cffi"
RDEPENDS:${PN} += "python3-click"
RDEPENDS:${PN} += "python3-click-command-tree"
RDEPENDS:${PN} += "python3-click-option-group"
RDEPENDS:${PN} += "python3-colorama"
RDEPENDS:${PN} += "python3-commentjson"
RDEPENDS:${PN} += "python3-construct"
RDEPENDS:${PN} += "python3-crcmod"
RDEPENDS:${PN} += "python3-cryptography"
RDEPENDS:${PN} += "python3-deepmerge"
RDEPENDS:${PN} += "python3-fastjsonschema"
RDEPENDS:${PN} += "python3-future"
RDEPENDS:${PN} += "python3-hexdump"
RDEPENDS:${PN} += "python3-humanfriendly"
RDEPENDS:${PN} += "python3-importlib-metadata"
RDEPENDS:${PN} += "python3-intelhex"
RDEPENDS:${PN} += "python3-intervaltree"
RDEPENDS:${PN} += "python3-jinja2"
RDEPENDS:${PN} += "python3-libusb-package"
RDEPENDS:${PN} += "python3-libusbsio"
RDEPENDS:${PN} += "python3-markupsafe"
RDEPENDS:${PN} += "python3-modules"
RDEPENDS:${PN} += "python3-natsort"
RDEPENDS:${PN} += "python3-oscrypto"
RDEPENDS:${PN} += "python3-packaging"
RDEPENDS:${PN} += "python3-platformdirs"
RDEPENDS:${PN} += "python3-prettytable"
RDEPENDS:${PN} += "python3-psutil"
RDEPENDS:${PN} += "python3-pyasn1"
RDEPENDS:${PN} += "python3-pycparser"
RDEPENDS:${PN} += "python3-pyelftools"
RDEPENDS:${PN} += "python3-pylink-square"
RDEPENDS:${PN} += "python3-pyocd"
RDEPENDS:${PN} += "python3-pyocd-pemicro"
RDEPENDS:${PN} += "python3-pypemicro"
RDEPENDS:${PN} += "python3-pyserial"
RDEPENDS:${PN} += "python3-pyusb"
RDEPENDS:${PN} += "python3-pyyaml"
RDEPENDS:${PN} += "python3-requests"
RDEPENDS:${PN} += "python3-ruamel.yaml"
RDEPENDS:${PN} += "python3-setuptools"
RDEPENDS:${PN} += "python3-six"
RDEPENDS:${PN} += "python3-sly"
RDEPENDS:${PN} += "python3-sortedcontainers"
RDEPENDS:${PN} += "python3-spsdk"
RDEPENDS:${PN} += "python3-typing-extensions"
RDEPENDS:${PN} += "python3-wcwidth"
RDEPENDS:${PN} += "python3-wheel"
RDEPENDS:${PN} += "python3-yamlloader"
RDEPENDS:${PN} += "python3-zipp"
 
Specific requirements are in accordance with the documents is under images folder.
example: python3-libusbsio.
build/tmp/work/cortexa7t2hf-neon-poky-linux-gnueabi/python3-libusbsio/2.1.11/image
 
0 Kudos
Reply
230 Views
gnar_fang
NXP Employee
NXP Employee

I will check it in yocto to find which package must need. and will reply it later

0 Kudos
Reply
271 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

There is no support for spsdk in iMX6 for is supported in MX8ulp please download the BSP:

https://pypi.org/project/spsdk/

https://www.nxp.com/design/design-center/software/embedded-software/i-mx-software/embedded-linux-for...

 

Regards

 

0 Kudos
Reply