Hi, everyone,
I try to modify av_caputure_load.sh to change cmemk phys_start addr, but It losed after "make & make cramfs". My root filesystem larger than preset 46M size, I must change the cmem start position. Any help are appreciated!
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi, everyone,
I try to modify av_caputure_load.sh to change cmemk phys_start addr, but It losed after "make & make cramfs". My root filesystem larger than preset 46M size, I must change the cmem start position. Any help are appreciated!
Thanks kirill!
But the correct position is ipnc\av_capture\bin, not the <rootfs>/opt/ipnc/av_capture_load.sh in my code
Hi,
As Kirill mentioned, the actual file to change is the <rootfs>/opt/ipnc/av_capture_load.sh
But in our make scripts, we always copy the file in <src>/ipnc/av_capture/bin/av_capture_load.sh to the root filesystem. So even if you make changes to the root file system, next time you do make, the file from <src>/ipnc/av_capture/bin/av_capture_load.sh would be updated in the root filesystem.
so, as you found out, the right thing to do is updating <src>/ipnc/av_capture/bin/av_capture_load.sh
Regards,
Anshuman
PS: Please mark this post as verified, if you think it has answered your question. Thanks.
Anshuman Saxena said:But in our make scripts, we always copy the file in <src>/ipnc/av_capture/bin/av_capture_load.sh to the root filesystem.
Strange, but in Appro source I have't copy av_capture_load.sh to another location.
If you refer to the top level Makefile, you would see the following line in the "install" option.
cp $(EXE_BASE_DIR)/*.sh $(TARGET_FS_DIR)
This does a copy of all shell scripts from ipnc/av_capture/bin folder to the target filesystem.
Regards,
Anshuman