Uh oh!
There was an error while loading. Please reload this page.
Enable xcc build for all platform - #2024
Conversation
xiulipan
commented
Oct 30, 2019
@jajanusz@tlauda Could you help to check the build fail for the BYT, CHT, BDW, HSW and SUE. BDW, HSW SUE |
jajanusz
commented
Oct 30, 2019
Error says pretty much what problem is, .text section is too small to fit generated binary code. You need to tune memory.h in platform/{baytrail,haswell}. |
tlauda
commented
Oct 30, 2019
@xiulipan And also __vec_memcpy is probably not supported on HIFI2, so you need to add additional check in string.h in xtensa arch. |
xiulipan
commented
Oct 31, 2019
tlauda
commented
Oct 31, 2019
@xiulipan Don't you want to add fixes into this PR first? |
xiulipan
commented
Oct 31, 2019
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
plbossart
commented
Nov 5, 2019
@xiulipan the IRAM sizes look wrong to me. we've always used 14000 e.g. #defineSST_BYT_IRAM_PHY_START 0xff2c0000
#defineSST_BYT_IRAM_PHY_END 0xff2d4000
#defineSST_BYT_DRAM_PHY_START 0xff300000
#defineSST_BYT_DRAM_PHY_END 0xff320000 |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
xiulipan
commented
Nov 6, 2019
@plbossart@tlauda already correct me here, so we try to use -Os flag to avoid the issue. @lgirdwood The -Os is just a test for my build test. I think I got @jajanusz help to have different optimization level with #2054 |
libinyang
commented
Nov 12, 2019
@xiulipan I saw your patches changes some default value in common file. Will it impact on gcc build? |
These |
lgirdwood
commented
Nov 12, 2019
@xiulipan any ETA for landing this ? |
xiulipan
commented
Nov 13, 2019
@lrgirdwo Hope I can do that in this week. Still need to figure out how to switch the optimization level by default. |
jajanusz
commented
Nov 13, 2019
Just add |
xcc HIFI2 do not vec_memcpy, we can only use vec_memcpy on HIFI3 supported platforms. Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
Use SOF_MEM_VECBASE_TEXT_BASE to repalce unset variable. Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
xcc build will have bigger TEXT. Need to keep the total block size unchange as the block need to be 4k align. Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
bay cht and sue xcc build has bigger size, need to use -Os to reduce size. Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
Update xcc build config for all existing platforms. xcc build with byt, cht and sue need special defconfig. Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
xiulipan
commented
Nov 14, 2019
lgirdwood
left a comment
There was a problem hiding this comment.
Can we roll this now int CI so that it builds using XCC and has download links for binaries (using community key) and ldc files.
tlauda
commented
Nov 26, 2019
@xiulipan@lgirdwood Is this ready to be merged? |
lgirdwood
commented
Nov 26, 2019
@tlauda yep, if you approve it. We only have 1 approver atm. me. |
Fix xcc build for BYT/CHT/HSW/BDW/SUE
Improve the optimization level to reduce TEXT size in FW.
Fix void pointer arithmetic in hifi2 build.
Update xcc build config for all existing platforms.