Partion recovery zyxel nbg6817

Hello. I brake my router again. I just try to load openwrt but get only error - [ 3.176020] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,5). Probably smth with partirions?

MMC read: dev # 0, block # 18466, count 8192 ... 8192 blocks read: OK
   Image Name:   ARM OpenWrt Linux-5.15.167
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3048219 Bytes = 2.9 MiB
   Load Address: 42208000
   Entry Point:  42208000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

device nand1 <m25p80>, # parts = 8
 #: name                size            offset          mask_flags
 0: SBL                 0x000c0000      0x00000000      1
 1: TZ                  0x00040000      0x000c0000      1
 2: RPM                 0x00040000      0x00100000      1
 3: u-boot              0x00080000      0x00140000      1
 4: env                 0x00010000      0x001c0000      1
 5: ART                 0x00010000      0x001d0000      1
 6: dualflag            0x00010000      0x001e0000      0
 7: reserved            0x00210000      0x001f0000      0

But it should be

dev:    size   erasesize  name
mtd0: 000c0000 00010000 "SBL"
mtd1: 00040000 00010000 "TZ"
mtd2: 00040000 00010000 "RPM"
mtd3: 00080000 00010000 "u-boot"
mtd4: 00010000 00010000 "env"
mtd5: 00010000 00010000 "ART"
mtd6: 00010000 00010000 "dualflag"
mtd7: 00210000 00010000 "reserved"

