Jump to content

Recommended Posts

Posted

@burger242 wrote

Quote

I got to that Github throught Orange Pi's official page.
Where do I get them for 4gb then? Is there any kind of tutorial/guide?

 

note that Armbian is right here on https://www.armbian.com/ nowhere else.

you go to the 'wrong' link. the authentic Armbian for Orange Pi  Zero 3 images is here:

https://www.armbian.com/orange-pi-zero-3/

scroll down to the bottom

Note that this is a "community maintained" image, which means that that image is made possible by volunteers / contributors you see if you review this thread itself.

simply flash the image to the sd card e.g. using belana etcher plug that into the uSD slot and boot it up.

 

it is recommended that you use a usb-uart dongle to connect to the board on the 'debug uart' pins and use a serial terminal app e.g. https://www.putty.org/  to connect to it on the serial console.

you should be able to see it boot up in the serial console that way.

if you become any more 'advanced' than simply getting started, you can build your own image:

https://docs.armbian.com/Developer-Guide_Build-Preparation/

 

Posted

does someone know why the images from 7th June with audio dissapeared from the releases page and now the listed one is from may?

Posted (edited)

Hey, I've tried to build Armbian kernel for my orangepizero3 1GB board from Armbian main branch sources but always stuck on "Starting kernel ..." message, no leds come up, board seems dead.

Tried building minimal bookworm both current and edge versions with unchanged stock config.  Also verbosity is set to 7.

If I choose not to customize/build kernel during initial compile.sh prompt then the whole custom built root image works perfectly with the stock prebuilt kernel.  But as soon as I replace stock kernel deb with my own built kernel deb, or use the whole my custom built root+kernel image, then booting stops.

Before digging deeper - is this known issue, is there any patch for orangepizero3 missing in the repo, or hidden in some branch which I missed in the forums? I know this board is not officially supported yet so obviously issues expected.

Edited by evaldas325
Posted
7 hours ago, evaldas325 said:

Hey, I've tried to build Armbian kernel for my orangepizero3 1GB board from Armbian main branch sources but always stuck on "Starting kernel ..." message, no leds come up, board seems dead.

Tried building minimal bookworm both current and edge versions with unchanged stock config.  Also verbosity is set to 7.

If I choose not to customize/build kernel during initial compile.sh prompt then the whole custom built root image works perfectly with the stock prebuilt kernel.  But as soon as I replace stock kernel deb with my own built kernel deb, or use the whole my custom built root+kernel image, then booting stops.

Before digging deeper - is this known issue, is there any patch for orangepizero3 missing in the repo, or hidden in some branch which I missed in the forums? I know this board is not officially supported yet so obviously issues expected.

 

Instead of replacing with your kernel deb, try modifying the linux config to have what you want.

Sometime ago, I made instructions just for this, but for the orange pi zero

https://github.com/robertojguerra/orangepi-zero-full-setup/blob/main/README2.md

(warning, these instructions refer to a old kernel version)

Look for the part that explains the "Change kernel configuration"

Posted

  

On 6/25/2024 at 9:48 AM, evaldas325 said:

I've tried to build Armbian kernel for my orangepizero3 1GB board from Armbian main branch sources but always stuck on "Starting kernel ..." message, no leds come up, board seems dead.

 

I solved the issue, I think it was gcc 13.  robertoj answer pushed me towards building inside some virtual env instead of host machine.

Basically compile script installs host package gcc-aarch64-linux-gnu and my debian host distro has already aarch64 gcc 13 dependency for this package.   But this happens only if you do not have docker binary installed. If compile.sh detects docker binary then pulls ubuntu jammy image automatically with aarch64 gcc 11 and compiles inside docker jammy environment, which is the recommended way to go.

 

Posted (edited)
On 6/7/2024 at 12:25 PM, Stephen Graf said:

The community images from June 7 have analog and HDMI sound.  The analog sound needs to be unmuted which can be done with alsamixer.

 

Wonder if anyone can help me understand the options in alsamixer for the analog codec? I've got:

  • LINEOUT - this one I understand; it's an on/off toggle for the audio output.
  • LINEOUT volume - I get this one too.
  • Left LINEOUT mux - this one I don't understand. It can be toggled between "LOMixer" and "LROMixer"?
  • Left Output Mixer DACL - can be muted or unmuted, but what is it?
  • Left Output Mixer DACR - apparently the "right" channel version of previous, but ???
  • Right LINEOUT mux - toggle between "ROMixer" and "LROMixer"?
  • Right Output Mixer DACL - ?
  • Right Output Mixer DACR - ?
  • Digital volume - self explanatory

Google has never heard of the terms "LOMIxer" or "LROMixer" so I'm kind of suspecting that all of this weirdness is due to a weird-ass driver that was haphazardly thrown together by shenzen xunlong. Has anyone dug into this and figured out what this stuff means and how to use it?

Edited by mc510
formatting
Posted

@mc510 It confuses me too, but I can get sound out of the correct channels by unmuting only Left Output Mixer DACL and Right Output Mixer DACR. If you leave these muted and unmute Left Output Mixer DACR and Right Output Mixer DACL the channels are reversed. If you unmute all four you get left+right in both channels.

I do not know what the LINEOUT muxs are for.

Posted
3 часа назад, Stephen Graf сказал:

I do not know what the LINEOUT muxs are for.

 

14.07.2024 в 21:21, mc510 сказал:
  • Right Output Mixer DACL - ?
  • Right Output Mixer DACR - ?

 

A little theory:
The listener is sitting in the 10th row in the center of the hall.
An orchestra is playing music on stage.
In the left ear, the sound from the instruments located on the left will be more intense than from the instruments located on the right.

