Android Nougat Bootanimation goes blank

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

Android Nougat Bootanimation goes blank

4,509 Views
manjunathjoshi
Contributor V

Hello All,

I have a custom board with 800x480 resolution lvds connected. I see 4 tux logo coming up as soon as kernel boots. But the bootanimation is blank.

I see the bootanimation when it is connected to HDMI. What might be the issue?

below are the bootargs :

LVDS:

setenv bootargs 'console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,LDB-WVGA,fbpix=RGB32, bpp=32 fbmem=28M fb0base=0x27b00000 vmalloc=400M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=448M buildvariant=user androidboot.storage_type=emmc androidboot.selinux=permissive androidboot.dm_verity=disable'

HDMI:

setenv bootargs 'console=ttymxc0,115200 init=/init video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24 bpp=32 gpumem=512 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=448M buildvariant=user androidboot.storage_type=emmc androidboot.selinux=permissive androidboot.dm_verity=disable vmalloc=400M'

15 Replies

3,370 Views
diegoadrian
NXP Employee
NXP Employee

Hello

Can you, please, share the log:

 

$ cat /sys/class/graphics/fb0/blank

$ fbset

 

Furthermore, are you using a custom board or are you using one our boards?

Best Regards,

Diego

0 Kudos
Reply

3,370 Views
manjunathjoshi
Contributor V

Hello Diego,

Sorry for the delayed response. I have made some progress and let you know the exact cause soon.

Regards,

Manju

0 Kudos
Reply

3,370 Views
manjunathjoshi
Contributor V

It seems the issue is with the name. If we replace name from imx6qdl-sabresd.dtsi to any other name xxx.dtsi, screen goes blank.

Need to know from Freescale side what is the dependency on the dtsi name.

However content remains same for both.

3,370 Views
diegoadrian
NXP Employee
NXP Employee

Hello,


I will need to escalate your problem. Because probably, the error is in our device tree.


Can you please specify which i.MX6 are you using?


Best Regards,

Diego.

0 Kudos
Reply

3,370 Views
manjunathjoshi
Contributor V

Hello Diego,

I am using imx6 quad plus.

Thanks and regards,

Manju

0 Kudos
Reply

3,370 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

I have some questions.

Why do you have one channel disabled in the dtb?

Did you also change the driver for the LDVS?

Furthermore, check this community thread, probably can help you with your problem.

https://community.nxp.com/thread/320994 

Best Regards,

Diego.

0 Kudos
Reply

3,370 Views
manjunathjoshi
Contributor V

Hello Diego,

Answering your questions:

1. Even if i enable another channel it does not make a difference. I thought i should isolate.

2. I have added the LDB-WVGA resolution in mxc_lcdif.c. Apart from that i have not done anything in the driver.

I will check with the link.

Regards,

Manju

0 Kudos
Reply

3,370 Views
manjunathjoshi
Contributor V

Hello Diego,

The lvds panel is still not brought up. Any more suggestions?

Regards,

Manju

0 Kudos
Reply

3,370 Views
manjunathjoshi
Contributor V

Hello Diego,

We made a separate setup and tried the following.

Build same uboot for linux.

Build same kernel for linux.

Use yocto based rootfs.

When we tried booting, we see exact same issue.

We don't see "yocto" on the display. If i boot 3.10 kernel i see the yocto logo properly.

Now it is segregated that it is related to kernel 4.9

Any suggestions?

Regards,

Manju

0 Kudos
Reply

3,370 Views
manjunathjoshi
Contributor V

Hello Diego,

I have probed and it seems the clock goes completely null after the kernel boot up.

To answer your question:

I see the tux symbol when kernel boots up. As soon as the kernel finishes and the init scripts start, the clock to lvds goes low. A white screen appears because of no clock. It is like resetting the display without re-initializing.

I do not see bootanimation part and the android home screen after that.

Thanks for help.

0 Kudos
Reply

3,370 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

You only not see the boot animation or your displays is always blank?

Best Regards,

Diego

0 Kudos
Reply

3,370 Views
manjunathjoshi
Contributor V

Hello Diego,

Nope . It does not work.

To make a better understanding, i thought of having the kernel debug logs and below is the log,

when screen is proper (during kernel boot)


