Building LinuxBIOS/lang-ko: Difference between revisions

From OLPC
Jump to navigation Jump to search
m (tagging translation as deprecated)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{deprecated}}
<noinclude>{{Translation | lang = ko | source = Building LinuxBIOS| version = 33881}}
<noinclude>{{Translation | lang = ko | source = Building LinuxBIOS| version = 33881}}
{{Korean translation}}</noinclude>
{{Korean translation}}</noinclude>
Line 4: Line 5:
== 경고 ==
== 경고 ==
'''이 페이지 내용은 귀하의 컴퓨터에 심각한 손상을 입힐 수도 있습니다.'''
'''이 페이지 내용은 귀하의 컴퓨터에 심각한 손상을 입힐 수도 있습니다.'''
<font size="1"><blockquote>'''These instructions are new and subject to change. No assurance is made that this won't permanently harm your hardware. If you don't understand any of these steps, please stop and ask for clarification on the mailing lists or in IRC. You have now been officially warned.'''
<font size="1"><blockquote>'''These instructions are new and subject to change. No assurance is made that this won't permanently harm your hardware. If you don't understand any of these steps, please stop and ask for clarification on the mailing lists or in IRC. You have now been officially warned.'''</blockquote></font>


== Buildrom ==
== Buildrom ==

Latest revision as of 22:50, 18 April 2007

Stop hand.png WARNING:
The content of this section is considered
DEPRECATED and OBSOLETE
It is preserved for historical or documenting reasons.

  번역근원 Building LinuxBIOS 원문  
  english | 한국어   +/- 차이  
  • 참고: 기술적인 자료의 번역을 위해 여러분의 도움을 기대합니다. www.laptop.org 사이트와 이 사이트의 메인 페이지들은 대부분 번역되었으나, 나머지는 한글 요약만을 제공하고 있습니다. 어느 페이지든 추가 번역이 필요하면, XO Korea의 번역 섹션에 메시지를 남겨 주시기 바라며, 모자라는 번역 부분을 채워주실 손길을 기다리고 있습니다.
  • Note: Some core pages have been fully translated, and others are provided with summaries. If you need more translation, please leave a message onto the discussion page of this, or that of XO Korea.


경고

이 페이지 내용은 귀하의 컴퓨터에 심각한 손상을 입힐 수도 있습니다.

These instructions are new and subject to change. No assurance is made that this won't permanently harm your hardware. If you don't understand any of these steps, please stop and ask for clarification on the mailing lists or in IRC. You have now been officially warned.

Buildrom

부팅 동안, 리눅스 바이오스는 최소의 커널과 initramfs 이미지로 구성된 작은 payload를 로딩합니다. 우리는 이것을 롬 이미지라 부릅니다.

Buildrom은 GNU Make에 기초한 빌드 시스템입니다. 일련의 구성 파일을 이용하여, makefile이 어떤 패키지가 구성될 지를 결정합니다.


During boot, LinuxBIOS loads a small payload that consists of a minimal kernel and an initramfs image. We refer to this payload as the "ROM image".

The ROM image is responsible for bringing up the system enough to try to load a full kernel from the NAND flash, a USB mass storage device, or the network. Buildrom is a small set of build scripts that facilitiates building the bootloader and ROM image (including the kernel and all the different utilities and scripts that make up the initramfs image). If you understand buildroot (from the uclibc team), then buildrom will look familiar - it is based on the same concept.

Buildrom is a GNU Make based build system. Using a series of configuration files, the makefile will determine what packages need to be built. Each package is obtained from an upstream repository with wget and built locally on your machine. When all the packages have been built, the script pulls together all the binaries for the ROM image, and combines them into a .ELF file which is then used as the payload to build a LinuxBIOS ROM.

Update - buildrom now builds ROM images for the SPI flash by default. You don't need to change anything from the default configuration.

Getting buildrom

Buildrom은 OLPC GIT repository http://dev.laptop.org에 있습니다.

Buildrom is available from the OLPC GIT repository on http://dev.laptop.org. After installing git, run:

$ git clone git://dev.laptop.org/users/jcrouse/buildrom

This will make a copy of the tree in a folder called 'buildrom'. From time to time, you will want to make sure you are synced with the tree:

$ cd buildrom; git pull

이미지 만들기

Buildrom은 귀하의 시스템이 아래 툴들을 갖출 것을 요구합니다.

Buildrom requires the following tools on your development system to run:

  • make
  • gcc
  • svn
  • wget
  • quilt
  • perl

To build the default image, just type

$ make

You will notice that the system will start downloading packages from the web with wget, and compiling them. If you are behind a proxy, don't forget to set http_proxy before starting.

$ export http_proxy=<proxyurl>:<proxyport>

Note that there is also one package (LinuxBIOS) that will be pulled down with SVN. If you have proxy worries, make sure your local SVN environment is correctly setup.

Buildrom already sets all the important flags and other settings to build the tools and libraries so they can be included into the ROM.

There are several configuration options you can play with once you are more familar with the system. Check Config.mk and read the comments.

이미지 사용

시스템이 구성되면, deploy/ directory에 세 파일이 생성됩니다.

When the system is done building, you will have three files in the deploy/ directory:

  • bzImage - The minimal kernel that was built
  • initrd - the gziped initramfs image
  • olpc-payload.elf - ELF file that includes both the bzImage and the initrd. This is the payload that LinuxBIOS uses.

The most important deliverable is the 1MB ROM image:

  • linuxbios.rom

다음 단계는?