Other Parts Discussed in Thread: AM4379, AMIC110
I am trying to build the board library for my custom board based on AM4379 processor. I am using pdk_am437x_1_0_17 to build the library.
I have based the library for the new board, called "myCustomBoard" based on idkAM437x and before changing the files, I am just trying to build the library as available for idkAM437x. I can build the individual object files as listed below:
board.oa9fg, boardstub.oa9fg, enet_phy.oa9fg, idkAM437x.oa9fg, idkAM437x_ethernet_config.oa9fg, idkAM437x_info.oa9fg, idkAM437x_lld_init.oa9fg, idkAM437x_pinmux.oa9fg and qspi_flash.oa9fg
The aforementioned files are located in this directory which has been created when I compiled the board package with the command gmake LIMIT_BOARDS="myCustomBoard".
C:\ti\pdk_am437x_1_0_17\packages\ti\binary\ti\board\board\obj\myCustomBoard\a9\release
Now, I would like to generate a library using the archiver tool of the cross compiler. So I have used the following command according to the instructions in ti document titled " Board porting up using Processor SDK RTOS for AM335x/AMIC110" which was recommended to me earlier. Alternatively, the documentation of the processor SDK also indicates the following command for building the board library which is very similar to the previous one: gmake board_lib LIMIT_SOCS=am437x LIMIT_BOARDS=myCustomBoard LIMIT_CORES=a9host.
However, when I use the CMD line in Windows and run either command, I get the following response which says, there are no rules for generating board_lib. Am I missing something or is there something missing from the makefiles that tell the archiver to generate the board_lib.
Here is the print out:
C:\ti\pdk_am437x_1_0_17\packages>.\pdksetupenv.bat
***************************************************
Environment Configuration:
***************************************************
SDK_INSTALL_PATH : C:/ti
PDK_INSTALL_PATH : C:/ti/pdk_am437x_1_0_17/packages
GMAKE_INSTALL_PATH : C:/ti/xdctools_3_55_02_22_core
PDK_SOC : am437x
PDK_VERSION : 1_0_17
RULES_MAKE : C:/ti/pdk_am437x_1_0_17/packages/ti/build/Rules.make
***************************************************
C:\ti\pdk_am437x_1_0_17\packages>gmake board_lib LIMIT_BOARDS="myCustomBoard"
gmake: *** No rule to make target 'board_lib'. Stop.
C:\ti\pdk_am437x_1_0_17\packages>
Please provide me with the guide line and the tools to make sure the board library build process goes all the way to the end.
Thanks.