NAND boot on i.mx6ul evk

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

NAND boot on i.mx6ul evk

791 Views
seyoungkim
Contributor II

Hi. everyone~

I have problem to attach a nand memory on mx6ul evk board

i'v tried as followed instruction.

 How-To use NAND boot on i.MX6UL EVK board 

After yocto build, the u-boot-imx compile has no problem.

but when after replace the "mx6ul_14x14_evk.h" files with attached file, it makes error like this.

>>----------------------------------------------------------------------------------------<<

In file included from ./arch/arm/include/asm/bitops.h:194:0,
from include/linux/bitops.h:123,
from include/common.h:20,
from arch/arm/cpu/armv8/generic_timer.c:8:
include/asm-generic/bitops/__ffs.h: In function '__ffs':
include/asm-generic/bitops/__ffs.h:19:8: warning: right shift count >= width of type [-Wshift-count-overflow]
word >>= 32;
^
{standard input}: Assembler messages:
{standard input}:33: Error: selected processor does not support requested special purpose register -- `mrs r0,cntfrq_el0'
{standard input}:61: Error: selected processor does not support requested special purpose register -- `mrs r0,cntpct_el0'
{standard input}:91: Error: selected processor does not support requested special purpose register -- `mrs r2,cntfrq_el0'
{standard input}:113: Error: selected processor does not support requested special purpose register -- `mrs r3,cntfrq_el0'
scripts/Makefile.build:280: recipe for target 'arch/arm/cpu/armv8/generic_timer.o' failed
make[1]: *** [arch/arm/cpu/armv8/generic_timer.o] Error 1
Makefile:1194: recipe for target 'arch/arm/cpu/armv8' failed
make: *** [arch/arm/cpu/armv8] Error 2

>>----------------------------------------------------------------------------------------<<

my build script is like this.

>>----------------------------------------------------------------------------------------<<

#!/bin/bash
export ARCH=arm
export CROSS_COMPILE=/opt/fsl-imx-x11/4.1.15-2.0.0/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-
make distclean;
make mx6ul_14x14_evk_nand_defconfig;
make

>>----------------------------------------------------------------------------------------<<

Thanks...

 

0 Kudos
1 Reply

537 Views
igorpadykov
NXP Employee
NXP Employee

Hi  seyoung

please verify that correct uboot version used (uboot-imx), like

uboot-imx.git - Freescale i.MX u-boot Tree 

and use sect.1.3.2 Booting with the Modified U-Boot attached Porting Guide.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos