Mini HOWTO: using a CF card for testing and developing coreboot

From coreboot
Jump to: navigation, search

Installing coreboot on machine using a CF

This is a mini-HOWTO written by Marc Bertens

Using CF card as boot disk

For easy testing and development a CF card can be used as a HDD. There are adaptors soled for connecting a CF card directly to the IDE (PATA). THe bennefit of this is; whit a card reader attached to the development system, to easely change change the rom image your working on. Or change parameter, drivers or place applications on the CF card like lspci, for investigating the hardware.

Installing the image

The image linux-nokia-ip530-coreboot.img is a 32Mb image which can be placed on the standard CF card. This image was initial intended for the nokia-ip530, but can be used for upgrading, testing and developing coreboot on a x86 system. This is not a distrubution, but a lean and mean installation with a stable kernel. It uses the serial port as its main console at 115200n81. And its easy to personalize for developming and testing needs. For personalisation, just compile the kernel on a development system and copy the bzImage file to the CF filesystem.

#[sudo] dd of=/dev/<cf-card-device> of=./linux-nokia-ip530-coreboot.img

Download 32Mb CF card image (7.9Mb)

Starting

When you start from the CF card the EXTlinux loader is used to load Linux, just give ENTER

When the kernel is starting you see the console log on the serial port. And last a console prompt.

No user login and/or password is required.

The flashrom utility is already on the CF card image, so only need to replace the coreboot image with your coreboot rom image for your board.