Help pls, how to fix it

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.15.167 (builder@buildhost) (arm-openwrt-linux-muslgnueabi-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 4
[    0.000000] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5787d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: ZyXEL NBG6817
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000042000000-0x000000005fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000042000000-0x000000005fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000042000000-0x000000005fffffff]
[    0.000000] percpu: Embedded 12 pages/cpu s19788 r8192 d21172 u49152
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 121800
[    0.000000] Kernel command line: rootfstype=squashfs,ext4 rootwait noinitrd fstools_ignore_partname=1 root=/dev/mmcblk0p5
[    0.000000] Bootloader command line (ignored): board=NBG6817 root=/dev/mmcblk0p5 rootwait zld_ver=2.07 console=ttyHSL1,115200n8 mtdparts=m25p80:0xC0000(SBL)ro,0x40000(TZ)ro,0x40000(RPM)ro,0x8000)
[    0.000000] Unknown kernel command line parameters "fstools_ignore_partname=1", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 476472K/491520K available (6853K kernel code, 619K rwdata, 1088K rodata, 1024K init, 245K bss, 15048K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, 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: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] clocksource: dg_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 305801671480 ns
[    0.000001] sched_clock: 32 bits at 6MHz, resolution 160ns, wraps every 343597383600ns
[    0.000020] Switching to timer-based delay loop, resolution 160ns
[    0.000325] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500)
[    0.000353] CPU: Testing write buffer coherency: ok
[    0.000409] pid_max: default: 32768 minimum: 301
[    0.001230] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001256] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.003145] qcom_scm: convention: smc legacy
[    0.004413] Setting up static identity map for 0x42300000 - 0x42300060
[    0.004596] rcu: Hierarchical SRCU implementation.
[    0.005158] smp: Bringing up secondary CPUs ...
[    0.007125] smp: Brought up 1 node, 2 CPUs
[    0.007148] SMP: Total of 2 processors activated (25.00 BogoMIPS).
[    0.007163] CPU: All CPU(s) started in SVC mode.
[    0.018485] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
[    0.018632] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.018664] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.018913] pinctrl core: initialized pinctrl subsystem
[    0.020926] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.021332] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.022758] thermal_sys: Registered thermal governor 'step_wise'
[    0.024781] cpuidle: using governor ladder
[    0.024850] cpuidle: using governor menu
[    0.042158] qcom_rpm 108000.rpm: RPM firmware 3.0.16777364
[    0.075706] s1a: Bringing 0uV into 1050000-1050000uV
[    0.075925] s1a: supplied by regulator-dummy
[    0.076108] s1b: Bringing 0uV into 1050000-1050000uV
[    0.076355] s1b: supplied by regulator-dummy
[    0.076491] s2a: Bringing 0uV into 775000-775000uV
[    0.076690] s2a: supplied by regulator-dummy
[    0.076851] s2b: Bringing 0uV into 775000-775000uV
[    0.077075] s2b: supplied by regulator-dummy
[    0.077625] usbcore: registered new interface driver usbfs
[    0.077713] usbcore: registered new interface driver hub
[    0.077773] usbcore: registered new device driver usb
[    0.077830] pps_core: LinuxPPS API ver. 1 registered
[    0.077844] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.077876] PTP clock support registered
[    0.080024] clocksource: Switched to clocksource dg_timer
[    0.081255] NET: Registered PF_INET protocol family
[    0.081434] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.082395] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.082431] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.082456] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.082493] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.082550] TCP: Hash tables configured (established 4096 bind 4096)
[    0.082639] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.082671] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.083092] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.083140] PCI: CLS 0 bytes, default 64
[    0.084682] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.091112] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.091134] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.196102] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.198736] qcom-pcie 1b500000.pci: supply vdda not found, using dummy regulator
[    0.198935] qcom-pcie 1b500000.pci: supply vdda_phy not found, using dummy regulator
[    0.199078] qcom-pcie 1b500000.pci: supply vdda_refclk not found, using dummy regulator
[    0.199325] qcom-pcie 1b500000.pci: host bridge /soc/pci@1b500000 ranges:
[    0.199404] qcom-pcie 1b500000.pci:       IO 0x000fe00000..0x000fe0ffff -> 0x0000000000
[    0.199442] qcom-pcie 1b500000.pci:      MEM 0x0008000000..0x000fdfffff -> 0x0008000000
[    0.324248] qcom-pcie 1b500000.pci: iATU unroll: disabled
[    0.324268] qcom-pcie 1b500000.pci: Detected iATU regions: 8 outbound, 8 inbound
[    0.426995] qcom-pcie 1b500000.pci: Link up
[    0.427151] qcom-pcie 1b500000.pci: PCI host bridge to bus 0000:00
[    0.427170] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.427190] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.427208] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fdfffff]
[    0.427273] pci 0000:00:00.0: [17cb:0101] type 01 class 0x060400
[    0.427397] pci 0000:00:00.0: supports D1
[    0.427414] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.430802] PCI: bus0: Fast back to back transfers disabled
[    0.431174] pci 0000:01:00.0: [168c:0046] type 00 class 0x028000
[    0.431352] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.432150] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    0.435637] PCI: bus1: Fast back to back transfers disabled
[    0.435718] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x081fffff]
[    0.435743] pci 0000:01:00.0: BAR 0: assigned [mem 0x08000000-0x081fffff 64bit]
[    0.435838] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.435861] pci 0000:00:00.0:   bridge window [mem 0x08000000-0x081fffff]
[    0.436773] pcieport 0000:00:00.0: AER: enabled with IRQ 44
[    0.437655] qcom-pcie 1b700000.pci: supply vdda not found, using dummy regulator
[    0.437840] qcom-pcie 1b700000.pci: supply vdda_phy not found, using dummy regulator
[    0.437932] qcom-pcie 1b700000.pci: supply vdda_refclk not found, using dummy regulator
[    0.438203] qcom-pcie 1b700000.pci: host bridge /soc/pci@1b700000 ranges:
[    0.438280] qcom-pcie 1b700000.pci:       IO 0x0031e00000..0x0031e0ffff -> 0x0000000000
[    0.438317] qcom-pcie 1b700000.pci:      MEM 0x002e000000..0x0031dfffff -> 0x002e000000
[    0.564826] qcom-pcie 1b700000.pci: iATU unroll: disabled
[    0.564844] qcom-pcie 1b700000.pci: Detected iATU regions: 8 outbound, 8 inbound
[    0.667512] qcom-pcie 1b700000.pci: Link up
[    0.667636] qcom-pcie 1b700000.pci: PCI host bridge to bus 0001:00
[    0.667655] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.667676] pci_bus 0001:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x0000-0xffff])
[    0.667694] pci_bus 0001:00: root bus resource [mem 0x2e000000-0x31dfffff]
[    0.667756] pci 0001:00:00.0: [17cb:0101] type 01 class 0x060400
[    0.667878] pci 0001:00:00.0: supports D1
[    0.667894] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
[    0.671252] PCI: bus0: Fast back to back transfers disabled
[    0.671598] pci 0001:01:00.0: [168c:0046] type 00 class 0x028000
[    0.671790] pci 0001:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.672662] pci 0001:01:00.0: PME# supported from D0 D3hot D3cold
[    0.672940] pci 0001:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0001:00:00.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    0.676226] PCI: bus1: Fast back to back transfers disabled
[    0.676301] pci 0001:00:00.0: BAR 8: assigned [mem 0x2e000000-0x2e1fffff]
[    0.676327] pci 0001:01:00.0: BAR 0: assigned [mem 0x2e000000-0x2e1fffff 64bit]
[    0.676428] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[    0.676450] pci 0001:00:00.0:   bridge window [mem 0x2e000000-0x2e1fffff]
[    0.677287] pcieport 0001:00:00.0: AER: enabled with IRQ 46
[    0.680756] krait-cc soc:clock-controller: CPU0 @ 800000 KHz
[    0.680780] krait-cc soc:clock-controller: CPU1 @ Undefined rate. Forcing new rate.
[    0.680916] krait-cc soc:clock-controller: CPU1 @ 384000 KHz
[    0.680936] krait-cc soc:clock-controller: L2 @ Undefined rate. Forcing new rate.
[    0.681122] krait-cc soc:clock-controller: L2 @ 384000 KHz
[    0.684891] gsbi 16300000.gsbi: GSBI port protocol: 6 crci: 0
[    0.686254] gsbi 1a200000.gsbi: GSBI port protocol: 3 crci: 0
[    0.687835] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.690002] msm_serial 16340000.serial: msm_serial: detected port #0
[    0.690048] msm_serial 16340000.serial: uartclk = 7372800
[    0.690105] 16340000.serial: ttyMSM0 at MMIO 0x16340000 (irq = 47, base_baud = 460800) is a MSM
[    0.690142] msm_serial: console setup on port #0
[    1.645017] printk: console [ttyMSM0] enabled
[    1.650065] msm_serial: driver initialized
[    1.659205] loop: module loaded
[    1.660196] spi_qup 1a280000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64
[    1.662883] spi-nor spi0.0: mx25u3235f (4096 Kbytes)
[    1.686228] switch0: Atheros AR8337 rev. 2 switch registered on 37000000.mdio-mii
[    2.526635] ar8327: qca,phy-rgmii-en is not specified
[    2.527540] ipq806x-gmac-dwmac 37200000.ethernet: IRQ eth_wake_irq not found
[    2.530772] ipq806x-gmac-dwmac 37200000.ethernet: IRQ eth_lpi not found
[    2.537965] ipq806x-gmac-dwmac 37200000.ethernet: PTP uses main clock
[    2.544766] ipq806x-gmac-dwmac 37200000.ethernet: User ID: 0x10, Synopsys ID: 0x37
[    2.550795] ipq806x-gmac-dwmac 37200000.ethernet:    DWMAC1000
[    2.558183] ipq806x-gmac-dwmac 37200000.ethernet: DMA HW capability register supported
[    2.564059] ipq806x-gmac-dwmac 37200000.ethernet: RX Checksum Offload Engine supported
[    2.571803] ipq806x-gmac-dwmac 37200000.ethernet: COE Type 2
[    2.579624] ipq806x-gmac-dwmac 37200000.ethernet: TX Checksum insertion supported
[    2.585518] ipq806x-gmac-dwmac 37200000.ethernet: Wake-Up On Lan supported
[    2.592899] ipq806x-gmac-dwmac 37200000.ethernet: Enhanced/Alternate descriptors
[    2.599592] ipq806x-gmac-dwmac 37200000.ethernet: Enabled extended descriptors
[    2.607199] ipq806x-gmac-dwmac 37200000.ethernet: Ring mode enabled
[    2.614227] ipq806x-gmac-dwmac 37200000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    2.620429] ipq806x-gmac-dwmac 37200000.ethernet: device MAC address 1e:6e:8e:44:53:dc
[    2.630750] ipq806x-gmac-dwmac 37400000.ethernet: IRQ eth_wake_irq not found
[    2.636746] ipq806x-gmac-dwmac 37400000.ethernet: IRQ eth_lpi not found
[    2.644250] ipq806x-gmac-dwmac 37400000.ethernet: PTP uses main clock
[    2.650709] ipq806x-gmac-dwmac 37400000.ethernet: User ID: 0x10, Synopsys ID: 0x37
[    2.656888] ipq806x-gmac-dwmac 37400000.ethernet:    DWMAC1000
[    2.664447] ipq806x-gmac-dwmac 37400000.ethernet: DMA HW capability register supported
[    2.670166] ipq806x-gmac-dwmac 37400000.ethernet: RX Checksum Offload Engine supported
[    2.677964] ipq806x-gmac-dwmac 37400000.ethernet: COE Type 2
[    2.685863] ipq806x-gmac-dwmac 37400000.ethernet: TX Checksum insertion supported
[    2.691671] ipq806x-gmac-dwmac 37400000.ethernet: Wake-Up On Lan supported
[    2.698982] ipq806x-gmac-dwmac 37400000.ethernet: Enhanced/Alternate descriptors
[    2.705823] ipq806x-gmac-dwmac 37400000.ethernet: Enabled extended descriptors
[    2.713391] ipq806x-gmac-dwmac 37400000.ethernet: Ring mode enabled
[    2.720412] ipq806x-gmac-dwmac 37400000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    2.726518] ipq806x-gmac-dwmac 37400000.ethernet: device MAC address 22:f5:8e:1c:78:9c
[    2.736955] i2c_dev: i2c /dev entries driver
[    2.746038] sdhci: Secure Digital Host Controller Interface driver
[    2.747179] mmci-pl18x 12400000.sdcc: mmc0: PL180 manf 51 rev0 at 0x12400000 irq 42,0 (pio)
[    2.747341] sdhci: Copyright(c) Pierre Ossman
[    2.747353] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.756490] NET: Registered PF_INET6 protocol family
[    2.761798] mmci-pl18x 12400000.sdcc: DMA channels RX dma1chan1, TX dma1chan2
[    2.771492] Segment Routing with IPv6
[    2.783928] In-situ OAM (IOAM) with IPv6
[    2.787513] NET: Registered PF_PACKET protocol family
[    2.791569] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    2.796711] 8021q: 802.1Q VLAN Support v1.8
[    2.809638] Registering SWP/SWPB emulation handler
[    2.840452] spi-nor spi0.0: mx25u3235f (4096 Kbytes)
[    2.840566] 13 qcomsmem partitions found on MTD device spi0.0
[    2.844562] Creating 13 MTD partitions on "spi0.0":
[    2.850144] 0x000000000000-0x000000020000 : "0:sbl1"
[    2.855754] 0x000000020000-0x000000040000 : "0:mibib"
[    2.860820] 0x000000040000-0x000000060000 : "0:sbl2"
[    2.865652] 0x000000060000-0x0000000a0000 : "0:sbl3"
[    2.870804] 0x0000000a0000-0x0000000b0000 : "0:ddrconfig"
[    2.875705] 0x0000000b0000-0x0000000c0000 : "0:ssd"
[    2.881039] 0x0000000c0000-0x000000100000 : "0:tz"
[    2.885721] 0x000000100000-0x000000140000 : "0:rpm"
[    2.890568] 0x000000140000-0x0000001c0000 : "0:appsbl"
[    2.895320] 0x0000001c0000-0x0000001d0000 : "0:appsblenv"
[    2.900594] 0x0000001d0000-0x0000001e0000 : "0:art"
[    2.905867] 0x0000001e0000-0x0000001f0000 : "0:dual_flag"
[    2.910651] 0x0000001f0000-0x000000400000 : "0:reserved"
[    2.930440] thermal thermal_zone0: failed to read out thermal zone (-110)
[  [    2.944373] Waiting for root device /dev/mmcblk0p5...
[    2.945296] mmc0: new high speed MMC card at address 0001
[    2.948782] mmcblk0: mmc0:0001 M62704 3.53 GiB
[    2.956484]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10
[    2.958826] mmcblk0boot0: mmc0:0001 M62704 2.00 MiB
[    2.963782] mmcblk0boot1: mmc0:0001 M62704 2.00 MiB
[    2.968505] mmcblk0rpmb: mmc0:0001 M62704 512 KiB, chardev (247:0)
[    2.981063] VFS: Cannot open root device "mmcblk0p5" or unknown-block(179,5): error -19
[    2.981088] Please append a correct "root=" boot option; here are the available partitions:
[    2.987875] 1f00             128 mtdblock0
[    2.987880]  (driver?)
[    3.000421] 1f01             128 mtdblock1
[    3.000426]  (driver?)
[    3.006869] 1f02             128 mtdblock2
[    3.006873]  (driver?)
[    3.013443] 1f03             256 mtdblock3
[    3.013448]  (driver?)
[    3.019890] 1f04              64 mtdblock4
[    3.019895]  (driver?)
[    3.026401] 1f05              64 mtdblock5
[    3.026406]  (driver?)
[    3.032965] 1f06             256 mtdblock6
[    3.032970]  (driver?)
[    3.039421] 1f07             256 mtdblock7
[    3.039426]  (driver?)
[    3.045932] 1f08             512 mtdblock8
[    3.045937]  (driver?)
[    3.052490] 1f09              64 mtdblock9
[    3.052495]  (driver?)
[    3.058953] 1f0a              64 mtdblock10
[    3.058958]  (driver?)
[    3.065811] 1f0b              64 mtdblock11
[    3.065816]  (driver?)
[    3.072453] 1f0c            2112 mtdblock12
[    3.072458]  (driver?)
[    3.079006] b300         3702784 mmcblk0
[    3.079010]  driver: mmcblk
[    3.085255]   b301            4096 mmcblk0p1 be4d331a-114a-4205-9ade-518459f4023b
[    3.085261]
[    3.095540]   b302            4096 mmcblk0p2 fa594279-249b-44f1-9a0a-d49df83ea8b8
[    3.095546]
[    3.104508]   b303            1024 mmcblk0p3 8985bceb-046b-4773-9d3c-51f9b10dd322
[    3.104513]
[    3.113439]   b304            4096 mmcblk0p4 e676414e-a8c0-41fd-a2d3-ace452cc2e5c
[    3.113444]
[    3.122373]   b305          524288 mmcblk0p5 c3f3bba8-c887-4d29-a62e-20ff995e12eb
[    3.122379]
[    3.131311]   b306            1024 mmcblk0p6 cbba6ecc-09f7-4e0b-9910-f4a072e74019
[    3.131317]
[    3.140201]   b307            4096 mmcblk0p7 e53da108-bc41-4f80-8385-eda5b597ef63
[    3.140206]
[    3.149143]   b308          524288 mmcblk0p8 4b72b3ab-4357-47c7-ad8f-038578db827a
[    3.149148]
[    3.158083]   b309          262144 mmcblk0p9 b5a2726f-267a-456e-9f89-90964de41b85
[    3.158088]
[    3.167082]   b30a         2372591 mmcblk0p10 dfe4f4a0-6fce-4432-a2db-a7c9f940c99a
[    3.167087]
[    3.176020] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,5)
[    3.177625] CPU1: stopping
[    3.186036] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.15.167 #0
[    3.188557] Hardware name: Generic DT based system
[    3.194723] Function entered at [<c030d6b8>] from [<c03095fc>]
[    3.199408] Function entered at [<c03095fc>] from [<c0605d64>]
[    3.205225] Function entered at [<c0605d64>] from [<c030c014>]
[    3.211039] Function entered at [<c030c014>] from [<c030c060>]
[    3.216855] Function entered at [<c030c060>] from [<c0374188>]
[    3.222672] Function entered at [<c0374188>] from [<c036e37c>]
[    3.228486] Function entered at [<c036e37c>] from [<c03012e4>]
[    3.234304] Function entered at [<c03012e4>] from [<c0300b7c>]
[    3.240119] Exception stack(0xc108df58 to 0xc108dfa0)
[    3.245935] df40:                                                       000004f8 00000000
[    3.251060] df60: 00000001 c0313180 00000001 c0c04f28 c108c000 00000000 00000000 ffffe000
[    3.259221] df80: 00000000 c0c04f5c c0cc0e80 c108dfa8 c0306e48 c0306e4c 60000013 ffffffff
[    3.267379] Function entered at [<c0300b7c>] from [<c0306e4c>]
[    3.275536] Function entered at [<c0306e4c>] from [<c034e7c0>]
[    3.281265] Function entered at [<c034e7c0>] from [<c034eb24>]
[    3.287081] Function entered at [<c034eb24>] from [<42301390>]
[    3.292903] Rebooting in 1 seconds..

