[BPI-R3] Infinity reboot while boting from eMMC

Hi,

I am trying to install OpenWRT on eMMC and boot from eMMC, but after finishing all the steps from the tutorials I stuck in kind of infinity loop of rebooting. Maybe someone can help. What I was doing step by step:

  1. First, I have downloaded an sd card image from official OpenWRT website
  2. I prepared my sd card and checked where it is connected with fdisk -l command.
Disk /dev/sdb: 29,76 GiB, 31954305024 bytes, 62410752 sectors
Disk model: SD/MMC          
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 5452574F-2211-4433-5566-778899AABB00
  1. Then I have extracted the downloaded image and write it to SD card with below command
dd if=openwrt-mediatek-filogic-bananapi_bpi-r3-sdcard.img of=/dev/sdb
153600+1 records in
153600+1 records out
78643204 bytes (79 MB, 75 MiB) copied, 11,8216 s, 6,7 MB/s
  1. Then I have connected my TTL Converter and check to what port it is connected
ll /sys/class/tty/ttyUSB*
lrwxrwxrwx 1 root root 0 paź  9 11:19 /sys/class/tty/ttyUSB0 -> ../../devices/pci0000:00/0000:00:08.1/0000:05:00.3/usb1/1-2/1-2:1.0/ttyUSB0/tty/ttyUSB0
dmesg | grep tty
[    0.071736] printk: console [tty0] enabled
[    0.509650] tty tty47: hash matches
[    1.715957] systemd[1]: Created slice Slice /system/getty.
[    4.144405] cdc_acm 1-1.3:1.1: ttyACM0: USB ACM device
[    4.156426] usb 1-2: ch341-uart converter now attached to ttyUSB0
  1. Then I have connected to BPI R3 with my UART via tio
tio /dev/ttyUSB0
  1. Then I set all the jumpers HIGH and plug in power
  2. Then I have selected option Option 8. “Install bootloader, recovery and production to NAND“
  3. I have waited, and this operation finished with the below result:
## 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 (fdt-mt7986a-bananapi-bpi-r3-emmc): crc32+ sha1+ 
   Hash(es) for Image 3 (fdt-mt7986a-bananapi-bpi-r3-nand): crc32+ sha1+ 
   Hash(es) for Image 4 (fdt-mt7986a-bananapi-bpi-r3-nor): crc32+ sha1+ 
   Hash(es) for Image 5 (fdt-mt7986a-bananapi-bpi-r3-sd): crc32+ sha1+ 
   Hash(es) for Image 6 (fdt-mt7986a-bananapi-bpi-r3-respeaker-2mics): crc32+ sha1+ 
   Hash(es) for Image 7 (rootfs-1): crc32+ sha1+ 
Creating dynamic volume fit of size 11452416
11452416 bytes written to volume fit

MMC read: dev # 0, block # 104448, count 16384 ... 16384 blocks read: OK
Creating dynamic volume emmc_install of size 8388608
8388608 bytes written to volume emmc_install
Press ENTER to return to menu 
  1. Then I have unplugged BPI R3 from power and change jumpers to HIGH, LOW, HIGH, LOW to select boot from NAND and pug back power source
  2. Then I have selected Option 9 “Install bootloader, recovery and production to eMMC.”
  3. I have waited, and this operation finished with the below result:
## 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 (fdt-mt7986a-bananapi-bpi-r3-emmc): crc32+ sha1+ 
   Hash(es) for Image 3 (fdt-mt7986a-bananapi-bpi-r3-nand): crc32+ sha1+ 
   Hash(es) for Image 4 (fdt-mt7986a-bananapi-bpi-r3-nor): crc32+ sha1+ 
   Hash(es) for Image 5 (fdt-mt7986a-bananapi-bpi-r3-sd): crc32+ sha1+ 
   Hash(es) for Image 6 (fdt-mt7986a-bananapi-bpi-r3-respeaker-2mics): crc32+ sha1+ 
   Hash(es) for Image 7 (rootfs-1): crc32+ sha1+ 

MMC erase: dev # 0, block # 131072, count 22368 ... 22368 blocks erased: OK

MMC write: dev # 0, block # 131072, count 22368 ... 22368 blocks written: OK
Saving Environment to UBI... UBI partition 'ubi' already selected
Writing to redundant UBI... done
OK
Saving Environment to UBI... UBI partition 'ubi' already selected
Writing to UBI... done
OK
Press ENTER to return to menu 
  1. Then I have unplugged my BPI R3 and remove SD card
  2. I have set jumpers to LOW, HIGH, HIGH, LOW and plug in power again
  3. At the beginning I saw this screen and waited untillall finish
   ( ( ( OpenWrt ) ) )  [eMMC]       U-Boot 2024.07-OpenWrt-r27700-170ecbecfc (Oct 07 2024 - 20:33:10 +0000)

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


  Press UP/DOWN to move, ENTER to select, ESC to quit
  1. I see all over again same screen and It looks like my BPI is all the time rebooting
[   96.758391] Kernel panic - not syncing: Oops: Fatal exception in interrupt
spi-nand: spi_nand spi_nand@1: Winbond SPI NAND was found.
spi-nand: spi_nand spi_nand@1: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
jedec_spi_nor spi_nor@0: unrecognized JEDEC id bytes: 00, ef, aa
'spi-nand0' is now active device
* spi-nand0
  - device: spi_nand@1
  - parent: spi@1100a000
  - driver: spi_nand
  - type: NAND flash
  - block size:        0x20000 bytes
  - page size:         0x800 bytes
  - OOB size:          64 bytes
  - OOB available:     24 bytes
  - 0x000000000000-0x000008000000 : "spi-nand0"
          - 0x000000000000-0x000000200000 : "bl2"
          - 0x000000200000-0x000008000000 : "ubi"

MMC read: dev # 0, block # 24576, count 256 ... 256 blocks read: OK

