Basic Information:
Printer Model:
MCU / Printerboard:
Host / SBC
klippy.log
Fill out above information and in all cases attach your klippy.log
file (use zip to compress it, if too big). Pasting your printer.cfg
is not needed
Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there
Describe your issue:
…
Hello everyone. I have rooted my Kobra 2 Pro, and the printer is working great. However, during boot-up, it seems that one of the partitions is showing as corrupted. I have already restored a backup I made earlier, but the issue persists. It appears to be booting from the backup partition. If that one also fails over time for whatever reason, I will have a problem.
How should I proceed to write the functioning partition onto the other one? I have also backed up the partition table, but every time I try to repair the table on my PC, it ends up completely corrupted afterward. I am, of course, doing this on my PC and not on the printer itself.
root@TinaLinux:/# [24]HELLO! BOOT0 is starting!
[26]BOOT0 commit : 4d16602
M/TC: OP-TEE version: 963b7e95 (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Wed Jul 28 12:51:52 UTC 2021 arm
U-Boot 2018.05 (Nov 17 2023 - 01:41:28 +0000) Allwinner Technology, Build: jenkins-PPL_104-PACKAGE-SDK-604
[00.276]CPU: Allwinner Family
[00.279]Model: sun8iw20
[00.281]DRAM: 128 MiB
[00.284]Relocation Offset is: 04ec3000
[00.313]secure enable bit: 0
[00.315]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz
[00.322]gic: sec monitor mode
[00.325]flash init start
[00.327]workmode = 0,storage type = 7
[00.330][mmc]: mmc driver ver uboot2018:2021-06-15 14:00:00
[00.335][mmc]: get sdc_type fail and use default host:tm1.
[00.341][mmc]: can't find node "mmc0",will add new node
[00.346][mmc]: fdt err returned <no error>
[00.350][mmc]: Using default timing para
[00.354][mmc]: SUNXI SDMMC Controller Version:0x50310
[00.379][mmc]: Best spd md: 2-HSDDR52/DDR50, freq: 2-50000000, Bus width: 4
[00.385]sunxi flash init ok
[00.388]line:703 init_clocks
[00.391]drv_disp_init
request pwm success, pwm6:pwm6:0x2000c00.
[00.404]drv_disp_init finish
[00.406]boot_gui_init:start
[00.409]set disp.dev2_output_type fail. using defval=0
[00.415]boot_gui_init:finish
GPT: last_usable_lba incorrect: ED7FFA > e90000
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GPT: last_usable_lba incorrect: ED7FFA > e90000
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
54 bytes read in 0 ms
[00.447]bmp_name=bootlogo.bmp size 522294
GPT: last_usable_lba incorrect: ED7FFA > e90000
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
522294 bytes read in 12 ms (41.5 MiB/s)
GPT: last_usable_lba incorrect: ED7FFA > e90000
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GPT: last_usable_lba incorrect: ED7FFA > e90000
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GPT: last_usable_lba incorrect: ED7FFA > e90000
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GPT: last_usable_lba incorrect: ED7FFA > e90000
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GPT: last_usable_lba incorrect: ED7FFA > e90000
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GPT: last_usable_lba incorrect: ED7FFA > e90000
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GPT: last_usable_lba incorrect: ED7FFA > e90000
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GPT: last_usable_lba incorrect: ED7FFA > e90000
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GPT: last_usable_lba incorrect: ED7FFA > e90000
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GPT: last_usable_lba incorrect: ED7FFA > e90000
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GPT: last_usable_lba incorrect: ED7FFA > e90000
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GPT: last_usable_lba incorrect: ED7FFA > e90000
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GPT: last_usable_lba incorrect: ED7FFA > e90000
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GPT: last_usable_lba incorrect: ED7FFA > e90000
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
[00.668]Loading Environment from SUNXI_FLASH... OK
[00.682]Item0 (Map) magic is bad
[00.684]the secure storage item0 copy0 magic is bad
[00.689]Item0 (Map) magic is bad
[00.692]the secure storage item0 copy1 magic is bad
[00.697]Item0 (Map) magic is bad
secure storage read widevine fail
[00.703]secure storage read widevine fail with:-1
secure storage read ec_key fail
[00.710]secure storage read ec_key fail with:-1
secure storage read ec_cert1 fail
[00.717]secure storage read ec_cert1 fail with:-1
secure storage read ec_cert2 fail
[00.725]secure storage read ec_cert2 fail with:-1
secure storage read ec_cert3 fail
[00.732]secure storage read ec_cert3 fail with:-1
secure storage read rsa_key fail
[00.739]secure storage read rsa_key fail with:-1
secure storage read rsa_cert1 fail
[00.747]secure storage read rsa_cert1 fail with:-1
secure storage read rsa_cert2 fail
[00.755]secure storage read rsa_cert2 fail with:-1
secure storage read rsa_cert3 fail
[00.762]secure storage read rsa_cert3 fail with:-1
[00.767]probe MP tools from boot
delay time 0
weak:otg_phy_config
[00.778]usb init ok
[00.796]LCD open finish
[01.281]usb overtime
[01.285]usb burn from boot
delay time 0
weak:otg_phy_config
[01.296]usb prepare ok
[02.099]overtime
[02.102]do_burn_from_boot usb : no usb exist
List file under ULI/factory
** Unrecognized filesystem type **
root_partition is rootfsA
GPT: last_usable_lba incorrect: ED7FFA > e90000
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
set root to /dev/mmcblk0p5
[02.130]update part info
GPT: last_usable_lba incorrect: ED7FFA > e90000
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
[02.146]update bootcmd
GPT: last_usable_lba incorrect: ED7FFA > e90000
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
GPT: last_usable_lba incorrect: ED7FFA > e90000
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
[02.175]change working_fdt 0x43e82e70 to 0x43e62e70
[02.196]update dts
Hit any key to stop autoboot: 0
dsp0:uart config fail
dsp0 version is e5844d06c622c0e98673085bfd7f1f7b8af283aa-dirty
DSP0 start ok, img length 220648, booting from 0x400660
GPT: last_usable_lba incorrect: ED7FFA > e90000
part_get_info_efi: *** ERROR: Invalid GPT ***
part_get_info_efi: *** Using Backup GPT ***
[05.358]no vendor_boot partition is found
Android's image name: r528-k2
[05.371]Starting kernel ...
[05.373][mmc]: mmc exit start
[05.392][mmc]: mmc 0 exit ok
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.4.61-ab619 (devops@vhs-szl-0065) (arm-openwrt-linux-gnueabi-gcc.bin (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) 6.4.1, GNU ld (GNU Binutils) 2.27) #1 SMP PREEMPT Tue Nov 28 08:02:45 UTC 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: sun8iw20
[ 0.000000] printk: bootconsole [earlycon0] enabled
/dev/by-name/UDISK already format by ext4
/dev/by-name/rootfs_data already format by ext4
/dev/by-name/user already format by ext4
e2fsck 1.42.12 (29-Aug-2014)
/dev/by-name/rootfs_data: recovering journal
Setting free inodes count to 32791 (was 32794)
Setting free blocks count to 114700 (was 114872)
/dev/by-name/rootfs_data: clean, 105/32896 files, 16373/131073 blocks
Please press Enter to activate this console.
kmodloader done
Trying to connect to SWUpdate...