There is no NAND on this device, only spi-nor (which holds these partitions) and eMMC, so I'm not sure about your output - but, the bootloader stage appears to be correct, the problem seems to be with the eMMC.

Did you already try:
https://openwrt.org/toh/zyxel/nbg6817#debricking

What happens if you tftpboot an initramfs image, given your log I'm pretty confident that this should get you into a running initramfs image - from where you can investigate the state of your eMMC. See the device page on the wiki, respectively https://github.com/pkgadd/nbg6817?tab=readme-ov-file#4-gib-internal-emmc-kingston-s10004, for reference.

And the elephant in the room, what did you do before this problem started to occur?

Yes i tried debricking, and this is log from trying to load this firmware

I tried to upgrade with sysupgrade

But before, in previous year, i delete system part. I forgot my previous login but its me ZyXEL NBG6817 (Armor Z2) recover disk partition

How to get this initramfs?

https://firmware-selector.openwrt.org/?version=23.05.5&target=ipq806x%2Fgeneric&id=zyxel_nbg6817
KERNEL = initramfs

It raise error too

NBG6817> ATUR ras.bin
download ras.bin to memory address 0x41500000
Using eth1 device
TFTP from server 192.168.1.99; our IP address is 192.168.1.1
Filename 'ras.bin'.
Load address: 0x41500000
Loading: #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #############################################################
done
Bytes transferred = 25696256 (1881800 hex)

