No announcement yet.

LCD replacement and KERNEL/Driver modification needed (Need Help!)

  • Filter
  • Time
  • Show
Clear All
new posts

    LCD replacement and KERNEL/Driver modification needed (Need Help!)

    I need help in re-configuring the default or built-in Screen resolution of an RK3066 Fnf iFIve tablet.
    The Tablet 7" original LCD broke, I manage to interface or connect a 15" LCD from a Laptop.
    The 7" was tagged "Normally Portrait" with [email protected] resolution, while the 15" LCD replacement
    was tagged "Normally Landscape" with resolution of [email protected]

    Yes there was at least 80% success since it is able to show a fine crisp 800(480-missing)[email protected]

    I cannot find the source-code for the RK3066 specifically for the Fnf mini 2, I have seen and downloaded source code from GIT pertaining to RK30 with indications that the wifi may not work, and that it is still in progress. If I am to dwell on the given source, I may be able to setup the Display configuration, yet with no wifi.

    I am hoping someone may be able to guide me on how it is best for me to tackle my project 15" LCD remake.

    I have seen an update zip that alters the HDMI resolution. But I am afraid without the source code I will not be able to derive
    an to fix the internal or default Resolution.

    # Display MOD ver. A (Refresh Rate 50Hz) by BuLLeT_93

    mount -o remount,rw /
    mount -o remount,rw rootfs
    mount -o remount,ro /system
    busybox mount -o remount,rw /
    busybox mount -o remount,rw rootfs
    busybox mount -o remount,ro /system

    #Orginal Strings from the
    #sleep 7
    #busybox echo powersave > /sys/devices/platform/g3-display.0/devfreq/g3-display.0/governor;
    #busybox echo 50 > /sys/devices/platform/g3-display.0/devfreq/g3-display.0/max_freq;
    #busybox echo 50 > /sys/devices/platform/g3-display.0/devfreq/g3-display.0/min_freq;
    #busybox echo 0 > /sys/devices/platform/g3-display.0/devfreq/g3-display.0/polling_interval;
    #busybox chmod 444 /sys/devices/platform/g3-display.0/devfreq/g3-display.0/polling_interval;
    #busybox chmod 444 > /sys/devices/platform/g3-display.0/devfreq/g3-display.0/polling_interval;

    #My theorize strings, not yet tested
    echo "U:1280x800p-59" > /sys/devices/platform/rk-fb/graphics/fb0/modes
    #since the MODES files generates U:800x1280p-59 thru CAT MODE
    Yes, the Tablet also has an HDMI output. So I thought I could apply to the Default Display as well

    I have setup the tablet for wireless ADB and VNC for control.

    I specifically wanted to either Rotate the Screen orientation thru the Driver not via the Virtual display (afaik, Surfaceflinger)
    I am able to find and confirm that the default display was thru the FB0 via $cat /dev/urandom > ../fb0

    So, just to confirm. Where to I best make the Screen resolution adjustment?
    Thru BOOT = may require me to input boot arguments.
    Thru KERNEL = lack of source code
    POST boot/Kernel = kindly suggest any alternative

    What I have tried:
    Make use of Screen Resolution Changer = mostly FC's and the Displayed screen width and lenght does not change. Only the DPI change when I setup a diff Density.
    Screen Rotate = Only the 800x800 pixels reacts, not the other 480 pixels.

    What I have:
    Windows 10x64 alongside Ubuntu 15 with Build environment and complete dependencies
    Have Downloaded GIT resources from OMEGAMON and the REST of Source Code providers for RK30
    Some that alters a 02bl93_LCD
    Complete CWM ROM backup
    Official Firmware

    Your Help will be greatly appreciated since I have been woking on this for weeks no and sleepless nights.Click image for larger version

