Quantcast
Channel: Altera Forums
Viewing all articles
Browse latest Browse all 19390

DRAM problem U-Boot & customization

$
0
0
Hi everybody,
I hope you're well.

I've been working several days with meta-layer, because I'm working in a custom Altera SoCFPGA board trying to put linux, and I have two questions.
Well my problem by now is when I try to boot with the compiled image from Yocto using bitbake, it stops in DRAM initialization step like in the photo.



Maybe I'm not compiling the right U-Boot? Should I configure any hardware?
I mean... in the U-Boot header I read "U-Boot 2016.05" but the actual branch in
https://github.com/altera-opensource/u-boot-socfpga is based in 2013.01.01 like the preloader. And it looks like a misconfiguration of hardware, so for example I don't have any I2C peripheral and it is trying to configure it until times out.

But in the recipe of altera layer in Yocto. meta-altera/recipes-bsp/u-boot/u-boot-socfpga_2016.05.bb it looks like it's based in a newer version.


Paths in bblayers.conf are set, and in local.conf file I've changed the MACHINE and added the followings lines:
MACHINE = "cyclone5"
PREFERRED_PROVIDER_virtual/kernel = "linux-altera"
PREFERRED_VERSION_linux-altera = "4.6%"
GCCVERSION = "linaro-5.2"
SDKGCCVERSION = "linaro-5.2"
DEFAULTTUNE = "cortexa9hf-neon"
BB_NUMBER_THREADS ?= "8"
PARALLEL_MAKE ?= "-j 8"

Thank you in advance =)
Attached Images

Viewing all articles
Browse latest Browse all 19390

Trending Articles