Loading staging modules at boot

5 views
Skip to first unread message

evilwulfie

unread,
Feb 23, 2018, 12:40:20 PM2/23/18
to BeagleBoard
So far everything is working perfectly I can even get xwindows running
on this SPI display
So since it seems to be stable I would like to load the relevant modules
at boot
Searching the web everything is so old or targeted to the PI

My command line to insert this module is

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

i have tried many different things in /etc/modules without success

best i can get is

lsmod

fb_ra8875                                          16384  0
fbtft                                                     45056  1    
fb_ra8875


when loaded with modprobe i get

fb_ra8875                                          16384  1
fbtft                                                     45056  2    
fb_ra8875,fbtft_device

Robert Nelson

unread,
Feb 23, 2018, 12:49:47 PM2/23/18
to Beagle Board, evilwulfie
setup a startup based off these notes:

https://github.com/adafruit/adafruit-beaglebone-io-python/blob/master/test/notes/run_config-pin_during_startup.md

But instead of doing:

#!/bin/bash

config-pin p9.17 i2c
config-pin p9.18 i2c

change that section to:

#!/bin/bash

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

Regards,

--
Robert Nelson
https://rcn-ee.com/
Reply all
Reply to author
Forward
0 new messages