Hi sir:
I works on TI8148 evm board, my PSP is 4.04.00.01 and I have a question below.
When I run load.sh, the scripts below take a long time to be ready.
/opt/bin/fw_load.out startup VPSS-M3 /opt/firmware/dvr_rdk_fw_m3vpss.xem3
/opt/bin/fw_load.out startup VIDEO-M3 /opt/firmware/dvr_rdk_fw_m3video.xem3
/opt/bin/fw_load.out startup DSP /opt/firmware/dvr_rdk_fw_c6xdsp.xe674
rm -f /dev/dev_dma
insmod /opt/kermod/osa_kermod.ko
echo 'insmod osa_kermod end'
if [ ! -f /dev/dev_dma ]
then
major=$(awk '$2=="dev_dma" {print $1}' /proc/devices)
mknod /dev/dev_dma c ${major} 0
fi
/opt/bin/remote_debug_client.out ${REMOTE_DEBUG_ADDR} --waitch s m3vpss // especially when running this script
/opt/bin/remote_debug_client.out ${REMOTE_DEBUG_ADDR} --waitch s m3video
/opt/bin/remote_debug_client.out ${REMOTE_DEBUG_ADDR} --waitch s c6xdsp
I have tried to trace the source code about remote_debug_client and it looks like that remote_debug_client.out waits character 's' to be read.
I guess when m3vpss,m3video and c6xdsp task are ready, they will send the character 's', am I right?
Could you give me some suggestion how to eliminate time spending when running these scripts?
Best regards,
Marcus