Part Number: AM3358
Other Parts Discussed in Thread: AM3352, TPS65217
Tool/software: Linux
Hi Ti,
I have a similer issue. But I do know how to generate the EDID file following the answer from 270
tyrael
My LCD panel has worked at last! I think EDID is the key problem.Kernel won't drive the lcd if it can't get the panel information by EDID port or the built-in bin files.Unfortunately my board has neither of those.After I made my own edid file based on the panel's datesheet ,the lcd got work!Here is what I did:
1 generate 1280x800 EDID file as Documentation/EDID/HOWTO.txt explains and copy it under /lib/firmwar
2 set CONFIG_DRM_LOAD_EDID_FIRMWARE=y in kernel configuration
3 add drm_kms_helper.edid_firmware=edid/1280x800.bin to kernel command line .
What I did is to download the EDID files from https://github.com/torvalds/linux/tree/master/Documentation/EDID to my BeagleBone Black and make it. An error happened here see output below. I know I must miss some thing, can tyrael or anyone help me about this?
root@beaglebone:/home/debian/code/EDID# ls -l
total 28
-rw-r--r-- 1 debian debian 1334 Aug 15 06:19 1024x768.S
-rw-r--r-- 1 debian debian 9709 Aug 15 06:19 edid.S
-rw-r--r-- 1 debian debian 25 Aug 15 06:19 hex
-rw-r--r-- 1 debian debian 2681 Aug 15 06:19 HOWTO.txt
-rw-r--r-- 1 debian debian 435 Aug 15 06:19 Makefile
root@beaglebone:/home/debian/code/EDID# make
Makefile:22: recipe for target '1024x768.bin.ihex' failed
make: *** [1024x768.bin.ihex] Error 127
rm 1024x768.o
root@beaglebone:/home/debian/code/EDID# ls -l
total 36
-rw-r--r-- 1 root root 128 Aug 15 06:34 1024x768.bin
-rw-r--r-- 1 root root 373 Aug 15 06:34 1024x768.bin.ihex
-rw-r--r-- 1 debian debian 1334 Aug 15 06:19 1024x768.S
-rw-r--r-- 1 debian debian 9709 Aug 15 06:19 edid.S
-rw-r--r-- 1 debian debian 25 Aug 15 06:19 hex
-rw-r--r-- 1 debian debian 2681 Aug 15 06:19 HOWTO.txt
-rw-r--r-- 1 debian debian 435 Aug 15 06:19 Makefile
Thanks in advance.
And here is the kernel log
-----------------------------------
root@beaglebone:/opt/source/dtb-4.9-ti/Bindings# dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.78-ti-r94 (root@b2-am57xx-beagle-x15-2gb) (gcc version 6.3.0 20170516 (Debian 6.3.0-18) ) #1 SMP PREEMPT Fri Jan 26 21:26:24 UTC 2018
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt:Machine model: TI AM335x BeagleBone Black
[ 0.000000] cma: Reserved 48 MiB at 0x9c800000
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] On node 0 totalpages: 130560
[ 0.000000] free_area_init_node: node 0, pgdat c14e97c0, node_mem_map df961000
[ 0.000000] Normal zone: 1148 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 130560 pages, LIFO batch:31
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] AM335X ES2.1 (sgx neon)
[ 0.000000] percpu: Embedded 15 pages/cpu @df904000 s31884 r8192 d21364 u61440
[ 0.000000] pcpu-alloc: s31884 r8192 d21364 u61440 alloc=15*4096
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129412
[ 0.000000] Kernel command line: console=ttyO0,115200n8 bone_capemgr.enable_partno=BB-UART1 bone_capemgr.uboot_capemgr_enabled=1 root=/dev/mmcblk0p1 ro rootfstype=ext4 rootwait coherent_pool=1M net.ifnames=0 quiet
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 439432K/522240K available (12288K kernel code, 1153K rwdata, 4356K rodata, 1024K init, 751K bss, 33656K reserved, 49152K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xe0000000 - 0xff800000 ( 504 MB)
lowmem : 0xc0000000 - 0xdfe00000 ( 510 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0xc0008000 - 0xc0d00000 (13280 kB)
.init : 0xc1300000 - 0xc1400000 (1024 kB)
.data : 0xc1400000 - 0xc1520770 (1154 kB)
.bss : 0xc1522000 - 0xc15ddfb0 ( 752 kB)
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[ 0.000024] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000047] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000057] OMAP clocksource: timer1 at 24000000 Hz
[ 0.001852] clocksource_probe: no matching clocksources found
[ 0.002441] Console: colour dummy device 80x30
[ 0.002470] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[ 0.002475] This ensures that you still see kernel messages. Please
[ 0.002480] update your kernel commandline.
[ 0.002502] Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
[ 0.021068] pid_max: default: 32768 minimum: 301
[ 0.021361] Security Framework initialized
[ 0.021372] Yama: becoming mindful.
[ 0.021433] AppArmor: AppArmor initialized
[ 0.021641] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.021651] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.022857] CPU: Testing write buffer coherency: ok
[ 0.022926] ftrace: allocating 39651 entries in 117 pages
[ 0.135707] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[ 0.135771] Setting up static identity map for 0x80100000 - 0x80100060
[ 0.181067] Brought up 1 CPUs
[ 0.181086] SMP: Total of 1 processors activated (995.32 BogoMIPS).
[ 0.181094] CPU: All CPU(s) started in SVC mode.
[ 0.182706] devtmpfs: initialized
[ 0.221417] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 0.221997] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.222022] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.225809] xor: measuring software checksum speed
[ 0.265084] arm4regs : 1217.000 MB/sec
[ 0.305033] 8regs : 1091.000 MB/sec
[ 0.345032] 32regs : 1088.000 MB/sec
[ 0.385031] neon : 1669.000 MB/sec
[ 0.385038] xor: using function: neon (1669.000 MB/sec)
[ 0.385055] pinctrl core: initialized pinctrl subsystem
[ 0.386607] NET: Registered protocol family 16
[ 0.390418] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.452716] omap_hwmod: debugss: _wait_target_disable failed
[ 0.505078] cpuidle: using governor ladder
[ 0.517059] cpuidle: using governor menu
[ 0.532546] OMAP GPIO hardware version 0.1
[ 0.559653] No ATAGs?
[ 0.559678] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.560409] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[ 0.560423] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[ 0.673113] raid6: neonx2 gen() 1895 MB/s
[ 0.741065] raid6: neonx2 xor() 1169 MB/s
[ 0.741073] raid6: using algorithm neonx2 gen() 1895 MB/s
[ 0.741079] raid6: .... xor() 1169 MB/s, rmw enabled
[ 0.741086] raid6: using intx1 recovery algorithm
[ 0.752205] edma 49000000.edma: TI EDMA DMA engine driver
[ 0.758732] SCSI subsystem initialized
[ 0.761222] libata version 3.00 loaded.
[ 0.761568] usbcore: registered new interface driver usbfs
[ 0.761643] usbcore: registered new interface driver hub
[ 0.761762] usbcore: registered new device driver usb
[ 0.762852] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe
[ 0.763822] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz
[ 0.765372] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
[ 0.765649] media: Linux media interface: v0.10
[ 0.765716] Linux video capture interface: v2.00
[ 0.765817] pps_core: LinuxPPS API ver. 1 registered
[ 0.765825] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.765849] PTP clock support registered
[ 0.766928] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[ 0.769475] Advanced Linux Sound Architecture Driver Initialized.
[ 0.770293] NetLabel: Initializing
[ 0.770303] NetLabel: domain hash size = 128
[ 0.770308] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.770383] NetLabel: unlabeled traffic allowed by default
[ 0.773544] clocksource: Switched to clocksource timer1
[ 0.901819] VFS: Disk quotas dquot_6.6.0
[ 0.901938] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.902353] AppArmor: AppArmor Filesystem Enabled
[ 0.918194] NET: Registered protocol family 2
[ 0.919234] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.919279] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.919338] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.919411] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.919432] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.919639] NET: Registered protocol family 1
[ 0.928615] RPC: Registered named UNIX socket transport module.
[ 0.928626] RPC: Registered udp transport module.
[ 0.928631] RPC: Registered tcp transport module.
[ 0.928636] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.928654] PCI: CLS 0 bytes, default 64
[ 0.929815] Unpacking initramfs...
[ 1.089604] random: fast init done
[ 1.384528] Freeing initrd memory: 6156K
[ 1.385144] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[ 1.389011] audit: initializing netlink subsys (disabled)
[ 1.389110] audit: type=2000 audit(1.316:1): initialized
[ 1.394839] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[ 1.395016] zbud: loaded
[ 1.400253] NFS: Registering the id_resolver key type
[ 1.400293] Key type id_resolver registered
[ 1.400300] Key type id_legacy registered
[ 1.400318] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 1.400728] fuse init (API version 7.26)
[ 1.401157] orangefs_debugfs_init: called with debug mask: :none: :0:
[ 1.401437] orangefs_init: module version upstream loaded
[ 1.401445] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[ 1.422154] Key type asymmetric registered
[ 1.422169] Asymmetric key parser 'x509' registered
[ 1.422305] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[ 1.426641] io scheduler noop registered
[ 1.426651] io scheduler deadline registered
[ 1.426753] io scheduler cfq registered (default)
[ 1.429350] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[ 1.436574] gpio-of-helper ocp:cape-universal: ready
[ 1.448323] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[ 1.450695] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[ 1.454387] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
[ 1.467282] console [ttyS0] enabled
[ 1.468294] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 159, base_baud = 3000000) is a 8250
[ 1.469169] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 160, base_baud = 3000000) is a 8250
[ 1.470172] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 161, base_baud = 3000000) is a 8250
[ 1.473406] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[ 1.473943] [drm] Initialized
[ 1.477759] at24 2-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 1.478071] at24 2-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 1.478310] at24 2-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 1.478543] at24 2-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 1.508196] libphy: Fixed MDIO Bus: probed
[ 1.509239] CAN device driver interface
[ 1.510958] c_can_platform 481cc000.can: c_can_platform device registered (regs=fa1cc000, irq=168)
[ 1.512036] c_can_platform 481d0000.can: c_can_platform device registered (regs=fa1d0000, irq=169)
[ 1.565674] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[ 1.565692] davinci_mdio 4a101000.mdio: detected phy mask fffffffb
[ 1.566539] davinci_mdio: dt: updated phy_id[2] from phy_mask[fffffffb]
[ 1.580749] libphy: 4a101000.mdio: probed
[ 1.580779] davinci_mdio 4a101000.mdio: phy[2]: device 4a101000.mdio:02, driver SMSC LAN8710/LAN8720
[ 1.582094] cpsw 4a100000.ethernet: Detected MACID = 38:d2:69:87:ca:4c
[ 1.582266] cpsw 4a100000.ethernet: cpts: overflow check period 1250 (jiffies)
[ 1.586665] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.586724] ehci-pci: EHCI PCI platform driver
[ 1.586804] ehci-platform: EHCI generic platform driver
[ 1.587216] ehci-omap: OMAP-EHCI Host Controller driver
[ 1.588223] usbcore: registered new interface driver usb-storage
[ 1.591661] 47401300.usb-phy supply vcc not found, using dummy regulator
[ 1.598453] 47401b00.usb-phy supply vcc not found, using dummy regulator
[ 1.602682] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[ 1.602729] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[ 1.603040] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.603051] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.603059] usb usb1: Product: MUSB HDRC host driver
[ 1.603067] usb usb1: Manufacturer: Linux 4.9.78-ti-r94 musb-hcd
[ 1.603074] usb usb1: SerialNumber: musb-hdrc.1
[ 1.604248] hub 1-0:1.0: USB hub found
[ 1.604329] hub 1-0:1.0: 1 port detected
[ 1.618876] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[ 1.620870] i2c /dev entries driver
[ 1.624105] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 1.626042] cpuidle: enable-method property 'ti,am3352' found operations
[ 1.627981] omap_hsmmc 48060000.mmc: Got CD GPIO
[ 1.707982] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.708652] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[ 1.708960] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.709400] omap-aes 53500000.aes: will run requests pump with realtime priority
[ 1.713609] mmc0: new high speed SDHC card at address 0007
[ 1.717105] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[ 1.719799] mmcblk0: mmc0:0007 APUSD 3.71 GiB
[ 1.724584] mmcblk0: p1
[ 1.726494] hidraw: raw HID events driver (C) Jiri Kosina
[ 1.727203] usbcore: registered new interface driver usbhid
[ 1.727210] usbhid: USB HID core driver
[ 1.727891] remoteproc remoteproc0: wkup_m3 is available
[ 1.731355] ti_am3359-tscadc 44e0d000.tscadc: chan 0 step_avg truncating to 16
[ 1.731375] ti_am3359-tscadc 44e0d000.tscadc: chan 1 step_avg truncating to 16
[ 1.731382] ti_am3359-tscadc 44e0d000.tscadc: chan 2 step_avg truncating to 16
[ 1.731390] ti_am3359-tscadc 44e0d000.tscadc: chan 3 step_avg truncating to 16
[ 1.731397] ti_am3359-tscadc 44e0d000.tscadc: chan 4 step_avg truncating to 16
[ 1.731405] ti_am3359-tscadc 44e0d000.tscadc: chan 5 step_avg truncating to 16
[ 1.731412] ti_am3359-tscadc 44e0d000.tscadc: chan 6 step_avg truncating to 16
[ 1.738257] wireguard: WireGuard 0.0.20180118 loaded. See www.wireguard.com for information.
[ 1.738271] wireguard: Copyright (C) 2015-2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[ 1.738644] NET: Registered protocol family 10
[ 1.744107] mip6: Mobile IPv6
[ 1.744131] NET: Registered protocol family 17
[ 1.744150] can: controller area network core (rev 20120528 abi 9)
[ 1.744223] NET: Registered protocol family 29
[ 1.744375] Key type dns_resolver registered
[ 1.744383] mpls_gso: MPLS GSO support
[ 1.744726] omap_voltage_late_init: Voltage driver support not added
[ 1.752161] PM: Cannot get wkup_m3_ipc handle
[ 1.756907] ThumbEE CPU extension supported.
[ 1.756936] Registering SWP/SWPB emulation handler
[ 1.758143] registered taskstats version 1
[ 1.758271] zswap: loaded using pool lzo/zbud
[ 1.764371] Btrfs loaded, crc32c=crc32c-generic
[ 1.767380] mmc1: new high speed MMC card at address 0001
[ 1.781936] mmcblk1: mmc1:0001 M62704 3.56 GiB
[ 1.789856] mmcblk1boot0: mmc1:0001 M62704 partition 1 2.00 MiB
[ 1.795110] mmcblk1boot1: mmc1:0001 M62704 partition 2 2.00 MiB
[ 1.807640] Key type encrypted registered
[ 1.807666] AppArmor: AppArmor sha1 policy hashing enabled
[ 1.855357] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/tps65217-pwrbutton/input/input0
[ 1.855933] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[ 1.856429] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 1.980440] tda998x 0-0070: found TDA19988
[ 1.982174] tilcdc 4830e000.lcdc: bound 0-0070 (ops tda998x_ops)
[ 1.982195] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 1.982201] [drm] No driver support for vblank timestamp query.
[ 1.982596] tilcdc 4830e000.lcdc: No connectors reported connected with modes
[ 1.982617] [drm] Cannot find any crtc or sizes - going 1024x768
[ 1.991433] Console: switching to colour frame buffer device 128x48
[ 1.996734] tilcdc 4830e000.lcdc: fb0: frame buffer device
[ 2.006717] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[ 2.008328] remoteproc remoteproc0: powering up wkup_m3
[ 2.008890] remoteproc remoteproc0: Booting fw image am335x-pm-firmware.elf, size 217148
[ 2.011637] asoc-simple-card sound: hdmi-hifi.0 <-> 48038000.mcasp mapping ok
[ 2.012085] remoteproc remoteproc0: remote processor wkup_m3 is now up
[ 2.012113] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x192
[ 2.014436] PM: bootloader does not support rtc-only!
[ 2.015735] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[ 2.015751] of_cfs_init
[ 2.015897] of_cfs_init: OK
[ 2.016862] PM: Hibernation image not present or could not be loaded.
[ 2.017008] ALSA device list:
[ 2.017017] #0: TI BeagleBone Black
[ 2.019388] Freeing unused kernel memory: 1024K
[ 14.987216] EXT4-fs (mmcblk0p1): INFO: recovery required on readonly filesystem
[ 14.987231] EXT4-fs (mmcblk0p1): write access will be enabled during recovery
[ 17.231970] EXT4-fs (mmcblk0p1): recovery complete
[ 17.239000] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[ 17.859793] systemd[1]: System time before build time, advancing clock.
[ 17.966925] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 18.008111] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[ 18.008893] systemd[1]: Detected architecture arm.
[ 18.027410] systemd[1]: Set hostname to <beaglebone>.
[ 18.712563] systemd[1]: Created slice System Slice.
[ 18.713418] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 18.714221] systemd[1]: Listening on udev Control Socket.
[ 18.715022] systemd[1]: Listening on Journal Audit Socket.
[ 18.716341] systemd[1]: Created slice system-getty.slice.
[ 18.716708] systemd[1]: Listening on udev Kernel Socket.
[ 18.718146] systemd[1]: Created slice User and Session Slice.
[ 19.111276] eqep 48300180.eqep: ver. 1.0
[ 19.111545] eqep 48300180.eqep: count_mode:0
[ 19.111557] eqep 48300180.eqep: invert_qa:1
[ 19.111565] eqep 48300180.eqep: invert_qb:1
[ 19.111574] eqep 48300180.eqep: invert_qi:0
[ 19.111581] eqep 48300180.eqep: invert_qs:0
[ 19.111589] eqep 48300180.eqep: swap_inputs:0
[ 19.111599] eqep 48300180.eqep: QDECCTL:0x0180
[ 19.111607] eqep 48300180.eqep: QPOSINIT:0x00000000
[ 19.111615] eqep 48300180.eqep: QPOSMAX:0xffffffff
[ 19.111622] eqep 48300180.eqep: QPOSCNT:0x00000000
[ 19.111632] eqep 48300180.eqep: omit_interrupt:0
[ 19.111640] eqep 48300180.eqep: QEINT:0x0800
[ 19.111647] eqep 48300180.eqep: QUPRD:0x05f5e100
[ 19.111655] eqep 48300180.eqep: QEPCTL:0x009e write
[ 19.111662] eqep 48300180.eqep: QEPCTL:0x009e read
[ 19.111692] eqep 48300180.eqep: irq:193, clk_rate:100000000
[ 19.112176] eqep 48302180.eqep: ver. 1.0
[ 19.112339] eqep 48302180.eqep: count_mode:0
[ 19.112349] eqep 48302180.eqep: invert_qa:1
[ 19.112358] eqep 48302180.eqep: invert_qb:1
[ 19.112366] eqep 48302180.eqep: invert_qi:0
[ 19.112373] eqep 48302180.eqep: invert_qs:0
[ 19.112381] eqep 48302180.eqep: swap_inputs:0
[ 19.112389] eqep 48302180.eqep: QDECCTL:0x0180
[ 19.112398] eqep 48302180.eqep: QPOSINIT:0x00000000
[ 19.112405] eqep 48302180.eqep: QPOSMAX:0xffffffff
[ 19.112412] eqep 48302180.eqep: QPOSCNT:0x00000000
[ 19.112422] eqep 48302180.eqep: omit_interrupt:0
[ 19.112429] eqep 48302180.eqep: QEINT:0x0800
[ 19.112436] eqep 48302180.eqep: QUPRD:0x05f5e100
[ 19.112443] eqep 48302180.eqep: QEPCTL:0x009e write
[ 19.112450] eqep 48302180.eqep: QEPCTL:0x009e read
[ 19.112471] eqep 48302180.eqep: irq:194, clk_rate:100000000
[ 19.115716] eqep 48304180.eqep: ver. 1.0
[ 19.115946] eqep 48304180.eqep: count_mode:0
[ 19.115957] eqep 48304180.eqep: invert_qa:1
[ 19.115966] eqep 48304180.eqep: invert_qb:1
[ 19.115974] eqep 48304180.eqep: invert_qi:0
[ 19.115982] eqep 48304180.eqep: invert_qs:0
[ 19.115990] eqep 48304180.eqep: swap_inputs:0
[ 19.115999] eqep 48304180.eqep: QDECCTL:0x0180
[ 19.116007] eqep 48304180.eqep: QPOSINIT:0x00000000
[ 19.116014] eqep 48304180.eqep: QPOSMAX:0xffffffff
[ 19.116022] eqep 48304180.eqep: QPOSCNT:0x00000000
[ 19.116031] eqep 48304180.eqep: omit_interrupt:0
[ 19.116038] eqep 48304180.eqep: QEINT:0x0800
[ 19.116046] eqep 48304180.eqep: QUPRD:0x05f5e100
[ 19.116054] eqep 48304180.eqep: QEPCTL:0x009e write
[ 19.116061] eqep 48304180.eqep: QEPCTL:0x009e read
[ 19.116085] eqep 48304180.eqep: irq:196, clk_rate:100000000
[ 19.409251] EXT4-fs (mmcblk0p1): re-mounted. Opts: errors=remount-ro
[ 20.302498] systemd-journald[747]: Received request to flush runtime journal from PID 1
[ 24.875558] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
[ 25.373696] random: crng init done
[ 25.914416] net eth0: initializing cpsw version 1.12 (0)
[ 25.914443] cpsw 4a100000.ethernet: initialized cpsw ale version 1.4
[ 25.914451] cpsw 4a100000.ethernet: ALE Table size 1024
[ 26.014336] SMSC LAN8710/LAN8720 4a101000.mdio:02: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=4a101000.mdio:02, irq=-1)
[ 26.045119] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 28.070531] cpsw 4a100000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[ 28.070648] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 28.263813] 8021q: 802.1Q VLAN Support v1.8
[ 28.263906] 8021q: adding VLAN 0 to HW filter on device eth0
[ 29.039816] using random self ethernet address
[ 29.039837] using random host ethernet address
[ 29.176104] using random self ethernet address
[ 29.176125] using random host ethernet address
[ 29.489519] Mass Storage Function, version: 2009/09/11
[ 29.489684] LUN: removable file: (no medium)
[ 29.785891] usb0: HOST MAC 38:d2:69:87:ca:4d
[ 29.787764] usb0: MAC 38:d2:69:87:ca:4e
[ 29.793772] usb1: HOST MAC 38:d2:69:87:ca:50
[ 29.794199] usb1: MAC 38:d2:69:87:ca:51
[ 30.751175] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[ 31.004055] IPv6: ADDRCONF(NETDEV_UP): usb1: link is not ready
[ 72.451883] ti-pruss 4a300000.pruss: creating PRU cores and other child platform devices
[ 72.533604] remoteproc remoteproc1: 4a334000.pru0 is available
[ 72.533727] pru-rproc 4a334000.pru0: PRU rproc node /ocp/pruss_soc_bus@4a326000/pruss@4a300000/pru@4a334000 probed successfully
[ 72.573070] remoteproc remoteproc2: 4a338000.pru1 is available
[ 72.573216] pru-rproc 4a338000.pru1: PRU rproc node /ocp/pruss_soc_bus@4a326000/pruss@4a300000/pru@4a338000 probed successfully
root@beaglebone:/opt/source/dtb-4.9-ti/Bindings# dmesg | grep lcd
[ 1.982174] tilcdc 4830e000.lcdc: bound 0-0070 (ops tda998x_ops)
And this is my dts file am335x-boneblack2.dts
---------------------------------------------------------------
/*
* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
/dts-v1/;
#include "am33xx.dtsi"
#include "am335x-bone-common.dtsi"
#include <dt-bindings/display/tda998x.h>
/ {
model = "TI AM335x BeagleBone Black";
compatible = "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx";
panel {
compatible = "ti,tilcdc,panel";
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&lcd_pins_default>;
/*backlight = <&lcd_bl>;*/
panel-info {
ac-bias = <255>;
ac-bias-intrpt = <0>;
dma-burst-sz = <16>;
bpp = <32>;
fdd = <0x80>;
sync-edge = <0>;
sync-ctrl = <1>;
raster-order = <0>;
fifo-th = <0>;
};
display-timings {
1024x768p60 {
clock-frequency = <65000000>;
hactive = <1024>;
vactive = <768>;
hfront-porch = <10>;
hback-porch = <10>;
hsync-len = <12>;
vback-porch = <6>;
vfront-porch = <6>;
vsync-len = <2>;
hsync-active = <1>;
vsync-active = <0>;
};
};
};
};
&ldo3_reg {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
};
&mmc1 {
vmmc-supply = <&vmmcsd_fixed>;
};
&mmc2 {
vmmc-supply = <&vmmcsd_fixed>;
pinctrl-names = "default";
pinctrl-0 = <&emmc_pins>;
bus-width = <8>;
status = "okay";
};
&cpu0_opp_table {
/*
* All PG 2.0 silicon may not support 1GHz but some of the early
* BeagleBone Blacks have PG 2.0 silicon which is guaranteed
* to support 1GHz OPP so enable it for PG 2.0 on this board.
*/
oppnitro@1000000000 {
opp-supported-hw = <0x06 0x0100>;
};
};
&am33xx_pinmux {
lcd_pins_default: lcd_pins_default {
pinctrl-single,pins = <
0xa0 0x00 /* lcd_data0.lcd_data0, OUTPUT | MODE0 */
0xa4 0x00 /* lcd_data1.lcd_data1, OUTPUT | MODE0 */
0xa8 0x00 /* lcd_data2.lcd_data2, OUTPUT | MODE0 */
0xac 0x00 /* lcd_data3.lcd_data3, OUTPUT | MODE0 */
0xb0 0x00 /* lcd_data4.lcd_data4, OUTPUT | MODE0 */
0xb4 0x00 /* lcd_data5.lcd_data5, OUTPUT | MODE0 */
0xb8 0x00 /* lcd_data6.lcd_data6, OUTPUT | MODE0 */
0xbc 0x00 /* lcd_data7.lcd_data7, OUTPUT | MODE0 */
0xc0 0x00 /* lcd_data8.lcd_data8, OUTPUT | MODE0 */
0xc4 0x00 /* lcd_data9.lcd_data9, OUTPUT | MODE0 */
0xc8 0x00 /* lcd_data10.lcd_data10, OUTPUT | MODE0 */
0xcc 0x00 /* lcd_data11.lcd_data11, OUTPUT | MODE0 */
0xd0 0x00 /* lcd_data12.lcd_data12, OUTPUT | MODE0 */
0xd4 0x00 /* lcd_data13.lcd_data13, OUTPUT | MODE0 */
0xd8 0x00 /* lcd_data14.lcd_data14, OUTPUT | MODE0 */
0xdc 0x00 /* lcd_data15.lcd_data15, OUTPUT | MODE0 */
0xe0 0x00 /* lcd_vsync.lcd_vsync, OUTPUT | MODE0 */
0xe4 0x00 /* lcd_hsync.lcd_hsync, OUTPUT | MODE0 */
0xe8 0x00 /* lcd_pclk.lcd_pclk, OUTPUT | MODE0 */
0xec 0x00 /* lcd_ac_bias_en.lcd_ac_bias_en, OUTPUT | MODE0 */
>;
};
mcasp0_pins: mcasp0_pins {
pinctrl-single,pins = <
AM33XX_IOPAD(0x9ac, PIN_INPUT_PULLUP | MUX_MODE0) /* mcasp0_ahcklx.mcasp0_ahclkx */
AM33XX_IOPAD(0x99c, PIN_OUTPUT_PULLDOWN | MUX_MODE2) /* mcasp0_ahclkr.mcasp0_axr2*/
AM33XX_IOPAD(0x994, PIN_OUTPUT_PULLUP | MUX_MODE0) /* mcasp0_fsx.mcasp0_fsx */
AM33XX_IOPAD(0x990, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* mcasp0_aclkx.mcasp0_aclkx */
AM33XX_IOPAD(0x86c, PIN_OUTPUT_PULLDOWN | MUX_MODE7) /* gpmc_a11.GPIO1_27 */
>;
};
};
&lcdc {
status = "okay";
/* If you want to get 24 bit RGB and 16 BGR mode instead of
* current 16 bit RGB and 24 BGR modes, set the propety
* below to "crossed" and uncomment the video-ports -property
* in tda19988 node.
*/
blue-and-red-wiring = "crossed";
/*port {
lcdc_0: endpoint@0 {
remote-endpoint = <&hdmi_0>;
};
};*/
};
&tscadc {
status = "okay";
tsc {
ti,wires = <4>;
ti,x-plate-resistance = <200>;
ti,coordinate-readouts = <5>;
ti,wire-config = <0x00 0x11 0x22 0x33>;
ti,charge-delay = <0x400>;
};
adc {
ti,adc-channels = <0 1 2 3>;
};
};
&rtc {
system-power-controller;
};
&sgx {
status = "okay";
};
/ {
clk_mcasp0_fixed: clk_mcasp0_fixed {
#clock-cells = <0>;
compatible = "fixed-clock";
clock-frequency = <24576000>;
};
clk_mcasp0: clk_mcasp0 {
#clock-cells = <0>;
compatible = "gpio-gate-clock";
clocks = <&clk_mcasp0_fixed>;
enable-gpios = <&gpio1 27 0>; /* BeagleBone Black Clk enable on GPIO1_27 */
};
};
This is the uEnv.txt
---------------------------
#Docs: elinux.org/Beagleboard:U-boot_partitioning_layout_2.0
uname_r=4.9.78-ti-r94
#uuid=
dtb=am335x-boneblack2.dtb
###U-Boot Overlays###
###Documentation: elinux.org/Beagleboard:BeagleBoneBlack_Debian
###Master Enable
enable_uboot_overlays=1
###
###Overide capes with eeprom
#uboot_overlay_addr0=/lib/firmware/<file0>.dtbo
#uboot_overlay_addr1=/lib/firmware/<file1>.dtbo
#uboot_overlay_addr2=/lib/firmware/<file2>.dtbo
#uboot_overlay_addr3=/lib/firmware/<file3>.dtbo
###
###Additional custom capes
#uboot_overlay_addr4=/lib/firmware/<file4>.dtbo
#uboot_overlay_addr5=/lib/firmware/<file5>.dtbo
#uboot_overlay_addr6=/lib/firmware/<file6>.dtbo
#uboot_overlay_addr7=/lib/firmware/<file7>.dtbo
###
###Custom Cape
#dtb_overlay=/lib/firmware/<file8>.dtbo
###
###Disable auto loading of virtual capes (emmc/video/wireless/adc)
#disable_uboot_overlay_emmc=1
#disable_uboot_overlay_video=1
#disable_uboot_overlay_audio=1
#disable_uboot_overlay_wireless=1
#disable_uboot_overlay_adc=1
###
###PRUSS OPTIONS
###pru_rproc (4.4.x-ti kernel)
#uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-4-TI-00A0.dtbo
###pru_uio (4.4.x-ti & mainline/bone kernel)
#uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo
###
###Cape Universal Enable
enable_uboot_cape_universal=1
###
###Debug: disable uboot autoload of Cape
#disable_uboot_overlay_addr0=1
#disable_uboot_overlay_addr1=1
#disable_uboot_overlay_addr2=1
#disable_uboot_overlay_addr3=1
###
###U-Boot fdt tweaks... (60000 = 384KB)
#uboot_fdt_buffer=0x60000
###U-Boot Overlays###
cmdline=coherent_pool=1M net.ifnames=0 quiet
#In the event of edid real failures, uncomment this next line:
#cmdline=coherent_pool=1M net.ifnames=0 quiet video=HDMI-A-1:1280x800@60e
##Example v3.8.x
#cape_disable=capemgr.disable_partno=
#cape_enable=capemgr.enable_partno=
##Example v4.1.x
#cape_disable=bone_capemgr.disable_partno=
cape_enable=bone_capemgr.enable_partno=BB-UART1
##enable Generic eMMC Flasher:
##make sure, these tools are installed: dosfstools rsync
#cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh