AnsweredAssumed Answered

android_M6.0.1_2.1.0 boot failure

Question asked by black huang on Jun 27, 2019
Latest reply on Jul 7, 2019 by Wigros Sun

Dear nxp fae:

            我在使用I.MX6Q是出现以下问题;

系统使用的是android_M6.0.1_2.1.0。下载工具使用的是android_m6.0.1_2.1.0_ga_tool。

板子上使用官方参考的pmic,仅仅是修该了i2c.

uboot:

.scl = {
  .i2c_mode = MX6_PAD_EIM_EB2__I2C2_SCL | I2C_PAD, /*change KEY_COL3   QSHK*/
  .gpio_mode = MX6_PAD_EIM_EB2__GPIO2_IO30 | I2C_PAD,
  .gp = IMX_GPIO_NR(2, 30)
 },
 .sda = {
  .i2c_mode = MX6_PAD_EIM_D16__I2C2_SDA | I2C_PAD,  /*change KEY_ROW3   QSHK*/
  .gpio_mode = MX6_PAD_EIM_D16__GPIO3_IO16 | I2C_PAD,
  .gp = IMX_GPIO_NR(3, 16)
 }

//        .scl = {
//                .i2c_mode = MX6_PAD_KEY_COL3__I2C2_SCL | I2C_PAD,
//                .gpio_mode = MX6_PAD_KEY_COL3__GPIO4_IO12 | I2C_PAD,
//                .gp = IMX_GPIO_NR(4, 12)
//        },
//        .sda = {
//                .i2c_mode = MX6_PAD_KEY_ROW3__I2C2_SDA | I2C_PAD,
//                .gpio_mode = MX6_PAD_KEY_ROW3__GPIO4_IO13 | I2C_PAD,
//                .gp = IMX_GPIO_NR(4, 13)
//       }

 

kernel:

fsl,pins = <
    MX6QDL_PAD_EIM_EB2__I2C2_SCL  0x4001b8b1   
    MX6QDL_PAD_EIM_D16__I2C2_SDA  0x4001b8b1  
   >;
  };

//  pinctrl_i2c2: i2c2grp {
//   fsl,pins = <
//    MX6QDL_PAD_KEY_COL3__I2C2_SCL  0x4001b8b1  
//    MX6QDL_PAD_KEY_ROW3__I2C2_SDA  0x4001b8b1 
//   >;
//  };

 

我已将镜像dd到SD卡中启动。出现binder: 192:192 transaction failed 29189, size 0-0。

设置setenv bootargs console=ttymxc0,115200 init=/init video=mxcfb0:dev=lcd, CLAA-WVGA,if= RGB565,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=256M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=384M androidboot.selinux=disabled androidboot.dm_verity=disabled

 

又出现如下问题:

init: write_file: Unable to write to '/sys/power/state': Invalid argument
init: Service 'media' is being killed...
init: Service 'netd' is being killed...
init: Service 'media' (pid 3559) killed by signal 9
init: Service 'media' (pid 3559) killing any children in process group
init: Service 'netd' (pid 3558) killed by signal 9
init: Service 'netd' (pid 3558) killing any children in process group
init: Starting service 'surfaceflinger'...
init: Service 'surfaceflinger' (pid 3776) killed by signal 11
init: Service 'surfaceflinger' (pid 3776) killing any children in process group
init: Starting service 'netd'...
init: Starting service 'media'...
init: Starting service 'zygote'...
init: Service 'zygote' (pid 3780) killed by signal 11
init: Service 'zygote' (pid 3780) killing any children in process group
init: write_file: Unable to open '/sys/android_power/request_state': No such file or directory

 

我的核心版跟官方开发板主要区别在gpio口的使用上。

 

上述现象都是用过dd到sd卡上启动出现的问题。

 

我尝试用MFG下载到核心板上的emmc。又出现新的问题如下

U-Boot 2015.04-imx_v2015.04_4.1.15_1.0.0_ga+g384e1c1 (Mar 13 2016 - 17:31:03)

CPU:   Freescale i.MX6Q rev1.5 at 792 MHz
CPU:   Temperature 23 C
Reset cause: POR
Board: MX6-SabreSD
I2C:   ready
DRAM:  1 GiB
Can't find PMIC:PFUZE100
initcall sequence 4ff933d8 failed at call 17803708 (err=-19)
### ERROR ### Please RESET the board ###

已将生成的文件放在android_m6.0.1_2.1.0_ga_tool\mfgtools\Profiles\Linux\OS Firmware\files\android\sabresd下

 

问题1:核心板上的i2c修改了,MFG内的相关文件是否也要修改?

问题2:已将androidboot.selinux=disabled androidboot.dm_verity=disabled,主要有啥引起init: Service 'media' is being killed...init: Service 'netd' is being killed...init: Service 'media' (pid 3559) killed by signal 9 ????

附件是启动logo

 

非常希望能够尽快得到您们的回复,对于您们的回复将不胜感激!!!!

Attachments

Outcomes