Jump to content

Recommended Posts

Posted

Hello everyone! I need help.
I was very happy to learn that Armbian support is now available for the Luckfox Lyra Ultra W!

https://blog.armbian.com/github-highlights-5/

This board has 8GB of EMCC memory and the firmware needs to be loaded onto this EMCC.

I went to this page in this mini guide

https://github.com/armbian/build/pull/8862?ref=blog.armbian.com

where is the author @vidplace7  clearly indicates how to correctly compile and install the firmware

./compile.sh BOARD=luckfox-lyra-ultra-w BRANCH=vendor KERNEL_CONFIGURE=no DEB_COMPRESS=xz KERNEL_BTF=yes INSTALL_ARMBIAN_FIRMWARE=no BUILD_DESKTOP=no BUILD_MINIMAL=yes RELEASE=trixie
Boot from emmc working (write to 0x0 with rkdevtool as the generated image includes the "loader")
Shell works over UART0
AIC8800DC WiFi works
Ethernet works

I compiled the Armbian-unofficial_25.11.0-trunk_Luckfox-lyra-ultra-w_trixie_vendor_6.1.115_minimal.img firmware without any problems and ran the RKDevTool_Release_v2.96 program.

I pressed the boot button on the device and the program RKDevTool displayed a message that the Loader device was found.

I checked item 2, selected emcc, the address was 0X0000000, and selected the image to flash: Armbian-unofficial_25.11.0-trunk_Luckfox-lyra-ultra-w_trixie_vendor_6.1.115_minimal.img.
I pressed RUN.

Screenshot_1.png.a789925ca99d1140aa9bc9ad765d612e.png
The flashing completed successfully.
The device rebooted, and the red LED lit up for 30 seconds, then went out—and that was it. The device no longer responded and wouldn't boot. If I pressed the BOOT button afterwards, the device didn't respond and didn't enter LOADER mode.
The only way to restore the device is to short two points on the rear panel and apply power. The device will be detected in RKDevTool in Maskrom mode, and you can load the factory firmware.

Unfortunately, I don't know how to contact the author @vidplace7  - https://github.com/armbian/linux-rockchip/pull/418

Please tell me what I did wrong? And why does the device become bricked after reflashing? I really want to install a normal system on it!

 

 

Posted
15 часов назад, eselarm сказал:

You should see then what is going on and post that here.

Unfortunately, there's no TTL data after the firmware update. RX and TX are silent.

Posted

I now see that in your screenshot, a Windows filepath contains rk3588_sp...

This Lyra has a rk3506B, that is a much different and only 32-bit SoC. So that seems not OK to me, so no surprise it does not work I think.

But up to you to read documentation. And also I would not use Windows, the docs at luckfox assume Linux, so the commandline tool rkdeveloptool.\

I don't use Windows and also don't have this luckfox model, so cannot guess what is wrong actually.

Posted

@Malay You were really close, from what I can see in your screenshot. You need to check the "Write by Address" box when using the Windows tool there, everything else in the screenshot looks correct.

Posted
23 минуты назад, vidplace7 сказал:

You need to check the "Write by Address" box when using the Windows tool there,

