Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xx30 legacy boards : CBFS_SIZE fixed to 6FFFFF #1340

Closed

Conversation

tlaurion
Copy link
Collaborator

IFD reported BIOS region size SHOULD match CBFS_SIZE unless coreboot has some limitation (mrc.bin blob limitation or other). Reminder that legacy boards only existence reason is for users not wanting to unlock IFD nor neuter ME.

That is: flashing the IFD defined BIOS region from legacy-flash image/1vyrain (4mb image fitting TOP SPI or injected through 1vyrain). Otherwise, any new comer should prefer external flashing of maximized board counterparts. ---
Lenovo BIOS dump from x230:
user@heads-tests:~/heads$ ~/heads/build/x86/coreboot-4.13/util/ifdtool/ifdtool --layout /tmp/layout.txt /QubesIncoming/Insurgo/bottom_backup.rom File /home/user/QubesIncoming/Insurgo/bottom_backup.rom is 8388608 bytes Wrote layout to /tmp/layout.txt
user@heads-tests:
/heads$ cat /tmp/layout.txt
00000000:00000fff fd
00500000:00bfffff bios
00003000:004fffff me
00001000:00002fff gbe

00bfffff - 00500000 = 6FFFFF

IFD reported BIOS region size SHOULD match CBFS_SIZE unless coreboot has some limitation (mrc.bin blob limitation or other).
Reminder that legacy boards only existence reason is for users not wanting to unlock IFD nor neuter ME.

That is: flashing the IFD defined BIOS region from legacy-flash image/1vyrain (4mb image fitting TOP SPI or injected through 1vyrain).
Otherwise, any new comer should prefer external flashing of maximized board counterparts.
---
Lenovo BIOS dump from x230:
user@heads-tests:~/heads$ ~/heads/build/x86/coreboot-4.13/util/ifdtool/ifdtool --layout /tmp/layout.txt ~/QubesIncoming/Insurgo/bottom_backup.rom
File /home/user/QubesIncoming/Insurgo/bottom_backup.rom is 8388608 bytes
Wrote layout to /tmp/layout.txt
user@heads-tests:~/heads$ cat /tmp/layout.txt
00000000:00000fff fd
00500000:00bfffff bios
00003000:004fffff me
00001000:00002fff gbe

00bfffff - 00500000 = 6FFFFF
@tlaurion
Copy link
Collaborator Author

Not needed. Corruption most probably came from local builds.

@tlaurion tlaurion closed this Mar 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant