Skip to content
forked from jwise/x2100-ec

Patches for 51nb X2100 Embbeded Controller firmware

Notifications You must be signed in to change notification settings

exander77/x2100-ec

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Provide a ec.bin firmware and hit make.

To get an ec.bin:

sudo flashrom -p internal -r x2100-current-internal-flashrom.bin
dd if=x2100-current-internal-flashrom.bin of=ec.bin bs=1 skip=$((0x400000)) count=$((0x10000))

Then, to modify and flash:

dd if=x2100-current-internal-flashrom.bin of=fw.bin bs=1024 count=4096
dd if=ec.bin of=fw.bin bs=1024 count=64 seek=4096
dd if=x2100-current-internal-flashrom.bin of=fw.bin bs=1024 seek=4160 skip=4160
sudo flashrom -p internal -w fw.bin

Note that you need a flashrom that has this patch: https://review.coreboot.org/c/flashrom/+/44921

About

Patches for 51nb X2100 Embbeded Controller firmware

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 44.6%
  • Assembly 30.0%
  • Shell 16.2%
  • C 6.4%
  • Lua 2.6%
  • Makefile 0.2%