How do I upload user space application to Saber Dev kit

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

How do I upload user space application to Saber Dev kit

675 Views
rlumo
Contributor II

Hi! I want to create a user space application and run this on the Linux user space (A7) of the dev kit. How do I upload/copy the application to the dev kit?

Labels (2)
Tags (2)
0 Kudos
3 Replies

568 Views
b36401
NXP Employee
NXP Employee

You can add the files directly into the filesystem you build.
It can be done with coping the files to mounded SD card or directly into filesystem image with the command like these:

# mkdir fs
# dd if=imx-image-full-imx7dsabresd.sdcard of=imx-image-full-imx7dsabresd.sdcard2 bs=1k skip=32768 count=1632083
1632083+0 records in
1632083+0 records out
1671252992 bytes (1.7 GB) copied, 251.435 s, 6.6 MB/s
# mount imx-image-full-imx7dsabresd.sdcard2 fs -o loop
# cp -r your_software fs
# umount fs
# dd if=imx-image-full-imx7dsabresd.sdcard2 of=imx-image-full-imx7dsabresd.sdcard bs=1k seek=32768 count=1632083
1632083+0 records in
1632083+0 records out
1671252992 bytes (1.7 GB) copied, 145.696 s, 11.5 MB/s
#

0 Kudos

568 Views
rlumo
Contributor II

Thanks. I will give this a go.

Is there a simpler method though, if the DevKit is running Linux, can I just not FTP or SSH to the dev kit and copy the file?

0 Kudos

568 Views
b36401
NXP Employee
NXP Employee

Yes. It can be done from that running Linux.
However I am not sure that there is ssh server in default configuration.
So you need to "get" the files from the board itself not "put" them there from the outside.

0 Kudos