Zablokowałem się na stworzeniu obrazu zgodnego z bootipq:
U-Boot 2012.07 [Chaos Calmer 15.05.1,f53cef1+r49254] (Oct 30 2019 - 00:30:35)
smem ram ptable found: ver: 1 len: 3
DRAM: 256 MiB
machid : 0x8010001
NAND: ID = 9580f12c
Vendor = 2c
Device = f1
ONFI device found
SF: Detected GD25Q16 with page size 4 KiB, total 2 MiB
ipq_spi: page_size: 0x100, sector_size: 0x1000, size: 0x200000
130 MiB
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
machid: 8010001
flash_type: 0
Uaztemain: enter into !
ZTE_InitFotaFlashPara: nand_curr_device=0
zte_getHandOffState: read data=0x20 from 0x0
Hit any key to stop autoboot: 0
Creating 1 MTD partitions on "nand0":
0x000001800000-0x000003500000 : "mtd=0"
UBI: attaching mtd2 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 126976 bytes
UBI: smallest flash I/O unit: 2048
UBI: VID header offset: 2048 (aligned 2048)
UBI: data offset: 4096
UBI: attached mtd2 to ubi0
UBI: MTD device name: "mtd=0"
UBI: MTD device size: 29 MiB
UBI: number of good PEBs: 232
UBI: number of bad PEBs: 0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 4
UBI: available PEBs: 18
UBI: total number of reserved PEBs: 214
UBI: number of PEBs reserved for bad PEB handling: 2
UBI: max/mean erase counter: 4/1
Read 0 bytes from volume kernel to 84000000
No size specified -> Using max size (2920448)
Config not availabale
Sprawdziłem w u-boocie przez "md" i obraz z ubi do RAM wczytuje się dobrze.
Mój obraz ma taką strukturę:
mkimage -l /tmp/_openwrt-ipq40xx-generic-zte_mf286d-squashfs-sysupgrade.bin-0.extracted/sysupgrade-zte_mf286d/kernel
FIT description: ARM OpenWrt FIT (Flattened Image Tree)
Created: Wed Jan 12 12:31:04 2022
Image 0 (kernel@1)
Description: ARM OpenWrt Linux-5.10.87
Created: Wed Jan 12 12:31:04 2022
Type: Kernel Image
Compression: uncompressed
Data Size: 2873264 Bytes = 2805.92 KiB = 2.74 MiB
Architecture: ARM
OS: Linux
Load Address: 0x80208000
Entry Point: 0x80208000
Hash algo: crc32
Hash value: b8f01e1e
Hash algo: sha1
Hash value: 73e4455b0987a372ea8ae30e593f4a23e698de24
Image 1 (fdt@1)
Description: ARM OpenWrt zte_mf286d device tree blob
Created: Wed Jan 12 12:31:04 2022
Type: Flat Device Tree
Compression: uncompressed
Data Size: 18717 Bytes = 18.28 KiB = 0.02 MiB
Architecture: ARM
Hash algo: crc32
Hash value: bd34c815
Hash algo: sha1
Hash value: 1d9e7c01053b27e0d9f9438b8589e7722e22547e
Default Configuration: 'config@ap.dk01.1-c1'
Configuration 0 (config@ap.dk01.1-c1)
Description: OpenWrt zte_mf286d
Kernel: kernel@1
FDT: fdt@1
Oryginalny kernel:
FIT description: ARM OpenWrt FIT (Flattened Image Tree)
Created: Wed Apr 7 18:24:54 2021
Image 0 (kernel@1)
Description: ARM OpenWrt Linux-3.14.77
Created: Wed Apr 7 18:24:54 2021
Type: Kernel Image
Compression: gzip compressed
Data Size: 3616201 Bytes = 3531.45 KiB = 3.45 MiB
Architecture: ARM
OS: Linux
Load Address: 0x80208000
Entry Point: 0x80208000
Hash algo: crc32
Hash value: 409a9b81
Hash algo: sha1
Hash value: 1aad3f71030a9387e45ae1ebb85d29222e303878
Image 1 (fdt@ap.dk06.1-c1)
Description: ARM OpenWrt qcom-ipq40xx-ap.dkxx device tree blob
Created: Wed Apr 7 18:24:54 2021
Type: Flat Device Tree
Compression: uncompressed
Data Size: 38835 Bytes = 37.92 KiB = 0.04 MiB
Architecture: ARM
Hash algo: crc32
Hash value: dd3a855a
Hash algo: sha1
Hash value: ea16977e9962001c475017519a676f9a87042efa
Image 2 (fdt@ap.dk01.1-c1)
Description: ARM OpenWrt qcom-ipq40xx-ap.dkxx device tree blob
Created: Wed Apr 7 18:24:54 2021
Type: Flat Device Tree
Compression: uncompressed
Data Size: 34776 Bytes = 33.96 KiB = 0.03 MiB
Architecture: ARM
Hash algo: crc32
Hash value: 55cd25c9
Hash algo: sha1
Hash value: 8759a613dba81e2357bfaef75d7897ba9b69c4f1
Image 3 (fdt@ap.dk04.1-c5)
Description: ARM OpenWrt qcom-ipq40xx-ap.dkxx device tree blob
Created: Wed Apr 7 18:24:54 2021
Type: Flat Device Tree
Compression: uncompressed
Data Size: 38877 Bytes = 37.97 KiB = 0.04 MiB
Architecture: ARM
Hash algo: crc32
Hash value: 7c898c4d
Hash algo: sha1
Hash value: 54e230bf082ada9fe2b9ed6d8044bbbde3adb007
Image 4 (fdt@ap.dk01.1-c3)
Description: ARM OpenWrt qcom-ipq40xx-ap.dkxx device tree blob
Created: Wed Apr 7 18:24:54 2021
Type: Flat Device Tree
Compression: uncompressed
Data Size: 34776 Bytes = 33.96 KiB = 0.03 MiB
Architecture: ARM
Hash algo: crc32
Hash value: c86b3eaa
Hash algo: sha1
Hash value: 9627fdbd1ae4e3fdf26ddc4d48e39871b45b6558
Image 5 (fdt@ap.dk04.1-c4)
Description: ARM OpenWrt qcom-ipq40xx-ap.dkxx device tree blob
Created: Wed Apr 7 18:24:54 2021
Type: Flat Device Tree
Compression: uncompressed
Data Size: 38823 Bytes = 37.91 KiB = 0.04 MiB
Architecture: ARM
Hash algo: crc32
Hash value: 1cd14515
Hash algo: sha1
Hash value: 8a1bed3c0e44a1186a6cd16baf3987b096956ead
Image 6 (fdt@ap.dk07.1-c3)
Description: ARM OpenWrt qcom-ipq40xx-ap.dkxx device tree blob
Created: Wed Apr 7 18:24:54 2021
Type: Flat Device Tree
Compression: uncompressed
Data Size: 50724 Bytes = 49.54 KiB = 0.05 MiB
Architecture: ARM
Hash algo: crc32
Hash value: 95ec71d0
Hash algo: sha1
Hash value: bf4c143adbf62de85e2d88bdabd1a5a2ec6e162e
Image 7 (fdt@ap.dk04.1-c3)
Description: ARM OpenWrt qcom-ipq40xx-ap.dkxx device tree blob
Created: Wed Apr 7 18:24:54 2021
Type: Flat Device Tree
Compression: uncompressed
Data Size: 43377 Bytes = 42.36 KiB = 0.04 MiB
Architecture: ARM
Hash algo: crc32
Hash value: fec706d5
Hash algo: sha1
Hash value: 6127b434e479a7769e26ef9eb657cbe8227122b1
Image 8 (fdt@ap.dk04.1-c2)
Description: ARM OpenWrt qcom-ipq40xx-ap.dkxx device tree blob
Created: Wed Apr 7 18:24:54 2021
Type: Flat Device Tree
Compression: uncompressed
Data Size: 44777 Bytes = 43.73 KiB = 0.04 MiB
Architecture: ARM
Hash algo: crc32
Hash value: f783ad1a
Hash algo: sha1
Hash value: 1c5bf239b2939a460709b7e2a78d6180cdd4ea20
Image 9 (fdt@ap.dk05.1-c1)
Description: ARM OpenWrt qcom-ipq40xx-ap.dkxx device tree blob
Created: Wed Apr 7 18:24:54 2021
Type: Flat Device Tree
Compression: uncompressed
Data Size: 34921 Bytes = 34.10 KiB = 0.03 MiB
Architecture: ARM
Hash algo: crc32
Hash value: 15b36425
Hash algo: sha1
Hash value: 87810d833e082f0a2da22d19b0cc5b37865eb56c
Image 10 (fdt@ap.dk07.1-c2)
Description: ARM OpenWrt qcom-ipq40xx-ap.dkxx device tree blob
Created: Wed Apr 7 18:24:54 2021
Type: Flat Device Tree
Compression: uncompressed
Data Size: 38835 Bytes = 37.92 KiB = 0.04 MiB
Architecture: ARM
Hash algo: crc32
Hash value: 074fd8ca
Hash algo: sha1
Hash value: 27a290d8c7bd97b6ffb2452f1cb7d4b6931853c6
Image 11 (fdt@ap.dk07.1-c1)
Description: ARM OpenWrt qcom-ipq40xx-ap.dkxx device tree blob
Created: Wed Apr 7 18:24:54 2021
Type: Flat Device Tree
Compression: uncompressed
Data Size: 38517 Bytes = 37.61 KiB = 0.04 MiB
Architecture: ARM
Hash algo: crc32
Hash value: b4182527
Hash algo: sha1
Hash value: 6814c020ec26f2a265c2e9a5bd10caeac6b491a1
Image 12 (fdt@ap.dk01.1-c2)
Description: ARM OpenWrt qcom-ipq40xx-ap.dkxx device tree blob
Created: Wed Apr 7 18:24:54 2021
Type: Flat Device Tree
Compression: uncompressed
Data Size: 35663 Bytes = 34.83 KiB = 0.03 MiB
Architecture: ARM
Hash algo: crc32
Hash value: 088fadae
Hash algo: sha1
Hash value: 3bc0985c732210335cdf3653d14c583f2bc3a1d5
Image 13 (fdt@ap.dk04.1-c1)
Description: ARM OpenWrt qcom-ipq40xx-ap.dkxx device tree blob
Created: Wed Apr 7 18:24:54 2021
Type: Flat Device Tree
Compression: uncompressed
Data Size: 38930 Bytes = 38.02 KiB = 0.04 MiB
Architecture: ARM
Hash algo: crc32
Hash value: 6a16dabd
Hash algo: sha1
Hash value: d0b8da2df3282e3b8115fd4fbb83851ba56d4f81
Image 14 (fdt@db.dk02.1-c1)
Description: ARM OpenWrt qcom-ipq40xx-ap.dkxx device tree blob
Created: Wed Apr 7 18:24:54 2021
Type: Flat Device Tree
Compression: uncompressed
Data Size: 38944 Bytes = 38.03 KiB = 0.04 MiB
Architecture: ARM
Hash algo: crc32
Hash value: b1c412d5
Hash algo: sha1
Hash value: 8b85c1471c4ee4949729f0ad8118245161851b49
Image 15 (fdt@db.dk01.1-c1)
Description: ARM OpenWrt qcom-ipq40xx-ap.dkxx device tree blob
Created: Wed Apr 7 18:24:54 2021
Type: Flat Device Tree
Compression: uncompressed
Data Size: 35075 Bytes = 34.25 KiB = 0.03 MiB
Architecture: ARM
Hash algo: crc32
Hash value: f55ecdad
Hash algo: sha1
Hash value: 6c59bfa21d99cce01b00c31f9401977fd143cb4c
Default Configuration: 'config@db.dk01.1-c1'
Configuration 0 (config@ap.dk06.1-c1)
Description: OpenWrt
Kernel: kernel@1
FDT: fdt@ap.dk06.1-c1
Configuration 1 (config@ap.dk01.1-c1)
Description: OpenWrt
Kernel: kernel@1
FDT: fdt@ap.dk01.1-c1
Configuration 2 (config@ap.dk04.1-c5)
Description: OpenWrt
Kernel: kernel@1
FDT: fdt@ap.dk04.1-c5
Configuration 3 (config@ap.dk01.1-c3)
Description: OpenWrt
Kernel: kernel@1
FDT: fdt@ap.dk01.1-c3
Configuration 4 (config@ap.dk04.1-c4)
Description: OpenWrt
Kernel: kernel@1
FDT: fdt@ap.dk04.1-c4
Configuration 5 (config@ap.dk07.1-c3)
Description: OpenWrt
Kernel: kernel@1
FDT: fdt@ap.dk07.1-c3
Configuration 6 (config@ap.dk04.1-c3)
Description: OpenWrt
Kernel: kernel@1
FDT: fdt@ap.dk04.1-c3
Configuration 7 (config@ap.dk04.1-c2)
Description: OpenWrt
Kernel: kernel@1
FDT: fdt@ap.dk04.1-c2
Configuration 8 (config@ap.dk05.1-c1)
Description: OpenWrt
Kernel: kernel@1
FDT: fdt@ap.dk05.1-c1
Configuration 9 (config@ap.dk07.1-c2)
Description: OpenWrt
Kernel: kernel@1
FDT: fdt@ap.dk07.1-c2
Configuration 10 (config@ap.dk07.1-c1)
Description: OpenWrt
Kernel: kernel@1
FDT: fdt@ap.dk07.1-c1
Configuration 11 (config@ap.dk01.1-c2)
Description: OpenWrt
Kernel: kernel@1
FDT: fdt@ap.dk01.1-c2
Configuration 12 (config@ap.dk04.1-c1)
Description: OpenWrt
Kernel: kernel@1
FDT: fdt@ap.dk04.1-c1
Configuration 13 (config@db.dk02.1-c1)
Description: OpenWrt
Kernel: kernel@1
FDT: fdt@db.dk02.1-c1
Configuration 14 (config@db.dk01.1-c1)
Description: OpenWrt
Kernel: kernel@1
FDT: fdt@db.dk01.1-c1
Bootlog dla przypomnienia:
Hit any key to stop autoboot: 0
Creating 1 MTD partitions on "nand0":
0x000001800000-0x000003500000 : "mtd=0"
UBI: attaching mtd2 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 126976 bytes
UBI: smallest flash I/O unit: 2048
UBI: VID header offset: 2048 (aligned 2048)
UBI: data offset: 4096
UBI: attached mtd2 to ubi0
UBI: MTD device name: "mtd=0"
UBI: MTD device size: 29 MiB
UBI: number of good PEBs: 232
UBI: number of bad PEBs: 0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 2
UBI: available PEBs: 70
UBI: total number of reserved PEBs: 162
UBI: number of PEBs reserved for bad PEB handling: 2
UBI: max/mean erase counter: 1/0
Read 0 bytes from volume kernel to 84000000
No size specified -> Using max size (4317184)
## Booting kernel from FIT Image at 84000000 ...
Using 'config@ap.dk04.1-c1' configuration
Trying 'kernel@1' kernel subimage
Description: ARM OpenWrt Linux-3.14.77
Type: Kernel Image
Compression: gzip compressed
Data Start: 0x840000e4
Data Size: 3616201 Bytes = 3.4 MiB
Architecture: ARM
OS: Linux
Load Address: 0x80208000
Entry Point: 0x80208000
Hash algo: crc32
Hash value: 409a9b81
Hash algo: sha1
Hash value: 1aad3f71030a9387e45ae1ebb85d29222e303878
Verifying Hash Integrity ... crc32+ sha1+ OK
## Flattened Device Tree from FIT Image at 84000000
Using 'config@ap.dk04.1-c1' configuration
Trying 'fdt@ap.dk04.1-c1' FDT blob subimage
Description: ARM OpenWrt qcom-ipq40xx-ap.dkxx device tree blob
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0x843e7474
Data Size: 38930 Bytes = 38 KiB
Architecture: ARM
Hash algo: crc32
Hash value: 6a16dabd
Hash algo: sha1
Hash value: d0b8da2df3282e3b8115fd4fbb83851ba56d4f81
Verifying Hash Integrity ... crc32+ sha1+ OK
Booting using the fdt blob at 0x843e7474
Uncompressing Kernel Image ... OK
Loading Device Tree to 86ff3000, end 86fff811 ... OK
eth0 MAC Address from ART is not valid
eth1 MAC Address from ART is not valid
Using machid 0x8010001 from environment
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.14.77 (scl@scl_xa242_062) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 f53cef1+r49254) ) #1 SMP PREEMPT Thu Apr 8 00:23:36 CST 2021
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: Qualcomm Technologies, Inc. IPQ40xx/AP-DK04.1-C1
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] PERCPU: Embedded 7 pages/cpu @cfdc7000 s7744 r8192 d12736 u32768
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 63744
[ 0.000000] Kernel command line: ubi.mtd=rootfs root=mtd:ubi_rootfs rootfstype=squashfs rootwait clk_ignore_unused
Z dużych rzeczy mi to zostało. Macie jakiś pomysł co robię nie halo?
P.S.
FIT description: ARM OpenWrt FIT (Flattened Image Tree)
Created: Wed Jan 12 12:31:04 2022
Image 0 (kernel@1)
Description: ARM OpenWrt Linux-5.10.87
Created: Wed Jan 12 12:31:04 2022
Type: Kernel Image
Compression: uncompressed
Data Size: 2873264 Bytes = 2805.92 KiB = 2.74 MiB
Architecture: ARM
OS: Linux
Load Address: 0x80208000
Entry Point: 0x80208000
Hash algo: crc32
Hash value: b8f01e1e
Hash algo: sha1
Hash value: 73e4455b0987a372ea8ae30e593f4a23e698de24
Image 1 (fdt@1)
Description: ARM OpenWrt zte_mf286d device tree blob
Created: Wed Jan 12 12:31:04 2022
Type: Flat Device Tree
Compression: uncompressed
Data Size: 18717 Bytes = 18.28 KiB = 0.02 MiB
Architecture: ARM
Hash algo: crc32
Hash value: bd34c815
Hash algo: sha1
Hash value: 1d9e7c01053b27e0d9f9438b8589e7722e22547e
Default Configuration: 'config@ap.dk01.1-c1-old'
Configuration 0 (config@ap.dk01.1-c1-old)
Description: OpenWrt zte_mf286d
Kernel: kernel@1
FDT: fdt@1
Configuration 1 (config@ap.dk01.1-c1)
Description: OpenWrt zte_mf286d
Kernel: kernel@1
FDT: fdt@1
Taki też nie działa...
Mam i używam: Fujitsu Futro S720, Netgear R6220, Unielec U7621-06, TP-Linki 1043 V1, V2, Linksysy EA7500v2, AeroHive AP350, Linksys EA8500, ZTE MF286d.
Mam: D-Linki DWR-921, DWR-118, DWR-116, TP-Link WDR-4900 v1, Checkpoint L-50, Linksysy 1900ACS, LB-Link BL-W1200,