Please be patient, start to upgrade RAS!
Update rootfs partition(len=21436416)...
MMC erase: dev # 0, block # 26658, count 131072 ...

MMC write: dev # 0, block # 26658, count 41868 ...
Update kernel partition(len=4194304)...
MMC erase: dev # 0, block # 18466, count 8192 ...

MMC write: dev # 0, block # 18466, count 8192 ...
Update header partition(len=2048)...
MMC erase: dev # 0, block # 16418, count 2048 ...

MMC write: dev # 0, block # 16418, count 4 ...
NBG6817> HELP
ATEN	x[,y]     set BootExtension Debug Flag (y=password)
ATSE	x         show the seed of password generator
ATSH	          dump manufacturer related data in ROM
ATRT	[x,y,z,u] RAM read/write test (x=level, y=start addr, z=end addr, u=iterations)
ATGO	          boot up whole system
ATUR	x         upgrade RAS image (filename)
NBG6817> ATFO
ATEN	x[,y]     set BootExtension Debug Flag (y=password)
ATSE	x         show the seed of password generator
ATSH	          dump manufacturer related data in ROM
ATRT	[x,y,z,u] RAM read/write test (x=level, y=start addr, z=end addr, u=iterations)
ATGO	          boot up whole system
ATUR	x         upgrade RAS image (filename)
NBG6817> ATGO

MMC read: dev # 0, block # 18466, count 8192 ... 8192 blocks read: OK
   Image Name:   ARM OpenWrt Linux-5.15.167
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3048219 Bytes = 2.9 MiB
   Load Address: 42208000
   Entry Point:  42208000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

