[PATCH v4 12/13] mtd: spi-nor: gigadevice: gd25q256: Init flash based on SFDP

Michael Walle michael at walle.cc
Mon Nov 22 10:19:46 PST 2021


Am 2021-11-22 10:50, schrieb Tudor Ambarus:

> xxd -p sfdp-gd25q256
> 53464450060102ff00060110300000ffc8000103900000ff84000102c000
> 00ffffffffffffffffffffffffffffffffffe520f3ffffffff0f44eb086b
> 083b42bbeeffffffffff00ffffff00ff0c200f5210d800ff4262c9fe82e9
> 1458ec6006337a757a7504bdd55c0006440008500001ffffffffffffffff
> ffffffffffffffffffffffffffffffffffffffffffffffff003600279cf9
> 7764fccb58e3ffffffffffffffffffffffffffffffffffffffffffffffff
> 
> sha1sum sfdp-gd25q256
> 9f25eb3b17832b26dbba288f1b07de1f8a42e446  sfdp-gd25q256

something is wrong here:
$ cat gigadevice/gd25q256.txt
53464450060102ff00060110300000ffc8000103900000ff84000102c000
00ffffffffffffffffffffffffffffffffffe520f3ffffffff0f44eb086b
083b42bbeeffffffffff00ffffff00ff0c200f5210d800ff4262c9fe82e9
1458ec6006337a757a7504bdd55c0006440008500001ffffffffffffffff
ffffffffffffffffffffffffffffffffffffffffffffffff003600279cf9
7764fccb58e3ffffffffffffffffffffffffffffffffffffffffffffffff
$ xxd -r -p gigadevice/gd25q256.txt > gigadevice/gd25q256
$ sha1sum gigadevice/gd25q256
ca4625e284d7cf35fe6b6afe9c7f780b35a5fce7  gigadevice/gd25q256

-michael



More information about the linux-arm-kernel mailing list