hughsie / fwupd-spi-dumps

0 stars 0 forks source link

Dell Inc. XPS 13 7390 #18

Closed ghost closed 9 months ago

ghost commented 9 months ago

had to use the script:

$ sudo python3 /tmp/dump-mtd-ifd.py 
checking /dev/mtd0...
reading from /dev/mtd0...
descriptor_map0=0x40003
descriptor_map1=0x45100208
descriptor_map2=0x340330
num_regions=0xA
flash_region_base_addr=0x40
flash_descriptor_reg0=0x0
flash_descriptor_reg1=0x1FFF1000
flash_descriptor_reg2=0xFFF0101
flash_descriptor_reg3=0x7FFF
flash_descriptor_reg4=0x7FFF
flash_descriptor_reg5=0x7FFF
flash_descriptor_reg6=0x7FFF
flash_descriptor_reg7=0x7FFF
flash_descriptor_reg8=0x1000001
flash_descriptor_reg9=0x7FFF
image_size=0x1ffffff
reading... IfdPartition(region=0x0 (desc), offset=0x0, size=0xfff)
reading... IfdPartition(region=0x1 (bios), offset=0x1000000, size=0xffffff)
reading... IfdPartition(region=0x2 (me), offset=0x101000, size=0xefefff)
reading... IfdPartition(region=0x8 (ie), offset=0x1000, size=0xfffff)
failed to read: [Errno 5] Input/output error
writing dell_inc.-xps-xps_13_7390-0962.bin...
done!
hughsie commented 9 months ago

That worked great, thanks!

../../fwupd-test-roms/dell_inc.-xps-xps_13_7390-0962.bin
FuEfiFirmwareFile          : 0 -> 698
FuEfiFirmwareFilesystem    : 0 -> 23
FuEfiFirmwareSection       : 0 -> 2325
FuEfiFirmwareVolume        : 0 -> 24
FuIfdBios                  : 0 -> 1
FuIfdFirmware              : 0 -> 1
FuIfdImage                 : 0 -> 3
Lines                      : 0 -> 25165