Skip to content

Instantly share code, notes, and snippets.

@orangecms
Last active February 27, 2020 19:39
Show Gist options
  • Save orangecms/23a60cf4eefeacfc286175fcbbe202e3 to your computer and use it in GitHub Desktop.
Save orangecms/23a60cf4eefeacfc286175fcbbe202e3 to your computer and use it in GitHub Desktop.
elitebook-2530p

board name: Compal_LA-4021p

SPI flash chip: 4096 KB AT25DF321

KBC fw

see util/kbc1126

find addresses at (rom size)-0x100

0x001aff00  fb00 04ff fb08 04f7 0000 0000 0000 0000  ................
$ kbc1126_ec_dump flashregion_1_bios.bin
  size of flashregion_1_bios.bin: 0x1b0000
  Dumping firmware at -0x50000...checksum ok
  Dumping firmware at -0x4f800...checksum ok
$ kbc1126_ec_insert build/coreboot.rom fw1.bin fw2.bin -0x50000 -0x4f800
dd \
  if=Section_PE32_image_CDC204A8-F5DB-44F6-BDC6-446EEE54316F_IgdOpRegion_body.efi \
  of=1.vbt skip=2784 count=3854 bs=1

SMBus

see https://www.techinferno.com/index.php?/forums/topic/5165-overclocking-a-2530p-under-linux/

register: RCBA+0x3418 (FD reg) => 0xFED1F418 val: 0x3380001

GRUB: write_dword 0xFED1F418 0x3380001

Linux modules needed for inspection:

  • modprobe i2c_dev
  • modprobe i2c_i801
$ i2detect -l
i2c-0	smbus     	SMBus I801 adapter at ef80      	SMBus adapter
$ lspci | grep -i smbus
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment