Latest Post
ARM926EJ-S S3C2450 Mango24R2 NFS Mount and How to NAND Boot

원문 : https://docs.google.com/a/crz-tech.com/document/d/1k2dd8Nj-oDrdmq7A1apNQJ71cL-U3rfLpA_iPxWOCVc/edit



1. Initializing a Build Environment


https://docs.google.com/document/d/1PyAQZwv_Gu3_1fPWhqHRWuoMye3HHes6AgLTlGfHL7s/edit



2. Build U-boot

NAND Booting 용 u-boot

$ tar jxvf u-boot-1.3.4-mango2450-20120615.tar.bz2

$ cd u-boot-1.3.4-mango2450

$ vi include/configs/mango2450.h

...

331 /* Boot configuration (define only one of next) */

332 //#define CONFIG_BOOT_MOVINAND

333 #define CONFIG_BOOT_NAND

...

$ export PATH=/opt/arm-2010q1/bin:$PATH

$ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- distclean

$ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- mango2450_config

$ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-

$ cp u-boot.bin u-boot.bin-nand



SD Booting 용 u-boot

$ vi include/configs/mango2450.h

...

331 /* Boot configuration (define only one of next) */

332 #define CONFIG_BOOT_MOVINAND

333 //#define CONFIG_BOOT_NAND

...

$ export PATH=/opt/arm-2010q1/bin:$PATH

$ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- distclean

$ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- mango2450_config

$ make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-

$ cp u-boot.bin u-boot.bin-sdmmc



3. Kernel build


$ cp mango2450_config .config

$ make menuconfig ARCH=arm    #종료시 저장합니다

$ ./build_kernel.sh

$ cp arch/arm/boot/zImage zImage-mango2450



“make menuconfig” 에러 발생 시

menubox.c:(.text+0x4d4): undefined reference to `wrefresh'

collect2: ld returned 1 exit status

make[1]: *** [scripts/kconfig/mconf] Error 1

make: *** [menuconfig] Error 2


 

$ sudo apt-get install libncurses5-dev



4. Filesystem build (Buildroot)


$ tar jxvf buildroot-mango2450.tar.bz2


$ cd buildroot-2012.05

$ make distclean

$ cp mango2450.config .config

$ make

$ ls output/images

rootfs.tar

Comments 0
:    :    :
이름 / 2014-11-20 / ★★★☆☆ [수정 / 삭제]

내용

Recent Comments
일방통행  |  ★★★★★
ISE 14.7 virtualbox를 설치했는데, ,iMPACT가 인식을 못하는데, 어케해야하나요?
min  |  ★★★★☆
These are the only Drives available to write images to: # major minor size name 1: 8 0 512805384 sda 2: 8 16 15558144 sdb Enter Device Number or n to exit: 2 Invalid selection! 왜 이런 오류가 나는 걸까요?
dino  |  ★★☆☆☆
NAND Scrub실행 후 에러가 나타납니다/ 조치방법을 알려주세요 에러내용 crz nand_erase_opts erase.addr=0x0, opt->offset=0x0, erase_ieng minfo_erases=0x20000 .....진행후 s3c-nand:ecc uncorrectable error detected---4개발생합니다 빠른 회신부탁드립니다 연락처:010-3752-6251 강희진
bluewind  |  ★★★★★
안녕하세요..구입했는데..회로도 부탁드립니다. percephy@naver.com 입니다.
조형철  |  ★★★★★
상기 Backlight 관련 회로를 구할 수 있을까요?
hwang  |  ★★★★★
구입한지 조금 됬는데 회로도 부탁합니다. rubens7777@paran.com 입니다.