Jump to content

tipine9824

Members
  • Posts

    8
  • Joined

  • Last visited

Recent Profile Visitors

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

  1. Test it with 23.02: - Armbian_23.02.2_Orangepi3-lts_bullseye_current_5.15.93_minimal.img - Armbian_23.02.2_Orangepi3-lts_jammy_current_5.15.93_minimal.img WIFI works without problems.
  2. Hello. The problem with WIFI was on images based on ubuntu. I had a problem both with the official image (from the armbian.com site) and with the one I build myself. Thus the image on a debian worked fine. According to user reviews, fresh builds on debian also do not work. To solve the problem, you need to reinstall "armbian-firmware-full" package. It can be downloaded directly from the Armbian repository https://imola.armbian.com/apt/pool/main/a/armbian-firmware-full/armbian-firmware-full_22.11.4_all.deb) and written to a sd card via the lan network or via a USB flash drive. Just "sudo dpkg -i armbian-firmware-full_22.11.4_all.deb" solve the problem.
  3. Hello. Did you succeed? I'm also trying to figure out how to connect a spi lcd in U-Boot.
  4. dtc --sort -I fs -O dts /sys/firmware/devicetree/base 2>/dev/null|grep serial-number or just : cat /sys/firmware/devicetree/base/serial-number
  5. You can use "gpio-poweroff" https://www.kernel.org/doc/Documentation/devicetree/bindings/power/reset/gpio-poweroff.txt PA2 will be High when shutdown complete: /dts-v1/; /plugin/; / { compatible = "allwinner,sun8i-h3"; fragment@0 { target = <&pio>; __overlay__ { poweroff_pins:poweroff_pins { allwinner,pins = "PA2"; allwinner,function = "gpio_out"; }; }; }; fragment@1 { target-path = "/"; __overlay__ { poweroff: poweroff { compatible = "gpio-poweroff"; gpios = <&pio 0 2 0>; }; }; }; };
  6. Hello. I need to set a low level on a gpio pin PA6 on boot. I'm trying to do this through the device tree: /dts-v1/; /plugin/; / { compatible = "allwinner,sun8i-h3"; fragment@0 { target = <&pio>; __overlay__ { pinctrl-0 = <&pull_pins>; pull_pins:pull_pins { pins = "PA6"; function = "gpio_out"; bias-disable; output-low; }; }; }; }; I need to set PA6 to low. After boot, I see my overlay in device tree, but the level on the PA6 is still high. I can easily control the level through libgpiod (gpioset gpiochip0 6=1 or gpioset gpiochip0 6=0), it works. But I can't set low level at start. Full device tree - https://pastebin.com/dQKSYXjL What am I doing wrong?
  7. Hello. Can't run x11 on Debian 11. I am using Nano Pi AIR (Allwiner h3). Since the board is not officially supported, I built the image on debian 11 myself. root@nanopiair:/# uname -a Linux nanopiair 5.15.44-sunxi #trunk SMP Wed Jun 8 08:41:04 UTC 2022 armv7l GNU/Linux The LCD is connected via SPI, chip is ili9486. Device tree file has been created, I can see the loading process and the console on the screen. I'm trying to start the X-server by "startx" from ssh session, but for some reason it ends immediately after the start. I tried using fbdev or fbturbo as driver. I also tried to remove the config with the driver in general (section "Device"). Here is the X server log when starting without explicitly specifying a driver: https://pastebin.com/zMXaQngf The only error is: [403138.174] (EE) modeset(0): glamor initialization failed I try to use fbturbo driver. root@nanopiair:# cat /etc/X11/xorg.conf.d/50-fbturbo.conf Section "Device" Identifier "Allwinner A10/A13 FBDEV" Driver "fbturbo" Option "fbdev" "/dev/fb0" Option "SwapbuffersWait" "true" EndSection I get Xorg.log with errors "FBTURBO(0): FBIOPUTCMAP: Invalid argument". Full log - https://pastebin.com/UfgT1K8U I try to use fbdev driver: root@nanopiair:/etc/X11/xorg.conf.d# cat /etc/X11/xorg.conf.d/50-fbdev.conf Section "Device" Identifier "Allwinner A10/A13 FBDEV" Driver "fbdev" Option "fbdev" "/dev/fb0" # Option "SwapbuffersWait" "true" EndSection I get Xorg.log with errors "FBDEV(0): FBIOPUTCMAP: Invalid argument". Full log - https://pastebin.com/EqDCEGLf Why X server terminating after start? I have a second such board, it also has armbian, but on debian 10 and everything works fine without Xorg config.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines