Wind-River / vxworks7-ros2-build

Build system to automate the build of VxWorks 7 and ROS2
Apache License 2.0
97 stars 22 forks source link

Directory does not fit in FAT16 (capacity 516.06 MB) #16

Closed razr closed 2 years ago

razr commented 2 years ago

Hi @razr, i'm keeping updated and i have already tried the new patch, following all operations in the README with the correct skd linked above, make operation works fine! Proceeded on the next section and again followed the instructions, i have just run this command:

First attempt run:

sudo qemu-system-x86_64 -m 512M -kernel /home/rosdev/Desktop/wrsdk-vxworks7-up2/bsps/itl_generic_2_0_2_1/boot/vxWorks -net nic -net tap,ifname=tap0,script=no,downscript=no -display none -serial stdio -monitor none -append "bootline:fs(0,0)host:vxWorks h=192.168.200.254 e=192.168.200.1 u=target pw=boot o=gei0" -usb -device usb-ehci,id=ehci -device usb-storage,drive=fat32 -drive file=fat:ro:./export/deploy,id=fat32,format=raw,if=none

I have put my path to the vxWorks directory, just copied the command directly from the README and i received this error: qemu-system-x86_64: -drive file=fat:ro:./export/deploy,id=fat32,format=raw,if=none: Directory does not fit in FAT16 (capacity 516.06 MB)

After that i changed something: qemu-system-x86_64 -m 1024M -kernel /home/rosdev/Desktop/wrsdk-vxworks7-up2/bsps/itl_generic_2_0_2_1/boot/vxWorks -net nic -net tap,ifname=tap0,script=no,downscript=no -display none -serial stdio -monitor none -append "bootline:fs(0,0)host:vxWorks h=192.168.200.254 e=192.168.200.1 u=target pw=boot o=gei0" -usb -device usb-ehci,id=ehci -device usb-storage,drive=fat32 -drive file=./export/example.img,id=fat32,format=raw,if=none

I created example.img, put it on /export/ (/export/example.img) and activated VxWorks, it starts. Inside i've run devsand observed between all devices: /bd0, but i'm still not able to open /export/deploy.

I have also tried different configurations changing file=fat:ro to to file=fat:rw and so on but i can't actually make it start.

Maybe i'm missing something i can't see.

Thanks again for your attention.

Originally posted by @enriLoniterp in https://github.com/Wind-River/vxworks7-ros2-build/issues/14#issuecomment-1169799961

razr commented 2 years ago

@enriLoniterp this is strange since it shows

$ du -sh export/deploy/
494M    export/deploy/
razr commented 2 years ago

@enriLoniterp please check my pull request. I think you need to

sudo apt-get install dosfstools

Thanks for reporting it.