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.

Clarify uboot/linux boot from NAND flash

We need to burn a bootable linux image into NAND flash on a custom target board with 66A2KH12.

Please verify that the method to construct a bootable image is as follows (MCSDK UG, p. 71 and following): U-Boot Build instructions, Boot Monitor Build instructions, Linux kernel and the device tree blob build instructions, TransportNetLib Software Library and Build instructions

Also, please verify that the program_evm script located in the mcsdk_bios_3_xx_xx_xx/tools/ directory is the best tool for this?

Thanks,

Bruce

  • Dear Bruce,
    We have many methods to flash the images into NAND flash but you can choose depends on your custom board.
    We do support UART boot, SPI, ethernet and NAND boot.
    You can use any boot mode to load the u-boot into RAM and execute it then flash the u-boot into NAND flash from u-boot itself.

    Yes, ofcourse you can use program_evm script.

    Ex:
    tftpboot 0x88000000 u-boot-nand.gph
    nand ecclayout set 1
    nand erase.part bootloader
    nand write 0x88000000 bootloader 0x60000
    nand ecclayout set 0

    Please any method and let me know if you are not able to do.
  • Bruce,

    Welcome to the TI E2E forum. I hope you will find many good answers here and in the TI.com documents and in the TI Wiki Pages (for processor issues). Be sure to search those for helpful information and to browse for the questions others may have asked on similar topics (e2e.ti.com). Please read all the links below my signature.

    We will get back to you on the above query shortly. Thank you for your patience.

    Note: We strongly recommend you to create new e2e thread for your queries instead of following up on an old/closed e2e thread, new threads gets more attention than old threads and can provide link of old threads or information on the new post for clarity and faster response.

  • Hi Bruce,

    Bruce said:
    We need to burn a bootable linux image into NAND flash on a custom target board with 66A2KH12.



    For flashing the u-boot image, you can follow the steps given by Titus.

    To flash the Linux kernel + filesystem, you can follow the steps below.

    #tftpboot 0x82000000 tisdk-server-rootfs-image-k2hk-evm.ubi
    #nand erase.part ubifs
    # pri burn_ubi
    ( check all the params are right )
    #run burn_ubi
    #env default -a
    #setenv boot ubi
    #saveenv
    #boot

    Bruce said:
    Also, please verify that the program_evm script located in the mcsdk_bios_3_xx_xx_xx/tools/ directory is the best tool for this?


    Yes, ofcourse, you can use the program_evm script.