AnsweredAssumed Answered

Porting Android to i.MX6Q Sabre Smart Device

Question asked by ttvu208@gmail.com on Nov 5, 2018
Latest reply on Nov 5, 2018 by ttvu208@gmail.com

Hi,

I am a newbie to i.MX. Now, I am having an i.MX 6Quad SABRE board for Smart Device. I am trying to porting Android. I followed the instruction of flashing boot image to SD card in Android Quick Start Guide.

I tried both android_N7.1.2_2.0.0 and android_M6.0.1_2.1.0 BSP. 

However, after flashing and powering it up, in the terminal window, it always stops with message:

" Disabling non-boot CPUs ...
IRQ17 no longer affine to CPU1
CPU1: shutdown
CPU0: update max cpu_capacity 1024
CPU2: shutdown
CPU0: update max cpu_capacity 1024
CPU3: shutdown
Resume caused by IRQ 51
Enabling non-boot CPUs ...
CPU1 is up
CPU0: update max cpu_capacity 1024
CPU2 is up
CPU2: update max cpu_capacity 1024
CPU3 is up
PM: noirq resume of devices complete after 0.952 msecs
PM: early resume of devices complete after 0.711 msecs
CPU3: update max cpu_capacity 1024
Suspended for 2.180 seconds
PM: resume of devices complete after 14.462 msecs
PM: resume devices took 0.010 seconds
Restarting tasks ... done.
PM: suspend exit 1970-01-01 01:27:25.082531666 UTC
PM: suspend entry 1970-01-01 01:27:25.187583333 UTC
PM: Syncing filesystems ... done.
Freezing user space processes ... (elapsed 0.002 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
Suspending console(s) (use no_console_suspend to debug)"

 

How can I fix this problem?

 

Also in the Android Quick Start Guide, section 3.4.2:  "Booting with single display: HDMI display", user must  set the U-Boot environment variables as shown below:
"U-Boot > setenv bootcmd boota mmc2
U-Boot > setenv bootargs console=ttymxc0,115200 androidboot.console=ttymxc0 consoleblank=0
vmalloc=128M init=/init video=mxcfb0:dev=hdmi,1920x1080M@60,bpp=32 video=mxcfb1:off
video=mxcfb2:off video=mxcfb3:off androidboot.hardware=freescale cma=448M
galcore.contiguousSize=33554432
U-Boot > saveenv
 "
How can I use  U-Boot prompt ? Using terminal window?

 

Thanks,

Outcomes