• Content Count

  • Joined

  • Last visited

About spender

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Do like this: so easy! on 5.8 kernel 1: exec: armbian-config --->system--->hardware, open irc 2: dmesg while found ir device, and build device file on /dev/lirc0 3: install lirc application 4: configure , move /etc/lirc/lircd.conf.d/devinput.lircd.conf to /etc/lirc/lircd.conf.d/devinput.lircd.conf-dist 5: use irrecord to build a remote contrel coding file, and put it to dir: /etc/lir/lircd.conf.d, do: systemctl restart lircd 6: irw try to use it.(If press key no output, do step 5 agaen. may be you need "ir-keytable -p xxx" set your protocol) 7: con
  2. After several days of study, I know that the new kernel version has cancelled the fbtft_device.ko method to drive fbtft, and changed it to the DT method. I also learned about the pinctrl subsystem, and tried to write an overlay by myself. After loading, the kernel has been found SPI device. The screen still doesn’t light up after the device is turned off. I don’t know the reason. I’m still looking for it. Can you help me? dmesg output : [ 12.229733] [drm] Initialized ili9341 1.0.0 20180514 for spi0.0 on minor 0 [ 12.706426] ili9341 spi0.0: fb0: ili9341drmfb frame buffer device
  3. Thanks again! There is a new knowledge point! Identified as not modifying dtb. Now I am trying to add an ILI9341 screen to IT. Since the new kernel no longer supports fbtft_device.ko, it is modified to be defined by DT in dtb. I don't know yet. I am learning how to learn overlay to revise, just like this pcm5102a. If you don’t understand, try to add it yourself. If it is really unclear, I will post for help! enjoy working!
  4. According to the method you introduced, the music played happily. thank you very much. Good good study, day day UP.
  5. I2S seems to be no problem in the old version of armbian. So I am going to downgrade the version. The question now is how to compile the lower version? All scripts are defined as downloading the latest version. too hard. The attachment is the current device tree definition. sun8i-h3-nanopi-neo_OK-IR-I2S-SPI0.dts
  6. I want a digital music player base on NanoPi NEO, with device PCM5102A I2S sound card build. here is my pross: 1: Kernel: uname -a Linux nanopineo 5.8.14-sunxi #trunk SMP Sun Oct 11 18:51:16 CST 2020 armv7l armv7l armv7l GNU/Linux 2: build u-boot and kernel with armbian--build , and It is passed, so wirite the IMG file to sd card!. 3: I use command dtc to conver dtb to source, and chang I2S, SPI0, IR0,CODEC i2s@1c22000 ---->okay codec@1c22c00 --->okay spi@1c68000 --->okay ir@1f02000 --->okay from 'disable' to 'okay', filename="sun
  7. I had build armbian 3 days ago, kernel ="5.8.13", with NanopiNEO, I want use a TFT screen, type is ILI9341, when I use "armbian-config" open spi_spidev, no /dev/spi* created, and screen does not work. here is config: # # cat /etc/modprobe.d/fbtft.conf options fbtft options fb_ili9341 name=fb_ili9341 gpios=rest:0,cs:67,dc:2,led:3 speed=48000000 fps=26 rotate=90 bgr=1 txbuflen=65536 debug=3 here is armbian-hardware-monitor.log Other: ttyS0 can't login, Does somebody can help me, thinks very much! armbian-hardware-monitor.log
  8. Here is Debug information: # cd /lib/modules/4.19.84-sunxi/kernel/drivers/staging/fbtft root@nanopineo:/lib/modules/4.19.84-sunxi/kernel/drivers/staging/fbtft# modinfo fbtft_device filename: /lib/modules/4.19.84-sunxi/kernel/drivers/staging/fbtft/fbtft_device.ko license: GPL author: Noralf Tronnes description: Add a FBTFT device. depends: fbtft staging: Y intree: Y name: fbtft_device vermagic: 4.19.84-sunxi SMP mod_unload ARMv7 thumb2 p2v8 parm: name:Devicename (required). name=list =>
  9. had build, and now boot from os, dmesg |grep fbtft, display : root@nanopineo:/etc/lirc# dmesg|grep fbtft [ 10.705494] fbtft: module is from the staging directory, the quality is unknown, you have been warned. [ 10.712490] fbtft_device: module is from the staging directory, the quality is unknown, you have been warned. [ 10.714226] fbtft_device: spi_busnum_to_master(0) returned NULL [ 10.714235] fbtft_device: failed to register SPI device my patch is build from: https://github.com/prius0304/fbtft---SSD1322/blob/master/fb_ssd1322.c any one can hel
  10. I had try build a new kernel with tft screen , module ssd1322, find source , and build patch file, just like attach file <spender-ssd1322.patch>, and put it to patch : build/userpatches/kernel/sunxi-next, . then do "compile.sh", view patching.log, and compilation.log, compiler.log, no error! , directory build/cache/sources/linux-mainline/linux-4.19.y/drivers/staging/fbtft , no fb_ssd1322.o, .mod.c, .ko file output. build failed! help me , how to do spender-ssd1322.patch