Could not install LCD 3.5 Touchscreen Shield @ ODROID C2

Moderators: mdrjr, odroid

Could not install LCD 3.5 Touchscreen Shield @ ODROID C2

Unread postby yau » Sat Mar 03, 2018 8:43 pm

Dear all,

this is one more desperately cry for help on the LCD 3.5 Touchscreen installation topic.
I have bought the C2 with the 3.5" touch screen & the Ubuntu eMMC.
I tried to get the LCD screen running without success. I went to all the forum entries concerning this topic. However could not find any hint, which helped me to get it running.

Here is what I did:
1.) Created an image of the original Ubunto-eMMC & copied to an ยต-SD card (since I didn't want to play the whole configuration of the C2 through with the original eMMC). -> Ubuntu started well.
2.) Followed the installation instruction in the WIKI https://wiki.odroid.com/accessory/display/3.5inch_lcd_shield/3.5inch_lcd_shield -> Backlight-LED's @ TouchScreen were on but no display; HDMI (my Computer Monitor) turned off
3.) Switched display back to the Computer monitor per SSH-Terminal. Tried, whether the touch-function of the 3.5LCD worked -> at least this seems to work (when I pressed the screen, the mouse-pointer on the Computer-Monitor moved)
4.) Started from scratch with the Ubuntu-eMMC image copied to the SD
5.) Ran the script from "ODROID" according to the forum-entry https://forum.odroid.com/viewtopic.php?f=145&t=24248 -> same result as before (LEDs on; no display)

Some detailed infos:
dmesg:
Code: Select all
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.14.79-116 (root@a53_b1) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.1) ) #1 SMP PREEMPT Tue Sep 26 01:19:06 BRT 2017
[    0.000000] CPU: AArch64 Processor [410fd034] revision 4
[    0.000000] secmon: share mem setup
[    0.000000] Reserved memory: initialized node linux,secmon, compatible id aml_secmon_memory
[    0.000000] __reserved_mem_alloc_size: linux,meson-fb
[    0.000000] fb: Reserved memory: created fb at 0x0000000078000000, size 128 MiB
[    0.000000] Reserved memory: initialized node linux,meson-fb, compatible id amlogic, fb-memory
[    0.000000] __reserved_mem_alloc_size: linux,di
[    0.000000] DI reserved memory: created CMA memory pool at 0x0000000076200000, size 30 MiB
[    0.000000] Reserved memory: initialized node linux,di, compatible id amlogic, di-mem
[    0.000000] __reserved_mem_alloc_size: linux,ion-dev
[    0.000000] linux,ion-dev add multi user:ffffffc001d24570
[    0.000000] ion_dev mem setup
[    0.000000] Reserved memory: initialized node linux,ion-dev, compatible id amlogic, idev-mem
[    0.000000] ppmgr share mem setup
[    0.000000] linux,ion-dev add multi user:ffffffc001d2d0f8
[    0.000000] Reserved memory: initialized node linux,ion-dev, compatible id amlogic, idev-mem
[    0.000000] __reserved_mem_alloc_size: linux,codec_mm_cma
[    0.000000] Reserved memory: created CMA memory pool at 0x0000000067800000, size 188 MiB
[    0.000000] Reserved memory: initialized node linux,codec_mm_cma, compatible id shared-dma-pool
[    0.000000] __reserved_mem_alloc_size: linux,picdec
[    0.000000] Reserved memory: created CMA memory pool at 0x0000000064800000, size 48 MiB
[    0.000000] Reserved memory: initialized node linux,picdec, compatible id shared-dma-pool
[    0.000000] __reserved_mem_alloc_size: linux,codec_mm_reserved
[    0.000000] codec_mm:vdec: reserved mem setup
[    0.000000] Reserved memory: initialized node linux,codec_mm_reserved, compatible id amlogic, codec-mm-reserved
[    0.000000] __reserved_mem_alloc_size: linux,jpegenc_cma
[    0.000000] Reserved memory: created CMA memory pool at 0x000000005e000000, size 36 MiB
[    0.000000] Reserved memory: initialized node linux,jpegenc_cma, compatible id shared-dma-pool
[    0.000000] cma: Reserved 8 MiB at 5d800000
[    0.000000] On node 0 totalpages: 486912
[    0.000000]   Normal zone: 8568 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 486912 pages, LIFO batch:31
[    0.000000] psci: probing function IDs from device-tree
[    0.000000] PERCPU: Embedded 12 pages/cpu @ffffffc074195000 s19584 r8192 d21376 u49152
[    0.000000] pcpu-alloc: s19584 r8192 d21376 u49152 alloc=12*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 478344
[    0.000000] Kernel command line: root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait ro console=ttyS0,115200n8 console=tty0 no_console_suspend hdmimode=custombuilt modeline=1920,1080,148500,67500,60,1920,2008,2052,2200,1080,1084,1089,1125,1,1,1 m_bpp=32 vout=hdmi fsck.repair=yes net.ifnames=0 elevator=noop disablehpd=true max_freq=1536 maxcpus=4 monitor_onoff=false disableuhs=false mmc_removable=true usbmulticam=false usbhid.quirks=0x0eef:0x0005:0x0004
[    0.000000] logo: get hdmimode: custombuilt
[    0.000000] modeline parsing - 1920
[    0.000000] modeline parsing - 1080
[    0.000000] modeline parsing - 148500
[    0.000000] modeline parsing - 67500
[    0.000000] modeline parsing - 60
[    0.000000] modeline parsing - 1920
[    0.000000] modeline parsing - 2008
[    0.000000] modeline parsing - 2052
[    0.000000] modeline parsing - 2200
[    0.000000] modeline parsing - 1080
[    0.000000] modeline parsing - 1084
[    0.000000] modeline parsing - 1089
[    0.000000] modeline parsing - 1125
[    0.000000] modeline parsing - 1
[    0.000000] modeline parsing - 1
[    0.000000] modeline parsing - 1
[    0.000000] modeline - horpixels 1920
[    0.000000] modeline - verpixels 1080
[    0.000000] modeline - pixel_clock 148500
[    0.000000] modeline - hor_freq 67500
[    0.000000] modeline - ver_freq 60
[    0.000000] modeline - hdisp 1920
[    0.000000] modeline - hsyncstart 2008
[    0.000000] modeline - hsyncend 2052
[    0.000000] modeline - htotal 2200
[    0.000000] modeline - vdisp 1080
[    0.000000] modeline - vsyncstart 1084
[    0.000000] modeline - vsyncend 1089
[    0.000000] modeline - vtotal 1125
[    0.000000] modeline - hsync_polarity 1
[    0.000000] modeline - vsync_polarity 1
[    0.000000] modeline - progress_mode 1
[    0.000000] fmt_para - vic 787
[    0.000000] fmt_para - name custombuilt
[    0.000000] fmt_para - pixel_repetition_factor 0
[    0.000000] fmt_para - progress mode 1
[    0.000000] fmt_para - scrambler_en 0
[    0.000000] fmt_para - tmds_clk_div40 0
[    0.000000] fmt_para - tmds_clk 148500
[    0.000000] fmt_para - pixel_freq 148500
[    0.000000] fmt_para - h_freq 67500
[    0.000000] fmt_para - v_freq 60000
[    0.000000] fmt_para - hsync_polarity 1
[    0.000000] fmt_para - vsync_polarity 1
[    0.000000] fmt_para - h_active 1920
[    0.000000] fmt_para - h_total 2200
[    0.000000] fmt_para - h_blank 280
[    0.000000] fmt_para - h_front 88
[    0.000000] fmt_para - h_sync 44
[    0.000000] fmt_para - h_back 148
[    0.000000] fmt_para - v_active 1080
[    0.000000] fmt_para - v_total 1125
[    0.000000] fmt_para - v_blank 45
[    0.000000] fmt_para - v_front 4
[    0.000000] fmt_para - v_sync 5
[    0.000000] fmt_para - v_back 36
[    0.000000] dvfs [get_max_freq] - max_freq : 1536000000
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000] Memory: 1461528K/1947648K available (8312K kernel code, 905K rwdata, 3040K rodata, 907K init, 4228K bss, 486120K reserved)
[    0.000000] Virtual kernel memory layout:
                   vmalloc : 0xffffff8000000000 - 0xffffff8040000000   (  1024 MB)
                   vmemmap : 0xffffff8040010000 - 0xffffff80421d0000   (    33 MB)
                   modules : 0xffffffbffc000000 - 0xffffffc000000000   (    64 MB)
                   memory  : 0xffffffc000000000 - 0xffffffc078000000   (  1920 MB)
                     .init : 0xffffffc001b98000 - 0xffffffc001c7ac80   (   908 kB)
                     .text : 0xffffffc001080000 - 0xffffffc001b97204   ( 11357 kB)
                     .data : 0xffffffc001c7b000 - 0xffffffc001d5d400   (   905 kB)
