how can uboot 2020 boot in emmc mode on imx6sxsabresd board

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

how can uboot 2020 boot in emmc mode on imx6sxsabresd board

697 Views
jingyangxie
Contributor V

I have an imx6sxsabresd board and want to test the latest BSP5.4. I use yocto to configure the uboot startup mode to emmc mode. After the compilation is completed, after burning with uuu, the serial port keeps outputting "data abort" and "reseting CPU". What's wrong?

 

this is output:


U-Boot 2020.04-5.4.24-2.1.0+g4979a99482 (Sep 07 2020 - 03:41:41 +0000)

CPU: i.MX6SX rev1.2 996 MHz (running at 792 MHz)
CPU: Extended Commercial temperature grade (-20C to 105C) at 44C
Reset cause: POR
Model: NXP i.MX6 SoloX SDB RevB Board
Board: MX6SX SABRE SDB rev@
DRAM: 1 GiB
PMIC: PFUZE100! DEV_ID=0x11 REV_ID=0x21
MMC: FSL_SDHC: 1, FSL_SDHC: 2, FSL_SDHC: 3
Loading Environment from MMC... *** Warning - bad CRC, using default environment

Display: Hannstar-XGA (1024x768)
Video: 1024x768x18
In: serial
Out: serial
Err: serial
switch to partitions #0, OK
mmc3(part 0) is current device
flash target is MMC:3
Net: Could not get PHY for FEC0: addr 1
Could not get PHY for FEC0: addr 1
Get shared mii bus on ethernet@21b4000
data abort
pc : [<bff8c3fa>] lr : [<bff8c4a3>]
reloc pc : [<878283fa>] lr : [<878284a3>]
sp : bdf546f8 ip : 00000020 fp : 00000017
r10: be282dc0 r9 : bdf61ed0 r8 : 00001388
r7 : bdf64fb8 r6 : bdf67088 r5 : 00000000 r4 : 00000218
r3 : 00000010 r2 : 00000007 r1 : bdf64fb8 r0 : f854408b
Flags: nZCv IRQs off FIQs off Mode SVC_32 (T)
Code: b910 f04f 30ff e037 (6ac3) 2b00
Resetting CPU ...

resetting ...

0 Kudos
3 Replies

671 Views
jingyangxie
Contributor V

I have tested BSP5.4.3_1.0, it works!

0 Kudos

691 Views
igorpadykov
NXP Employee
NXP Employee

Hi jingyangxie

 

one can test it with Demo Image i.MX 6QuadPlus, i.MX 6Quad, i.MX 6DualLite, i.MX 6SoloX Boards

Also when building, recheck if correct machine was used, as described in

sect.5.1 Build configurations  i.MX Yocto Project User’s Guide​

 

Best regards
igor

0 Kudos

685 Views
jingyangxie
Contributor V

Hi,igorpadykov

    I downloaded the demo image and burn into emmc,the output is the same.but when I download demo image with BSP 4.9 ,if works.

0 Kudos