Hello! I'm so glad you responded! I've been trying to reflash this device for three days. Unfortunately, the behavior after reflashing is always the same: the red LED lights up, goes out after 15-20 seconds, and the device no longer shows any signs of working.
I've reflashed the device about 50 times with different settings. And of course, I checked the "Write to address" box.
I built the firmware from your git - https://github.com/vidplace7/armbian-build/tree/luckfox-lyra-ultra
I also built the firmware from the Armbian office git.
There were no errors during the build.
I've built the firmware from Debian and Ubuntu. I've also tried various methods (again, I've been trying to reflash the device for three days now).
I'm desperate. Would you be so kind as to post the firmware that works 100% for you and tell me how to flash it correctly?
I'm pinning all my hopes on you!

Posted (edited)
03.12.2025 в 17:08, vidplace7 сказал:

everything else in the screenshot looks correct.

So, I bought a good TTL adapter and managed to capture the boot log after flashing the device. I hope I can get some help now!

 

Цитата

DDR d27ac532c4 typ 25/03/11-14:46:28,fwver: v1.06
tREFI:4x, sr_idle:93, pd_idle:13
PHY drv:clk:40,ca:48,DQ:40,odt:240
vrefinner:50%, vrefout:50%
dram drv:40,odt:120
sr_dq:0, sr_ca:0, sr_clk:0
rg:0x6-0x1-0x2, 0x3d-0x0-0x2,status:a007
rdtrn:0x11-0x2d-0x49(0x38)
wrtrn:0x3-0x21-0x40(0x3d)
DDR3, 750MHz
BW=16 Col=10 Bk=8 CS0 Row=15 CS=1 Size=512MB
out

U-Boot SPL 2025.10-rc4_armbian-2025.10-rc4-S0b8e-P474e-H4702-V3bf2-Bbf55-R448a (Nov 27 2025 - 04:35:07 +0000)
Trying to boot from MMC1
## Checking hash(es) for config config-1 ... OK
## Checking hash(es) for Image op-tee ... sha256+ OK
## Checking hash(es) for Image u-boot ... sha256+ OK
## Checking hash(es) for Image fdt-1 ... sha256+ OK
I/TC:
I/TC: OP-TEE version: 3.13.0-958-g46dcf51e88a #chenjh (gcc version 10.2.1 20201103 (GNU Toolchain for the A-profile Architecture 10.2-2020.11 (arm-10.16))) #2 Thu Mar  6 10:17:27 CST 2025 arm, fwver: v2.10
I/TC: Status: cluster=0xc00, core=0xe100, bootcpu=0
I/TC: Next entry point address: 0x00100000
I/TC: OP-TEE memory size: TEEOS 0x5e000 TA 0x1000 SHM 0x1000
I/TC: Primary CPU initializing
I/TC: Primary CPU switching to normal world boot
ns16550_serial serial@ff0a0000: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19


U-Boot 2025.10-rc4_armbian-2025.10-rc4-S0b8e-P474e-H4702-V3bf2-Bbf55-R448a (Nov 27 2025 - 04:35:07 +0000)

Model: Luckfox Lyra Ultra
SoC:   RK3506B
DRAM:  512 MiB (total 511 MiB)
Core:  85 devices, 30 uclasses, devicetree: separate
MMC:   mmc@ff480000: 0
Loading Environment from nowhere... OK
In:    serial@ff0a0000
Out:   serial@ff0a0000
Err:   serial@ff0a0000
rockchip_dnl_key_pressed: no saradc device found
Net:   eth0: ethernet@ff4d0000
Hit any key to stop autoboot: 0
Scanning for bootflows in all bootdevs
Seq  Method       State   Uclass    Part  Name                      Filename
---  -----------  ------  --------  ----  ------------------------  ----------------
Scanning global bootmeth 'efi_mgr':
Cannot persist EFI variables without system partition
  0  efi_mgr      ready   (none)       0  <NULL>
** Booting bootflow '<NULL>' with efi_mgr
Loading Boot0000 'mmc 0' failed
EFI boot manager: Cannot load any image
Boot failed (err=-14)
Scanning bootdev 'mmc@ff480000.bootdev':
  1  script       ready   mmc          1  mmc@ff480000.bootdev.part /boot/boot.scr
** Booting bootflow 'mmc@ff480000.bootdev.part_1' with script
Boot script loaded from mmc 0
234 bytes read in 2 ms (114.3 KiB/s)
10863481 bytes read in 880 ms (11.8 MiB/s)
5712008 bytes read in 465 ms (11.7 MiB/s)
545230 bytes read in 49 ms (10.6 MiB/s)
Working FDT set to 1e00000
Failed to load '/boot/dtb/overlay/rockchip-fixup.scr'
Kernel image @ 0x2080000 [ 0x000000 - 0x572888 ]
## Loading init Ramdisk from Legacy Image at 02800000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    10863417 Bytes = 10.4 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01e00000
   Booting using the fdt blob at 0x1e00000
Working FDT set to 1e00000
   Loading Ramdisk to 1c1a3000, end 1cbff339 ... OK
   Loading Device Tree to 1ce28000, end 1cf15fff ... OK
Working FDT set to 1ce28000

Starting kernel ...

I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot
I/TC: Secondary CPU 2 initializing
I/TC: Secondary CPU 2 switching to normal world boot
E/TC:2   plat_shm_get_page_num:386 plat_shm_get_page_num: type 6 alloc is not supported
Loading, please wait...
Starting systemd-udevd version 257.9-1~deb13u1
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
done.
Begin: Will now check root file system ... fsck from util-linux 2.41
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1
armbi_root: recovering journal
armbi_root: clean, 54327/434112 files, 377161/1851392 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.

Welcome to Armbian_community 26.2.0-trunk.22 trixie!

[  OK  ] Created slice system-getty.slice - Slice /system/getty.
[  OK  ] Created slice system-modprobe.slice - Slice /system/modprobe.
[  OK  ] Created slice system-serial\x2dget…slice - Slice /system/serial-getty.
[  OK  ] Created slice user.slice - User and Session Slice.
[  OK  ] Started systemd-ask-password-conso…equests to Console Directory Watch.
[  OK  ] Started systemd-ask-password-wall.…d Requests to Wall Directory Watch.
         Expecting device dev-ttyFIQ0.device - /dev/ttyFIQ0...
         Expecting device dev-ttyS2.device - /dev/ttyS2...
[  OK  ] Reached target paths.target - Path Units.
[  OK  ] Reached target remote-fs.target - Remote File Systems.
[  OK  ] Reached target slices.target - Slice Units.
[  OK  ] Reached target swap.target - Swaps.
[  OK  ] Listening on syslog.socket - Syslog Socket.
[  OK  ] Listening on systemd-creds.socket - Credential Encryption/Decryption.
[  OK  ] Listening on systemd-initctl.socke…- initctl Compatibility Named Pipe.
[  OK  ] Listening on systemd-journald-dev-…socket - Journal Socket (/dev/log).
[  OK  ] Listening on systemd-journald.socket - Journal Sockets.
[  OK  ] Listening on systemd-networkd.socket - Network Service Netlink Socket.
[  OK  ] Listening on systemd-udevd-control.socket - udev Control Socket.
[  OK  ] Listening on systemd-udevd-kernel.socket - udev Kernel Socket.
         Mounting dev-mqueue.mount - POSIX Message Queue File System...
         Mounting run-lock.mount - Legacy Locks Directory /run/lock...
         Mounting sys-kernel-debug.mount - Kernel Debug File System...
         Starting fake-hwclock-load.service - Restore the current clock...
         Starting keyboard-setup.service - Set the console keyboard layout...
         Starting kmod-static-nodes.service…eate List of Static Device Nodes...
         Starting modprobe@configfs.service - Load Kernel Module configfs...
         Starting modprobe@drm.service - Load Kernel Module drm...
         Starting modprobe@efi_pstore.servi… - Load Kernel Module efi_pstore...
         Starting modprobe@fuse.service - Load Kernel Module fuse...
         Starting systemd-modules-load.service - Load Kernel Modules...
         Starting systemd-network-generator…k units from Kernel command line...
         Starting systemd-udev-load-credent…Load udev Rules from Credentials...
         Starting systemd-udev-trigger.service - Coldplug All udev Devices...
[  OK  ] Mounted dev-mqueue.mount - POSIX Message Queue File System.
[  OK  ] Mounted run-lock.mount - Legacy Locks Directory /run/lock.
[  OK  ] Mounted sys-kernel-debug.mount - Kernel Debug File System.
[  OK  ] Finished fake-hwclock-load.service - Restore the current clock.
[  OK  ] Finished kmod-static-nodes.service…Create List of Static Device Nodes.
[  OK  ] Finished modprobe@configfs.service - Load Kernel Module configfs.
[  OK  ] Finished modprobe@drm.service - Load Kernel Module drm.
[  OK  ] Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.
[  OK  ] Finished modprobe@fuse.service - Load Kernel Module fuse.
[  OK  ] Finished systemd-modules-load.service - Load Kernel Modules.
[  OK  ] Finished systemd-network-generator…ork units from Kernel command line.
[  OK  ] Finished systemd-udev-load-credent…- Load udev Rules from Credentials.
[  OK  ] Reached target network-pre.target - Preparation for Network.
         Mounting sys-kernel-config.mount - Kernel Configuration File System...
         Starting systemd-remount-fs.servic…unt Root and Kernel File Systems...
         Starting systemd-sysctl.service - Apply Kernel Variables...
         Starting systemd-tmpfiles-setup-de… Device Nodes in /dev gracefully...
[  OK  ] Finished keyboard-setup.service - Set the console keyboard layout.
[  OK  ] Mounted sys-kernel-config.mount - Kernel Configuration File System.
[  OK  ] Finished systemd-remount-fs.servic…mount Root and Kernel File Systems.
         Starting systemd-random-seed.service - Load/Save OS Random Seed...
[  OK  ] Finished systemd-sysctl.service - Apply Kernel Variables.
[  OK  ] Finished systemd-tmpfiles-setup-de…ic Device Nodes in /dev gracefully.
         Starting systemd-resolved.service - Network Name Resolution...
         Starting systemd-timesyncd.service - Network Time Synchronization...
         Starting systemd-tmpfiles-setup-de…eate Static Device Nodes in /dev...
[  OK  ] Finished systemd-tmpfiles-setup-de…Create Static Device Nodes in /dev.
[  OK  ] Reached target local-fs-pre.target…Preparation for Local File Systems.
         Starting systemd-udevd.service - R…ager for Device Events and Files...
[  OK  ] Finished systemd-udev-trigger.service - Coldplug All udev Devices.
         Mounting tmp.mount - /tmp...
[  OK  ] Started systemd-timesyncd.service - Network Time Synchronization.
[  OK  ] Reached target time-set.target - System Time Set.
[  OK  ] Mounted tmp.mount - /tmp.
[  OK  ] Reached target local-fs.target - Local File Systems.
[  OK  ] Listening on systemd-sysext.socket… System Extension Image Management.
         Starting armbian-zram-config.service - Armbian ZRAM config...
         Starting console-setup.service - Set console font and keymap...
[  OK  ] Finished console-setup.service - Set console font and keymap.
[  OK  ] Started systemd-udevd.service - Ru…anager for Device Events and Files.
         Starting systemd-networkd.service - Network Configuration...
[  OK  ] Found device dev-ttyFIQ0.device - /dev/ttyFIQ0.
[  OK  ] Listening on systemd-rfkill.socket…ll Switch Status /dev/rfkill Watch.
         Starting systemd-rfkill.service - Load/Save RF Kill Switch Status...
[  OK  ] Started systemd-rfkill.service - Load/Save RF Kill Switch Status.
[  OK  ] Started systemd-networkd.service - Network Configuration.
         Starting systemd-networkd-persiste…tent Storage in systemd-networkd...
[  OK  ] Finished systemd-networkd-persiste…istent Storage in systemd-networkd.
[  OK  ] Finished systemd-random-seed.service - Load/Save OS Random Seed.
[  OK  ] Started systemd-resolved.service - Network Name Resolution.
[  OK  ] Reached target nss-lookup.target - Host and Network Name Lookups.
[  OK  ] Finished armbian-zram-config.service - Armbian ZRAM config.
         Starting armbian-ramlog.service - Armbian memory supported logging...
[  OK  ] Finished armbian-ramlog.service - Armbian memory supported logging.
         Starting systemd-journald.service - Journal Service...
[  OK  ] Started systemd-journald.service - Journal Service.
         Starting systemd-journal-flush.ser…sh Journal to Persistent Storage...
[  OK  ] Finished systemd-journal-flush.ser…lush Journal to Persistent Storage.
         Starting systemd-tmpfiles-setup.se…ate System Files and Directories...
[  OK  ] Finished systemd-tmpfiles-setup.se…reate System Files and Directories.
[  OK  ] Reached target sysinit.target - System Initialization.
[  OK  ] Started apt-daily.timer - Daily apt download activities.
[  OK  ] Started apt-daily-upgrade.timer - …y apt upgrade and clean activities.
[  OK  ] Started dpkg-db-backup.timer - Daily dpkg database backup timer.
[  OK  ] Started e2scrub_all.timer - Period…Metadata Check for All Filesystems.
[  OK  ] Started fake-hwclock-save.timer - Periodically save current clock.
[  OK  ] Started fstrim.timer - Discard unused filesystem blocks once a week.
[  OK  ] Started logrotate.timer - Daily rotation of log files.
[  OK  ] Started man-db.timer - Daily man-db regeneration.
[  OK  ] Started systemd-tmpfiles-clean.tim…y Cleanup of Temporary Directories.
[  OK  ] Reached target timers.target - Timer Units.
[  OK  ] Listening on dbus.socket - D-Bus System Message Bus Socket.
[  OK  ] Listening on sshd-unix-local.socke…temd-ssh-generator, AF_UNIX Local).
[  OK  ] Listening on systemd-hostnamed.socket - Hostname Service Socket.
[  OK  ] Reached target sockets.target - Socket Units.
         Starting armbian-hardware-monitor.…ce - Armbian hardware monitoring...
         Starting armbian-hardware-optimize… - Armbian hardware optimization...
         Starting armbian-led-state.service - Armbian leds state...
