OpenWrt One - Setup, Install, and Discussion

My problem is solved

I could not create a custom image 24.10.0-rc2 because all the packages had not been built and made available to users.

  1. I created the custom image, it is installed and operational.
  2. Now, with LuCi, I have access to Update lists..

It's as if a file was missing in the basic firmware allowing access to the Internet for a 4G/5G box purchased personally, the SIM card has a mobile number and not a landline number.

I know that there is no connection problem, with a 4G box, SIM card provided by an ISP.

I will be able to configure my router.

Finally, I know why an image cannot be built.

The only solution, with a personal box, is to do tests in "OpenWrt Firmware selector" and wait for all the packages to be built. Phew! what a pain! heh! heh!

Manual installation of IPK packages remains pending. A solution would be welcome, my knowledge is limited, even if I browse the forum.

1 Like

I used this (well the previous release that was euphoric blue, couldn't get the euphoric blue charge cable so settled for pastel blue).
OfficeWorks - Otto 30W usb-c pastel blue

EDIT:
be sure to use a USB-C to USB-C cable - you need the usb-c PD negotiation to happen.
OfficeWorks - Otto USB-C 2 USB-C 1m pastel blue

2 Likes

Cheers Bill. Appreciate it.

     Entry Point:  unavailable
     Hash algo:    crc32
     Hash value:   20d92276
     Hash algo:    sha1
     Hash value:   d089a2594e07d090861bd24825f771c39d71b96f
    Image 2 (fdt-1)
     Description:  ARM64 OpenWrt openwrt_one device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x4685eb58
     Data Size:    29860 Bytes = 29.2 KiB
     Architecture: AArch64
     Load Address: 0x43f00000
     Hash algo:    crc32
     Hash value:   679d6e39
     Hash algo:    sha1
     Hash value:   ce5351a5bab3d6e368d53719ef68fa64b548da9d
    Default Configuration: 'config-1'
    Configuration 0 (config-1)
     Description:  OpenWrt openwrt_one
     Kernel:       kernel-1
     Init Ramdisk: initrd-1
     FDT:          fdt-1
## Checking hash(es) for FIT Image at 46000000 ...
   Hash(es) for Image 0 (kernel-1): crc32+ sha1+ 
   Hash(es) for Image 1 (initrd-1): crc32+ sha1+ 
   Hash(es) for Image 2 (fdt-1): crc32+ sha1+ 
Remove UBI volume recovery (id 2)
Creating dynamic volume recovery of size 8847360
8847360 bytes written to volume recovery
Using ethernet@15100000 device
TFTP from server 192.168.11.23; our IP address is 192.168.11.11
Filename 'openwrt-mediatek-filogic-openwrt_one-initramfs.itb'.
Load address: 0x46000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##################
         1.6 MiB/s
done
Bytes transferred = 8847360 (870000 hex)

## Checking Image at 46000000 ...
   FIT image found
   FIT description: ARM64 OpenWrt FIT (Flattened Image Tree)
    Image 0 (kernel-1)
     Description:  ARM64 OpenWrt Linux-6.6.63
     Type:         Kernel Image
     Compression:  lzma compressed
     Data Start:   0x460000e8
     Data Size:    4393543 Bytes = 4.2 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x44000000
     Entry Point:  0x44000000
     Hash algo:    crc32
     Hash value:   0bb8923b
     Hash algo:    sha1
     Hash value:   d5d99b0d02e1fdd59d39dc705aae3f728e1d9c03
    Image 1 (initrd-1)
     Description:  ARM64 OpenWrt openwrt_one initrd
     Type:         RAMDisk Image
     Compression:  uncompressed
     Data Start:   0x46430c68
     Data Size:    4382184 Bytes = 4.2 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: unavailable
     Entry Point:  unavailable
     Hash algo:    crc32
     Hash value:   20d92276
     Hash algo:    sha1
     Hash value:   d089a2594e07d090861bd24825f771c39d71b96f
    Image 2 (fdt-1)
     Description:  ARM64 OpenWrt openwrt_one device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x4685eb58
     Data Size:    29860 Bytes = 29.2 KiB
     Architecture: AArch64
     Load Address: 0x43f00000
     Hash algo:    crc32
     Hash value:   679d6e39
     Hash algo:    sha1
     Hash value:   ce5351a5bab3d6e368d53719ef68fa64b548da9d
    Default Configuration: 'config-1'
    Configuration 0 (config-1)
     Description:  OpenWrt openwrt_one
     Kernel:       kernel-1
     Init Ramdisk: initrd-1
     FDT:          fdt-1
## Checking hash(es) for FIT Image at 46000000 ...
   Hash(es) for Image 0 (kernel-1): crc32+ sha1+ 
   Hash(es) for Image 1 (initrd-1): crc32+ sha1+ 
   Hash(es) for Image 2 (fdt-1): crc32+ sha1+ 
Remove UBI volume recovery (id 2)
Creating dynamic volume recovery of size 8847360
8847360 bytes written to volume recovery
Using ethernet@15100000 device
TFTP from server 192.168.11.23; our IP address is 192.168.11.11
Filename 'openwrt-mediatek-filogic-openwrt_one-initramfs.itb'.
Load address: 0x46000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##################
         1.6 MiB/s
done
Bytes transferred = 8847360 (870000 hex)

## Checking Image at 46000000 ...
   FIT image found
   FIT description: ARM64 OpenWrt FIT (Flattened Image Tree)
    Image 0 (kernel-1)
     Description:  ARM64 OpenWrt Linux-6.6.63
     Type:         Kernel Image
     Compression:  lzma compressed
     Data Start:   0x460000e8
     Data Size:    4393543 Bytes = 4.2 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x44000000
     Entry Point:  0x44000000
     Hash algo:    crc32
     Hash value:   0bb8923b
     Hash algo:    sha1
     Hash value:   d5d99b0d02e1fdd59d39dc705aae3f728e1d9c03
    Image 1 (initrd-1)
     Description:  ARM64 OpenWrt openwrt_one initrd
     Type:         RAMDisk Image
     Compression:  uncompressed
     Data Start:   0x46430c68
     Data Size:    4382184 Bytes = 4.2 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: unavailable
     Entry Point:  unavailable
     Hash algo:    crc32
     Hash value:   20d92276
     Hash algo:    sha1
     Hash value:   d089a2594e07d090861bd24825f771c39d71b96f
    Image 2 (fdt-1)
     Description:  ARM64 OpenWrt openwrt_one device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x4685eb58
     Data Size:    29860 Bytes = 29.2 KiB
     Architecture: AArch64
     Load Address: 0x43f00000
     Hash algo:    crc32
     Hash value:   679d6e39
     Hash algo:    sha1
     Hash value:   ce5351a5bab3d6e368d53719ef68fa64b548da9d
    Default Configuration: 'config-1'
    Configuration 0 (config-1)
     Description:  OpenWrt openwrt_one
     Kernel:       kernel-1
     Init Ramdisk: initrd-1
     FDT:          fdt-1
## Checking hash(es) for FIT Image at 46000000 ...
   Hash(es) for Image 0 (kernel-1): crc32+ sha1+ 
   Hash(es) for Image 1 (initrd-1): crc32+ sha1+ 
   Hash(es) for Image 2 (fdt-1): crc32+ sha1+ 
Remove UBI volume recovery (id 2)
Creating dynamic volume recovery of size 8847360
8847360 bytes written to volume recovery
Using ethernet@15100000 device
TFTP from server 192.168.11.23; our IP address is 192.168.11.11
Filename 'openwrt-mediatek-filogic-openwrt_one-initramfs.itb'.
Load address: 0x46000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##################
         6.6 MiB/s
done
Bytes transferred = 8847360 (870000 hex)

## Checking Image at 46000000 ...
   FIT image found
   FIT description: ARM64 OpenWrt FIT (Flattened Image Tree)
    Image 0 (kernel-1)
     Description:  ARM64 OpenWrt Linux-6.6.63
     Type:         Kernel Image
     Compression:  lzma compressed
     Data Start:   0x460000e8
     Data Size:    4393543 Bytes = 4.2 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x44000000
     Entry Point:  0x44000000
     Hash algo:    crc32
     Hash value:   0bb8923b
     Hash algo:    sha1
     Hash value:   d5d99b0d02e1fdd59d39dc705aae3f728e1d9c03
    Image 1 (initrd-1)
     Description:  ARM64 OpenWrt openwrt_one initrd
     Type:         RAMDisk Image
     Compression:  uncompressed
     Data Start:   0x46430c68
     Data Size:    4382184 Bytes = 4.2 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: unavailable
     Entry Point:  unavailable
     Hash algo:    crc32
     Hash value:   20d92276
     Hash algo:    sha1
     Hash value:   d089a2594e07d090861bd24825f771c39d71b96f
    Image 2 (fdt-1)
     Description:  ARM64 OpenWrt openwrt_one device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x4685eb58
     Data Size:    29860 Bytes = 29.2 KiB
     Architecture: AArch64
     Load Address: 0x43f00000
     Hash algo:    crc32
     Hash value:   679d6e39
     Hash algo:    sha1
     Hash value:   ce5351a5bab3d6e368d53719ef68fa64b548da9d
    Default Configuration: 'config-1'
    Configuration 0 (config-1)
     Description:  OpenWrt openwrt_one
     Kernel:       kernel-1
     Init Ramdisk: initrd-1
     FDT:          fdt-1
## Checking hash(es) for FIT Image at 46000000 ...
   Hash(es) for Image 0 (kernel-1): crc32+ sha1+ 
   Hash(es) for Image 1 (initrd-1): crc32+ sha1+ 
   Hash(es) for Image 2 (fdt-1): crc32+ sha1+ 
Remove UBI volume recovery (id 2)
Creating dynamic volume recovery of size 8847360
8847360 bytes written to volume recovery
Using ethernet@15100000 device
TFTP from server 192.168.11.23; our IP address is 192.168.11.11
Filename 'openwrt-mediatek-filogic-openwrt_one-initramfs.itb'.
Load address: 0x46000000
Loading: ##T ###############################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##################
         702.1 KiB/s
done
Bytes transferred = 8847360 (870000 hex)

## Checking Image at 46000000 ...
   FIT image found
   FIT description: ARM64 OpenWrt FIT (Flattened Image Tree)
    Image 0 (kernel-1)
     Description:  ARM64 OpenWrt Linux-6.6.63
     Type:         Kernel Image
     Compression:  lzma compressed
     Data Start:   0x460000e8
     Data Size:    4393543 Bytes = 4.2 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x44000000
     Entry Point:  0x44000000
     Hash algo:    crc32
     Hash value:   0bb8923b
     Hash algo:    sha1
     Hash value:   d5d99b0d02e1fdd59d39dc705aae3f728e1d9c03
    Image 1 (initrd-1)
     Description:  ARM64 OpenWrt openwrt_one initrd
     Type:         RAMDisk Image
     Compression:  uncompressed
     Data Start:   0x46430c68
     Data Size:    4382184 Bytes = 4.2 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: unavailable
     Entry Point:  unavailable
     Hash algo:    crc32
     Hash value:   20d92276
     Hash algo:    sha1
     Hash value:   d089a2594e07d090861bd24825f771c39d71b96f
    Image 2 (fdt-1)
     Description:  ARM64 OpenWrt openwrt_one device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x4685eb58
     Data Size:    29860 Bytes = 29.2 KiB
     Architecture: AArch64
     Load Address: 0x43f00000
     Hash algo:    crc32
     Hash value:   679d6e39
     Hash algo:    sha1
     Hash value:   ce5351a5bab3d6e368d53719ef68fa64b548da9d
    Default Configuration: 'config-1'
    Configuration 0 (config-1)
     Description:  OpenWrt openwrt_one
     Kernel:       kernel-1
     Init Ramdisk: initrd-1
     FDT:          fdt-1
## Checking hash(es) for FIT Image at 46000000 ...
   Hash(es) for Image 0 (kernel-1): crc32+ sha1+ 
   Hash(es) for Image 1 (initrd-1): crc32+ sha1+ 
   Hash(es) for Image 2 (fdt-1): crc32+ sha1+ 
Remove UBI volume recovery (id 2)
Creating dynamic volume recovery of size 8847360
8847360 bytes written to volume recovery
Using ethernet@15100000 device
TFTP from server 192.168.11.23; our IP address is 192.168.11.11
Filename 'openwrt-mediatek-filogic-openwrt_one-initramfs.itb'.
Load address: 0x46000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##################
         6.4 MiB/s
done
Bytes transferred = 8847360 (870000 hex)

## Checking Image at 46000000 ...
   FIT image found
   FIT description: ARM64 OpenWrt FIT (Flattened Image Tree)
    Image 0 (kernel-1)
     Description:  ARM64 OpenWrt Linux-6.6.63
     Type:         Kernel Image
     Compression:  lzma compressed
     Data Start:   0x460000e8
     Data Size:    4393543 Bytes = 4.2 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x44000000
     Entry Point:  0x44000000
     Hash algo:    crc32
     Hash value:   0bb8923b
     Hash algo:    sha1
     Hash value:   d5d99b0d02e1fdd59d39dc705aae3f728e1d9c03
    Image 1 (initrd-1)
     Description:  ARM64 OpenWrt openwrt_one initrd
     Type:         RAMDisk Image
     Compression:  uncompressed
     Data Start:   0x46430c68
     Data Size:    4382184 Bytes = 4.2 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: unavailable
     Entry Point:  unavailable
     Hash algo:    crc32
     Hash value:   20d92276
     Hash algo:    sha1
     Hash value:   d089a2594e07d090861bd24825f771c39d71b96f
    Image 2 (fdt-1)
     Description:  ARM64 OpenWrt openwrt_one device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x4685eb58
     Data Size:    29860 Bytes = 29.2 KiB
     Architecture: AArch64
     Load Address: 0x43f00000
     Hash algo:    crc32
     Hash value:   679d6e39
     Hash algo:    sha1
     Hash value:   ce5351a5bab3d6e368d53719ef68fa64b548da9d
    Default Configuration: 'config-1'
    Configuration 0 (config-1)
     Description:  OpenWrt openwrt_one
     Kernel:       kernel-1
     Init Ramdisk: initrd-1
     FDT:          fdt-1
## Checking hash(es) for FIT Image at 46000000 ...
   Hash(es) for Image 0 (kernel-1): crc32+ sha1+ 
   Hash(es) for Image 1 (initrd-1): crc32+ sha1+ 
   Hash(es) for Image 2 (fdt-1): crc32+ sha1+ 
Remove UBI volume recovery (id 2)
Creating dynamic volume recovery of size 8847360
8847360 bytes written to volume recovery
Using ethernet@15100000 device
TFTP from server 192.168.11.23; our IP address is 192.168.11.11
Filename 'openwrt-mediatek-filogic-openwrt_one-initramfs.itb'.
Load address: 0x46000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##################
         6.5 MiB/s
done
Bytes transferred = 8847360 (870000 hex)

## Checking Image at 46000000 ...
   FIT image found
   FIT description: ARM64 OpenWrt FIT (Flattened Image Tree)
    Image 0 (kernel-1)
     Description:  ARM64 OpenWrt Linux-6.6.63
     Type:         Kernel Image
     Compression:  lzma compressed
     Data Start:   0x460000e8
     Data Size:    4393543 Bytes = 4.2 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x44000000
     Entry Point:  0x44000000
     Hash algo:    crc32
     Hash value:   0bb8923b
     Hash algo:    sha1
     Hash value:   d5d99b0d02e1fdd59d39dc705aae3f728e1d9c03
    Image 1 (initrd-1)
     Description:  ARM64 OpenWrt openwrt_one initrd
     Type:         RAMDisk Image
     Compression:  uncompressed
     Data Start:   0x46430c68
     Data Size:    4382184 Bytes = 4.2 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: unavailable
     Entry Point:  unavailable
     Hash algo:    crc32
     Hash value:   20d92276
     Hash algo:    sha1
     Hash value:   d089a2594e07d090861bd24825f771c39d71b96f
    Image 2 (fdt-1)
     Description:  ARM64 OpenWrt openwrt_one device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x4685eb58
     Data Size:    29860 Bytes = 29.2 KiB
     Architecture: AArch64
     Load Address: 0x43f00000
     Hash algo:    crc32
     Hash value:   679d6e39
     Hash algo:    sha1
     Hash value:   ce5351a5bab3d6e368d53719ef68fa64b548da9d
    Default Configuration: 'config-1'
    Configuration 0 (config-1)
     Description:  OpenWrt openwrt_one
     Kernel:       kernel-1
     Init Ramdisk: initrd-1
     FDT:          fdt-1
## Checking hash(es) for FIT Image at 46000000 ...
   Hash(es) for Image 0 (kernel-1): crc32+ sha1+ 
   Hash(es) for Image 1 (initrd-1): crc32+ sha1+ 
   Hash(es) for Image 2 (fdt-1): crc32+ sha1+ 
Remove UBI volume recovery (id 2)
Creating dynamic volume recovery of size 8847360
8847360 bytes written to volume recovery
Using ethernet@15100000 device
TFTP from server 192.168.11.23; our IP address is 192.168.11.11
Filename 'openwrt-mediatek-filogic-openwrt_one-initramfs.itb'.
Load address: 0x46000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##################
         6.6 MiB/s
done
Bytes transferred = 8847360 (870000 hex)

## Checking Image at 46000000 ...
   FIT image found
   FIT description: ARM64 OpenWrt FIT (Flattened Image Tree)
    Image 0 (kernel-1)
     Description:  ARM64 OpenWrt Linux-6.6.63
     Type:         Kernel Image
     Compression:  lzma compressed
     Data Start:   0x460000e8
     Data Size:    4393543 Bytes = 4.2 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x44000000
     Entry Point:  0x44000000
     Hash algo:    crc32
     Hash value:   0bb8923b
     Hash algo:    sha1
     Hash value:   d5d99b0d02e1fdd59d39dc705aae3f728e1d9c03
    Image 1 (initrd-1)
     Description:  ARM64 OpenWrt openwrt_one initrd
     Type:         RAMDisk Image
     Compression:  uncompressed
     Data Start:   0x46430c68
     Data Size:    4382184 Bytes = 4.2 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: unavailable
     Entry Point:  unavailable
     Hash algo:    crc32
     Hash value:   20d92276
     Hash algo:    sha1
     Hash value:   d089a2594e07d090861bd24825f771c39d71b96f
    Image 2 (fdt-1)
     Description:  ARM64 OpenWrt openwrt_one device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x4685eb58
     Data Size:    29860 Bytes = 29.2 KiB
     Architecture: AArch64
     Load Address: 0x43f00000
     Hash algo:    crc32
     Hash value:   679d6e39
     Hash algo:    sha1
     Hash value:   ce5351a5bab3d6e368d53719ef68fa64b548da9d
    Default Configuration: 'config-1'
    Configuration 0 (config-1)
     Description:  OpenWrt openwrt_one
     Kernel:       kernel-1
     Init Ramdisk: initrd-1
     FDT:          fdt-1
## Checking hash(es) for FIT Image at 46000000 ...
   Hash(es) for Image 0 (kernel-1): crc32+ sha1+ 
   Hash(es) for Image 1 (initrd-1): crc32+ sha1+ 
   Hash(es) for Image 2 (fdt-1): crc32+ sha1+ 
Remove UBI volume recovery (id 2)
Creating dynamic volume recovery of size 8847360
8847360 bytes written to volume recovery
Using ethernet@15100000 device
TFTP from server 192.168.11.23; our IP address is 192.168.11.11
Filename 'openwrt-mediatek-filogic-openwrt_one-initramfs.itb'.
Load address: 0x46000000
Loading: ###

Hi, what is my problem?

Bereft of context, we can only postulate.

and thank you for posting the same loop 8 times.

Just an FYI, I received my unit earlier this week, and I brought it up without any problems. I upgraded the firmware to 24.10.0-rc2 from this link:

https://firmware-selector.openwrt.org/?version=24.10.0-rc2&target=mediatek%2Ffilogic&id=openwrt_one

without any issues. It's running great!

3 Likes

Just saw a new feature by heise.de ct3003 on the Openwrt One:
Dieser 100 Euro Router kann alles OpenWrt-One

Youtube Video

German

SFC has posted an update to the developers mailing list about the
OpenWrt One Project

2 Likes

Would you mind providing some further detail on exactly how you successfully upgraded the firmware? The OpenWrt One Howto document says "The easiest way to do is is via USB." Did you prepare a USB drive with the openwrt-mediatek-filogic-openwrt_one-squashfs-sysupgrade.itb file? Did you then boot with that USB drive inserted in the USB 2.0 host port? If you did not do this USB drive method then what other method did you use to upgrade the firmware? Thanks!

Hi, you can see the video demonstrate this process here.

2 Likes

The USB method from the .pdf works as advertised.

You can also upgrade firmware

I have not used u-boot as yet, but I would imagine tftp would also be an option.

1 Like

I used the firmware selector to built a sysupgrade image with all the additions I wanted to include:

bash ethtool-full flent-tools fping htop iftop ip-full iputils-tracepath irqbalance screen linuxptp lm-sensors lm-sensors-detect luci mc mtr-json nano-full netcat nlbwmon pciutils smartd smartmontools sqm-scripts luci-app-sqm strace swap-utils tcpdump usbutils vim-full kmod-nvme nvme-cli netperf collectd collectd-mod-conntrack collectd-mod-cpu collectd-mod-cpufreq collectd-mod-irq collectd-mod-iwinfo collectd-mod-memory collectd-mod-rrdtool collectd-mod-sensors collectd-mod-sqm collectd-mod-thermal collectd-mod-wireless luci-app-bcp38 luci-app-commands luci-app-filebrowser luci-app-irqbalance luci-app-nlbwmon luci-app-statistics fdisk cfdisk gdisk cgdisk libparted parted e2fsprogs kmod-fs-ext4 tc-full iputils-ping coreutils wireguard-tools ip-full kmod-veth iperf3 git-http speedtest-netperf

in case you wonder...
then copied that via SSH to the /tmp directory on the One and
logged into the One (via the USB console)
called cd /tmp ; sysupgrade -v ./openwrt-24.10.0-rc4-79659d805e8c-mediatek-filogic-openwrt_one-squashfs-sysupgrade.itb
and watched this succeed...
(I had done this after the first boot and basic configuration to switch to rc02, snapshots are nice, but for an AP I prefer luci, and it turned out quickly that instead of getting a nice new toy, my One will become a dumb AP pretty soon...)

2 Likes

Indeed I did successfully update the firmware using the USB method. I figured out a few things to do so though which may be worth mentioning to others.

  1. Although the current OpenWrt One Howto document doesn't specify this the TOH page https://openwrt.org/toh/openwrt/one provides additional detail to format the USB drive as FAT32.

  2. The bootloader looks for a file named exactly openwrt-mediatek-filogic-openwrt_one-squashfs-sysupgrade.itb. So if you download, for example, openwrt-24.10.0-rc4-mediatek-filogic-openwrt_one-squashfs-sysupgrade.itb from firmware selector then you would have to rename the file on the USB drive to delete '24.10.0-rc4-' characters out of it.

  3. The youtube video that vanst pointed to illustrated that the front side LED did not turn green by itself because of an LED light loop error. I experienced the same thing -- the bootloader hung on this error after it actually did already sysupgrade the firmware, and it continued to just flash the amber light closest to the USB 2.0 host port. But I was able to see what had happened in the USB serial console, which was very helpful. This hang on this error after the sysupgrade indeed in this case prevented completion of the firmware update process that the OpenWrt One Howto document presumes. But because the sysupgrade actually did complete I just power-cycled the device after ensuring that the DIP switch was still on NAND, and it booted with the sysupgraded firmware.

Thanks all for the work and support for this device! Now to just figure out how to persist settings through the next sysupgrade.

2 Likes

Nice catch+ based on using a Release version. (I only build from source main so I appreciate as will others for these additional nuggets.)

Edit

I would suggest looking at https://openwrt.org/docs/guide-developer/uci-defaults.

Always taking a backup prior to an upgrade is highly suggested for reference if needed. For the most part, most settings will migrate properly from prior release to current release under sysupgrade. Just go over the Release Announcement to verify prior to flashing.

1 Like

USB Flashing NAND recovery method would not work for me at all as it would not invoke ubiformat ?

would get output below and just reboot without flashing

(ouput was reduced as it was long)

Jump to BL


NOTICE:  BL2: v2.10.0	(release):OpenWrt v2024.01.17~bacca82a-3 (mt7981-spim-nand-ubi-ddr4)
NOTICE:  BL2: Built : 22:11:55, Oct 22 2024
NOTICE:  WDT: Cold boot
NOTICE:  WDT: disabled
NOTICE:  EMI: Using DDR4 settings
NOTICE:  EMI: Detected DRAM size: 1024MB
NOTICE:  EMI: complex R/W mem test passed
NOTICE:  CPU: MT7981 (1300MHz)
NOTICE:  SPI_NAND parses attributes from parameter page.
NOTICE:  SPI_NAND Detected ID 0xef
NOTICE:  Page size 2048, Block size 131072, size 268435456
NOTICE:  UBI: scanning [0x100000 - 0x10000000] ...
NOTICE:  UBI: Bad EC magic in block 1060 ffffffff
NOTICE:  UBI: Bad EC magic in block 1061 ffffffff
NOTICE:  UBI: Bad EC magic in block 1062 ffffffff
NOTICE:  UBI: Bad EC magic in block 1063 ffffffff
..
NOTICE:  UBI: Bad EC magic in block 2026 ffffffff
NOTICE:  UBI: Bad EC magic in block 2027 ffffffff
NOTICE:  UBI: Bad EC magic in block 2028 ffffffff
NOTICE:  UBI: Bad EC magic in block 2029 ffffffff
NOTICE:  UBI: Bad EC magic in block 2030 ffffffff
NOTICE:  UBI: Bad EC magic in block 2031 ffffffff
NOTICE:  UBI: Bad EC magic in block 2032 ffffffff
NOTICE:  UBI: Bad EC magic in block 2033 ffffffff
NOTICE:  UBI: Bad EC magic in block 2034 ffffffff
NOTICE:  UBI: Bad EC magic in block 2035 ffffffff
NOTICE:  UBI: Bad EC magic in block 2036 ffffffff
NOTICE:  UBI: Bad EC magic in block 2037 ffffffff
NOTICE:  UBI: Bad EC magic in block 2038 ffffffff
NOTICE:  UBI: Bad VID magic in block 2039 4e4d4d30
NOTICE:  UBI: scanning is finished
NOTICE:  UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
NOTICE:  UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
NOTICE:  UBI: Volume fip (Id #2) size is 960689 bytes
NOTICE:  BL2: Booting BL31
NOTICE:  BL31: v2.10.0	(release):OpenWrt v2024.01.17~bacca82a-3 (mt7981-spim-nand-ubi-ddr4)
NOTICE:  BL31: Built : 22:11:55, Oct 22 2024


U-Boot 2024.10-OpenWrt-r27893-b6bbc76c0b (Oct 22 2024 - 22:11:55 +0000)

CPU:   MediaTek MT7981
Model: OpenWrt One
DRAM:  1 GiB
Core:  44 devices, 20 uclasses, devicetree: separate
spi-nand: spi_nand spi_nand@0: Winbond SPI NAND was found.
spi-nand: spi_nand spi_nand@0: 256 MiB, block size: 128 KiB, page size: 2048, OOB size: 128
Loading Environment from UBI... SF: Detected w25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
ubi0 error: scan_peb: bad image sequence number 1705631169 in PEB 1016, expected 1716284138
Erase counter header dump:
	magic          0x55424923
	version        1
	ec             1
	vid_hdr_offset 2048
	data_offset    4096
	image_seq      1705631169
	hdr_crc        0xe39430d5
erase counter header hexdump:
00000000: 55 42 49 23 01 00 00 00 00 00 00 00 00 00 00 01 00 00 08 00 00 00 10 00 65 a9 dd c1 00 00 00 00  UBI#....................e.......
00000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e3 94 30 d5  ..............................0.
ubi0 error: ubi_attach_mtd_dev: failed to attach mtd3, error -22
UBI error: cannot attach mtd3
UBI error: cannot initialize UBI, error -22
UBI init error 22
Please check, if the correct MTD partition is used (size big enough?)

** Cannot find mtd partition "ubi"
In:    serial@11002000
Out:   serial@11002000
Err:   serial@11002000
reset button found
Loading Environment from UBI... ubi0 error: scan_peb: bad image sequence number 1705631169 in PEB 1016, expected 1716284138
Erase counter header dump:
	magic          0x55424923
	version        1
	ec             1
	vid_hdr_offset 2048
	data_offset    4096
	image_seq      1705631169
	hdr_crc        0xe39430d5
erase counter header hexdump:
00000000: 55 42 49 23 01 00 00 00 00 00 00 00 00 00 00 01 00 00 08 00 00 00 10 00 65 a9 dd c1 00 00 00 00  UBI#....................e.......
00000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e3 94 30 d5  ..............................0.
ubi0 error: ubi_attach_mtd_dev: failed to attach mtd3, error -22
UBI error: cannot attach mtd3
UBI error: cannot initialize UBI, error -22
UBI init error 22
Please check, if the correct MTD partition is used (size big enough?)

** Cannot find mtd partition "ubi"
Net:   
Warning: ethernet@15100000 (eth0) using random MAC address - d2:88:be:ff:4f:35
eth0: ethernet@15100000
Reading 131072 byte(s) at offset 0x00000000
Error, no UBI device selected!
Error, no UBI device selected!
Error, no UBI device selected!
Error, no UBI device selected!
Saving Environment to UBI... ubi0 error: scan_peb: bad image sequence number 1705631169 in PEB 1016, expected 1716284138
Erase counter header dump:
	magic          0x55424923
	version        1
	ec             1
	vid_hdr_offset 2048
	data_offset    4096
	image_seq      1705631169
	hdr_crc        0xe39430d5
erase counter header hexdump:
00000000: 55 42 49 23 01 00 00 00 00 00 00 00 00 00 00 01 00 00 08 00 00 00 10 00 65 a9 dd c1 00 00 00 00  UBI#....................e.......
00000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e3 94 30 d5  ..............................0.
ubi0 error: ubi_attach_mtd_dev: failed to attach mtd3, error -22
UBI error: cannot attach mtd3
UBI error: cannot initialize UBI, error -22
UBI init error 22
Please check, if the correct MTD partition is used (size big enough?)

** Cannot find mtd partition "ubi"
Failed (1)
Saving Environment to UBI... ubi0 error: scan_peb: bad image sequence number 1705631169 in PEB 1016, expected 1716284138
Erase counter header dump:
	magic          0x55424923
	version        1
	ec             1
	vid_hdr_offset 2048
	data_offset    4096
	image_seq      1705631169
	hdr_crc        0xe39430d5
erase counter header hexdump:
00000000: 55 42 49 23 01 00 00 00 00 00 00 00 00 00 00 01 00 00 08 00 00 00 10 00 65 a9 dd c1 00 00 00 00  UBI#....................e.......
00000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e3 94 30 d5  ..............................0.
ubi0 error: ubi_attach_mtd_dev: failed to attach mtd3, error -22
UBI error: cannot attach mtd3
UBI error: cannot initialize UBI, error -22
UBI init error 22
Please check, if the correct MTD partition is used (size big enough?)```

only tftp-boot with sysupgrae method work successfully. (as it actually invoked ubiformat)

initramfs boot

e[?25le[2Je[1;1He[1;1He[2Ke[2;3H      e[0;34m( ( ( e[1;39mOpenWrte[0;34m ) ) )  e[0;36m[SPI-NAND]e[0m       e[33mU-Boot 2024.10-OpenWrt-r27893-b6bbc76c0b (Oct 22 2024 - 22:11:55 +0000)e[0me[0Ke[3;1He[2Ke[16;1He[2Ke[17;3HPress UP/DOWN to move, ENTER to select, ESC to quite[0Ke[18;1He[2Ke[4;7He[7m1. Run default boot command.e[0me[5;7H2. Boot system via TFTP.e[6;7H3. Boot production system from NAND.e[7;7H4. Boot recovery system from NAND.e[8;7H5. Load production system via TFTP then write to NAND.e[9;7H6. Load recovery system via TFTP then write to NAND.e[10;7H7. e[31mLoad BL31+U-Boot FIP via TFTP then write to NAND.e[0me[11;7H8. e[31mLoad BL2 preloader via TFTP then write to NAND.e[0me[12;7H9. Reboot.e[13;7Ha. Reset all settings to factory defaults.e[14;7H0. Exite[16;3HHit any key to stop autoboot: 3 e[16;1He[2Ke[1;1He[2Ke[2;3H      e[0;34m( ( ( e[1;39mOpenWrte[0;34m ) ) )  e[0;36m[SPI-NAND]e[0m       e[33mU-Boot 2024.10-OpenWrt-r27893-b6bbc76c0b (Oct 22 2024 - 22:11:55 +0000)e[0me[0Ke[3;1He[2Ke[16;1He[2Ke[17;3HPress UP/DOWN to move, ENTER to select, ESC to quite[0Ke[18;1He[2Ke[4;7H1. Run default boot command.e[5;7He[7m2. Boot system via TFTP.e[0me[6;7H3. Boot production system from NAND.e[7;7H4. Boot recovery system from NAND.e[8;7H5. Load production system via TFTP then write to NAND.e[9;7H6. Load recovery system via TFTP then write to NAND.e[10;7H7. e[31mLoad BL31+U-Boot FIP via TFTP then write to NAND.e[0me[11;7H8. e[31mLoad BL2 preloader via TFTP then write to NAND.e[0me[12;7H9. Reboot.e[13;7Ha. Reset all settings to factory defaults.e[14;7H0. Exite[1;1He[2Ke[2;3H      e[0;34m( ( ( e[1;39mOpenWrte[0;34m ) ) )  e[0;36m[SPI-NAND]e[0m       e[33mU-Boot 2024.10-OpenWrt-r27893-b6bbc76c0b (Oct 22 2024 - 22:11:55 +0000)e[0me[0Ke[3;1He[2Ke[16;1He[2Ke[17;3HPress UP/DOWN to move, ENTER to select, ESC to quite[0Ke[18;1He[2Ke[4;7H1. Run default boot command.e[5;7H2. Boot system via TFTP.e[6;7He[7m3. Boot production system from NAND.e[0me[7;7H4. Boot recovery system from NAND.e[8;7H5. Load production system via TFTP then write to NAND.e[9;7H6. Load recovery system via TFTP then write to NAND.e[10;7H7. e[31mLoad BL31+U-Boot FIP via TFTP then write to NAND.e[0me[11;7H8. e[31mLoad BL2 preloader via TFTP then write to NAND.e[0me[12;7H9. Reboot.e[13;7Ha. Reset all settings to factory defaults.e[14;7H0. Exite[1;1He[2Ke[2;3H      e[0;34m( ( ( e[1;39mOpenWrte[0;34m ) ) )  e[0;36m[SPI-NAND]e[0m       e[33mU-Boot 2024.10-OpenWrt-r27893-b6bbc76c0b (Oct 22 2024 - 22:11:55 +0000)e[0me[0Ke[3;1He[2Ke[16;1He[2Ke[17;3HPress UP/DOWN to move, ENTER to select, ESC to quite[0Ke[18;1He[2Ke[4;7H1. Run default boot command.e[5;7He[7m2. Boot system via TFTP.e[0me[6;7H3. Boot production system from NAND.e[7;7H4. Boot recovery system from NAND.e[8;7H5. Load production system via TFTP then write to NAND.e[9;7H6. Load recovery system via TFTP then write to NAND.e[10;7H7. e[31mLoad BL31+U-Boot FIP via TFTP then write to NAND.e[0me[11;7H8. e[31mLoad BL2 preloader via TFTP then write to NAND.e[0me[12;7H9. Reboot.e[13;7Ha. Reset all settings to factory defaults.e[14;7H0. Exite[1;1He[2Ke[2;3H      e[0;34m( ( ( e[1;39mOpenWrte[0;34m ) ) )  e[0;36m[SPI-NAND]e[0m       e[33mU-Boot 2024.10-OpenWrt-r27893-b6bbc76c0b (Oct 22 2024 - 22:11:55 +0000)e[0me[0Ke[3;1He[2Ke[16;1He[2Ke[17;3HPress UP/DOWN to move, ENTER to select, ESC to quite[0Ke[18;1He[2Ke[4;7He[7m1. Run default boot command.e[0me[5;7H2. Boot system via TFTP.e[6;7H3. Boot production system from NAND.e[7;7H4. Boot recovery system from NAND.e[8;7H5. Load production system via TFTP then write to NAND.e[9;7H6. Load recovery system via TFTP then write to NAND.e[10;7H7. e[31mLoad BL31+U-Boot FIP via TFTP then write to NAND.e[0me[11;7H8. e[31mLoad BL2 preloader via TFTP then write to NAND.e[0me[12;7H9. Reboot.e[13;7Ha. Reset all settings to factory defaults.e[14;7H0. Exite[1;1He[2Ke[2;3H      e[0;34m( ( ( e[1;39mOpenWrte[0;34m ) ) )  e[0;36m[SPI-NAND]e[0m       e[33mU-Boot 2024.10-OpenWrt-r27893-b6bbc76c0b (Oct 22 2024 - 22:11:55 +0000)e[0me[0Ke[3;1He[2Ke[16;1He[2Ke[17;3HPress UP/DOWN to move, ENTER to select, ESC to quite[0Ke[18;1He[2Ke[4;7H1. Run default boot command.e[5;7He[7m2. Boot system via TFTP.e[0me[6;7H3. Boot production system from NAND.e[7;7H4. Boot recovery system from NAND.e[8;7H5. Load production system via TFTP then write to NAND.e[9;7H6. Load recovery system via TFTP then write to NAND.e[10;7H7. e[31mLoad BL31+U-Boot FIP via TFTP then write to NAND.e[0me[11;7H8. e[31mLoad BL2 preloader via TFTP then write to NAND.e[0me[12;7H9. Reboot.e[13;7Ha. Reset all settings to factory defaults.e[14;7H0. Exite[?25he[2Je[1;1HUsing ethernet@15100000 device
TFTP from server 192.168.11.23; our IP address is 192.168.11.11
Filename 'openwrt-mediatek-filogic-openwrt_one-initramfs.itb'.
Load address: 0x46000000
Loading: *#################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #####
	 7.7 MiB/s
done

..

root@OpenWrt:/tmp# wget -c https://downloads.openwrt.org/snapshots//targets/medi

atek/filogic/openwrt-mediatek-filogic-openwrt_one-factory.ubi
Downloading 'https://downloads.openwrt.org/snapshots//targets/mediatek/filogic/openwrt-mediatek-filogic-openwrt_one-factory.ubi'
Connecting to 151.101.66.132:443
Writing to 'openwrt-mediatek-filogic-openwrt_one-factory.ubi'

openwrt-mediatek-fil   5% |*                              |  1155k  0:00:17 ETA
openwrt-mediatek-fil  11% |***                            |  2384k  0:00:16 ETA
openwrt-mediatek-fil  15% |****                           |  3392k  0:00:16 ETA
openwrt-mediatek-fil  21% |******                         |  4561k  0:00:14 ETA
openwrt-mediatek-fil  25% |*******                        |  5484k  0:00:14 ETA
openwrt-mediatek-fil  29% |*********                      |  6348k  0:00:14 ETA
openwrt-mediatek-fil  36% |***********                    |  7842k  0:00:12 ETA
openwrt-mediatek-fil  42% |*************                  |  9170k  0:00:10 ETA
openwrt-mediatek-fil  47% |**************                 | 10130k  0:00:10 ETA
openwrt-mediatek-fil  50% |***************                | 10880k  0:00:09 ETA
openwrt-mediatek-fil  54% |*****************              | 11808k  0:00:09 ETA
openwrt-mediatek-fil  60% |******************             | 13062k  0:00:07 ETA
openwrt-mediatek-fil  64% |********************           | 13966k  0:00:07 ETA
openwrt-mediatek-fil  69% |*********************          | 14992k  0:00:06 ETA
openwrt-mediatek-fil  73% |**********************         | 15856k  0:00:05 ETA
openwrt-mediatek-fil  78% |************************       | 16864k  0:00:04 ETA
openwrt-mediatek-fil  83% |*************************      | 17856k  0:00:03 ETA
openwrt-mediatek-fil  88% |***************************    | 19035k  0:00:02 ETA
openwrt-mediatek-fil  92% |****************************   | 19915k  0:00:01 ETA
openwrt-mediatek-fil  95% |*****************************  | 20563k  0:00:00 ETA
openwrt-mediatek-fil 100% |*******************************| 21504k  0:00:00 ETA
Download completed (22020096 bytes)
root@OpenWrt:/tmp# ls
e[0;0mTZe[m
e[0;0mdhcp.leasese[m
e[1;34mdnsmasq.cfg01411c.de[m
e[1;34metce[m
e[1;34mhostse[m
e[1;34mlibe[m
e[1;34mlocke[m
e[1;34mloge[m
e[0;0mopenwrt-mediatek-filogic-openwrt_one-factory.ubie[m
e[0;0mresolv.confe[m
e[1;34mresolv.conf.de[m
e[1;34mrune[m
e[1;34mshme[m
e[1;34mstatee[m
e[1;34msysinfoe[m
e[1;34mtmpe[m
root@OpenWrt:/tmp# sysup
root@OpenWrt:/tmp# sysupgrade e[J-n -v ./ope
root@OpenWrt:/tmp# sysupgrade -n -v ./openwrt-mediatek-filogic-openwrt_one-facto

ry.ubi e[J
Thu Oct 24 20:49:05 UTC 2024 upgrade: Image metadata not present
Thu Oct 24 20:49:05 UTC 2024 upgrade: Use sysupgrade -F to override this check when downgrading or flashing to vendor firmware
Image check failed.
root@OpenWrt:/tmp# 
root@OpenWrt:/tmp# sysupgrade -n -v ./openwrt-mediatek-filogic-openwrt_one-facto

ry.ubi e[J
e[1Ae[79Cv -./openwrt-mediatek-filogic-openwrt_one-fact

ory.ubi 
e[1Ae[37CF./openwrt-mediatek-filogic-openwrt_one-fac

tory.ubi 
e[1Ae[38C ./openwrt-mediatek-filogic-openwrt_one-fa

ctory.ubi 
e[1Ae[39C./openwrt-mediatek-filogic-openwrt_one-fa

ctory.ubi 
Thu Oct 24 20:49:29 UTC 2024 upgrade: Image metadata not present
Image check failed but --force given - will update anyway!
Thu Oct 24 20:49:29 UTC 2024 upgrade: Commencing upgrade. Closing all shell sessions.
Command failed: Connection failed
-ash: can't set tty process group: Not a tty
[1]+  Done(10)                   sysupgrade -n -v -F ./openwrt-mediatek-filogic-openwrt_one-factory.ubi
root@OpenWrt:/tmp# Watchdog handover: fd=3
- watchdog -
Watchdog does not have CARDRESET support
Thu Oct 24 20:49:29 UTC 2024 upgrade: Sending TERM to remaining processes ...
Thu Oct 24 20:49:33 UTC 2024 upgrade: Sending KILL to remaining processes ...
[  216.901428] stage2 (3534): drop_caches: 3
Thu Oct 24 20:49:40 UTC 2024 upgrade: Switching to ramdisk...
Thu Oct 24 20:49:41 UTC 2024 upgrade: Performing system upgrade...
ubiformat: mtd5 (nand), size 267386880 bytes (255.0 MiB), 2040 eraseblocks of 131072 bytes (128.0 KiB), min. I/O size 2048 bytes

libscan: scanning eraseblock 0 --  0 % complete  
..
ubiformat: flashing eraseblock 167 -- 100 % complete  

ubiformat: formatting eraseblock 168 --  0 % complete  
..  
ubiformat: formatting eraseblock 217 --  2 % complete   
ubiformat: formatting eraseblock 1986 -- 97 % complete  
u[  244.695120] ubi0: default fastmap pool size: 100
biformat: format[  244.701113] ubi0: default fastmap WL pool size: 50
ting eraseblock [  244.707258] ubi0: attaching mtd5
1987 -- 97 % complete  
.. 
ubiformat: formatting eraseblock 2014 -- 98 % complete  
ubifo[  244.846816] UBI: EOF marker found, PEBs from 163 will be erased
rmat: formatting[  244.854519] ubi0: scanning is finished
 eraseblock 2015 -- 98 % complete  
ubiformat: formatting eraseblock 2016 -- 98 % complete  
ubiformat: formatting eraseblock 2017 -- 98 % compl[  244.870697] ubi0: attached mtd5 (name "ubi", size 255 MiB)
ete  
ubiformat:[  244.876857] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
 formatting eras[  244.885082] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
eblock 2018 -- 9[  244.893246] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
8 % complete  
u[  244.901573] ubi0: good PEBs: 2040, bad PEBs: 0, corrupted PEBs: 0
biformat: format[  244.909033] ubi0: user volume: 5, internal volumes: 1, max. volumes count: 128
ting eraseblock [  244.917621] ubi0: max/mean erase counter: 1/1, WL threshold: 4096, image sequence number: 630094542
2019 -- 98 % com[  244.928031] ubi0: available PEBs: 1815, total reserved PEBs: 225, PEBs reserved for bad PEB handling: 40
plete  
ubiforma[  244.938885] ubi0: background thread "ubi_bgt0d" started, PID 4242
t: formatting er[  244.947258] block ubiblock0_4: created from ubi0:4(fit)
aseblock 2020 -- 98 % complete  
ubiformat: formatting eraseblock 2021 -- 99 % complete  
ubiformat: formatting eraseblock 2022 -- 99 % complete  
ubiformat: fo[  244.965668] reboot: Restarting system

Now running Meshtastic (LoRa Mesh Communication) on OpenWRT with a LR1110 SPI LoRa miktroBUS module

Have sent a PR for device tree overlay needed to enable miktroBUS SPI

Meshtastic Packages here

off
off
Volume calibration not found!
No size specified -> Using max size (10665984)
Read 10665984 bytes from volume fit to 0000000046000000

## Checking Image at 46000000 ...
   FIT image found
   FIT description: ARM64 OpenWrt FIT (Flattened Image Tree)
    Image 0 (kernel-1)
     Description:  ARM64 OpenWrt Linux-6.6.70
     Type:         Kernel Image
     Compression:  gzip compressed
     Data Start:   0x46001000
     Data Size:    5855431 Bytes = 5.6 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x44000000
     Entry Point:  0x44000000
     Hash algo:    crc32
     Hash value:   6891fc88
     Hash algo:    sha1
     Hash value:   a217c7d0e0b80b249270b99565462bdd45babf7a
    Image 1 (fdt-1)
     Description:  ARM64 OpenWrt openwrt_one device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x46597000
     Data Size:    29453 Bytes = 28.8 KiB
     Architecture: AArch64
     Load Address: 0x43f00000
     Hash algo:    crc32
     Hash value:   b9af062a
     Hash algo:    sha1
     Hash value:   3f8642d6094e593e263dc4fa3115c8706855357f
    Image 2 (rootfs-1)
     Description:  ARM64 OpenWrt openwrt_one rootfs
     Type:         Filesystem Image
     Compression:  uncompressed
     Data Start:   0x4659f000
     Data Size:    4648960 Bytes = 4.4 MiB
     Hash algo:    crc32
     Hash value:   51d13b83
     Hash algo:    sha1
     Hash value:   8328b11cb0bb0f4bcbe3e5169a4edfe99c40fcba
    Default Configuration: 'config-1'
    Configuration 0 (config-1)
     Description:  OpenWrt openwrt_one
     Kernel:       kernel-1
     FDT:          fdt-1
     Loadables:    rootfs-1
## Checking hash(es) for FIT Image at 46000000 ...
   Hash(es) for Image 0 (kernel-1): crc32+ sha1+ 
   Hash(es) for Image 1 (fdt-1): crc32+ sha1+ 
   Hash(es) for Image 2 (rootfs-1): crc32+ sha1+ 
## Loading kernel from FIT Image at 46000000 ...
   Using 'config-1' configuration
   Trying 'kernel-1' kernel subimage
     Description:  ARM64 OpenWrt Linux-6.6.70
     Type:         Kernel Image
     Compression:  gzip compressed
     Data Start:   0x46001000
     Data Size:    5855431 Bytes = 5.6 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x44000000
     Entry Point:  0x44000000
     Hash algo:    crc32
     Hash value:   6891fc88
     Hash algo:    sha1
     Hash value:   a217c7d0e0b80b249270b99565462bdd45babf7a
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 46000000 ...
   Using 'config-1' configuration
   Trying 'fdt-1' fdt subimage
     Description:  ARM64 OpenWrt openwrt_one device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x46597000
     Data Size:    29453 Bytes = 28.8 KiB
     Architecture: AArch64
     Load Address: 0x43f00000
     Hash algo:    crc32
     Hash value:   b9af062a
     Hash algo:    sha1
     Hash value:   3f8642d6094e593e263dc4fa3115c8706855357f
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Loading fdt from 0x46597000 to 0x43f00000
   Booting using the fdt blob at 0x43f00000
Working FDT set to 43f00000
## Loading loadables from FIT Image at 46000000 ...
   Trying 'rootfs-1' loadables subimage
     Description:  ARM64 OpenWrt openwrt_one rootfs
     Type:         Filesystem Image
     Compression:  uncompressed
     Data Start:   0x4659f000
     Data Size:    4648960 Bytes = 4.4 MiB
     Hash algo:    crc32
     Hash value:   51d13b83
     Hash algo:    sha1
     Hash value:   8328b11cb0bb0f4bcbe3e5169a4edfe99c40fcba
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Uncompressing Kernel Image to 44000000
   Loading Device Tree to 000000007e7ee000, end 000000007e7f830c ... OK
Working FDT set to 7e7ee000
Add 'ramoops@42ff0000' node failed: FDT_ERR_EXISTS

Starting kernel ...

The card is not working after startup. There is no detailed error message. How can I troubleshoot and debug it? Thank you.

Well, a little background on why you are using the SPI-NAND U-Boot and the numeric menu option used would probably be helpful. FWIW, I’ve yet to need SPI-NOR or SPI-NAND U-Boot in day to day use of OO.

.\mtk_uartboot.exe -s COM3 -p .\mt7981-ram-ddr4-bl2.bin -a -f .\openwrt-mediatek-filogic-openwrt_one-snand-bl31-uboot.fip  --brom-load-baudrate 115200 --bl2-load-baudrate 115200

        ( ( ( OpenWrt ) ) )  [SPI-NAND]       U-Boot 2024.10-OpenWrt-r28552-17b0d1379a (Jan 10 2025 - 13:53:49 +0000)

      1. Run default boot command.
      2. Boot system via TFTP.
      3. Boot production system from NAND.
      4. Boot recovery system from NAND.
      5. Load production system via TFTP then write to NAND.
      6. Load recovery system via TFTP then write to NAND.
      7. Load BL31+U-Boot FIP via TFTP then write to NAND.
      8. Load BL2 preloader via TFTP then write to NAND.
      9. Reboot.
      a. Reset all settings to factory defaults.
      0. Exit


  Press UP/DOWN to move, ENTER to select, ESC to quit
Using ethernet@15100000 device
TFTP from server 192.168.11.23; our IP address is 192.168.11.11
Filename 'openwrt-mediatek-filogic-openwrt_one-initramfs.itb'.
Load address: 0x46000000
Loading: #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 ##################
	 759.8 KiB/s
done
Bytes transferred = 8847360 (870000 hex)

## Checking Image at 46000000 ...
   FIT image found
   FIT description: ARM64 OpenWrt FIT (Flattened Image Tree)
    Image 0 (kernel-1)
     Description:  ARM64 OpenWrt Linux-6.6.70
     Type:         Kernel Image
     Compression:  lzma compressed
     Data Start:   0x460000e8
     Data Size:    4399780 Bytes = 4.2 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x44000000
     Entry Point:  0x44000000
     Hash algo:    crc32
     Hash value:   0a3deda9
     Hash algo:    sha1
     Hash value:   dbd9129309ac99b33f63c11327f11e52785157f8
    Image 1 (initrd-1)
     Description:  ARM64 OpenWrt openwrt_one initrd
     Type:         RAMDisk Image
     Compression:  uncompressed
     Data Start:   0x464324c4
     Data Size:    4380228 Bytes = 4.2 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: unavailable
     Entry Point:  unavailable
     Hash algo:    crc32
     Hash value:   6c0cbf8f
     Hash algo:    sha1
     Hash value:   1e8f001b7d8f6e1aeb4f34b1761165bf5651c5e7
    Image 2 (fdt-1)
     Description:  ARM64 OpenWrt openwrt_one device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x4685fc10
     Data Size:    29860 Bytes = 29.2 KiB
     Architecture: AArch64
     Load Address: 0x43f00000
     Hash algo:    crc32
     Hash value:   679d6e39
     Hash algo:    sha1
     Hash value:   ce5351a5bab3d6e368d53719ef68fa64b548da9d
    Default Configuration: 'config-1'
    Configuration 0 (config-1)
     Description:  OpenWrt openwrt_one
     Kernel:       kernel-1
     Init Ramdisk: initrd-1
     FDT:          fdt-1
## Checking hash(es) for FIT Image at 46000000 ...
   Hash(es) for Image 0 (kernel-1): crc32+ sha1+ 
   Hash(es) for Image 1 (initrd-1): crc32+ sha1+ 
   Hash(es) for Image 2 (fdt-1): crc32+ sha1+ 
Remove UBI volume recovery (id 5)
Creating dynamic volume recovery of size 8847360
8847360 bytes written to volume recovery
Press ENTER to return to menu 


        ( ( ( OpenWrt ) ) )  [SPI-NAND]       U-Boot 2024.10-OpenWrt-r28552-17b0d1379a (Jan 10 2025 - 13:53:49 +0000)

      1. Run default boot command.
      2. Boot system via TFTP.
      3. Boot production system from NAND.
      4. Boot recovery system from NAND.
      5. Load production system via TFTP then write to NAND.
      6. Load recovery system via TFTP then write to NAND.
      7. Load BL31+U-Boot FIP via TFTP then write to NAND.
      8. Load BL2 preloader via TFTP then write to NAND.
      9. Reboot.
      a. Reset all settings to factory defaults.
      0. Exit


  Press UP/DOWN to move, ENTER to select, ESC to quit
off
off
Volume calibration not found!
No size specified -> Using max size (10792960)
Read 10792960 bytes from volume fit to 0000000046000000

## Checking Image at 46000000 ...
   FIT image found
   FIT description: ARM64 OpenWrt FIT (Flattened Image Tree)
    Image 0 (kernel-1)
     Description:  ARM64 OpenWrt Linux-6.6.70
     Type:         Kernel Image
     Compression:  gzip compressed
     Data Start:   0x46001000
     Data Size:    6009364 Bytes = 5.7 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x44000000
     Entry Point:  0x44000000
     Hash algo:    crc32
     Hash value:   8a144c62
     Hash algo:    sha1
     Hash value:   f23353c3ecec2f2f755ad35dd3645696b6d9ff26
    Image 1 (fdt-1)
     Description:  ARM64 OpenWrt openwrt_one device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x465bd000
     Data Size:    29860 Bytes = 29.2 KiB
     Architecture: AArch64
     Load Address: 0x43f00000
     Hash algo:    crc32
     Hash value:   679d6e39
     Hash algo:    sha1
     Hash value:   ce5351a5bab3d6e368d53719ef68fa64b548da9d
    Image 2 (rootfs-1)
     Description:  ARM64 OpenWrt openwrt_one rootfs
     Type:         Filesystem Image
     Compression:  uncompressed
     Data Start:   0x465c5000
     Data Size:    4681728 Bytes = 4.5 MiB
     Hash algo:    crc32
     Hash value:   b3011a73
     Hash algo:    sha1
     Hash value:   88d6d31aba446f7a8c78bccad58c0a3b0cfc4455
    Default Configuration: 'config-1'
    Configuration 0 (config-1)
     Description:  OpenWrt openwrt_one
     Kernel:       kernel-1
     FDT:          fdt-1
     Loadables:    rootfs-1
## Checking hash(es) for FIT Image at 46000000 ...
   Hash(es) for Image 0 (kernel-1): crc32+ sha1+ 
   Hash(es) for Image 1 (fdt-1): crc32+ sha1+ 
   Hash(es) for Image 2 (rootfs-1): crc32+ sha1+ 
No size specified -> Using max size (89010176)
Creating dynamic volume rootfs_data of size 89010176
## Loading kernel from FIT Image at 46000000 ...
   Using 'config-1' configuration
   Trying 'kernel-1' kernel subimage
     Description:  ARM64 OpenWrt Linux-6.6.70
     Type:         Kernel Image
     Compression:  gzip compressed
     Data Start:   0x46001000
     Data Size:    6009364 Bytes = 5.7 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x44000000
     Entry Point:  0x44000000
     Hash algo:    crc32
     Hash value:   8a144c62
     Hash algo:    sha1
     Hash value:   f23353c3ecec2f2f755ad35dd3645696b6d9ff26
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 46000000 ...
   Using 'config-1' configuration
   Trying 'fdt-1' fdt subimage
     Description:  ARM64 OpenWrt openwrt_one device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x465bd000
     Data Size:    29860 Bytes = 29.2 KiB
     Architecture: AArch64
     Load Address: 0x43f00000
     Hash algo:    crc32
     Hash value:   679d6e39
     Hash algo:    sha1
     Hash value:   ce5351a5bab3d6e368d53719ef68fa64b548da9d
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Loading fdt from 0x465bd000 to 0x43f00000
   Booting using the fdt blob at 0x43f00000
Working FDT set to 43f00000
## Loading loadables from FIT Image at 46000000 ...
   Trying 'rootfs-1' loadables subimage
     Description:  ARM64 OpenWrt openwrt_one rootfs
     Type:         Filesystem Image
     Compression:  uncompressed
     Data Start:   0x465c5000
     Data Size:    4681728 Bytes = 4.5 MiB
     Hash algo:    crc32
     Hash value:   b3011a73
     Hash algo:    sha1
     Hash value:   88d6d31aba446f7a8c78bccad58c0a3b0cfc4455
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Uncompressing Kernel Image to 44000000
   Loading Device Tree to 000000007e7eb000, end 000000007e7f54a3 ... OK
Working FDT set to 7e7eb000
Add 'ramoops@42ff0000' node failed: FDT_ERR_EXISTS

Starting kernel ...

The card owner is not working and no related errors are reported. Does anyone know what the problem is?

--aarch64

does it help to add this to command line ?

https://openwrt.org/toh/openwrt/one

2 Likes