Jump to content

Recommended Posts

Posted

During the first few boots on my Orange Pi Zero 3 1GB, RAM size seemed to be detected correctly. Yesterday I saw RAM size being reported as 2GB, also after a reboot.

As soon as the fixed U-Boot is available to  install I am happy to provide test results or other test procedures when needed!

Posted

I have a custom build running to try u-boot 2025.4, some warnings about "no previous prototype for..." are given, for example:

 

[🔨]   drivers/net/wireless/rtl8192eu/hal/phydm/phydm.c:434:6: warning: no previous prototype for 'phydm_common_info_self_reset' [-Wmissing-prototypes]
[🔨]     434 | void phydm_common_info_self_reset(struct dm_struct *dm)
[🔨]         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[🔨]   drivers/net/wireless/rtl8192eu/hal/phydm/phydm.c:477:6: warning: no previous prototype for 'phydm_phy_info_update' [-Wmissing-prototypes]
[🔨]     477 | void phydm_phy_info_update(struct dm_struct *dm)

 

Is this just a warning or do I need to supply extra info/libraries to build without those warnings?
 

Posted

In the final lines of your build log output, it seems that it cant download some ubuntu packages.

 

I dont see linux compilation errors (I only looked at it for 1 minute).

 

Can you try rebuilding with debian?

Posted

Apparently the compile script or one of its libraries uses a fixed DNS server instead of the DHCP provided one. After disabling some pfSense rules I was able to successfully boot.

However, it seems like still 2GB RAM is incorrectly shown: 

    _             _    _                             __  __ _    _      _
   /_\  _ _ _ __ | |__(_)__ _ _ _ ___ _  _ _ _  ___ / _|/ _(_)__(_)__ _| |
  / _ \| '_| '  \| '_ \ / _` | ' \___| || | ' \/ _ \  _|  _| / _| / _` | |
 /_/ \_\_| |_|_|_|_.__/_\__,_|_||_|   \_,_|_||_\___/_| |_| |_\__|_\__,_|_|

 v25.08 rolling for Orange Pi Zero3 running Armbian Linux 6.12.30-current-sunxi64

 Packages:     Debian stable (bookworm)
 Support:      DIY (custom image)
 IPv4:         ---

 Performance:

 Load:         20%              Up time:       1 min
 Memory usage: 7% of 1.93G
 CPU temp:     45°C              Usage of /:   9% of 15G

 

Also, /dev/ttyS1 is not working, I used overlays=uart5 which enabled /dev/ttyS1 correctly using Armbian Debian Minimal image from the Download section. dmesg does not output anything related to ttyS1.

Posted
3 hours ago, boyd86 said:

Apparently the compile script or one of its libraries uses a fixed DNS server instead of the DHCP provided one.

if NAMESERVER is not set it falls back to default 1.1.1.1

 

A while ago I made a hack to enforce using whatever hosts nameserver is:https://github.com/armbian/build/blob/e03b1b543cda430fbffcb62c979aecabee42b044/config/templates/config-example.conf.template#L25

Posted

NO_PUBKEY 93D6889F9F0E78D5 while using apt (e.g. apt update)

symptom:

> apt update
...
Err:8 https://github.armbian.com/configng stable InRelease               
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 93D6889F9F0E78D5
...
W: Failed to fetch https://github.armbian.com/configng/dists/stable/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 93D6889F9F0E78D5

observed in Armbian image for Orange pi zero 3 Armbian_community_25.8.0-trunk.90_Orangepizero3_bookworm_current_6.12.30_minimal.img build date May 28, 2025

 

fix:

- run this as root

> su - 
^ login as root
> wget -O - https://apt.armbian.com/armbian.key | gpg --dearmor -o /usr/share/keyrings/armbian.gpg

 
you should find a file /usr/share/keyrings/armbian.gpg about 2 KB in size

repeat apt update etc should have resolved the error
 

Posted

just like to say that I installed

 

Armbian_community_25.8.0-trunk.228_Orangepizero3_bookworm_current_6.12.30_minimal.img

from the boards page

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

 

apt update works 'out of the box', no PUBKEY errors

 

I really liked the new MOTD on login

    _             _    _                                         _ _
   /_\  _ _ _ __ | |__(_)__ _ _ _    __ ___ _ __  _ __ _  _ _ _ (_) |_ _  _
  / _ \| '_| '  \| '_ \ / _` | ' \  / _/ _ \ '  \| '  \ || | ' \| |  _| || |
 /_/ \_\_| |_|_|_|_.__/_\__,_|_||_|_\__\___/_|_|_|_|_|_\_,_|_||_|_|\__|\_, |
                                 |___|                                 |__/
 v25.8 rolling for Orange Pi Zero3 running Armbian Linux 6.12.30-current-sunxi64

 Packages:     Debian stable (bookworm)
 Updates:      Kernel upgrade enabled and 8 packages available for upgrade
 Support:      for advanced users (rolling release)
 WiFi AP:      SSID: (wifi_hotspot_name),

 Performance:

 Load:         12%              Up time:       0 min
 Memory usage: 5% of 3.83G
 CPU temp:     54°C              Usage of /:   3% of 58G
 RX today:     6 MiB
 Commands:

 Configuration : armbian-config
 Upgrade       : armbian-upgrade
 Monitoring    : htop

 