The sound from the instruments located on the right will be shifted in phase in the left ear relative to the sound entering the right ear.
This is stereo sound from the front.

 

The sound travels through the entire hall and is reflected from the walls and ceiling.
It also enters the left and right ears of lower intensity and with a different phase shift.
This is a quadro effect.

 

In practice, when recording an audio track, the sound of individual instruments is recorded into separate audio tracks and then mixed

using special equipment and recorded into two parallel audio tracks.

This is stereo sound from the front.

 

The difference lies in how we listen to the recorded track.
If these are simple stereo headphones, then additional mixers allow us to create the effect of presence in the hall.
This is a pseudo quadro effect.

 

If you use a good sound card and it has 4 or more outputs and you listen to music through speakers located around the perimeter of the room,

then with the help of mixers you can achieve almost the full effect of presence in the concert hall.

 

With respect.

Posted

I got my OrangePi Zero 3 this week and running Armbian-unofficial_24.11.0-trunk_Orangepizero3_trixie_current_6.6.44_xfce_desktop (manully built, but I didn't change anything). 

 

Everything is fine, except that when running at 3840x2160@60Hz, the screen becomes flashy. If I change to 30Hz, problem disappears but mouse feels lagging. If I change resolution to 1920x1080@60Hz, it's fine then. 

 

Also seems hardware decoding is not there. I couldn't play youtube video in Chromium or Firefox.  I do have cedrus driver and /dev/video0 .

 

When I start firefox I got following error: 

[GFX1-]: glxtest: cannot access /sys/bus/pci

[GFX1-]: vaapitest: ERROR

[GFX1-]: vaapitest: VA-API test failed: failed to initialise VAAPI connection.

 

Posted
On 6/1/2024 at 6:37 AM, D said:

Thanks for replying @ag123. I don't negate the fact that my dts might be broken (review below), but why can't see `pwmchip0` in `/sys/class/pwm`? That indicates a release bug as arm64-dts-sun50i-h618-orangepi-zero2w-add-dtb.patch enables `pwm` and `pwm5`.

https://forum.armbian.com/topic/29202-orange-pi-zero-3/?do=findComment&comment=193374

 

Does this ILI9341+touch DTS work for the Orange Pi Zero 3? (with or without backlight control)

Posted (edited)

@robertoj  I messed with arduino (stm32duino https://www.stm32duino.com/) 'outside' of Armbian.

 

accordingly, those 'Aliexpress' type boards has a pin for LED, which is the backlight, this is separate from the SPI interface that displays graphics

https://thesolaruniverse.wordpress.com/2021/05/02/wiring-an-ili9341-spi-tft-display-with-esp8266-based-microcontroller-boards-nodemcu-and-wemos-d1-mini/

those from Adafruit are quite similar in that respects

https://learn.adafruit.com/adafruit-2-8-and-3-2-color-tft-touchscreen-breakout-v2/pinouts

hence, backlight is simply controlled as a regular gpio pin

 

Accordingly in linux that has to be driven via FBTFT driver, so a (google) search for that keyword would probably return results.

those are pretty low res like 320x240, but it certainly beats operating without a display.

 

there are ili9341 LCDs with touchscreens and a chip to drive that, I'm not sure what drivers would work that out of the box.

 

Edited by ag123
Posted

I have 2 of those ili9341+ads7846 LCDs and I already made them work with the banana pi m2 zero and the orange pi zero :) 

 

I needed to use spi-gpio, because I couldn't make both SPI chips work in the same bus.

 

The ili9341 driver is in the Armbian distro, but needs a DTS to let the kernel know that the device is connected to those pins (see my thread about ili9341)

 

The spi-gpio.ko needs to be built by the user.

 

That DTS mentioned above that seems to use 1 bus for 2 SPI devices... so I ask about an actual report whether is works or not.

 

Also: In my experience with bpi m2 zero and opiz, I can't figure out how to make the backlight control work, so the LED signal is connected to 3.3V... so I ask about that DTS: does it work?

Posted

Excuse me if this has been answered already, but I can't turn on HDMI in my Orange Pi zero 3, when using a self-built armbian

 

I get HDMI with a community image (from one of the armbian mirrors), and I have the 3 linux modules related to HDMI in the /lib/modules, in my new armbian

 

Maybe I am missing a dts or dtbo?

Posted

Has anyone been able to boot from USB?  I have tried several different methods to make this work, with no success.  I understand that an SD card will have to remain in for booting purposes, which is fine.

Posted
11 hours ago, bhouseski said:

Has anyone been able to boot from USB?

@bhouseski I regularly boot directly from a usb connected SSD drive which is twice as fast as the SD card.

First you have to put u-boot on the SPI flash.  Find  u-boot-sunxi-with-spl somewhere on the SD card you are running and flash it to SPI.

The following is from the u-boot manual:

 

Installing on SPI flash from Linux

If the devicetree enables and describes the SPI flash device, you can access the SPI flash content from Linux, using the MTD utils:

 

# apt-get install mtd-utils

# mtdinfo

# flashcp -v u-boot-sunxi-with-spl.bin /dev/mtdX

 

You can then try to boot without an SD card installed. I had some difficulty in getting u-boot to consistently see the USB devices until I added a delay into the boot environment to allow time for the USB to connect.

 

Stop the boot procedure and do the following.  (The usb_pgood_delay variable did not exist on the opz3.)

 

    editenv usb_pgood_delay
        -> input a number, bigger than the existing (ms)  (I used 5000, 5 sec)
    saveenv

Posted
2 hours ago, mantouboji said:

On Zero3, SPI can’t work 

but on Zero2W, spidev(1,0) can’t work , spidev(1,1) works.

Is this related to SPI flash?

 

I use opiz3's SPI-1 (with 2 CS) everyday with my LCD

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines