linuxboot / heads

A minimal Linux that runs as a coreboot or LinuxBoot ROM payload to provide a secure, flexible boot environment for laptops, workstations and servers.
https://osresearch.net/
GNU General Public License v2.0
1.41k stars 185 forks source link

Porting heads to Galago Pro 5, built ROM fails to boot #1765

Open loftlifter31 opened 2 weeks ago

loftlifter31 commented 2 weeks ago

Context of the Build

1. What board are you trying to build? Trying to port heads to a new board, the system76 galp5 which is already supported by coreboot.

2. What repository:branch are you using to build from?

3. What version of coreboot are you trying to build 4.22.01

4. In building the rom where did you get the blobs?

5. If using the automated tools to get the blobs did you run the relevant scripts in the blobs directory

6. What operating system are you using

Debian 11

Please describe the problem

No errors during build process, but boots into black screen. Unsure what steps to take to troubleshoot at this point.

To Reproduce Steps to reproduce the behavior:

  1. Build rom
  2. flash using hardware programmer
  3. reboot Expected behavior Boot to Heads first time boot screen

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here. heads_build.log

loftlifter31 commented 2 weeks ago

Coreboot config files I am using come from manufacturer coreboot-galp5.config.txt galp5.config.txt linux-galp5.config.txt

tlaurion commented 2 weeks ago

@loftlifter31 where can I see a branch you work on?

loftlifter31 commented 2 weeks ago

Work on? I'm building from master if that's your question.

tlaurion commented 2 weeks ago

Work on? I'm building from master if that's your question.

Where can I see your code as a branch? Ideally do a WiP pull request on master, so that I can comment in code, just like all other community ports before se we can iterate on top. Board config, Linux config coreboot config that I will be able to review comparing other boards of same or similar family, nothing what is HCL, iGPU, dGPU and other things that could prevent booting or have console output

loftlifter31 commented 2 weeks ago

I added pull request #1766 with all the config files.

tlaurion commented 1 week ago

@loftlifter31 ping

loftlifter31 commented 6 days ago

I got it working. Just needed to update vbt.

tlaurion commented 6 days ago

I got it working. Just needed to update vbt.

Commented https://github.com/system76/firmware-open/issues/575 which I guess is the issue you aimed to close, not this one.

To close this issue, https://github.com/linuxboot/heads/pull/1774 is supposed to boot and work for others and yourself.

loftlifter31 commented 4 days ago

This is the one I wanted to close. The issue was heads was not booting. Replacing the vbt solved the problem.

tlaurion commented 4 days ago

Where can we see a working branch booting galp5 @loftlifter31 ? https://github.com/linuxboot/heads/compare/master...loftlifter31:heads:master doesn't contain chainges making galp5 bootable AFAIK?

loftlifter31 commented 4 days ago

I updated the vbt. This will work now.

loftlifter31 commented 4 days ago

So far I can say the keyboard works, gpu works, and boot from usb works. I haven't tried enrolling any keys since I'm still building and flashing new roms.