Other Parts Discussed in Thread: TDA4VM
We are using the QNX SDP version 7. 1 with TI PSDK versionf or our project development
RTOS - ti-processor-sdk-rtos-j721e-evm-09_00_01_01.tar.gz
QNX - ti-processor-sdk-qnx_j721e_09_00_00_03.tar.gz
Hardware - TDA4VM SK Board
And currently we are working for OTA solutions with the above components.
With the TI provided SDK, Three partitions (BOOT, QNXFS, ROOTFS) are creared with the mkcard_qnx.sh
Let summarize our understanding with the TI-SDK and QNX
1. QNX-IFS placed in the BOOT partition is mounted at '/'.
2. qnxfs partition contains the QNX file system.
3. rootfs - It contains the R5F core binaries in the /lib/firmware folder path.
Now let us explain our queries
1. Consider we placed two qnx-ifs(qnx-ifs_A and qnx-ifs_B) image in boot partition and We need to switch to new qnx-ifs(qnx-ifs_B) during run time from the next boot-up cycle, Shall we do this By changing the bootcmd in uEnv.txt?
dorprocboot=1
bootcmd=run main_cpsw0_qsgmii_phyinit;run boot_rprocs; fatload mmc 1 80080000 qnx-ifs_A; go 0x80080000
uenvcmd=boot
|
V
dorprocboot=1
bootcmd=run main_cpsw0_qsgmii_phyinit;run boot_rprocs; fatload mmc 1 80080000 qnx-ifs_B; go 0x80080000
uenvcmd=boot
2. If we have two partition for qnxfs (i.e qnxfs_A and qnxfs_B) and both the partitions are mounted at startup, Is there any way to make the selected one (either A or B ) as active partition.
3. We have usecase to update the R5F core binaries at runtime for that we tried to mount the rootfs partition, But the mounting is not working for us. Please find the command we used for mounting the rootfs partition.
mount -v -t ext4 -o exe=all /dev/sd0t131 /rootfs
Kindly give valuable feedback