background image

Install Coreboot on a Nokia IP530 HOWTO.

5.2 Booting the Nokia IP530 with FreeBSD.

Place the CF card or HDD (when installing a HDD removed the CF card (if still present) 
from the IP530, you don't need it). Connect a NUL-Modem cable between the IP530 and 
a other system where you can run a terminal program (or even a real serial terminal). 
When the IP530 starts the original BIOS starts with speed 9600 Bps set the terminal 
accordingly.   Now   turn   on  the   power   and   the   IP530   shows   its   startup   screen   on   the 
terminal console. And that it's booting FreeBSD OS. 

5.3 Reading the original flash-rom. 

Login to FreeBSD, switch to the /bios directory and execute the following command: 

>flashrom -r original-bios.rom [enter]

Now the Flashrom program shows information about its self and shows that the current 
flash   chip   is   supported   for   read,   write   and   verify,   and   that   for  EARSE   is   Flashrom 
untested (this is not a problem, because the ERASE is done every programming action). 
Then it continues with that's it reading the ROM. A file 'original-bios.rom' is created. 
This is only done to have a fallback when something goes wrong with the flashing of the 
image. 

In case of an error see 4.2 Problems.

5.4 Testing the writing the flash-rom. 

To test if the flash utility works properly now enter the next command:

>flashrom -w original-bios.rom [enter]

Now the Flashrom program shows information about its self. When a message appears 
that the flash could not be written. you have an incorrect version of Flashrom. In this case 
no harm done the original BIOS is still in the  flash chip. 

When it continues with the message Erasing the flash. And continues with programming 
the flash. When this steps succeeds you can go on to the update. 

In case of an error see 4.2 Problems.

Page 6 of 9

Содержание IP530 - Remote Access Server

Страница 1: ...Install Coreboot on a Nokia IP530 HOWTO How can I install Coreboot on a Nokia IP530 system Marc Bertens mbertens xs4all nl Version 1 0 June 2010 ...

Страница 2: ...INTRODUCTION 4 4 1 ASSUMPTIONS 4 4 2 PROBLEMS 4 5 PROCEDURE 5 5 1 THE FIRST STEP 5 5 2 BOOTING THE NOKIA IP530 WITH FREEBSD 6 5 3 READING THE ORIGINAL FLASH ROM 6 5 4 TESTING THE WRITING THE FLASH ROM 6 5 5 UPDATE THE FLASH ROM 7 5 6 REBOOTING THE SYSTEM 7 6 REFERENCES AND RESOURCES 8 7 TAIL 9 Page 2 of 9 ...

Страница 3: ...er I AM NOT RESPONSIBLE FOR ANY DAMAGES INCURRED DUE TO ACTIONS TAKEN BASED ON THIS DOCUMENT The final responsibility lays with the user of the system no the writer of this document This document is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE See the GNU General Public License for m...

Страница 4: ...mpilers linkers libraries and other development tools 3 The Coreboot image should at least contain SeaBios and optionally sgabios from Google com This is VGA emulation bios that put the output to the serial port 4 2 Problems In the case that you get an error while running Flashrom you need to contact the flashrom on IRC and ask the questions there You need the log of lspci xxxvvv lspci log enter s...

Страница 5: ...ort with speed 9600 NONE 1 stopbit Set the serial port 2 speed 9600 NONE 1 stopbit in the configuration to accept a terminal session Optionally install ssh Copy the Flashrom executable and the Coreboot rom image to the disk For example to the bios directory When running Linux compiled executables on a FreeBSD system you need the following additional steps o copy the following libraries from the Li...

Страница 6: ...hat the current flash chip is supported for read write and verify and that for EARSE is Flashrom untested this is not a problem because the ERASE is done every programming action Then it continues with that s it reading the ROM A file original bios rom is created This is only done to have a fallback when something goes wrong with the flashing of the image In case of an error see 4 2 Problems 5 4 T...

Страница 7: ... It should tell you that the verify has completed and the images matches In case of an error see 4 2 Problems 5 6 Rebooting the system Now you can reboot the system by reboot enter Or shutdown h now enter and switching the power OFF and ON Now the system should just reboot and you should be able the login to FreeBSD again When it s booted you can setup a new Linux or other OS on a donor PC Or when...

Страница 8: ...ion of a 16bit X86 BIOS SeaBIOS can run in an emulator or it can run natively on X86 hardware with the use of Coreboot http code google com p sgabios The Google Serial Graphics Adapter BIOS or SGABIOS provides a means for legacy x86 software to communicate with an attached serial console as if a video card were attached SGABIOS is designed to be inserted into a BIOS as an option rom to provide ove...

Страница 9: ...various Linux newsgroups websites and IRC channels I am sorry I did not keep a record of everyone who has indirectly contributed by this route thank you all very much So to sum up Making a Nokia IP530 work with any OS with Coreboot SeaBios and sgabios it s a neat trick but it can be done That s all folks Page 9 of 9 ...

Отзывы: