1. Download the u-boot source from the mango site
2. Extract the code from mango210-uboot-src-2010-11-22.tgz tar ball
[host]# tar -xvzf mango210-uboot-src-2010-11-22.tgz
3. mango210 board configuration
[host]$ source setup.sh
4. Run make to clean up the build environment
[host]$ make distclean
5. Run make to configure the build environment for mango210
[host]$ make mango210_config
6. Build the files
u-boot and
u-boo.bin
[host]$ make
출력 파일
u-boot : ELF format
u-boot.bin : binary format
u-boot.srec : S.recode format (motorola serial downloading image file)
u-boot.dis : dis-assembler 파일
dis-assembler 파일 생성 :
[# make u-boot.dis