Flashing guide
This document describes how to set up external flashing for the devices using RTE.
NS5x/7x 12th Generation
Prerequisites
- Prepared RTE
-
WSON8 probe
Flashing
Note: the
flash.sh
script, used in this chapter, is available only in 0.8.1 or newer RTE OS releases, check meta-rte for more inf..
- Unscrew the bottom cover of the laptop.
-
Disconnect the battery
All power must be removed from the laptop during flashing.
-
Localize the flash chip.
-
Take the WSON8 probe and locate the white dot on the needles side. The dot indicates the first reference pin that should be connected to the pin on the flash chip also marked with a dot.
-
Connect the cables coming out from the WSON8 probe to the SPI header according to the pictures and table below.
- Top view of flash chip:
-
Table with all required connections:
RTE SPI header Flash Chip Vcc VCC CS CS# MISO (SO) SO (IO1) GND VSS SCLK SCLK MOSI (SI) SI Note: both the SPI header and the WSON8 probe have 8-pin headers. Pins marked as NC on the RTE board and as IO2 and IO3 on the flash chip do not require a connection.
-
Example connection appearance:
-
Login to RTE via
ssh
orminicom
. - Connect and hold the WSON8 probe to the flash chip.
-
Read the flash chip by executing the following command on RTE:
./flash.sh read dump.rom
-
If the reading was successful, the output from the command above should contain the phrase
Verifying flash... VERIFIED.
. Only after the entire script has been executed, the WSON8 probe can be disconnected. - Connect and hold again the WSON8 probe to the flash chip.
-
Write the flash chip by executing the following command on RTE:
./flash.sh write coreboot.rom
-
If the writing was successful, the output from the command above should contain the phrase
Verifying flash... VERIFIED.
. Only after the entire script has been executed, the WSON8 probe can be disconnected. - Reconnect the battery and screw in the bottom cover.
- Power on the device. If the platform is booting up and basic functionalities are working, the entire procedure was successful.