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
 

On 2/22/2018 11:44 AM, William Hermans wrote:
> Apparently, the driver was compiled with debug symbols, and in debug mode.
>
> On Thu, Feb 22, 2018 at 7:48 AM, evilwulfie <[email protected]
> <mailto:[email protected]>> wrote:
>
>     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 ...
>
>
>
>     --
>     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 [email protected]
>     <mailto:beagleboard%[email protected]>.
>     To view this discussion on the web visit
>     
> https://groups.google.com/d/msgid/beagleboard/58350e24-c3d2-8ffa-4e6c-9a478bc9cc07%40gmail.com
>     
> <https://groups.google.com/d/msgid/beagleboard/58350e24-c3d2-8ffa-4e6c-9a478bc9cc07%40gmail.com>.
>     For more options, visit https://groups.google.com/d/optout
>     <https://groups.google.com/d/optout>.
>
>
> -- 
> 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 [email protected]
> <mailto:[email protected]>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beagleboard/CALHSORo8eRPj0-nUyycff6yU0FJbkiO2qKC10G_3CxaZ2h%3DkaQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/beagleboard/CALHSORo8eRPj0-nUyycff6yU0FJbkiO2qKC10G_3CxaZ2h%3DkaQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/05c94f70-76ae-d486-0a97-4551e3831be3%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to