[    0.000000] SLUB: HWalign=64, Order=0-1, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:64 nr_irqs:64 0
[    0.000006] sched_clock: 32 bits at 1000kHz, resolution 1000ns, wraps every 2147483648000ns
[    0.000026] mclk->mux_reg =ffffff8000002990,mclk->reg =ffffff800000a994
[    0.000073] local timer MESON TIMER-G mclk->mux_reg =ffffff8000002990,mclk->reg =ffffff800000c998
[    0.000096] local timer MESON TIMER-H mclk->mux_reg =ffffff8000002990,mclk->reg =ffffff800000e99c
[    0.000117] local timer MESON TIMER-I mclk->mux_reg =ffffff8000002990,mclk->reg =ffffff80000109a0
[    0.000128] Switching to timer-based delay loop
[    0.000365] Console: colour dummy device 80x25
[    0.001196] console [tty0] enabled
[    0.003548] allocated 8388608 bytes of page_cgroup
[    0.003558] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.003577] Calibrating delay loop (skipped), value calculated using timer frequency.. 2.00 BogoMIPS (lpj=10000)
[    0.003595] pid_max: default: 32768 minimum: 301
[    0.003675] Security Framework initialized
[    0.003705] AppArmor: AppArmor initialized
[    0.003741] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.003755] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.004182] Initializing cgroup subsys debug
[    0.004195] Initializing cgroup subsys memory
[    0.004214] Initializing cgroup subsys devices
[    0.004226] Initializing cgroup subsys freezer
[    0.004236] Initializing cgroup subsys net_cls
[    0.004245] Initializing cgroup subsys blkio
[    0.004255] Initializing cgroup subsys perf_event
[    0.004267] Initializing cgroup subsys net_prio
[    0.004277] Initializing cgroup subsys hugetlb
[    0.004319] ftrace: allocating 29822 entries in 117 pages
[    0.030240] /cpus/cpu@0: Missing clock-frequency property
[    0.030270] /cpus/cpu@1: Missing clock-frequency property
[    0.030283] /cpus/cpu@2: Missing clock-frequency property
[    0.030295] /cpus/cpu@3: Missing clock-frequency property
[    0.030309] hw perfevents: enabled with arm/armv8-pmuv3 PMU driver, 7 counters available
[    0.071860] Meson chip version = RevC (1F:C - 0:0)
[    0.090818] CPU1: Booted secondary processor
[    0.110793] CPU2: Booted secondary processor
[    0.130783] CPU3: Booted secondary processor
[    0.130835] Brought up 4 CPUs
[    0.130866] SMP: Total of 4 processors activated.
[    0.131372] devtmpfs: initialized
[    0.144197] pinctrl core: initialized pinctrl subsystem
[    0.144461] regulator-dummy: no parameters
[    0.146263] device-tree: Duplicate name in efusekey, renamed to "key0#1"
[    0.146292] device-tree: Duplicate name in efusekey, renamed to "key1#1"
[    0.146321] device-tree: Duplicate name in efusekey, renamed to "key2#1"
[    0.146349] device-tree: Duplicate name in efusekey, renamed to "key3#1"
[    0.148339] NET: Registered protocol family 16
[    0.149215] register canvas platform driver
[    0.149225] codec:ignore bus ops for cpu=25
[    0.149233] codec:ignore bus ops for cpu=29
[    0.149242] codec:register amports ops for bus[0]
[    0.149250] codec:register amports ops for bus[4]
[    0.149257] codec:register amports ops for bus[3]
[    0.149265] codec:register amports ops for bus[2]
[    0.149273] codec:register amports ops for bus[1]
[    0.149280] codec:register amports ops for bus[13]
[    0.149288] codec:register amports ops for bus[2]
[    0.149296] codec:register amports ops for bus[14]
[    0.149320] register rdma platform driver
[    0.149844] vdso: 2 pages (1 code, 1 data) at base ffffffc001c82000
[    0.149877] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.150480] DMA: preallocated 256 KiB pool for atomic allocations
[    0.151679] software IO TLB [mem 0x5a000000-0x5a400000] (4MB) mapped at [ffffffc05a000000-ffffffc05a3fffff]
[    0.151694] Serial: AMBA PL011 UART driver
[    0.151781] hdmitx: system: amhdmitx_init
[    0.151790] hdmitx: system: Ver: 2014May6
[    0.151821] tv_vout: tv_init_module
[    0.151835] tv_vout: major number 254 for disp
[    0.151844] vout_notify: vout_register_server
[    0.151852] tv_vout: register tv module server ok
[    0.151880] codec_mm:codec_mm_module_init
[    0.152003] gxbb clk HIU base is 0xffffff800005a000
[    0.152012] gxbb clk ao base is 0xffffff800005c000
[    0.152052] register mpll_clk_out0 success done
[    0.152063] register mpll_clk_out1 success done
[    0.152073] register mpll_clk_out2 success done
[    0.152243] register sys pll success done
[    0.152287] clkrate [ xtal    ] : 24000000Hz
[    0.152296] clkrate [ 32Khz    ] : 32000Hz
[    0.152304] clkrate [ clk81    ] : 166666666Hz
[    0.152313] clkrate [ fixed_pll    ] : 2000000000Hz
[    0.152321] clkrate [ fclk_div2    ] : 1000000000Hz
[    0.152329] clkrate [ fclk_div3    ] : 666666000Hz
[    0.152338] clkrate [ fclk_div4    ] : 500000000Hz
[    0.152346] clkrate [ fclk_div5    ] : 400000000Hz
[    0.152354] clkrate [ fclk_div7    ] : 285714000Hz
[    0.152382] gxbb clock initialization complete
[    0.152505] msr_clk_reg0=ffffff800005e75c,msr_clk_reg2=ffffff800006a764
[    0.153382] amlogic iomap probe done
[    0.153634] Init pinux probe!
[    0.154378] pinmux-gxbb c1109880.pinmux: Probed amlogic pinctrl driver
[    0.154634] genirq: Setting trigger mode 8 for irq 241 failed (gic_set_type+0x0/0xb8)
[    0.154655] genirq: Setting trigger mode 8 for irq 242 failed (gic_set_type+0x0/0xb8)
[    0.154718] genirq: Setting trigger mode 8 for irq 241 failed (gic_set_type+0x0/0xb8)
[    0.154738] genirq: Setting trigger mode 8 for irq 242 failed (gic_set_type+0x0/0xb8)
[    0.154920] dvfs [scpi_dvfs_get_opps] - new count 6, max_freq 1536000000
[    0.155352] codec:codec map io source 0x00000000c1100000,size=1048576 to 0xffffff8000680000
[    0.155372] codec:codec map io source 0x00000000c8820000,size=65536 to 0xffffff80000a0000
[    0.155390] codec:codec map io source 0x00000000c883c000,size=8192 to 0xffffff8000094000
[    0.155420] codec:codec map io source 0x00000000c8100000,size=1048576 to 0xffffff8000800000
[    0.155440] codec:codec map io source 0x00000000d0100000,size=262144 to 0xffffff8000980000
[    0.155457] codec:codec map io source 0x00000000c8838000,size=1024 to 0xffffff8000092000
[    0.155522] codec_mm has 2 memory regions
[    0.155537] codec_mm codec_mm: assigned reserved memory node linux,codec_mm_cma ok
[    0.155552] codec_mm:codec_mm_reserved_init 0000000060700000->0000000064800000
[    0.155565] codec_mm codec_mm: assigned reserved memory node linux,codec_mm_reserved ok
[    0.155576] codec_mm:codec_mm_probe mem init done
[    0.155586] codec_mm:add reserve memory 0000000060700000(aligned 0000000060700000) size=4100000(aligned 4100000)
[    0.155613] codec_mm has 2 memory regions
[    0.155624] codec_mm codec_mm: assigned reserved memory node linux,codec_mm_cma ok
[    0.155637] codec_mm:codec_mm_reserved_init 0000000060700000->0000000064800000
[    0.155649] codec_mm codec_mm: assigned reserved memory node linux,codec_mm_reserved ok
[    0.155661] codec_mm:codec_mm reserved memory probed done
[    0.155668] codec_mm:codec_mm_probe ok
[    0.156288] VPU driver version: v01
[    0.156298] vpu driver detect cpu type: gxbaby
[    0.156312] load vpu_clk in dts: 666667000Hz(7)
[    0.156337] vpu_probe OK
[    0.156529] hdmitx: system: amhdmitx_probe
[    0.156745] hdmitx hpd irq = 89
[    0.156932] hdmitx20: Mapped PHY: 0xc0800000
[    0.156943] hdmitx20: Mapped PHY: 0xc1104400
[    0.156964] hdmitx20: Mapped PHY: 0xc8100000
[    0.156974] hdmitx20: Mapped PHY: 0xc8834000
[    0.156983] hdmitx20: Mapped PHY: 0xc883a000
[    0.156991] hdmitx20: Mapped PHY: 0xc883c000
[    0.157005] hdmitx20: Mapped PHY: 0xd0100000
[    0.157014] hdmitx20: Mapped PHY: 0xda83a000
[    0.157028] hdmitx: alread display in uboot 0x10
[    0.157053] avmute set to 1
[    0.157388] canvas_probe reg=00000000c8838000,size=400
[    0.157404] canvas maped reg_base =ffffff800009e000
[    0.160827] rdma_probe
[    0.164032] hdmitx: system: irq 80000002
[    0.192163] bio: create slab <bio-0> at 0
[    0.192614] SCSI subsystem initialized
[    0.192765] usbcore: registered new interface driver usbfs
[    0.192803] usbcore: registered new interface driver hub
[    0.192856] usbcore: registered new device driver usb
[    0.192923] media: Linux media interface: v0.10
[    0.192956] Linux video capture interface: v2.00
[    0.193003] pps_core: LinuxPPS API ver. 1 registered
[    0.193012] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.193032] PTP clock support registered
[    0.193195] logo: logo_init
[    0.193241] Advanced Linux Sound Architecture Driver Initialized.
[    0.193546] Bluetooth: Core ver 2.18
[    0.193569] NET: Registered protocol family 31
[    0.193577] Bluetooth: HCI device and connection manager initialized
[    0.193592] Bluetooth: HCI socket layer initialized
[    0.193604] Bluetooth: L2CAP socket layer initialized
[    0.193627] Bluetooth: SCO socket layer initialized
[    0.193642] NetLabel: Initializing
[    0.193649] NetLabel:  domain hash size = 128
[    0.193656] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.193696] NetLabel:  unlabeled traffic allowed by default
[    0.194386] Switched to clocksource Timer-E
[    0.216907] AppArmor: AppArmor Filesystem Enabled
[    0.221253] NET: Registered protocol family 2
[    0.221743] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.221840] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[    0.222058] TCP: Hash tables configured (established 16384 bind 16384)
[    0.222129] TCP: reno registered
[    0.222141] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[    0.222183] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[    0.222354] NET: Registered protocol family 1
[    0.222530] RPC: Registered named UNIX socket transport module.
[    0.222541] RPC: Registered udp transport module.
[    0.222549] RPC: Registered tcp transport module.
[    0.222557] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.222715] Unpacking initramfs...
[    0.484583] hdmitx: plugin
[    0.517187] Freeing initrd memory: 9444K (ffffffc0735ec000 - ffffffc073f25000)
[    0.521701] kvm [1]: interrupt-controller@c4304000 IRQ25
[    0.521941] kvm [1]: kvm_arch_timer: can't find DT node
[    0.521972] kvm [1]: error initializing Hyp mode: -19
[    0.522468] futex hash table entries: 1024 (order: 5, 131072 bytes)
[    0.522578] audit: initializing netlink subsys (disabled)
[    0.522636] audit: type=2000 audit(0.510:1): initialized
[    0.523168] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.527303] VFS: Disk quotas dquot_6.5.2
[    0.527458] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.529180] NFS: Registering the id_resolver key type
[    0.529233] Key type id_resolver registered
[    0.529241] Key type id_legacy registered
[    0.529257] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.529289] msgmni has been set to 3432
[    0.530168] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    0.530250] io scheduler noop registered (default)
[    0.530261] io scheduler deadline registered
[    0.530285] io scheduler cfq registered
[    0.551731] meson-rng c8834000.rng: hwrng registered
[    0.551920] [drm] Initialized drm 1.1.0 20060810
[    0.551961] mali-utgard d00c0000.mali: max pp is 3
[    0.551972] mali-utgard d00c0000.mali: min pp is 3
[    0.551982] mali-utgard d00c0000.mali: min clk  is 4
[    0.552000] mali-utgard d00c0000.mali: hiu io source  0xffffff80000d2000
[    0.552016] mali-utgard d00c0000.mali: hiu io source  0xffffff80000e8000
[    0.552028] mali-utgard d00c0000.mali: num of pp used most of time 3
[    0.552040] mali-utgard d00c0000.mali: clock dvfs table size is 6
[    0.552051] mali-utgard d00c0000.mali: max clk set 4
[    0.552060] mali-utgard d00c0000.mali: max clk  is 4
[    0.552071] mali-utgard d00c0000.mali: turbo clk set to 5
[    0.552081] mali-utgard d00c0000.mali: turbo clk  is 5
[    0.552090] mali-utgard d00c0000.mali: default clk  is 4
[    0.552159] mali-utgard d00c0000.mali: ====================0====================
               clk_freq= 125000000, clk_parent=fclk_div4, voltage=1150, keep_count=5, threshod=<30 120>, clk_sample=125
