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.
1) Image generation
2) Writing image to partition
Samuel,
I have debugged NAND driver in kernel to support UBIFS. I've not tried u-boot + UBIFS. Why do you need to use filesystem for storing kernel image, rather you can use raw partition and copy it using "nand read" command itself? Are you looking for upgrade support using UBIFS?
Sam,
I don't think wearing of NAND flash can be reduced by keeping uImage in rootfs. Wearing occurs when you perform more erase/write cycles. I don't think read will affect NAND wearing. If you keep uImage in rootfs, you eventually end up reading more NAND pages than the size of uImage.
Sam,
I don't really think its worth taking the pain. Kernel will be at a constant location, and you'll know the approximate size also. So, you can create a partition which is just enough for storing kernel without leaving any free space. So this model will not have a significant difference in terms of wearing.
CONFIG_SYS_MALLOC_LEN