AnsweredAssumed Answered

Hello world on IMX6

Question asked by ciaran lequeux on Feb 8, 2019
Latest reply on Feb 11, 2019 by Pavel Chubakov



I'm trying to run "hello world" example from u-boot on imx6 sabre board.


My UBoot is :

U-Boot 2014.10-rc2 (Nov 18 2015 - 17:43:07)

CPU:   Freescale i.MX6Q rev1.2 at 792 MHz
Reset cause: POR
Board: MX6-SabreSD
I2C:   ready
DRAM:  1 GiB


Here is image (elf):

readelf -h examples/standalone/hello_world
ELF Header:
  Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
  Class:                             ELF32
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              EXEC (Executable file)
  Machine:                           ARM
  Version:                           0x1
  Entry point address:               0x12000000
  Start of program headers:          52 (bytes into file)
  Start of section headers:          72660 (bytes into file)
  Flags:                             0x5000202, has entry point, Version5 EABI, <unknown>
  Size of this header:               52 (bytes)
  Size of program headers:           32 (bytes)
  Number of program headers:         2
  Size of section headers:           40 (bytes)
  Number of section headers:         16
  Section header string table index: 13


I take the binary (raw) from tftp :

=> pri loadaddr
=>  tftp 0x12000000 hello_world.bin
Using FEC device
TFTP from server; our IP address is
Filename 'hello_world.bin'.
Load address: 0x12000000
Loading: #
         26.4 KiB/s
Bytes transferred = 630 (276 hex)
=> go 0x12000000
## Starting application at 0x12000000 ...


And nothing.........


Can you help me ?


Thank you