[    0.552185] mali-utgard d00c0000.mali: ====================1====================
               clk_freq= 285000000, clk_parent=fclk_div7, voltage=1150, keep_count=5, threshod=<100 190>, clk_sample=285
[    0.552211] mali-utgard d00c0000.mali: ====================2====================
               clk_freq= 400000000, clk_parent=fclk_div5, voltage=1150, keep_count=5, threshod=<152 207>, clk_sample=400
[    0.552236] mali-utgard d00c0000.mali: ====================3====================
               clk_freq= 500000000, clk_parent=fclk_div4, voltage=1150, keep_count=5, threshod=<180 220>, clk_sample=500
[    0.552262] mali-utgard d00c0000.mali: ====================4====================
               clk_freq= 666000000, clk_parent=fclk_div3, voltage=1150, keep_count=5, threshod=<210 236>, clk_sample=666
[    0.552287] mali-utgard d00c0000.mali: ====================5====================
               clk_freq= 792000000, clk_parent=  gp0_pll, voltage=1150, keep_count=5, threshod=<230 255>, clk_sample=792
[    0.553960] gpu cooling register okay with err=0
[    0.554005] gpu core cooling register okay with err=0
[    0.554196] Mali: Mali device driver loaded
[    0.554332] UMP: UMP device driver -jenkins-deb_s905_kernel-116 loaded
[    0.556846] loop: module loaded
[    0.557206] mtdoops: mtd device (mtddev=name/number) must be supplied
[    0.566413] libphy: stmmac: probed
[    0.566447] eth0: PHY ID 001cc916 at 0 IRQ POLL (stmmac-0:00) active
[    0.566458] eth0: PHY ID 001cc916 at 7 IRQ POLL (stmmac-0:07)
[    0.566832] usbcore: registered new interface driver cdc_ether
[    0.566898] usbcore: registered new interface driver cdc_ncm
[    0.567016] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.567028] ehci-h20ahb: H20AHB-EHCI Host Controller driver
[    0.567126] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.567195] usbcore: registered new interface driver cdc_acm
[    0.567205] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    0.567248] usbcore: registered new interface driver usb-storage
[    0.567340] usbcore: registered new interface driver usbserial
[    0.567374] usbcore: registered new interface driver usbserial_generic
[    0.567407] usbserial: USB Serial support registered for generic
[    0.567669] mousedev: PS/2 mouse device common for all mice
[    0.567979] i2c /dev entries driver
[    0.568635] ledtrig-cpu: registered to indicate activity on CPUs
[    0.568693] hidraw: raw HID events driver (C) Jiri Kosina
[    0.568857] usbcore: registered new interface driver usbhid
[    0.568867] usbhid: USB HID core driver
[    0.569035] ==uart0 reg addr = ffffff80002244c0
[    0.569067] c81004c0.serial: ttyS0 at MMIO 0xc81004c0 (irq = 225, base_baud = 1500000) is a meson_uart
[    0.613493] 00ffffffffffff004c2d450b373533301a18010380341d782a7dd1a45650a128
               0f5054bfef80714f81c0810081809500a9c0b3000101023a801871382d40582c
               450009252100001e011d007251d01e206e28550009252100001e000000fd0032
               4b1e5111000a202020202020000000fc00533234443330300a202020202001eb
               

[    0.613523] 020311b14690041f13120365030c001000011d00bc52d01e20b8285540092521
               00001e8c0ad090204031200c4055000925210000188c0ad08a20e02d10103e96
               0009252100001800000000000000000000000000000000000000000000000000
               0000000000000000000000000000000000000000000000000000000000000051
               

[    0.613527] EDID Parser:
[    0.613580] hdmitx: edid: find IEEEOUT

[    0.613608] hdmitx: video: get current mode: null
[    0.613611] hdmtix: set audio
[    0.613620] hdmitx tx_aud_src = 0
[    0.613644] hdmitx aud_n_para = 24576
[    0.613661] hdmitx set channel status
[    2.550445] console [ttyS0] enabled
[    2.554081] ==uart1 reg addr = ffffff80002264c0
[    2.558396] c11084c0.serial: ttyS1 at MMIO 0xc11084c0 (irq = 58, base_baud = 1500000) is a meson_uart
[    2.567733] enter  cpufreq
[    2.570203] probe  cpufreq okay
[    2.573404] dvfs [scpi_dvfs_get_opps] - new count 6, max_freq 1536000000
[    2.620852] dwc_otg: usb1: type: 1 speed: 0, config: 0, dma: 0, id: 1, phy: c0000020, ctrl: 0
[    2.626372] dwc_otg: Core Release: 3.10a
[    2.627593] dwc_otg: Setting default values for core params
[    2.633119] dwc_otg: curmode: 1, host_only: 1
[    2.639638] dwc_otg: Using Buffer DMA mode
[    2.641478] dwc_otg: OTG VER PARAM: 1, OTG VER FLAG: 1
[    2.646574] dwc_otg: Working on port type = HOST
[    2.651214] dwc_otg dwc2_b: DWC OTG Controller
[    2.655556] dwc_otg dwc2_b: new USB bus registered, assigned bus number 1
[    2.662279] dwc_otg dwc2_b: irq 63, io mem 0x00000000
[    2.667274] dwc_otg: -------hcd->flags.d32 = 0
[    2.671680] dwc_otg: Init: Port Power? op_state=1
[    2.676329] dwc_otg: Init1: Power Port (0)
[    2.680801] hub 1-0:1.0: USB hub found
[    2.684101] hub 1-0:1.0: 1 port detected
[    2.688148] dwc_otg: usb0: type: 0 speed: 0, config: 0, dma: 0, id: 0, phy: c0000000, ctrl: 0
[    2.709007] dwc_otg: Core Release: 3.10a
[    2.709031] dwc_otg: Setting default values for core params
[    2.712819] dwc_otg: curmode: 1, host_only: 0
[    2.721319] dwc_otg: Using Buffer DMA mode
[    2.721341] dwc_otg: OTG VER PARAM: 1, OTG VER FLAG: 1
[    2.726277] dwc_otg: Working on port type = OTG
[    2.730755] dwc_otg: Current port type: SLAVE
[    2.735134] dwc_otg dwc2_a: DWC OTG Controller
[    2.739476] dwc_otg dwc2_a: new USB bus registered, assigned bus number 2
[    2.746220] dwc_otg dwc2_a: irq 62, io mem 0x00000000
[    2.751522] hub 2-0:1.0: USB hub found
[    2.754934] hub 2-0:1.0: 1 port detected
[    2.758895] dwc_otg: Dedicated Tx FIFOs mode
[    2.763164] dwc_otg: using timer detectid change, ffffffc058624800
[    2.769402] BLASTER Driver Init
[    2.772352] secmon has 1 memory regions
[    2.776067] secmon: share in base: 0xffffff8000234000, share out base: 0xffffff8000236000
[    2.784145] secmon secmon: assigned reserved memory node linux,secmon ok
[    2.790836] secmon: probe done
[    2.793894] storage: storage in base: 0xffffff8001780000
[    2.799073] storage: storage out base: 0xffffff8001800000
[    2.804418] storage: storage block base: 0xffffff8001880000
[    2.809931] storage: probe done!
[    2.813694] aml_sd_emmc_probe: line 2898
[    2.817013] mmc driver version: 1.07, 2015-01-21: fix a bug in tuning which caused eMMC data CRC error
[    2.826567] aml_sd_emmc_reg_init 621
[    2.829865] pdata->caps 60007
[    2.832703] pdata->caps2 0
[    2.835385] get property:                ocr_avail, value:0x00200080
[    2.841672] get property:                    f_min, value:0x00061a80
[    2.847975] get property:                    f_max, value:0x0510ff40
[    2.854266] get property:             max_req_size, value:0x00020000
[    2.860600] get property:                   irq_in, value:0x00000003
[    2.866867] get property:                  irq_out, value:0x00000005
[    2.873155] get property:              power_level, value:0x00000001
[    2.879465] get property:                  gpio_cd, str:
[    2.884733] get property:               gpio_power, str:
[    2.884776] dwc_otg: Indeed it is in host mode hprt0 = 00021501
[    2.895844] get property:                  pinname, str:sd
[    2.901273] get property:                 jtag_pin, str:
[    2.906539] get property:                card_type, value:0x00000005
[    2.912830] get property:                gpio_dat3, str:
[    2.918100] get property:               gpio_volsw, str:
[    2.975553] [aml_sd_emmc_probe] aml_sd_emmc_probe() success!
[    2.975605] aml_sd_emmc_probe: line 2898
[    2.995489] [aml_is_card_insert] card IN
               
