Jump to content

zgoda_j

Members
  • Posts

    56
  • Joined

  • Last visited

Posts posted by zgoda_j

  1. On working instance (it's Arch from LeMaker download section):

    # cat /boot/uEnv.txt 
    aload_script=fatload $device $partition 0x43000000 /script.bin;
    aload_kernel=fatload $device $partition 0x48000000 /uImage;bootm 0x48000000
    uenvcmd=run aload_script aload_kernel
    bootargs=console=ttyS0,115200 consoleblank=0 console=tty0 disp.screen0_output_mode=1920x1080p60:EDID hdmi.audio=EDID:0 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait quiet loglevel=3
    

    I don't know how to get uBoot version from within the running linux system, I don't have access to UBOOT button to trigger FEL mode (sbc is enclosed in the case I can't disassemble). I doubt ODM has changed anything there so most probably this is stock LeMaker.

  2. I can't get the LeMaker 5in LCD working with Armbian 5.04 legacy on LeMaker BananaPro.

     

    First things first:

    # uname -a
    Linux bpi2 3.4.110-sun7i #12 SMP PREEMPT Tue Mar 1 08:39:29 CET 2016 armv7l GNU/Linux
    
    # lsmod
    Module                  Size  Used by
    cpufreq_userspace       3524  0 
    ft5x_ts                44223  0 
    spidev                  6366  0 
    ap6211                624553  0 
    a20_tp                  3365  0 
    8021q                  18593  0 
    garp                    6072  1 8021q
    stp                     2032  1 garp
    llc                     5365  2 stp,garp
    
    # dmesg
    [    6.514195] ===========================ft5x_ts_init=====================
    [    6.520934] ctp_fetch_sysconfig_para. 
    [    6.532065] ctp_fetch_sysconfig_para: after: ctp_twi_addr is 0x38, dirty_addr_buf: 0x38. dirty_addr_buf[1]: 0xfffe 
    [    6.537112] ctp_fetch_sysconfig_para: ctp_twi_id is 3. 
    [    6.541967] ctp_fetch_sysconfig_para: screen_max_x = 800. 
    [    6.546531] ctp_fetch_sysconfig_para: screen_max_y = 480. 
    [    6.552880] ctp_fetch_sysconfig_para: revert_x_flag = 0. 
    [    6.566612] ctp_fetch_sysconfig_para: revert_y_flag = 0. 
    [    6.571358] ctp_fetch_sysconfig_para: exchange_x_y_flag = 0. 
    [    6.579969] ft5x_ts_init: after fetch_sysconfig_para:  normal_i2c: 0x38. normal_i2c[1]: 0xfffe 
    [    6.586732] ctp_init_platform_resource: tp_reset request gpio fail!
    [    6.594998] ctp_init_platform_resource: No power port feature present.
    [    6.596927] ctp_wakeup. 
    [    6.823015] incomplete xfer (0x20)
    [    6.825422] incomplete xfer (0x20)
    [    6.828058] incomplete xfer (0x20)
    [    6.834665] ctp_detect: Detected chip ft5x_ts at adapter 3, address 0x38
    [    6.839067] ====ft5x_ts_probe begin=====.  
    [    6.847424] input: ft5x_ts as /devices/platform/sunxi-i2c.3/i2c-3/3-0038/input/input1
    [    6.852247] ctp_set_irq_mode: config gpio to int mode. 
    [    6.866367] ctp_set_irq_mode, 225: gpio_int_info, port = 8, port_num = 9. 
    [    6.868298]  INTERRUPT CONFIG
    [    6.886136] ==ft5x_ts_probe over =
    

    Fex configuration (taken directly from LeMaker GitHub repo):

    [ctp_para]
    ctp_used = 1
    ctp_name = "ft5x_ts"
    ctp_twi_id = 3
    ctp_twi_addr = 0x38
    ctp_screen_max_x = 800
    ctp_screen_max_y = 480
    ctp_revert_x_flag = 0
    ctp_revert_y_flag = 0
    ctp_exchange_x_y_flag = 0
    ctp_firm = 1
    ctp_int_port = port:PH09<6><default><default><default>
    ctp_wakeup = port:PH07<1><default><default><1>
    ctp_io_port = port:PH09<0><default><default><default>
    
    [ctp_list_para]
    ctp_det_used = 1
    ft5x_ts = 1
    gt82x = 0
    gslX680 = 0
    gt9xx_ts = 0
    gt811 = 0

    The display is powered (power led is on) but looks uninitialized, nothing is displayed. Framebuffer devices are present:

    # ls -la /dev | grep fb
    crw-rw----  1 root video    29,   0 Mar 15 15:40 fb0
    crw-rw----  1 root video    29,   1 Mar 15 15:40 fb1
    

    Am I missing something? Following LeMaker wiki, proper fex and ft5x_ts should be everything to get this LCD working.

  3. Looks like I don't have ap6210 module at all:

    ~$ sudo modprobe ap6210
    modprobe: FATAL: Module ap6210 not found.
    
    ~$ uname -a
    Linux bananapi 4.4.1-sunxi #10 SMP Wed Feb 17 17:57:20 CET 2016 armv7l GNU/Linux

    I manually changed boot.cmd & recompiled, proper dtb is loaded - but I guess this is not related to the fact I miss the module itself. No such problem on legacy kernel but I specifically need something newer.

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines