AnsweredAssumed Answered

Android P9.0.0_2.2.0-ga booting issue with i.MX6 Solo

Question asked by Mamoru Kanou on Apr 4, 2020
Latest reply on Apr 7, 2020 by Mamoru Kanou

Hi community,

 

Has anyone ever booted in 6Solo mode with i.MX6DL SABER-SD?

I am trying to boot android p9 as i.MX6Solo mode using i.MX6DL SABRE-SD board.

But  after booting u-boot, kernel don't boot-up at all.

I think it's okay to fix only u-boot. Is there anything else to set?

Since u-boot mtest command is not a problem, I don't think it's a DDR calibration problem.

 

I proceeded with the following steps.

1) Full build of android p9 BSP and confirmed that it boot normally with i.MX6DL.

2) The uboot_imx DCD table of i.mx6dl has been modified as follows.
The changed file is :

${MY_ANDROID}/android_build/vendor/nxp-opensource/uboot-imx/board/freescale/mx6sabresd/mx6dlsabresd.cfg

 

line# 122, 123

[Before]
DATA 4  0x021b0040 0x00000027
DATA 4  0x021b0000 0x831A0000

             

[After]
DATA 4  0x021b0040 0x00000017
DATA 4  0x021b0000 0x83190000

 

In short, change the following two registers,

- MMDC Core Address Space Partition Register (MMDC1_MDASP)

  CS0_END field =0x17

- MMDC Core Control Register (MMDC1_MDCTL)

  DSIZ field = 1 (32-bit data bus)

 

Boot log :

U-Boot 2018.03-dirty (Apr 04 2020 - 21:02:21 +0900)

CPU:   Freescale i.MX6DL rev1.3 at 792MHz
CPU:   Automotive temperature grade (-40C to 125C) at 46C
Reset cause: POR
Model: Freescale i.MX6 DualLite SABRE Smart Device Board
Board: MX6-SabreSD
DRAM:  512 MiB
PMIC: PFUZE100! DEV_ID=0x10 REV_ID=0x10
MMC:   FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... OK
No panel detected: default to Hannstar-XGA
Display: Hannstar-XGA (1024x768)
In:    serial
Out:   serial
Err:   serial
flash target is MMC:2
Net:
Error: ethernet@02188000 address not set.
No ethernet found.
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot:  0
=> md 21b0040 1
021b0040: 00000017                               ....
=> md 21b0000 1
021b0000: 83190000                               ....
=> boota mmc2
RNG already instantiated 0x40000003
RNG already instantiated 0x40000003
 verify OK, boot 'boot'
kernel   @ 14008000 (10181904)
ramdisk  @ 15000000 (1835263)
fdt      @ 14f00000 (55391)
## Booting Android Image at 0x14007800 ...
Kernel load addr 0x14008000 size 9944 KiB
## Flattened Device Tree blob at 14f00000
   Booting using the fdt blob at 0x14f00000
   XIP Kernel Image ... OK
   Using Device Tree in place at 14f00000, end 14f1085e
switch to ldo_bypass mode!

Starting kernel ...     <== Stay here !!

 

Best Regards,

Kanou

Outcomes