MMC read: dev # 0, block # 24576, count 17804 ... 17804 blocks read: OK
## Loading kernel from FIT Image at 46000000 ...
   Using 'config-mt7986a-bananapi-bpi-r3' configuration
   Trying 'kernel-1' kernel subimage
     Description:  ARM64 OpenWrt Linux-6.6.54
     Type:         Kernel Image
     Compression:  lzma compressed
     Data Start:   0x460000e8
     Data Size:    4327983 Bytes = 4.1 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x44000000
     Entry Point:  0x44000000
     Hash algo:    crc32
     Hash value:   b77b0662
     Hash algo:    sha1
     Hash value:   e7c92ab8f32adfecf8baa1e9ba62831f353036f1
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading ramdisk from FIT Image at 46000000 ...
   Using 'config-mt7986a-bananapi-bpi-r3' configuration
   Trying 'initrd-1' ramdisk subimage
     Description:  ARM64 OpenWrt bananapi_bpi-r3 initrd
     Type:         RAMDisk Image
     Compression:  uncompressed
     Data Start:   0x46420c54
     Data Size:    4745568 Bytes = 4.5 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: unavailable
     Entry Point:  unavailable
     Hash algo:    crc32
     Hash value:   455ca046
     Hash algo:    sha1
     Hash value:   d8e9fc27cb852f223ca4faa110d8175032831493
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 46000000 ...
   Using 'config-mt7986a-bananapi-bpi-r3' configuration
   Trying 'fdt-1' fdt subimage
     Description:  ARM64 OpenWrt bananapi_bpi-r3 device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x468a76c0
     Data Size:    31911 Bytes = 31.2 KiB
     Architecture: AArch64
     Load Address: 0x43f00000
     Hash algo:    crc32
     Hash value:   fb34b654
     Hash algo:    sha1
     Hash value:   106d770129570c451e33f57e0cc3e411aa0a1d75
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Loading fdt from 0x468a76c0 to 0x43f00000
## Loading fdt from FIT Image at 46000000 ...
   Using 'mt7986a-bananapi-bpi-r3-emmc' configuration
   Trying 'fdt-mt7986a-bananapi-bpi-r3-emmc' fdt subimage
     Description:  ARM64 OpenWrt bananapi_bpi-r3 device tree overlay mt7986a-bananapi-bpi-r3-emmc
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x468af4c0
     Data Size:    990 Bytes = 990 Bytes
     Architecture: AArch64
     Hash algo:    crc32
     Hash value:   85e4da58
     Hash algo:    sha1
     Hash value:   471cf60107fbdc3dcb772696c05db2eb3c1d8a17
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 46000000 ...
   Using 'mt7986a-bananapi-bpi-r3-nand' configuration
   Trying 'fdt-mt7986a-bananapi-bpi-r3-nand' fdt subimage
     Description:  ARM64 OpenWrt bananapi_bpi-r3 device tree overlay mt7986a-bananapi-bpi-r3-nand
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x468af9e8
     Data Size:    1166 Bytes = 1.1 KiB
     Architecture: AArch64
     Hash algo:    crc32
     Hash value:   80cf140c
     Hash algo:    sha1
     Hash value:   cd9c9ecb32a6ebeb009f82eb718e49d29feff6a1
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Booting using the fdt blob at 0x43f00000
Working FDT set to 43f00000
   Uncompressing Kernel Image to 44000000
   Loading Ramdisk to be366000, end be7ec960 ... OK
   Loading Device Tree to 00000000be35b000, end 00000000be365194 ... OK
Working FDT set to be35b000
Add 'ramoops@42ff0000' node failed: FDT_ERR_EXISTS
set /chosen/rootdisk to bootrom media: rootdisk-emmc (phandle 0x00000059)

Can you please help me to understand what I am doing wrong ?

Hi. Flash onboard nand from this manual - https://openwrt.org/toh/sinovoip/bananapi_bpi-r3

Can you be a bit more specific what instruction I should follow?

Read this page carefully, everything is indicated there. Previously, I had a bpi-r3 and I flashed the nand according to the instructions on this page and then used boot from it. There is also an instruction on how to expand the nand volume, since the default firmware uses a small nand volume.

I have followed instructions and now my boot freeze on

[   41.468489] IPv6: ADDRCONF(NETDEV_CHANGE): br-wan: link becomes ready

