Picasso-kernel: различия между версиями

Материал из Toshiba AC100 wiki
Перейти к навигации Перейти к поиску
м (add emc driver link)
м (add video overlay)
Строка 77: Строка 77:
EMC driver code https://github.com/ac100-ru/picasso-kernel/commit/e068d72acd417d3134ba1d183d7288a8c9be2a70 <br/>
EMC driver code https://github.com/ac100-ru/picasso-kernel/commit/e068d72acd417d3134ba1d183d7288a8c9be2a70 <br/>
----
----
===Video overlays===
Current logcat while freezing
<pre>
I/Choreographer(  525): Skipped 34 frames!  The application may be doing too much work on its main thread.
</pre>
===Notes===
===Notes===
Checkout maybe this patches need to be added somehow to 3.18
Checkout maybe this patches need to be added somehow to 3.18

Версия от 00:41, 4 мая 2016

Use picasso-kernel on PAZ00

Problems left

  1. Slow data/system EXT4 format from recovery with SanDisk eMMC
  2. UDC usb works only if inserted before poweron) (fixed by digetx)
  3. Hardware video overlays freezes (Probably memory clock problem)
  4. No power button and lid events from nvec (Works with Stuw's patches)
  5. Battare uevents (Patch from 3.1 fits 3.18)

Memreserve calculations

Memory hole like kernel 3.1.10

/*
 * Carveouts for multimedia and ram console
 * 128MB - multimedia
 * 8MB - fb1
 * 16MB - fb2
 * 1MB - ram-console
 */

memory {
        reg = <0x00000000 0x20000000>;
};

/memreserve/ 0x11000000+0x9900000=0x1A900000

nvmap:0x11000000+0x8000000=0x19000000
dc1:0x19000000+0x800000=0x19800000
dc2:0x19800000+0x01000000=0x1A800000
ramconsole:0x1A800000+0x00100000=0x1A900000


memory size note

512 megabyte=536 870 912 bytes /* Total RAM */
128 megabyte=134 217 728 bytes
64 megabyte=67 108 864 bytes
32 megabyte=33 554 432 bytes

UDC

Clocks diff

--- picasso-kernel-udc-not-connected-clocks-1   2016-04-27 01:09:48.527156892 +0300
+++ picasso-kernel-udc-power-on-clocks-1        2016-04-27 01:10:08.994148847 +0300
@@ -1,5 +1,5 @@
-Not inserted:
-shell@android:/ # grep -Hsi "" /sys/kernel/debug/clk/*/clk_rate                
+inserted
+shell@android:/ # grep -Hsi "" /sys/kernel/debug/clk/*/clk_rate
 /sys/kernel/debug/clk/2d/clk_rate:300000000
 /sys/kernel/debug/clk/2d_emc/clk_rate:0
 /sys/kernel/debug/clk/3d/clk_rate:300000000
@@ -86,7 +86,7 @@
 /sys/kernel/debug/clk/pll_p_out4_div/clk_rate:24000000
 /sys/kernel/debug/clk/pll_ref/clk_rate:12000000
 /sys/kernel/debug/clk/pll_u/clk_rate:480000000
-/sys/kernel/debug/clk/pll_x/clk_rate:1000000000
+/sys/kernel/debug/clk/pll_x/clk_rate:312000000
 /sys/kernel/debug/clk/pwm/clk_rate:32768
 /sys/kernel/debug/clk/rtc/clk_rate:32768
 /sys/kernel/debug/clk/sbc1/clk_rate:86400000

Kernel logs

udc before power on connected http://pastebin.com/3d1RLizK udc power on not connected http://pastebin.com/vH0tYwbv


EMC

Current clocks after power on http://pastebin.com/sZzsyLka
EMC clock use patch https://github.com/ac100-ru/picasso-kernel/commit/964333b5b4844bea59f05ce4095ba8742bc55f41
EMC driver code https://github.com/ac100-ru/picasso-kernel/commit/e068d72acd417d3134ba1d183d7288a8c9be2a70


Video overlays

Current logcat while freezing

I/Choreographer(  525): Skipped 34 frames!  The application may be doing too much work on its main thread.

Notes

Checkout maybe this patches need to be added somehow to 3.18

https://github.com/zombah/android_kernel_toshiba_ac100/commit/1759db16750a029bfc80a62ab0918b84558dfab3
https://github.com/zombah/android_kernel_toshiba_ac100/commit/046a597b9cc3e2bd7b707887530827cbd607b275