mxc_sdc_fb fb@0: registered mxc display driver ldb
Reconfiguring framebuffer
Reconfiguring framebuffer on the fly
------------[ cut here ]------------
WARNING: CPU: 0 PID: 1 at drivers/clk/clk.c:594 clk_disable+0x28/0x34
Modules linked in:
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.9.17-svn30 #12
Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[<c0110e4c>] (unwind_backtrace) from [<c010ca80>] (show_stack+0x10/0x14)
[<c010ca80>] (show_stack) from [<c0be6f60>] (dump_stack+0x80/0x94)
[<c0be6f60>] (dump_stack) from [<c0134d84>] (__warn+0xec/0x104)
[<c0134d84>] (__warn) from [<c0134e94>] (warn_slowpath_null+0x20/0x28)
[<c0134e94>] (warn_slowpath_null) from [<c052312c>] (clk_disable+0x28/0x34)
[<c052312c>] (clk_disable) from [<c0505cec>] (mxcfb_set_par+0x2e8/0xed4)
[<c0505cec>] (mxcfb_set_par) from [<c04e3790>] (fbcon_init+0x5ac/0x5f8)
[<c04e3790>] (fbcon_init) from [<c056d7ec>] (visual_init+0xc0/0x108)
[<c056d7ec>] (visual_init) from [<c056f8ec>] (do_bind_con_driver+0x22c/0x488)
[<c056f8ec>] (do_bind_con_driver) from [<c05704ac>] (do_take_over_console+0x320/0x4a0)
[<c05704ac>] (do_take_over_console) from [<c04e3860>] (do_fbcon_takeover+0x84/0xe0)
[<c04e3860>] (do_fbcon_takeover) from [<c0158ae4>] (blocking_notifier_call_chain+0x74/0x98)
[<c0158ae4>] (blocking_notifier_call_chain) from [<c04ebb28>] (register_framebuffer+0x21c/0x2dc)
[<c04ebb28>] (register_framebuffer) from [<c0504630>] (mxcfb_register+0x1fc/0x3c8)
[<c0504630>] (mxcfb_register) from [<c0509648>] (mxcfb_probe+0x878/0xf6c)
[<c0509648>] (mxcfb_probe) from [<c05c3c1c>] (platform_drv_probe+0x4c/0xb0)
[<c05c3c1c>] (platform_drv_probe) from [<c05c1e60>] (driver_probe_device+0x234/0x2e0)
[<c05c1e60>] (driver_probe_device) from [<c05c1fb8>] (__driver_attach+0xac/0xb0)
[<c05c1fb8>] (__driver_attach) from [<c05bfcfc>] (bus_for_each_dev+0x7c/0xc0)
[<c05bfcfc>] (bus_for_each_dev) from [<c05c142c>] (bus_add_driver+0x1a4/0x21c)
[<c05c142c>] (bus_add_driver) from [<c05c2c10>] (driver_register+0x8c/0x110)
[<c05c2c10>] (driver_register) from [<c0101874>] (do_one_initcall+0x50/0x194)
---[ end trace a7088f939fbf27d6 ]---
allocated fb @ paddr=0x2A100000, size=1536000.
pixclock = 38000000l Hz
Y wrap disabled
Y wrap disabled
Update complete
Console: switching to colour frame buffer device 100x30
Y wrap disabled
Update complete
Reconfiguring framebuffer
Reconfiguring framebuffer on the fly
allocated fb @ paddr=0x2A300000, size=921600.

imx-sdma 20ec000.sdma: no iram assigned, using external mem
imx-sdma 20ec000.sdma: loaded firmware 3.3
pfuze100-regulator 0-0008: Full layer: 2, Metal layer: 1
pfuze100-regulator 0-0008: FAB: 0, FIN: 0
pfuze100-regulator 0-0008: pfuze100 found.

During the init sequence of Android

EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: barrier=1
EXT4-fs (mmcblk2p10): Ignoring removed nomblk_io_submit option
EXT4-fs (mmcblk2p10): recovery complete
EXT4-fs (mmcblk2p10): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,noauto_da_alloc,errors=panic
EXT4-fs (mmcblk2p4): Ignoring removed nomblk_io_submit option
EXT4-fs (mmcblk2p4): recovery complete
EXT4-fs (mmcblk2p4): mounted filesystem with ordered data mode. Opts: nomblk_io_submit
EXT4-fs (mmcblk2p5): mounted filesystem with ordered data mode. Opts: (null)
file system registered
using random self ethernet address
using random host ethernet address
zram0: detected capacity change from 0 to 314572800
logd.auditd: start
logd.klogd: 8826233334
Adding 307196k swap on /dev/block/zram0.  Priority:-1 extents:1 across:307196k SS
binder: 271:271 transaction failed 29189, size 0-0
logd.daemon: reinit
sm_m2and:/ # ERROR: v4l2 capture: slave not found!
healthd: No battery devices found

