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.4k stars 181 forks source link

"x86_64-linux-musl-gcc: No such file or directory" when entering "make BOARD=x230-hotp-maximized bootstrap" #1379

Open gittbuh opened 1 year ago

gittbuh commented 1 year ago

Context of the Build

1. What board are you trying to build? x230-maximized-hotp 2. What repository:branch are you using to build from?

3. What version of coreboot are you trying to build

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 specify

Please describe the problem

I followed the instructions to the letter in https://osresearch.net/Flashing-guides and getting the message below. Is this normal/expected?

root@debian:/home/name/heads# make BOARD=x230-hotp-maximized bootstrap Makefile:169: warning: overriding recipe for target 'all' /home/name/heads/boards/x230-hotp-maximized/x230-hotp-maximized.config:82: warning: ignoring old recipe for target 'all' bash: line 1: /home/name/heads/crossgcc/x86/bin/x86_64-linux-musl-gcc: No such file or directory make: *** No rule to make target 'bootstrap'. Stop.

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

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

Additional context Add any other context about the problem here.

tlaurion commented 1 year ago

@gittbuh sorry I missed notification about this issue.

I guess you mean https://osresearch.net/general-building/ ?

You should not have to call make BOARD=xyz bootstrap anymore. make BOARD=x230-hotp-maximized should work if you have all debian dependencies installed, after having ran the blobs/xx30/ script.