본문 바로가기
Embedded System/uboot

introduce u-boot

by lifeseed 2009. 5. 15.

0. B-Boot에 대해서...
official name : U-Boot
version : 3 level version number (version, sub-version, patchlevel)
 ex) U-Boot-2.34.5 일경우 version 2, sub-version 34, patchlevel 5

1. How to get U-Boot
http://www.denx.de 에 가면 U-Boot를 포함한 몇 몇의 embedded project들을 확인 할 수있다.

GIT 및 CVS를 이용한 다운로드가 가능하다.

1.1 CVS Repository
  :pserver:anonymous@git.denx.de:/u-boot.git

1.2. GIT Repository
  git clone git://git.denx.de/
u-boot <your_repository_name>/


2. u-boot Tree 구조 (Directory Hierarchy)

/board  ---/samsung/smdk2410
                /samsung/smdk6400
                ...
/common
/cpu     ---/74xx_7xx
                /arm720t
                /arm920t
                /arm925t
                /arm926ejs
                /arm946es
                /arm1136
                /arm1176
                ...
/disk
/doc
/drivers  ---/bios_emulator
                  /block
                  /dma
                  /fgpa
                  /gpio
                  /hwmon
                  /i2c
                  /input
                  /misc
                  /mmc
                  /mtd
                  /net
                  /pci
                  /pcmcia
                  /qe
                  /rtc
                  /serial
                  /spi
                  /twserial
                  /usb
                  /video
                  /watchdog
/examples
/fs        ---/cramfs
                 /ext2
                 /fat
                 /fdos
                 /jffs2
                 /reiserfs
                 /ubifs
                 /yaffs2
/include
/lib_arm
/lib_avr32
/lib_blackfin
...
/libfdt
/nand_spl
/net
/onenand_ipl
/post
/tools

각 폴더에 대한 description
- board : Board dependent files
- common : Misc architecture independent functions
- cpu : CPU specific files
- disk : Code for disk drive partition handling
- doc : Documentation (don't expect too much)
- drivers : Commonly used device drivers
- examples : Example code for standalone applications, etc.
- include : Header Files
- lib_arm : Files generic to ARM  architecture
- lib_avr32 : Files generic to AVR32  architecture
- libfdt : Library files to support flattened device trees
- net : Networking code
- post : Power On Self Test
- rtc : Real Time Clock drivers
- tools : Tools to build S-Record or U-Boot images, etc.