Getting started with: coreboot

Christian Walter
Sep 23, 2019 · 7 min read
Image for post
Image for post

What is coreboot?

Image for post
Image for post
Official coreboot logo — coreboot is a trademark, that’s why it has to been written with a small “c”

Getting started with coreboot

sudo apt-get install -y bison build-essential curl flex git gnat libncurses5-dev m4 zlib1g-dev qemu
git clone https://review.coreboot.org/coreboot
make crossgcc-i386

coreboot Tree Structure

Image for post
Image for post
Directory Listing in coreboot Repository
make menuconfig
Image for post
Image for post
make menuconfig in coreboot
Image for post
Image for post
make menuconfig > Mainboard
Image for post
Image for post
Seabios as a payload
Image for post
Image for post
coreinfo as secondary payload for SeaBIOS
Image for post
Image for post
make output
qemu-system-x86_64 -bios build/coreboot.rom -serial stdio
Image for post
Image for post
QEMU running coreinfo with coreboot

Awesome. What did just happen here?

Image for post
Image for post
Bootblock in coreboot
Image for post
Image for post
Jumping to SeaBIOS

The Startup

Medium's largest active publication, followed by +756K people. Follow to join our community.

Christian Walter

Written by

Firmware Developer, Tech Enthusiasts. If you have questions about firmware — write me to christian.walter@9elements.com

The Startup

Medium's largest active publication, followed by +756K people. Follow to join our community.

Christian Walter

Written by

Firmware Developer, Tech Enthusiasts. If you have questions about firmware — write me to christian.walter@9elements.com

The Startup

Medium's largest active publication, followed by +756K people. Follow to join our community.

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store