Difference between revisions of "Mini HOWTO: using a CF card for testing and developing coreboot"

From coreboot
Jump to: navigation, search
(Image)
(Installing coreboot on machine using a CF)
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Installing coreboot on machine using a CF ==
 
== Installing coreboot on machine using a CF ==
  
 +
This is a mini-HOWTO written by [[User:MBertens|Marc Bertens]]
  
The image linux-nokia-ip530-coreboot.img is a 32Mb image which can be placed on the standard CF card of the IP530.
+
== Using CF card as boot disk ==
De IP530 came with 6, 16 and 32Mb CF cards. If you don't have a 32 Mb, GET one !!!!!!
+
  
#[sudo] dd of=/dev/<cf-card-device> of=./linux-nokia-ip530-coreboot.img
+
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.
  
[[media:Linux-nokia-ip530-coreboot.tar.gz|Download 32Mb CF card image (7.9Mb)]]
+
== Installing the image ==
  
This is not a distrubution, but a lean and mean installation with a stable kernel. This image is intended to be used for upgrading, testing and developing coreboot on a x86 system.
+
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.  
  
== Booting ==
+
#[sudo] dd of=/dev/<cf-card-device> of=./linux-nokia-ip530-coreboot.img
Place the CF card in the slot of the IP530, connect a serial cross cable. get a terminal program (like putty) set
+
the speed to 115200 Bps None, 8, 1 and boot up the IP530.  
+
  
You must get a prompt.
+
[[media:Linux-nokia-ip530-coreboot.tar.gz|Download 32Mb CF card image (7.9Mb)]]
 
+
== Flashing ==
+
Depending on the board revision, the board revision can be found on the inside of the machine, its on little stickers
+
on the right-side of the board. Do the following steps:
+
 
+
 
+
#flashrom /home/coreboot-nokia-ip530-board-rev-a.rom
+
 
+
#flashrom /home/coreboot-nokia-ip530-board-rev-b.rom
+
 
+
When you flashed the rom you can reboot the machine with
+
 
+
#reboot
+
  
 
== Starting ==
 
== Starting ==
Then you should see that the COREBOOT bios is starting. And the command prompt should appear again. Now you're ready
+
When you start from the CF card the EXTlinux loader is used to load Linux, just give ENTER
to install the system with Linux.
+
 
+
== Installing ==
+
=== Via distro that can install via serial console ===
+
If you have a installation CD with serial IO than remove the CF card and hook up
+
a CDROM and HDD to the primary IDE controller and start the installation.
+
 
+
=== Via distro installation on a DONOR PC ===
+
Otherwise use a other PC as donor, hook up the HDD and install Linux there.
+
 
+
== Configure linux ==
+
The kernel boot customation "apci=off console=ttyS0,115200n8" apci=off is nessary due that the Nokia-IP530 coreboot bios
+
does'nt support APCI yet.
+
 
+
Make sure that the ttyS0 is enabled in inittab, or some other place depending on the distro.
+
 
+
And now your machine is ready to run......
+
 
+
== Other OSes ==
+
It should be posible to run any OS that is able to run without the following devices:
+
- Videocard
+
- Keyboard
+
- Mouse
+
- Floppy
+
- Paralell port
+
  
So NO windows :-)
+
When the kernel is starting you see the console log on the serial port. And last a console prompt.
  
== Feedback ==
+
No user login and/or password is required.
Havefun with your Nokia-IP530, any remarks about this please email me on pe2mbs@yahoo.co.uk
+
  
You can mail me too if you have a board revision that is not supported yet, you must be able to load the rom image  
+
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.
"coreboot-nokia-ip530-board-rev-b.rom", but be prepared that maybe not all hardware is working.
+

Latest revision as of 09:41, 8 January 2011

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.