This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM335X: SDK build fails

Part Number: PROCESSOR-SDK-AM335X


When I enable the following two configurations the build fails.

#define CONFIG_HW_WATCHDOG

#define CONFIG_OMAP_WATCHDOG

  

user@ubuntu:~/workspace_v5_3/pali-uboot$ sudo make ARCH=arm CROSS_COMPILE=/home/user/ti-sdk-am335x-evm-07.00.00.00/linux-devkit/sysroots/i686-arago-linux/usr/bin/arm-linux-gnueabihf- -j4 all > buildlog.txt

In file included from mux.c:23:0:

mux.h:44:0: warning: "SLEWCTRL" redefined [enabled by default]

In file included from /home/user/workspace_v5_3/pali-uboot/include/asm/arch/mux.h:23:0,

                 from mux.c:19:

/home/user/workspace_v5_3/pali-uboot/include/asm/arch/mux_am33xx.h:26:0: note: this is the location of the previous definition

mux.c:72:30: warning: ‘nand_pin_mux’ defined but not used [-Wunused-variable]

board.c:155:5: warning: function declaration isn’t a prototype [-Wstrict-prototypes]

board.c:177:6: warning: function declaration isn’t a prototype [-Wstrict-prototypes]

board.c:182:6: warning: function declaration isn’t a prototype [-Wstrict-prototypes]

board.c: In function ‘am33xx_spl_board_init’:

board.c:201:2: warning: implicit declaration of function ‘hw_watchdog_init’ [-Wimplicit-function-declaration]

board.c: In function ‘get_dpll_ddr_params’:

board.c:251:2: warning: implicit declaration of function ‘enable_i2c0_pin_mux’ [-Wimplicit-function-declaration]

board.c: In function ‘set_uart_mux_conf’:

board.c:259:2: warning: implicit declaration of function ‘enable_uart0_pin_mux’ [-Wimplicit-function-declaration]

board.c: In function ‘board_eth_init’:

board.c:325:10: warning: variable ‘mac_addr’ set but not used [-Wunused-but-set-variable]

board.c:324:6: warning: unused variable ‘rv’ [-Wunused-variable]

board/quake/am335x/libam335x.o: In function `am33xx_spl_board_init':

/home/user/workspace_v5_3/pali-uboot/board/quake/am335x/board.c:201: undefined reference to `hw_watchdog_init'

drivers/serial/libserial.o: In function `NS16550_putc':

/home/user/workspace_v5_3/pali-uboot/drivers/serial/ns16550.c:113: undefined reference to `hw_watchdog_reset'

drivers/serial/libserial.o: In function `NS16550_getc':

/home/user/workspace_v5_3/pali-uboot/drivers/serial/ns16550.c:124: undefined reference to `hw_watchdog_reset'

lib/libgeneric.o: In function `udelay':

/home/user/workspace_v5_3/pali-uboot/lib/time.c:22: undefined reference to `hw_watchdog_reset'

make[1]: *** [/home/user/workspace_v5_3/pali-uboot/spl/u-boot-spl] Error 1

make: *** [spl/u-boot-spl.bin] Error 2

 

Is there something else I need to do?