AnsweredAssumed Answered

Android KK 4.4.2 on IMX6Q Sabresd Board Testing Problem (Ubuntu 14.04)

Question asked by DEENJUNE CHEN on Nov 9, 2014
Latest reply on Aug 5, 2016 by 何继鑫

Dear All,

I have been testing Android KK 4.4.2 on iMX6Q Sabresd board under Ubuntu 14.04 recently and have found a NFS boot problem describe below:

 

1). With Freescale prebuilt images, all SD boot, eMMC boot and NFS boot are working without problem. The Android desktop is entered and I can play around with USB mouse.

2). Then I tried to build new images by my working environment with the default configuration.

     But this time, only SD boot and eMMC boot  work. The NFS boot was failure as console log attached.

     By hte way, in my NFS boot test, I have modified init.rc and init.freescale.rc as mentioned in 'Android_User's_Guide.pdf'.

3). Finally, I tried to use the 'rootfs' of Freescale prebuilt image with my own 'uImage'. And it works magically.

4). The NFS boot environment in the u-boot & in the Ubuntu host are both verified by prebuilt NFS image as describe.

I guess there are some configurations in my image made different from Freescale prebuilt image. 

Would anyone can give some advices/hints on how to debug this problem?

Many thanks for your help in advance.

 

........

Sending DHCP requests ., OK

IP-Config: Got DHCP answer from 0.0.0.0, my address is 192.168.2.120

IP-Config: Complete:

     device=eth0, addr=192.168.2.120, mask=255.255.255.0, gw=192.168.2.1,

     host=192.168.2.120, domain=, nis-domain=(none),

     bootserver=0.0.0.0, rootserver=192.168.2.110, rootpath=

VFS: Mounted root (nfs filesystem) on device 0:13.

Freeing init memory: 252K

<================ Something wrong after this point comparing with the prebuild image.

healthd: wakealarm_init: timerfd_create failed

init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery'

healthd: BatteryTemperaturePath not found

healthd: BatteryTechnologyPath not found

binder: 2312:2312 transaction failed 29189, size 0-0

init: property 'sys.powerctl' doesn't exist while expanding '${sys.powerctl}'

init: powerctl: cannot expand '${sys.powerctl}'

init: property 'sys.sysctl.extra_free_kbytes' doesn't exist while expanding '${sys.sysctl.extra_free_kbytes}'

init: cannot expand '${sys.sysctl.extra_free_kbytes}' while writing to '/proc/sys/vm/extra_free_kbytes'

SELinux: initialized (dev fuse, type fuse), uses genfs_contexts

request_suspend_state: wakeup (3->0) at 13660353004 (1970-01-01 00:00:10.846929335 UTC)

/system/bin/sh: /system/etc/mkshrc[9]: getprop: not found

/system/bin/sh: /system/etc/mkshrc[10]: id: not found

@android:/ # healthd: wakealarm_init: timerfd_create failed

healthd: BatteryTemperaturePath not found

healthd: BatteryTechnologyPath not found

binder: 2376:2376 transaction failed 29189, size 0-0

eth0: no IPv6 routers present

request_suspend_state: wakeup (0->0) at 19246422338 (1970-01-01 00:00:16.432999002 UTC)

init: untracked pid 2388 exited

healthd: wakealarm_init: timerfd_create failed

healthd: BatteryTemperaturePath not found

healthd: BatteryTechnologyPath not found

binder: 2389:2389 transaction failed 29189, size 0-0

request_suspend_state: wakeup (0->0) at 23499009005 (1970-01-01 00:00:20.685586003 UTC)

init: untracked pid 2403 exited

healthd: wakealarm_init: timerfd_create failed

healthd: BatteryTemperaturePath not found

healthd: BatteryTechnologyPath not found

binder: 2405:2405 transaction failed 29189, size 0-0

request_suspend_state: wakeup (0->0) at 28725703342 (1970-01-01 00:00:25.912279673 UTC)

init: untracked pid 2421 exited

healthd: wakealarm_init: timerfd_create failed

healthd: BatteryTemperaturePath not found

healthd: BatteryTechnologyPath not found

binder: 2424:2424 transaction failed 29189, size 0-0

init: critical process 'servicemanager' exited 4 times in 4 minutes; rebooting into recovery mode

SysRq : Emergency Remount R/O

imx2-wdt imx2-wdt.0: Device shutdown: Expect reboot!

Emergency Remount complete

Restarting system with command 'recovery'.

 

<========= As prompt above, system reboot after some retry on 'service manager'

 

U-Boot 2009.08 (Jun 20 2014 - 22:32:42)

 

CPU: Freescale i.MX6 family TO1.2 at 792 MHz

Thermal sensor with ratio = 189

Temperature:   27 C, calibration data 0x5ae5107d

mx6q pll1: 792MHz

mx6q pll2: 528MHz

........

Outcomes