Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: pinksnake on December 30, 2016, 02:47:30 PM

Title: U-boot NAND issue on A20-OLinuXino board
Post by: pinksnake on December 30, 2016, 02:47:30 PM
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
Title: Re: U-boot NAND issue on A20-OLinuXino board
Post by: marc_c on January 18, 2017, 04:16:08 PM
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