U-boot NAND issue on A20-OLinuXino board

Started by pinksnake, December 30, 2016, 02:47:30 PM

Previous topic - Next topic

pinksnake

Hi all,

Someone here has already successful build u-boot with the NAND support ?

I tried several time from different sources (u-boot mainline, sunxi version ...) but i can't access to the NAND from u-boot :

# ECC init failed: -22
# failed to init nand chips

The device-tree is maybe wrong but i'm not sure about that.

If you have some advices, please feel free to share :)

Have a nice day,
Trigger

marc_c

Hi!

My lime2 is an eMMC version. But have you tried the already built u-boot present in olimex official Jessie or in the Armbian release? No need to burn it into NAND to test. Just install the sunxi-fel utilities in your development pc, connect the lime2 to the pc through the USB OTG port (without other external power source) and do:

fel uboot u-boot-spl.bin

You should see u-boot console in a serial terminal.


Cheers