I tried some additional things:

I ran the factory uboot thru "strings" and the only thing that looked like an 
LCD module name was ili9481. I know this is a popular lcd panel module for 
cheap phones. Some of the cheap mediatek phones have them.

Going thru  the spreadtrum kernel source, I could confirm that the driver for 
lcd_ili9481.c is not in their source code. Is there someone from spreadtrum I 
can contact or file a bug in bugzilla for this?

Going on, I wrote a ili9481.c lcd driver, mainly modified from ili9486.c which 
_is_ in the source code (but the modules differ in significant ways). I found a 
data sheet for the module online.

Compiled the kernel, booted, got errors about ump and mali  and their 
disagreement with module versions etc. Rebuilt those, errors went away.

Now I was getting aproper bootup, but weird effects: the lower half of the 
screen was stuck at the boot logo. The upper half, was further divided into two 
equal halves, vertically, and both these quarter-screen sized areas displayed 
the phone home screen. 

(btw: how does one build a specific part using ./build.sh? is there some may to 
do the equivalent of ./build.sh kernel or ./build.sh mali.ko)

Obviously something wrong with my written driver or its configuration. I am 
still hopefull that zen/spreadtrum/mozilla has the correct code for building 
B2G for Zen 105 somewhere...but failing that, can someone suggest what could be 
the source of the weird screen partitioning effect?

I looked into bpp settings - bot the factory and custom kernel show a bpp of 
16, so thats not it. The virtual_size is also the same. (all this from 
/sys/devices/platform/sprd_fb.0/)

what else can I look at?



_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to