device nand1 <m25p80>, # parts = 8
 #: name		size		offset		mask_flags
 0: SBL                 0x000c0000	0x00000000	1
 1: TZ                  0x00040000	0x000c0000	1
 2: RPM                 0x00040000	0x00100000	1
 3: u-boot              0x00080000	0x00140000	1
 4: env                 0x00010000	0x001c0000	1
 5: ART                 0x00010000	0x001d0000	1
 6: dualflag            0x00010000	0x001e0000	0
 7: reserved            0x00210000	0x001f0000	0

active partition: nand1,0 - (SBL) 0x000c0000 @ 0x00000000

defaults:
mtdids  : none
mtdparts: mtdparts=m25p80:0xC0000(SBL)ro,0x40000(TZ)ro,0x40000(RPM)ro,${ldr_psize}(u-boot)${readonly},${env_psize}(env)${readonly},${rfdat_psize}(ART)${readonly},${dualflag_psize}(dualflag),${reserved_psize}(reserved)
Setting up atags for msm partition: SBL
Setting up atags for msm partition: TZ
Setting up atags for msm partition: RPM
Setting up atags for msm partition: u-boot
Setting up atags for msm partition: env
Setting up atags for msm partition: ART
Setting up atags for msm partition: dualflag
Setting up atags for msm partition: reserved
Using machid 0x136d from environment

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.15.167 (builder@buildhost) (arm-openwrt-linux-muslgnueabi-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] CPU: ARMv7 Processor [512f04d0] revision 0 (ARMv7), cr=10c5787d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] OF: fdt: Machine model: ZyXEL NBG6817
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000042000000-0x000000005fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000042000000-0x000000005fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000042000000-0x000000005fffffff]
[    0.000000] percpu: Embedded 12 pages/cpu s19788 r8192 d21172 u49152
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 121800
[    0.000000] Kernel command line: rootfstype=squashfs,ext4 rootwait noinitrd fstools_ignore_partname=1 root=/dev/mmcblk0p5
[    0.000000] Bootloader command line (ignored): board=NBG6817 root=/dev/mmcblk0p5 rootwait zld_ver=2.07 console=ttyHSL1,115200n8 mtdparts=m25p80:0xC0000(SBL)ro,0x40000(TZ)ro,0x40000(RPM)ro,0x80000(u-boot)ro,0x10000(env)ro,0x10000(ART)ro,0x10000(dualflag),0x210000(reserved)
[    0.000000] Unknown kernel command line parameters "fstools_ignore_partname=1", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 476472K/491520K available (6853K kernel code, 619K rwdata, 1088K rodata, 1024K init, 245K bss, 15048K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, 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: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] clocksource: dg_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 305801671480 ns
[    0.000001] sched_clock: 32 bits at 6MHz, resolution 160ns, wraps every 343597383600ns
[    0.000021] Switching to timer-based delay loop, resolution 160ns
[    0.000326] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.50 BogoMIPS (lpj=62500)
[    0.000354] CPU: Testing write buffer coherency: ok
[    0.000410] pid_max: default: 32768 minimum: 301
[    0.001232] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001259] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.003144] qcom_scm: convention: smc legacy
[    0.004408] Setting up static identity map for 0x42300000 - 0x42300060
[    0.004592] rcu: Hierarchical SRCU implementation.
[    0.005154] smp: Bringing up secondary CPUs ...
[    0.007124] smp: Brought up 1 node, 2 CPUs
[    0.007147] SMP: Total of 2 processors activated (25.00 BogoMIPS).
[    0.007162] CPU: All CPU(s) started in SVC mode.
[    0.018475] VFP support v0.3: implementor 51 architecture 64 part 4d variant 2 rev 0
[    0.018622] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.018654] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.018902] pinctrl core: initialized pinctrl subsystem
[    0.020898] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.021303] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.022726] thermal_sys: Registered thermal governor 'step_wise'
[    0.024746] cpuidle: using governor ladder
[    0.024814] cpuidle: using governor menu
[    0.042162] qcom_rpm 108000.rpm: RPM firmware 3.0.16777364
[    0.075847] s1a: Bringing 0uV into 1050000-1050000uV
[    0.076066] s1a: supplied by regulator-dummy
[    0.076249] s1b: Bringing 0uV into 1050000-1050000uV
[    0.076495] s1b: supplied by regulator-dummy
[    0.076631] s2a: Bringing 0uV into 775000-775000uV
[    0.076831] s2a: supplied by regulator-dummy
[    0.076993] s2b: Bringing 0uV into 775000-775000uV
[    0.077216] s2b: supplied by regulator-dummy
[    0.077767] usbcore: registered new interface driver usbfs
[    0.077854] usbcore: registered new interface driver hub
[    0.077913] usbcore: registered new device driver usb
[    0.077970] pps_core: LinuxPPS API ver. 1 registered
[    0.077984] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.078016] PTP clock support registered
[    0.080152] clocksource: Switched to clocksource dg_timer
[    0.081389] NET: Registered PF_INET protocol family
[    0.081569] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.082524] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.082560] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.082586] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.082622] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.082763] TCP: Hash tables configured (established 4096 bind 4096)
[    0.082857] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.082888] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.083228] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.083276] PCI: CLS 0 bytes, default 64
[    0.084507] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    0.090938] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.090960] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.196058] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.198681] qcom-pcie 1b500000.pci: supply vdda not found, using dummy regulator
[    0.198879] qcom-pcie 1b500000.pci: supply vdda_phy not found, using dummy regulator
[    0.198998] qcom-pcie 1b500000.pci: supply vdda_refclk not found, using dummy regulator
[    0.199265] qcom-pcie 1b500000.pci: host bridge /soc/pci@1b500000 ranges:
[    0.199344] qcom-pcie 1b500000.pci:       IO 0x000fe00000..0x000fe0ffff -> 0x0000000000
[    0.199382] qcom-pcie 1b500000.pci:      MEM 0x0008000000..0x000fdfffff -> 0x0008000000
[    0.324404] qcom-pcie 1b500000.pci: iATU unroll: disabled
[    0.324424] qcom-pcie 1b500000.pci: Detected iATU regions: 8 outbound, 8 inbound
[    0.427151] qcom-pcie 1b500000.pci: Link up
[    0.427304] qcom-pcie 1b500000.pci: PCI host bridge to bus 0000:00
[    0.427324] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.427344] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.427362] pci_bus 0000:00: root bus resource [mem 0x08000000-0x0fdfffff]
[    0.427427] pci 0000:00:00.0: [17cb:0101] type 01 class 0x060400
[    0.427552] pci 0000:00:00.0: supports D1
[    0.427568] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.430958] PCI: bus0: Fast back to back transfers disabled
[    0.431332] pci 0000:01:00.0: [168c:0046] type 00 class 0x028000
[    0.431510] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.432308] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    0.435795] PCI: bus1: Fast back to back transfers disabled
[    0.435875] pci 0000:00:00.0: BAR 8: assigned [mem 0x08000000-0x081fffff]
[    0.435900] pci 0000:01:00.0: BAR 0: assigned [mem 0x08000000-0x081fffff 64bit]
[    0.435995] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.436017] pci 0000:00:00.0:   bridge window [mem 0x08000000-0x081fffff]
[    0.437096] pcieport 0000:00:00.0: AER: enabled with IRQ 44
[    0.437972] qcom-pcie 1b700000.pci: supply vdda not found, using dummy regulator
[    0.438157] qcom-pcie 1b700000.pci: supply vdda_phy not found, using dummy regulator
[    0.438249] qcom-pcie 1b700000.pci: supply vdda_refclk not found, using dummy regulator
[    0.438519] qcom-pcie 1b700000.pci: host bridge /soc/pci@1b700000 ranges:
[    0.438596] qcom-pcie 1b700000.pci:       IO 0x0031e00000..0x0031e0ffff -> 0x0000000000
[    0.438633] qcom-pcie 1b700000.pci:      MEM 0x002e000000..0x0031dfffff -> 0x002e000000
[    0.565012] qcom-pcie 1b700000.pci: iATU unroll: disabled
[    0.565032] qcom-pcie 1b700000.pci: Detected iATU regions: 8 outbound, 8 inbound
[    0.667762] qcom-pcie 1b700000.pci: Link up
[    0.667886] qcom-pcie 1b700000.pci: PCI host bridge to bus 0001:00
[    0.667904] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.667925] pci_bus 0001:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x0000-0xffff])
[    0.667943] pci_bus 0001:00: root bus resource [mem 0x2e000000-0x31dfffff]
[    0.668004] pci 0001:00:00.0: [17cb:0101] type 01 class 0x060400
[    0.668126] pci 0001:00:00.0: supports D1
[    0.668142] pci 0001:00:00.0: PME# supported from D0 D1 D3hot
[    0.671502] PCI: bus0: Fast back to back transfers disabled
[    0.671844] pci 0001:01:00.0: [168c:0046] type 00 class 0x028000
[    0.672036] pci 0001:01:00.0: reg 0x10: [mem 0x00000000-0x001fffff 64bit]
[    0.672908] pci 0001:01:00.0: PME# supported from D0 D3hot D3cold
[    0.673186] pci 0001:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0001:00:00.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    0.676472] PCI: bus1: Fast back to back transfers disabled
[    0.676548] pci 0001:00:00.0: BAR 8: assigned [mem 0x2e000000-0x2e1fffff]
[    0.676573] pci 0001:01:00.0: BAR 0: assigned [mem 0x2e000000-0x2e1fffff 64bit]
[    0.676676] pci 0001:00:00.0: PCI bridge to [bus 01-ff]
[    0.676697] pci 0001:00:00.0:   bridge window [mem 0x2e000000-0x2e1fffff]
[    0.677714] pcieport 0001:00:00.0: AER: enabled with IRQ 46
[    0.681155] krait-cc soc:clock-controller: CPU0 @ 800000 KHz
[    0.681179] krait-cc soc:clock-controller: CPU1 @ Undefined rate. Forcing new rate.
[    0.681315] krait-cc soc:clock-controller: CPU1 @ 384000 KHz
[    0.681334] krait-cc soc:clock-controller: L2 @ Undefined rate. Forcing new rate.
[    0.681525] krait-cc soc:clock-controller: L2 @ 384000 KHz
[    0.685285] gsbi 16300000.gsbi: GSBI port protocol: 6 crci: 0
[    0.686656] gsbi 1a200000.gsbi: GSBI port protocol: 3 crci: 0
[    0.688243] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.690402] msm_serial 16340000.serial: msm_serial: detected port #0
[    0.690546] msm_serial 16340000.serial: uartclk = 7372800
[    0.690604] 16340000.serial: ttyMSM0 at MMIO 0x16340000 (irq = 47, base_baud = 460800) is a MSM
[    0.690640] msm_serial: console setup on port #0
[    1.645705] printk: console [ttyMSM0] enabled
[    1.650852] msm_serial: driver initialized
[    1.659846] loop: module loaded
[    1.660918] spi_qup 1a280000.spi: IN:block:16, fifo:64, OUT:block:16, fifo:64
[    1.663557] spi-nor spi0.0: mx25u3235f (4096 Kbytes)
[    1.686853] switch0: Atheros AR8337 rev. 2 switch registered on 37000000.mdio-mii
[    2.526760] ar8327: qca,phy-rgmii-en is not specified
[    2.527671] ipq806x-gmac-dwmac 37200000.ethernet: IRQ eth_wake_irq not found
[    2.530897] ipq806x-gmac-dwmac 37200000.ethernet: IRQ eth_lpi not found
[    2.538090] ipq806x-gmac-dwmac 37200000.ethernet: PTP uses main clock
[    2.544918] ipq806x-gmac-dwmac 37200000.ethernet: User ID: 0x10, Synopsys ID: 0x37
[    2.550920] ipq806x-gmac-dwmac 37200000.ethernet: 	DWMAC1000
[    2.558309] ipq806x-gmac-dwmac 37200000.ethernet: DMA HW capability register supported
[    2.564184] ipq806x-gmac-dwmac 37200000.ethernet: RX Checksum Offload Engine supported
[    2.571928] ipq806x-gmac-dwmac 37200000.ethernet: COE Type 2
[    2.579749] ipq806x-gmac-dwmac 37200000.ethernet: TX Checksum insertion supported
[    2.585643] ipq806x-gmac-dwmac 37200000.ethernet: Wake-Up On Lan supported
[    2.593024] ipq806x-gmac-dwmac 37200000.ethernet: Enhanced/Alternate descriptors
[    2.599716] ipq806x-gmac-dwmac 37200000.ethernet: Enabled extended descriptors
[    2.607323] ipq806x-gmac-dwmac 37200000.ethernet: Ring mode enabled
[    2.614352] ipq806x-gmac-dwmac 37200000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    2.620554] ipq806x-gmac-dwmac 37200000.ethernet: device MAC address 0a:98:bc:53:f4:2a
[    2.630914] ipq806x-gmac-dwmac 37400000.ethernet: IRQ eth_wake_irq not found
[    2.636872] ipq806x-gmac-dwmac 37400000.ethernet: IRQ eth_lpi not found
[    2.644375] ipq806x-gmac-dwmac 37400000.ethernet: PTP uses main clock
[    2.650836] ipq806x-gmac-dwmac 37400000.ethernet: User ID: 0x10, Synopsys ID: 0x37
[    2.657013] ipq806x-gmac-dwmac 37400000.ethernet: 	DWMAC1000
[    2.664572] ipq806x-gmac-dwmac 37400000.ethernet: DMA HW capability register supported
[    2.670290] ipq806x-gmac-dwmac 37400000.ethernet: RX Checksum Offload Engine supported
[    2.678089] ipq806x-gmac-dwmac 37400000.ethernet: COE Type 2
[    2.685988] ipq806x-gmac-dwmac 37400000.ethernet: TX Checksum insertion supported
[    2.691796] ipq806x-gmac-dwmac 37400000.ethernet: Wake-Up On Lan supported
[    2.699108] ipq806x-gmac-dwmac 37400000.ethernet: Enhanced/Alternate descriptors
[    2.705948] ipq806x-gmac-dwmac 37400000.ethernet: Enabled extended descriptors
[    2.713517] ipq806x-gmac-dwmac 37400000.ethernet: Ring mode enabled
[    2.720537] ipq806x-gmac-dwmac 37400000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    2.726644] ipq806x-gmac-dwmac 37400000.ethernet: device MAC address 56:71:e6:0d:1a:0a
[    2.737085] i2c_dev: i2c /dev entries driver
[    2.746161] sdhci: Secure Digital Host Controller Interface driver
[    2.747240] mmci-pl18x 12400000.sdcc: mmc0: PL180 manf 51 rev0 at 0x12400000 irq 42,0 (pio)
[    2.747466] sdhci: Copyright(c) Pierre Ossman
[    2.747477] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.756636] NET: Registered PF_INET6 protocol family
[    2.761919] mmci-pl18x 12400000.sdcc: DMA channels RX dma1chan1, TX dma1chan2
[    2.771618] Segment Routing with IPv6
[    2.784053] In-situ OAM (IOAM) with IPv6
[    2.787642] NET: Registered PF_PACKET protocol family
[    2.791693] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    2.796877] 8021q: 802.1Q VLAN Support v1.8
[    2.809762] Registering SWP/SWPB emulation handler
[    2.840615] spi-nor spi0.0: mx25u3235f (4096 Kbytes)
[    2.840730] 13 qcomsmem partitions found on MTD device spi0.0
[    2.844718] Creating 13 MTD partitions on "spi0.0":
[    2.850307] 0x000000000000-0x000000020000 : "0:sbl1"
[    2.855988] 0x000000020000-0x000000040000 : "0:mibib"
[    2.861042] 0x000000040000-0x000000060000 : "0:sbl2"
[    2.865839] 0x000000060000-0x0000000a0000 : "0:sbl3"
[    2.870912] 0x0000000a0000-0x0000000b0000 : "0:ddrconfig"
[    2.875757] 0x0000000b0000-0x0000000c0000 : "0:ssd"
[    2.881206] 0x0000000c0000-0x000000100000 : "0:tz"
[    2.885842] 0x000000100000-0x000000140000 : "0:rpm"
[    2.890771] 0x000000140000-0x0000001c0000 : "0:appsbl"
[    2.895467] 0x0000001c0000-0x0000001d0000 : "0:appsblenv"
[    2.900800] 0x0000001d0000-0x0000001e0000 : "0:art"
[    2.905934] 0x0000001e0000-0x0000001f0000 : "0:dual_flag"
[    2.910696] 0x0000001f0000-0x000000400000 : "0:reserved"
[    2.923078] mmc0: new high speed MMC card at address 0001
[    2.923989] mmcblk0: mmc0:0001 M62704 3.53 GiB
[    2.930572] thermal thermal_zone0: failed to read out thermal zone (-110)
[    2.943845]  mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10
[    2.943899] clk: Disabling unused[    2.952251] mmcblk0boot1: mmc0:0001 M62704 2.00 MiB
[    2.952494] mmcblk0rpmb: mmc0:0001 M62704 512 KiB, chardev (247:0)
[    2.957049] VFS: Cannot open root device "mmcblk0p5" or unknown-block(179,5): error -19
[    2.962334] Please append a correct "root=" boot option; here are the available partitions:
[    2.970174] 1f00             128 mtdblock0
[    2.970180]  (driver?)
[    2.982700] 1f01             128 mtdblock1
[    2.982706]  (driver?)
[    2.989169] 1f02             128 mtdblock2
[    2.989173]  (driver?)
[    2.995678] 1f03             256 mtdblock3
[    2.995683]  (driver?)
[    3.002256] 1f04              64 mtdblock4
[    3.002261]  (driver?)
[    3.008699] 1f05              64 mtdblock5
[    3.008704]  (driver?)
[    3.015210] 1f06             256 mtdblock6
[    3.015215]  (driver?)
[    3.021781] 1f07             256 mtdblock7
[    3.021786]  (driver?)
[    3.028230] 1f08             512 mtdblock8
[    3.028234]  (driver?)
[    3.034741] 1f09              64 mtdblock9
[    3.034746]  (driver?)
[    3.041306] 1f0a              64 mtdblock10
[    3.041311]  (driver?)
[    3.048110] 1f0b              64 mtdblock11
[    3.048114]  (driver?)
[    3.054771] 1f0c            2112 mtdblock12
[    3.054776]  (driver?)
[    3.061363] b300         3702784 mmcblk0
[    3.061368]  driver: mmcblk
[    3.067553]   b301            4096 mmcblk0p1 be4d331a-114a-4205-9ade-518459f4023b
[    3.067558]
[    3.077860]   b302            4096 mmcblk0p2 fa594279-249b-44f1-9a0a-d49df83ea8b8
[    3.077866]
[    3.086793]   b303            1024 mmcblk0p3 8985bceb-046b-4773-9d3c-51f9b10dd322
[    3.086799]
[    3.095726]   b304            4096 mmcblk0p4 e676414e-a8c0-41fd-a2d3-ace452cc2e5c
[    3.095731]
[    3.104660]   b305          524288 mmcblk0p5 c3f3bba8-c887-4d29-a62e-20ff995e12eb
[    3.104666]
[    3.113626]   b306            1024 mmcblk0p6 cbba6ecc-09f7-4e0b-9910-f4a072e74019
[    3.113632]
[    3.122561]   b307            4096 mmcblk0p7 e53da108-bc41-4f80-8385-eda5b597ef63
[    3.122566]
[    3.131505]   b308          524288 mmcblk0p8 4b72b3ab-4357-47c7-ad8f-038578db827a
[    3.131511]
[    3.140382]   b309          262144 mmcblk0p9 b5a2726f-267a-456e-9f89-90964de41b85
[    3.140387]
[    3.149323]   b30a         2372591 mmcblk0p10 dfe4f4a0-6fce-4432-a2db-a7c9f940c99a
[    3.149329]
[    3.158271] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,5)
[    3.159924] CPU1: stopping
[    3.168336] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.15.167 #0
[    3.170856] Hardware name: Generic DT based system
[    3.177022] Function entered at [<c030d6b8>] from [<c03095fc>]
[    3.181706] Function entered at [<c03095fc>] from [<c0605d64>]
[    3.187523] Function entered at [<c0605d64>] from [<c030c014>]
[    3.193337] Function entered at [<c030c014>] from [<c030c060>]
[    3.199155] Function entered at [<c030c060>] from [<c0374188>]
[    3.204971] Function entered at [<c0374188>] from [<c036e37c>]
[    3.210786] Function entered at [<c036e37c>] from [<c03012e4>]
[    3.216602] Function entered at [<c03012e4>] from [<c0300b7c>]
[    3.222419] Exception stack(0xc108df58 to 0xc108dfa0)
[    3.228234] df40:                                                       000004fe 00000000
[    3.233360] df60: 00000001 c0313180 00000001 c0c04f28 c108c000 00000000 00000000 ffffe000
[    3.241519] df80: 00000000 c0c04f5c c0cc0e80 c108dfa8 c0306e48 c0306e4c 60000013 ffffffff
[    3.249679] Function entered at [<c0300b7c>] from [<c0306e4c>]
[    3.257834] Function entered at [<c0306e4c>] from [<c034e7c0>]
[    3.263563] Function entered at [<c034e7c0>] from [<c034eb24>]
[    3.269380] Function entered at [<c034eb24>] from [<42301390>]
[    3.275200] Rebooting in 1 seconds..

