[meta-freescale] How to write u-boot to flash memory on i.MX6UL

Paul Sievers p.sievers at ms-ag.de
Tue Nov 21 03:12:24 PST 2017


Hi,

I want to boot i.MX6UL from flash memory.

I have an evaluation kit (EVK). I changed the DIP switches to tell it to
boot from flash (either NAND-flash or QuadSPI-NOR-flash). Nothing happens
after power-on with either setting. There is no output on the debug console.

 

How can I write u-boot to flash memory so that I get a u-boot-prompt after
power up?

(Should I use u-boot or linux for this writing?)

 

Best Regards

Paul Sievers

 

Von: Paul Sievers [mailto:p.sievers at ms-ag.de] 
Gesendet: Donnerstag, 16. November 2017 13:37
An: meta-freescale at yoctoproject.org
Betreff: ADT Installer produces bad compiler?

 

Hi,

 

I used the ADT installer to install a cross compiler for an i.MX6UL
processor (with ARM architecture) on my Intel x68_64 VirtualBox-Linux.

 

It ran without problems and produced /opt/poky/1.8 and /home/paul/test-yocto
.

 

I tried to use it on a simple "Hello World" program:

paul at VBox:~/DataExchange/workspace/tt$ source
/opt/poky/1.8/environment-setup-armv5e-poky-linux-gnueabi 

paul at VBox:~/DataExchange/workspace/tt$ arm-poky-linux-gnueabi-gcc  -o "tt"
-L /home/paul/test-yocto/qemuarm/usr/lib  ./src/tt.o

/opt/poky/1.8/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnuea
bi/gcc/arm-poky-linux-gnueabi/4.9.2/ld: cannot find crt1.o: No such file or
directory

/opt/poky/1.8/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnuea
bi/gcc/arm-poky-linux-gnueabi/4.9.2/ld: cannot find crti.o: No such file or
directory

/opt/poky/1.8/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnuea
bi/gcc/arm-poky-linux-gnueabi/4.9.2/ld: cannot find crtbegin.o: No such file
or directory

/opt/poky/1.8/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnuea
bi/gcc/arm-poky-linux-gnueabi/4.9.2/ld: cannot find -lgcc

/opt/poky/1.8/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnuea
bi/gcc/arm-poky-linux-gnueabi/4.9.2/ld: cannot find -lgcc_s

/opt/poky/1.8/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnuea
bi/gcc/arm-poky-linux-gnueabi/4.9.2/ld: cannot find /lib/libc.so.6

/opt/poky/1.8/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnuea
bi/gcc/arm-poky-linux-gnueabi/4.9.2/ld: cannot find
/usr/lib/libc_nonshared.a

/opt/poky/1.8/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnuea
bi/gcc/arm-poky-linux-gnueabi/4.9.2/ld: cannot find /lib/ld-linux.so.3

collect2: error: ld returned 1 exit status

paul at VBox:~/DataExchange/workspace/tt$

 

I tried to fix this with

export LIBRARY_PATH=/home/paul/test-yocto/qemuarm/usr/lib

but it didn't help.

 

What could be wrong?

 

I attached the adt_installer.conf that I used.

 

Best Regards

Paul Sievers

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20171121/ebd292cc/attachment.html>


More information about the meta-freescale mailing list