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.

Linux/TMS320C6678: linux-c6x: how to program kernel image to nand flash mtd partition

Part Number: TMS320C6678

Tool/software: Linux

Hi,

I am using linux-c6x-2.0 at out board.

Here is what we meet now:

1.We use NandFlashWriter.out  and CCS ,If the kernel image is burned to the corresponding offset address, the system starts normally.

2.When the system is boot,we want to use nandwrite command to flash the kernel image.After successful burning and writing, the system can not start normally, and the card is in the "IBL: Booting from NAND" stage.

3.We use od-x command to compare the data of mtd2 partition burned by CCS and nandwrite. We use two methods to burn the data of mtd2 partition. The data in the partition is the same.

4.I have read the link "

http://linux-c6x.org/files/releases/linux-c6x-2.0.0.63/linux-c6x-2.0.0.63-users-guide.pdf

"

From the description in pdf, it is feasible to update the kernel image by burning mtd2 partitions. At the same time, I also tried to upload and write the image of the kernel through the application on the web side, but when I clicked the "write" button, the system prompted me that the detected MTD partition size was 0 and could not be burned.

Here is my questions:

1. How can linux-c6x for c6678 update the kernel image by burning mtd2 partitions? Do you have links or reference commands?

2. Which bin file should be burned correctly? I am writing evmc6678-jffs2.el-hf-dev-cy-20190319.bin now.

3.Does burning NandFlashWriter. out with an emulator load more operations or parse image headers than command-line burning?

Please give me some debugging ideas or suggestions.

Thanks.