Hi,
I want to make custom board base on EVMK2E. On EVMK2E ,having 512MB Nand flash. I want to use larger memory size of flash on my board.
Do I need to modify anything on SDK or Linux system? Or u-boot will automatically detect?
Best Regards
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,
I want to make custom board base on EVMK2E. On EVMK2E ,having 512MB Nand flash. I want to use larger memory size of flash on my board.
Do I need to modify anything on SDK or Linux system? Or u-boot will automatically detect?
Best Regards
Hi, WD,
I would think the changes in u-boot will be the driver for the NAND chip which is provided by NAND chip vendor and the partition change in device tree. The u-boot environment variable may not need to change, but you may want to check it to be sure nothing is size or partition related.
Rex
Hi,Rex
I'm not familiar with u-boot and device tree source code. Could you show me which file or symbol I need to modify?
For example , I want to change 512MB to 1GB on NAND flash with same chip vendor. What I need to do on detail?
Or have any document for this modification?
Sorry for that I'm not good at the driver of Linux.
Best Regards
WD
Hi, WD,
The driver code is per vendor which we don't have info. You may want to search in flash vendor's website. If it has been out on market for a while, the vendor may have it upstreamed, If it has been upstreamed, usually you just need to enabled it in KConfig. If not, vendor's readme document will have instruction on how to install it.
you can search nand in device tree to locate where the partition layout is. Documentation on its definition is in device tree binding folder linux/Documentations/devicetree/binding.
Rex
Hi,Rex
Thanks for the information you share.
Maybe I am not make my purpose clear.
My purpose to expand NAND flash is that my Linux OS is too large for 512MB, I need to change NAND flash size for burning my OS into flash.
I will also plan to use the same NAND vendor with EVMK2E - Micron.
So if you know more detail, could you show me please?
Best Regards
WD
Hi, WD,
I don't see any code in u-boot related to the NAND size except the dts file. I also searched internet and nothing is mentioned specifically on changing the u-boot code, but partitions. The vendor driver code would handle it I assume because u-boot is open source code. There are different parts of the same device from the vendor. Each have its own driver if they are not the same family. If they are, the driver would be able to address it.
Rex