I am booting the lx2160ardb board through eMMC card, and want to make changes EC2_PMUX =1 to rcw and deploy it so that i can do gpio testing. i am doing it according to lskd only but not able to do it.
i want to know in which rcw file should i make the changes and how to deploy it since it has not been mentioned in lsdk
I am using UG10081_LLDP_6.1.55_2.2.0.pdf , and have checked the manifest file . after making the changes to rcw i have regenerated atf image using new rcw through $ bitbake qoriq-atf command . i have copied the new images to boot section of emmc card. but what should be the next steps?
$ source build_lx2160ardb-rev2/SOURCE_THIS
$ bitbake rcw -c cleansstate
$ bitbake rcw -c patch
Please go to rcw source code folder tmp/work/lx2160ardb_rev2-fsl-linux/rcw/git-r0/git/
and modify file lx2160ardb_rev2/XGGFF_PP_HHHH_RR_19_5_2/rcw_2200_750_3200_19_5_2.rcw
$ bitbake rcw
$ bitbake qoriq-atf -c cleansstate
$ bitbake qoriq-atf
After copy atf image to boot location, then run the following command to boot from emmc in u-boot.
=> qixis_reset emmc
I assume that you are using LSDK 21.08.
Please refer to configs/board/lx2160ardb_rev2/manifest
rcw_emmc="firmware/rcw/lx2160ardb_rev2/XGGFF_PP_HHHH_RR_19_5_2/rcw_2200_750_3200_19_5_2.bin"
Then execute the following procedure
$ source setup.env
$ flex-builder -c rcw -m lx2160ardb_rev2
Please modify components/firmware/rcw/lx2160ardb_rev2/XGGFF_PP_HHHH_RR_19_5_2/rcw_2200_750_3200_19_5_2.rcw
The rebuild rcw and atf image:
$ flex-builder -c rcw -m lx2160ardb_rev2
$ flex-builder -c atf -m lx2160ardb_rev2 -b emmc
Then you will get emmc ATF image bl2_emmc.pbl and fip_uboot.bin in build/firmware/atf/lx2160ardb_rev2/, please deploy them to emmc card.