Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Options:
Skip some operations (you should know what you are doing here!):
-C|--NO_check skips checks after flashing and reboot
-F|--NO_flashing skips any flashing operation - only fetching
content
--NO_fpga_update skips the FPGA update even no HWAPI is running
-K|--NO_lockfile ignores existing lockfile (not blocking
flashing)
-R|--NO_reboot skips the reboot after the partition was newly
set up
-S|--NO_signing skips the signing of the tgz
-Y|--NO_yupper skips the yupper call
# fetch 'FCTJ' content only by given ECL file to My_Target_Dir without flashing
python yaft.py -d My_Target_Dir -e ECL/ECL_MCUHWAPI -f -F --module FCTJ
# fetch 'FCTJ' content only by given ECL file to My_Target_Dir without flashing
in SCI mode
# --sci_product FSM4 speeds up as only FSM4 zips are extracted/evaluated
python yaft.py -d My_Target_Dir -e ECL/ECL_MCUHWAPI -f -F --module FCTJ --sci
--sci_product FSM4
InputXML='/build/ltesdkroot/Platforms/PS_REL/PS_REL_2012_11_04/C_Platform/version_c
ontrol.xml'
DirImage='my_local_directory_to_put_fetched_data_to'
Custom files support:
Similar to the vcf you could create a 'custom.xml' file which defines custom
files
to be add (replaced), files to be copied from 'running' to 'not_running'
partition
and files which should be deleted from official load.
*** all relative paths on host (e.g. ADD, SHELL) are relative to the custom xml
file! ***
custom_file_example.xml:
---
<?xml version="1.0" encoding="UTF-8" ?>
<CustomControlFile>
<!-- target related -->
<REMOVE>
<file source="resetCnt*.tgz" mandatory="yes" version=""
destination="addons/fct">
<module>FCT</module>
</file>
</REMOVE>
<COPY>
<file source="addons/fct/pre-config.tgz" mandatory="yes" version=""
destination="addons/fct">
<module>FCT</module>
<module>FCTE</module>
</file>
</COPY>
<KEEP>
<file source="boot/keep.xml" mandatory="yes" version=""
destination="boot">
<module>FCT</module>
</file>
</KEEP>
<!-- host related -->
<ADD>
<file source="BTS_T_YAFT/custom_file_example.xml" mandatory="yes"
version="" destination="flash">
<module>FCT</module>
</file>
<!-- needs leading '/' !!! -->
<file source="/@@@LFS_DIR@@@/os/addons/arm-cortexa15-linux-
gnueabihf/devtools.tgz" mandatory="yes" version="" destination="flash">
<module>FCT</module>
</file>
</ADD>
<SHELL>
<script source="power_switch_ip.sh -i @@@IP@@@ -h @@@HOSTNAME@@@"
mandatory="yes" hook="reboot">
<module>FSCE</module>
<module>FCTJ</module>
</script>
</SHELL>
</CustomControlFile>
---
For 'SHELL' and 'ADD' section (host related) following hooks and keys are
supported:
Version:
YAFT version is the svn commit revision. Call
python yaft.py --version
to get the version info.
Support:
Confluence page is:
https://confluence.int.net.nokia.com/display/BtsScmUlm/YAFT