[  OK  ] Finished armbian-led-state.service - Armbian leds state.
[  OK  ] Finished armbian-hardware-monitor.…vice - Armbian hardware monitoring.
[  OK  ] Finished armbian-hardware-optimize…ce - Armbian hardware optimization.
[  OK  ] Reached target basic.target - Basic System.
[  OK  ] Started cron.service - Regular background program processing daemon.
         Starting dbus.service - D-Bus System Message Bus...
         Starting e2scrub_reap.service - Re…ne ext4 Metadata Check Snapshots...
         Starting rsyslog.service - System Logging Service...
         Starting systemd-logind.service - User Login Management...
[  OK  ] Started dbus.service - D-Bus System Message Bus.
         Starting wpa_supplicant.service - WPA supplicant...
[  OK  ] Started wpa_supplicant.service - WPA supplicant.
[  OK  ] Reached target network.target - Network.
         Starting rc-local.service - /etc/rc.local Compatibility...
         Starting ssh.service - OpenBSD Secure Shell server...
         Starting systemd-user-sessions.service - Permit User Sessions...
[  OK  ] Started rsyslog.service - System Logging Service.
[  OK  ] Started rc-local.service - /etc/rc.local Compatibility.
[  OK  ] Started systemd-logind.service - User Login Management.
[  OK  ] Finished systemd-user-sessions.service - Permit User Sessions.
[  OK  ] Started serial-getty@ttyFIQ0.service - Serial Getty on ttyFIQ0.
[  OK  ] Finished e2scrub_reap.service - Re…line ext4 Metadata Check Snapshots.
[  OK  ] Started ssh.service - OpenBSD Secure Shell server.

Armbian_community 26.2.0-trunk.22 Trixie ttyFIQ0

luckfox-lyra-ultra-w login:

don't know if this is correct or not. For some reason, the device isn't receiving an IP address on the local network. Is there a DHCP client issue? Another device, a Luckfox Pico Pro Max, receives an IP address without any problems after a firmware update with the same firmware installed.

root@luckfox-lyra-ultra-w:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host noprefixroute
       valid_lft forever preferred_lft forever
2: end1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 02:95:55:d5:00:1c brd ff:ff:ff:ff:ff:ff
    altname enx029555d5001c
root@luckfox-lyra-ultra-w:~#

Screenshot_6.png.9c9fa56e928075757fe991af9e681421.png

 

root@luckfox-lyra-ultra-w:~# ip route
root@luckfox-lyra-ultra-w:~# sudo ip address add 192.168.1.111/24 dev end1
root@luckfox-lyra-ultra-w:~# sudo ip link set end1 up
RTNETLINK answers: Cannot allocate memory
root@luckfox-lyra-ultra-w:~#
root@luckfox-lyra-ultra-w:~# free
               total        used        free      shared  buff/cache   available
Mem:          502048       61416      312852        1120      140100      440632
Swap:         251020           0      251020
root@luckfox-lyra-ultra-w:~# sudo ip route add default via 192.168.1.1
Error: Nexthop has invalid gateway.
root@luckfox-lyra-ultra-w:~#

root@luckfox-lyra-ultra-w:~# dhclient
-bash: dhclient: command not found
root@luckfox-lyra-ultra-w:~# dhcpcd
-bash: dhcpcd: command not found
root@luckfox-lyra-ultra-w:~# nmcli device status
-bash: nmcli: command not found
root@luckfox-lyra-ultra-w:~# rfkill
ID TYPE      DEVICE        SOFT      HARD
 0 bluetooth bt_default blocked unblocked

 

LOG dmesg

