Copy entire folder structure using Mfgtool

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

Copy entire folder structure using Mfgtool

跳至解决方案
1,232 次查看
stephenhewitson
Contributor III

Hi,

We use mfgtool to push a WinCE image ("nk.nb0") to an iMX28. As part of this process I also want to send the application we will be running.

Currently we are required to plug a USB stick containing the application into the product and copy the *.cab file across manually, followed by unpacking the application.

I've seen that it might be possible to call <CMD type="push" body="mkdir /test"/> to create a folder, but is it possible to define a file (or entire unpacked folder structure) that is copied across by mfgtool?

Thanks,

EDIT:

Ok, so I can send individual files using

<CMD type="push" body="filename:NANDFlash\\sandy.mp3">Specify the file name and path in the board.</CMD>

<CMD type="push" body="send" file="files/sandy.mp3">Sending a file from the host.</CMD>

I'd still be interested if an entire folder structure (subfolders and files) was possible, without having to send each file separately.

标签 (1)
标记 (3)
0 项奖励
回复
1 解答
1,013 次查看
stephenhewitson
Contributor III

Apparently the write command in the WinCE (nk.nb0) does not support full folder directory, and the only way of fixing this is to modify the image to allow it.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,013 次查看
stephenhewitson
Contributor III

Ok, so I can definitely push a file across, but I've not managed to create a subfolder yet.

Has anyone managed to do this, or at least could point me in the right direction?

0 项奖励
回复
1,014 次查看
stephenhewitson
Contributor III

Apparently the write command in the WinCE (nk.nb0) does not support full folder directory, and the only way of fixing this is to modify the image to allow it.

0 项奖励
回复