running Armbian on Orangepizero 3 makes a good desktop wifi hotspot (AP)

it counts among the fastest Wifi with UWE5622 AP on 5 ghz on 'cheap' SBC (single board computers)

https://docs.armbian.com/WifiPerformance/#uwe-5622

 

if you see that updates message, what is more cool is if you run 

 

apt list --upgradable

 

it list the packages that is upgradable, and I tried

apt upgrade

 

install  quite a few things, then manually

 

reboot

 

it becomes 25.8.0-trunk.230 ! this can be verified in /etc/armbian-release

 

 

 

Posted

@robertoj

there are some 'old' stuff that may not be fully  relevant but still useful

 

this gist  likely helps:

https://gist.github.com/ag88/de02933ba65500376d1ff48e504b1bf3

an 'old' post:

Note that  currently in the minimal image netplan is set to systemd-networkd

https://docs.armbian.com/User-Guide_Networking/#minimal-images

I'm less familiar with systemd-networkd, though it is possible to setup the network fully with it.

 

What i did currently, is to update netplan config as above to use NetworkManager

 

After that I use NetworkManger to setup a bridge adding the ethernet interface.

https://gist.github.com/ag88/de02933ba65500376d1ff48e504b1bf3

.

However, I actually make NetworkManager *unmanage* the Wifi interface, because i'm using hostapd.

I'm using hostapd mainly because in journalctl  logs, there is an entry for every host/client that connects. I'm not sure about how to do the same with Network Manager. hostapd also supports elaborate RADIUS authentication if one wants to go the distance.

Then I install and configure hostapd as described in the gist, and during startup, hostapd actually patch the wifi interface into the bridge that is setup with NetworkManager.. The configuration for wifi  AP is completely done in hostapd.conf as described in the gist.

 

I'm using a bridge as DHCP is managed from my gateway router, hence I did not run a separate DHCP server instance in Orange Pi Zero 3 itself.

An alternative setup is to setup NAT (network address translation) on the Orange Pi Zero 3 and to run a DHCP server on the Orange Pi Zero 3 itself.

I think NAT approach is 'more common'

 

I'm using hostapd, but I think without hostapd, it is also possible to setup an AP using NetworkManager alone. i.e. to let Network Manager manage the Wifi interface, and configure it as an AP. The benefit here is that Network manager woulld likely manage the DHCP and NAT as well all from Network Manager configurations.

 

As I'm doing everything from the command line, I used NetworkManager cli (nmcli) for all the network manager configuration tasks.

 

Note that while messing with networking, it is necessary to work in the serial debug console using a usb-uart dongle.

i.e. bootup and login as root using a usb-uart dongle to the 3 'debug' pins for the serial console.

 

Posted

there are a few caveats that may need a bit of attention

It is documented somewhere that if you use channel 0, the driver would automatically select an appropriate channel / frequency.

However, it seemed that back then initially while I tested it, that didn't seem to work. (i'm not sure if it may have changed)

hence to list the channels one needs to run 

iw list

and you would get a list of channels like such

* 2412 MHz [1] (20.0 dBm)
* 2417 MHz [2] (20.0 dBm)
* 2422 MHz [3] (20.0 dBm)
* 2427 MHz [4] (20.0 dBm)
* 2432 MHz [5] (20.0 dBm)
* 2437 MHz [6] (20.0 dBm)
* 2442 MHz [7] (20.0 dBm)
* 2447 MHz [8] (20.0 dBm)
* 2452 MHz [9] (20.0 dBm)
* 2457 MHz [10] (20.0 dBm)
* 2462 MHz [11] (20.0 dBm)
* 2467 MHz [12] (20.0 dBm)
* 2472 MHz [13] (20.0 dBm)
* 2484 MHz [14] (20.0 dBm)
* 5170 MHz [34] (disabled)
* 5180 MHz [36] (20.0 dBm)
* 5200 MHz [40] (20.0 dBm)
* 5220 MHz [44] (20.0 dBm)
* 5240 MHz [48] (20.0 dBm)
* 5260 MHz [52] (20.0 dBm) (radar detection)
* 5280 MHz [56] (20.0 dBm) (radar detection)
...
* 5720 MHz [144] (20.0 dBm) (radar detection)
* 5745 MHz [149] (20.0 dBm)
* 5765 MHz [153] (20.0 dBm)
* 5785 MHz [157] (20.0 dBm)
* 5805 MHz [161] (20.0 dBm)
* 5825 MHz [165] (20.0 dBm)

 

what I normally do is to do a scan and pick an unused / least used channel :

 iw wlan0 scan

 

pick an appropriate channel and specify it in hostapd.conf. 5ghz channels (hw_mode=a) delivers a max throughput of like 140 Mbps which is fast.

https://docs.armbian.com/WifiPerformance/#uwe-5622

accordingly there are some country specific requirements for 5ghz channel selections and one may like review 

https://en.wikipedia.org/wiki/List_of_WLAN_channels

iw reg set

etc

 

I did a google search and some of these resources may be useful

https://wiki.archlinux.org/title/NetworkManager

https://www.baeldung.com/linux/nmcli-wap-sharing-internet

in a same way you may need to set the channel if necessary

 

then that this repo is found in a google search which may be useful

https://github.com/pi-top/Wi-Fi-Access-Point-and-Station-Mode/tree/master

 

 

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