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.

Keystone II - Cant compile Uboot for nand gph image

Other Parts Discussed in Thread: 66AK2E05

Hi community,

Im working on 66AK2E05 EVM. I burned the re-compiled uboot and skern on 5 EVM and they are booting successfully on NOR Flash. Im using `uboot.bin` file.

With same uboot and skern the other 2 EVM not boot. these boards is freeze when starting, last print is sometimes NAND, sometimes Net, sometimes nothing printed. I checked the Nor flash, and read/write test is OK.

So i decided to boot from Nand, but i cant compile uboot for nand gph image. This is my instructions:

1-make distclean  O=~/K2/Uboot/outputs ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-

2-make k2e_evm_config O=~/K2/Uboot/outputs ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-

3-make k2e_evm_config O=~/K2/Uboot/outputs ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-

4-make u-boot-nand.gph O=~/K2/Uboot/outputs ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-

Compiler Error is `make: *** No rule to make target `u-boot-nand.gph'. Stop.` .I tried for `u-boot-spi.gph` and got same error.

How can i compile uboot for nand image?

Best Regards,

Srt

  • Hi Srt35,

    The problem seems to be due to "O==~/K2/Uboot/outputs" . Without "O" option, you should be able to build successfully.

    Steps:

    1-make distclean ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-

    2-make k2e_evm_config ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-

    3-make u-boot-nand.gph ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-

    [ For NAND ]

    or

    3-make u-boot-spi.gph ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-

      [ For SPI ]

    If with "O" option,  you may have to modify the Makefile appropriately.

    ---------------------------

  • Hi Shankari G,

    I can create uboot.bin file to specific output folder, but cant create gph file. With your suggestion, i can create gph image.

    Thank you for your quick response.

    Best Regards.

    Srt
  • Hi srt35,

    Glad to hear that the suggestion worked for you.

    All the best