
Dear pshambhu,
In message 1390806073574-172435.post@n7.nabble.com you wrote:
post/libpost.a(post.o): In function `post_bootmode_get': /home/raghu/Emerson_BSP/p2020/u-boot/u-boot-2009.11/post/post.c:91: undefined reference to `post_word_load' post/libpost.a(post.o): In function `post_bootmode_init': /home/raghu/Emerson_BSP/p2020/u-boot/u-boot-2009.11/post/post.c:66: undefined reference to `post_hotkeys_pressed' /home/raghu/Emerson_BSP/p2020/u-boot/u-boot-2009.11/post/post.c:74: undefined reference to `post_word_load' /home/raghu/Emerson_BSP/p2020/u-boot/u-boot-2009.11/post/post.c:83: undefined reference to `post_word_store' post/libpost.a(post.o): In function `post_bootmode_test_on': /home/raghu/Emerson_BSP/p2020/u-boot/u-boot-2009.11/post/post.c:138: undefined reference to `post_word_load' /home/raghu/Emerson_BSP/p2020/u-boot/u-boot-2009.11/post/post.c:144: undefined reference to `post_word_store' post/libpost.a(post.o): In function `post_bootmode_test_off': /home/raghu/Emerson_BSP/p2020/u-boot/u-boot-2009.11/post/post.c:149: undefined reference to `post_word_load' /home/raghu/Emerson_BSP/p2020/u-boot/u-boot-2009.11/post/post.c:153: undefined reference to `post_word_store'
It appears you failed to define post_word_load(), post_word_store(), post_hotkeys_pressed(), post_bootmode_get() and post_bootmode_init() in your board specific code.
Did you read doc/README.POST ?
drivers/mtd/spi/libspi_flash.a(stmicro.o): In function `stmicro_wait_ready': /home/raghu/Emerson_BSP/p2020/u-boot/u-boot-2009.11/drivers/mtd/spi/stmicro.c:140: undefined reference to `spi_xfer' /home/raghu/Emerson_BSP/p2020/u-boot/u-boot-2009.11/drivers/mtd/spi/stmicro.c:162: undefined reference to `spi_xfer' drivers/mtd/spi/libspi_flash.a(winbond.o): In function `winbond_wait_ready': /home/raghu/Emerson_BSP/p2020/u-boot/u-boot-2009.11/drivers/mtd/spi/winbond.c:99: undefined reference to `spi_xfer' /home/raghu/Emerson_BSP/p2020/u-boot/u-boot-2009.11/drivers/mtd/spi/winbond.c:111: undefined reference to `spi_xfer' /home/raghu/Emerson_BSP/p2020/u-boot/u-boot-2009.11/drivers/mtd/spi/winbond.c:126: undefined reference to `spi_xfer'
These appear to be unrelated to me.
By the way: you are aware that v2009.11 is totally outdated? It makes not much sense to invest efforts in extending such old code. Please do yourself (and us) a favour and update first to recent code.
Best regards,
Wolfgang Denk