[    2.995540] [aml_is_card_insert] card IN
               
[    3.001546] normal card in
[    3.004600] aml_sd_emmc_reg_init 621
[    3.007862] pdata->caps 80000d47
[    3.010954] pdata->caps2 80a1
[    3.013881] get property:                ocr_avail, value:0x00200080
[    3.020183] get property:                    f_min, value:0x00061a80
[    3.026477] get property:                    f_max, value:0x05f5e100
[    3.032768] get property:             max_req_size, value:0x00020000
[    3.039074] get property:                  pinname, str:emmc
[    3.044710] get property:                card_type, value:0x00000001
[    3.050969] get property:                gpio_dat3, str:
[    3.056237] get property:                 hw_reset, str:
[    3.064416] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    3.068116] dwc_otg: Indeed it is in host mode hprt0 = 00001101
[    3.174404] aml_emmc_hw_reset 1356
[    3.179622] [aml_sd_emmc_probe] aml_sd_emmc_probe() success!
[    3.179798] ion_dev has 1 memory regions
[    3.190268] [aml_sd_emmc_irq] emmc: resp_timeout,vstat:0x2800,virqc:3fff
               
[    3.192538] aml_sd_emmc_data_thread 2155 emmc: cmd:1
[    3.197646] emmc: error -110 whilst initialising MMC card
[    3.203172] fb: osd_init_module
[    3.206143] fb: viu vsync irq: 35
[    3.209351] meson-fb has 1 memory regions
[    3.214459] meson-fb meson-fb: assigned reserved memory node linux,meson-fb ok
[    3.220485] tv_vout: tv_set_current_vmode[696]fps_target_mode=65
[    3.226438] tv_vout: mode is 65,sync_duration_den=1,sync_duration_num=60
[    3.233069] switch_vpu_mem_pd: vencp ON
[    3.236882] tv_vout: TV mode custombuilt selected.
[    3.241608] tv_vout: new mode =custombuilt set ok
[    3.246285] vout_serve: vinfo mode is: custombuilt
[    3.251021] switch_vpu_mem_pd: viu_osd1 ON
[    3.255068] switch_vpu_mem_pd: viu_osd2 ON
[    3.259114] switch_vpu_mem_pd: viu_osd_scale ON
[    3.263743] osd_rdma: osd_rdma_init: rmda_table p=0x5d849000,op=0x5d849000 , v=0xffffff800027b000
[    3.272431] hdmitx: video: get current mode: custombuilt
[    3.277689] hdmitx: video: get current mode: custombuilt
[    3.282945] hdmitx: system: already init VIC = 0  Now VIC = 787
[    3.288815] hdmitx: rx no SCDC present indicator
[    3.294750] hub 1-1:1.0: USB hub found
[    3.295367] hdmitx: ddc rd8b error 0x54 0x01
[    3.297376] hdmitx: ddc rd8b error 0x54 0x01
[    3.297380] hdmirx version is 1.4 or below
[    3.297381] hdmitx: system: set pll
[    3.297383] hdmitx: system: param->VIC:787
[    3.297440] hdmitx: set clk of VIC = 787 done
[    3.297465] hdmitx_set_hw[4552] set VIC = 787
[    3.326000] hub 1-1:1.0: 4 ports detected
[    3.426413] hdmitx: system: phy setting done
[    3.426443] hdmitx: system: irq 80000001
[    3.455397] Sink is HDMI device
[    3.455416] Source reading EDID
[    3.484392] hdmtix: set audio
[    3.484415] hdmitx tx_aud_src = 0
[    3.485032] hdmitx aud_n_para = 24576
[    3.488647] hdmitx set channel status
[    3.492305] fb: osd_probe vinfo:ffffffc001d26298
[    3.496840] fb: Frame buffer memory assigned at
[    3.501142] fb:     phy: 0x78000000, vir:0xffffff8003c00000, size=98304K
[    3.507969] fb: osd_set_res_bootargs : mode 65
[    3.512357] fb: fb def : 1920 1080 1920 2160 32
[    3.516843] fb: init fbdev bpp is:32
[    3.520373] fb: ---------------clear fb0 memory
[    3.554131] fb: osd[0] canvas.idx =0x40
[    3.554133] fb: osd[0] canvas.addr=0x78000000
[    3.554134] fb: osd[0] canvas.width=7680
[    3.554136] fb: osd[0] canvas.height=2160
[    3.583329] Console: switching to colour frame buffer device 240x67
[    3.613486] usb 1-1.3: new full-speed USB device number 3 using dwc_otg
[    3.629015] fb: Frame buffer memory assigned at
[    3.630545] fb:     phy: 0x7e000000, vir:0xffffff8001a00000, size=1024K
[    3.645613] fb: osd probe OK
[    3.645787] vout_serve: vout_init_module
[    3.646866] vout_serve: meson_vout_probe
[    3.650692] vout_serve: create vout attribute OK
[    3.655309] ge2d: ge2d_init_module
[    3.658614] ge2d: ge2d_dev major:241
[    3.662293] ge2d: ge2d clock is 400 MHZ
[    3.665948] ge2d: ge2d: pdev=ffffffc05b2e0a00, irq=182, rstc=0xffffffc05837e380, clk=ffffffc05b2adb00
[    3.675116] ge2d: mapped phy: 0xd0160000
[    3.678964] ge2d: ge2d start monitor
[    3.682581] ge2d: ge2d workqueue monitor start
[    3.682663] codec:Amlogic A/V streaming port init
[    3.683314] codec:get gate demux control ok ffffffc0583fe800
[    3.683318] codec:get gate parser_top control ok ffffffc0583fe900
[    3.683322] codec:get gate vpu_intr control ok ffffffc0583fea00
[    3.683328] codec:get gate vdec control ok ffffffc0583feb00
[    3.683503] codec:[tsync_pcr_init]init success.
[    3.683540] codec:regist mpeg12 codec profile
[    3.683575] codec:regist mpeg4 codec profile
[    3.683577] codec:amvdec_vc1 module init
[    3.683608] codec:regist vc1 codec profile
[    3.683609] codec:amvdec_h264 module init
[    3.683661] codec:regist h264 codec profile
[    3.683663] codec:amvdec_h264mvc module init
[    3.683699] codec:regist hmvc codec profile
[    3.683701] codec:amvdec_h264_4k2k module init
[    3.683734] codec:regist h264_4k2k codec profile
[    3.683736] codec:amvdec_h265 module init
[    3.683767] codec:regist hevc codec profile
[    3.683799] codec:regist mjpeg codec profile
[    3.683800] codec:amvdec_real module init
[    3.683832] codec:regist real codec profile
[    3.683833] codec:amvdec_avs module init
[    3.683867] codec:regist avs codec profile
[    3.683908] amvenc_avc_probe -- reserved memory config fail.
[    3.683911] amvenc_avc - cma memory pool size: 40 MB
[    3.683931] encode_wq_init.
[    3.683936] encode start monitor.
[    3.684012] encode workqueue monitor start.
[    3.684120] jpegenc module init
[    3.684161] jpegenc probe start.
[    3.684165] jpegenc has 1 memory regions
[    3.684197] jpegenc jpegenc: assigned reserved memory node linux,jpegenc_cma ok
[    3.684201] jpegenc - cma memory pool size: 36 MB
[    3.684211] jpegenc memory config sucess, buff size is 0x2400000, level: 8M
[    3.684212] jpegenc_wq_init.
[    3.684278] jpegenc probe end.
[    3.684346] codec:picdec_driver_probe called.
[    3.684348] picdec has 1 memory regions
[    3.684355] picdec picdec: assigned reserved memory node linux,picdec ok
[    3.684357] codec:picdec_driver_probe done.
[    3.684358] codec:reserved memory config fail , use CMA   .
[    3.687881] codec:cma memory is 64800000 , size is  3000000
[    3.688229] codec:0 addr is 64800000################
[    3.688237] codec:1 addr is 64afd000################
[    3.688380] switch_vpu_mem_pd: vpu_arb ON
[    3.688618] codec:create_ge2d_work_queue video task ok
[    3.688936] codec:register clk_set_setting cpu[31]
[    3.689247] di_module_init ok.
[    3.689252] di_module_init: major 236
[    3.689434] di_probe
[    3.689542] deinterlace has 1 memory regions
[    3.689578] di reveser memory 0x76200000, size 30MB.
[    3.689587] deinterlace deinterlace: assigned reserved memory node linux,di ok
[    3.689746] rdma_register, rdma_table_addr ffffff800027d000 rdma_table_addr_phy 5d84e000 reg_buf ffffffc073800000
[    3.689748] rdma_register success, handle 1 table_size 8192
[    3.689751] di_probe allocate rdma channel 1.
[    3.689755] DI hw version 2.
[    3.689765] 0x000000c3:Y=c3,U=0,V=0
[    3.689767] 0x000000c4:Y=c4,U=0,V=0
[    3.689769] 0x000000c5:Y=c5,U=0,V=0
[    3.689770] 0x000000c6:Y=c6,U=0,V=0
[    3.689772] 0x000000c7:Y=c7,U=0,V=0
[    3.689773] 0x000000c8:Y=c8,U=0,V=0
[    3.689775] 0x000000c9:Y=c9,U=0,V=0
[    3.689778] 0x000000ca:Y=ca,U=0,V=0
[    3.689779] 0x000000cb:Y=cb,U=0,V=0
[    3.689781] 0x000000cc:Y=cc,U=0,V=0
[    3.689784] 0x000000cd:Y=cd,U=0,V=0
[    3.689785] 0x000000ce:Y=ce,U=0,V=0
[    3.689787] 0x000000cf:Y=cf,U=0,V=0
[    3.689944] di_probe here.
[    3.689961] switch_vpu_mem_pd: di_pre OFF
[    3.690144] efusekeynum: 4
[    3.690153] efusekeyname:             mac   offset:     0   size:     6
[    3.690159] efusekeyname:          mac_bt   offset:     6   size:     6
[    3.690165] efusekeyname:        mac_wifi   offset:    12   size:     6
[    3.690170] efusekeyname:            usid   offset:    18   size:    16
[    3.690269] efuse efuse: probe OK!
[    3.690407] 6aml_unifykeys_init done!
[    3.690408] ppmgr module init func called
[    3.690444] ppmgr_driver_probe called
[    3.690447] ppmgr has 1 memory regions
[    3.690458] init ppmgr memsource 74200000->761fffff
[    3.690573] ppmgr_probe done
[    3.690775] ionvideo-000: V4L2 device registered as video13
[    3.690782] [dsp]register dsp to char divece(257)
[    3.691049] amaudio: driver amaudio succuess!
[    3.691054] amlvideo_init called
[    3.691055] amlvideo_create_instance called
[    3.691057] v4l2_dev.name=:amlvideo-000
[    3.691116] amlvideo-000: V4L2 device registered as video10
[    3.691119] 
               
                VECM init

