I am trying to port the u-boot and linux for a AT91SAM9G20 based board, which is already running 2.6 kernel.
Have enabled CONFIG_OF_EMBED and encountered FDT_ERR_BADMAGIC (Our board is similar to the EK), I am able to see console prints as my bootstrap code has initialized the serial console.
Attached is the .config for the reference ...
I am following https://www.linux4sam.org/bin/vi...
git clone git://github.com/linux4sam/u-boot-at91.git
def config : at91sam9g20ek_nandflash_defconfig