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/PROCESSOR-SDK-OMAPL138: u-boot (process-sdk-omapl138) / nand boot

Part Number: PROCESSOR-SDK-OMAPL138
Other Parts Discussed in Thread: OMAPL138

Tool/software: Linux

Dear,

My sdk flatform is PROCESSOR-SDK-LINUX-OMAPL138 (4.0.0)

I want to write u-boot & kernel & root-filesystem to nand flash.

At Linux Core U-boot User's Guide, To use nand use commands of 'mtdparts', 'nand erase.part', 'nand write'.

But,  'U-boot' of omapl138 have a problem of MTD.

'mtdparts' command make blow messages (have none mtd information).

For reference, mtd on Linux looks fine like blow.

How to use nand for u-boot & kernel in omapl138-lcdk?

How to add nand mtd partition to u-boot of omapl138-lcdk?

thanks.

Addittion

--------------------------- blow (u-boot) : problem ---------------------------

=> mtdparts
mtdids not defined, no default present

--------------------------------- blow (linux) : OK ------------------------------

root@omapl138-lcdk:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00020000 00020000 "u-boot env"
mtd1: 00080000 00020000 "u-boot"
mtd2: 1ff60000 00020000 "free space"