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

Last year, I tried to set up "Access Point" mode in orange pi zero 3 and never got it working.

 

Do you have a link to the instructions to make it work?

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

 

 

Posted

what is this?

 

[code]

[   20.585289] ------------[ cut here ]------------
[   20.585313] memcpy: detected field-spanning write (size 16) of single field "vif->key[pairwise][key_index]" at drivers/net/wireless/uwe5622/unisocwifi/cfg80211.c:714 (size 0)
[   20.585442] WARNING: CPU: 0 PID: 863 at drivers/net/wireless/uwe5622/unisocwifi/cfg80211.c:714 sprdwl_cfg80211_add_key+0x124/0x138 [sprdwl_ng]
[   20.585498] Modules linked in: overlay sprdwl_ng sunxi_addr cfg80211 sunrpc zram snd_soc_hdmi_codec sunxi_cedrus(C) v4l2_mem2mem videobuf2_dma_contig polyval_ce videobuf2_memops videobuf2_v4l2 polyval_generic binfmt_misc videodev snd_soc_sunxi_machine dw_hdmi_i2s_audio panfrost dw_hdmi_cec sun50i_h6_prcm_ppu snd_soc_sunxi_ahub videobuf2_common gpu_sched snd_soc_sunxi_ahub_dam mc drm_shmem_helper display_connector dump_reg cpufreq_dt sch_fq_codel sprdbt_tty uwe5622_bsp_sdio rfkill fuse motorcomm dwmac_sun8i mdio_mux sun6i_rtc_ccu
[   20.585645] CPU: 0 UID: 0 PID: 863 Comm: wpa_supplicant Tainted: G         C          6.15.0-edge-sunxi64 #1 NONE
[   20.585657] Tainted: [C]=CRAP
[   20.585661] Hardware name: OrangePi Zero3 (DT)
[   20.585667] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[   20.585675] pc : sprdwl_cfg80211_add_key+0x124/0x138 [sprdwl_ng]
[   20.585701] lr : sprdwl_cfg80211_add_key+0x124/0x138 [sprdwl_ng]
[   20.585725] sp : ffff80008494b740
[   20.585730] x29: ffff80008494b740 x28: ffff0000c1d32180 x27: ffff0000c08fb080
[   20.585745] x26: 0000000000000000 x25: ffff0000c4600a40 x24: ffff0000c4600000
[   20.585758] x23: 0000000000000004 x22: 0000000000000004 x21: 0000000000000010
[   20.585772] x20: 0000000000000000 x19: ffff80008494b790 x18: 00000000ffffffff
[   20.585785] x17: 0000000000000000 x16: 0000000000000000 x15: 7269772f74656e2f
[   20.585799] x14: 7372657669726420 x13: 30386766632f6966 x12: ffff8000823482d0
[   20.585813] x11: 0000000000000001 x10: 0000000000000001 x9 : ffff8000800df178
[   20.585826] x8 : c0000000ffffefff x7 : ffff8000822f00e8 x6 : 0000000000000001
[   20.585840] x5 : ffff0000ff734708 x4 : 0000000000000000 x3 : 0000000000000027
[   20.585853] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff0000c1d32180
[   20.585868] Call trace:
[   20.585874]  sprdwl_cfg80211_add_key+0x124/0x138 [sprdwl_ng] (P)
[   20.585901]  nl80211_new_key+0x1c4/0x320 [cfg80211]
[   20.586017]  genl_family_rcv_msg_doit+0xe8/0x160
[   20.586032]  genl_rcv_msg+0x218/0x298
[   20.586040]  netlink_rcv_skb+0x68/0x140
[   20.586053]  genl_rcv+0x40/0x60
[   20.586060]  netlink_unicast+0x2f4/0x358
[   20.586071]  netlink_sendmsg+0x1b0/0x408
[   20.586082]  __sock_sendmsg+0x64/0xc0
[   20.586093]  ____sys_sendmsg+0x24c/0x2c0
[   20.586101]  ___sys_sendmsg+0xb8/0x118
[   20.586110]  __sys_sendmsg+0xa4/0x110
[   20.586119]  __arm64_sys_sendmsg+0x2c/0x40
[   20.586128]  invoke_syscall+0x50/0x120
[   20.586142]  el0_svc_common.constprop.0+0x48/0xf0
[   20.586153]  do_el0_svc+0x24/0x38
[   20.586163]  el0_svc+0x30/0xd0
[   20.586175]  el0t_64_sync_handler+0x10c/0x138
[   20.586185]  el0t_64_sync+0x198/0x1a0
[   20.586195] ---[ end trace 0000000000000000 ]---
[/code]

Posted

I have orange pi zero 3 4gb, I had gnome installed but when i installed xfce with lightdm and rebooted, its stuck on the armbian splash screen with the loading wheel, any assistance?

Posted

as I've not been running X11, I can't really help with this, but among the things, check the logs during X startup (normally /var/log/*), that could lead to the cause.

note also that more recently, the display systems are running wayland rather than X11. that could cause xfce etc to fail if it is expecting an X11 based setup

 

it is also recommended to bootup in the uart console (debug) port using a usb-uart dongle.

- the benefits are numerous, the boot messages are mostly presented

- it provides you with a console to login and check things while the system is running

   e.g. to login and check dmesg and other logs

- essential especially when re-wiring network configuration

 

 

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