Reconfiguring framebuffer
Reconfiguring framebuffer on the fly
Y wrap disabled
ts = 10803071001
ts = 10819532667
Y wrap disabled
Update complete
Y wrap disabled
Update complete
Y wrap disabled
Update complete
init: Starting service 'bootanim'...
blank = 0
ts = 11428570001ts = 11445026667
Updating SDC DISP4 BG buf 0 address=0x2AB66000
ts = 11461482001ts = 11477947001
ts = 11494407001ts = 11510866667
ts = 11527328667ts = 12745389001
Updating SDC DISP4 BG buf 1 address=0x2A9EF000
ts = 12761846001ts = 12778308334
ts = 12794774001ts = 12811229334
ts = 12827694667ts = 12844149334
Updating SDC DISP4 BG buf 2 address=0x2A408280
ts = 13601327001
ts = 13617779334
ts = 13634246668
ts = 13650703668
ts = 13667162668
ts = 13683624668
ts = 13700085001Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
capability: warning: `main' uses 32-bit capabilities (legacy support in use)
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
init: write_file: Unable to open '/sys/devices/system/cpu/cpufreq/interactive/timer_rate': No such file or directory
init: write_file: Unable to open '/sys/devices/system/cpu/cpufreq/interactive/min_sample_time': No such file or directory
init: write_file: Unable to open '/sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load': No such file or directory
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
random: crng init done
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
init: write_file: Unable to open '/proc/sys/vm/extra_free_kbytes': No such file or directory
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
init: write_file: Unable to write to '/config/usb_gadget/g1/UDC': No such device
init: write_file: Unable to write to '/config/usb_gadget/g1/UDC': No such device
acc_open
acc_release
Updating SDC DISP4 BG buf 2 address=0x2A408280
Generic PHY 2188000.ethernet:05: attached PHY driver [Generic PHY] (mii_bus:phy_addr=2188000.ethernet:05, irq=-1)
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
init: Service 'bootanim' (pid 362) exited with status 0
Updating SDC DISP4 BG buf 0 address=0x2A57F280
init: Starting service 'exec 3 (/system/bin/bootstat)'...
init: Service 'exec 3 (/system/bin/bootstat)' (pid 937) exited with status 0
init: Starting service 'exec 4 (/system/bin/bootstat)'...
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
init: Service 'exec 4 (/system/bin/bootstat)' (pid 946) exited with status 0
init: Starting service 'exec 5 (/system/bin/bootstat)'...
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
init: Service 'exec 5 (/system/bin/bootstat)' (pid 951) exited with status 0
init: Starting service 'exec 6 (/system/bin/bootstat)'...
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
init: Service 'exec 6 (/system/bin/bootstat)' (pid 955) exited with status 0
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
ts = 34637592337ts = 34654067670
ts = 34670514670ts = 34686984337
ts = 34703441337ts = 34719899003
ts = 34736352003ts = 34752819337
ts = 34769273670ts = 34785728670
ts = 34802202670ts = 34818650337
ts = 34835185670ts = 34851584337
ts = 34868044670ts = 34884498670
ts = 34900950337ts = 34917409003
ts = 34933870003ts = 34950326337
ts = 34966785670ts = 34983251003
ts = 34999708670ts = 35016170670
ts = 35032632337ts = 35049088337
Updating SDC DISP4 BG buf 0 address=0x2A57F280
ts = 35065548337Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
ts = 37011682337Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
ts = 37044563337Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
ts = 37077459337Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
ts = 37110397004
Updating SDC DISP4 BG buf 0 address=0x2A57F280
ts = 37124244670
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
ts = 37140701004
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
ts = 40415156004Updating SDC DISP4 BG buf 2 address=0x2A408280
ts = 40431605671
ts = 40448064004ts = 40464533671
ts = 40480984671ts = 40497443337
ts = 40513903337ts = 46176248005
ts = 46192702338ts = 46209163338
ts = 46225626671ts = 46242083338
ts = 46258545338ts = 46275004671
ts = 46291465671ts = 46307924005
ts = 46324385338ts = 46340845338
ts = 46357307338ts = 46373765671
ts = 46390226338ts = 46406686671
ts = 46423146671ts = 46439607338
ts = 46456068338ts = 46472527338
ts = 46488988338ts = 46505449338
ts = 46521908671ts = 46538368671
ts = 46554829005ts = 46571289338
ts = 46587750338ts = 46604210005
ts = 46620670671ts = 46637130338
ts = 46653591005ts = 46670052338
ts = 46686512338ts = 46702971005
ts = 46719432005ts = 46735891338
ts = 48167948005Updating SDC DISP4 BG buf 0 address=0x2A57F280
ts = 48184399338ts = 48200864005
ts = 48217320005ts = 48233784338
ts = 48250240672ts = 48266705005
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
Updating SDC DISP4 BG buf 2 address=0x2A408280
Updating SDC DISP4 BG buf 0 address=0x2A57F280
Updating SDC DISP4 BG buf 1 address=0x2A6F6280
blank = 4
PM: suspend entry 1970-01-01 00:01:16.405127671 UTC
PM: Syncing filesystems ... done.
Freezing user space processes ... PM: Wakeup pending, aborting suspend
last active wakeup source: PowerManagerService.Broadcasts
Freezing of tasks aborted after 0.009 seconds
Restarting tasks ... done.
PM: suspend exit 1970-01-01 00:01:16.480622671 UTC
PM: suspend entry 1970-01-01 00:01:16.580767671 UTC
PM: Syncing filesystems ... done.
Freezing user space processes ... (elapsed 0.002 seconds) done.
Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
Suspending console(s) (use no_console_suspend to debug)

0 Kudos
Reply

3,370 Views
diegoadrian
NXP Employee
NXP Employee

Hello

Are you using our Android BSP?

Best Regards,

Diego.

0 Kudos
Reply

3,370 Views
manjunathjoshi
Contributor V

Hello Diago,

I am using latest nougat 7.1.2 release from NXP.

To give you more info,

dtsi file looks like below:

 mxcfb1: fb@0 {
                compatible = "fsl,mxc_sdc_fb";
                disp_dev = "ldb";
                 interface_pix_fmt = "RGB666";
                mode_str ="LDB-WVGA"; /* 800*480 Resolution */
                default_bpp = <16>;
                int_clk = <0>;
                late_init = <1>;
                status = "disabled";
        };

&ldb {
        status = "okay";

        lvds-channel@0 {
                fsl,data-mapping = "spwg";
                fsl,data-width = <18>;
                status = "okay";
                crtc = "ipu2-di0";
                primary;
                display-timings {
                        native-mode = <&timing0>;
                        timing0:atm0700l6l {
                                clock-frequency = <38000000>;
                                hactive = <800>;
                                vactive = <480>;
                                hback-porch = <46>;
                                hfront-porch = <210>;
                                vback-porch = <23>;
                                vfront-porch = <12>;
                                hsync-len = <10>;
                                vsync-len = <10>;
                        };
                };
        };

        lvds-channel@1 {
                fsl,data-mapping = "spwg";
                fsl,data-width = <18>;
                status = "disabled";
                display-timings {
                        native-mode = <&timing1>;
                        timing1: hsd100pxn1 {
                                clock-frequency = <32000000>;
                                hactive = <800>;
                                vactive = <480>;
                                hback-porch = <46>;
                                hfront-porch = <410>;
                                vback-porch = <12>;
                                vfront-porch = <23>;
                                hsync-len = <10>;
                                vsync-len = <10>;
                        };
                };
        };
};

besides, i have added the configuration in mxc_lcdif.c.

To compare it with SABRESD,

4 tux logos : Coming on diplay

Android_ : Not seen

Android boot animation : Not seen.

I also observe that immediately as the init scripts are loaded the display goes blank.

snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 00:04:18 UTC (258)
usb_otg_vbus: disabling
wm8962-supply: disabling
hdmi-5v-supply: disabling
wlreg_on: disabling
SW4: disabling
ALSA device list:
  No soundcards found.
Freeing unused kernel memory: 1024K (c1000000 - c1100000)
init: init first stage started!
SELinux:  Permission validate_trans in class security not defined in policy.
SELinux:  Class cap_userns not defined in policy.
SELinux:  Class cap2_userns not defined in policy.
SELinux: the above unknown classes and permissions will be denied
audit: type=1403 audit(258.610:2): policy loaded auid=4294967295 ses=4294967295
init: (Initializing SELinux non-enforcing took 0.10s.)
init: init second stage started!
init: Running restorecon...
init: waitpid failed: No child processes
init: (Loading properties from /default.prop took 0.00s.)
init: (Parsing /init.environ.rc took 0.00s.)
init: (Parsing /init.usb.rc took 0.00s.)
init: (Parsing init.freescale.usb.rc took 0.00s.)
init: (Parsing init.freescale.i.MX6QP.rc took 0.00s.)
init: (Parsing init.freescale.emmc.rc took 0.00s.)
init: (Parsing /init.freescale.rc took 0.02s.)
ueventd: ueventd started!
ueventd: Coldboot took 0.36s.
Console: switching to colour dummy device 80x30
watchdogd: started (interval 10, margin 20)!

Anything wrong in what it is now?

Regards,

Manju

0 Kudos
Reply

3,370 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

Can you please try with the below bootargs and see if it works?

U-Boot > setenv bootcmd boota mmc2
U-Boot > setenv bootargs console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,bpp=32
video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=128M androidboot.console=ttymxc0
consoleblank=0 androidboot.hardware=freescale cma=448M androidboot.selinux=permissive
androidboot.dm_verity=disable
U-Boot > saveenv

Best Regards,

Diego.

0 Kudos
Reply