Hi,
I have a freescale iMX6Q-SD board and want to boot it in Android OS.
I download the DEMO image (android_jb4.2.2_1.0.0-ga_image_6qsabresd/eMMC) and boot from eMMC.
I download the image by MFGtools and it succeeds. (boot.img, system.img, recovery.img, u-boot-6q.bin)
When I boot from eMMC (Sandisk), there may be something wrong and no any thing display on HDMI monitor.
Attached file is the log when I boot the kernel.
The u-boot parameter is show:
U-Boot 2009.08 (Apr 18 2013 - 04:20:54)
CPU: Freescale i.MX6 family TO1.2 at 792 MHz
Thermal sensor with ratio = 179
Temperature: 18 C, calibration data 0x56d4d57d
mx6q pll1: 792MHz
mx6q pll2: 528MHz
mx6q pll3: 480MHz
mx6q pll8: 50MHz
ipg clock : 66000000Hz
ipg per clock : 66000000Hz
uart clock : 80000000Hz
cspi clock : 60000000Hz
ahb clock : 132000000Hz
axi clock : 264000000Hz
emi_slow clock: 132000000Hz
ddr clock : 528000000Hz
usdhc1 clock : 198000000Hz
usdhc2 clock : 198000000Hz
usdhc3 clock : 198000000Hz
usdhc4 clock : 198000000Hz
nfc clock : 24000000Hz
Board: i.MX6Q-SABRESD: unknown-board Board: 0x63012 [POR ]
Boot Device: MMC
I2C: ready
DRAM: 1 GB
MMC: FSL_USDHC: 0,FSL_USDHC: 1,FSL_USDHC: 2,FSL_USDHC: 3
In: serial
Out: serial
Err: serial
Found PFUZE100! deviceid=10,revid=11
Net: got MAC address from IIM: 00:04:9f:02:b2:f9
FEC0 [PRIME]
Hit any key to stop autoboot: 0
MX6Q SABRESD U-Boot > printenv
bootdelay=3
baudrate=115200
ipaddr=192.168.1.103
serverip=192.168.1.101
netmask=255.255.255.0
loadaddr=0x10800000
rd_loadaddr=0x11000000
netdev=eth0
ethprime=FEC0
fastboot_dev=mmc3
bootcmd=booti mmc3
splashimage=0x30000000
splashpos=m,m
lvds_num=1
ethact=FEC0
stdin=serial
stdout=serial
stderr=serial
Environment size: 301/8188 bytes
Can anyone help me to solve this problem or give me some hint?
Thanks.
Original Attachment has been moved to: boot.log.zip
已解决! 转到解答。
Hi Cloud,
There's no need to modify the kernel and re-build it, the only thing you have to do is to modify the sleep time. When the board is boot up and android is running, you can modify the sleep time in the setting option.
Have a great day~~
Best Regards
Dan
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Dan,
I deeply appreciate your help. It works now.
My bootargs setting is
bootargs=console=ttymxc0,115200 init=/init video=mxcfb0:dev=hdmi,1920x1080@30,if=RGB24,bpp=32 video=mxcfb1:off video=mxcfb2:off fbmem=20M vmalloc=400M androidboot.console=ttymxc0 androidboot.hardware=freescale
The HDMI monitor can display the "android" logo.
But I still have the same problem.
ehci_fsl_bus_resume begins, Host 1
ehci_fsl_bus_resume ends, Host 1
ehci_fsl_bus_resume begins, DR
ehci_fsl_bus_suspend begins, Host 1
ehci_fsl_bus_suspend ends, Host 1
init: sys_prop: permission denied uid:1003 name:service.bootanim.exit
request_suspend_state: sleep (0->3) at 34296705341 (1970-01-02 00:26:36.472643671 UTC)
mma enable setting inactive
PM: Syncing filesystems ... done.
PM: Preparing system for mem sleep
suspend: start 1 suspend...
suspend: finish 1 suspend after:0.2602667 seconds...
Freezing user space processes ... (elapsed 0.01 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
PM: Entering mem sleep
Suspending console(s) (use no_console_suspend to debug)
The system still enter sleep mode.
Do you know how to modify the sleep time?
Should I modify kernel and re-build it?
Thanks for your reply.
Best Regards,
Cloud
Hi Cloud,
There's no need to modify the kernel and re-build it, the only thing you have to do is to modify the sleep time. When the board is boot up and android is running, you can modify the sleep time in the setting option.
Have a great day~~
Best Regards
Dan
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Dan,
Thanks for your reply.
I still cannot work now. After the system boot up and Monitor show "android" logo, it will suspend in serveral second later.
I don't make sure how to set sleep time in the setting option.
There is no board in my hand now. I will try after I get it again.
Anyway, thanks for your help.
Best Regards,
Cloud
Hi Cloud,
When the android is running on your board, you can modify the sleep time in the setting option. This option is as our IPAD or iPhone.
When you have board aside, if problem still exists contact me. Once you give me reply I can receive.
Best Regards
Dan
Hi Dan,
I connect the uart serial port and using a terminal application (ex. Teraterm).
The uart console can send command to u-boot.
My u-boot setting is :
MX6Q SABRESD U-Boot > printenv
bootdelay=3
baudrate=115200
ipaddr=192.168.1.103
serverip=192.168.1.101
netmask=255.255.255.0
loadaddr=0x10800000
rd_loadaddr=0x11000000
netdev=eth0
ethprime=FEC0
fastboot_dev=mmc3
bootcmd=booti mmc3
splashimage=0x30000000
splashpos=m,m
lvds_num=1
ethact=FEC0
stdin=serial
stdout=serial
stderr=serial
Environment size: 301/8188 bytes
Best Regards,
Cloud
Hi Cloud,
I have seen your boot.log file, and I can see that the android system is running on your board. As the sleep time is too short by default setting so when your board boot up and then quickly go to sleep mode. The good method to the avoid this is to modify the sleep time when your board boot up. Also the default display is LVDS, so if you want to display on HDMI you have to set the u-boot first.
Best Regards
Dan
Hi Cloud,
I have tried with display on HDMI, as u-boot environment settings are as below:
MX6Q SABRESD U-Boot > print
bootdelay=3
baudrate=115200
ipaddr=192.168.1.103
serverip=192.168.1.101
netmask=255.255.255.0
loadaddr=0x10800000
rd_loadaddr=0x11000000
netdev=eth0
ethprime=FEC0
splashimage=0x30000000
splashpos=m,m
lvds_num=1
fastboot_dev=mmc3
bootcmd=booti mmc3
ethact=FEC0
bootargs=console=ttymxc0,115200 init=/init video=mxcfb0:dev=hdmi,1920x1080M@60 video=mxcfb1:off video=mxcfb2:off fbmem=10M vmalloc=400M androidboot.console=ttymxc0 androidboot.hardware=freescale
stdin=serial
stdout=serial
stderr=serial
Environment size: 496/8188 bytes
Would you please try to set your display on HDMI as I attached above? Any questions contact me.
Best Regards
Dan
Dear Cloud Wu,
Thank you for your post, however please consider moving it to the right community place for better visibility.
For details please see general advice https://community.freescale.com/docs/DOC-99909
Thank you for using Freescale Community.
Regards,
Wlodek_D.