.. Downloaded and compiled latest u-boot 2011.12 for use with mx28evk according platform readme.
U-boot freezes on ping and tftp -
Are there any additional patches needed ?
Browsing the internet I found 2 problems with patches:
1) warm-start issue from kernel
2) MDIO timeout
Are there any other patches needed ?
The 2008.09 u-boot packaged with evk comes with lots of patches.....
Any hints ?
We use the freescale EVK as well as the final target - somewhat evk clone;-))
FSL kernel worked with patched 2008.09 u-boot - will have a look into that.
Will try the provided patches - and submit my final solution if available.
For some boards I will add serial flash as well.
BTW: Is there some alternate i.mx28 documentation (source) available ?
We already spent some stupid man-month writing our own drivers for safe-rtos - to figure out all odds on the fec endianess expected from dma, to figure out that ocrram as dma target for spi doesn´t work.... ..... benchmarked gpio/abpx bridge timings,....reverse engineered the ptp timing engine..., realizing that some examples in the manual are estimation based on typos never exercised....
I dont´t want to complain - just thank you for the immediate support ;-))))
Anyway, the documentation for that chip defines a new standard on its own..
Maybe there is another, better documented i.mx platform with more consistant documentation, which can be used as co-reference to the i.mx28 stuff ??
m28evk is a board from Denx.
mx28evk is the one from Freescale.
You should use mx28evk_config.
The DMA errors are fixed by this patch:
NAND is supported in m28evk, but not on mx28evk currently.
It should be straightforward to add NAND support for mx28evk though.
Same thing for I2C.
If you have a chance, please add support for NAND and I2C and submit your patches to the U-boot list.
Otherwise I completely failed on adding nand and i2c support to (your) mx28evk config.
Nand probing on u-boot init throws DMA errors, I2C makes hangups (both worked with m28evk config).
I finally ended up using "m28evk" config with board init from your configuration.
Comparing the config files, I still have no clue why nand flash doesn´t work with your config.
Now I have the stuff almost running, kernel freezes at cpufreq init - but there seems to be some evidence for that problem.
Thx for the prompt reply...
Because of the absence of /freescale/mx28_evk, I used m28evk instead (BTW what board is that?, i.mx28 based).
Compared to your config for that board:
CONFIG_MX28_FEC_MAC_IN_OCOTP .... is missing...
Anyway, seems to work with your config...
I have been successfully using mainline U-boot on mx28evk (well, I actually added the support for this board in mainline U-boot ;-)
Can you try the top of tree version from git.denx.de?
Issue 1) I know it is fixed. 2) I have never seen it.
Also, if you still have issues it would be nice to provide your boot log and details to the U-boot mailing list: