in order to add the dal i2c driver to the osbl layer the following two steps must be performed.
1) copy i2cprops.xml from core\dal\config\<amss/apps> to core\dal\config\boot_osbl. This will ensure that the dal i2c drivers properties are available in osbl stage.
2) modify the sconscript at every subdirectory within core\buses\i2c\<dal,dalpd,hal> so that the i2c object files are added to the osbl image.
here is the snippet showing that
env.AddLibsToImage(
['SINGLE_IMAGE', 'CBSP_SINGLE_IMAGE', 'MODEM_IMAGE', 'CBSP_MODEM_IMAGE',
'APPS_IMAGE', 'CBSP_APPS_IMAGE', 'OSBL_BOOT_IMAGE'],
[dal_i2c_lib, dal_i2c_sh_lib])
No comments:
Post a Comment