Do you know what can cause this? Full log on attempt to boot:

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.15.167 (builder@buildhost) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r24106-10cc5fcd00) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Mon Sep 23 12:34:46 2024
[    0.000000] Machine model: Bananapi BPI-R3
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x00000000bfffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x0000000042ffffff]
[    0.000000]   node   0: [mem 0x0000000043000000-0x000000004302ffff]
[    0.000000]   node   0: [mem 0x0000000043030000-0x000000004fbfffff]
[    0.000000]   node   0: [mem 0x000000004fc00000-0x000000004ffbffff]
[    0.000000]   node   0: [mem 0x000000004ffc0000-0x00000000bfffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000bfffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.4
[    0.000000] percpu: Embedded 18 pages/cpu s33112 r8192 d32424 u73728
[    0.000000] pcpu-alloc: s33112 r8192 d32424 u73728 alloc=18*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: kernel page table isolation disabled by kernel configuration
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
[    0.000000] Kernel command line: root=/dev/mmcblk0p65
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 2040952K/2097152K available (8448K kernel code, 904K rwdata, 1488K rodata, 448K init, 302K bss, 56200K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 640 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] Root IRQ handler: 0xffffffc008010090
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000000c080000
[    0.000000] arch_timer: cp15 timer(s) running at 13.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns
[    0.000001] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[    0.000123] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[    0.000131] pid_max: default: 32768 minimum: 301
[    0.000335] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.000348] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.001372] rcu: Hierarchical SRCU implementation.
[    0.001660] smp: Bringing up secondary CPUs ...
[    0.001912] Detected VIPT I-cache on CPU1
[    0.001936] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
[    0.001961] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.002220] Detected VIPT I-cache on CPU2
[    0.002233] GICv3: CPU2: found redistributor 2 region 0:0x000000000c0c0000
[    0.002243] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.002477] Detected VIPT I-cache on CPU3
[    0.002488] GICv3: CPU3: found redistributor 3 region 0:0x000000000c0e0000
[    0.002497] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.002523] smp: Brought up 1 node, 4 CPUs
[    0.002537] SMP: Total of 4 processors activated.
[    0.002541] CPU features: detected: 32-bit EL0 Support
[    0.002544] CPU features: detected: CRC32 instructions
[    0.002571] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.002622] CPU: All CPU(s) started at EL2
[    0.002632] alternatives: patching kernel code
[    0.005509] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.005530] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.005671] pinctrl core: initialized pinctrl subsystem
[    0.006292] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.006533] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[    0.006563] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.006588] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.006840] thermal_sys: Registered thermal governor 'fair_share'
[    0.006843] thermal_sys: Registered thermal governor 'bang_bang'
[    0.006846] thermal_sys: Registered thermal governor 'step_wise'
[    0.006849] thermal_sys: Registered thermal governor 'user_space'
[    0.007046] ASID allocator initialised with 65536 entries
[    0.007355] pstore: Registered ramoops as persistent store backend
[    0.007359] ramoops: using 0x10000@0x42ff0000, ecc: 0
[    0.017139] cryptd: max_cpu_qlen set to 1000
[    0.018707] 1.8vd: supplied by 12vd
[    0.018869] 3.3vd: supplied by 12vd
[    0.019124] SCSI subsystem initialized
[    0.019211] libata version 3.00 loaded.
[    0.020080] clocksource: Switched to clocksource arch_sys_counter
[    0.020525] NET: Registered PF_INET protocol family
[    0.020631] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.021288] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.021308] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.021316] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.021383] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[    0.021550] TCP: Hash tables configured (established 16384 bind 16384)
[    0.021625] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.021652] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.021780] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.021800] PCI: CLS 0 bytes, default 64
[    0.023901] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[    0.026555] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.026568] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.049137] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.050245] pwm-mediatek 10048000.pwm: clock: top fail: -517
[    0.050510] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie@11280000 ranges:
[    0.050530] mtk-pcie-gen3 11280000.pcie: Parsing ranges property...
[    0.050541] mtk-pcie-gen3 11280000.pcie:      MEM 0x0020000000..0x002fffffff -> 0x0020000000
[    0.050634] /soc/pcie@11280000: Failed to get clk index: 0 ret: -517
[    0.050644] mtk-pcie-gen3 11280000.pcie: failed to get clocks
[    0.053439] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.055104] printk: console [ttyS0] disabled
[    0.075262] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 122, base_baud = 2500000) is a ST16650V2
[    0.762863] printk: console [ttyS0] enabled
[    0.787596] 11003000.serial: ttyS1 at MMIO 0x11003000 (irq = 123, base_baud = 1625000) is a ST16650V2
[    0.817303] 11004000.serial: ttyS2 at MMIO 0x11004000 (irq = 124, base_baud = 1625000) is a ST16650V2
[    0.827116] mtk_rng 1020f000.rng: registered RNG driver
[    0.827176] hwrng: no data available
[    0.835930] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.844052] loop: module loaded
[    0.847200] Loading iSCSI transport class v2.0-870.
[    0.853292] spi spi0.0: setup: ignoring unsupported mode bits a00
[    0.859618] spi-nand spi0.0: Winbond SPI NAND was found.
[    0.864929] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[    0.873160] 4 fixed-partitions partitions found on MTD device spi0.0
[    0.879496] Creating 4 MTD partitions on "spi0.0":
[    0.884316] 0x000000580000-0x000008000000 : "ubi"
[    1.016255] 0x000000380000-0x000000580000 : "fip"
[    1.023341] 0x000000080000-0x000000380000 : "reserved"
[    1.031790] 0x000000000000-0x000000080000 : "bl2"
[    1.171303] mtk_soc_eth 15100000.ethernet: generated random MAC address 6e:13:68:b2:37:24
[    1.182022] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc009780000, irq 136
[    1.191782] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xffffffc009780000, irq 136
[    1.201321] i2c_dev: i2c /dev entries driver
[    1.207065] mtk-wdt 1001c000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[    1.215608] NET: Registered PF_INET6 protocol family
[    1.221231] Segment Routing with IPv6
[    1.224903] In-situ OAM (IOAM) with IPv6
[    1.228838] NET: Registered PF_PACKET protocol family
[    1.233906] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.246955] 8021q: 802.1Q VLAN Support v1.8
[    1.251969] pstore: Using crash dump compression: deflate
[    1.263064] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie@11280000 ranges:
[    1.270410] mtk-pcie-gen3 11280000.pcie: Parsing ranges property...
[    1.276663] mtk-pcie-gen3 11280000.pcie:      MEM 0x0020000000..0x002fffffff -> 0x0020000000
[    1.292273] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.302233] mmc0: new high speed SDHC card at address 0001
[    1.308439] mmcblk0: mmc0:0001 00000 29.0 GiB 
[    1.316393] Alternate GPT is invalid, using primary GPT.
[    1.322487] FIT: Selected configuration: "config-mt7986a-bananapi-bpi-r3" (OpenWrt bananapi_bpi-r3)
[    1.331523] FIT:           kernel sub-image 0x00001000..0x004f0da7 "kernel-1" (ARM64 OpenWrt Linux-5.15.167) 
[    1.341440] FIT:          flat_dt sub-image 0x004f1000..0x004f8b66 "fdt-1" (ARM64 OpenWrt bananapi_bpi-r3 device tree blob) 
[    1.352641] FIT:          flat_dt sub-image 0x004f9000..0x004f91dc "fdt-mt7986a-bananapi-bpi-r3-emmc" (ARM64 OpenWrt bananapi_bpi-r3 device tree overlay mt7986a-bananapi-bpi-r3-emmc) 
[    1.368957] FIT:          flat_dt sub-image 0x004fa000..0x004fa392 "fdt-mt7986a-bananapi-bpi-r3-nand" (ARM64 OpenWrt bananapi_bpi-r3 device tree overlay mt7986a-bananapi-bpi-r3-nand) 
[    1.385271] FIT:          flat_dt sub-image 0x004fb000..0x004fb38f "fdt-mt7986a-bananapi-bpi-r3-nor" (ARM64 OpenWrt bananapi_bpi-r3 device tree overlay mt7986a-bananapi-bpi-r3-nor) 
[    1.401415] FIT:          flat_dt sub-image 0x004fc000..0x004fc146 "fdt-mt7986a-bananapi-bpi-r3-sd" (ARM64 OpenWrt bananapi_bpi-r3 device tree overlay mt7986a-bananapi-bpi-r3-sd) 
[    1.417382] FIT:       filesystem sub-image 0x004fd000..0x00a58fff "rootfs-1" (ARM64 OpenWrt bananapi_bpi-r3 rootfs) 
[    1.427969] FIT: selecting configured loadable "rootfs-1" to be root filesystem
[    1.435261]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p65(rootfs-1) p66(rootfs_data)
[    1.501433] mtk-pcie-gen3 11280000.pcie: PCIe link down, ltssm reg val: 0x1000001
[    1.508932] mtk-pcie-gen3: probe of 11280000.pcie failed with error -110
[    1.544344] mt7530-mdio mdio-bus:1f: configuring for fixed/2500base-x link mode
[    1.553476] mt7530-mdio mdio-bus:1f: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    1.562162] mt7530-mdio mdio-bus:1f wan (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7531 PHY] (irq=144)
[    1.582483] mt7530-mdio mdio-bus:1f lan1 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7531 PHY] (irq=145)
[    1.602510] mt7530-mdio mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7531 PHY] (irq=146)
[    1.622541] mt7530-mdio mdio-bus:1f lan3 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7531 PHY] (irq=147)
[    1.642563] mt7530-mdio mdio-bus:1f lan4 (uninitialized): PHY [mt7530-0:04] driver [MediaTek MT7531 PHY] (irq=148)
[    1.653658] DSA: tree 0 setup
[    1.658783] UBI: auto-attach mtd0
[    1.662128] ubi0: default fastmap pool size: 45
[    1.666641] ubi0: default fastmap WL pool size: 22
[    1.671418] ubi0: attaching mtd0
[    5.286653] ubi0: scanning is finished
[    5.331780] ubi0: attached mtd0 (name "ubi", size 122 MiB)
[    5.337262] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    5.344125] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    5.350898] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    5.357837] ubi0: good PEBs: 980, bad PEBs: 0, corrupted PEBs: 0
[    5.363826] ubi0: user volume: 5, internal volumes: 1, max. volumes count: 128
[    5.371029] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
[    5.379355] ubi0: available PEBs: 725, total reserved PEBs: 255, PEBs reserved for bad PEB handling: 20
[    5.388727] ubi0: background thread "ubi_bgt0d" started, PID 541
[    5.400688] FIT: Selected configuration: "config-mt7986a-bananapi-bpi-r3" (OpenWrt bananapi_bpi-r3)
[    5.409721] FIT:           kernel sub-image 0x00001000..0x004f0da7 "kernel-1" (ARM64 OpenWrt Linux-5.15.167) 
[    5.419634] FIT:          flat_dt sub-image 0x004f1000..0x004f8b66 "fdt-1" (ARM64 OpenWrt bananapi_bpi-r3 device tree blob) 
[    5.430835] FIT:          flat_dt sub-image 0x004f9000..0x004f91dc "fdt-mt7986a-bananapi-bpi-r3-emmc" (ARM64 OpenWrt bananapi_bpi-r3 device tree overlay mt7986a-bananapi-bpi-r3-emmc) 
[    5.447149] FIT:          flat_dt sub-image 0x004fa000..0x004fa392 "fdt-mt7986a-bananapi-bpi-r3-nand" (ARM64 OpenWrt bananapi_bpi-r3 device tree overlay mt7986a-bananapi-bpi-r3-nand) 
[    5.463462] FIT:          flat_dt sub-image 0x004fb000..0x004fb38f "fdt-mt7986a-bananapi-bpi-r3-nor" (ARM64 OpenWrt bananapi_bpi-r3 device tree overlay mt7986a-bananapi-bpi-r3-nor) 
[    5.479602] FIT:          flat_dt sub-image 0x004fc000..0x004fc146 "fdt-mt7986a-bananapi-bpi-r3-sd" (ARM64 OpenWrt bananapi_bpi-r3 device tree overlay mt7986a-bananapi-bpi-r3-sd) 
[    5.495566] FIT:       filesystem sub-image 0x004fd000..0x00a58fff "rootfs-1" (ARM64 OpenWrt bananapi_bpi-r3 rootfs) 
[    5.506152] FIT: selecting configured loadable "rootfs-1" to be root filesystem
[    5.513440]  ubiblock0_2: p1(rootfs-1)
[    5.513551] block ubiblock0_2: created from ubi0:2(fit)
[    5.522677] clk: Disabling unused clocks
[    5.530909] VFS: Mounted root (squashfs filesystem) readonly on device 259:0.
[    5.538174] Freeing unused kernel memory: 448K
[    5.542651] Run /sbin/init as init process
[    5.546729]   with arguments:
[    5.549679]     /sbin/init
[    5.552373]   with environment:
[    5.555497]     HOME=/
[    5.557841]     TERM=linux
[    5.678323] init: Console is alive
[    5.681831] init: - watchdog -
[    5.946430] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.968416] usbcore: registered new interface driver usbfs
[    5.973943] usbcore: registered new interface driver hub
[    5.979271] usbcore: registered new device driver usb
[    5.987626] xhci-mtk 11200000.usb: supply vbus not found, using dummy regulator
[    5.995036] xhci-mtk 11200000.usb: supply vusb33 not found, using dummy regulator
[    6.003185] xhci-mtk 11200000.usb: xHCI Host Controller
[    6.008403] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 1
[    6.018857] xhci-mtk 11200000.usb: hcc params 0x01403f99 hci version 0x110 quirks 0x0000000000210010
[    6.028004] xhci-mtk 11200000.usb: irq 128, io mem 0x11200000
[    6.033834] xhci-mtk 11200000.usb: xHCI Host Controller
[    6.039044] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 2
[    6.046427] xhci-mtk 11200000.usb: Host supports USB 3.2 Enhanced SuperSpeed
[    6.053809] hub 1-0:1.0: USB hub found
[    6.057567] hub 1-0:1.0: 2 ports detected
[    6.061826] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.070152] hub 2-0:1.0: USB hub found
[    6.073902] hub 2-0:1.0: 1 port detected
[    6.080114] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    6.091937] init: - preinit -
[    6.309555] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
[    6.318037] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    6.319054] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    6.333423] mt7530-mdio mdio-bus:1f lan1: configuring for phy/gmii link mode
[    6.410382] random: procd: uninitialized urandom read (4 bytes read)
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    6.540077] usb 1-1: new high-speed USB device number 2 using xhci-mtk
[    6.720730] hub 1-1:1.0: USB hub found
[    6.724513] hub 1-1:1.0: 4 ports detected
[    8.641779] mount_root: overlay filesystem in /dev/mmcblk0p66 has not been formatted yet
[   11.024572] F2FS-fs (mmcblk0p66): Found nat_bits in checkpoint
[   11.039411] F2FS-fs (mmcblk0p66): Mounted with checkpoint version = d70cacb
[   11.047324] mount_root: overlay filesystem has not been fully initialized yet
[   11.054706] mount_root: switching to f2fs overlay
[   11.059868] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
[   11.072445] urandom-seed: Seed file not found (/etc/urandom.seed)
[   11.106796] procd: - early -
[   11.109717] procd: - watchdog -
[   11.350307] random: crng init done
[   11.635118] procd: - watchdog -
[   11.638462] procd: - ubus -
[   11.694174] procd: - init -
Please press Enter to activate this console.
[   11.823233] kmodloader: loading kernel modules from /etc/modules.d/*
[   11.834074] i2c-gpio i2c-gpio-0: using lines 427 (SDA) and 428 (SCL)
[   11.840702] i2c-gpio i2c-gpio-1: using lines 429 (SDA) and 430 (SCL)
[   11.849568] crypto-safexcel 10320000.crypto: EIP97:230(0,1,4,4)-HIA:270(0,5,5),PE:150/433(alg:7fcdfc00)/0/0/0
[   11.863553] Loading modules backported from Linux version v6.1.110-0-g5f55cad62cc9d
[   11.871216] Backport generated by backports.git v6.1.110-1-0-g965f73fc
[   11.881221] sfp sfp-1: Host maximum power 3.0W
[   11.886389] sfp sfp-2: Host maximum power 3.0W
[   11.960038] urngd: v1.0.2 started.
[   12.303498] mt798x-wmac 18000000.wifi: HW/SW Version: 0x8a108a10, Build Time: 20221012174743a
[   12.303498] 
[   12.430500] mt798x-wmac 18000000.wifi: WM Firmware Version: ____000000, Build Time: 20221012174805
[   12.508588] mt798x-wmac 18000000.wifi: WA Firmware Version: DEV_000000, Build Time: 20221012174937
[   33.110057] mt798x-wmac 18000000.wifi: Message 00000002 (seq 9) timeout
[   33.116668] mt798x-wmac 18000000.wifi: Failed to start WA firmware
[   33.122921] mt798x-wmac: probe of 18000000.wifi failed with error -110
[   33.141068] PPP generic driver version 2.4.2
[   33.145940] NET: Registered PF_PPPOX protocol family
[   33.152833] kmodloader: done loading kernel modules from /etc/modules.d/*
[   38.698673] mtk_soc_eth 15100000.ethernet eth0: Link is Down
[   38.715621] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
[   38.724109] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[   38.724198] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   38.742957] mt7530-mdio mdio-bus:1f lan1: configuring for phy/gmii link mode
[   38.753190] br-lan: port 1(lan1) entered blocking state
[   38.758420] br-lan: port 1(lan1) entered disabled state
[   38.765089] device lan1 entered promiscuous mode
[   38.769708] device eth0 entered promiscuous mode
[   38.785861] mt7530-mdio mdio-bus:1f lan2: configuring for phy/gmii link mode
[   38.795777] br-lan: port 2(lan2) entered blocking state
[   38.801065] br-lan: port 2(lan2) entered disabled state
[   38.808063] device lan2 entered promiscuous mode
[   38.820376] mt7530-mdio mdio-bus:1f lan3: configuring for phy/gmii link mode
[   38.830353] br-lan: port 3(lan3) entered blocking state
[   38.835590] br-lan: port 3(lan3) entered disabled state
[   38.842986] device lan3 entered promiscuous mode
[   38.855384] mt7530-mdio mdio-bus:1f lan4: configuring for phy/gmii link mode
[   38.865643] br-lan: port 4(lan4) entered blocking state
[   38.870968] br-lan: port 4(lan4) entered disabled state
[   38.878944] device lan4 entered promiscuous mode
[   38.887695] mt7530-mdio mdio-bus:1f sfp2: configuring for inband/2500base-x link mode
[   38.897698] br-lan: port 5(sfp2) entered blocking state
[   38.902973] br-lan: port 5(sfp2) entered disabled state
[   38.910409] device sfp2 entered promiscuous mode
[   38.919159] mtk_soc_eth 15100000.ethernet eth1: configuring for inband/2500base-x link mode
[   38.929247] br-wan: port 1(eth1) entered blocking state
[   38.934519] br-wan: port 1(eth1) entered disabled state
[   38.939911] device eth1 entered promiscuous mode
[   38.950616] mt7530-mdio mdio-bus:1f wan: configuring for phy/gmii link mode
[   38.960507] br-wan: port 2(wan) entered blocking state
[   38.965640] br-wan: port 2(wan) entered disabled state
[   38.972302] device wan entered promiscuous mode
[   41.449973] mt7530-mdio mdio-bus:1f wan: Link is Up - 1Gbps/Full - flow control off
[   41.449993] br-wan: port 2(wan) entered blocking state
[   41.462755] br-wan: port 2(wan) entered forwarding state
[   41.468489] IPv6: ADDRCONF(NETDEV_CHANGE): br-wan: link becomes ready

Hi. Please tell me what steps are you used to flash nand?

I haven’t flashed from NAND yet, I tried directly from SD CARD and the result I have pasted are from SD CARD boot to make sure I will have no issue with father steps. So, basically, I have created a new image then set all jumper HIGH choose Option 8. “Install bootloader, recovery and production to NAND“ then once it was done i went back to menu and selected option one to flow default boot process to check can I boot my image from SD card, and it stuck on the step I have provided in logs

What image are you flashing onto the SD card and the name of the program you use to create the bootable SD?

Install SNAPSHOT firmware, because OpenWrt v23.05.5 is not compatible with that version of U-Boot.

I boot this image

Model
Bananapi BPi-R3
Platform
mediatek/filogic
Version
23.05.5 (r24106-10cc5fcd00)

With commands from the instruction you have provided:

gzip -d openwrt-*-sysupgrade.img.gz
dd if=openwrt-*-sysupgrade.img of=/dev/sdX

Hmm, maybe any other older versions? I would rather not have issues with SNAPSHOT. Can you recommend sth?

If I already wrote this 23.05.5, what’s the best way to replace this image with another one?

Previously, I used version 23.05.3 on bpi-r3, and when flashing it to nand I had no problems.

What’s the best option to override my previous image on sd card ? I have bought a new one as I broke previous one, and I would rather not do the same with this one xD

I don’t understand what you bought, it seems openwrt is free, just download the 23.05.3 image for bpi-r3 and write it to the memory card. And then follow the instructions I indicated above.

I have tried this version but result is the same. Boot stuck on IPv6: ADDRCONF(NETDEV_CHANGE): br-wan: link becomes ready Full log:

## Loading kernel from FIT Image at 46000000 ...
   Using 'config-mt7986a-bananapi-bpi-r3' configuration
   Trying 'kernel-1' kernel subimage
     Description:  ARM64 OpenWrt Linux-5.15.150
     Type:         Kernel Image
     Compression:  gzip compressed
     Data Start:   0x46001000
     Data Size:    5162668 Bytes = 4.9 MiB
     Architecture: AArch64
     OS:           Linux
     Load Address: 0x44000000
     Entry Point:  0x44000000
     Hash algo:    crc32
     Hash value:   93b0951f
     Hash algo:    sha1
     Hash value:   b943fcdda7ed49ceb7be39368fbdff77ddab1b8f
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 46000000 ...
   Using 'config-mt7986a-bananapi-bpi-r3' configuration
   Trying 'fdt-1' fdt subimage
     Description:  ARM64 OpenWrt bananapi_bpi-r3 device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x464ee000
     Data Size:    31591 Bytes = 30.9 KiB
     Architecture: AArch64
     Load Address: 0x43f00000
     Hash algo:    crc32
     Hash value:   438ac94f
     Hash algo:    sha1
     Hash value:   b071387d5acc00d7b364d49838e59deffb964934
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Loading fdt from 0x464ee000 to 0x43f00000
## Loading fdt from FIT Image at 46000000 ...
   Using 'mt7986a-bananapi-bpi-r3-sd' configuration
   Trying 'fdt-mt7986a-bananapi-bpi-r3-sd' fdt subimage
     Description:  ARM64 OpenWrt bananapi_bpi-r3 device tree overlay mt7986a-bananapi-bpi-r3-sd
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x464f9000
     Data Size:    327 Bytes = 327 Bytes
     Architecture: AArch64
     Hash algo:    crc32
     Hash value:   10a1281b
     Hash algo:    sha1
     Hash value:   3bf645d15e8f58e0b7426c65bcf06464cc36d5c8
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 46000000 ...
   Using 'mt7986a-bananapi-bpi-r3-nand' configuration
   Trying 'fdt-mt7986a-bananapi-bpi-r3-nand' fdt subimage
     Description:  ARM64 OpenWrt bananapi_bpi-r3 device tree overlay mt7986a-bananapi-bpi-r3-nand
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x464f7000
     Data Size:    915 Bytes = 915 Bytes
     Architecture: AArch64
     Hash algo:    crc32
     Hash value:   0c0a8e7d
     Hash algo:    sha1
     Hash value:   3627abda155b1ffe23eef560e458c045aa49e7c5
   Verifying Hash Integrity ... crc32+ sha1+ OK
   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 bananapi_bpi-r3 rootfs
     Type:         Filesystem Image
     Compression:  uncompressed
     Data Start:   0x464fa000
     Data Size:    5607424 Bytes = 5.3 MiB
     Hash algo:    crc32
     Hash value:   b71a315d
     Hash algo:    sha1
     Hash value:   62b3fdcd9041e7fad5d8f5c220ca774d1dae83b3
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Uncompressing Kernel Image
   Loading Device Tree to 00000000be7d3000, end 00000000be7dce0e ... OK
Working FDT set to be7d3000
Add 'ramoops@42ff0000' node failed: FDT_ERR_EXISTS

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.15.150 (builder@buildhost) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r23809-234f1a2efa) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Fri Mar 22 22:09:42 2024
[    0.000000] Machine model: Bananapi BPI-R3
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x00000000bfffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x0000000042ffffff]
[    0.000000]   node   0: [mem 0x0000000043000000-0x000000004302ffff]
[    0.000000]   node   0: [mem 0x0000000043030000-0x000000004fbfffff]
[    0.000000]   node   0: [mem 0x000000004fc00000-0x000000004ffbffff]
[    0.000000]   node   0: [mem 0x000000004ffc0000-0x00000000bfffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000bfffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.4
[    0.000000] percpu: Embedded 18 pages/cpu s33112 r8192 d32424 u73728
[    0.000000] pcpu-alloc: s33112 r8192 d32424 u73728 alloc=18*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: kernel page table isolation disabled by kernel configuration
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
[    0.000000] Kernel command line: root=/dev/mmcblk0p65
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 2041016K/2097152K available (8384K kernel code, 906K rwdata, 1472K rodata, 448K init, 300K bss, 56136K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Hierarchical RCU implementation.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 640 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] Root IRQ handler: 0xffffffc008010090
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000000c080000
[    0.000000] arch_timer: cp15 timer(s) running at 13.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns
[    0.000000] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[    0.000123] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[    0.000131] pid_max: default: 32768 minimum: 301
[    0.000337] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.000349] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.001362] rcu: Hierarchical SRCU implementation.
[    0.001652] smp: Bringing up secondary CPUs ...
[    0.001908] Detected VIPT I-cache on CPU1
[    0.001929] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
[    0.001957] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.002215] Detected VIPT I-cache on CPU2
[    0.002227] GICv3: CPU2: found redistributor 2 region 0:0x000000000c0c0000
[    0.002237] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.002470] Detected VIPT I-cache on CPU3
[    0.002480] GICv3: CPU3: found redistributor 3 region 0:0x000000000c0e0000
[    0.002489] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.002515] smp: Brought up 1 node, 4 CPUs
[    0.002529] SMP: Total of 4 processors activated.
[    0.002533] CPU features: detected: 32-bit EL0 Support
[    0.002536] CPU features: detected: CRC32 instructions
[    0.002561] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.002614] CPU: All CPU(s) started at EL2
[    0.002623] alternatives: patching kernel code
[    0.005542] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.005564] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.005706] pinctrl core: initialized pinctrl subsystem
[    0.006329] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.006577] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations
[    0.006608] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.006633] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.006881] thermal_sys: Registered thermal governor 'fair_share'
[    0.006884] thermal_sys: Registered thermal governor 'bang_bang'
[    0.006887] thermal_sys: Registered thermal governor 'step_wise'
[    0.006890] thermal_sys: Registered thermal governor 'user_space'
[    0.007083] ASID allocator initialised with 65536 entries
[    0.007399] pstore: Registered ramoops as persistent store backend
[    0.007403] ramoops: using 0x10000@0x42ff0000, ecc: 0
[    0.017183] cryptd: max_cpu_qlen set to 1000
[    0.018758] 1.8vd: supplied by 12vd
[    0.018920] 3.3vd: supplied by 12vd
[    0.019173] SCSI subsystem initialized
[    0.019260] libata version 3.00 loaded.
[    0.020145] clocksource: Switched to clocksource arch_sys_counter
[    0.020588] NET: Registered PF_INET protocol family
[    0.020692] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.021354] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.021374] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.021382] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear)
[    0.021449] TCP bind hash table entries: 16384 (order: 6, 262144 bytes, linear)
[    0.021617] TCP: Hash tables configured (established 16384 bind 16384)
[    0.021691] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.021718] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.021843] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.021862] PCI: CLS 0 bytes, default 64
[    0.023632] workingset: timestamp_bits=46 max_order=19 bucket_order=0
[    0.026253] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.026267] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.048741] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.049801] pwm-mediatek 10048000.pwm: clock: top fail: -517
[    0.050072] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie@11280000 ranges:
[    0.050091] mtk-pcie-gen3 11280000.pcie: Parsing ranges property...
[    0.050101] mtk-pcie-gen3 11280000.pcie:      MEM 0x0020000000..0x002fffffff -> 0x0020000000
[    0.050212] /soc/pcie@11280000: Failed to get clk index: 0 ret: -517
[    0.050222] mtk-pcie-gen3 11280000.pcie: failed to get clocks
[    0.052944] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.054656] printk: console [ttyS0] disabled
[    0.074804] 11002000.serial: ttyS0 at MMIO 0x11002000 (irq = 122, base_baud = 2500000) is a ST16650V2
[    0.762713] printk: console [ttyS0] enabled
[    0.787504] 11003000.serial: ttyS1 at MMIO 0x11003000 (irq = 123, base_baud = 1625000) is a ST16650V2
[    0.817238] 11004000.serial: ttyS2 at MMIO 0x11004000 (irq = 124, base_baud = 1625000) is a ST16650V2
[    0.827056] mtk_rng 1020f000.rng: registered RNG driver
[    0.827289] random: crng init done
[    0.832531] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.843689] loop: module loaded
[    0.846839] Loading iSCSI transport class v2.0-870.
[    0.852823] spi spi0.0: setup: ignoring unsupported mode bits a00
[    0.859131] spi-nand spi0.0: Winbond SPI NAND was found.
[    0.864439] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[    0.872668] 4 fixed-partitions partitions found on MTD device spi0.0
[    0.879005] Creating 4 MTD partitions on "spi0.0":
[    0.883787] 0x000000580000-0x000008000000 : "ubi"
[    1.018535] 0x000000380000-0x000000580000 : "fip"
[    1.025536] 0x000000080000-0x000000380000 : "reserved"
[    1.033974] 0x000000000000-0x000000080000 : "bl2"
[    1.173184] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc009780000, irq 136
[    1.182933] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xffffffc009780000, irq 136
[    1.192451] i2c_dev: i2c /dev entries driver
[    1.198173] mtk-wdt 1001c000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[    1.206634] NET: Registered PF_INET6 protocol family
[    1.212169] Segment Routing with IPv6
[    1.215836] In-situ OAM (IOAM) with IPv6
[    1.219770] NET: Registered PF_PACKET protocol family
[    1.224865] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.237919] 8021q: 802.1Q VLAN Support v1.8
[    1.243143] pstore: Using crash dump compression: deflate
[    1.254060] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie@11280000 ranges:
[    1.261488] mtk-pcie-gen3 11280000.pcie: Parsing ranges property...
[    1.267743] mtk-pcie-gen3 11280000.pcie:      MEM 0x0020000000..0x002fffffff -> 0x0020000000
[    1.276962] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.286787] mmc0: new high speed SDHC card at address 59b4
[    1.293005] mmcblk0: mmc0:59b4       29.8 GiB 
[    1.302954] GPT:Primary header thinks Alt. header is not at the end of the disk.
[    1.310364] GPT:344096 != 62410751
[    1.313749] GPT:Alternate GPT header not at the end of the disk.
[    1.319733] GPT:344096 != 62410751
[    1.323122] GPT: Use GNU Parted to correct GPT errors.
[    1.328973] FIT: Selected configuration: "config-mt7986a-bananapi-bpi-r3" (OpenWrt bananapi_bpi-r3)
[    1.338009] FIT:           kernel sub-image 0x00001000..0x004ed6ab "kernel-1" (ARM64 OpenWrt Linux-5.15.150) 
[    1.347909] FIT:          flat_dt sub-image 0x004ee000..0x004f5b66 "fdt-1" (ARM64 OpenWrt bananapi_bpi-r3 device tree blob) 
[    1.359110] FIT:          flat_dt sub-image 0x004f6000..0x004f61dc "fdt-mt7986a-bananapi-bpi-r3-emmc" (ARM64 OpenWrt bananapi_bpi-r3 device tree overlay mt7986a-bananapi-bpi-r3-emmc) 
[    1.375423] FIT:          flat_dt sub-image 0x004f7000..0x004f7392 "fdt-mt7986a-bananapi-bpi-r3-nand" (ARM64 OpenWrt bananapi_bpi-r3 device tree overlay mt7986a-bananapi-bpi-r3-nand) 
[    1.391738] FIT:          flat_dt sub-image 0x004f8000..0x004f838f "fdt-mt7986a-bananapi-bpi-r3-nor" (ARM64 OpenWrt bananapi_bpi-r3 device tree overlay mt7986a-bananapi-bpi-r3-nor) 
[    1.407878] FIT:          flat_dt sub-image 0x004f9000..0x004f9146 "fdt-mt7986a-bananapi-bpi-r3-sd" (ARM64 OpenWrt bananapi_bpi-r3 device tree overlay mt7986a-bananapi-bpi-r3-sd) 
[    1.423844] FIT:       filesystem sub-image 0x004fa000..0x00a52fff "rootfs-1" (ARM64 OpenWrt bananapi_bpi-r3 rootfs) 
[    1.434432] FIT: selecting configured loadable "rootfs-1" to be root filesystem
[    1.441725]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p65(rootfs-1) p66(rootfs_data)
[    1.490138] mtk-pcie-gen3 11280000.pcie: PCIe link down, ltssm reg val: 0x1000001
[    1.497644] mtk-pcie-gen3: probe of 11280000.pcie failed with error -110
[    1.526291] mt7530-mdio mdio-bus:1f: configuring for fixed/2500base-x link mode
[    1.535420] mt7530-mdio mdio-bus:1f: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    1.544107] mt7530-mdio mdio-bus:1f wan (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7531 PHY] (irq=144)
[    1.564438] mt7530-mdio mdio-bus:1f lan1 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7531 PHY] (irq=145)
[    1.584441] mt7530-mdio mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7531 PHY] (irq=146)
[    1.604438] mt7530-mdio mdio-bus:1f lan3 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7531 PHY] (irq=147)
[    1.624450] mt7530-mdio mdio-bus:1f lan4 (uninitialized): PHY [mt7530-0:04] driver [MediaTek MT7531 PHY] (irq=148)
[    1.635542] DSA: tree 0 setup
[    1.640668] UBI: auto-attach mtd0
[    1.643985] ubi0: default fastmap pool size: 45
[    1.648498] ubi0: default fastmap WL pool size: 22
[    1.653281] ubi0: attaching mtd0
[    5.264873] ubi0: scanning is finished
[    5.309927] ubi0: attached mtd0 (name "ubi", size 122 MiB)
[    5.315418] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    5.322274] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    5.329041] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    5.335981] ubi0: good PEBs: 980, bad PEBs: 0, corrupted PEBs: 0
[    5.341969] ubi0: user volume: 5, internal volumes: 1, max. volumes count: 128
[    5.349168] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
[    5.357499] ubi0: available PEBs: 725, total reserved PEBs: 255, PEBs reserved for bad PEB handling: 20
[    5.366872] ubi0: background thread "ubi_bgt0d" started, PID 536
[    5.372902] FIT: Selected configuration: "config-mt7986a-bananapi-bpi-r3" (OpenWrt bananapi_bpi-r3)
[    5.381940] FIT:           kernel sub-image 0x00001000..0x004ed6ab "kernel-1" (ARM64 OpenWrt Linux-5.15.150) 
[    5.391839] FIT:          flat_dt sub-image 0x004ee000..0x004f5b66 "fdt-1" (ARM64 OpenWrt bananapi_bpi-r3 device tree blob) 
[    5.403040] FIT:          flat_dt sub-image 0x004f6000..0x004f61dc "fdt-mt7986a-bananapi-bpi-r3-emmc" (ARM64 OpenWrt bananapi_bpi-r3 device tree overlay mt7986a-bananapi-bpi-r3-emmc) 
[    5.419354] FIT:          flat_dt sub-image 0x004f7000..0x004f7392 "fdt-mt7986a-bananapi-bpi-r3-nand" (ARM64 OpenWrt bananapi_bpi-r3 device tree overlay mt7986a-bananapi-bpi-r3-nand) 
[    5.435667] FIT:          flat_dt sub-image 0x004f8000..0x004f838f "fdt-mt7986a-bananapi-bpi-r3-nor" (ARM64 OpenWrt bananapi_bpi-r3 device tree overlay mt7986a-bananapi-bpi-r3-nor) 
[    5.451807] FIT:          flat_dt sub-image 0x004f9000..0x004f9146 "fdt-mt7986a-bananapi-bpi-r3-sd" (ARM64 OpenWrt bananapi_bpi-r3 device tree overlay mt7986a-bananapi-bpi-r3-sd) 
[    5.467771] FIT:       filesystem sub-image 0x004fa000..0x00a52fff "rootfs-1" (ARM64 OpenWrt bananapi_bpi-r3 rootfs) 
[    5.478358] FIT: selecting configured loadable "rootfs-1" to be root filesystem
[    5.485646]  ubiblock0_2: p1(rootfs-1)
[    5.485760] block ubiblock0_2: created from ubi0:2(fit)
[    5.499022] VFS: Mounted root (squashfs filesystem) readonly on device 259:0.
[    5.506319] Freeing unused kernel memory: 448K
[    5.560149] Run /sbin/init as init process
[    5.564229]   with arguments:
[    5.567180]     /sbin/init
[    5.569871]   with environment:
[    5.573000]     HOME=/
[    5.575345]     TERM=linux
[    5.695183] init: Console is alive
[    5.698667] init: - watchdog -
[    5.957507] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.979447] usbcore: registered new interface driver usbfs
[    5.984972] usbcore: registered new interface driver hub
[    5.990309] usbcore: registered new device driver usb
[    5.998677] xhci-mtk 11200000.usb: supply vbus not found, using dummy regulator
[    6.006088] xhci-mtk 11200000.usb: supply vusb33 not found, using dummy regulator
[    6.014238] xhci-mtk 11200000.usb: xHCI Host Controller
[    6.019461] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 1
[    6.029937] xhci-mtk 11200000.usb: hcc params 0x01403f99 hci version 0x110 quirks 0x0000000000210010
[    6.039100] xhci-mtk 11200000.usb: irq 128, io mem 0x11200000
[    6.044919] xhci-mtk 11200000.usb: xHCI Host Controller
[    6.050134] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 2
[    6.057511] xhci-mtk 11200000.usb: Host supports USB 3.2 Enhanced SuperSpeed
[    6.064860] hub 1-0:1.0: USB hub found
[    6.068610] hub 1-0:1.0: 2 ports detected
[    6.072908] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    6.081263] hub 2-0:1.0: USB hub found
[    6.085018] hub 2-0:1.0: 1 port detected
[    6.091316] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    6.101292] init: - preinit -
[    6.312400] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
[    6.320862] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[    6.329076] mt7530-mdio mdio-bus:1f lan1: configuring for phy/gmii link mode
[    6.337019] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    6.520121] usb 1-1: new high-speed USB device number 2 using xhci-mtk
[    6.700750] hub 1-1:1.0: USB hub found
[    6.704559] hub 1-1:1.0: 4 ports detected
[    8.766513] F2FS-fs (mmcblk0p66): Disable nat_bits due to incorrect cp_ver (17640302159531657944, 0)
[    8.780486] F2FS-fs (mmcblk0p66): Mounted with checkpoint version = d70cad8
[    8.789505] mount_root: switching to f2fs overlay
[    8.796890] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
[    8.808981] urandom-seed: Seeding with /etc/urandom.seed
[    8.845398] procd: - early -
[    8.848321] procd: - watchdog -
[    9.377441] procd: - watchdog -
[    9.380802] procd: - ubus -
[    9.437314] procd: - init -
Please press Enter to activate this console.
[    9.568744] kmodloader: loading kernel modules from /etc/modules.d/*
[    9.579589] i2c-gpio i2c-gpio-0: using lines 427 (SDA) and 428 (SCL)
[    9.586260] i2c-gpio i2c-gpio-1: using lines 429 (SDA) and 430 (SCL)
[    9.595171] crypto-safexcel 10320000.crypto: EIP97:230(0,1,4,4)-HIA:270(0,5,5),PE:150/433(alg:7fcdfc00)/0/0/0
[    9.609244] Loading modules backported from Linux version v6.1.24-0-g0102425ac76b
[    9.616874] Backport generated by backports.git v5.15.92-1-44-gd6ea70fafd36
[    9.627215] sfp sfp-1: Host maximum power 3.0W
[    9.632407] sfp sfp-2: Host maximum power 3.0W
[    9.711435] urngd: v1.0.2 started.
[   10.043494] mt798x-wmac 18000000.wifi: HW/SW Version: 0x8a108a10, Build Time: 20221012174743a
[   10.043494] 
[   10.168749] mt798x-wmac 18000000.wifi: WM Firmware Version: ____000000, Build Time: 20221012174805
[   10.246763] mt798x-wmac 18000000.wifi: WA Firmware Version: DEV_000000, Build Time: 20221012174937
[   30.550119] mt798x-wmac 18000000.wifi: Message 00000002 (seq 9) timeout
[   30.556730] mt798x-wmac 18000000.wifi: Failed to start WA firmware
[   30.562985] mt798x-wmac: probe of 18000000.wifi failed with error -110
[   30.581245] PPP generic driver version 2.4.2
[   30.586123] NET: Registered PF_PPPOX protocol family
[   30.593111] kmodloader: done loading kernel modules from /etc/modules.d/*
[   33.148235] mtk_soc_eth 15100000.ethernet eth0: Link is Down
[   33.159789] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/2500base-x link mode
[   33.168253] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 2.5Gbps/Full - flow control rx/tx
[   33.172647] mt7530-mdio mdio-bus:1f lan1: configuring for phy/gmii link mode
[   33.184891] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   33.191403] br-lan: port 1(lan1) entered blocking state
[   33.196638] br-lan: port 1(lan1) entered disabled state
[   33.203422] device lan1 entered promiscuous mode
[   33.208042] device eth0 entered promiscuous mode
[   33.225258] mt7530-mdio mdio-bus:1f lan2: configuring for phy/gmii link mode
[   33.235288] br-lan: port 2(lan2) entered blocking state
[   33.240616] br-lan: port 2(lan2) entered disabled state
[   33.247717] device lan2 entered promiscuous mode
[   33.259909] mt7530-mdio mdio-bus:1f lan3: configuring for phy/gmii link mode
[   33.270223] br-lan: port 3(lan3) entered blocking state
[   33.275453] br-lan: port 3(lan3) entered disabled state
[   33.282794] device lan3 entered promiscuous mode
[   33.295093] mt7530-mdio mdio-bus:1f lan4: configuring for phy/gmii link mode
[   33.305090] br-lan: port 4(lan4) entered blocking state
[   33.310353] br-lan: port 4(lan4) entered disabled state
[   33.317684] device lan4 entered promiscuous mode
[   33.326598] mt7530-mdio mdio-bus:1f sfp2: configuring for inband/2500base-x link mode
[   33.336352] br-lan: port 5(sfp2) entered blocking state
[   33.341652] br-lan: port 5(sfp2) entered disabled state
[   33.349165] device sfp2 entered promiscuous mode
[   33.358089] mtk_soc_eth 15100000.ethernet eth1: configuring for inband/2500base-x link mode
[   33.368369] br-wan: port 1(eth1) entered blocking state
[   33.373639] br-wan: port 1(eth1) entered disabled state
[   33.379197] device eth1 entered promiscuous mode
[   33.389769] mt7530-mdio mdio-bus:1f wan: configuring for phy/gmii link mode
[   33.399622] br-wan: port 2(wan) entered blocking state
[   33.404790] br-wan: port 2(wan) entered disabled state
[   33.411310] device wan entered promiscuous mode
[   35.736255] mt7530-mdio mdio-bus:1f wan: Link is Up - 1Gbps/Full - flow control off
[   35.743944] br-wan: port 2(wan) entered blocking state
[   35.749067] br-wan: port 2(wan) entered forwarding state
[   35.754806] IPv6: ADDRCONF(NETDEV_CHANGE): br-wan: link becomes ready