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

Build isssues v4.13.X.X #259

Open
marian-decent-ch opened this issue May 20, 2021 · 1 comment
Open

Build isssues v4.13.X.X #259

marian-decent-ch opened this issue May 20, 2021 · 1 comment

Comments

@marian-decent-ch
Copy link

I am struggling with the build following tutorials for vboot and serial console for versions since 4.12.X.X for vboot, since 4.13.X.X for serial console.

Build error for serial_console:

build/bootblock/drivers/uart/uart8250io.o: In function `uart_init':
/home/coreboot/coreboot/src/drivers/uart/uart8250io.c:98: undefined reference to `check_com2'
make: *** [src/arch/x86/Makefile.inc:111: build/cbfs/fallback/bootblock.debug] Error 1

Build error for vboot:

/home/coreboot/coreboot/payloads/external/sortbootorder/sortbootorder/sortbootorder.c: In function 'main':
/home/coreboot/coreboot/payloads/external/sortbootorder/sortbootorder/sortbootorder.c:150:34: error: 'struct sysinfo_t' has no member named 'mainboard'; did you mean cb_mainboard'?
  u8 *apu_id_string = lib_sysinfo.mainboard->strings +
                                  ^~~~~~~~~
                                  cb_mainboard
/home/coreboot/coreboot/payloads/external/sortbootorder/sortbootorder/sortbootorder.c:151:20: error: 'struct sysinfo_t' has no member named 'mainboard'; did you mean cb_mainboard'?
        lib_sysinfo.mainboard->part_number_idx;
                    ^~~~~~~~~
                    cb_mainboard
/home/coreboot/coreboot/payloads/external/sortbootorder/sortbootorder/sortbootorder.c: At top level:
cc1: error: unrecognized command line option '-Wno-address-of-packed-member' [-Werror]
@miczyg1
Copy link
Member

miczyg1 commented May 21, 2021

@marian-decent-ch we do not maintain vboot build target monthly, thus some errors may occur. As for the sortbootorder it seems that libpayload structures changed and sortbootorder have problems with that. It is important to match the sortbootorder version with the given release version. Also when you switch between coreboot release versions you have to execute distclean option to clean up the build.

@damiankaras damiankaras transferred this issue from pcengines/pce-fw-builder Oct 18, 2021
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

No branches or pull requests

2 participants