Jump to content

Recommended Posts

Posted (edited)
On 4/13/2025 at 10:41 AM, dr_toggleswitch said:

Was anybody able to install to emmc on this unit?  I can't do it with nand-sata-install. It only shows my SD card.

 

I don't think the Orange Pi Zero 3 has emmc..

Edited by jimg
Posted

I've not used a board which use EMMC (yet). They are more convenient, sometimes faster. While I'm not always against EMMC, some of the EMMC support is occasionally not very well documented / implemented, in particular by the vendors (e.g. how their boot rom selects booting from EMMC or SD). And that occasionally led to gotchas such as a boot fail in EMMC but it seem there isn't a way to recover from that etc.

EMMC add a bit more complexity to the boot process, in particular by the boot rom (on PCs used to be called BIOS) and it is necessary to see that all the different boot permutations are well supported, boot from SD, boot from EMMC, override from SD (e.g. if EMMC install fails) etc, reflash EMMC from SD etc.

 

Posted (edited)
On 12/13/2024 at 9:06 PM, mantouboji said:

edge 6.11.9 kernel 

added symbolic link for overlay

Hello :)

Have you tried using the SPI pins under Linux 6.12?

 

Update: Opiz3 SPI pins work with Linux 6.12 and 6.13... but I needed 2 extra lines in the DTS. See: https://forum.armbian.com/topic/47971-driving-the-ili9488-lcd-40-inch-cheap-chinese-clone/#findComment-216779

 

Edited by robertoj
Posted

I swapped OpenSSH server for Dropbear. Soooo much faster on this unit. Very noticeable. Easy to do on a headless install, just setup Dropbear on a different port than the default, reboot, sign in with that different port, disable & uninstall OpenSSH.

Posted

I updated my ArmBian and the kernel 6.12.23 appeared but u-boot is still v24.01 and there is still a problem with incorrect detection of the memory size instead of 1 Gb it shows 2 Gb only after a few reboots it shows correctly 1 Gb RAM. I don't know if u-boot v25.x versions solve this problem

 

Linux localhost 6.12.23-current-sunxi64 #1 SMP Thu Apr 10 12:39:41 UTC 2025 aarch64 GNU/Linux

 

 

 

Posted

There are actually just a few situations where updating the boot loader makes sense. So when a new u-boot package is shipped it just provides the binaries but does not write them to the boot sector.

I think you can use armbian-install to rewrite the boot loader with the latest binaries.

Posted
1 hour ago, Werner said:

I think you can use armbian-install to rewrite the boot loader with the latest binaries.

 

Thank you for info.

I did "armbian-install" and saved u-boot on microSD

but in the directory /usr/lib/linux-u-boot-current-orangepizero3

 

 

declare -i UBOOT_NUM_TARGETS=1
declare UBOOT_BIN_DIR="/usr/lib/linux-u-boot-current-orangepizero3"
declare UBOOT_VERSION="2024.01"
declare UBOOT_ARTIFACT_VERSION="2024.01-S866c-P4a40-H8869-V380a-Bb703-R448a"
declare UBOOT_GIT_REVISION="866ca972d6c3cabeaf6dbac431e8e08bb30b3c8e"
declare UBOOT_GIT_SOURCE="https://github.com/u-boot/u-boot"
declare UBOOT_GIT_BRANCH="tag:v2024.01"

 

indicates that nothing has changed and there is information that u-boot is 2024.01

 

 

during apt upgrade is:

 

