display driver

18 views
Skip to first unread message

evilwulfie

unread,
Feb 22, 2018, 12:49:02 PM2/22/18
to Beagle Board
The more i learn the more i don't know

Got most everything working with a spi display but one last issue i cant
seem to figure out.

if i load the module

modprobe -v fbtft_device busnum=1 cs=0 speed=16000000 name=er_tftm070_5
gpios=reset:60,dc:24,led:50

it loads with no errors

i can display a jpg on the monitor

fbi -noverbose -T 1 -a -d /dev/fb0 Mystery-100x100.jpg

it displays the image on display just fine proving that the module is
functioning fine

ok this is good i say but if i tail -f /var/log/messages OR view dmesg 
OR tail -f /var/log/syslog

it spams the below messages over and over.  If i read the logs it inits
the display fine but the repeating messages baffle me.

when i modprobe -r fbtft_device

the errors go away

I am SO over my head in kernel land i just need a little help here if
anybody knows what might be going on.

Feb 22 09:55:32 bone kernel: [37927.179998] fb_ra8875 spi1.0: Display
update: 739 kB/s, fps=3
Feb 22 09:55:32 bone kernel: [37927.350235] fb_ra8875 spi1.0:
fbtft_update_display(start_line=0, end_line=15)
Feb 22 09:55:32 bone kernel: [37927.350264] fb_ra8875 spi1.0:
write_reg8_bus8: 30 00
Feb 22 09:55:32 bone kernel: [37927.350276] fb_ra8875 spi1.0:
write_spi(len=2): 80 30
Feb 22 09:55:32 bone kernel: [37927.350474] fb_ra8875 spi1.0:
write_spi(len=2): 00 00
Feb 22 09:55:32 bone kernel: [37927.350615] fb_ra8875 spi1.0:
write_reg8_bus8: 31 00
Feb 22 09:55:32 bone kernel: [37927.350623] fb_ra8875 spi1.0:
write_spi(len=2): 80 31
Feb 22 09:55:32 bone kernel: [37927.350762] fb_ra8875 spi1.0:
write_spi(len=2): 00 00
Feb 22 09:55:32 bone kernel: [37927.350900] fb_ra8875 spi1.0:
write_reg8_bus8: 32 00
Feb 22 09:55:32 bone kernel: [37927.350908] fb_ra8875 spi1.0:
write_spi(len=2): 80 32
Feb 22 09:55:32 bone kernel: [37927.351046] fb_ra8875 spi1.0:
write_spi(len=2): 00 00
Feb 22 09:55:32 bone kernel: [37927.351184] fb_ra8875 spi1.0:
write_reg8_bus8: 33 00
Feb 22 09:55:32 bone kernel: [37927.351192] fb_ra8875 spi1.0:
write_spi(len=2): 80 33
Feb 22 09:55:32 bone kernel: [37927.351330] fb_ra8875 spi1.0:
write_spi(len=2): 00 00
Feb 22 09:55:32 bone kernel: [37927.351468] fb_ra8875 spi1.0:
write_reg8_bus8: 34 1f
Feb 22 09:55:32 bone kernel: [37927.351476] fb_ra8875 spi1.0:
write_spi(len=2): 80 34
Feb 22 09:55:32 bone kernel: [37927.351614] fb_ra8875 spi1.0:
write_spi(len=2): 00 1f
Feb 22 09:55:32 bone kernel: [37927.351752] fb_ra8875 spi1.0:
write_reg8_bus8: 35 03
Feb 22 09:55:32 bone kernel: [37927.351760] fb_ra8875 spi1.0:
write_spi(len=2): 80 35
Feb 22 09:55:32 bone kernel: [37927.351898] fb_ra8875 spi1.0:
write_spi(len=2): 00 03
Feb 22 09:55:32 bone kernel: [37927.352036] fb_ra8875 spi1.0:
write_reg8_bus8: 36 0f
Feb 22 09:55:32 bone kernel: [37927.352044] fb_ra8875 spi1.0:
write_spi(len=2): 80 36
Feb 22 09:55:32 bone kernel: [37927.352182] fb_ra8875 spi1.0:
write_spi(len=2): 00 0f
Feb 22 09:55:32 bone kernel: [37927.352320] fb_ra8875 spi1.0:
write_reg8_bus8: 37 00
Feb 22 09:55:32 bone kernel: [37927.352328] fb_ra8875 spi1.0:
write_spi(len=2): 80 37
Feb 22 09:55:32 bone kernel: [37927.352466] fb_ra8875 spi1.0:
write_spi(len=2): 00 00
Feb 22 09:55:32 bone kernel: [37927.352604] fb_ra8875 spi1.0:
write_reg8_bus8: 46 00
Feb 22 09:55:32 bone kernel: [37927.352612] fb_ra8875 spi1.0:
write_spi(len=2): 80 46
Feb 22 09:55:32 bone kernel: [37927.352750] fb_ra8875 spi1.0:
write_spi(len=2): 00 00
Feb 22 09:55:32 bone kernel: [37927.352888] fb_ra8875 spi1.0:
write_reg8_bus8: 47 00
Feb 22 09:55:32 bone kernel: [37927.352896] fb_ra8875 spi1.0:
write_spi(len=2): 80 47
Feb 22 09:55:32 bone kernel: [37927.353034] fb_ra8875 spi1.0:
write_spi(len=2): 00 00
Feb 22 09:55:32 bone kernel: [37927.353172] fb_ra8875 spi1.0:
write_reg8_bus8: 48 00
Feb 22 09:55:32 bone kernel: [37927.353180] fb_ra8875 spi1.0:
write_spi(len=2): 80 48
Feb 22 09:55:32 bone kernel: [37927.353318] fb_ra8875 spi1.0:
write_spi(len=2): 00 00
Feb 22 09:55:32 bone kernel: [37927.353456] fb_ra8875 spi1.0:
write_reg8_bus8: 49 00
Feb 22 09:55:32 bone kernel: [37927.353464] fb_ra8875 spi1.0:
write_spi(len=2): 80 49
Feb 22 09:55:32 bone kernel: [37927.353602] fb_ra8875 spi1.0:
write_spi(len=2): 00 00
Feb 22 09:55:32 bone kernel: [37927.353740] fb_ra8875 spi1.0:
write_reg8_bus8: 02
Feb 22 09:55:32 bone kernel: [37927.353748] fb_ra8875 spi1.0:
write_spi(len=2): 80 02
Feb 22 09:55:32 bone kernel: [37927.357784] fb_ra8875 spi1.0:
write_vmem16_bus8(offset=0, len=25600)
Feb 22 09:55:32 bone kernel: [37927.357838] fb_ra8875 spi1.0:
fbtft_write_spi(len=4093): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 0
0 00 00 00 00 00 00 00 00 00 ...
Feb 22 09:55:32 bone kernel: [37927.365459] fb_ra8875 spi1.0:
fbtft_write_spi(len=4093): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 0
0 00 00 00 00 00 00 00 00 00 ...
Feb 22 09:55:32 bone kernel: [37927.368778] fb_ra8875 spi1.0:
fbtft_write_spi(len=4093): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 0
0 00 00 00 00 00 00 00 00 00 ...
Feb 22 09:55:32 bone kernel: [37927.372074] fb_ra8875 spi1.0:
fbtft_write_spi(len=4093): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 0
0 00 00 00 00 00 00 00 00 00 ...
Feb 22 09:55:32 bone kernel: [37927.375352] fb_ra8875 spi1.0:
fbtft_write_spi(len=4093): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 0
0 00 00 00 00 00 00 00 00 00 ...
Feb 22 09:55:32 bone kernel: [37927.379185] fb_ra8875 spi1.0:
fbtft_write_spi(len=4093): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 0
0 00 00 00 00 00 00 00 00 00 ...
Feb 22 09:55:32 bone kernel: [37927.383209] fb_ra8875 spi1.0:
fbtft_write_spi(len=1049): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 0
0 00 00 00 00 00 00 00 00 00 ...



