Search the Community
Showing results for tags 'orangepilite'.
-
How to install Home Assistant Supervised on Armbian 23.02 Jammy (plus minus, but quite installed on the previous release of Armbian, this is based on Debian 10) Performed exclusively without a graphical interface, from the console. Works stably on Orange Pi Lite , including a connected Bluetooth dongle via USB and sensors to it. 1. The first installation of Armbian and the subsequent creation of a user and passwords, the next is required to install all updates via sudo apt update && sudo apt upgrade -y . Then you need to install the Firmware update through the armbian-config ->System utility as in the screenshot. (When prompted for reboot - reboot the system.) Separately for owners of Orange Pi Lite: 2. Next, follow the instructions https://github.com/home-assistant/supervised-installer up to "Step 4" If we continue to install "Step 4", it will not allow installation and will write in red letters that the current system is not supported and the system must be Debian 11. 3. In this case, it is necessary during the installation, to replace one variable in the system in the /etc/os-release file . It is necessary to replace in this file PRETTY_NAME="Armbian 23.02.2 Jammy" on PRETTY_NAME="Debian GNU/Linux 11 (bullseye)" (from sudo rights, eg "sudo nano /etc/os-release" editor) 4. And continue with "Step 4" in the instructions. In the installation type selection window, select "qemuarm" for armv7, this is important . 5. After installation, the services for deploying the docker container will immediately load automatically. Note that it took me ~15 minutes ! The progress of the deployment can be monitored indirectly in htop (you can open a window in parallel in another ssh terminal). 6. For autoload, you need to activate autoload services: sudo systemctl enable hassio-apparmor.service sudo systemctl enable hassio-supervisor.service For Bluetooth integration to work, you must install "sudo apt-get -y install bluez" into the system beforehand. Additionally: 1. The main file(s) of the Home Assistant configuration ( for ex. like configuration.yaml ) on this system will be located along the path /usr/share/hassio/homeassistant/ , in the same folder, if necessary, you need to throw custom_components . 2. If you want to use /dev/ttyUSB0 (or HC-05 ( /dev/rfcomm0 ) for example after auto connect via bluetoothctl ) on your Armbian and in conjunction with Home Assistant, then you need to add rights to your user: sudo gpasswd --add <user> dialout sudo newgrp dialout (Note that the brackets <> should be your data instead. Also, if you will use i2c in the same way as dialout, write i2c ) Working with GPIO from userspace in Armbian Option 1 (classic) By default, the OS does not allow gpio to be controlled via sysfs (/sys/class/gpio/) to a non-root user, to fix this you need to do the following: 1. Create a gpio group: sudo groupadd gpio 2. We give our user access to the gpio group: sudo usermod -aG gpio <user> 3. Create a rule for udev when the system boots: sudo nano /etc/udev/rules.d/99-gpio.rules Paste in the file "/etc/udev/rules.d/99-gpio.rules" the following SUBSYSTEM=="gpio", KERNEL=="gpiochip*", GROUP="gpio", ACTION=="add", PROGRAM="/bin/sh -c 'chown root:gpio /sys/class/gpio/export /sys/class/gpio/unexport ; chmod 220 /sys/class/gpio/export /sys/class/gpio/unexport'" SUBSYSTEM=="gpio", KERNEL=="gpio*", GROUP="gpio", ACTION=="add", PROGRAM="/bin/sh -c 'chown root:gpio /sys%p/active_low /sys%p/direction /sys%p/edge /sys%p/value ; chmod 660 /sys%p/active_low /sys%p/direction /sys%p/edge /sys%p/value'" 4. Reboot: sudo reboot For Allwinner H3 gpio, the following picture corresponds to the connector: (Where BCM corresponds to the GPIO number in Armbian, more details can be found here ) It should now be possible to change (monitor) all these gpios non-root , i.e. when we do for example "echo 6 > /sys/class/gpio/export", then it will use the physical 7 pin of the connector as the folder "/sys/class/gpio/gpio6" etc... Option 2 (recommended) A new option without any sysfs is to use the built-in Armbian tools like gpiodetect, gpiofind, gpioget, gpioinfo, gpiomon, gpioset (Help). Additionally: For Home Assistant, in addition to the classic way, it is much easier to do the second option, for example: This is a binary_sensor in the form of a pressing to the button (input😞 binary_sensor: - platform: command_line name: external_button_state command: "gpioget gpiochip0 6" payload_off: "0" payload_on: "1" scan_interval: 0.250 (same 7 pin on connector as GPIO6 on Armbian , scan_interval set to 0.250 in seconds - means 250ms) Or a switch like slide switch 😀 (output) : switch: - platform: command_line switches: something_change_value: friendly_name: Test Switch pulling GPIO output command_on: gpioset -B pull-up gpiochip0 64=1 command_off: gpioset -B pull-down gpiochip0 64=0 command_state: test $(gpioget gpiochip0 64) = 1 (where pin 19 is used on the connector that is GPIO64 on Armbian as an output signal, 0=low[0V] 1=high[3.3V], the test command tests the already set switch value and changes it almost in real time - this is necessary if let's say we have someone else who controls the signal, or it changes dynamically, or in general, another pin can be set for the status) ----------------- That's all, successful projects for you! Original link
-
Good afternoon. I don't know how to solve a small problem. There is Orange Pi Lite. It runs its own program. The program uses spi-dev and display. You need to compile drivers for the network card. And then a problem arose. I cannot install linux-headers-current-sunxi on a working distribution (the latest one available on the website Armbian_23.02.2 5.15.93 ). And if you set “Community maintained”, then it is impossible to enable spi-dev and the display (Arbian-Config is missing in the repository) How to solve this problem?
-
Hello, I have an orange Pi i96, and I can't find a USB device. In /dev, I have a serial folder, then by-id in which I have : usb-1a86_USB_Serial-if00-port0 But it doesn't disappear when I remove the USB device ... And the USB output doesn't change whether the device is plugged in or not. Dmedg gives nothing related to usb and lsusb gives this: Bus 001 Device 002: ID 1a86:7523 QinHeng Electronics CH340 serial converter Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub And it doesn't change depending on whether the USB port is busy or not. Am I missing something? Have a nice day I know it's the wrong tag for this post, but there isn't one for the i96...
-
Hello, I just bought Orange Pi PC lite and I have a problem with the version of Orange Pi on site is I think a Server Desktop and Doest have Gui Interface where can I Download the Graphical Interface, I think It is possible but I dont know where to get it , If someone Help me I aprricate it.
-
Attention, whatever you do next is at your own risk! Fixed dts overlay file for Armbian 23.02.2 (attached). 1. Now the system can fall asleep and wake up by a timer (without an external RTC, provided that it is powered) or by pressing a button - while wifi connects itself (if there is an automatic connection) and the system continues to work as if nothing had happened without unnecessary loading. 2. As a bonus, I added an indication of reading from a flash card as a red LED (this can be turned off). 3. I also activated the host on the micro-usb connector - now you can connect something else via the otg adapter as a third USB connector. To apply this on your system dts overlay you need (from sudo) : 1. Download the file, say, to your home directory, then execute the command from this directory: sudo dtc -@ -I dts -O dtb -o /boot/dtb/overlay/sun8i-h3-gpio-keys-led-suspend-usb-fixes.dtbo gpio-keys-led-suspend-usb-fixes.dts 2. If there are no errors, move on, if there are errors, then DO NOT continue! 3. Make a copy of the file "/boot/armbianEnv.txt": sudo cp /boot/armbianEnv.txt /boot/armbianEnv.txt.orig 4. Open the "/boot/armbianEnv.txt" file in an editor of your choice: sudo nano /boot/armbianEnv.txt (I used the nano editor) 5. Add the line "gpio-keys-led-suspend-usb-fixes" to the "overlays=" item: overlays=gpio-keys-led-suspend-usb-fixes (do not touch the rest - if you make a mistake, you will have nothing to boot later, that's why you made a backup!) if the parameter "overlays=" already has another parameter, add a space, for example: overlays=analog-codec i2c0 gpio-keys-led-suspend-usb-fixes 6. Reboot the single-boarder, if the red LED flashes during the download process, it means it is working. Additionally: To make the system fall asleep and wake up on the button, you need to execute the command: sudo systemctl suspend (Next, when you press the button (if you do not turn off the power) - it will wake up as intended) To make the system fall asleep and wake up on a timer, you need to execute the following commands (or enter into a script): sudo sh -c "echo 0 > /sys/class/rtc/rtc0/wakealarm" sudo sh -c "echo `date '+%s' -d '+ 3 minutes'` > /sys/class/rtc/rtc0/wakealarm" sudo systemctl suspend (where "3 minutes" change to your hibernation time, more details here) Current consumption in idle mode - not loaded by the CPU : Current consumption in sleep mode with timer: If you just turn off the consumption in about of 80-90mA P.S. Following the example, in the same way, you can wake up, for example, from a specific button by adding the wakeup-source parameter to GPIO, more details on how to add your own button here. https://www.mediafire.com/file/k8ioiezr7vuu93w/gpio-keys-led-suspend-usb-fixes.zip/file
-
Hi. After 2 years uptime it disconnected from wifi and was unable to reconnect even after reboot. I suspect my AC adapter has degraded. Can this SBC measure the voltage? Upd: saw this post: https://raspberrypi.stackexchange.com/questions/112122/wifi-not-connecting-depending-on-power-supply I use NetworkManager and when it starts it usually cannot connect to wifi saying that the pre-shared key is wrong, marking the connection as failed and not re-trying. In particular, the log contained a failed "asking for new key" message. Re-starting the service or manually activating the connection worked. As a workaround I created a *.conf file in /etc/NetworkManager/conf.d/ : [main] autoconnect-retries-default=0 Not sure if it helped though. One boot had a different error and a re-try. The other boot suddenly connected with the 1st attempt.
-
I have an orange pi lite, I want to use the lcd ili9341 TFT 320X240 2.8 Inch touch screen, and by header 34 pin and how the installation connections I don't know I need your help. I be very grateful. The OS is "Armbian_22.08.2_Orangepilite_jammy_current_5.15.69_xfce_desktop" And I'm looking for 2.8 inch LCD setup codes on Armbian for Orange Pi Lite!
-
Hi there, I need to install below libraries on my orange pi lite, on a virtual environment tensorflow 2 keras numpy pandas OrangePi.GPIO does anyone have a armbian image including all these libraries pre-installed. because everytime I try to do it, I face lots of odd errors, mostly for installing tensorflow 2, and installing anyone of libraries on virtual environment.
-
Hello everyone, I need to run below code so I can convert speech to text on my OPi Lite. ////////////// import speech_recognition as sr rec = sr.Recognizer() with sr.Microphone() as source: audio = rec.record(source, duration=15) print("Converting...") output_text = rec.recognize_google(audio) print(output_text) ////////////// speech recognition is installed, but everytime I try to run below code, I am getting these odd errors. I tried several different ways, wonder if someone have had same issue and had fixed it. ///Error//// ALSA lib pcm.c:2664snd_pcm_open_noupdate) Unknown PCM cards.pcm.front ALSA lib pcm.c:2664snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2664snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2664snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm.c:2664snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21 ALSA lib pcm.c:2664snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround21 ALSA lib pcm.c:2664snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40 ALSA lib pcm.c:2664snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41 ALSA lib pcm.c:2664snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50 ALSA lib pcm.c:2664snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51 ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71 ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958 ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958 ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958 ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline ALSA lib pcm.c:2664:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection refused ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection refused ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card' ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card' Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
-
Hi, I am unable to build any images for orangepi SOCs specifically orangepilite, orangepilite2 and one plus. Always returned error halfeway. Following is a sample of log when I compile image for orange pi lite. Please me some guidance on how to resolve this. My steps: run sudo compile.sh -- "Do no tchnage the kernel..." --> "orangepilite"--> either current or legacy --> either "buster" -->"Image with console inter..." -->"Standard image with ..."compilation.log
- 6 replies
-
- Orange Pi Lite
- Orange Pi Lite 2
-
(and 1 more)
Tagged with:
-
Hi, I thought I'd share this in case anyone else is in the same situation as I. I've been trying to get my Orange Pi Lite to boot the latest (Aug 26 2021) images. I've tried Focal, Bullseye and Hirsute, and the Lite doesn't seem to care for any of them. "Armbian_21.02.1_Orangepilite_buster_current_5.10.12_desktop" from the Archive section does boot, as do the versions of Ubuntu and Debian from the Orange Pi website. Perhaps if I had a serial terminal connected I would be able to troubleshoot this, but I don't yet. I'm using a Sandisk Ultra A1 64Gb and I'm monitoring my power supply with my oscilloscope and haven't noticed any dips below 5v.
-
I‘m using an OrangePi Lite with the intent to display a 4kp30 video to a 4k TV over hdmi. from reading through the forums I saw that mainline kernel does not support video acceleration - is this information current? after installing the Xenial Image with 3.4 kernel I manage to play 1440p video smoothly two ways with mpv: - windowed if display resolution is set to 4k -fullscreen if display resolution is set to 1080p if I try to run the 1440p video at 4k display resolution in fullscreen, the app crashes with messages about ‚not enough resources to create surface‘ and the framebuffer stays corrupted after that and I have to reboot. The same happens if I try to play the 4k30p video (independently of whether I run it fullscreen or windowed, 4k or 1080p display res. I also tried both h264 and h265). I Played around with extraargs=cma=... sunxi_ve_mem_reserve=... in ArmbianEnv.txt but it didn‘t seem to have effect. The docs state that in the 3.4 kernel the video memory is hardcoded to 80MB (not sure if I understood that correctly though) which probably would prevent 4k playback with that kernel. on https://linux-sunxi.org/Cedrus/libvdpau-sunxi it's stated that: This can be set by the following kernel argument. sunxi_ve_mem_reserve=128 NOTE: This kernel parameter is ignored in recent linux-sunxi 3.4 kernels, if CMA is enabled in kernel configuration. If CONFIG_CMA=y, ve_size is hardcoded to 80MB in sunxi_cedar kernel module. For A33 or H3, if you use the kernel from official SDK, you should modify the memory reservation configuration of ion memory allocator. 32 MB seems to be enough for 720p H.264 decoding, and 64MB is enough for 1080p H.264 decoding. But I don't know what it means to modify the memory reservation configuration of ion memory allocator and how to do that? Is there any kernel available which can playback hardware accelerated 4k30p video on Orange Pi Lite (H3) and if so, how do I need to go about to setup my Xenial installation to make use of it?
-
Hi, I have been running Armbian on OrangePi Lite for more than a year just fine. Then I decided to upgrade and flashed the latest version. Now with the latest version the device looses wifi every few days no matter which wifi device I use. In order to investigate I have plugged additional USB wifi. Some time both wifi work. Then built-in may disconnect and stop working, but USB keeps working. Or vice versa, USB stops working, but the built in keeps working. I have been able to send syslog to an external machine and here what it showed Connection works fine: The next day one of the connections stops working and complains that the WPA key may be wrong: Obviously, nothing has changed, the hotspot is still the same and WPA key has not been changed. Both wifi connections are using the same key, and one works fine. Rebooting resolves the issue, but after few days it is back again. Anyone have seen this behavior? Before downgrading to a version prior 2020 I'd like to check as much as possible if this is some bug Thanks
-
Hi, I have an Orange PI Lite on to which I'd like to install the latest Armbian release. I had Armbian Xenial installed on the Pi Lite quite some time ago for test purposes and put it to one side while I got hardware for my Pi Lite set up for its intended use. I wiped the SD card and I was ready to download, install and set up the latest Armbian Xenial on my Orange Pi Lite when I notice the sub-heading "desktop legacy kernel 3.4.y". I'm not sure if this description appeared previously but my question is does this mean that this version, i.e. "Armbian Xenial desktop legacy kernel 3.4.y", although currently supported is no longer being updated and will therefore reach EOL within the foreseeable future? I'd like whatever version of Armbian will give me the most mileage in terms of time before I may have to consider migrating the OS to a different edition, version, etc. so checking before I go ahead with Armbian Xenial. Thanks!
-
Hi, I bought brand new Waveshare 3.5 inch (A) RPI touch screen and also a opi lite but I have got problem with installing the lcd on my pi , when I plug it in it show me only white back light please help me ( my os is raspbian).
-
hi i try to load bootlog from /boot/mmc on orange pi lite when add bootlogo=true to armbianEnv only armbian logo show. i check u-boot and it send an erro "Unknown command 'bmp' - try 'help'" i check u-boot env and u-boot dont have bmp command. ow can I fix this.
-
Hi, root@orangepilite:~# armbianmonitor -u System diagnosis information will now be uploaded to Please post the URL in the forum where you've been asked for. I'm trying to connect my PI board to my smartphone's phone hotspot. I tried with different phones (ASUS Zenfon, Huawei P10, iPhone 11) - "nmcli dev wifi" does not display my hotspots, however nearby computers and the phones themselves do see the hotspots. The PI finds many wifi networks around and use one of them w/o issues: root@orangepilite:~# nmcli dev wifi IN-USE SSID MODE CHAN RATE SIGNAL BARS SECURITY * fbk.info Infra 6 270 Mbit/s 70 ▂▄▆_ WPA2 TP-Link_4339 Infra 4 270 Mbit/s 57 ▂▄▆_ WPA2 dlink-25C4 Infra 2 270 Mbit/s 49 ▂▄__ WPA1 WPA2 Pavel Infra 13 270 Mbit/s 47 ▂▄__ WPA2 ... Any ideas what's going on? Thanks in advance!
-
Hi, I have connected Orange Pi Lite over serial UART, but looks like the default settings are to not output the boot log to serial. You can only see U-Boot messages, then "Uncompressing Linux kernel" and after some time the login prompt comes. What exactly do I need to change/configure to get the classic kernel boot log to serial console? Thanks
-
Hello, I installed Armbian (image from here https://www.armbian.com/orange-pi-lite/ [Buster / mainline based kernel 5.4.y]). After booting on OPi Lite everithing works fine. I have updated and upgraded OS. Reboot, shutdown and again turn on the board works just fine. I decided to download desktop for this image. Desktop was downloaded and installed successfully (with armbian-config). Everything works fine. After reboot, shutdown, turn off by unplugging the cable, Armbian on my OPi Lite does not wake up anymore. When I will load this image again, everything works fine by the time I will download and install desktop and turn off the board. I have tried other distribiutions like Ubuntu and Debian from Orange Pi website. There is no issiues with those OS's. Only with Armbian after installing desktop I can not boot OS on OPi Lite anymore. I have changed SD cards, powersupplies and measured voltage while booting, (working properly, after and while cannot boot) for them, everything correct. Without desktop everything works as expected. I use recommended Etcher to upload images to SD card. I tried to connect USB to TTl converter to UART to check if board outputs something in this weird state. Nothing appears in Putty, (Rx to Tx and vice versa, 3.3V, common ground, correct port and baud rate 115200). When my board is in this weird state, green LED is ligthing all the time like when it is working normally before desktop. My display changes state to Power Saving Mode every second what is unexpected. After unplugging power supply it stops. When UART connected, green LED sometimes blinks randomly. I have unplugged antenne, plugged antene, keyboard and mouse is via wireless donge, tired with plugged unplugged, display is connected via HDMI and HDMI to DVI converter, tried with plugged and unplugged, on unplugged no response on URAT too. I have no more ideas of mine and from this and other forums, maybe I missed something.
-
Hi, i use orangepi lite with armbian buster and kernel 5.4.35 my journal flooding with messages: May 02 09:50:11 orali kernel: RTL871X: CurIGValue=31, EntryMinUndecoratedSmoothedPWDB = 30 May 02 09:50:13 orali kernel: RTL871X: CurIGValue=31, EntryMinUndecoratedSmoothedPWDB = 31 May 02 09:50:15 orali kernel: RTL871X: CurIGValue=31, EntryMinUndecoratedSmoothedPWDB = 32 May 02 09:50:17 orali kernel: RTL871X: adaptive_early_32k(): bcn_cnt = 101 May 02 09:50:17 orali kernel: RTL871X: CurIGValue=31, EntryMinUndecoratedSmoothedPWDB = 31 May 02 09:50:19 orali kernel: RTL871X: CurIGValue=31, EntryMinUndecoratedSmoothedPWDB = 32 May 02 09:50:21 orali kernel: RTL871X: CurIGValue=31, EntryMinUndecoratedSmoothedPWDB = 32 How can i stop this? Thank you! Al
-
I want to create an image file with yocto. There is no orangepilite in the link "https://github.com/linux-sunxi/meta-sunxi" . I created an image file for orangepione. kernel did not stand up. then I downloaded the metalayer in the link https://github.com/abradianu/meta-orangepi/. I made the following changes. ../conf/local.conf/ MACHINE ??= "orangepi-lite" ../conf/bblayers.conf /home/e2das//Desktop/yocto/poky/meta-orangepi \ then I ran the bitbake core-image-base ERROR: /home/e2das/Desktop/yocto/poky/meta/recipes-sato/images/core-image-sato.bb: Deprecated variable(s) found: "IMAGE_DEPENDS_sunxi-sdimg". Use do_image_<type>[depends] += "<recipe>:<task>" instead--:-- ERROR: /home/e2das/Desktop/yocto/poky/meta/recipes-sato/images/core-image-sato-sdk.bb: Deprecated variable(s) found: "IMAGE_DEPENDS_sunxi-sdimg". Use do_image_<type>[depends] += "<recipe>:<task>" instead ERROR: /home/e2das/Desktop/yocto/poky/meta/recipes-sato/images/core-image-sato-sdk-ptest.bb: Deprecated variable(s) found: "IMAGE_DEPENDS_sunxi-sdimg". Use do_image_<type>[depends] += "<recipe>:<task>" instead ERROR: /home/e2das/Desktop/yocto/poky/meta/recipes-rt/images/core-image-rt.bb: Deprecated variable(s) found: "IMAGE_DEPENDS_sunxi-sdimg". Use do_image_<type>[depends] += "<recipe>:<task>" instead ERROR: /home/e2das/Desktop/yocto/poky/meta/recipes-rt/images/core-image-rt-sdk.bb: Deprecated variable(s) found: "IMAGE_DEPENDS_sunxi-sdimg". Use do_image_<type>[depends] += "<recipe>:<task>" instead ERROR: /home/e2das/Desktop/yocto/poky/meta/recipes-sato/images/core-image-sato-dev.bb: Deprecated variable(s) found: "IMAGE_DEPENDS_sunxi-sdimg". Use do_image_<type>[depends] += "<recipe>:<task>" instead ERROR: Failed to parse recipe: /home/e2das/Desktop/yocto/poky/meta/recipes-sato/images/core-image-sato-sdk.bb what should I do.
-
hi good night i have an orange pi lite, i want to use the (lcd ili9341 3.2 model MSP3218) touch screen and how the installation connections i don't know are correct in these connections in gpios and why my pc broke and qr use orange as desktop i need your help. I will be grateful. I want to connect to the retrorange pi 4.2 system how do I install lcd 3.2 on orange lite? https://mobile4dev.blogspot.com/2017/09/orange-pi-pc-tft-ili9341.html?fbclid=IwAR2h4HLkaBtLA7W5cfXobFbvFkZory0Wznvnju6fMrYzOcDVe1k7oBTwwRw
-
Hi, I'm running the following kernel on my Orange Pi Lite: Linux lights 5.3.9-sunxi #19.11.3 SMP Mon Nov 18 18:49:43 CET 2019 armv7l GNU/Linux I'm getting the following crash in the WiFi driver (copy-pasted from dmesg) after some time (about 10 hours if I read the output correctly?). [36792.103947] ------------[ cut here ]------------ [36792.104326] WARNING: CPU: 3 PID: 1108 at drivers/net/wireless/realtek/rtl8189fs/core/rtw_mlme.c:2622 rtw_stadel_event_callback+0x41/0x1fa [8189fs] [36792.104331] Modules linked in: snd_soc_hdmi_codec snd_soc_simple_card snd_soc_simple_card_utils sun8i_codec_analog sun4i_i2s sunxi_cir sun8i_adda_pr_regmap snd_soc_core lima sun4i_gpadc_iio snd_pcm_dmaengine dw_hdmi_cec dw_hdmi_i2s_audio gpu_sched snd_pcm cdc_acm industrialio snd_timer input_leds snd sun8i_thermal soundcore zram evdev uio_pdrv_genirq uio cpufreq_dt g_serial libcomposite 8189fs cfg80211 rfkill ip_tables x_tables hid_lenovo gpio_keys [36792.104402] CPU: 3 PID: 1108 Comm: RTW_CMD_THREAD Not tainted 5.3.9-sunxi #19.11.3 [36792.104406] Hardware name: Allwinner sun8i Family [36792.104431] [<c010d6d9>] (unwind_backtrace) from [<c010a14d>] (show_stack+0x11/0x14) [36792.104444] [<c010a14d>] (show_stack) from [<c091a425>] (dump_stack+0x69/0x78) [36792.104458] [<c091a425>] (dump_stack) from [<c011b54b>] (__warn.part.3+0x83/0x9a) [36792.104468] [<c011b54b>] (__warn.part.3) from [<c011b665>] (warn_slowpath_null+0x33/0x36) [36792.104648] [<c011b665>] (warn_slowpath_null) from [<bf899749>] (rtw_stadel_event_callback+0x41/0x1fa [8189fs]) [36792.104920] [<bf899749>] (rtw_stadel_event_callback [8189fs]) from [<bf8a305d>] (mlme_evt_hdl+0x57/0x64 [8189fs]) [36792.105172] [<bf8a305d>] (mlme_evt_hdl [8189fs]) from [<bf88b6e3>] (rtw_cmd_thread+0x14b/0x218 [8189fs]) [36792.105309] [<bf88b6e3>] (rtw_cmd_thread [8189fs]) from [<c013339d>] (kthread+0xfd/0x104) [36792.105321] [<c013339d>] (kthread) from [<c01010f9>] (ret_from_fork+0x11/0x38) [36792.105325] Exception stack(0xcfd67fb0 to 0xcfd67ff8) [36792.105332] 7fa0: 00000000 00000000 00000000 00000000 [36792.105339] 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [36792.105344] 7fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [36792.105350] ---[ end trace 4f359df1c8c4b9f9 ]--- [41403.988509] ------------[ cut here ]------------ [41403.988704] WARNING: CPU: 3 PID: 8374 at net/wireless/sme.c:756 __cfg80211_connect_result+0x313/0x380 [cfg80211] [41403.988717] Modules linked in: snd_soc_hdmi_codec snd_soc_simple_card snd_soc_simple_card_utils sun8i_codec_analog sun4i_i2s sunxi_cir sun8i_adda_pr_regmap snd_soc_core lima sun4i_gpadc_iio snd_pcm_dmaengine dw_hdmi_cec dw_hdmi_i2s_audio gpu_sched snd_pcm cdc_acm industrialio snd_timer input_leds snd sun8i_thermal soundcore zram evdev uio_pdrv_genirq uio cpufreq_dt g_serial libcomposite 8189fs cfg80211 rfkill ip_tables x_tables hid_lenovo gpio_keys [41403.988811] CPU: 3 PID: 8374 Comm: kworker/u8:2 Tainted: G W 5.3.9-sunxi #19.11.3 [41403.988814] Hardware name: Allwinner sun8i Family [41403.988879] Workqueue: cfg80211 cfg80211_event_work [cfg80211] [41403.988903] [<c010d6d9>] (unwind_backtrace) from [<c010a14d>] (show_stack+0x11/0x14) [41403.988917] [<c010a14d>] (show_stack) from [<c091a425>] (dump_stack+0x69/0x78) [41403.988931] [<c091a425>] (dump_stack) from [<c011b54b>] (__warn.part.3+0x83/0x9a) [41403.988941] [<c011b54b>] (__warn.part.3) from [<c011b665>] (warn_slowpath_null+0x33/0x36) [41403.989004] [<c011b665>] (warn_slowpath_null) from [<bf849eaf>] (__cfg80211_connect_result+0x313/0x380 [cfg80211]) [41403.989123] [<bf849eaf>] (__cfg80211_connect_result [cfg80211]) from [<bf827bff>] (cfg80211_process_wdev_events+0xaf/0xec [cfg80211]) [41403.989233] [<bf827bff>] (cfg80211_process_wdev_events [cfg80211]) from [<bf827c65>] (cfg80211_process_rdev_events+0x29/0x68 [cfg80211]) [41403.989341] [<bf827c65>] (cfg80211_process_rdev_events [cfg80211]) from [<bf8231e3>] (cfg80211_event_work+0x17/0x1c [cfg80211]) [41403.989404] [<bf8231e3>] (cfg80211_event_work [cfg80211]) from [<c012ebf3>] (process_one_work+0x167/0x37c) [41403.989415] [<c012ebf3>] (process_one_work) from [<c012fb03>] (worker_thread+0xfb/0x3f4) [41403.989426] [<c012fb03>] (worker_thread) from [<c013339d>] (kthread+0xfd/0x104) [41403.989435] [<c013339d>] (kthread) from [<c01010f9>] (ret_from_fork+0x11/0x38) [41403.989439] Exception stack(0xc8b55fb0 to 0xc8b55ff8) [41403.989445] 5fa0: 00000000 00000000 00000000 00000000 [41403.989452] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [41403.989458] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [41403.989519] ---[ end trace 4f359df1c8c4b9fa ]--- I don't know enough to track this down further - does anybody know where to report this next to hopefully help somebody fix it? Thanks! Leon
-
Hi, as it is quite hot now in Europe, one of my boards is experiencing overheat and shuts down automatically: Jun 25 16:52:27 localhost kernel: [74505.568246] thermal thermal_zone0: critical temperature reached (90 C), shutting down Who is initiating this shutdown? Is it possible to: 1. Change the temperature value that triggers the shutdown 2. Hook a script instead of direct shutdown so I can handle the overheat Thanks