Credits goes for Nicholas Chin for this laptop.
| Specifications | |
|---|---|
| Manufacturer | Dell |
| Name | Latitude E7240 |
| Released | 2014 |
| Chipset | Intel Lynx Point-LP |
| CPU | Intel Haswell |
| Graphics | Intel HD 4600 |
| Display | 12.5" 1366x768 |
| Memory | 16GB DDR3L DIMMs (2x8 GB) |
| Architecture | x86-64-v3 (+ older) |
| Original boot firmware | Lenovo UEFI firmware |
| Intel ME/AMD PSP | Present. Disabled with me_cleaner. |
| Flash chip | SOIC-8 12MB/96Mbit |
W+: Works without vendor firmware;
N: Doesn't work;
W*: Works with vendor firmware;
U: Untested;
P+: Partially works;
P*: Partially works with vendor firmware
?: UNKNOWN AT THIS TIME
| Features | |
|---|---|
| Internal flashing with original boot firmware | N |
| Display (if Intel GPU) | W+ |
| Display (discrete GPU, SeaBIOS payload only) | N |
| Audio | W+ |
| RAM Init | W* |
Download from release
If you’re using a release ROM, please ensure that you’ve inserted extra firmware required refer to the guide for that (, failure to adhere to this advice will result in a bricked machine):
Build from source
./mk -b coreboot dell_latitude_e7240_12mb
You can simply boot Linux/BSD, on the Dell Latitude you wish to flash, and run flashprog from there, for Libreboot installation. Certain other steps are also required, documented in the steps below:
You can flash Libreboot directly from the vendor (Dell) BIOS, without taking the machine apart. It can be done entirely from Linux/BSD.
Go in there:
cd util/dell-flash-unlock
make
With this program, you can unlock the flash in such a way where everything is writeable. Information about how to use it is in the README.html file which is included in that program’s directory, or you can read it online here:
https://codeberg.org/libreboot/lbmk/src/branch/master/util/dell-flash-unlock/README.md
Please make sure that you do fully read the README, because it contains useful information.
Literally just run that program, and do what it says. You run it once, and shut down, and when you do, the system brings itself back up automatically; on some systems, you have to boot the machine back up manually, after power down. Then you run it and flash it unlocked. Then you run it again. The source code is intuitive enough that you can easily get the gist of it; it’s writing some EC commands and changing some chipset config bits. The EC on this machine is hooked up to the GPIO33 signal, sometimes called HDA_DOCK_EN, which sets the flash descriptor override thus disabling any flash protection by the IFD. It also bypasses the SMM BIOS lock protection by disabling SMIs, and Dell’s BIOS doesn’t set any other type of protection either such as writing to Protected Range registers.
After it is unlocked, follow the guide to flash Libreboot.
Machine-specific disassembly instructions are not provided, but you can find the hardware maintenance manual for your Latitude module online. Just search for it. The flash chips(s) is/are usually under the keyboard/palmrest. Near to the PCH/southbridge.
Note that you often have to provide a high current for VCC, because the flash chip will share a common voltage rail with other power-hungry ICs on the board, or the flash ICs will share a common MISO/MOSI line without resistance, with chip selects controlled by PCH, and/or the PCH itself might be live while flashing - so you need to set the drive strength high.
Split the ROM images. Check the silk screen on the board, and the first chip might be labelled something like SPI1, second one SPI2. Figure out which one is first.
Look at the part number on the chip and find the flash size for it. For example: a 10MB flash might be 2MB for SPI1 and 8MB for SPI2, so you would do:
dd if=Libreboot.rom of=spi1.rom bs=1M count=2
dd if=Libreboot.rom of=spi2.rom bs=1M skip=2
Adapt accordingly, 12MB is usually SPI1 8MB and SPI2 4MB so you would do:
dd if=Libreboot.rom of=spi1.rom bs=1M count=8
dd if=Libreboot.rom of=spi2.rom bs=1M skip=8
After the rom file split into 2, follow the guide to flash Libreboot.
(soft enable/disable works fine)
(software-based controls works)
*1 Compatible Dell E-Port/E-Port Plus docks: Replicator 1st gen., Plus, II, Plus II (and a docking spacer might be needed (part number XJD0R or KRHNW).
Markdown file for this page: https://libreboot.org/docs/install/dell_latitude_E7240.md
This HTML page was generated by the Libreboot Static Site Generator.