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
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:~#

 

Edited by Malay

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