---
title: Install Libreboot on Dell Latitude E7240
x-toc-enable: true
...

Credits goes for Nicholas Chin for this laptop.

<div class="specs">


| ***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* |

</div>


### Get the ROM image

**[Download](../../download.html) from release**

If you're using a release ROM, please ensure that you've inserted extra firmware
required refer to the [guide](../install/ivy_has_common.md) for that (, failure
to adhere to this advice will result in a bricked machine):

- Intel ME (vendor blob)


**[Build](../build) from source**

	./mk -b coreboot dell_latitude_e7240_12mb


### Internal/Software Flashing

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.md` 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](../install/simplified-sw-flashing.md) to flash Libreboot.**


### External/Hardware Flashing

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](../install/simplified-hw-flashing.md) to flash Libreboot.**


### Device Specific Quirks

- Not working: AMD Radeon HD 8690M


#### Physical wireless switch

(soft enable/disable works fine)


#### Brightness controls via hotkey 

(software-based controls works)


### Expanded_Specifications


<div class="expandedspecs">

| ***Specifications***       |                                                |
|----------------------------|------------------------------------------------|
| **Manufacturer**           | Dell                                           |
| **Name/Variant**           | Latitude [E7240](https://support.lenovo.com/us/en/solutions/pd100280-detailed-specifications-thinkpad-t440p) |
| **Released**               | 2014                                           |
| **Chipset**                | Intel [Lynx Point-LP](https://en.wikipedia.org/wiki/List_of_Intel_chipsets#On-package_mobile_chipsets)  |
| **CPU**                    | Intel [4th gen.](https://en.wikipedia.org/wiki/List_of_Intel_Core_mobile_processors#Haswell-ULT) processors |
| **Graphics**               | Intel [HD 4600](https://www.techpowerup.com/gpu-specs/hd-graphics-4600-mobile.c1953) |
| **Display**                | 12.5" 1366x768                                 |
| **Memory**                 | DDR3L SODIMMs (max. 16 GB, 2x8 GB)             |
| **Audio**                  | Realtek ALC3226                                |
| **Networking**             | Intel I218-LM, Intel Dual Band Wireless-AC 7260, Optional modules for 8470p; 3G/4G |
| **Storage connectors**     | SATA III, mSATA III |
| **I/O Ports on Left**      | SmartCard reader |
| **I/O Ports on Right**     | Security cable slot (Kensington lock), mDisplayPort, USB 3.0, Jack audio in (mic, speaker), SD/MMC card reader |
| **I/O Ports on Back**      | RJ-45 1GbE (Ethernet), 2x USB 3.0, HDMI |
| **I/O Ports on Bottom**    | Custom dock connector*1 |

</div>

*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).


[//]: # "SPDX-License-Identifier: GFDL-1.3-or-later"

