How do I upload user space application to Saber Dev kit

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How do I upload user space application to Saber Dev kit

1,383 次查看
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?

标签 (2)
标记 (2)
0 项奖励
回复
3 回复数

1,276 次查看
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 项奖励
回复

1,276 次查看
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 项奖励
回复

1,276 次查看
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 项奖励
回复