[    3.691402] saradc c1108680.saradc: initialized by BL30
[    3.691405] saradc c1108680.saradc: calibration start:
[    3.691454] saradc c1108680.saradc: nominal=0, value=0
[    3.691498] saradc c1108680.saradc: nominal=256, value=250
[    3.691543] saradc c1108680.saradc: nominal=512, value=506
[    3.691588] saradc c1108680.saradc: nominal=768, value=764
[    3.691633] saradc c1108680.saradc: nominal=1023, value=1019
[    3.691636] saradc c1108680.saradc: calibration end: coef=4080
[    3.691677] remote: Driver init
[    3.691852] gpio_key- gpio_key_probe
[    3.691864] gpio-key c8100000.gpio_keypad: gpio_key: find key_name=0 fail
[    3.691874] gpio-key: probe of c8100000.gpio_keypad failed with error -22
[    3.692076] aml-thermal aml-sensor@0: min state:500000 400 1 2
[    3.692286] aml-thermal aml-sensor@0: not found gpucore node
[    3.692293] aml-thermal aml-sensor@0: gpu coef:437, pp:3
[    3.697351] aml-thermal aml-sensor@0: cdev1 set upper to 3
[    3.697354] aml-thermal aml-sensor@0: cdev2 set upper to 3
[    3.697358] aml-thermal aml-sensor@0: cdev0 set upper to 3
[    3.700290] input: cec_input as /devices/virtual/input/input0
[    3.700524] cectx c810023c.aocec: aml_cec_probe(): can't find hdmirx
[    3.701343] 6--------------------------------------------------------
[    3.701345] 6odroid_sysfs_init(321) : Sleep Enable !!
[    3.701346] 6--------------------------------------------------------
[    3.701487] input: vt-input as /devices/virtual/input/input1
[    3.703793] 6Virtual-Key input driver registered!!
[    3.704250] adbattery: android dummy battery driver loaded
[    3.704843] enter aml_soc_platform_pcm2bt_probe
[    3.705324] divider=16,frac=33920000,SDMval=4523
[    3.705441] enter aml_pcm_dai_probe
[    3.705479] [aml-spdif-dai]enter aml_dai_spdif_init
[    3.705532] aml_spdif_probe
[    3.705631] enter spdif_dit_probe
[    3.706308] odroid_hdmi_snd odroid_hdmi: dit-hifi <-> I2S mapping ok
[    3.707130] GACT probability on
[    3.707135] Mirror/redirect action on
[    3.707136] u32 classifier
[    3.707137]     Performance counters on
[    3.707138]     input device check on
[    3.707139]     Actions configured
[    3.707242] TCP: cubic registered
[    3.707253] NET: Registered protocol family 17
[    3.707285] NET: Registered protocol family 15
[    3.707367] Bluetooth: RFCOMM TTY layer initialized
[    3.707386] Bluetooth: RFCOMM socket layer initialized
[    3.707398] Bluetooth: RFCOMM ver 1.11
[    3.707405] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    3.707407] Bluetooth: BNEP filters: protocol multicast
[    3.707416] Bluetooth: BNEP socket layer initialized
[    3.707418] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    3.707423] Bluetooth: HIDP socket layer initialized
[    3.707482] NET: Registered protocol family 35
[    3.707560] Key type dns_resolver registered
[    3.708201] Registering SWP/SWPB emulation handler
[    3.708470] registered taskstats version 1
[    3.708538] AppArmor: AppArmor sha1 policy hashing enabled
[    3.708569] regulator-dummy: disabling
[    3.708906] Mali DRM initialize, driver name: mali_drm, version 2.1
[    3.709081] [drm] Initialized mali_drm 2.1.1 20140306 on minor 0
[    3.709091] Mali DRM initialize, driver name: mali_drm, version 2.1
[    3.709196] [drm] Initialized mali_drm 2.1.1 20140306 on minor 1
[    3.709317] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    3.710334] 6enter meson_pm_probe!
[    3.710401] meson_pm_probe done
[    3.710634] ALSA device list:
[    3.710636]   #0: ODROID-HDMI
[    3.737692] input: USB Keyboard as /devices/platform/dwc2_b/usb1/1-1/1-1.3/1-1.3:1.0/0003:04D9:A09C.0001/input/input2
[    3.737878] hid-generic 0003:04D9:A09C.0001: input,hidraw0: USB HID v1.11 Keyboard [USB Keyboard] on usb-dwc2_b-1.3/input0
[    3.769686] random: nonblocking pool is initialized
[    4.437044] Freeing unused kernel memory: 904K (ffffffc001b98000 - ffffffc001c7a000)
[    4.464647] sd: clk 83333333 SDR mode tuning start
[    4.469665] rx_tuning_result[0][0] = 10
[    4.474678] rx_tuning_result[0][1] = 10
[    4.475502] rx_tuning_result[0][2] = 10
[    4.476320] rx_tuning_result[0][3] = 10
[    4.477150] rx_tuning_result[0][4] = 10
[    4.477980] rx_tuning_result[0][5] = 10
[    4.478814] rx_tuning_result[0][6] = 10
[    4.479657] rx_tuning_result[0][7] = 10
[    4.480484] rx_tuning_result[0][8] = 10
[    4.481405] rx_tuning_result[0][10] = 10
[    4.482237] rx_tuning_result[0][11] = 10
[    4.482240] best_win_start =10, best_win_size =11
[    4.482243] sd_emmc_regs->gclock =0x100024c, sd_emmc_regs->gadjust =0x32000
[    4.482249] sd: gclock =0x100024c, gdelay=0x0
[    4.482251] gadjust=0x32000
[    4.482263] sd: new ultra high speed SDR50 SDHC card at address 59b4
[    4.482870] sd: clock 83333333, 4-bit-bus-width
               
