Jump to content

Recommended Posts

Posted

I try connect 3.5' LCD screen, but i have error

----------------------------

Jan  4 12:24:38 pls-home kernel: [   54.977794] fbtft: module is from the staging directory, the quality is unknown, you have been warned.
Jan  4 12:24:38 pls-home kernel: [   54.981924] fbtft_device: module is from the staging directory, the quality is unknown, you have been warned.
Jan  4 12:24:38 pls-home kernel: [   54.982417] fbtft_device: unknown parameter 'gpios' ignored
Jan  4 12:24:38 pls-home kernel: [   54.982696] spidev spi0.1: spidev spi0.1 1000kHz 8 bits mode=0x00
Jan  4 12:24:38 pls-home kernel: [   54.982947] spidev spi0.1: spidev spi0.1 1000kHz 8 bits mode=0x00
Jan  4 12:24:38 pls-home kernel: [   54.982955] spi spi0.0: fb_ili9486 spi0.0 16000kHz 8 bits mode=0x00
Jan  4 12:24:38 pls-home kernel: [   54.989149] fb_ili9486: module is from the staging directory, the quality is unknown, you have been warned.
Jan  4 12:24:38 pls-home kernel: [   54.989917] 8<--- cut here ---
Jan  4 12:24:38 pls-home kernel: [   54.993085] Unable to handle kernel NULL pointer dereference at virtual address 00000000
Jan  4 12:24:38 pls-home kernel: [   55.001217] pgd = dad7d7c8
Jan  4 12:24:38 pls-home kernel: [   55.003945] [00000000] *pgd=00000000
Jan  4 12:24:39 pls-home kernel: [   55.007550] Internal error: Oops: 80000005 [#1] SMP THUMB2
Jan  4 12:24:39 pls-home kernel: [   55.013033] Modules linked in: fb_ili9486(C+) fbtft_device(C) fbtft(C) snd_soc_hdmi_codec evdev zram 8189fs snd_soc_simple_card snd_soc_
simple_card_utils lima dw_hdmi_i2s_audio dw_hdmi_cec sunxi_cir gpu_sched sun8i_codec_analog spidev sun8i_adda_pr_regmap sun4i_i2s sun4i_gpadc_iio sun4i_codec snd_soc_core c
fg80211 industrialio snd_pcm_dmaengine rfkill snd_pcm sun8i_thermal snd_timer snd soundcore uio_pdrv_genirq uio gpio_keys cpufreq_dt sch_fq_codel ip_tables x_tables pwrseq_
simple sy8106a_regulator
Jan  4 12:24:39 pls-home kernel: [   55.057263] CPU: 3 PID: 1537 Comm: systemd-udevd Tainted: G         C        5.3.9-sunxi #19.11.3
Jan  4 12:24:39 pls-home kernel: [   55.066128] Hardware name: Allwinner sun8i Family
Jan  4 12:24:39 pls-home kernel: [   55.070831] PC is at 0x0
Jan  4 12:24:39 pls-home kernel: [   55.073373] LR is at fbtft_register_framebuffer+0x6f/0x1bc [fbtft]
Jan  4 12:24:39 pls-home kernel: [   55.079547] pc : [<00000000>]    lr : [<bf971be7>]    psr: a00b0013
Jan  4 12:24:39 pls-home kernel: [   55.085809] sp : edfb3c10  ip : edfb3c8c  fp : edabff88
Jan  4 12:24:39 pls-home kernel: [   55.091028] r10: 00000000  r9 : eebf1400  r8 : eebf1400
Jan  4 12:24:39 pls-home kernel: [   55.096248] r7 : c9bae800  r6 : bf988000  r5 : c0f04d48  r4 : c9baeb30
Jan  4 12:24:39 pls-home kernel: [   55.102770] r3 : 00000000  r2 : fffffff0  r1 : 00000000  r0 : c9baeb30
Jan  4 12:24:39 pls-home kernel: [   55.109293] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
Jan  4 12:24:39 pls-home kernel: [   55.116422] Control: 50c5387d  Table: 6d8c006a  DAC: 00000051
Jan  4 12:24:39 pls-home kernel: [   55.122163] Process systemd-udevd (pid: 1537, stack limit = 0x25c1c378)
Jan  4 12:24:39 pls-home kernel: [   55.128771] Stack: (0xedfb3c10 to 0xedfb4000)
Jan  4 12:24:39 pls-home kernel: [   55.133126] 3c00:                                     eebf1400 00008040 00000dc0 c02126c5
Jan  4 12:24:39 pls-home kernel: [   55.141300] 3c20: eebf1400 bf988000 00000000 00000000 00000000 00000000 00000000 00000000
Jan  4 12:24:39 pls-home kernel: [   55.149473] 3c40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Jan  4 12:24:39 pls-home kernel: [   55.157646] 3c60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Jan  4 12:24:39 pls-home kernel: [   55.165819] 3c80: 00000000 00000000 00000000 c793f16f eebf1400 bf97c7f8 c9baeb30 bf988000
Jan  4 12:24:39 pls-home kernel: [   55.173993] 3ca0: c9baeb94 c9bae800 eebf1400 bf972593 00000000 eebf1400 bf988078 00000000
Jan  4 12:24:39 pls-home kernel: [   55.182167] 3cc0: 00000000 bf988088 00000031 bf986125 bf98610d c06c1821 eebf1400 c1047154
:--------------------------

 

in /boot/armbianEnv.txt added lines

-------------

overlays=spi-spidev spi-add-cs1 param_spidev_spi_bus=0 param_spidev_spi_cs=1

-------------

 

i run 

sudo modprobe fbtft_device rotate=90 name=piscreen speed=16000000 gpios=reset:2,dc:71 txbuflen=32768 fps=25

 

my box ORANGE PI PC+

  ___  ____  _   ____   ____
 / _ \|  _ \(_) |  _ \ / ___|    _
| | | | |_) | | | |_) | |      _| |_
| |_| |  __/| | |  __/| |___  |_   _|
 \___/|_|   |_| |_|    \____|   |_|

Welcome to Armbian Bionic with Linux 5.3.9-sunxi

System load:   0.47 0.14 0.05   Up time:       0 min
Memory usage:  8 % of 998MB     IP:            192.168.0.104
CPU temp:      44°C
Usage of /:    2% of 59G

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines