Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue while flashing bios and ec #4

Open
jaekim24 opened this issue Oct 7, 2022 · 4 comments
Open

issue while flashing bios and ec #4

jaekim24 opened this issue Oct 7, 2022 · 4 comments

Comments

@jaekim24
Copy link

jaekim24 commented Oct 7, 2022

i got this error
$ sudo bash x2100_helper.sh -f -i bios.bin
flashrom v1.2-1005-g7e8d17a on Linux 5.19.13-arch1-1 (x86_64)
flashrom is free software, get the source code at https://flashrom.org

Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Opened /dev/mtd0 successfully
Found Programmer flash chip "Opaque flash chip" (16384 kB, Programmer-specific) mapped at physical address 0x0000000000000000.
Reading old flash chip contents... done.
Erasing and writing flash chip... linux_mtd_erase: MEMERASE ioctl call returned -1, error: Input/output error
Reading current flash chip contents... done. Looking for another erase function.
Looking for another erase function.
Looking for another erase function.
Looking for another erase function.
Looking for another erase function.
Looking for another erase function.
Looking for another erase function.
No usable erase functions left.
FAILED!
Uh oh. Erase/write failed. Checking if anything has changed.
Reading current flash chip contents... done.
Apparently at least some data has changed.
Your flash chip is in an unknown state.
Get help on IRC (see https://www.flashrom.org/Contact) or mail
[email protected] with the subject "FAILED: "!-------------------------------------------------------------------------------
DO NOT REBOOT OR POWEROFF!

Success!

what did I do wrong? I have the 10th gen CPU so I git cloned the flashrom and did the make command. I moved the executable "flashrom" to the folder that has bios.bin , ec.bin and x2100_helper.sh, and output.bin. After that I ran "sudo bash x2100_helper.sh -f -i bios.bin" and got that error @xy-tech @deeenes

@deeenes
Copy link
Contributor

deeenes commented Oct 8, 2022

Have you combined the bios and ec images?

./x2100_helper.sh -c -b bios.bin -e ec.bin -o bios_ec.bin

Though I don't think it is the reason of the error. Searching for this error, seems like it's typically related to attempts to erase bad blocks, or incompatible setup of nand erase timings. The error happens when the bash script calls flashrom:

./flashrom -p internal -w bios_ec.bin

Have you tried to call the above command several times?

The reason can also be a hardware fault of the rom chip. I am not very competent in this stuff, and haven't seen this issue when flashed my X2100 about a year ago. Also I can't experiment with it now as it is my primary working computer. Good luck for finding a solution!

@deeenes
Copy link
Contributor

deeenes commented Oct 8, 2022

Here is the flashrom binary that I compiled and used in last December

@jaekim24
Copy link
Author

could I used this bios update to jacky's x2100? it has a 3k monitor I7-10710U

@boredland
Copy link

did you ever figure this out? I stranded here trying to update to the 15 December 2021 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants