Issue #451 has been reported by Felix Singer.
---------------------------------------- Bug #451: Fix POST code handling https://ticket.coreboot.org/issues/451
* Author: Felix Singer * Status: New * Priority: Normal * Target version: none * Start date: 2023-01-29 ---------------------------------------- coreboot supports writing POST codes to I/O port 80. There are various Kconfigs that deal with POST codes, which don’t have effect on most platforms. The code to send POST codes is scattered in C and Assembly, some use functions, some use macros and others simply use the `outb` instruction. The POST codes are duplicated between stages and aren’t documented properly.
## Tasks
* Guard Kconfigs with a depends on to only show on supported platforms * Remove duplicated Kconfigs * Replace `outb(0x80, ...)` with calls to `post_code(...)` * Update Documentation/POSTCODES * Use defines from console/post_codes.h where possible * Drop duplicated POST codes * Make use of all possible 255 values
## Requirements
* Knowledge in the coreboot build system and the concept of stages * Other knowledge: Little experience with C and x86 Assembly * Hardware requirements: Nothing special
## Mentors
* Patrick Rudolph patrick.rudolph@9elements.com * Christian Walter christian.walter@9elements.com
Issue #451 has been updated by Felix Singer.
Tracker changed from Bug to Project ideas
---------------------------------------- Project ideas #451: Fix POST code handling https://ticket.coreboot.org/issues/451#change-1382
* Author: Felix Singer * Status: New * Priority: Normal * Target version: none * Start date: 2023-01-29 ---------------------------------------- coreboot supports writing POST codes to I/O port 80. There are various Kconfigs that deal with POST codes, which don’t have effect on most platforms. The code to send POST codes is scattered in C and Assembly, some use functions, some use macros and others simply use the `outb` instruction. The POST codes are duplicated between stages and aren’t documented properly.
## Tasks
* Guard Kconfigs with a depends on to only show on supported platforms * Remove duplicated Kconfigs * Replace `outb(0x80, ...)` with calls to `post_code(...)` * Update Documentation/POSTCODES * Use defines from console/post_codes.h where possible * Drop duplicated POST codes * Make use of all possible 255 values
## Requirements
* Knowledge in the coreboot build system and the concept of stages * Other knowledge: Little experience with C and x86 Assembly * Hardware requirements: Nothing special
## Mentors
* Patrick Rudolph patrick.rudolph@9elements.com * Christian Walter christian.walter@9elements.com
Issue #451 has been updated by Felix Singer.
Estimated time set to 350.00 h
---------------------------------------- Project ideas #451: Fix POST code handling https://ticket.coreboot.org/issues/451#change-1383
* Author: Felix Singer * Status: New * Priority: Normal * Target version: none * Start date: 2023-01-29 ---------------------------------------- coreboot supports writing POST codes to I/O port 80. There are various Kconfigs that deal with POST codes, which don’t have effect on most platforms. The code to send POST codes is scattered in C and Assembly, some use functions, some use macros and others simply use the `outb` instruction. The POST codes are duplicated between stages and aren’t documented properly.
## Tasks
* Guard Kconfigs with a depends on to only show on supported platforms * Remove duplicated Kconfigs * Replace `outb(0x80, ...)` with calls to `post_code(...)` * Update Documentation/POSTCODES * Use defines from console/post_codes.h where possible * Drop duplicated POST codes * Make use of all possible 255 values
## Requirements
* Knowledge in the coreboot build system and the concept of stages * Other knowledge: Little experience with C and x86 Assembly * Hardware requirements: Nothing special
## Mentors
* Patrick Rudolph patrick.rudolph@9elements.com * Christian Walter christian.walter@9elements.com
Issue #451 has been updated by Tim Van Patten.
Martin started another discussion regarding POST codes with the "coreboot postcode cleanup proposal" thread.
(I'm not sure if this is the best link): https://mail.coreboot.org/hyperkitty/list/coreboot@coreboot.org/thread/UQM7Y...
---------------------------------------- Project ideas #451: Fix POST code handling https://ticket.coreboot.org/issues/451#change-1384
* Author: Felix Singer * Status: New * Priority: Normal * Target version: none * Start date: 2023-01-29 ---------------------------------------- coreboot supports writing POST codes to I/O port 80. There are various Kconfigs that deal with POST codes, which don’t have effect on most platforms. The code to send POST codes is scattered in C and Assembly, some use functions, some use macros and others simply use the `outb` instruction. The POST codes are duplicated between stages and aren’t documented properly.
## Tasks
* Guard Kconfigs with a depends on to only show on supported platforms * Remove duplicated Kconfigs * Replace `outb(0x80, ...)` with calls to `post_code(...)` * Update Documentation/POSTCODES * Use defines from console/post_codes.h where possible * Drop duplicated POST codes * Make use of all possible 255 values
## Requirements
* Knowledge in the coreboot build system and the concept of stages * Other knowledge: Little experience with C and x86 Assembly * Hardware requirements: Nothing special
## Mentors
* Patrick Rudolph patrick.rudolph@9elements.com * Christian Walter christian.walter@9elements.com