Preparing to unpack .../base-files_25.5.0-trunk.426-12.4+deb12u10-bookworm_arm64.deb ...
Unpacking base-files (25.5.0-trunk.426-12.4+deb12u10-bookworm) over (25.5.0-trunk.422-12.4+deb12u10-bookworm) ...
Setting up base-files (25.5.0-trunk.426-12.4+deb12u10-bookworm) ...
(Reading database ... 46891 files and directories currently installed.)
Preparing to unpack .../armbian-bsp-cli-orangepizero3-current_25.5.0-trunk.426_arm64.deb ...
Armbian 'armbian-bsp-cli-orangepizero3-current' for '1-PC8904-V801b-Hc65c-B1e5d-Rf36a': 'preinst' starting.
Armbian 'armbian-bsp-cli-orangepizero3-current' for '1-PC8904-V801b-Hc65c-B1e5d-Rf36a': 'preinst' finishing.
Unpacking armbian-bsp-cli-orangepizero3-current (25.5.0-trunk.426) over (25.5.0-trunk.422) ...
Armbian 'armbian-bsp-cli-orangepizero3-current' for '1-PC8904-V801b-Hc65c-B1e5d-Rf36a': 'postrm' starting.
Armbian 'armbian-bsp-cli-orangepizero3-current' for '1-PC8904-V801b-Hc65c-B1e5d-Rf36a': 'postrm' finishing.
Preparing to unpack .../armbian-firmware_25.5.0-trunk.426_all.deb ...
Unpacking armbian-firmware (25.5.0-trunk.426) over (25.5.0-trunk.422) ...
Preparing to unpack .../linux-dtb-current-sunxi64_25.5.0-trunk.426_arm64.deb ...
Armbian 'linux-dtb-current-sunxi64' for '6.12.23-current-sunxi64': 'preinst' starting.
Armbian 'linux-dtb-current-sunxi64' for '6.12.23-current-sunxi64': 'preinst' finishing.
Unpacking linux-dtb-current-sunxi64 (25.5.0-trunk.426) over (25.5.0-trunk.422) ...
Preparing to unpack .../linux-image-current-sunxi64_25.5.0-trunk.426_arm64.deb ...
Armbian 'linux-image-current-sunxi64' for '6.12.23-current-sunxi64': 'prerm' starting.
Armbian 'linux-image-current-sunxi64' for '6.12.23-current-sunxi64': 'prerm' finishing.
Armbian 'linux-image-current-sunxi64' for '6.12.23-current-sunxi64': 'preinst' starting.
Armbian 'linux-image-current-sunxi64' for '6.12.23-current-sunxi64': 'preinst' finishing.
Unpacking linux-image-current-sunxi64 (25.5.0-trunk.426) over (25.5.0-trunk.422) ...
Armbian 'linux-image-current-sunxi64' for '6.12.23-current-sunxi64': 'postrm' starting.
Armbian 'linux-image-current-sunxi64' for '6.12.23-current-sunxi64': 'postrm' finishing.
Preparing to unpack .../linux-u-boot-orangepizero3-current_25.5.0-trunk.426_arm64.deb ...
Unpacking linux-u-boot-orangepizero3-current (25.5.0-trunk.426) over (25.5.0-trunk.422) ...
Setting up linux-u-boot-orangepizero3-current (25.5.0-trunk.426) ...
Armbian 'uboot-orangepizero3-current' for '2024.01-S866c-P4a40-H8869-V380a-Bb703-R448a': 'postinst' starting.
Armbian 'uboot-orangepizero3-current' for '2024.01-S866c-P4a40-H8869-V380a-Bb703-R448a': 'postinst' finishing.
Setting up linux-image-current-sunxi64 (25.5.0-trunk.426) ...
Armbian 'linux-image-current-sunxi64' for '6.12.23-current-sunxi64': 'postinst' starting.
update-initramfs: Generating /boot/initrd.img-6.12.23-current-sunxi64
update-initramfs: Armbian: Converting to u-boot format: /boot/uInitrd-6.12.23-current-sunxi64
Image Name:   uInitrd
Created:      Mon Apr 21 09:18:24 2025
Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
Data Size:    12492766 Bytes = 12199.97 KiB = 11.91 MiB
Load Address: 00000000
Entry Point:  00000000
update-initramfs: Armbian: Symlinking /boot/uInitrd-6.12.23-current-sunxi64 to /boot/uInitrd
'/boot/uInitrd' -> 'uInitrd-6.12.23-current-sunxi64'
update-initramfs: Armbian: done.
Armbian: update last-installed kernel symlink to 'Image'...
'/boot/Image' -> 'vmlinuz-6.12.23-current-sunxi64'
Armbian: Debian compat: linux-update-symlinks install 6.12.23-current-sunxi64 boot/vmlinuz-6.12.23-current-sunxi64
Armbian 'linux-image-current-sunxi64' for '6.12.23-current-sunxi64': 'postinst' finishing.
Setting up armbian-bsp-cli-orangepizero3-current (25.5.0-trunk.426) ...
Armbian 'armbian-bsp-cli-orangepizero3-current' for '1-PC8904-V801b-Hc65c-B1e5d-Rf36a': 'postinst' starting.
'/boot/boot.cmd' -> '/usr/share/armbian/boot.cmd-1745219906'
NOTE: You can find previous bootscript versions in /usr/share/armbian !
Recreating boot script
'/usr/share/armbian/boot.cmd' -> '/boot/boot.cmd'
Armbian 'armbian-bsp-cli-orangepizero3-current' for '1-PC8904-V801b-Hc65c-B1e5d-Rf36a': 'postinst' finishing.
Setting up linux-dtb-current-sunxi64 (25.5.0-trunk.426) ...
Armbian 'linux-dtb-current-sunxi64' for '6.12.23-current-sunxi64': 'postinst' starting.
Armbian: DTB: symlinking /boot/dtb to /boot/dtb-6.12.23-current-sunxi64...
'dtb' -> 'dtb-6.12.23-current-sunxi64'
Armbian 'linux-dtb-current-sunxi64' for '6.12.23-current-sunxi64': 'postinst' finishing.
Setting up armbian-firmware (25.5.0-trunk.426) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for initramfs-tools (0.142+deb12u1) ...
update-initramfs: Generating /boot/initrd.img-6.12.23-current-sunxi64
update-initramfs: Armbian: Converting to u-boot format: /boot/uInitrd-6.12.23-current-sunxi64
Image Name:   uInitrd
Created:      Mon Apr 21 09:18:56 2025
Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
Data Size:    12493052 Bytes = 12200.25 KiB = 11.91 MiB
Load Address: 00000000
Entry Point:  00000000
update-initramfs: Armbian: Symlinking /boot/uInitrd-6.12.23-current-sunxi64 to /boot/uInitrd
'/boot/uInitrd' -> 'uInitrd-6.12.23-current-sunxi64'
update-initramfs: Armbian: done.

