Hi nxf65025,
I am trying to flash Android-11 Android Automotive flavor in iMX8QM.
Let me make an update. When I tried the below command to flash, I am able to flash the custom android image.
However, when booting up, I am getting below error in dmesg and there is no UI.
//Adb log
[ 1082.571915] init: Control message: Could not find 'aidl/android.hardware.power.IPower/default' for ctl.interface_start from pid: 268 (/system/bin/servicemanager)
//Dmesg
[ 32.346527] android_work: sent uevent USB_STATE=CONFIGURED
[ 33.903990] vref_1v8: disabling
[ 33.907141] epdev_on: disabling
[ 33.910313] SD1_SPWR: disabling
[ 36.534616] init: Control message: Could not find 'aidl/android.hardware.power.IPower/default' for ctl.interface_start from pid:239 (/system/bin/servicemanager)
Could you help me with this? Log is attached
Solved! Go to Solution.
What changes between your custom board and evk?
This error shows that android power HAL hang.
hey @Jose1985 ,
I am working on this board with Android Automotive 11 either, and have issues with booting up the device.
08-31 16:20:42.241 367 367 I display : try dev:/dev/dri/card0
08-31 16:20:42.241 367 367 E display : Failed to set universal plane cap -1
Have you ever faced something like this?
Hello @msopiha ,
I believe your source code is not synced properly.
Could you retry downloading the source code freshly, as per my previous post. It should work seamlesly until and unless your source code is not proper.
The point is that I can't boot that up even using a prebuilt image.
But thanks, I got your point.
Are you downloading the image from https://www.nxp.com/design/software/embedded-software/i-mx-software/android-automotive-os-for-i-mx-a...
I assume that you are using the LVDS-HDMI adapter brought from NXP. Right?
If you this image and if still facing the problem, then the issue is with your display device probably.
Could you try to boot without connecting monitor? If still not, pls share you kernel and adb logs
So, yea, the long story short - first I have verified the device + LVDS connector with a display using an image on SD card (a linux image). That worked correctly.
After that I have downloaded the images - using automotive-11.0.0_1.1.0_image_8qmek2 with LVDS-HDMI adapter from the box.
I am observing an infinite boot animation with colored balls flying over the display.
I have also set bootargs from user guide to enable LVDS-HDMI adapter:
U-Boot > setenv bootargs console=ttyLP0,115200 earlycon androidboot.console=ttyLP0
androidboot.xen_boot=default init=/init androidboot.hardware=nxp androidboot.fbTileSupport=enable
cma=800M@0x960M-0xe00M galcore.contiguousSize=33554432 androidboot.primary_display=imx-drm
firmware_class.path=/vendor/firmware loop.max_part=7 androidboot.vendor.sysrq=1
transparent_hugepage=never video=HDMI-A-2:d androidboot.wificountrycode=CN androidboot.lcd_density=240
And enable permissive SELinux:
U-Boot > setenv append_bootargs androidboot.selinux=permissive
Attaching logs.
I see, but I havent tried automotive-11.0.0_1.1.0_image_8qmek2 yet.
Could you try with automotive-11.0.0_1.1.0_image_8qmek image instead of 11.0.0_1.1.0_image_8qmek2?
And yes, I checked you adb logs. There is nothing suspicious.
Thanks for help!
I have downloaded repo once more - an the board has booted.
Well, I have booted up the image. IT took about 45 minutes to get it up and running. Looks like it was a long initial boot.
Now I am syncing source tree one more time to build the image ant test it again.
Appreciate your help, will post here what I have in a while!
Source code & prebuilt: https://www.nxp.com/webapp/sps/download/license.jsp?colCode=11.0.0_1.1.0_AUTO_SOURCE&appType=file1&D...
You need to register with NXP to access artifacts from above link.
After download will take over (5-10 hours) based on your internet speed. After download is over
OR
hi Jose ,
Have you solved this problem, I have a similar problem with you.
I used prebuilt automotive-11.0.0_2.3.0_image_8qmek_car.tar images, UI stuck on boot screen after flashing the device.
Could you help me with this?
Kind regards!
There is not change in EVK. I just tried the Android image build out of IMXQM android source.
Yes. Android power HAL seems to be not running. I am looking for a solution for the same.
What changes between your custom board and evk?
This error shows that android power HAL hang.