Comments (14)
I wrote a first draft of such a script. It's completely untested! Please, if you can, take a look at it and test it. I'll do so too, sometime "soon". thanks a lot!
from skulls.
from skulls.
thanks for the feedback. how do you currently do it?
from skulls.
flash.sh
sudo flashrom -p internal --layout x230-layout.txt --image bios --write ./coreboot/build/coreboot.rom
x230-layout.txt
0x00000000:0x007fffff ifdmegbe
0x00800000:0x00bfffff bios
Edit:
Keep in mind coreboot.rom is still 12MB...
Edit 2:
I just figured out this is from your README 🗡️
from skulls.
thanks. that's what I meant :) The new "prepare" script takes the (released) 4MB image and creates a 12MB one, along with the layout-file and instructions on how to flash it internally.
Could you have a look at it? That's be of help.
from skulls.
I just woke up so, I am mostly confused on what is happening...
I will take a look at it now...
from skulls.
Looks great to me.
I am thinking that actually it might not be that bad idea to give option to read 8MB image instead of generating it with dd...
So it can later be extended with more features (for example ME removing and using additional space)
from skulls.
well. yes. we could do a lot :)
I actually don't want to run flashrom from this "prepare" script. This should be runnable by users, not only by root.
Also I want to be careful here, because it's required to have the 8MB chip flashed externally at least once (for unlocking), before being able to flash internally. Can we detect that when trying to flashrom-read internally? Or does reading already fail if not unlocked?
But you're right...
- we could add an option to provide a full or 8mb (already read) file, that we update instead of prepending zeroes (only do that by default)
- we could create another script that really runs flashrom, and uses the above script. I clearly have to test flashing internally myself. We'd need something that works for everybody. But at least we could come up with something people can test...
In a first step, I'd like to have the current script tested and ready. I updated the README a bit. Future releases won't include a 12MB image.
from skulls.
from skulls.
I guess we'll always require to write an unlocked image once, using a hardware flasher. But could we use https://github.com/google/pawn to initially get the image so that we could only write the unlocked one once?
That'd save quite some time. Anyone cares to compare original bios images read via hardware with the results from this tool?
from skulls.
Yes, we can not flash internally until we flash unlocked image.
I do not have locked one so I can not compare them...
from skulls.
reading is not possible either? I created a new issue #19 for this question.
I tested internal flashing using the script now. seems to be fine... I'll leave this issue open for a while in case we get another test.
from skulls.
from skulls.
with the 12mb-generating "prepare"-script tested, and a release script added now, this issue is actually resolved. #19 is more interesting anyways :)
from skulls.
Related Issues (20)
- TINT (Secondary Payload) HOT 1
- Boot process x230 HOT 4
- TL;DR wrong command?
- x230 touchpad not working HOT 2
- T440p free RAM init available HOT 4
- works with ThinkPad S230u (Twist) HOT 1
- Please use flashrom v1.2 or later. You seem to use . HOT 4
- Flashrom cannot read EEPROM, no DMI table found HOT 1
- master is currently behind tag 1.0.8 HOT 2
- Tigard - External Install Top
- Feature: Thinkpad p17
- Problems and concerns after flashing T430
- Request: Support other brands as well HOT 1
- Request: Support for the ThinkPad T430s HOT 2
- "Error: Extra parameter found" when Flashing Bottom Chip T430 HOT 11
- I got error with windows HOT 1
- Error with skulls 1.09 HOT 1
- T430 USB Issues HOT 1
- T530 ACPI_BIOS_ERROR 1.0.9 WIN BOOT HOT 9
- X230 with Quad-Core (Intel Core i7-3612QE) is slow HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skulls.