[    4.482871] mmcblk0: sd:59b4 BB2MW 29.8 GiB
[    4.483897]  mmcblk0: p1 p2
[    5.345666] switch_vpu_mem_pd: viu_vd1 OFF
[    5.349096] switch_vpu_mem_pd: afbc_dec OFF
[    5.352407] switch_vpu_mem_pd: di_post OFF
[    5.355731] switch_vpu_mem_pd: viu_vd2 OFF
[   13.744483] urb_enqueue:urb(ffffffc073964900) had been killed
[   13.747986] hid-generic 0003:04D9:A09C.0002: usb_submit_urb(ctrl) failed: -1
[   13.754950] hid-generic 0003:04D9:A09C.0002: timeout initializing reports
[   13.761932] input: USB Keyboard as /devices/platform/dwc2_b/usb1/1-1/1-1.3/1-1.3:1.1/0003:04D9:A09C.0002/input/input3
[   13.772804] hid-generic 0003:04D9:A09C.0002: input,hiddev0,hidraw1: USB HID v1.11 Keyboard [USB Keyboard] on usb-dwc2_b-1.3/input1
[   13.786789] hid-generic 0003:04D9:A09C.0003: hiddev0,hidraw2: USB HID v1.11 Device [USB Keyboard] on usb-dwc2_b-1.3/input2
[   14.034663] usb 1-1.1: new full-speed USB device number 4 using dwc_otg
[   14.147157] input: Mouse Gaming Mouse as /devices/platform/dwc2_b/usb1/1-1/1-1.1/1-1.1:1.0/0003:04D9:A0D0.0004/input/input4
[   14.157330] hid-generic 0003:04D9:A0D0.0004: input,hiddev0,hidraw3: USB HID v1.10 Mouse [Mouse Gaming Mouse] on usb-dwc2_b-1.1/input0
[   14.271667] vout_serve: vmode set to custombuilt

[   14.280691] vout_serve: don't set the same mode as current.
[   14.290577] vout_serve: vmode set to custombuilt