Posted

I noticed that after updating the kernel to version 6.12.23 there is a problem with armbin-config 

I can't set overllay tree devices choosing from 

 

armbian-config --cmd SY210 

The current Armbian 25.5.0-trunk.426 nightly (bookworm) is supported. 

Check distro 

Loaded Dialog... 

Loaded Docs... 

Loaded System helpers... 

Loaded Network helpers... 

Loaded Software helpers... 

Loaded Runtime conditions... 

Invalid overlay_prefix sun50i-h616 

 

I changed it to sun50i-h618 

 

but Invalid overlay_prefix sun50i-h618 

 

I made an empty overlay_prefix= 

but still Invalid overlay_prefix

 

What should be now in overlay_prefix= in ArmBianEnv.txt for Organa Pi Zero 3 for kernel 6.12.23???

Posted (edited)

I notice that with now new kernel 6.12.23 and armbian-config where I set in device tree overlay uart5 for Orange Pi Zero 3

(OZPI v3 UART5 described in the original documentation) now change number from /dev/ttyS1 (it was up to 6.6.67 kernel version) now is /dev/ttyS0

 

[    0.000621] printk: legacy console [tty1] enabled
[    1.550621] printk: legacy console [ttyS0] disabled
[    1.551031] 5000000.serial: ttyS0 at MMIO 0x5000000 (irq = 300, base_baud = 1500000) is a 16550A
[    1.551091] printk: legacy console [ttyS0] enabled

 

but I am not sure why is now change name in device tree from uart5-ph to uart5  

Edited by TRay
update info about UART5
Posted (edited)

I check on my old microSD card image with kernel 6.6.75

 

Linux armbian 6.6.75-current-sunxi64 #1 SMP Sat Feb  1 17:37:57 UTC 2025 aarch64 GNU/Linux

 

[    0.000505] printk: console [tty1] enabled
[    1.371166] printk: console [ttyS0] disabled
[    1.371473] 5000000.serial: ttyS0 at MMIO 0x5000000 (irq = 297, base_baud = 1500000) is a 16550A
[    1.371524] printk: console [ttyS0] enabled
[    1.372761] 5001400.serial: ttyS1 at MMIO 0x5001400 (irq = 298, base_baud = 1500000) is a 16550A

 

 

and now I see that /dev/ttyS0 is for console connect but /dev/ttyS1 was UART5 on 26 PIN header so at current with new kernel 6.12.23 and we set in armbianEnv.txt 

 

sun50i-h616-uart5

 

via armbian-config

 

we are not have access to UART5 /dev/ttyS1

 

Edited by TRay
Posted

I see that current image Orange Pi Zero 3 for download base on kernel 6.12

 

so the question is, does anyone have a problem with access to UART5 which is on the 26-pin connector?

 

Zrzut ekranu z 2025-04-21 19-37-05.png

Posted (edited)

Hi I know that I can use UART5 as /dev/ttyS1 but it worked on kernel 6.6.67 when in overlays was used uart5-ph but after

update to kernel 6.12.23 and new armbian-config now when you use armbian-config to setup device tree the UART5 has changed name to sun50i-h616-uart5 and this name is put in overlays in armbianEnv.txt. 

 

overlays=sun50i-h616-uart5

 

After reboot we lose UART5 as /dev/ttyS1

But I found old problem that armbian-config add overlay_prefix to device name (https://github.com/armbian/configng/issues/344#issuecomment-2613947809 ) and this make problem. When I removed sun50i-616 from name sun50i-616-uart5 and overlays line looks:

 

overlays=uart5     (don't use uart5-ph)

 

now I see again UART5 /dev/ttyS1 in my system

 

[    0.000624] printk: legacy console [tty1] enabled
[    1.552801] printk: legacy console [ttyS0] disabled
[    1.553231] 5000000.serial: ttyS0 at MMIO 0x5000000 (irq = 301, base_baud = 1500000) is a 16550A
[    1.553288] printk: legacy console [ttyS0] enabled
[    1.554781] 5001400.serial: ttyS1 at MMIO 0x5001400 (irq = 303, base_baud = 1500000) is a 16550A

Edited by TRay
Posted

The question is why (what was the reason) the name for h616 uart5-ph which was used so far to the name uart5 was changed (without -ph)? This will now cause many people to look for a solution to the problem with access to UART5. In the new kernel 6.12.23 I see that UART2 which is also available is still in the device tree called uart2-ph-...

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