I suspect ATGO doesn't do anything with the image you just loaded, it tries to boot off flash.
Read and understand what @slh wrote.

Use the KERNEL from https://firmware-selector.openwrt.org/?version=24.10.0-rc4&target=ipq806x%2Fgeneric&id=zyxel_nbg6817 instead, then it'll be easier to spot what's actually booting, since it's on kernel 6, not 5.

Filename 'ras.bin'.
Load address: 0x44000000
Loading: #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #################################################################
	 #############################################################
done
Bytes transferred = 25696256 (1881800 hex)
NBG6817# bootm
Wrong Image Format for bootm command
ERROR: can't get kernel image!
NBG6817# bootm 0x44000000
Wrong Image Format for bootm command
ERROR: can't get kernel image!

I get access to uboot, but bootm show error

this looks wrong, the RC4 initramfs is 8MB ...

I missed right folder, you are right

Disk /dev/mmcblk0: 3.53 GiB, 3791650816 bytes, 7405568 sectors
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: EA3F7F82-EA97-1E48-A64C-6E3C3221A149

Device            Start     End Sectors  Size Type
/dev/mmcblk0p1     2048   10239    8192    4M Linux filesystem
/dev/mmcblk0p2    10240   18431    8192    4M Linux filesystem
/dev/mmcblk0p3    18432   20479    2048    1M Linux filesystem
/dev/mmcblk0p4    20480   28671    8192    4M Linux filesystem
/dev/mmcblk0p5    28672  524288  495617  242M Linux filesystem
/dev/mmcblk0p6   526336  528383    2048    1M Linux filesystem
/dev/mmcblk0p7   528384  536575    8192    4M Linux filesystem
/dev/mmcblk0p8   536576 1060863  524288  256M Linux filesystem
/dev/mmcblk0p9  1060864 1585151  524288  256M Linux filesystem
/dev/mmcblk0p10 1585152 7403519 5818368  2.8G Linux filesystem

Well i recreate my parts but the same problem

That doesn't look like the default layout, so question is, again, what did you do prior to bricking it ?

https://openwrt.org/toh/zyxel/nbg6817#flash_layout

I rewrite disk to change increase space for rootfs

then I guess you're on your own.

should have made it an extroot instead - https://openwrt.org/docs/guide-user/additional-software/extroot_configuration

Well, i just recreate partitions in right way with alignment 1 in gdisk and thats fork. Big thans for replying

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.