Recipes for buildrom and LinuxBIOS: Difference between revisions
JordanCrouse (talk | contribs) (Add {{deprecated}} tag) |
|||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{deprecated}} |
|||
This page shows how to do various things related to compiling LinuxBIOS. Many of these were discovered by trial and error, so there may be easier or better ways... |
This page shows how to do various things related to compiling LinuxBIOS. Many of these were discovered by trial and error, so there may be easier or better ways... |
||
Line 46: | Line 47: | ||
== Finding out what went wrong == |
== Finding out what went wrong == |
||
The "make" output from the top level of buildrom is pleasantly terse. So to find out the details, you need to look in the log files. They can be found in <PACKAGE_NAME>/logs/ . "build.log" is the main one that you're likely to use, but there are also "install.log" and "config.log" files for some of the packages. |
The "make" output from the top level of buildrom is pleasantly terse. So to find out the details, you need to look in the log files. They can be found in work/<PACKAGE_NAME>/logs/ . "build.log" is the main one that you're likely to use, but there are also "install.log" and "config.log" files for some of the packages. |
||
if the output is too terse for your tastes, you can choose to see the full output of the build by uncommenting |
|||
the <code>VERBOSE=y</code> line in Config.mk |
|||
--[[User:Wmb@firmworks.com|Wmb@firmworks.com]] 19:13, 15 August 2006 (EDT) |
--[[User:Wmb@firmworks.com|Wmb@firmworks.com]] 19:13, 15 August 2006 (EDT) |
||
[[Category:Hardware]] |
|||
[[Category:OS]] |
Latest revision as of 21:26, 18 April 2007
This page shows how to do various things related to compiling LinuxBIOS. Many of these were discovered by trial and error, so there may be easier or better ways... All paths are relative to the top level "buildrom" directory. How to do a "make clean" on just linuxbiosIf you do a "make clean" at the top level of buildrom, it will clean out all the components (kernel, busybox, etc.) so the next "make" will take a long time. If you just want to clean linuxbios, do this: $ make linuxbios-clean You can clean any individual package FOO with "make FOO-clean". Appropriate values for FOO are the names of the subdirectories of packages/ . Changing the LinuxBIOS Config FileThe configuration file is in work/linuxbios/LinuxBIOSv2/targets/olpc/rev_a/rev_a/ The currently active one is Config.SPI.lb If you change it, you'll need to do this in order to rebuild properly: $ make linuxbios-clean $ make or you can do it in one line like this: $ make linuxbios-clean all Getting a new version of Ron's upstream linuxbios codeIf Jordan has checked in a new version of buildrom that refers to a new LinuxBIOS version from Ron, you can get it with: $ git pull (assuming that the parent of your buildrom tree is Jordan's tree). If you want to try a new version of the upstream code that is not yet reflected in Jordan's tree, you can do this: Edit packages/linuxbios/linuxbios.mk and change the "LINUXBIOS_VER=nnnn" line, replacing "nnnn" with the LinuxBIOS release number. Then: $ mv work/linuxbios/LinxBIOSv2 work/linuxbios/LinuxBIOSv2- $ rm work/linuxbios/stamps/.unpacked* $ make Finding out what went wrongThe "make" output from the top level of buildrom is pleasantly terse. So to find out the details, you need to look in the log files. They can be found in work/<PACKAGE_NAME>/logs/ . "build.log" is the main one that you're likely to use, but there are also "install.log" and "config.log" files for some of the packages. if the output is too terse for your tastes, you can choose to see the full output of the build by uncommenting
the --Wmb@firmworks.com 19:13, 15 August 2006 (EDT) |