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.

Rebuild U-boot for NAND for DM814x EVM

Hi,

I am not sure if this is the correct forum for this question but I will try anyhow.

I have an DM814x EVM running from SD (and tftp+NFS) and I am trying to enable U-boot to run directly from NAND like described in the U-boot documentation that comes with both the EZSDK 5.02.01.58 and EZSDK 5.01.02.60.

But I run into problems when I rebuild the U-boot for NAND:

I tried to rebuild the new U-boot-MIN for NAND using both the description from the U-boot documentation as well as the "standard" make command from EZSDK, but both way I get a build error for the 1st stage of U-boot:

(here is the last line from the make output):

${EZSDK}/board support/u-boot-2010.06-psp04.01.00.05/fs/fat/fat.c:94: undefined reference to 'get_partition_info'

... and make returns with Error 1

 

I use the configuration file ti8148_evm_min_nand instead of the default ti8148_evm_min_sd in the standard EZSDK makefile but with exact same result. I also run the distclean befor rebuilding so everything ought to be updated.

 

Am I missing some setting or do I need to maually patch some file(s)?

Best regards,

Karsten

  • Please but sure that you toolchain is setup properly and that you've setup the build environment as follows:

     

      make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm distclean
      make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm  ti8148_evm_config_nand
      make CROSS_COMPILE=arm-none-linux-gnueabi- ARCH=arm  u-boot.ti