AVM FritzBox 7520 - OpenWrt snapshot

I do all in this tutorial for my FritzBox 7520 (openwrt-snapshot)
https://openwrt.org/toh/avm/avm_fritz_box_7530

All steps are working fine. I can do a

sysupgrade -n /tmp/avm_fritzbox-7530-squashfs-sysupgrade.bin

After this, the box is rebooting and I can ping in on 192.168.1.1. But after rebooting, the Box is waiting for my tftp server again? when I start my tftp server again, the box is downloading the FRITZ7520.bin image, again and reboots in failsafe mode to do a sysupgrade again.
This steps are repeating and repeating, repeating and so on ...
Can anybodey help? Something wrong with the bootloader? How can I figured that out?

There was a similar report for the FRITZ!7530 a few weeks ago:

Do you have the same problem? Can you attach serial console to see what's going on?

I dont know, that I have the same problem. How do i do a serial console?
Can I check something in initramfs?

You need to disassemble the device and attach yout TTL-USB Adapter to the unpopulated UART pins.

In initramfs you could check which flash chip you have (just run dmesg and post the output) and what happens if you manually create the UBI volumes (I will have to lookup the commands).

Here the dmesg:

BusyBox v1.36.0 (2023-04-18 13:25:21 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r22591-36150ff6ff
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:~# dmesg 
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.15.106 (builder@buildhost) (arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 12.2.0 r22591-36150ff6ff) 12.2.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Tue Apr 18 13:25:21 2023
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: AVM FRITZ!Box 7530
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000080000000-0x000000008fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x0000000087dfffff]
[    0.000000]   node   0: [mem 0x0000000087e00000-0x0000000087ffffff]
[    0.000000]   node   0: [mem 0x0000000088000000-0x000000008fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000008fffffff]
[    0.000000] percpu: Embedded 12 pages/cpu s16588 r8192 d24372 u49152
[    0.000000] pcpu-alloc: s16588 r8192 d24372 u49152 alloc=12*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line:  coherent_pool=4M
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 235944K/262144K available (6828K kernel code, 610K rwdata, 1712K rodata, 11264K init, 247K bss, 26200K reserved, 0K cma-reserved, 0K highmem)
[    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: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] arch_timer: cp15 timer(s) running at 48.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xb11fd3bfb, max_idle_ns: 440795203732 ns
[    0.000001] sched_clock: 56 bits at 48MHz, resolution 20ns, wraps every 4398046511096ns
[    0.000025] Switching to timer-based delay loop, resolution 20ns
[    0.000319] Calibrating delay loop (skipped), value calculated using timer frequency.. 96.00 BogoMIPS (lpj=480000)
[    0.000347] pid_max: default: 32768 minimum: 301
[    0.000578] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000606] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001625] CPU: Testing write buffer coherency: ok
[    0.002003] qcom_scm: convention: smc legacy
[    0.003122] Setting up static identity map for 0x80300000 - 0x8030003c
[    0.003295] rcu: Hierarchical SRCU implementation.
[    0.003550] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.003888] smp: Bringing up secondary CPUs ...
[    0.007186] smp: Brought up 1 node, 4 CPUs
[    0.007221] SMP: Total of 4 processors activated (384.00 BogoMIPS).
[    0.007237] CPU: All CPU(s) started in SVC mode.
[    0.012208] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.012377] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.012412] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.012673] pinctrl core: initialized pinctrl subsystem
[    0.014335] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.017311] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[    0.018482] thermal_sys: Registered thermal governor 'step_wise'
[    0.018904] cpuidle: using governor ladder
[    0.018968] cpuidle: using governor menu
[    0.026709] gpio-461 (enable USB3 power): hogged as output/high
[    0.045078] cryptd: max_cpu_qlen set to 1000
[    0.049292] usbcore: registered new interface driver usbfs
[    0.049371] usbcore: registered new interface driver hub
[    0.049433] usbcore: registered new device driver usb
[    0.049483] pps_core: LinuxPPS API ver. 1 registered
[    0.049495] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.049525] PTP clock support registered
[    0.051570] clocksource: Switched to clocksource arch_sys_counter
[    0.052525] NET: Registered PF_INET protocol family
[    0.052742] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.053543] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.053597] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.053620] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.053664] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.053721] TCP: Hash tables configured (established 2048 bind 2048)
[    0.053838] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.053886] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.054159] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.054211] PCI: CLS 0 bytes, default 64
[    0.058175] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.063461] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.063493] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.192378] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.194880] qcom-pcie 40000000.pci: host bridge /soc/pci@40000000 ranges:
[    0.194954] qcom-pcie 40000000.pci:       IO 0x0040200000..0x00402fffff -> 0x0040200000
[    0.194992] qcom-pcie 40000000.pci:      MEM 0x0040300000..0x0040ffffff -> 0x0040300000
[    0.373155] qcom-pcie 40000000.pci: iATU unroll: disabled
[    0.373192] qcom-pcie 40000000.pci: Detected iATU regions: 32 outbound, 8 inbound
[    0.473292] qcom-pcie 40000000.pci: Link up
[    0.473466] qcom-pcie 40000000.pci: PCI host bridge to bus 0000:00
[    0.473489] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.473513] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0x40200000-0x402fffff])
[    0.473531] pci_bus 0000:00: root bus resource [mem 0x40300000-0x40ffffff]
[    0.473585] pci 0000:00:00.0: [17cb:1001] type 01 class 0x060400
[    0.473620] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x00000fff]
[    0.473690] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.475208] PCI: bus0: Fast back to back transfers disabled
[    0.475434] pci 0000:01:00.0: [8086:09a9] type 00 class 0x028000
[    0.475523] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x007fffff]
[    0.475928] pci 0000:01:00.0: supports D1 D2
[    0.475943] pci 0000:01:00.0: PME# supported from D0 D1 D3hot D3cold
[    0.477521] PCI: bus1: Fast back to back transfers disabled
[    0.477569] pci 0000:00:00.0: BAR 8: assigned [mem 0x40800000-0x40ffffff]
[    0.477593] pci 0000:00:00.0: BAR 0: assigned [mem 0x40300000-0x40300fff]
[    0.477619] pci 0000:01:00.0: BAR 0: assigned [mem 0x40800000-0x40ffffff]
[    0.477652] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.477672] pci 0000:00:00.0:   bridge window [mem 0x40800000-0x40ffffff]
[    0.480568] pcieport 0000:00:00.0: AER: enabled with IRQ 102
[    0.482701] bam-dma-engine 8e04000.dma: num-channels unspecified in dt
[    0.482731] bam-dma-engine 8e04000.dma: num-ees unspecified in dt
[    0.484070] tcsr 1949000.tcsr: setting wifi_glb_cfg = 41000000
[    0.484187] tcsr 194b000.tcsr: setting usb hs phy mode select = e700e7
[    0.484284] tcsr 1953000.ess_tcsr: setting ess interface select = 0
[    0.484376] tcsr 1957000.tcsr: setting wifi_noc_memtype_m0_m2 = 2222222
[    0.484684] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.486481] msm_serial 78af000.serial: msm_serial: detected port #0
[    0.486537] msm_serial 78af000.serial: uartclk = 1843200
[    0.486593] 78af000.serial: ttyMSM0 at MMIO 0x78af000 (irq = 32, base_baud = 115200) is a MSM
[    0.486629] msm_serial: console setup on port #0
[    1.203750] printk: console [ttyMSM0] enabled
[    1.208880] msm_serial: driver initialized
[    1.217910] loop: module loaded
[    1.219329] nand: device found, Manufacturer ID: 0x98, Chip ID: 0xf1
[    1.219879] nand: Toshiba TC58NVG0S3HTA00 1G 3.3V 8-bit
[    1.226514] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 128
[    1.231511] 11 fixed-partitions partitions found on MTD device qcom_nand.0
[    1.239086] Creating 11 MTD partitions on "qcom_nand.0":
[    1.246035] 0x000000000000-0x000000080000 : "SBL1"
[    1.252660] 0x000000080000-0x000000100000 : "MIBIB"
[    1.257017] 0x000000100000-0x000000180000 : "QSEE"
[    1.261855] 0x000000180000-0x0000001c0000 : "CDT"
[    1.266416] 0x0000001c0000-0x000000240000 : "QSEE_B"
[    1.271426] 0x000000240000-0x000000280000 : "urlader0"
[    1.276282] 0x000000280000-0x0000002c0000 : "urlader1"
[    1.281168] 0x0000002c0000-0x000000b00000 : "nand-tffs"
[    1.293578] 0x000000b00000-0x000000f00000 : "uboot0"
[    1.297706] 0x000000f00000-0x000001300000 : "uboot1"
[    1.301895] 0x000001300000-0x000008000000 : "ubi"
[    1.481257] ipqess-edma c080000.ethernet: generated random MAC address 52:1c:27:3b:ec:e3
[    1.505586] i2c_dev: i2c /dev entries driver
[    1.507354] sdhci: Secure Digital Host Controller Interface driver
[    1.508935] sdhci: Copyright(c) Pierre Ossman
[    1.514970] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.523080] NET: Registered PF_INET6 protocol family
[    1.526658] Segment Routing with IPv6
[    1.530090] In-situ OAM (IOAM) with IPv6
[    1.533727] NET: Registered PF_PACKET protocol family
[    1.537654] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.542792] 8021q: 802.1Q VLAN Support v1.8
[    1.555672] Registering SWP/SWPB emulation handler
[    1.592564] qca8k-ipq4019 c000000.switch: configuring for fixed/internal link mode
[    1.592857] qca8k-ipq4019 c000000.switch: Link is Up - 1Gbps/Full - flow control rx/tx
[    1.686347] qca8k-ipq4019 c000000.switch lan1 (uninitialized): PHY [90000.mdio-1:00] driver [Qualcomm QCA8075] (irq=POLL)
[    1.776106] qca8k-ipq4019 c000000.switch lan2 (uninitialized): PHY [90000.mdio-1:01] driver [Qualcomm QCA8075] (irq=POLL)
[    1.866267] qca8k-ipq4019 c000000.switch lan3 (uninitialized): PHY [90000.mdio-1:02] driver [Qualcomm QCA8075] (irq=POLL)
[    1.956650] qca8k-ipq4019 c000000.switch lan4 (uninitialized): PHY [90000.mdio-1:03] driver [Qualcomm QCA8075] (irq=POLL)
[    1.967767] DSA: tree 0 setup
[    1.973517] UBI: auto-attach mtd10
[    1.973563] ubi0: attaching mtd10
[    2.715327] ubi0: scanning is finished
[    2.724674] ubi0 warning: ubi_eba_init: number of bad PEBs (59) is above the expected limit (20), not reserving any PEBs for bad PEB handling, will use available PEBs (if any)
[    2.726019] ubi0: attached mtd10 (name "ubi", size 109 MiB)
[    2.739232] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    2.744745] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    2.751687] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    2.758521] ubi0: good PEBs: 813, bad PEBs: 59, corrupted PEBs: 0
[    2.765313] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
[    2.771565] ubi0: max/mean erase counter: 8206/35, WL threshold: 4096, image sequence number: 560192288
[    2.778665] ubi0: available PEBs: 0, total reserved PEBs: 813, PEBs reserved for bad PEB handling: 0
[    2.787999] ubi0: background thread "ubi_bgt0d" started, PID 134
[    2.789128] block ubiblock0_1: created from ubi0:1(rootfs)
[    2.803340] ubiblock: device ubiblock0_1 (rootfs) set to be root filesystem
[    2.829507] Freeing unused kernel image (initmem) memory: 11264K
[    2.829833] Run /init as init process
[    2.834651]   with arguments:
[    2.834657]     /init
[    2.834664]   with environment:
[    2.834669]     HOME=/
[    2.834674]     TERM=linux
[    3.188310] init: Console is alive
[    3.188634] init: - watchdog -
[    3.199998] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.378033] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    3.378113] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    3.382753] xhci-hcd xhci-hcd.0.auto: hcc params 0x0228f665 hci version 0x100 quirks 0x0000000002010010
[    3.390058] xhci-hcd xhci-hcd.0.auto: irq 106, io mem 0x08a00000
[    3.399602] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    3.405651] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    3.410918] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    3.419223] hub 1-0:1.0: USB hub found
[    3.425136] hub 1-0:1.0: 1 port detected
[    3.429236] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.433463] hub 2-0:1.0: USB hub found
[    3.440979] hub 2-0:1.0: 1 port detected
[    3.447269] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.454748] init: - preinit -
[    3.712027] random: jshn: uninitialized urandom read (4 bytes read)
[    3.771830] random: jshn: uninitialized urandom read (4 bytes read)
[    3.840377] random: jshn: uninitialized urandom read (4 bytes read)
[    4.194383] ipqess-edma c080000.ethernet eth0: configuring for fixed/internal link mode
[    4.195252] qca8k-ipq4019 c000000.switch lan1: configuring for phy/psgmii link mode
[    4.201360] ipqess-edma c080000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    5.142958] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    5.169736] random: procd: uninitialized urandom read (4 bytes read)
[    7.366032] procd: - early -
[    7.366561] procd: - watchdog -
[    7.918912] procd: - watchdog -
[    7.923351] procd: - ubus -
[    7.948526] random: ubusd: uninitialized urandom read (4 bytes read)
[    7.975215] random: ubusd: uninitialized urandom read (4 bytes read)
[    7.976089] random: ubusd: uninitialized urandom read (4 bytes read)
[    7.988268] procd: - init -
[    8.357740] kmodloader: loading kernel modules from /etc/modules.d/*
[    8.365027] Loading modules backported from Linux version v6.1.24-0-g0102425ac76b
[    8.365079] Backport generated by backports.git v5.15.92-1-44-gd6ea70fafd36
[    8.388126] urngd: v1.0.2 started.
[    8.429771] PPP generic driver version 2.4.2
[    8.430863] NET: Registered PF_PPPOX protocol family
[    8.486991] random: crng init done
[    8.487048] random: 29 urandom warning(s) missed due to ratelimiting
[    9.621528] ath10k_ahb a000000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
[    9.621680] ath10k_ahb a000000.wifi: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[    9.635019] ath10k_ahb a000000.wifi: firmware ver 10.4b-ct-4019-fW-13-5ae337bb1 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 6b2b5c5b
[    9.661924] ath10k_ahb a000000.wifi: Loading BDF type 0
[    9.669467] ath10k_ahb a000000.wifi: failed to fetch board data for bus=ahb,vendor=0000,device=0000,subsystem-vendor=0000,subsystem-device=0000,variant=AVM-FRITZBox-75 from ath10k/QCA4019/hw1.0/board-2.bin
[    9.901256] ath10k_ahb a000000.wifi: failed to fetch board-2.bin or board.bin from ath10k/QCA4019/hw1.0
[    9.901350] ath10k_ahb a000000.wifi: failed to fetch board file: -12
[    9.909828] ath10k_ahb a000000.wifi: could not probe fw (-12)
[   11.112742] ath10k_ahb a800000.wifi: qca4019 hw1.0 target 0x01000000 chip_id 0x003b00ff sub 0000:0000
[   11.112855] ath10k_ahb a800000.wifi: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   11.126172] ath10k_ahb a800000.wifi: firmware ver 10.4b-ct-4019-fW-13-5ae337bb1 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 6b2b5c5b
[   11.153064] ath10k_ahb a800000.wifi: Loading BDF type 0
[   11.160393] ath10k_ahb a800000.wifi: failed to fetch board data for bus=ahb,vendor=0000,device=0000,subsystem-vendor=0000,subsystem-device=0000,variant=AVM-FRITZBox-75 from ath10k/QCA4019/hw1.0/board-2.bin
[   11.369554] ath10k_ahb a800000.wifi: failed to fetch board-2.bin or board.bin from ath10k/QCA4019/hw1.0
[   11.369627] ath10k_ahb a800000.wifi: failed to fetch board file: -12
[   11.378148] ath10k_ahb a800000.wifi: could not probe fw (-12)
[   11.392966] kmodloader: done loading kernel modules from /etc/modules.d/*
[   42.372026] ipqess-edma c080000.ethernet eth0: Link is Down
[   42.378070] ipqess-edma c080000.ethernet eth0: configuring for fixed/internal link mode
[   42.378396] ipqess-edma c080000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   42.380700] qca8k-ipq4019 c000000.switch lan1: configuring for phy/psgmii link mode
[   42.393975] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   42.401370] br-lan: port 1(lan1) entered blocking state
[   42.407308] br-lan: port 1(lan1) entered disabled state
[   42.413044] device lan1 entered promiscuous mode
[   42.417552] device eth0 entered promiscuous mode
[   42.436696] qca8k-ipq4019 c000000.switch lan2: configuring for phy/psgmii link mode
[   42.438838] br-lan: port 2(lan2) entered blocking state
[   42.443260] br-lan: port 2(lan2) entered disabled state
[   42.448935] device lan2 entered promiscuous mode
[   42.459576] qca8k-ipq4019 c000000.switch lan3: configuring for phy/psgmii link mode
[   42.462203] br-lan: port 3(lan3) entered blocking state
[   42.466074] br-lan: port 3(lan3) entered disabled state
[   42.471780] device lan3 entered promiscuous mode
[   42.482229] qca8k-ipq4019 c000000.switch lan4: configuring for phy/psgmii link mode
[   42.484808] br-lan: port 4(lan4) entered blocking state
[   42.488731] br-lan: port 4(lan4) entered disabled state
[   42.494655] device lan4 entered promiscuous mode
[   45.514408] qca8k-ipq4019 c000000.switch lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[   45.515056] br-lan: port 1(lan1) entered blocking state
[   45.522446] br-lan: port 1(lan1) entered forwarding state
[   45.528206] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
root@OpenWrt:~# 


But I think I managed to install everything correctly, a time ago ...

The same Kioxia/Toshiba NAND that makes problems...

I assume that's the problem and that's actually the same as in the linked github: You have too many bad PEBs, Linux complains but work nevertheless, but U-Boot doesn't want to boot.

I had a device with such a Toshiba/Kioxia NAND, but I sold it. The two 7520 that I use have both Macronix NANDs and they work properly (both have 1 bad PEB).

You could try to recreate the UBI volume, but I don't know if that marks the bad PEBs as good again. Or you could try to find an UBI option that reserves more than 59 PEBs for bad PEB handling, that should make U-Boot happy again.

I'm not very familiar with UBI, maybe someone else knows how to recreate proper UBI volumes?

What a mess :frowning:
What are bad PEBs?
How do I recreate the UBI volume?
Why the original AVM firmware is booting, well?

PEB = Physical Erase Block; basically a bad area on your chip; for NAND, this is more or less normal - my devices both have 1 bad PEB (and not 59).

As mentioned: I don't know.

Linux should succeed to boot, this is what the dmesg output suggests. But U-Boot doesn't (see the linked github issue). And the AVM firmware does not use U-Boot.

I undestand, bad PEBs are bad blocks, like bad blocks on a HDD.

There is actually no easy way to get openwrt working with the Toshiba TC58NVG0S3HTA00 1G 3.3V 8-bit chip?
And I was so lucky to get a new FritzBox from my ISP.
What cloud I do? Should I sell it on ebay? What is the right FritzBox to buy? In the moment I use a FritzBox 7362SL and it works fine with ADSL. But my ISP will change to a newer DSL procedure. I know, the FritzBox 7362SL can VDSL, too.
I can ask my ISP for an exchange. But witch FritzBox I should take?

Well, I sold mine not because of the chip, but because the 7520 was way cheaper than this 7530. I bought the 7520s used, so they were cheap and had the Macronix IC. :slight_smile:
I'm pretty sure there is a software solution for it - it's just a matter of how much time you can and want to invest in this.

If I were you, i would read up on the UBI commands and see if it's possible to specify the amount of reserved PEBs, reformat the UBI volume and try again to install OpenWrt.

You are right. I like to do some tricks on special hardware. I am a linux user since 20 years. All my PCs, laptops, raspberries running with linux. I was an assembler coder on the C64/Amiga, too :wink: I have some experience in Python, C/C++
To reformat the UBI volumes, I have to use a TTL-USB? However, I have bought one of them. May be, I need it for other usefull things, too.
https://www.ebay.de/itm/115379773533

No, this can all be done from within the initramfs image, similar to this ubirmvol call that you need to remove the AVM firmware.

https://lore.kernel.org/lkml/1341389164-24409-3-git-send-email-shmulik.ladkani@gmail.com/

Could it be, that I can adjust the bad PEB number, in the kernel?


I will try this ... change the number of bad blocks ... clould it woks?

There is no PEB warning any more, but the same booting issue ...

root@OpenWrt:~# dmesg 
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.15.105 (u0@TobiAcerWohnen) (arm-openwrt-linux-muslgnueabi-gcc (OpenWrt GCC 12.2.0 r22493-5a8741aee9) 12.2.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Mon Apr 3 01:32:28 2023
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: AVM FRITZ!Box 7530
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000080000000-0x000000008fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x0000000087dfffff]
[    0.000000]   node   0: [mem 0x0000000087e00000-0x0000000087ffffff]
[    0.000000]   node   0: [mem 0x0000000088000000-0x000000008fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000008fffffff]
[    0.000000] percpu: Embedded 12 pages/cpu s16588 r8192 d24372 u49152
[    0.000000] pcpu-alloc: s16588 r8192 d24372 u49152 alloc=12*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[    0.000000] Kernel command line:  coherent_pool=4M
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 243112K/262144K available (6825K kernel code, 610K rwdata, 1712K rodata, 4096K init, 247K bss, 19032K reserved, 0K cma-reserved, 0K highmem)
[    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: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] arch_timer: cp15 timer(s) running at 48.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xb11fd3bfb, max_idle_ns: 440795203732 ns
[    0.000001] sched_clock: 56 bits at 48MHz, resolution 20ns, wraps every 4398046511096ns
[    0.000023] Switching to timer-based delay loop, resolution 20ns
[    0.000316] Calibrating delay loop (skipped), value calculated using timer frequency.. 96.00 BogoMIPS (lpj=480000)
[    0.000345] pid_max: default: 32768 minimum: 301
[    0.000577] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.000609] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.001627] CPU: Testing write buffer coherency: ok
[    0.002008] qcom_scm: convention: smc legacy
[    0.003117] Setting up static identity map for 0x80300000 - 0x8030003c
[    0.003297] rcu: Hierarchical SRCU implementation.
[    0.003555] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.003896] smp: Bringing up secondary CPUs ...
[    0.007232] smp: Brought up 1 node, 4 CPUs
[    0.007269] SMP: Total of 4 processors activated (384.00 BogoMIPS).
[    0.007284] CPU: All CPU(s) started in SVC mode.
[    0.012224] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.012396] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.012429] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.012688] pinctrl core: initialized pinctrl subsystem
[    0.014356] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.017346] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[    0.018511] thermal_sys: Registered thermal governor 'step_wise'
[    0.018935] cpuidle: using governor ladder
[    0.018997] cpuidle: using governor menu
[    0.026757] gpio-461 (enable USB3 power): hogged as output/high
[    0.045202] cryptd: max_cpu_qlen set to 1000
[    0.049432] usbcore: registered new interface driver usbfs
[    0.049515] usbcore: registered new interface driver hub
[    0.049576] usbcore: registered new device driver usb
[    0.049631] pps_core: LinuxPPS API ver. 1 registered
[    0.049644] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.049674] PTP clock support registered
[    0.051727] clocksource: Switched to clocksource arch_sys_counter
[    0.052694] NET: Registered PF_INET protocol family
[    0.052914] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.053711] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.053762] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.053784] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.053831] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.053887] TCP: Hash tables configured (established 2048 bind 2048)
[    0.054002] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.054047] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.054320] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.054373] PCI: CLS 0 bytes, default 64
[    0.057866] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[    0.062925] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.062968] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.194694] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.494411] qcom-pcie 40000000.pci: host bridge /soc/pci@40000000 ranges:
[    0.494492] qcom-pcie 40000000.pci:       IO 0x0040200000..0x00402fffff -> 0x0040200000
[    0.494530] qcom-pcie 40000000.pci:      MEM 0x0040300000..0x0040ffffff -> 0x0040300000
[    0.673330] qcom-pcie 40000000.pci: iATU unroll: disabled
[    0.673369] qcom-pcie 40000000.pci: Detected iATU regions: 32 outbound, 8 inbound
[    0.773478] qcom-pcie 40000000.pci: Link up
[    0.773673] qcom-pcie 40000000.pci: PCI host bridge to bus 0000:00
[    0.773699] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.773724] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff] (bus address [0x40200000-0x402fffff])
[    0.773743] pci_bus 0000:00: root bus resource [mem 0x40300000-0x40ffffff]
[    0.773797] pci 0000:00:00.0: [17cb:1001] type 01 class 0x060400
[    0.773832] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x00000fff]
[    0.773904] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.775442] PCI: bus0: Fast back to back transfers disabled
[    0.775673] pci 0000:01:00.0: [8086:09a9] type 00 class 0x028000
[    0.775763] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x007fffff]
[    0.776168] pci 0000:01:00.0: supports D1 D2
[    0.776185] pci 0000:01:00.0: PME# supported from D0 D1 D3hot D3cold
[    0.777793] PCI: bus1: Fast back to back transfers disabled
[    0.777846] pci 0000:00:00.0: BAR 8: assigned [mem 0x40800000-0x40ffffff]
[    0.777872] pci 0000:00:00.0: BAR 0: assigned [mem 0x40300000-0x40300fff]
[    0.777898] pci 0000:01:00.0: BAR 0: assigned [mem 0x40800000-0x40ffffff]
[    0.777931] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    0.777952] pci 0000:00:00.0:   bridge window [mem 0x40800000-0x40ffffff]
[    0.780871] pcieport 0000:00:00.0: AER: enabled with IRQ 102
[    0.783006] bam-dma-engine 8e04000.dma: num-channels unspecified in dt
[    0.783036] bam-dma-engine 8e04000.dma: num-ees unspecified in dt
[    0.784394] tcsr 1949000.tcsr: setting wifi_glb_cfg = 41000000
[    0.784515] tcsr 194b000.tcsr: setting usb hs phy mode select = e700e7
[    0.784611] tcsr 1953000.ess_tcsr: setting ess interface select = 0
[    0.784702] tcsr 1957000.tcsr: setting wifi_noc_memtype_m0_m2 = 2222222
[    0.785017] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.786831] msm_serial 78af000.serial: msm_serial: detected port #0
[    0.786885] msm_serial 78af000.serial: uartclk = 1843200
[    0.786946] 78af000.serial: ttyMSM0 at MMIO 0x78af000 (irq = 32, base_baud = 115200) is a MSM
[    0.786983] msm_serial: console setup on port #0
[    1.503939] printk: console [ttyMSM0] enabled
[    1.509068] msm_serial: driver initialized
[    1.518194] loop: module loaded
[    1.519609] nand: device found, Manufacturer ID: 0x98, Chip ID: 0xf1
[    1.520154] nand: Toshiba TC58NVG0S3HTA00 1G 3.3V 8-bit
[    1.526779] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 128
[    1.531817] 11 fixed-partitions partitions found on MTD device qcom_nand.0
[    1.539346] Creating 11 MTD partitions on "qcom_nand.0":
[    1.546307] 0x000000000000-0x000000080000 : "SBL1"
[    1.552889] 0x000000080000-0x000000100000 : "MIBIB"
[    1.557354] 0x000000100000-0x000000180000 : "QSEE"
[    1.562199] 0x000000180000-0x0000001c0000 : "CDT"
[    1.566763] 0x0000001c0000-0x000000240000 : "QSEE_B"
[    1.571772] 0x000000240000-0x000000280000 : "urlader0"
[    1.576553] 0x000000280000-0x0000002c0000 : "urlader1"
[    1.581492] 0x0000002c0000-0x000000b00000 : "nand-tffs"
[    1.593893] 0x000000b00000-0x000000f00000 : "uboot0"
[    1.598089] 0x000000f00000-0x000001300000 : "uboot1"
[    1.602302] 0x000001300000-0x000008000000 : "ubi"
[    3.878060] i2c_dev: i2c /dev entries driver
[    3.879858] sdhci: Secure Digital Host Controller Interface driver
[    3.881409] sdhci: Copyright(c) Pierre Ossman
[    3.887430] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.895783] NET: Registered PF_INET6 protocol family
[    3.899333] Segment Routing with IPv6
[    3.902611] In-situ OAM (IOAM) with IPv6
[    3.906171] NET: Registered PF_PACKET protocol family
[    3.910136] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    3.915318] 8021q: 802.1Q VLAN Support v1.8
[    3.928137] Registering SWP/SWPB emulation handler
[    3.968459] qca8k-ipq4019 c000000.switch: configuring for fixed/internal link mode
[    3.968758] qca8k-ipq4019 c000000.switch: Link is Up - 1Gbps/Full - flow control rx/tx
[    4.056615] qca8k-ipq4019 c000000.switch lan1 (uninitialized): PHY [90000.mdio-1:00] driver [Qualcomm QCA8075] (irq=POLL)
[    4.146650] qca8k-ipq4019 c000000.switch lan2 (uninitialized): PHY [90000.mdio-1:01] driver [Qualcomm QCA8075] (irq=POLL)
[    4.236648] qca8k-ipq4019 c000000.switch lan3 (uninitialized): PHY [90000.mdio-1:02] driver [Qualcomm QCA8075] (irq=POLL)
[    4.326780] qca8k-ipq4019 c000000.switch lan4 (uninitialized): PHY [90000.mdio-1:03] driver [Qualcomm QCA8075] (irq=POLL)
[    4.337850] DSA: tree 0 setup
[    4.343960] UBI: auto-attach mtd10
[    4.344006] ubi0: attaching mtd10
[    5.079498] ubi0: scanning is finished
[    5.091384] ubi0: attached mtd10 (name "ubi", size 109 MiB)
[    5.091444] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    5.095844] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    5.102759] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    5.109593] ubi0: good PEBs: 813, bad PEBs: 59, corrupted PEBs: 0
[    5.116404] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
[    5.122638] ubi0: max/mean erase counter: 8212/41, WL threshold: 4096, image sequence number: 1380593193
[    5.129737] ubi0: available PEBs: 0, total reserved PEBs: 813, PEBs reserved for bad PEB handling: 1
[    5.139458] ubi0: background thread "ubi_bgt0d" started, PID 134
[    5.140563] block ubiblock0_1: created from ubi0:1(rootfs)
[    5.154494] ubiblock: device ubiblock0_1 (rootfs) set to be root filesystem
[    5.168249] Freeing unused kernel image (initmem) memory: 4096K
[    5.168544] Run /init as init process
[    5.173020]   with arguments:
[    5.173027]     /init
[    5.173034]   with environment:
[    5.173038]     HOME=/
[    5.173044]     TERM=linux
[    5.543519] init: Console is alive
[    5.543830] init: - watchdog -
[    5.556547] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.727418] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.735900] init: - preinit -
[    6.007085] random: jshn: uninitialized urandom read (4 bytes read)
[    6.058513] random: jshn: uninitialized urandom read (4 bytes read)
[    6.135153] random: jshn: uninitialized urandom read (4 bytes read)
[    6.475696] ipqess-edma c080000.ethernet eth0: configuring for fixed/internal link mode
[    6.476557] qca8k-ipq4019 c000000.switch lan1: configuring for phy/psgmii link mode
[    6.482939] ipqess-edma c080000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    7.432786] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    7.454643] random: procd: uninitialized urandom read (4 bytes read)
[    9.637171] procd: - early -
[    9.637441] procd: - watchdog -
[   10.195111] procd: - watchdog -
[   10.198813] procd: - ubus -
[   10.226199] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.250482] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.251392] random: ubusd: uninitialized urandom read (4 bytes read)
[   10.263015] procd: - init -
[   10.657059] kmodloader: loading kernel modules from /etc/modules.d/*
[   10.663822] IFXOS, Version 1.7.1 (c) Copyright 2009, Lantiq Deutschland GmbH
[   10.665338] vrx518: Intel(R) SmartPHY DSL(VRX518) PCIe EP/ACA Driver - version 2.1.0-k
[   10.669961] vrx518: Copyright (c) 2016 Intel Corporation.
[   10.677935] vrx518 0000:01:00.0: enabling device (0140 -> 0142)
[   10.677985] urngd: v1.0.2 started.
[   10.686000] NET: Registered PF_ATMPVC protocol family
[   10.692377] NET: Registered PF_ATMSVC protocol family
[   10.701343] vrx518_tc:pcie_ep_probe: Total 1 VRX518 EP detected
[   10.703040] vrx518 0000:01:00.0: Direct firmware load for ppe_fw.bin failed with error -2
[   10.708244] vrx518 0000:01:00.0: Falling back to sysfs fallback for: ppe_fw.bin
[   10.773646] load PPE Firmware fail (ppe_fw.bin)
[   10.775992] random: crng init done
[   10.777010] random: 31 urandom warning(s) missed due to ratelimiting
[   10.892773] PPP generic driver version 2.4.2
[   10.912394] Loading modules backported from Linux version v6.1-rc8-0-g76dcd734eca2
[   10.912446] Backport generated by backports.git v5.15.81-1-41-g02e352527db5
[   10.932539] NET: Registered PF_PPPOX protocol family
[   11.023168] vrx518_tc:pcie_ep_probe: Total 1 VRX518 EP detected
[   11.023662] vrx518 0000:01:00.0: Direct firmware load for ppe_fw.bin failed with error -2
[   11.027924] vrx518 0000:01:00.0: Falling back to sysfs fallback for: ppe_fw.bin
[   11.121465] load PPE Firmware fail (ppe_fw.bin)
[   11.216949] kmodloader: 3 modules could not be probed
[   11.217208] kmodloader: dependency not loaded drv_mei_cpe
[   11.221164] kmodloader: - drv_dsl_cpe_api - 1
[   11.227055] kmodloader: dependency not loaded vrx518_tc
[   11.231108] kmodloader: - drv_mei_cpe - 1
[   11.236321] kmodloader: - vrx518_tc - 0
[   37.806315] ipqess-edma c080000.ethernet eth0: Link is Down
[   37.812350] ipqess-edma c080000.ethernet eth0: configuring for fixed/internal link mode
[   37.812607] ipqess-edma c080000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   37.819217] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   37.828208] qca8k-ipq4019 c000000.switch lan1: configuring for phy/psgmii link mode
[   37.836665] br-lan: port 1(lan1) entered blocking state
[   37.841418] br-lan: port 1(lan1) entered disabled state
[   37.847138] device lan1 entered promiscuous mode
[   37.851882] device eth0 entered promiscuous mode
[   37.868171] qca8k-ipq4019 c000000.switch lan2: configuring for phy/psgmii link mode
[   37.870294] br-lan: port 2(lan2) entered blocking state
[   37.874782] br-lan: port 2(lan2) entered disabled state
[   37.880402] device lan2 entered promiscuous mode
[   37.891036] qca8k-ipq4019 c000000.switch lan3: configuring for phy/psgmii link mode
[   37.893736] br-lan: port 3(lan3) entered blocking state
[   37.897535] br-lan: port 3(lan3) entered disabled state
[   37.903255] device lan3 entered promiscuous mode
[   37.914177] qca8k-ipq4019 c000000.switch lan4: configuring for phy/psgmii link mode
[   37.916668] br-lan: port 4(lan4) entered blocking state
[   37.920671] br-lan: port 4(lan4) entered disabled state
[   37.926470] device lan4 entered promiscuous mode
[   40.954809] qca8k-ipq4019 c000000.switch lan1: Link is Up - 1Gbps/Full - flow control rx/tx
[   40.955464] br-lan: port 1(lan1) entered blocking state
[   40.962831] br-lan: port 1(lan1) entered forwarding state
[   40.978032] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready

Yes, because you fixed Linux while the problem with booting is in U-Boot at https://github.com/chunkeey/FritzBox-4040-UBOOT

You will either have to fix U-Boot the same way you did for Linux or figure out how to reserve more bad blocks in a volume.

I think I have to many bad PEBs to boot openwrt correctly. It boots only in ReadOnly mode.

[    2.724674] ubi0 warning: ubi_eba_init: number of bad PEBs (59) is above the expected limit (20), not reserving any PEBs for bad PEB handling, will use available PEBs (if any)
[    2.758521] ubi0: good PEBs: 813, bad PEBs: 59, corrupted PEBs: 0

Is there a way, to fix it?