Hirdetés

Keresés

Új hozzászólás Aktív témák

  • madrac

    senior tag

    válasz woodworm #3984 üzenetére

    A dolgot bonyolitja, hogy nekem xiaomi r3gV2 van ami hardverileg 4A, de elvileg kulonbozik a bootloader. r3gV2-re azthiszem csak kinai 2-es sorozatu fw van, viszont az orosz oldalan tanacsoltak, hogy modelltol fuggetlenul 3-as verzioval is kompatibilis univerzalisabb uboot keruljon fel custom fw-re atteresnel ami atirta a Bootloadert.
    Lenyeg a lenyeg, hogy Padavan alatt ez a particio kiosztas latszik:
    #cat /proc/mtd
    dev:    size   erasesize  name
    mtd0: 00030000 00010000 "Bootloader"
    mtd1: 00010000 00010000 "Config"
    mtd2: 00010000 00010000 "Bdata"
    mtd3: 00010000 00010000 "Factory"
    mtd4: 00010000 00010000 "crash"
    mtd5: 00010000 00010000 "cfg_bak"
    mtd6: 00100000 00010000 "Storage"
    mtd7: 001197d0 00010000 "Kernel"
    mtd8: 00d66830 00010000 "RootFS"
    mtd9: 00e80000 00010000 "Firmware_Stub"

    OpenWRT wikiben viszont ez szerepel 4A modellnel:
    OEM:
    [    2.280000] Creating 10 MTD partitions on "raspi":
    [    2.280000] 0x000000000000-0x000001000000 : "ALL"
    [    2.280000] 0x000000000000-0x000000030000 : "Bootloader"
    [    2.280000] 0x000000030000-0x000000040000 : "Config"
    [    2.280000] 0x000000040000-0x000000050000 : "Bdata"
    [    2.280000] 0x000000050000-0x000000060000 : "Factory"
    [    2.290000] 0x000000060000-0x000000070000 : "crash"
    [    2.290000] 0x000000070000-0x000000080000 : "cfg_bak"
    [    2.290000] 0x000000080000-0x000000180000 : "overlay"
    [    2.290000] 0x000000180000-0x000000e80000 : "OS1"

    OpenWRT:
    [    2.526313] Creating 8 MTD partitions on "spi0.0":
    [    2.531089] 0x000000000000-0x000000030000 : "u-boot"
    [    2.537146] 0x000000030000-0x000000040000 : "u-boot-env"
    [    2.543574] 0x000000040000-0x000000050000 : "Bdata"
    [    2.549393] 0x000000050000-0x000000060000 : "factory"
    [    2.555448] 0x000000060000-0x000000070000 : "crash"
    [    2.561240] 0x000000070000-0x000000080000 : "cfg_bak"
    [    2.567263] 0x000000080000-0x000000180000 : "overlay"
    [    2.573279] 0x000000180000-0x000001000000 : "firmware"

    Sajat OpenWRT logban meg irja az errorokat is:
    Fri Jun 30 03:56:03 2023 kern.notice kernel: [    1.347318] 8 fixed-partitions partitions found on MTD device spi0.0
    Fri Jun 30 03:56:03 2023 kern.err kernel: [    1.353687] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
    Fri Jun 30 03:56:03 2023 kern.err kernel: [    1.361059] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
    Fri Jun 30 03:56:03 2023 kern.err kernel: [    1.368988] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
    Fri Jun 30 03:56:03 2023 kern.err kernel: [    1.376360] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
    Fri Jun 30 03:56:03 2023 kern.notice kernel: [    1.383894] Creating 8 MTD partitions on "spi0.0":
    Fri Jun 30 03:56:03 2023 kern.notice kernel: [    1.388703] 0x000000000000-0x000000030000 : "u-boot"
    Fri Jun 30 03:56:03 2023 kern.notice kernel: [    1.395099] 0x000000030000-0x000000040000 : "u-boot-env"
    Fri Jun 30 03:56:03 2023 kern.notice kernel: [    1.401852] 0x000000040000-0x000000050000 : "Bdata"
    Fri Jun 30 03:56:03 2023 kern.notice kernel: [    1.407854] 0x000000050000-0x000000060000 : "factory"
    Fri Jun 30 03:56:03 2023 kern.notice kernel: [    1.413934] 0x000000060000-0x000000070000 : "crash"
    Fri Jun 30 03:56:03 2023 kern.notice kernel: [    1.419883] 0x000000070000-0x000000080000 : "cfg_bak"
    Fri Jun 30 03:56:03 2023 kern.notice kernel: [    1.426016] 0x000000080000-0x000000180000 : "overlay"
    Fri Jun 30 03:56:03 2023 kern.notice kernel: [    1.432113] 0x000000180000-0x000001000000 : "firmware"
    Fri Jun 30 03:56:03 2023 kern.notice kernel: [    1.438630] 2 uimage-fw partitions found on MTD device firmware
    Fri Jun 30 03:56:03 2023 kern.notice kernel: [    1.444561] Creating 2 MTD partitions on "firmware":
    Fri Jun 30 03:56:03 2023 kern.notice kernel: [    1.449564] 0x000000000000-0x0000002af7ce : "kernel"
    Fri Jun 30 03:56:03 2023 kern.warn kernel: [    1.454515] mtd: partition "kernel" doesn't end on an erase/write block -- force read-only
    Fri Jun 30 03:56:03 2023 kern.notice kernel: [    1.463879] 0x0000002af7ce-0x000000e80000 : "rootfs"
    Fri Jun 30 03:56:03 2023 kern.warn kernel: [    1.468896] mtd: partition "rootfs" doesn't start on an erase/write block boundary -- force read-only
    Fri Jun 30 03:56:03 2023 kern.info kernel: [    1.479076] mtd: setting mtd9 (rootfs) as root device
    Fri Jun 30 03:56:03 2023 kern.notice kernel: [    1.484235] 1 squashfs-split partitions found on MTD device rootfs
    Fri Jun 30 03:56:03 2023 kern.notice kernel: [    1.490444] 0x000000630000-0x000000e80000 : "rootfs_data"

Új hozzászólás Aktív témák

Hirdetés