imx6 jb4.2.2_1.0.0-ga boot problem

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

imx6 jb4.2.2_1.0.0-ga boot problem

2,001 Views
thomasbn
Contributor I

Hi,

 

I'm trying to run the new android release on a imx6 sabreSD board.

I'm using the release from here: https://community.freescale.com/docs/DOC-94798

 

I have tried several ways:

  - The prebuilt from freescale for the SDcard.

  - The prebuilt from freescale for the NFS.

  - Build the AOSP and boot the result via NFS.

 

For all of them, I'm always stuck at the boot animation.

 

It seems there are some problems related to the android framework, but I don't really understand them.

I attached two logcat files, one for the sdcard case and another for the nfs case (both from prebuilt).

After theses errors/failures, all the services are restarted and the same errors show up again.

The following logcat command have been used:  logcat *:E

 

If it can help, I followed the "User_Guide" documentation and my uboot environment is something like:

 

SD:

setenv bootcmd booti mmc2

setenv bootargs console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:off video=mxcfb2:off fbmem=10M fb0base=0x27b00000 vmalloc=400M androidboot.console=ttymxc0 androidboot.hardware=freescale

 

NFS:

setenv serverip 192.168.16.25

setenv bootfile uImage-android-jb

setenv nfsroot /opt/rootfs/imx6jb-pre

setenv bootcmd 'dhcp;bootm'

setenv bootargs console=ttymxc0,115200 init=/init ip=dhcp nfsroot=${serverip}:${nfsroot} video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:off video=mxcfb2:off fbmem=10M fb0base=0x27b00000 vmalloc=400M androidboot.console=ttymxc0 androidboot.hardware=freescale

 

Thanks for your help,

Kind regards.


Original Attachment has been moved to: logcat.nfs.zip

Original Attachment has been moved to: logcat.sdcard.zip

Labels (2)
0 Kudos
6 Replies

909 Views
LeonardoSandova
Specialist I

Have you built the images or are you using the demo ones? In case you are using the demo ones, please try flashing the the eMMC first, then boot either with SD or NFS. Let us know the result.

Leo

909 Views
thomasbn
Contributor I

Hi Leonardo,

First, thanks for your support.

I did both (prebuild and build) and tried via SD and NFS.

I tried to flash the eMMC with the prebuild, using Mfgtools, and it works.

I'm still stuck with theses errors for the NFS. The same method works for ICS, so I think there is

something new in Jelly Bean to boot via NFS.

On an unrelated topic, did you had any problems with the hannstar HSD100PXN1 (screen from the imx53 sabre tablet) with android ? For my case, I have serious problems with it: random kernel/user space errors appear and the system hang up. It's maybe an hardware problem. Do you have any software to check the hardware integrity of the sabreSD (Rev C2) board ?

Thanks,

Kind regards.

0 Kudos

909 Views
YixingKong
Senior Contributor IV

Thomasbn

Please click Correct Answer/Helpful Answer, if your any question has been answered.

Thanks,

Yixing

0 Kudos

909 Views
LeonardoSandova
Specialist I

Hi Thomas.

Your NFS problem will be queried internally. For the screen's issue, could you please post it on a new Discussion thread? Make sure to post logs. For your last question, I do not know any software to check hardware.

0 Kudos

909 Views
ManoharChinnadu
Contributor III

I tried with both demo images and prebuilt images, with both the images it fails with same error:

---------------------------------------------------

I/SurfaceFlinger( 2228): Using composer version 1.1

W/SurfaceFlinger( 2228): no suitable EGLConfig found, trying without EGL_FRAMEBUFFER_TARGET_ANDROID

E/SurfaceFlinger( 2228): HWComposer: framebufferTarget is null

......

--------------------------------------------------

Note: the boot arguments are same as mentioned by Thomasbn.

SDCARD partition: sudo  ./device/fsl/common/tools/fsl-sdcard-partition.sh /dev/sdc


0 Kudos

909 Views
LeonardoSandova
Specialist I

Do you observe the same behaviour for images flashed with Manufacturing tool (use the one inside the android's tools folder)? BTW, the MFG tool uses a similar script (MX6Q_UPDATER/Profiles/MX6Q\ Linux\ Update/OS\ Firmware/mksdcard-android.sh.tar), but the one you use is the correct one when flashing from a Linux Host.

Leo

0 Kudos