

robertoj
Members-
Posts
465 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Everything posted by robertoj
-
NanoPi DUO2 microUSB serial stop working on 24.11.0
robertoj replied to Slawek's topic in Allwinner sunxi
If still not working, install the newest OS image in a different microSD card, verify that you have the USB-serial function. Then check the differences in armbianEnv.txt, and the result of "lsmod", against your old microSD. If you succeed or not, post your results here, because that's how we build up the knowledge base. -
NanoPi DUO2 microUSB serial stop working on 24.11.0
robertoj replied to Slawek's topic in Allwinner sunxi
Make sure that /boot/armbianEnv.txt is the same from the time it was working, to what it is today (the line “overlays=“) -
OrangePi Zero LTS ili9341 TFT LCD (and later OrangePi Zero 3)
robertoj replied to robertoj's topic in Allwinner sunxi
I tried this DTS, to try to declare, reserve, or pin mux the chip select (I don't know what the added block does) The TFT screen did not work (100% white), but at least I see more pins used in pinctrl (PA2, PA18) -
Orange pi zero 3, x11vnc will run but won’t start automatically
robertoj replied to the skid's topic in Allwinner sunxi
Check that the environment lines, plus the execstart from the service file, do what you want from “root”, since the service does not specify a user or specify your user, and try it with your user see what shows up with “journalctl -u x11vnc” (log) Here's another x11vnc server istructions: https://wiki.archlinux.org/title/X11vnc https://jasonschaefer.com/setup-x11vnc-server-with-systemd-auto-start-up/comment-page-1/ -
Banana Pi M2 Pro - WiFi does not works after reboot (rtl8821cu)
robertoj replied to v-tal's topic in Banana Pi M2 Pro
you need to configure WIFI with netplan setting files. See https://docs.armbian.com/User-Guide_Networking/ and apt install wpasupplicant if you don’t have it -
I noticed the second serial port in the 26 pin connector it is in the same pins as SPI1
-
OrangePi Zero LTS ili9341 TFT LCD (and later OrangePi Zero 3)
robertoj replied to robertoj's topic in Allwinner sunxi
Investigating why fb_ili9341 works but ili9341 does not. With this ili9341-spi1.dts, fb_ili9341 gets loaded and TFT shows images perfectly here's the armbian-monitor -u result https://paste.armbian.com/vimetexiqe Other results in this successful DTS: When I change the DTS to (notice the differences in compatible and rotate/rotation lines) The TFT remains 100% white. Here's the armbianmonitor -u: https://paste.armbian.com/segulokeso Other tests in this failed attempt: In both cases, I used sudo armbian-add-overlay ili9341-spi1.dts, and my armbianEnv remained the same: -
Wondering if I'm building wrong? (orangepi-zero-2w)
robertoj replied to moonshiner's topic in Allwinner sunxi
In “minimal” images, there’s no armbian-config to set up networking easily you need to configure it with netplan setting files. See https://docs.armbian.com/User-Guide_Networking/ and apt install wpasupplicant if you don’t have it -
I tried kernel 6.6 and I only have luck with fb_ili9341, not ili9341 (adafruit’s drm driver) Is it drm_mipi_dbi.ko the part that actually handles the SPI port? Is there a manual to see the parameters, or a log file? i will include armbian-monitor -u soon my findings are in my thread https://forum.armbian.com/topic/44191-orangepi-zero-lts-ili9341-tft-lcd-and-later-orangepi-zero-3/ To those who are enjoying a drm screen in their ili9341, are you also getting h264 acceleration? Are you also getting the touch events with a second chip select? Why do some DTS have this (in bold) part in their fragment0 (Ryzer May 30, 2023), and later versions of the DTS don't have that part? Well, I tried this DTS and I have the same result: white TFT
-
Thank you! The first serial port is the debug serial port (probably UART2), the second is UART5 in the 26 pin terminal. Are you able to use UART2? I think it would only be owned for boot up messages and a bash session.
-
OrangePi Zero LTS ili9341 TFT LCD (and later OrangePi Zero 3)
robertoj replied to robertoj's topic in Allwinner sunxi
Just to keep track of my progress: OrangePi Zero can drive a ILI9341, with this ili9341-spi1.dts, with the fb_ili9341.ko driver (not the drm driver). Works on Linux 6.1.104 and Linux 6.6.44 Pin connections inside the DTS code: and this armbianEnv.txt -
As a sanity check, I tried this positive experience, and my TFT is working for the first time https://4pda.to/forum/index.php?showtopic=782242&st=5060#entry112401076 (using google translate) I copied the 3 DTS in that forum post, used them, and the TFT showed a black screen, with login prompt With linux 5.15.93, from Armbian_23.02.2_Orangepizero_jammy_current_5.15.93 I need to check what is being done here, and transfer it to my best experience with linux 6.1 or 6.6 quick check: sudo fbi -noverbose -a -t 10 -T 2 -d /dev/fb0 mafalda.jpg That spi_ili9341.dts in the 4pda forum works for orangepi zero, linux 6.1.104, although it only uses fb_ili9341, not the drm driver. ALSO: when I remove "tve" (NTSC) from the overlays, there's only /dev/fb0 (not fb1), which is the TFT LCD, and the boot messages appear in the LCD When I edit my DTS to look more like the "viroid" DTS, when in Linux 6.1.104, the TFT stays 100% white. Then, when I remove the "adafruit,yx240qv29", it works again Someone with a similar problem: https://forums.raspberrypi.com/viewtopic.php?t=358240#p2165609 https://github.com/notro/tinydrm/issues/14 i will try with a newer kernel, maybe the driver improved
-
Thank you for the suggestions... I rebuilt my armbian image for orangepi zero to linux 6.1.104, just to make it more similar to everyone else's setup I had better success with your latest dts, with my spi1, and GPIO pin modifications, without doing the simplified version On reboot, I tested that devices were configured well again: dmesg|grep ili, lsmod|grep ili, cat ...spi@1c69000/status, cat ...1c20800.pinctrl/pinmux-pins Then, I executed: apt install xinit xterm xauth x11-apps xserver-xorg lightdm sudo su - FRAMEBUFFER=/dev/fb1 startx But my TFT stayed 100% white. Here is my xorg log I was also doing tests with the DTS from https://ryjelsum.me/homelab/xpt2046-ili9341-opi-zero/ with a little better result: the TFT turns gray. The x11 server started with no errors, but the TFT stayed gray With either DTS, I see that there is no references to /dev/fb1, in xorg.log I also tried "sudo con2fbmap 2 1", it didn't work I am going to look for very old OS image ,where it is known to work with my SBC
-
Thank you!
-
Ok, I finally have a newly built Ubuntu Noble, with ili9341.ko in the /lib/modules/... folder I added the DTS again: I rebooted and there was no action in the TFT display. Also, nothing in dmesg indicated it that ili9341 was attempted to use... neither "spi" was found in dmesg I saw that the pins I want to use for SPI are not in use: Also, checking the proc, shows that both SPIs are disabled: Finally, I am able to load the kernel module, but it does nothing: Now I am trying replacing "spi0_pi_pins" with "spi1_pins"... New progress: spi1 is now enabled When I tried this simplification of my DTS: Then, finally the ili9341.ko gets loaded at boot: But the dmesg is referring to spi0.0... and I need to use spi1.0. The TFT screen shows nothing. Is there another thing I can test? Update: It seems that panel-ilitek-ili9341.ko is the part that wants to access spi0... is there any way to exhort it and use spi1? driver c code in: https://codebrowser.dev/linux/linux/drivers/gpu/drm/panel/panel-ilitek-ili9341.c.html
-
Are you using the latest Debian Bookworm Minimal, or the more complete Ubuntu Jammy Server? In either case, post the result of "lsmod". Run "ip a" and see if there's any "wlan" interface. Run (root) nmtui to try to activate wifi. If nmtui is not available, run "apt install network-manager". Or try it "armbian-config" (apt install armbian-config) If you are using Debian Bookworm, try with Ubuntu Jammy instead... it worked for me yesterday, with Orange Pi Zero and wifi.
-
I might need to use the serial port pins, instead of USB-serial adapters. What did you activate in system>hardware? (or post your armbianEnv.txt) Can the 2 serial ports work with 230400 baud? (lidar snesors) Can they work with pyserial?
-
Thank you, now I am trying without spidev.dtbo, and checking my modifications to the dts you posted here on June 10, 2023 and my armbianEnv.txt What tests should I do to see that the SPI is being initialized? When I run dmesg and lsmod, there's nothing with spi or ili9341 I found that in my linux build config, I only have CONFIG_FB_TFT_ILI9341=m, but two other lines referring to ILI9341 are disabled: # CONFIG_DRM_PANEL_ILITEK_ILI9341 is not set # CONFIG_TINYDRM_ILI9341 is not set Results for sys pinctrl query: nothing showing spi0 or spi1 Should I be seeing /dev/spi1.0 created? I verified that I only have fb_ili9341.ko, but not ili9341.ko... I will build my armbian image with it. https://paste.armbian.com/agijolubij need Ubuntu VM XD
-
missing wifi on orangepi zero , before worked.....
robertoj replied to soldato's topic in Allwinner sunxi
I think I did apt update... I will double check -
Thank you for your comment I will the sys/kernel file Yes, there is a ili9341 module loaded It just appears to expect the correct SPI 1.0, BUT the spidev driver is not creating the /dev/spi1.0 device, only spi0.0... and when I change the armbianEnv.txt to use bus 1 (for MISO1, MOSI 1), the spidev driver does not create any /dev/spiX.X When I deactivate the custom ili9341.dtbo, with references to spi1, spidev works again. I can't find a definitive answer about activating spi-dev.dtbo in armbian-config>hardware... yes or no? Ideally, someone with a positive experience with Allwinner H3 will chime in here :)
-
Hello, I am also trying to get my ILI9341 TFT working on my Orange Pi Zero... which also has an H3 (only different GPIOs, and SPI1, instead of SPI0) In august 2024, have the people who succeeded in using the ILI9341 upgraded to Linux 6.6.x? Can you share the complete armbianEnv.txt and dts? Thank you!
-
I am experimenting with a cheap ILI9341 screen and mi OrangePi Zero LTS https://www.aliexpress.us/item/2251832431328471.html I found these recent instructions to be able to display graphics here: https://ryjelsum.me/homelab/xpt2046-ili9341-opi-zero/ with a reference to a previous experience (without mentioning success) https://hackaday.io/project/190371-g-edm/log/217902-first-success-with-armbian-nanopi-and-ili9341-touch and independently, I found these instructions and experiences here: https://docs.armbian.com/User-Guide_Allwinner_overlays/ https://forum.armbian.com/topic/27457-connecting-banana-pi-m2-zero-with-ili9341-display-over-spi-on-latest-armbian-image/ <-just found it and it has some success with BananaPi M2 Zero https://tech-de.netlify.app/articles/de547180/index.html https://4pda.to/forum/index.php?showtopic=782242&st=5060#entry112401076 I connected with wires as shown in instructions: https://forum.armbian.com/topic/28674-text-version-of-orange-pi-zero-pinout/ And the LCD's LED input pin to 3.3V I activated the spi-add-cs1 overlay in arbian-config I copied the dts for opiZ into ~/ili9341/ili9341-touch-double-spi-cs.dts Then, I executed: cd ili9341 armbian-add-overlay ili9341-touch-double-spi-cs.dts Then, I rebooted, and my LCD just looks gray. My armbianEnv looks like this: verbosity=1 bootlogo=false console=both disp_mode=1920x1080p60 overlay_prefix=sun8i-h3 overlays=spi-add-cs1 tve usbhost2 usbhost3 rootdev=UUID=7d9a7016-73db-4f9c-a5bd-e3e5ab53ffc4 rootfstype=ext4 user_overlays=ili9341-touch-double-spi-cs usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u my armbianmonitor -u: https://paste.armbian.com/arogurekiv I am still not done checking against the experiences with Bpi M2-0, but I ask here: anyone has experience with ILI9341+XPT2046, in either OrangePi Zero or Zero 3? Should I downgrade to Linux 6.1.53?
-
missing wifi on orangepi zero , before worked.....
robertoj replied to soldato's topic in Allwinner sunxi
I get it, that Debian Minimal comes without armbian-config, but it is the first time I can't install it with "sudo apt install armbian-config" -
missing wifi on orangepi zero , before worked.....
robertoj replied to soldato's topic in Allwinner sunxi
I tried the orangepizero image from https://dl.armbian.com/orangepizero/Bookworm_current_minimal (Bookworm, Linux 6.6.44) and wifi didn't work Then I tried the image from https://armbian.tnahosting.net/archive/orangepizero/archive/Armbian_24.2.1_Orangepizero_bookworm_current_6.6.20_minimal.img.xz (bookworm, Linux 6.6.20) and wifi worked again Then I did apt update+upgrade, the kernel upgraded to 6.6.31, and the wifi connection was still working Result of armbianmonitor -u: https://paste.armbian.com/irowedahuc ^ In case someone needs a reference of how it should work I will try the 6.6.44 image again v Below is the result of the Bookworm 6.6.44 image https://paste.armbian.com/odeyapojal Also: sudo iwlist wlan0 scan wlan0 Interface doesn't support scanning : Network is down It is also missing armbian-config: sudo apt install armbian-config [sudo] password for roberto: Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package armbian-config Then, when I tried the image from https://dl.armbian.com/orangepizero/Noble_current_server (on August 24), then Wifi works armbian-config and nmtui are included in this image, and it has a new option: Radio Here's the result of armbianmonitor -u : https://paste.armbian.com/erofizifam I will continue working with Ubuntu Server, instead of Debian Minimal