How do I upload user space application to Saber Dev kit

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How do I upload user space application to Saber Dev kit

1,381件の閲覧回数
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,274件の閲覧回数
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,274件の閲覧回数
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,274件の閲覧回数
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 件の賞賛
返信