Nevermind I've found what my issue was, my kernel configuration was using a 
2G/2G memory split whereas the original one was 3G/1G. Apparently ART 
doesn't like that.

By using the pre-built oat files it was working but actually still throwing 
lots of errors at dex2oat was always failing.

Regards,
Gary

On Monday, May 30, 2016 at 11:45:45 PM UTC+2, Gary Bisson wrote:
>
> Hi,
>
> I'm experiencing some weirdness with ART. I've started working on Android 
> M for i.MX Platforms, let me know if you need me to point NXP modification
>
> In the past, on Android 5.0.0 and 5.1.1, I've never had such behavior but 
> this time, if I build a regular engineering image I get the following 
> errors in the logcat (and the system doesn't boot obviously):
> http://pastebin.com/AzadV98Y
>
> The pre-built images provided by NXP are actually user images, so I've 
> tried to build the user image and this latter boots fine. The difference 
> being that WITH_DEXPREOPT is set to true by default on user builds, like 
> for the hammerhead for instance:
>
> https://android.googlesource.com/device/lge/hammerhead/+/master/BoardConfig.mk#80
>
> Going back to engineering build and looking at the logs, it looks like the 
> boot.art is missing under /system/framework which might be the cause of my 
> problems. Does it mean that I must have WITH_DEXPREOPT 
> and WITH_DEXPREOPT_BOOT_IMG_ONLY set to true for engineering builds?
>
> Regards,
> Gary
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to