Does the serial log from the bootloader looks good?
Does the md
- memory display show the flash's content?
For reference, the flash layout is:
[ 0.563276] spi spi0.0: force spi mode3
[ 0.573466] m25p80 spi0.0: gd25q64 (8192 Kbytes)
[ 0.582778] 8 fixed-partitions partitions found on MTD device spi0.0
[ 0.595445] Creating 8 MTD partitions on "spi0.0":
[ 0.605006] 0x000000000000-0x000000030000 : "u-boot"
[ 0.615867] 0x000000030000-0x000000040000 : "config"
[ 0.626662] 0x000000040000-0x000000050000 : "factory"
[ 0.637672] 0x000000050000-0x000000051000 : "loader"
[ 0.648480] 0x000000051000-0x0000001d0000 : "firmware2"
[ 0.659820] 0x0000001d0000-0x0000001e0000 : "u-boot-env"
[ 0.671309] 0x0000001e0000-0x000000200000 : "firmware3"
[ 0.682640] 0x000000200000-0x000000800000 : "firmware1"
.
.
.
[ 0.839575] Concatenating MTD devices:
[ 0.847102] (0): "firmware1"
[ 0.852826] (1): "firmware2"
[ 0.858562] (2): "firmware3"
[ 0.864298] into device "virtual_flash"
[ 0.871966] 1 fixed-partitions partitions found on MTD device virtual_flash
[ 0.885852] Creating 1 MTD partitions on "virtual_flash":
[ 0.896636] 0x000000000000-0x00000079f000 : "firmware"
[ 0.909574] 2 okli-fw partitions found on MTD device firmware
[ 0.921088] Creating 2 MTD partitions on "firmware":
[ 0.930996] 0x000000000000-0x00000019910c : "kernel"
[ 0.941817] 0x00000019910c-0x00000079f000 : "rootfs"
[ 0.952600] mtd: device 10 (rootfs) set to be root filesystem
[ 0.965712] 1 squashfs-split partitions found on MTD device rootfs
[ 0.978098] 0x00000043b000-0x00000079f000 : "rootfs_data"
[ 0.997737] VFS: Mounted root (squashfs filesystem) readonly on device 31:10.
For the concatenated firmware
address you have to calculate the real address.
For example, the rootfs
starts at 0x00000019910c
inside firmware
which starts at 0x000000200000
on the flash => are there anything interesting at 0x00000039910c
on the flash?