From aee9f157f5455da5989e428de6cdd00348eac265 Mon Sep 17 00:00:00 2001 From: eliot Date: Sat, 18 Sep 2021 16:01:29 +0200 Subject: [PATCH] Clarificatons X230 --- guider.mdwn | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/guider.mdwn b/guider.mdwn index 5286ede..694da9f 100644 --- a/guider.mdwn +++ b/guider.mdwn @@ -78,17 +78,23 @@ Here's our config for coreboot, copy it here to this path [coreboot/.config](t40 Make sure bios has latest EC version. We had EC 1.14 (G2HT35WW), this should be the latest (citation needed). - ### Internally -After doing more research we realized that there is a way to flash internally from the get-go. +Due to security weakness in older versions of the proprietary BIOS, it is now possible to flash internally. +This is the recommended procedure for X230. + See: -### Externally +### Externally (not recommended) + +#### Warning + +As we flashed externally, we were not careful enough, and accidentally lost a resistor. This is certainly a risk when flashing by this method, the same issue as described here + (supposedly a R1378, SMD 33.2Ω resistor). With open circuit here computer cannot boot, however by adding it back or by shorting it it will be able to boot (after booting, the computer can run with an open circuit here ... seemingly). + +#### Instructions -Warning, we tried this method and accidentally lost a resistor same as - (supposedly a R1378, SMD 33.2Ω resistor). With open circuit here computer cannot boot, however by adding it back or by shorting it it will be able to boot (after booting the computer can run with an open circuit here, but do not recommend). -Additionally, after asking on IRC the recommendation was to, on the signal lines, add a resistor e.g. 47 Ohm... presumably for both data lines and clock? Or just flash internally... +After asking on IRC the recommendation was to, on the signal lines, add a resistor e.g. 47 Ohm... presumably for both data lines and clock? See (POSSIBLY OUTDATED LINKS): @@ -98,7 +104,7 @@ See (POSSIBLY OUTDATED LINKS): Recommendation: instead of supplying 3.3V externally, connect power and ethernet to computer to get WakeOnLan (might need to enable in BIOS). Thereby the chip will get powered with reduced risk. -Warning: Be careful not to break off the resistors close to the chips as these are very brittle! +Warning: Be careful not to break off the resistors close to the chips as these are very brittle! (as mentioned before) Connect to Pomona holder (8pin) like below if BeagleBone Black is used: (see links above for Raspberry Pi 3) @@ -112,7 +118,7 @@ Connect to Pomona holder (8pin) like below if BeagleBone Black is used: (see lin 6 DO (IO1) -> 21 SPIO_DO 5 CS -> 17 SPIO_CSO -Both chips should have the same layout. Read from both chips SPI2 (4MB) and SPI1 (8MB), save these images a number of times and make sure they seem to be correctly read from chip (i.e. verify hashsum). In my case the below command was used according to the id on the second row of the chips, together with the recommendation flashrom gives when no -c flag is used. Can try different speeds, 2048 worked well. For this ethernet was not connect or any other power to the laptop, from our efforts 3.3V external power needed to be provided to the chip on pin 4 instead. +Both chips should have the same layout. Read from both chips SPI2 (4MB) and SPI1 (8MB), save these images a number of times and make sure they seem to be correctly read from chip (i.e. verify hashsum). In my case the below command was used according to the id on the second row of the chips, together with the recommendation flashrom gives when no -c flag is used. Possible to try different speeds, 2048 worked well. For this ethernet was not connect or any other power to the laptop, from our efforts 3.3V external power needed to be provided to the chip on pin 4 instead. #Top chip ./flashrom -p linux_spi:dev=/dev/spidev1.0,spispeed=2048 -r x230_spi2_0.rom -c "MX25L3206E/MX25L3208E" -- 2.39.2