Update link to `flashchips.h` (#3464)

This commit is contained in:
Roger D. Winans 2021-09-08 01:58:38 -04:00 committed by GitHub
parent a23a07a8f7
commit 9b477e0aae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -86,4 +86,4 @@ If this data gets corrupted or you are upgrading major SDK versions, then the fi
The easiest way to determine the flash capacity is to load the firmware and then `print(node.info'hw'.flash_size)` which reports the flash size in Kb. Alternatively, if you want to determine the capacity of the flash chip _before_ a firmware is installed then you can run the following command. This will return a 2 hex digit **Manufacturer** ID and a 4 digit **Device** ID and the detected flash size.
`esptool.py --port <serial-port> flash_id`
The chip ID can then be looked up in [https://review.coreboot.org/cgit/flashrom.git/tree/flashchips.h](https://review.coreboot.org/cgit/flashrom.git/tree/flashchips.h).
The chip ID can then be looked up in <https://review.coreboot.org/plugins/gitiles/flashrom/+/refs/heads/master/flashchips.h>.