[Solved] Can't build image WEC7

Mar 1, 2016 at 12:02 PM
Hello Guys,

I want to congratulate David for this working BSP, It's more than I expected when I tried.

During my first build I encountered some problems and I want to share them to help other people if encounter the same.

I get the following error:
error 1336 error a0034: undefined symbol: control_ddr_data_ioctrl_0_offset {log="c:\wince700\build.log(41599)"} c:\wince700\platform\am33x_bbb_bsp\src\csp\am33x\oal\cpuidle\cpu.s 1364

I managed to solve the issue changing some values of am33x_const.inc:
File directory: (c:\wince700\platform\am33x_bbb_bsp\src\csp\am33x\oal\cpuidle\cpu.s)
Values to change:
CONTROL_DDR_DATA_IOCTRL_0_OFFSET --> CONTROL_DDR_DATA0_IOCTRL_OFFSET
CONTROL_DDR_DATA_IOCTRL_1_OFFSET --> CONTROL_DDR_DATA1_IOCTRL_OFFSET
CONTROL_DDR_CMD0_IOCTRL_OFFSET --> CONTROL_DDR_CMD_IOCTRL_0_OFFSET
CONTROL_DDR_CMD1_IOCTRL_OFFSET --> CONTROL_DDR_CMD_IOCTRL_1_OFFSET
CONTROL_DDR_CMD2_IOCTRL_OFFSET --> CONTROL_DDR_CMD_IOCTRL_2_OFFSET
I hope this could help somebody.