[   14.299754] vout_serve: don't set the same mode as current.
[   14.305339] fb: osd0 free scale DISABLE
[   19.498734] EXT4-fs (mmcblk0p2): mounted filesystem without journal. Opts: (null)
[   19.823144] systemd[1]: System time before build time, advancing clock.
[   19.914193] NET: Registered protocol family 10
[   19.943308] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN)
[   19.960911] systemd[1]: Detected architecture arm64.
[   19.987517] systemd[1]: Set hostname to <odroid64>.
[   20.530463] systemd[1]: [/etc/systemd/system/odroid-lcd35.service:4] Unknown section 'Path'. Ignoring.
[   20.558182] systemd[1]: Listening on Syslog Socket.
[   20.568713] systemd[1]: Created slice User and Session Slice.
[   20.578996] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[   20.590726] systemd[1]: Reached target Encrypted Volumes.
[   20.601336] systemd[1]: Reached target Swap.
[   20.612060] systemd[1]: Reached target Remote File Systems (Pre).
[   20.623273] systemd[1]: Reached target Remote File Systems.
[   20.634270] systemd[1]: Listening on udev Control Socket.
[   20.645355] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[   20.658441] systemd[1]: Reached target User and Group Name Lookups.
[   20.670428] systemd[1]: Listening on fsck to fsckd communication Socket.
[   20.683157] systemd[1]: Listening on Journal Socket.
[   20.695140] systemd[1]: Started Trigger resolvconf update for networkd DNS.
[   20.708396] systemd[1]: Listening on udev Kernel Socket.
[   20.720614] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[   20.736194] systemd[1]: Listening on Journal Socket (/dev/log).
[   20.748165] systemd[1]: Created slice System Slice.
[   20.760667] systemd[1]: Mounting Debug File System...
[   20.777282] systemd[1]: Starting Load Kernel Modules...
[   20.790585] systemd[1]: Started Read required files in advance.
[   20.804418] systemd[1]: Starting Journal Service...
[   20.817815] systemd[1]: Starting Set console keymap...
[   20.831175] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[   20.848100] systemd[1]: Mounting POSIX Message Queue File System...
[   20.860415] systemd[1]: Reached target Slices.
[   20.873640] systemd[1]: Starting Uncomplicated firewall...
[   20.886830] systemd[1]: Starting LSB: controls configuration of serial ports...
[   20.900754] systemd[1]: Created slice system-serial\x2dgetty.slice.
[   20.931180] systemd[1]: Starting Remount Root and Kernel File Systems...
[   20.932756] fbtft_device:  SPI devices registered:
[   20.932760] fbtft_device:  'fb' Platform devices registered:
[   20.932787] fbtft_device:      meson-fb id=-1 pdata? no
[   20.932965] fbtft_device:  GPIOS used by 'flexpfb':
[   20.932967] fbtft_device:    'reset' = GPIO247
[   20.932969] fbtft_device:    'dc' = GPIO228
[   20.932970] fbtft_device:    'wr' = GPIO229
[   20.932971] fbtft_device:    'cs' = GPIO238
[   20.932973] fbtft_device:    'db00' = GPIO233
[   20.932974] fbtft_device:    'db01' = GPIO231
[   20.932975] fbtft_device:    'db02' = GPIO236
[   20.932976] fbtft_device:    'db03' = GPIO230
[   20.932978] fbtft_device:    'db04' = GPIO232
[   20.932979] fbtft_device:    'db05' = GPIO235
[   20.932980] fbtft_device:    'db06' = GPIO237
[   20.932981] fbtft_device:    'db07' = GPIO239
[   20.932983] fbtft_device:  'fb' Platform devices registered:
[   20.932995] fbtft_device:      meson-fb id=-1 pdata? no
[   20.933016] fbtft_device:      flexpfb id=0 pdata? yes
[   21.038866] systemd[1]: Starting Nameserver information manager...
[   21.050518] systemd[1]: Mounting Huge Pages File System...
[   21.061804] systemd[1]: Started Braille Device Support.
[   21.063345] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro
[   21.083302] systemd[1]: Mounted POSIX Message Queue File System.
[   21.093135] systemd[1]: Mounted Debug File System.
[   21.102370] systemd[1]: Mounted Huge Pages File System.
[   21.112168] systemd[1]: ureadahead.service: Main process exited, code=exited, status=5/NOTINSTALLED
[   21.120804] systemd[1]: ureadahead.service: Unit entered failed state.
[   21.126569] systemd[1]: ureadahead.service: Failed with result 'exit-code'.
[   21.133972] systemd[1]: Started Create list of required static device nodes for the current kernel.
[   21.148317] systemd[1]: Started Uncomplicated firewall.
[   21.158423] systemd[1]: Started Set console keymap.
[   21.168533] systemd[1]: Started Remount Root and Kernel File Systems.
[   21.183322] systemd[1]: Started Journal Service.
[   21.322800] systemd-journald[210]: Received request to flush runtime journal from PID 1
[   21.355001] graphics fb2: flexfb frame buffer, 480x320, 300 KiB video memory, 4 KiB DMA buffer memory, fps=20
[   21.364891] aml_i2c version: 20140813
[   21.365313] aml-i2c c1108500.i2c: add adapter aml_i2c_adap1(ffffffc05b1eb8e0)
[   21.374951] sx865x 2-0049: sx865x_probe()
[   21.377017] sx865x 2-0049: swap_xy (1)
[   21.377019] sx865x 2-0049: invert_x (0)
[   21.377022] sx865x 2-0049: invert_y (1)
[   21.377025] sx865x 2-0049: gpio pendown (218)
[   21.377027] sx865x 2-0049: gpio reset (224)
[   21.377030] sx865x 2-0049: gpio irq (96)
[   21.378032] input: SX865X Touchscreen as /devices/i2c-2/2-0049/input/input5
[   21.378244] sx865x 2-0049: probe ok! registered with irq (96)
[   21.378297] aml-i2c c11087c0.i2c: add adapter aml_i2c_adap2(ffffffc0580240e0)
[   21.383231] meson_pwm pwm: register pwm device.. meson_pwm_probe
[   21.385958] pwm-ctrl pwm-ctrl: cannot export to PWM-1 : modprobe pwm-meson npwm=2
[   21.837539] gpiomem-meson c8834000.gpiomem: Initialised: Registers at 0xc8834000
[   22.726988] ionvideo open
[   22.924405] ionvideo_stop_generating!!!!
[   22.924438] ionvideo release
[   23.481733] audit: type=1400 audit(1455208083.650:2): apparmor="STATUS" operation="profile_load" name="/usr/lib/snapd/snap-confine" pid=516 comm="apparmor_parser"
[   23.481756] audit: type=1400 audit(1455208083.650:3): apparmor="STATUS" operation="profile_load" name="mount-namespace-capture-helper" pid=516 comm="apparmor_parser"
[   23.481767] audit: type=1400 audit(1455208083.650:4): apparmor="STATUS" operation="profile_load" name="snap_update_ns" pid=516 comm="apparmor_parser"
[   23.489869] audit: type=1400 audit(1455208083.660:5): apparmor="STATUS" operation="profile_load" name="/usr/sbin/cups-browsed" pid=517 comm="apparmor_parser"
[   23.492693] audit: type=1400 audit(1455208083.660:6): apparmor="STATUS" operation="profile_load" name="/sbin/dhclient" pid=514 comm="apparmor_parser"
[   23.492739] audit: type=1400 audit(1455208083.660:7): apparmor="STATUS" operation="profile_load" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=514 comm="apparmor_parser"
[   23.492749] audit: type=1400 audit(1455208083.660:8): apparmor="STATUS" operation="profile_load" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=514 comm="apparmor_parser"
[   23.492759] audit: type=1400 audit(1455208083.660:9): apparmor="STATUS" operation="profile_load" name="/usr/lib/connman/scripts/dhclient-script" pid=514 comm="apparmor_parser"
[   23.496535] audit: type=1400 audit(1455208083.670:10): apparmor="STATUS" operation="profile_load" name="/usr/sbin/ippusbxd" pid=520 comm="apparmor_parser"
[   23.504745] audit: type=1400 audit(1455208083.680:11): apparmor="STATUS" operation="profile_load" name="/usr/lib/lightdm/lightdm-guest-session" pid=513 comm="apparmor_parser"
[   23.696436] cgroup: new mount options do not match the existing superblock, will be ignored
[   23.908566] zram: Created 4 device(s) ...
[   24.119125] zcomp_create, comress:lz4
[   24.119164] zram0: detected capacity change from 0 to 225099776
[   24.294143] Adding 219820k swap on /dev/zram0.  Priority:5 extents:1 across:219820k SS
[   24.295362] zcomp_create, comress:lz4
[   24.295395] zram1: detected capacity change from 0 to 225099776
[   24.309353] Adding 219820k swap on /dev/zram1.  Priority:5 extents:1 across:219820k SS
[   24.310519] zcomp_create, comress:lz4
[   24.310559] zram2: detected capacity change from 0 to 225099776
[   24.325272] Adding 219820k swap on /dev/zram2.  Priority:5 extents:1 across:219820k SS
[   24.326390] zcomp_create, comress:lz4
[   24.326423] zram3: detected capacity change from 0 to 225099776
[   24.342367] Adding 219820k swap on /dev/zram3.  Priority:5 extents:1 across:219820k SS
[   25.137863] Registered IR keymap rc-empty
[   25.138167] input: meson-ir as /devices/platform/c8100580.meson-ir/rc/rc0/input6
[   25.142088] rc0: meson-ir as /devices/platform/c8100580.meson-ir/rc/rc0
[   25.158798] meson-ir c8100580.meson-ir: AO_RTI_PIN_MUX : 0x19801
[   25.158816] meson-ir c8100580.meson-ir: receiver initialized
[   25.172609] IR NEC protocol handler initialized
[   25.191796] IR RC5(x) protocol handler initialized
[   25.193819] IR RC6 protocol handler initialized
[   25.194664] IR JVC protocol handler initialized
[   25.196985] IR SANYO protocol handler initialized
[   25.198095] input: MCE IR Keyboard/Mouse (meson-ir) as /devices/virtual/input/input7
[   25.199560] IR MCE Keyboard/mouse protocol handler initialized
[   25.199902] IR Sony protocol handler initialized
[   25.214278] lirc_dev: IR Remote Control driver registered, major 230
[   25.225808] rc rc0: lirc_dev: driver ir-lirc-codec (meson-ir) registered at minor = 0
[   25.225820] IR LIRC bridge handler initialized
[   25.471581] input: lircd as /devices/virtual/input/input8
[   25.490615] input: lircd as /devices/virtual/input/input9
[   29.492997] fuse init (API version 7.22)
[   30.474638] libphy: stmmac-0:00 - Link is Up - 1000/Full
[   30.969218] divider=17,frac=80768000,SDMval=11722
[   30.969265] i2sin_fifo0_set_buf
[   30.969393] i2sin_fifo0_set_buf
[   31.007383] i2sin_fifo0_set_buf
[   31.007498] i2sin_fifo0_set_buf
[   31.016219] [aml-i2s-dai]i2s dma ffffff800048e000,phy addr 1569062912,mode 0,ch 1
[   31.016233] ----aml_hw_iec958_init,runtime->rate=44100,sample_rate=5--
[   31.016237] aml_set_spdif_clk rate
[   31.016257] divider=22,frac=13030400,SDMval=2364
[   31.016311] set normal 512 fs /4 fs
[   31.016318] iec958 mode PCM16
[   31.016326] IEC958 16bit
[   31.016333] hdmitx: audio: aout notify rate 44100
[   31.016337] hdmitx: audio: aout notify size 16
[   31.016341] hdmtix: set audio
[   31.016353] hdmitx tx_aud_src = 0
[   31.016379] hdmitx aud_n_para = 6144
[   31.016397] hdmitx set channel status
[   31.016451] 958 with i2s
[   31.016572] [aml-i2s-dai]i2s dma ffffff800048e000,phy addr 1569062912,mode 0,ch 1
[   31.016577] ----aml_hw_iec958_init,runtime->rate=44100,sample_rate=5--
[   31.016580] aml_set_spdif_clk rate
[   31.016586] divider=22,frac=13030400,SDMval=2364
[   31.016592] set normal 512 fs /4 fs
[   31.016597] iec958 mode PCM16
[   31.016603] IEC958 16bit
[   31.016607] hdmitx: audio: aout notify rate 44100
[   31.016610] hdmitx: audio: aout notify size 16
[   31.016613] 958 with i2s
[   31.026345] i2sin_fifo0_set_buf
[   31.026475] i2sin_fifo0_set_buf
[   31.027257] i2sin_fifo0_set_buf
[   31.027353] i2sin_fifo0_set_buf
[   31.028119] [aml-i2s-dai]i2s dma ffffff800048e000,phy addr 1569062912,mode 0,ch 2
[   31.028129] ----aml_hw_iec958_init,runtime->rate=44100,sample_rate=5--
[   31.028133] aml_set_spdif_clk rate
[   31.028146] divider=22,frac=13030400,SDMval=2364
[   31.028158] set normal 512 fs /4 fs
[   31.028164] iec958 mode PCM16
[   31.028171] IEC958 16bit
[   31.028177] hdmitx: audio: aout notify rate 44100
[   31.028180] hdmitx: audio: aout notify size 16
[   31.028185] hdmtix: set audio
[   31.028198] hdmitx tx_aud_src = 0
[   31.028223] hdmitx aud_n_para = 6144
[   31.028242] hdmitx set channel status
[   31.028299] 958 with i2s
[   31.028408] [aml-i2s-dai]i2s dma ffffff800048e000,phy addr 1569062912,mode 0,ch 2
[   31.028413] ----aml_hw_iec958_init,runtime->rate=44100,sample_rate=5--
[   31.028416] aml_set_spdif_clk rate
[   31.028421] divider=22,frac=13030400,SDMval=2364
[   31.028427] set normal 512 fs /4 fs
[   31.028432] iec958 mode PCM16
[   31.028438] IEC958 16bit
[   31.028442] hdmitx: audio: aout notify rate 44100
[   31.028445] hdmitx: audio: aout notify size 16
[   31.028448] 958 with i2s
[   31.029216] i2sin_fifo0_set_buf
[   31.029321] i2sin_fifo0_set_buf
[   31.030107] i2sin_fifo0_set_buf
[   31.030207] i2sin_fifo0_set_buf
[   31.037680] [aml-i2s-dai]i2s dma ffffff800048e000,phy addr 1569062912,mode 0,ch 2
[   31.037693] ----aml_hw_iec958_init,runtime->rate=44100,sample_rate=5--
[   31.037698] aml_set_spdif_clk rate
[   31.037710] divider=22,frac=13030400,SDMval=2364
[   31.037723] set normal 512 fs /4 fs
[   31.037730] iec958 mode PCM16
[   31.037739] IEC958 16bit
[   31.037746] hdmitx: audio: aout notify rate 44100
[   31.037750] hdmitx: audio: aout notify size 16
[   31.037754] 958 with i2s
[   31.037865] [aml-i2s-dai]i2s dma ffffff800048e000,phy addr 1569062912,mode 0,ch 2
[   31.037869] ----aml_hw_iec958_init,runtime->rate=44100,sample_rate=5--
[   31.037872] aml_set_spdif_clk rate
[   31.037878] divider=22,frac=13030400,SDMval=2364
[   31.037884] set normal 512 fs /4 fs
[   31.037889] iec958 mode PCM16
[   31.037894] IEC958 16bit
[   31.037898] hdmitx: audio: aout notify rate 44100
[   31.037902] hdmitx: audio: aout notify size 16
[   31.037905] 958 with i2s
[   31.055455] aiu i2s playback enable
[   31.055481] audio_hw_958_enable 1
[   31.057513] i2sin_fifo0_set_buf
[   31.057661] i2sin_fifo0_set_buf
[   36.115335] aiu i2s playback disable
[   36.115349] audio_hw_958_enable 0


lsmod:
Code: Select all
Module                  Size  Used by
fuse                   89333  3
ir_lirc_codec           4814  3
lirc_dev               10631  1 ir_lirc_codec
ir_sony_decoder         1698  0
ir_mce_kbd_decoder      3381  0
ir_sanyo_decoder        1668  0
ir_jvc_decoder          1688  0
ir_rc6_decoder          2021  0
ir_rc5_decoder          1605  0
ir_nec_decoder          1824  0
meson_ir                3404  0
zram                   18336  4
lz4_decompress          2704  1 zram
lz4_compress            2865  1 zram
meson_gpiomem           4024  0
gxbb_wdt                3427  0
joydev                 11039  0
pwm_ctrl                6707  0
pwm_meson               4570  1
aml_i2c                16898  0
sx865x                  5235  0
flexfb                 16664  2
fbtft_device           35879  0
fbtft                  37815  2 flexfb,fbtft_device
syscopyarea             2825  1 fbtft
sysfillrect             3723  1 fbtft
sysimgblt               1933  1 fbtft
fb_sys_fops             1357  1 fbtft
ipv6                  376636  44
autofs4                28111  2


Code: Select all
root@odroid64:~# con2fbmap 1 2
root@odroid64:~#


Code: Select all
root@odroid64:~# cat /proc/fb
0 OSD FB
1 OSD FB
2 flexfb
root@odroid64:~#


Code: Select all
root@odroid64:~# ls /dev/fb*
/dev/fb0  /dev/fb1  /dev/fb2


