[U-Boot] adding NAND support for omap4 (based on pandaboard)

Gupta, Pekon pekon at ti.com
Mon Dec 2 19:32:07 CET 2013


>From: Abraham V. [mailto:abraham.varricatt at vvdntech.com]
>
>4. At this point we'll get some complaints about missing static
>definitions, so apply the following patch to add them in the common
>configuration file;
>
>diff --git a/include/configs/omap4_common.h b/include/configs/omap4_common.h
> 
These should go into your include/configs/your_board.h ?
Please don't add anything board specific into omap4_common.
Example: NAND device parameter (pagesize, blocksize, eccscheme)...
are based on NAND device present on your board. It would not be
present on all OMAP4 boards, so such CONFIGS should be local your_board.h

[...]

>
>The following edit is also needed in the panda configuration file (it
>won't work from the common file as the panda configuration will
>over-ride it)
>
You should not include omap4_panda.h.
Rather make a copy of it, and then make local modifications for your board.
Otherwise it would break u-boot for other omap4_panda users..

[...]

>And at this point, I encounter the same error I mentioned last time
>(output below). Quite frankly, I'm stuck on how to proceed. I
>*suspect* that the SPL build has some extra configuration file where I
>need to mention the NAND support, but am not sure where to look. :(
>
[...]
>Help?
>
If you can wait till next week may be I can get you patches for NAND on
OMAP4 and OMAP5, which you can test on your hardware and ack..
This is on my to-do list.. and I'm currently working on something similar.

>
>PS: Sorry about the HTML in my last reply. Hope this is better?
> 
No issues, thanks ...


with regards, pekon


More information about the U-Boot mailing list