Android jb 4.3 port I.MX6 SOC

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

Android jb 4.3 port I.MX6 SOC

1,810 Views
jonathansmyth
Contributor III

Hi guys im porting Android JB4.3 to a custom board that runs i.mx6 soc.

 

when boot android from SD card it gets until the A N D R O I D _ screen and hangs and constantly gives me this...

 

init: untracked pid 2007 exited

init: untracked pid 2031 exited

init: untracked pid 2035 exited

init: untracked pid 2059 exited

init: untracked pid 2063 exited

init: untracked pid 2087 exited

init: untracked pid 2091 exited

init: untracked pid 2116 exited

init: untracked pid 2120 exited

init: untracked pid 2144 exited

init: untracked pid 2148 exited

init: untracked pid 2172 exited

init: untracked pid 2176 exited

init: untracked pid 2200 exited

init: untracked pid 2204 exited

init: untracked pid 2228 exited

init: untracked pid 2232 exited

init: untracked pid 2256 exited

init: untracked pid 2260 exited

init: untracked pid 2284 exited

init: untracked pid 2288 exited

init: untracked pid 2312 exited

init: untracked pid 2316 exited

init: untracked pid 2340 exited

 

and

warning: `zygote' uses 32-bit capabilities (legacy support in use)

 

however my bootargs have taken into account this

 

they are..

 

        use uboot command line:

        console=ttymxc3,115200 login_tty=ttymxc3,115200 mtdparts=gpmi-nand:256k(NBoot)ro,768k(UserDef),256k(Refresh)ro,768k(UBoot)ro,256k(UBootEnv)ro,5888K(Kernel)ro,-(TargetFS) ro init=/init video=mxcfb0:dev=ldb,LDB-WVGA,bpp=32 video=mxcfb1:off fbmem=10M fb0base=0x27b00000 vmalloc=400M androidboot.console=ttymxc3 androidboot.hardware=freescale

        Using machid 0x136e

 

 

i can get into the shell of android and did a logcat but its huge, i have attached.

 

Anyone who can help it would be greatly appreciated!!

 

Thanks Jonathan

Original Attachment has been moved to: logcatAndroid.txt.zip

Labels (2)
0 Kudos
1 Reply

683 Views
jonathansmyth
Contributor III

a thought but im not entirely sure is..in the init.rc file do i need to turn anything off?

import init.${ro.hardware}.usb.rc

on init

    start watchdogd

    # See storage config details at http://source.android.com/tech/storage/

    mkdir /mnt/shell/emulated 0700 shell shell

    mkdir /storage/emulated 0555 root root

    export EXTERNAL_STORAGE /storage/emulated/legacy

    export EMULATED_STORAGE_SOURCE /mnt/shell/emulated

    export EMULATED_STORAGE_TARGET /storage/emulated

reboot

    # Support legacy paths

    symlink /storage/emulated/legacy /sdcard

    symlink /storage/emulated/legacy /mnt/sdcard

    symlink /storage/emulated/legacy /storage/sdcard0

    symlink /mnt/shell/emulated/0 /storage/emulated/legacy

on boot

    # Set permission for IIM node

    symlink /dev/mxs_viim /dev/mxc_mem

    # Set GPS serial and reset GPIO pin

    setprop ro.kernel.android.gps /dev/athrnmea

    setprop persist.gps.oacmode @f

    symlink /dev/ttymxc2 /dev/gpsdevice

    write /sys/class/gpio/export 60

    write /sys/class/gpio/gpio60/direction "out"

    write /sys/class/gpio/gpio60/value 1

    # Enable Tethering in the Settings

    setprop ro.tether.denied false

    # 3D acceleration property

    setprop debug.sf.showfps    0

    setprop debug.sf.enable_hgl 1

    setprop debug.egl.hw 1

    setprop hwc.stretch.filter  1

    setprop hwc.enable_dither   1

    # fsl omx graphic manager media framework property

    setprop media.omxgm.enable-player 1

    setprop media.omxgm.enable-record 1

    setprop media.omxgm.enable-scan 1

    setprop rw.VIDEO_RENDER_NAME video_render.surface

    #Define the config for dual camera

    setprop camera.disable_zsl_mode 1

    #For landscape mode, orient is 0

    #For portrait mode, orient is 90

    #the android before honycomb are all in portrait mode

    setprop back_camera_name ov5640_mipi

    setprop back_camera_orient 0

    setprop front_camera_name uvc,ov5642_camera,ov5640_camera

    setprop front_camera_orient 0

    # Set OpenGLES version

    setprop ro.opengles.version 131072

    # Set rotation to 270 to cofigure as portrait mode

    setprop ro.sf.hwrotation 0

    # Set the density to 160dpi, default 128dpi is not good

    setprop ro.sf.lcd_density 160

# change for FSL specific service

    chown root system /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

    chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

    chown root system /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

    chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

    chown root system /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

    chmod 0664 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

    chown root system /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq

    chmod 0440 /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq

    chown root system /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies

    chown root system /sys/devices/system/cpu/cpu0/online

    chmod 0664 /sys/devices/system/cpu/cpu0/online

    chown root system /sys/devices/system/cpu/cpu1/online

    chmod 0664 /sys/devices/system/cpu/cpu1/online

    chown root system /sys/devices/system/cpu/cpu2/online

    chmod 0664 /sys/devices/system/cpu/cpu2/online

    chown root system /sys/devices/system/cpu/cpu3/online

    chmod 0664 /sys/devices/system/cpu/cpu3/online

    # prepare for ril

    setprop gsm.ril.delay 15

    setprop ro.ril.wake_lock_timeout 300

    # Default backlight device

    setprop hw.backlight.dev "pwm-backlight.0"

    # Chmod/chown FSL specific sys entry

    chown system system /sys/class/backlight/pwm-backlight.0/brightness

    chmod 0660 /sys/class/backlight/pwm-backlight.0/brightness

    # Set light sensor sysfs path and light sensor threshold lux value

    setprop ro.hardware.lightsensor "/sys/class/i2c-dev/i2c-2/device/2-0044/"

    setprop ro.lightsensor.threshold  20

    # No bluetooth hardware present

    setprop wlan.interface wlan0

# mount the debugfs

    mount debugfs none /sys/kernel/debug/

service p2p_supplicant /system/bin/wpa_supplicant \

    -ip2p0 -Dnl80211 -c/data/misc/wifi/p2p_supplicant.conf -N \

    -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf

    class late_start

    disabled

    oneshot

service rtw_suppl_con /system/bin/rtl_wpa_supplicant \

    -ip2p0 -Dnl80211 -c/data/misc/wifi/p2p_supplicant.conf -e/data/misc/wifi/entropy.bin -N \

    -iwlan0 -Dnl80211 -c/data/misc/wifi/wpa_supplicant.conf

    class late_start

    socket wpa_wlan0 dgram 660 wifi wifi

    disabled

    oneshot

service wpa_supplicant /system/bin/wpa_supplicant -iwlan0 -Dnl80211

    -c/data/misc/wifi/wpa_supplicant.conf

    socket wpa_wlan0 dgram 660 wifi wifi

    class late_start

    disabled

    oneshot

# magd daemon

service magd /system/bin/magd

    class main

    user system

    group input

    oneshot

# Orion InG

service ing /system/bin/ingsvcd -c /system/etc/gps/Orion.ini

    socket athrkv9988    stream 666 system system

    socket athrshmsocket stream 666 system system

    socket athrsupl59991 stream 666 system system

    class late_start

    user root

    group gps

    oneshot

on fs

# mount ext4 partitions

    mount_all /fstab.freescale

0 Kudos