charlieh0tel Beginner

  • Member since Dec 21st 2021
  • Last Activity:
Posts
1
Points
10
Profile Hits
116
  • Hello,

    I found an answer to my more special question (in this board).

    You can change the parameters when you use the combination of flashrom and cbfstool.
    cbfstool is located in util directory of coreboot.

    What to do:

    1. read actual BIOS: flashrom -p internal -r coreboot.bin
    2. extract BIOS parameters: cbfstool coreboot.bin extract -n bootorder -f bootorder
    3. change Parameters in file bootorder
    4. make a copy of the original bios: cp coreboot.bin coreboot2.bin
    5. remove old BIOS parameters: cbfstool coreboot2.bin remove -n bootorder
    6. add new BIOS parameters: cbfstool coreboot2.bin add -n bootorder -f bootorder -t raw
    7. flash new BIOS with new parameters: flashrom -p internal -w coreboot2.bin

    Uwe