root@luckfox-lyra-ultra-w:~# dmesg
[   12.347098] systemd[1]: netplan-ovs-cleanup.service - OpenVSwitch configuration for cleanup was skipped because of an unmet condition check (ConditionFileIsExecutable=/usr/bin/ovs-vsctl).
[   12.348163] systemd[1]: systemd-hibernate-clear.service - Clear Stale Hibernate Storage Info was skipped because of an unmet condition check (ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67).
[   12.378655] systemd[1]: Starting systemd-modules-load.service - Load Kernel Modules...
[   12.405293] systemd[1]: Starting systemd-network-generator.service - Generate network units from Kernel command line...
[   12.406603] systemd[1]: systemd-pcrmachine.service - TPM PCR Machine ID Measurement was skipped because of an unmet condition check (ConditionSecurity=measured-uki).
[   12.407623] systemd[1]: systemd-tpm2-setup-early.service - Early TPM SRK Setup was skipped because of an unmet condition check (ConditionSecurity=measured-uki).
[   12.440229] cpu cpu0: bin=0
[   12.440299] cpu cpu0: leakage=4
[   12.440367] cpu cpu0: Failed to get reg
[   12.440386] cpu cpu0: soc version=0, speed=0
[   12.440498] cpu cpu0: failed to set opp config
[   12.440514] cpu cpu0: failed to init opp info
[   12.446781] systemd[1]: Starting systemd-udev-load-credentials.service - Load udev Rules from Credentials...
[   12.478445] systemd[1]: Starting systemd-udev-trigger.service - Coldplug All udev Devices...
[   12.543552] cpu cpu0: bin=0
[   12.543616] cpu cpu0: leakage=4
[   12.543688] cpu cpu0: Failed to get reg
[   12.543707] cpu cpu0: soc version=0, speed=0
[   12.543811] cpu cpu0: failed to set opp config
[   12.543825] cpu cpu0: failed to init opp info
[   12.546917] systemd[1]: Mounted dev-mqueue.mount - POSIX Message Queue File System.
[   12.548819] systemd[1]: Mounted run-lock.mount - Legacy Locks Directory /run/lock.
[   12.557284] systemd[1]: Mounted sys-kernel-debug.mount - Kernel Debug File System.
[   12.561114] systemd[1]: fake-hwclock-load.service: Deactivated successfully.
[   12.565736] systemd[1]: Finished fake-hwclock-load.service - Restore the current clock.
[   12.626730] systemd[1]: Finished kmod-static-nodes.service - Create List of Static Device Nodes.
[   12.646891] cpu cpu0: bin=0
[   12.646961] cpu cpu0: leakage=4
[   12.647033] cpu cpu0: Failed to get reg
[   12.647052] cpu cpu0: soc version=0, speed=0
[   12.647166] cpu cpu0: failed to set opp config
[   12.647182] cpu cpu0: failed to init opp info
[   12.647807] systemd[1]: modprobe@configfs.service: Deactivated successfully.
[   12.650302] systemd[1]: Finished modprobe@configfs.service - Load Kernel Module configfs.
[   12.655510] systemd[1]: modprobe@drm.service: Deactivated successfully.
[   12.658127] systemd[1]: Finished modprobe@drm.service - Load Kernel Module drm.
[   12.665290] systemd[1]: modprobe@efi_pstore.service: Deactivated successfully.
[   12.668129] systemd[1]: Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.
[   12.672568] systemd[1]: modprobe@fuse.service: Deactivated successfully.
[   12.675374] systemd[1]: Finished modprobe@fuse.service - Load Kernel Module fuse.
[   12.682766] systemd[1]: Finished systemd-modules-load.service - Load Kernel Modules.
[   12.687615] systemd[1]: Finished systemd-network-generator.service - Generate network units from Kernel command line.
[   12.694297] systemd[1]: Finished keyboard-setup.service - Set the console keyboard layout.
[   12.697519] systemd[1]: Finished systemd-udev-load-credentials.service - Load udev Rules from Credentials.
[   12.704996] systemd[1]: Reached target network-pre.target - Preparation for Network.
[   12.706087] systemd[1]: sys-fs-fuse-connections.mount - FUSE Control File System was skipped because of an unmet condition check (ConditionPathExists=/sys/fs/fuse/connections).
[   12.712801] systemd[1]: Mounting sys-kernel-config.mount - Kernel Configuration File System...
[   12.713450] systemd[1]: systemd-fsck-root.service - File System Check on Root Device was skipped because of an unmet condition check (ConditionPathExists=!/run/initramfs/fsck-root).
[   12.737667] systemd[1]: Starting systemd-remount-fs.service - Remount Root and Kernel File Systems...
[   12.750229] cpu cpu0: bin=0
[   12.750306] cpu cpu0: leakage=4
[   12.750383] cpu cpu0: Failed to get reg
[   12.750404] cpu cpu0: soc version=0, speed=0
[   12.750519] cpu cpu0: failed to set opp config
[   12.750537] cpu cpu0: failed to init opp info
[   12.758268] systemd[1]: Starting systemd-sysctl.service - Apply Kernel Variables...
[   12.781710] systemd[1]: Starting systemd-tmpfiles-setup-dev-early.service - Create Static Device Nodes in /dev gracefully...
[   12.840144] systemd[1]: Mounted sys-kernel-config.mount - Kernel Configuration File System.
[   12.853542] cpu cpu0: bin=0
[   12.853637] cpu cpu0: leakage=4
[   12.853712] cpu cpu0: Failed to get reg
[   12.853733] cpu cpu0: soc version=0, speed=0
[   12.853846] cpu cpu0: failed to set opp config
[   12.853863] cpu cpu0: failed to init opp info
[   12.892411] EXT4-fs (mmcblk0p1): re-mounted. Quota mode: disabled.
[   12.900244] systemd[1]: Finished systemd-remount-fs.service - Remount Root and Kernel File Systems.
[   12.912688] systemd[1]: systemd-hwdb-update.service - Rebuild Hardware Database was skipped because of an unmet condition check (ConditionNeedsUpdate=/etc).
[   12.913688] systemd[1]: systemd-pstore.service - Platform Persistent Storage Archival was skipped because of an unmet condition check (ConditionDirectoryNotEmpty=/sys/fs/pstore).
[   12.922292] systemd[1]: Starting systemd-random-seed.service - Load/Save OS Random Seed...
[   12.922949] systemd[1]: systemd-tpm2-setup.service - TPM SRK Setup was skipped because of an unmet condition check (ConditionSecurity=measured-uki).
[   12.938881] systemd[1]: Finished systemd-sysctl.service - Apply Kernel Variables.
[   12.956894] cpu cpu0: bin=0
[   12.956960] cpu cpu0: leakage=4
[   12.957030] cpu cpu0: Failed to get reg
[   12.957050] cpu cpu0: soc version=0, speed=0
[   12.957152] cpu cpu0: failed to set opp config
[   12.957167] cpu cpu0: failed to init opp info
[   13.018349] systemd[1]: Finished systemd-tmpfiles-setup-dev-early.service - Create Static Device Nodes in /dev gracefully.
[   13.020159] systemd[1]: systemd-sysusers.service - Create System Users was skipped because no trigger condition checks were met.
[   13.033094] systemd[1]: Starting systemd-resolved.service - Network Name Resolution...
[   13.054629] systemd[1]: Starting systemd-timesyncd.service - Network Time Synchronization...
[   13.060388] cpu cpu0: bin=0
[   13.060461] cpu cpu0: leakage=4
[   13.060544] cpu cpu0: Failed to get reg
[   13.060569] cpu cpu0: soc version=0, speed=0
[   13.060693] cpu cpu0: failed to set opp config
[   13.060713] cpu cpu0: failed to init opp info
[   13.088211] systemd[1]: Starting systemd-tmpfiles-setup-dev.service - Create Static Device Nodes in /dev...
[   13.163561] cpu cpu0: bin=0
[   13.163630] cpu cpu0: leakage=4
[   13.163703] cpu cpu0: Failed to get reg
[   13.163724] cpu cpu0: soc version=0, speed=0
[   13.163836] cpu cpu0: failed to set opp config
[   13.163854] cpu cpu0: failed to init opp info
[   13.266907] cpu cpu0: bin=0
[   13.266976] cpu cpu0: leakage=4
[   13.267049] cpu cpu0: Failed to get reg
[   13.267070] cpu cpu0: soc version=0, speed=0
[   13.267184] cpu cpu0: failed to set opp config
[   13.267200] cpu cpu0: failed to init opp info
[   13.274715] systemd[1]: Finished systemd-udev-trigger.service - Coldplug All udev Devices.
[   13.289922] systemd[1]: Finished systemd-tmpfiles-bin=0
[   13.473591] cpu cpu0: leakage=4
in=0
[   13.473591] cpu cpu0: leakage=4
in=0
[   13.473591] cpu cpu0: leakage=4
in=0
[   13.473591] cpu cpu0: leakage=4
[   13.473658] cpu cpu0: Failed to get re[32m[   13.473658] cpu cpu0: Failed to get re[32m[   13.473658] cpu cpu0: Failed to get re[32m[   13.473658] cpu cpu0: Failed to get re[32m[   13.473658] cpu cpu0: Failed to get re[32m[   13.473658] cpu cpu0: Failed to get re[32m[   13.m[   13.473677] cpu cpu0: soc version=g
[   13.473677] cpu cpu0: soc version=g
[   13.473677] cpu cpu0: soc version=g
[   13.473677] cpu cpu0: soc version=g
[   13.473677] cpu cpu0: soc version=g
[   13.473677] cpu cpu0: soc version=g
[   13.473677] cpu cpu0: soc version=0, speed=0
[   13.473789] cpu cpu0: fa] systemd[1]: systemd-binfmt.service - S13.735411] systemd[1k_gmac-dwmac ff4d0000.ethernet: Idded device: zram1ndystemd-binfmt.service - S13.735411rk_gmac-dwmac ff4d0000.ethernet: Can not read property: tx_delay.stemd-binfmt.service -[   14.659770] rk_gmac-dwmac ff4d0000.ethernet: set tx_delay to 0xffffffffmac ff4d0000.eth9783] rk_gmac-dwmac ff4d0000.ethernet  14.659829] rk_gmac-dwmac ff4d0000.ethernet:  rk_gmac-dwmac ff4d0000.ethernet:  rk_gmac-dwmac ff4d000014.659842] cannot get clock mac_clk_rxbecause of an unmeet Up Additional Binary Formats was skipped because of an unme[   14.659842] cannot get clock mac_clk_rxd because of an unmeet Up Additional Binary F[   14.659842] cannot get clock mac_clk_rx Additional Binary Formats was skipped becaus[   14.659842] cannot get clock mac_clk_rxthIsMountPoint=/proc/sys/fs/binft condition c[   14.659842] cannot get clock mac_clk_rxfs/binft condition check (ConditionPathIsMoun[   14.659842] cannot get clock mac_clk_rx(ConditionPathIsMountPoint=/proc/sys/fs/binft[   14.659842] cannot -dwmac ff4d0000.ethernet: cannot get clock m3mrk_gmac-dwmac ff4d0000.ethernet: cannot get clock m3mrk_gmac-dwmac ff4d0000.ethernet: cannot get clock m3mrk_gmac-dwmac ff4d0000.ethernet: cannot get clock m3mrk_gmac-dwmac ff4d0000.ethernet: cannot get clock m3mrk_gmac-dwmac ff4d0000.ethernet: cannot get clock m3mrk_gmac-dwmac ff4d0000.etherneition check (ConditionFirstBoot=yhine-id-commit.service - Savservice - Journal Service.[WLAN_RFKILL]: Enter rfkill_wlan_init
[   18.132686] systeservice - Journal Service._parse_dt: uart_rts_gpios is no-in-use.
[   18.132686] systeservice - Journal Service.
[   18.132686] systeservice - Journal Service.
[   18.132686] systeservice - Journal Service.
[   18.132686] systeservice - Journal Service.
[   18.132686] systemd-journald[441]: Received client request to flush runtimemd-journald[441]: Received client request to flush runtimemd-journald[441]: Received client request to flush runtimemd-journald[441]: Received client request to flush runtimemd-journald[441]: Received client request to flush runtimemd-journald[441]: Received client request to flush runtimemd-journald[441]:   19.662697] systemd-journald[441]: journal.
[   19.662697] systemd-journald[441]: journal.ut/input0
[   19.662697] systemd-journald[441]: journal.ut/input0
[   19.662697] systemd-journald[441]: journal.ut/input0
[   19.662697] systemd-journald[441]: journal.ut/input0
[   19.662697] systemd-journald[441]: journal. bound 14.996070] rockchip-drm display-su[   19.662697] systemd-journald[441]: Received client request to relinquish /var/log/journal/c2gsubsystem: bound 14.996070] rockchip-drm display-subsystem: bound 14.996070] r[   25.083239] platform ff4a8000.sai: defg6070] rockchip-drm display-subsystem: bound f[   25.083239] platform ff4a8000.sai: defg
[   25.083239] platform ff4a8000.sai: defg: first-boot-complete.target - First Boot Com[   25.083239] platform ff4a8000.sai: deferred probe pendingomplete was skipped becauseroot@luckfox-lyra-ultra-w:~# erred probe pending=yes).
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending
root@luckfox-lyra-ultra-w:~# erred probe pending


 

Edited by Malay
Posted

So, after 10 days of struggling with flashing the device and hundreds of flashing methods, I think the Armbian firmware for the Luckfox Lyra Ultra W DOESN'T WORK.
Unfortunately, the firmware developer responded once here and hasn't responded since. I don't know if he has this board or not.
After flashing the device in various ways, I only have two different boot logs (I captured the logs using TTL-USB since the network doesn't work on the device).

 

LOG1

▒DDR d27ac532c4 typ 25/03/11-14:46:28,fwver: v1.06
tREFI:4x, sr_idle:93, pd_idle:13
PHY drv:clk:40,ca:48,DQ:40,odt:240
vrefinner:50%, vrefout:50%
dram drv:40,odt:120
sr_dq:0, sr_ca:0, sr_clk:0
rg:0x6-0x1-0x2, 0x3e-0x0-0x2,status:a007
rdtrn:0x11-0x2e-0x4b(0x3a)
wrtrn:0x3-0x21-0x3f(0x3c)
DDR3, 750MHz
BW=16 Col=10 Bk=8 CS0 Row=15 CS=1 Size=512MB
out

U-Boot SPL 2025.10-rc4_armbian-2025.10-rc4-S0b8e-P474e-H4702-V3bf2-Bbf55-R448a (Dec 04 2025 - 04:42:05 +0000)
Trying to boot from MMC1
## Checking hash(es) for config config-1 ... OK
## Checking hash(es) for Image op-tee ... sha256+ OK
## Checking hash(es) for Image u-boot ... sha256+ OK
## Checking hash(es) for Image fdt-1 ... sha256+ OK
I/TC:
I/TC: OP-TEE version: 3.13.0-958-g46dcf51e88a #chenjh (gcc version 10.2.1 20201103 (GNU Toolchain for the A-profile Architecture 10.2-2020.11 (arm-10.16))) #2 Thu Mar  6 10:17:27 CST 2025 arm, fwver: v2.10
I/TC: Status: cluster=0xc00, core=0xe100, bootcpu=0
I/TC: Next entry point address: 0x00100000
I/TC: OP-TEE memory size: TEEOS 0x5e000 TA 0x1000 SHM 0x1000
I/TC: Primary CPU initializing
I/TC: Primary CPU switching to normal world boot
ns16550_serial serial@ff0a0000: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19


U-Boot 2025.10-rc4_armbian-2025.10-rc4-S0b8e-P474e-H4702-V3bf2-Bbf55-R448a (Dec 04 2025 - 04:42:05 +0000)

Model: Luckfox Lyra Ultra
SoC:   RK3506B
DRAM:  512 MiB (total 511 MiB)
Core:  85 devices, 30 uclasses, devicetree: separate
MMC:   mmc@ff480000: 0
Loading Environment from nowhere... OK
In:    serial@ff0a0000
Out:   serial@ff0a0000
Err:   serial@ff0a0000
rockchip_dnl_key_pressed: no saradc device found
Net:   eth0: ethernet@ff4d0000
Hit any key to stop autoboot: 0
Scanning for bootflows in all bootdevs
Seq  Method       State   Uclass    Part  Name                      Filename
---  -----------  ------  --------  ----  ------------------------  ----------------
Scanning global bootmeth 'efi_mgr':
Cannot persist EFI variables without system partition
  0  efi_mgr      ready   (none)       0  <NULL>
** Booting bootflow '<NULL>' with efi_mgr
Loading Boot0000 'mmc 0' failed
EFI boot manager: Cannot load any image
Boot failed (err=-14)
Scanning bootdev 'mmc@ff480000.bootdev':
  1  script       ready   mmc          1  mmc@ff480000.bootdev.part /boot/boot.scr
** Booting bootflow 'mmc@ff480000.bootdev.part_1' with script
Boot script loaded from mmc 0
234 bytes read in 3 ms (76.2 KiB/s)
11012819 bytes read in 889 ms (11.8 MiB/s)
5713472 bytes read in 463 ms (11.8 MiB/s)
Failed to load '/boot/dtb/rockchip/rk3506b-luckfox-lyra-ultra.dtb'
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
Failed to load '/boot/dtb/overlay/-fixup.scr'
Kernel image @ 0x2080000 [ 0x000000 - 0x572e40 ]
## Loading init Ramdisk from Legacy Image at 02800000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    11012755 Bytes = 10.5 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree
Boot failed (err=-14)
Unknown uclass 'nvme' in label
Unknown uclass 'scsi' in label
dwc2_usb usb@ff780000: Can't get reset: -2
USB DWC2
Bus usb@ff780000: 3 USB Device(s) found
Scanning bootdev 'ethernet@ff4d0000.bootdev':
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
BOOTP broadcast 6
BOOTP broadcast 7
BOOTP broadcast 8

Retry time exceeded; starting again
Scanning bootdev 'ethernet@ff4d0000.bootdev':
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
BOOTP broadcast 6
BOOTP broadcast 7

Retry time exceeded; starting again
No more bootdevs
---  -----------  ------  --------  ----  ------------------------  ----------------
(2 bootflows, 2 valid)
=> <INTERRUPT>
=> 

 

LOG2

DDR d27ac532c4 typ 25/03/11-14:46:28,fwver: v1.06
tREFI:4x, sr_idle:93, pd_idle:13
SRX
get rd_skew=0x2e, wr_skew=0x21
PHY drv:clk:40,ca:48,DQ:40,odt:240
vrefinner:50%, vrefout:50%
dram drv:40,odt:120
sr_dq:0, sr_ca:0, sr_clk:0
rg:0x5-0x1-0x2, 0x3b-0x0-0x2,status:a007
DDR3, 750MHz
BW=16 Col=10 Bk=8 CS0 Row=15 CS=1 Size=512MB
out

U-Boot SPL 2025.10-rc4_armbian-2025.10-rc4-S0b8e-P474e-H4702-V3bf2-Bbf55-R448a (Dec 04 2025 - 04:42:05 +0000)
Trying to boot from MMC1
## Checking hash(es) for config config-1 ... OK
## Checking hash(es) for Image op-tee ... sha256+ OK
## Checking hash(es) for Image u-boot ... sha256+ OK
## Checking hash(es) for Image fdt-1 ... sha256+ OK
I/TC:
I/TC: OP-TEE version: 3.13.0-958-g46dcf51e88a #chenjh (gcc version 10.2.1 20201103 (GNU Toolchain for the A-profile Architecture 10.2-2020.11 (arm-10.16))) #2 Thu Mar  6 10:17:27 CST 2025 arm, fwver: v2.10
I/TC: Status: cluster=0xc00, core=0xe100, bootcpu=0
I/TC: Next entry point address: 0x00100000
I/TC: OP-TEE memory size: TEEOS 0x5e000 TA 0x1000 SHM 0x1000
I/TC: Primary CPU initializing
I/TC: Primary CPU switching to normal world boot
ns16550_serial serial@ff0a0000: pinctrl_select_state_full: uclass_get_device_by_phandle_id: err=-19


U-Boot 2025.10-rc4_armbian-2025.10-rc4-S0b8e-P474e-H4702-V3bf2-Bbf55-R448a (Dec 04 2025 - 04:42:05 +0000)

Model: Luckfox Lyra Ultra
SoC:   RK3506B
DRAM:  512 MiB (total 511 MiB)
Core:  85 devices, 30 uclasses, devicetree: separate
MMC:   mmc@ff480000: 0
Loading Environment from nowhere... OK
In:    serial@ff0a0000
Out:   serial@ff0a0000
Err:   serial@ff0a0000
rockchip_dnl_key_pressed: no saradc device found
Net:   eth0: ethernet@ff4d0000
Hit any key to stop autoboot: 0
Scanning for bootflows in all bootdevs
Seq  Method       State   Uclass    Part  Name                      Filename
---  -----------  ------  --------  ----  ------------------------  ----------------
Scanning global bootmeth 'efi_mgr':
Cannot persist EFI variables without system partition
  0  efi_mgr      ready   (none)       0  <NULL>
** Booting bootflow '<NULL>' with efi_mgr
Loading Boot0000 'mmc 0' failed
EFI boot manager: Cannot load any image
Boot failed (err=-14)
Scanning bootdev 'mmc@ff480000.bootdev':
  1  script       ready   mmc          1  mmc@ff480000.bootdev.part /boot/boot.scr
** Booting bootflow 'mmc@ff480000.bootdev.part_1' with script
Boot script loaded from mmc 0
185 bytes read in 3 ms (59.6 KiB/s)
10866313 bytes read in 878 ms (11.8 MiB/s)
5694528 bytes read in 462 ms (11.8 MiB/s)
545230 bytes read in 48 ms (10.8 MiB/s)
Working FDT set to 1e00000
Failed to load '/boot/dtb/overlay/rockchip-fixup.scr'
Kernel image @ 0x2080000 [ 0x000000 - 0x56e440 ]
## Loading init Ramdisk from Legacy Image at 02800000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    10866249 Bytes = 10.4 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 01e00000
   Booting using the fdt blob at 0x1e00000
Working FDT set to 1e00000
   Loading Ramdisk to 1c1a3000, end 1cbffe49 ... OK
   Loading Device Tree to 1ce28000, end 1cf15fff ... OK
Working FDT set to 1ce28000

Starting kernel ...

I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot
I/TC: Secondary CPU 2 initializing
I/TC: Secondary CPU 2 switching to normal world boot
E/TC:1   plat_shm_get_page_num:386 plat_shm_get_page_num: type 6 alloc is not supported
Loading, please wait...
Starting systemd-udevd version 257.9-1~deb13u1
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems
done.
Begin: Will now check root file system ... fsck from util-linux 2.41
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1
armbi_root: clean, 54290/91584 files, 334609/366336 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.

Welcome to Armbian-unofficial 26.02.0-trunk trixie!

[  OK  ] Created slice system-modprobe.slice - Slice /system/modprobe.
[  OK  ] Created slice system-serial\x2dget…slice - Slice /system/serial-getty.
[  OK  ] Created slice user.slice - User and Session Slice.
[  OK  ] Started systemd-ask-password-conso…equests to Console Directory Watch.
[  OK  ] Started systemd-ask-password-wall.…d Requests to Wall Directory Watch.
         Expecting device dev-ttyFIQ0.device - /dev/ttyFIQ0...
         Expecting device dev-ttyS2.device - /dev/ttyS2...
[  OK  ] Reached target paths.target - Path Units.
[  OK  ] Reached target remote-fs.target - Remote File Systems.
[  OK  ] Reached target slices.target - Slice Units.
[  OK  ] Reached target swap.target - Swaps.
[  OK  ] Listening on syslog.socket - Syslog Socket.
[  OK  ] Listening on systemd-creds.socket - Credential Encryption/Decryption.
[  OK  ] Listening on systemd-initctl.socke…- initctl Compatibility Named Pipe.
[  OK  ] Listening on systemd-journald-dev-…socket - Journal Socket (/dev/log).
[  OK  ] Listening on systemd-journald.socket - Journal Sockets.
[  OK  ] Listening on systemd-networkd.socket - Network Service Netlink Socket.
[  OK  ] Listening on systemd-udevd-control.socket - udev Control Socket.
[  OK  ] Listening on systemd-udevd-kernel.socket - udev Kernel Socket.
         Mounting dev-mqueue.mount - POSIX Message Queue File System...
         Mounting run-lock.mount - Legacy Locks Directory /run/lock...
         Mounting sys-kernel-debug.mount - Kernel Debug File System...
         Starting fake-hwclock-load.service - Restore the current clock...
         Starting keyboard-setup.service - Set the console keyboard layout...
         Starting kmod-static-nodes.service…eate List of Static Device Nodes...
         Starting modprobe@configfs.service - Load Kernel Module configfs...
         Starting modprobe@drm.service - Load Kernel Module drm...
         Starting modprobe@efi_pstore.servi… - Load Kernel Module efi_pstore...
         Starting modprobe@fuse.service - Load Kernel Module fuse...
         Starting systemd-modules-load.service - Load Kernel Modules...
         Starting systemd-network-generator…k units from Kernel command line...
         Starting systemd-udev-load-credent…Load udev Rules from Credentials...
         Starting systemd-udev-trigger.service - Coldplug All udev Devices...
[  OK  ] Mounted dev-mqueue.mount - POSIX Message Queue File System.
[  OK  ] Mounted run-lock.mount - Legacy Locks Directory /run/lock.
[  OK  ] Mounted sys-kernel-debug.mount - Kernel Debug File System.
[  OK  ] Finished fake-hwclock-load.service - Restore the current clock.
[  OK  ] Finished kmod-static-nodes.service…Create List of Static Device Nodes.
[  OK  ] Finished modprobe@configfs.service - Load Kernel Module configfs.
[  OK  ] Finished modprobe@drm.service - Load Kernel Module drm.
[  OK  ] Finished modprobe@efi_pstore.service - Load Kernel Module efi_pstore.
[  OK  ] Finished modprobe@fuse.service - Load Kernel Module fuse.
[  OK  ] Finished systemd-modules-load.service - Load Kernel Modules.
[  OK  ] Finished systemd-udev-load-credent…- Load udev Rules from Credentials.
[  OK  ] Finished systemd-network-generator…ork units from Kernel command line.
[  OK  ] Reached target network-pre.target - Preparation for Network.
         Mounting sys-kernel-config.mount - Kernel Configuration File System...
         Starting systemd-remount-fs.servic…unt Root and Kernel File Systems...
         Starting systemd-sysctl.service - Apply Kernel Variables...
         Starting systemd-tmpfiles-setup-de… Device Nodes in /dev gracefully...
[  OK  ] Finished keyboard-setup.service - Set the console keyboard layout.
[  OK  ] Mounted sys-kernel-config.mount - Kernel Configuration File System.
[  OK  ] Finished systemd-sysctl.service - Apply Kernel Variables.
[  OK  ] Finished systemd-remount-fs.servic…mount Root and Kernel File Systems.
         Starting systemd-random-seed.service - Load/Save OS Random Seed...
[  OK  ] Finished systemd-tmpfiles-setup-de…ic Device Nodes in /dev gracefully.
         Starting systemd-sysusers.service - Create System Users...
[  OK  ] Finished systemd-sysusers.service - Create System Users.
         Starting systemd-resolved.service - Network Name Resolution...
         Starting systemd-timesyncd.service - Network Time Synchronization...
         Starting systemd-tmpfiles-setup-de…eate Static Device Nodes in /dev...
[  OK  ] Finished systemd-udev-trigger.service - Coldplug All udev Devices.
[  OK  ] Finished systemd-tmpfiles-setup-de…Create Static Device Nodes in /dev.
[  OK  ] Reached target local-fs-pre.target…Preparation for Local File Systems.
         Starting systemd-udevd.service - R…ager for Device Events and Files...
         Mounting tmp.mount - /tmp...
[  OK  ] Mounted tmp.mount - /tmp.
[  OK  ] Reached target local-fs.target - Local File Systems.
[  OK  ] Listening on systemd-sysext.socket… System Extension Image Management.
         Starting armbian-zram-config.service - Armbian ZRAM config...
         Starting console-setup.service - Set console font and keymap...
[  OK  ] Started systemd-timesyncd.service - Network Time Synchronization.
[  OK  ] Reached target time-set.target - System Time Set.
[  OK  ] Started systemd-udevd.service - Ru…anager for Device Events and Files.
         Starting systemd-networkd.service - Network Configuration...
[  OK  ] Found device dev-ttyFIQ0.device - /dev/ttyFIQ0.
[  OK  ] Listening on systemd-rfkill.socket…ll Switch Status /dev/rfkill Watch.
         Starting systemd-rfkill.service - Load/Save RF Kill Switch Status...
[  OK  ] Finished systemd-random-seed.service - Load/Save OS Random Seed.
         Starting systemd-machine-id-commit…ave Transient machine-id to Disk...
[  OK  ] Started systemd-rfkill.service - Load/Save RF Kill Switch Status.
[  OK  ] Started systemd-networkd.service - Network Configuration.
         Starting systemd-networkd-persiste…tent Storage in systemd-networkd...
[  OK  ] Finished systemd-machine-id-commit… Save Transient machine-id to Disk.
[  OK  ] Started systemd-resolved.service - Network Name Resolution.
[  OK  ] Reached target nss-lookup.target - Host and Network Name Lookups.
[  OK  ] Finished systemd-networkd-persiste…istent Storage in systemd-networkd.
[  OK  ] Finished armbian-zram-config.service - Armbian ZRAM config.
         Starting armbian-ramlog.service - Armbian memory supported logging...
[  OK  ] Finished armbian-ramlog.service - Armbian memory supported logging.
         Starting systemd-journald.service - Journal Service...
[  OK  ] Started systemd-journald.service - Journal Service.
         Starting systemd-journal-flush.ser…sh Journal to Persistent Storage...
[  OK  ] Finished systemd-journal-flush.ser…lush Journal to Persistent Storage.
         Starting systemd-tmpfiles-setup.se…ate System Files and Directories...
[  OK  ] Finished systemd-tmpfiles-setup.se…reate System Files and Directories.
         Starting ldconfig.service - Rebuild Dynamic Linker Cache...
         Starting systemd-journal-catalog-u…ervice - Rebuild Journal Catalog...
[  OK  ] Finished systemd-journal-catalog-u….service - Rebuild Journal Catalog.
[  OK  ] Finished ldconfig.service - Rebuild Dynamic Linker Cache.
         Starting systemd-update-done.service - Update is Completed...
[  OK  ] Finished systemd-update-done.service - Update is Completed.
[  OK  ] Reached target sysinit.target - System Initialization.
[  OK  ] Started apt-daily.timer - Daily apt download activities.
[  OK  ] Started apt-daily-upgrade.timer - …y apt upgrade and clean activities.
[  OK  ] Started dpkg-db-backup.timer - Daily dpkg database backup timer.
[  OK  ] Started e2scrub_all.timer - Period…Metadata Check for All Filesystems.
[  OK  ] Started fake-hwclock-save.timer - Periodically save current clock.
[  OK  ] Started fstrim.timer - Discard unused filesystem blocks once a week.
[  OK  ] Started logrotate.timer - Daily rotation of log files.
[  OK  ] Started man-db.timer - Daily man-db regeneration.
[  OK  ] Started systemd-tmpfiles-clean.tim…y Cleanup of Temporary Directories.
[  OK  ] Reached target timers.target - Timer Units.
[  OK  ] Listening on dbus.socket - D-Bus System Message Bus Socket.
[  OK  ] Listening on sshd-unix-local.socke…temd-ssh-generator, AF_UNIX Local).
[  OK  ] Listening on systemd-hostnamed.socket - Hostname Service Socket.
[  OK  ] Reached target sockets.target - Socket Units.
         Starting armbian-hardware-monitor.…ce - Armbian hardware monitoring...
         Starting armbian-hardware-optimize… - Armbian hardware optimization...
         Starting armbian-led-state.service - Armbian leds state...
         Starting armbian-resize-filesystem…vice - Armbian filesystem resize...
[  OK  ] Finished armbian-hardware-monitor.…vice - Armbian hardware monitoring.
[  OK  ] Finished armbian-led-state.service - Armbian leds state.
[  OK  ] Finished armbian-hardware-optimize…ce - Armbian hardware optimization.
[  OK  ] Finished armbian-resize-filesystem…ervice - Armbian filesystem resize.
[  OK  ] Reached target basic.target - Basic System.
[  OK  ] Started cron.service - Regular background program processing daemon.
         Starting dbus.service - D-Bus System Message Bus...
         Starting e2scrub_reap.service - Re…ne ext4 Metadata Check Snapshots...
         Starting rsyslog.service - System Logging Service...
         Starting systemd-logind.service - User Login Management...
[  OK  ] Started dbus.service - D-Bus System Message Bus.
         Starting wpa_supplicant.service - WPA supplicant...
[  OK  ] Started wpa_supplicant.service - WPA supplicant.
[  OK  ] Reached target network.target - Network.
         Starting rc-local.service - /etc/rc.local Compatibility...
         Starting ssh.service - OpenBSD Secure Shell server...
         Starting systemd-user-sessions.service - Permit User Sessions...
[  OK  ] Started rsyslog.service - System Logging Service.
[  OK  ] Started rc-local.service - /etc/rc.local Compatibility.
[  OK  ] Finished systemd-user-sessions.service - Permit User Sessions.
[  OK  ] Started serial-getty@ttyFIQ0.service - Serial Getty on ttyFIQ0.
[  OK  ] Started systemd-logind.service - User Login Management.
[  OK  ] Started ssh.service - OpenBSD Secure Shell server.
[  OK  ] Started armbian-firstrun.service - Armbian first run tasks.
[  OK  ] Created slice system-getty.slice - Slice /system/getty.
[  OK  ] Finished e2scrub_reap.service - Re…line ext4 Metadata Check Snapshots.
[  OK  ] Finished console-setup.service - Set console font and keymap.

luckfox-lyra-ultra-w login: root (automatic login)


Waiting for system to finish booting ...
         Stopping ssh.service - OpenBSD Secure Shell server...
[  OK  ] Stopped ssh.service - OpenBSD Secure Shell server.
         Starting ssh.service - OpenBSD Secure Shell server...
[  OK  ] Started ssh.service - OpenBSD Secure Shell server.
         Stopping ssh.service - OpenBSD Secure Shell server...
[  OK  ] Stopped ssh.service - OpenBSD Secure Shell server.
         Starting ssh.service - OpenBSD Secure Shell server...
[  OK  ] Started ssh.service - OpenBSD Secure Shell server.

 

As you can see from the logs, there is a problem with loading either boot or rk3506b-luckfox-lyra-ultra.dtb

 

 

Posted

So now it runs Linux at least.

The question is why difference between LOG1 and LOG2?

Is it because you reflashed it as well? Or just powercycle? And what image or what Armbian build command is it? How can people reproduce? 

You should set loglevel=7 so at least ohers can see what kernel is running. 

 

Random behavior mostly is because of HW issues. So powersupply not OK or bad storage or the flashing introduces corrupt datablock on the storage, bad cable, bad Windows computer/software.

 

As it seems to be able to run Armbian Linux, you can also build/prepare a more convenient image, like with NetworkManager, Btrfs rootfs, etc. And completely prepare it first, as container or virtual machine. 

 

Posted
1 час назад, eselarm сказал:

Random behavior mostly is because of HW issues. So powersupply not OK or bad storage or the flashing introduces corrupt datablock on the storage, bad cable, bad Windows computer/software.

When I flash the Ubuntu 22.04 firmware from the board's developers - https://wiki.luckfox.com/Luckfox-Lyra/Image-flashing
everything works fine. I flash it using the same methods as Armbian. If I flash the Armbian image, the device doesn't work. Therefore, I conclude that the quote "Random behavior is mostly due to hardware issues. So, powersupply is not OK, or bad storage, or the flashing introduces corrupt data blocks on the storage, a bad cable, or bad Windows computer/software." has absolutely nothing to do with it.

Log 2 is immediately after rebooting after flashing.
Log 1 is after the second reboot; this happens (not always).
I tried flashing the firmware both through Linux and the rkdeveloptool program.

Board into Maskrom mode
rkdeveloptool ld
rkdeveloptool ef
sudo rkdeveloptool wl 0 Armbian-unofficial_26.02.0-trunk_Luckfox-lyra-ultra-w_trixie_vendor_6.1.115_minimal.img
sudo rkdeveloptool rd

The firmware update worked perfectly, without any errors. But after rebooting, the device was inaccessible.

I flashed the image at address 0x0 using the RKDevTool_Release_v3.31 program in Windows - the result is the same.

I compiled the firmware myself with these parameters

./compile.sh BOARD=luckfox-lyra-ultra-w BRANCH=vendor KERNEL_CONFIGURE=no DEB_COMPRESS=xz KERNEL_BTF=yes INSTALL_ARMBIAN_FIRMWARE=no BUILD_DESKTOP=no BUILD_MINIMAL=yes RELEASE=trixie

The firmware was flashed perfectly without errors - after rebooting the device is inaccessible.

I downloaded the firmware from Luckfox Lyra Ultra W here - https://github.com/armbian/community/releases  since the first release (tried everything)

The firmware was flashed perfectly without errors - after rebooting the device is inaccessible.

I think the hardware problem is not in my device (since everything works on other firmware), but the problem is in the armbian firmware itself.

I'm really hoping that at least one person who has this board will come along and try installing this firmware. I'm curious to see if it works for them. 🙂

Posted (edited)

OK so HW seems OK. And you still use vendor kernel as in 1 of your first messages, that was not clear to me.

Maybe as a check, tell what CPU's are in that device? 

I did not know this '6.1.115' also runs as 32-bit, but the problem then is likely vendor kernel and mainline u-boot; That does not correctly work out of the box on any any of my 64-bit Rockchip devices.

So use older U-Boot, what should work I think is the U-Boot from the company Ubuntu22 image and the Armbian vendor kernel+DTB. It means what I indicate, you need to compose your own image by patching some own U-boot in it before flashing or change Armbian build such that u-boot and kernel are a compatible set. So naturally, pick mainline kernel, so edge or current. 

Edited by eselarm
Posted (edited)
42 минуты назад, eselarm сказал:

So use older U-Boot, what should work I think is the U-Boot from the company Ubuntu22 image and the Armbian vendor kernel+DTB.

Unfortunately, my knowledge is completely lacking in this. I don't even know how to do it (

If you have some free time, could you please help me create a firmware with a patched U-Boot?
I know it's a lot to ask. Forgive me. But I don't know what to do anymore. The manufacturer's Ubuntu 22 is a pain in the ass; I can't even run Docker on it, and so on.

I can upload the manufacturer's U-Boot (Ubuntu 22), but if you need anything else, I'll share everything I have without any problems.

uboot_22_ubuntu.7z

Edited by Malay
Posted

Extract  the 7z file in the same folder as Armbian-unofficial_26.02.0-trunk_Luckfox-lyra-ultra-w_trixie_vendor_6.1.115_minimal.img

Then do:

dd if=uboot.img of=Armbian-unofficial_26.02.0-trunk_Luckfox-lyra-ultra-w_trixie_vendor_6.1.115_minimal.img bs=32k seek=1 conv=notrunc

 

Then you have an old Rockchip 2017.09 u-boot, my guess it that that shall work with 6.1.115

But you are the first one, the tester of it.

Also, I did a 32-bit rockchip edge kernel test build and I see no DTB file for Luckfox-lyra-ultra-w

That means it is not supported for mainline. At least it seems correct that one cannot build a working image now as legacy u-boot is not available anymore.

In theory, the 2025.10-rc4 u-boot might be such that you can get a mainlne edge rockchip kernel running, EFI booted maybe, but expect same strange errors or freezes.

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