I modified the Eyetracker Code and the DemoEyeTracker Code to output some data through the serial port. I have compiled my code on Ubuntu 16.04 (I use Parallels virtual machine). I flash the microSD card as explained here. The name of my device is sdb, and the partitions for BOOT and JEVOIS are correctly done.
But I don't have the LINUX partitions and so I can not test my code. Here is the message displayed after the flashing command :
Old situation:
Device Boot Start End Sectors Size Id Type
/dev/sdb1 39936 72703 32768 16M c W95 FAT32 (LBA)
/dev/sdb2 72704 2169855 2097152 1G 83 Linux
/dev/sdb3 2169856 15597567 13427712 6.4G c W95 FAT32 (LBA)
==================================================
......................
.....................
New situation:
Device Boot Start End Sectors Size Id Type
/dev/sdb1 39936 72703 32768 16M c W95 FAT32 (LBA)
/dev/sdb2 72704 2169855 2097152 1G 83 Linux
/dev/sdb3 2169856 15597567 13427712 6.4G c W95 FAT32 (LBA)
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.
#################### Creating filesystems on /dev/sdb ...
mkfs.fat 3.0.28 (2015-05-16)
mke2fs 1.42.13 (17-May-2015)
Invalid filesystem option set: ^64bit,uninit_bg,^metadata_csum
mkfs.fat 3.0.28 (2015-05-16)
mount: wrong fs type, bad option, bad superblock on /dev/sdb2,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
#################### Populating boot partition /dev/sdb1 from /var/lib/jevois-build/boot/ ...
Drop to login prompt instead of starting JeVois software automatically [y/N] N
Disable serial-over-USB port [y/N] N
#################### Populating root partition /dev/sdb2 from /var/lib/jevois-build/boot/rootfs.ext4 ...
#################### Populating JeVois core in /dev/sdb2 from /var/lib/jevois-build/usr/ ...
#################### Populating jevois partition /dev/sdb2 from /var/lib/jevois-microsd/ ...
#################### Flushing caches and releasing card...
umount: sdcard: not mounted
#################### microSD card is now loaded with JeVois software.
#################### microSD card is ready to be inserted into your JeVois smart camera.
Could anyone please explain to me why the LINUX partition is not correclty flashed and how to solve the problem ?