Hi,
I have a micron nand flash on custom dm8148 board, which is 4gb but when uboot comes up it detects NAND aswell
but the size detected is 512Mib, how to configure the uboot and linux to say that the NAND flash is 4Gb ?
Thanks & Regards,
Mike
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.
Hi,
what version of you u-boot are you using. I had the same problem with mine on custom board. I was using u-boot 2014.10. The issue was to do with get_board_mem_timings
you need to add the case for correct manufacturer and id which can be obtained from include/linux/mtd/nand.h and drivers/mtd/nand/nand_id.c
Hi,
I am using the ezsdk release from TI. I see that manufacturer and device id is getting detected correctly (2c and dc repsectively {"NAND 512MiB 3,3V 8-bit", 0xDC, 0, 512, 0, LP_OPTIONS}), but when I do nand erase which erases entire chip ,
NAND erase: device 0 whole chip
Erasing at 0x1ffe0000 -- 100% complete.
OK
But it erases only 512Mib, but it should erase 4Gb ?
Am I a missing something ?
Thanks & Regards,
Mike
Hi Mike,
4Gb or 4GB ?
1Gbit = 128MB
So, 4Gbit (4Gb) is equal to 512MB (mega byte) only.
Please refer to the NAND data sheet to know about your size of flash.