Name:	IMG_20160128_235135w.jpg
Views:	47
Size:	107.6 KB
ID:	556359
    Attached Files

    I am also able to acquire dmesg
    <6>[ 0.000000] Initializing cgroup subsys cpu

    <5>[ 0.000000] Linux version 3.0.8+ ([email protected]) (gcc version 4.4.3 (GCC) ) #143 SMP PREEMPT Mon Mar 25 19:18:12 CST 2013

    <4>[ 0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c53c7d

    <4>[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache

    <4>[ 0.000000] Machine: RK30board

    <6>[ 0.000000] memory reserve: Memory(base:0x91800000 size:80M) reserved for <ion>

    <6>[ 0.000000] memory reserve: Memory(base:0x90c00000 size:12M) reserved for <fb0 buf>

    <6>[ 0.000000] memory reserve: Memory(base:0x90000000 size:12M) reserved for <fb2 buf>

    <6>[ 0.000000] memory reserve: Memory(base:0x8f800000 size:8M) reserved for <camera_ipp_mem>

    <6>[ 0.000000] memory reserve: Total reserved 112M

    <4>[ 0.000000] Memory policy: ECC disabled, Data cache writeback

    <6>[ 0.000000] bootconsole [earlycon0] enabled

    <4>[ 0.000000] CPU SRAM: copied sram code from c0b49000 to fef00100 - fef023d0

    <4>[ 0.000000] CPU SRAM: copied sram data from c0b4b2d0 to fef03000 - fef03728

    <6>[ 0.000000] L310 cache controller enabled

    <6>[ 0.000000] l2x0: 16 ways, CACHE_ID 0x4100c0c8, AUX_CTRL 0x76050001, Cache size: 524288 B

    <4>[ 0.000000] DDR DEBUG: version 1.00 20130121

    <4>[ 0.000000] DDR DEBUG: DDR3 Device

    <4>[ 0.000000] DDR DEBUG: Bus Width=32 Col=10 Bank=8 Row=15 CS=1 Total Capability=1024MB

    <4>[ 0.000000] DDR DEBUG: init success!!! freq=396MHz

    <4>[ 0.000000] DDR DEBUG: DTONE=0x1, DTERR=0x0, DTIERR=0x0, DTPASS=0x4, DGSL=1 extra clock, DGPS=180

    <4>[ 0.000000] DDR DEBUG: DTONE=0x1, DTERR=0x0, DTIERR=0x0, DTPASS=0x4, DGSL=1 extra clock, DGPS=180

    <4>[ 0.000000] DDR DEBUG: DTONE=0x1, DTERR=0x0, DTIERR=0x0, DTPASS=0x4, DGSL=1 extra clock, DGPS=180

    <4>[ 0.000000] DDR DEBUG: DTONE=0x1, DTERR=0x0, DTIERR=0x0, DTPASS=0x4, DGSL=1 extra clock, DGPS=180

    <4>[ 0.000000] DDR DEBUG: ZERR=0, ZDONE=0, ZPD=0x0, ZPU=0x0, OPD=0x0, OPU=0x0

    <4>[ 0.000000] DDR DEBUG: DRV Pull-Up=0xb, DRV Pull-Dwn=0xb

    <4>[ 0.000000] DDR DEBUG: ODT Pull-Up=0x2, ODT Pull-Dwn=0x2

    <4>[ 0.000000] rk30_iomux_init

    <4>[ 0.000000] Boot mode: 0 flag: 0xc3524200

    <7>[ 0.000000] On node 0 totalpages: 233472

    <7>[ 0.000000] free_area_init_node: node 0, pgdat c0b48120, node_mem_map c15cf000

    <7>[ 0.000000] Normal zone: 1744 pages used for memmap

    <7>[ 0.000000] Normal zone: 0 pages reserved

    <7>[ 0.000000] Normal zone: 192816 pages, LIFO batch:31

    <7>[ 0.000000] HighMem zone: 304 pages used for memmap

    <7>[ 0.000000] HighMem zone: 38608 pages, LIFO batch:7

    <6>[ 0.000000] PERCPU: Embedded 7 pages/cpu @c1dd7000 s7072 r8192 d13408 u32768

    <7>[ 0.000000] pcpu-alloc: s7072 r8192 d13408 u32768 alloc=8*4096

    <7>[ 0.000000] pcpu-alloc: [0] 0 [0] 1

    <4>[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 231424

    <5>[ 0.000000] Kernel command line: console=ttyFIQ0 androidboot.console=ttyFIQ0 init=/init initrd=0x62000000,0x001A0000 mtdparts=rk29xxnand:[email protected](misc),0x [email protected](kernel),[email protected]( boot),[email protected](recovery),[email protected] x00018000(backup),[email protected](cache),0x0 [email protected](userdata),[email protected] (kpanic),[email protected](system),[email protected](user) bootver=2012-12-29#1.24 firmware_ver=4.1.1
    I may also need to add a boot argument, the BOOT.iMG has been decompiled but I have not find a way to add the additional BOOT_Args
    setenv bootargs ro elevator=noop vram=12M rk_fb.mode=U:[email protected]
    Awaiting for feedback/response. Thank you