William Hermans

unread,
Feb 22, 2018, 1:45:05 PM2/22/18
to beagl...@googlegroups.com
Apparently, the driver was compiled with debug symbols, and in debug mode.




--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/58350e24-c3d2-8ffa-4e6c-9a478bc9cc07%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

evilwulfie

unread,
Feb 22, 2018, 3:25:57 PM2/22/18
to beagl...@googlegroups.com
Robert what William said makes sense but i have no idea where to look to disable the debug mode on that loadable mod.
I have a cross compile environment and i see that in your build you do compile them.
any help would be awesome
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CALHSORo8eRPj0-nUyycff6yU0FJbkiO2qKC10G_3CxaZ2h%3DkaQ%40mail.gmail.com.

Robert Nelson

unread,
Feb 22, 2018, 3:30:10 PM2/22/18
to Beagle Board
On Thu, Feb 22, 2018 at 2:25 PM, evilwulfie <evilw...@gmail.com> wrote:
> Robert what William said makes sense but i have no idea where to look to
> disable the debug mode on that loadable mod.
> I have a cross compile environment and i see that in your build you do
> compile them.
> any help would be awesome

and i have no idea what kernel you are using..

uname -r

Regards,

--
Robert Nelson
https://rcn-ee.com/

evilwulfie

unread,
Feb 22, 2018, 3:34:22 PM2/22/18
to beagl...@googlegroups.com
the latest one

4.9.78-ti-r94

Robert Nelson

unread,
Feb 22, 2018, 3:42:34 PM2/22/18
to Beagle Board, evilwulfie
On Thu, Feb 22, 2018 at 2:34 PM, evilwulfie <evilw...@gmail.com> wrote:
> the latest one
>
> 4.9.78-ti-r94

for fbtft_device don't waste your time on that version, switch to
either v4.14.x-ti or v4.16.x-bone

v4.14.x-ti:

sudo /opt/scripts/tools/update_kernel.sh --ti-channel --lts-4_14

v4.16.x-bone:

sudo /opt/scripts/tools/update_kernel.sh --bone-channel --exp

evilwulfie

unread,
Feb 22, 2018, 6:37:56 PM2/22/18
to Robert Nelson, Beagle Board
Thanks Robert that took care of it.
Reply all
Reply to author
Forward
0 new messages