99-odroid-lcd35.conf:
Code: Select all
Section "Device"
    Identifier    "C fbdev"
    Driver        "fbdev"
    Option        "fbdev" "/dev/fb2"
EndSection


99-calibration.conf:
Code: Select all
Section "InputClass"
        Identifier      "calibration"
        MatchProduct    "SX865X Touchscreen"
        Option  "Calibration"   "3854 155 3880 262"
        Option  "SwapAxes"      "0"
EndSection


So I'm running out of Ideas. Could anyone please help?
yau
 
Posts: 5
Joined: Sat Mar 03, 2018 7:51 pm
languages_spoken: english, german
ODROIDs: C2

Re: Could not install LCD 3.5 Touchscreen Shield @ ODROID C2

Unread postby odroid » Sat Mar 03, 2018 9:43 pm

What happens if you run this command?
Code: Select all
sudo chvt 1
User avatar
odroid
Site Admin
 
Posts: 28622
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Could not install LCD 3.5 Touchscreen Shield @ ODROID C2

Unread postby yau » Sun Mar 04, 2018 2:23 am

Code: Select all
sudo chvt 1
and
Code: Select all
sudo chvt 7
cause blank computer monitor screen + blank LCD screen (only backlight on)
Code: Select all
sudo chvt 2
gives my tty2 on the computer monitor (same for other numbers; except 1 & 7 of curse)
yau
 
Posts: 5
Joined: Sat Mar 03, 2018 7:51 pm
languages_spoken: english, german
ODROIDs: C2

Re: Could not install LCD 3.5 Touchscreen Shield @ ODROID C2

Unread postby joshua.yang » Mon Mar 05, 2018 11:51 am

@yau

Could you check the following list first?
- Have you enter the commands below to enable the LCD shield properly?
Code: Select all
$ echo 500000 | sudo tee /sys/devices/platform/pwm-ctrl/freq0
$ echo 1 | sudo tee /sys/devices/platform/pwm-ctrl/enable0
$ echo 1023 | sudo tee /sys/devices/platform/pwm-ctrl/duty0

- Have you use the proper frame buffer named "flexfb"?
Code: Select all
root@odroid64:~# cat /sys/class/graphics/fb2/name
flexfb



The whole process is quite simple,
1. Load the modules (modprobe)
1-1. (C2) Turn on the backlight of the LCD shield (The pwm setups)
2. Remap between console and frame buffer assigned at the LCD shield (con2fbmap)
3. Select a console to show up (chvt)
3-1. (X-window, console #7) Restart the lightdm service

I've just tested with my C2 + 3.5 inch LCD shield even with freshly flashed eMMC card with Ubuntu mate. I had connected the monitor using HDMI cable.
Console #1 (Just looks like a terminal) and #7 (X-window, graphical desktop environment) are working and I can select one between them by using chvt command.
joshua.yang
 
Posts: 76
Joined: Fri Sep 22, 2017 5:54 pm
languages_spoken: English
ODROIDs: XU4, XU4Q + Cloudshell2

Re: Could not install LCD 3.5 Touchscreen Shield @ ODROID C2

Unread postby yau » Mon Mar 05, 2018 8:21 pm

@joshua.yang

are the three "echo" commands you mentioned, exclusively for turning on the LED-Backlight? At least I understood the WiKi this way. So when entered those commands, the LED turned on - so this part seems to work.

I'll check for the proper frame buffer name once I have a chance to check this (I'm currently at work ...) and come back to you with the results. I will also retry your steps 1. ... 3.1 - once more.

As I stated above: with the chvt I can switch between the consoles - no problem for all consoles except #1 & #7. However when I switch to #1 & #7, I would expect a terminal respective graphical desktop to appear on the LCD - which does not happen; it only disappears on the HDMI ...
yau
 
Posts: 5
Joined: Sat Mar 03, 2018 7:51 pm
languages_spoken: english, german
ODROIDs: C2

Re: Could not install LCD 3.5 Touchscreen Shield @ ODROID C2

Unread postby joshua.yang » Fri Mar 09, 2018 10:42 am

yau wrote:are the three "echo" commands you mentioned, exclusively for turning on the LED-Backlight? At least I understood the WiKi this way. So when entered those commands, the LED turned on - so this part seems to work.


Yes the three echo commands are for turning on the backlit of the LCD shield.

yau wrote:I'll check for the proper frame buffer name once I have a chance to check this (I'm currently at work ...) and come back to you with the results. I will also retry your steps 1. ... 3.1 - once more.
As I stated above: with the chvt I can switch between the consoles - no problem for all consoles except #1 & #7. However when I switch to #1 & #7, I would expect a terminal respective graphical desktop to appear on the LCD - which does not happen; it only disappears on the HDMI ...


Well, maybe there're unexpected stuffs that interfering with selecting the frame buffer for X-window environment.
Could you remove (or rename adding ".bak") the configuration files at the /etc/X11/xorg.conf.d/* and edit the /etc/X11/xorg.conf file to have following contents? The target frame buffer should be changed to yours of course.
Code: Select all
Section "Device"
    Identifier    "C fbdev"
    Driver        "fbdev"
    Option        "fbdev" "/dev/fb2"
EndSection


BTW, the console #1 isn't show up on the LCD shield? :shock:
I think finding the frame buffer is still the key for solving this problem..

Or, if you have another MicroSD card or eMMC, flash the new C2 image on that and try out with a clean OS just for a try. With only our Wiki page.
joshua.yang
 
Posts: 76
Joined: Fri Sep 22, 2017 5:54 pm
languages_spoken: English
ODROIDs: XU4, XU4Q + Cloudshell2

Re: Could not install LCD 3.5 Touchscreen Shield @ ODROID C2

Unread postby yau » Sun Mar 11, 2018 8:50 pm

I flashed the SD-Card once again with the new Image. Than I followed the WIKI. Here is the terminal-history:

Code: Select all
odroid@odroid64:~$ sudo modprobe aml_i2c
[sudo] password for odroid:
odroid@odroid64:~$ sudo modprobe pwm-meson
odroid@odroid64:~$ sudo modprobe pwm-ctrl
odroid@odroid64:~$ sudo modprobe fbtft_device name=flexpfb rotate=270
odroid@odroid64:~$ sudo modprobe flexfb chip=ili9488
odroid@odroid64:~$ sudo modprobe sx865x
odroid@odroid64:~$ sudo modprobe fbtft_device name=flexpfb rotate=270
odroid@odroid64:~$ sudo modprobe flexfb chip=ili9488
odroid@odroid64:~$ ls /dev/fb*
/dev/fb0  /dev/fb1  /dev/fb2
odroid@odroid64:~$ cat /sys/class/graphics/fb2/name
flexfb
odroid@odroid64:~$ sudo apt-get install fbset
Reading package lists... Done
Building dependency tree       
Reading state information... Done
fbset is already the newest version (2.1-28).
The following packages were automatically installed and are no longer required:
  libllvm4.0 libqmi-glib1 linux-tools-4.4.0-97 linux-tools-4.4.0-97-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
odroid@odroid64:~$ echo 500000 | sudo tee /sys/devices/platform/pwm-ctrl/freq0
500000
odroid@odroid64:~$ echo 1 | sudo tee /sys/devices/platform/pwm-ctrl/enable0
1
odroid@odroid64:~$ echo 1023 | sudo tee /sys/devices/platform/pwm-ctrl/duty0
1023
odroid@odroid64:~$ sudo con2fbmap 1
console 1 is mapped to framebuffer 0
odroid@odroid64:~$ sudo con2fbmap 1 2
odroid@odroid64:~$ sudo con2fbmap 1
console 1 is mapped to framebuffer 2


than tried to get the terminal on the LCD Shield:

Code: Select all
odroid@odroid64:~$ sudo chvt 1


-> No success: the LCD Shield remained blank.

Same with the X-Window:

Code: Select all
droid@odroid64:~$ sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.old
odroid@odroid64:~$ sudo rm /etc/X11/xorg.conf
odroid@odroid64:~$ sudo vi /etc/X11/xorg.conf

Entry of the xorc.conf:
Code: Select all
Section "Device"
    Identifier    "C fbdev"
    Driver        "fbdev"
    Option        "fbdev" "/dev/fb2"
EndSection

Than further:
Code: Select all
odroid@odroid64:~$ con2fbmap 7 2
odroid@odroid64:~$ con2fbmap 7
console 7 is mapped to framebuffer 2
odroid@odroid64:~$ sudo chvt 7
odroid@odroid64:~$ sudo service lightdm restart

-> Also no success: the LCD Shield remained blank.

What else can I Do?
yau
 
Posts: 5
Joined: Sat Mar 03, 2018 7:51 pm
languages_spoken: english, german
ODROIDs: C2

Re: Could not install LCD 3.5 Touchscreen Shield @ ODROID C2

Unread postby odroid » Mon Mar 12, 2018 9:54 am

I think you did as much as you could and the 3.5" LCD shield seems to have a hardware problem.
Please contact "odroid at hardkernel dot com" with a link of this thread.
She will help your RMA process if you purchased the board from us directly.
Otherwise, contact your local distributor. Sorry for the inconvenience caused.
User avatar
odroid
Site Admin
 
Posts: 28622
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID

Re: Could not install LCD 3.5 Touchscreen Shield @ ODROID C2

Unread postby yau » Tue Mar 13, 2018 7:15 am

Ok. Many thank's for your support!
yau
 
Posts: 5
Joined: Sat Mar 03, 2018 7:51 pm
languages_spoken: english, german
ODROIDs: C2


Return to 3.5inch LCD Shield

Who is online

Users browsing this forum: No registered users and 1 guest