AnsweredAssumed Answered

u-boot issue in Imx6 sabre SD board

Question asked by karthik A S on Aug 29, 2018
Latest reply on Sep 20, 2018 by Diego Adrian Cuevas

Hello.,.,

 

Board Detail : imx6 Sabre SD board (Imx6q processor)

 

I am trying to load standalone program (hello_world.bin) which is available in u-boot source code folder,but after running standalone code board is getting RESET, I have done few modification in u-boot source code

In /arch/arm/config.mk file CONFIG_STANDALONE_LOAD_ADDR has been modified to 0x12000000 

also In include/configs/mx6_common.h CONFIG_LOADADDR has been modified to 0x12000000.

 

I am using SD Card to load bin file to RAM . and using GO command. Can anyone suggest where I am doing mistake, is there any steps I missing.

 

My u-boot command prompt LOG

 

=>
U-Boot SPL 2018.09-rc2-00140-g11ed312-dirty (Aug 29 2018 - 18:25:28 +0530)
Trying to boot from MMC1

 


U-Boot 2018.09-rc2-00140-g11ed312-dirty (Aug 29 2018 - 18:25:28 +0530)

 

CPU:   Freescale i.MX6Q rev1.2 996 MHz (running at 792 MHz)
CPU:   Automotive temperature grade (-40C to 125C) at 43C
Reset cause: POR
Board: MX6-SabreSD
I2C:   ready
DRAM:  1 GiB
PMIC:  PFUZE100 ID=0x10
MMC:   FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... OK
PCI:   pcie phy link never came up
No panel detected: default to Hannstar-XGA
Display: Hannstar-XGA (1024x768)
In:    serial
Out:   serial
Err:   serial
Net:   FEC [PRIME]
Hit any key to stop autoboot:  0
=>
=> fatls mmc 1:2 /
      578   hello_world.bin
            .Trash-1000/

 

1 file(s), 1 dir(s)

 

=> fatload mmc 1:2 0x12000000 hello_world.bin
578 bytes read in 14 ms (40 KiB/s)
=>
=> go 0x12000000 this is test
## Starting application at 0x12000000 ...
undefined instruction
pc : [<12000010>]          lr : [<4ff69bcf>]
reloc pc : [<d989a010>]    lr : [<17803bcf>]
sp : 4f565d48  ip : 0000001c     fp : 00000005
r10: 4ffc44d0  r9 : 4f565ea0     r8 : 4f568938
r7 : 4ff69ba5  r6 : 00000005     r5 : 12000000  r4 : 4f56893c
r3 : 12000000  r2 : 4f56893c     r1 : 4f56893c  r0 : fffff9f6
Flags: nzCv  IRQs off  FIQs off  Mode SVC_32
Code: 41f0e92d 46084605 2400460e f8c6f000 (21094f17)
Resetting CPU ...

 

resetting ...

 

U-Boot SPL 2018.09-rc2-00140-g11ed312-dirty (Aug 29 2018 - 18:25:28 +0530)
Trying to boot from MMC1

 

Thank you.,.,

Outcomes