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
keun  |  ★★★★★
Mango-M32F4-R10 회로도+샘플소스 부탁 합니다. 20년 12월 경에 구입 하고 이제 공부 좀 할려고 합니다. kkp1201@naver.com 입니다.
홍길동  |  ★★★★☆
지난주 CR-U2S4 20set 구매한 사람입니다. 아래 문의 드렸듯이 Windows Driver 요청 드립니다. 금년도 500 set 구매 예정에 있습니다. 다만.. Windows Driver 부분이 해결이 되어야 합니다. 확인 부탁드립니다. hanacsb@daum.net 으로 회신 부탁드립니다.
홍길동  |  ★★★★☆
지난주 CR-U2S4 20set 구매한 사람입니다. 아래 문의 드렸듯이 Windows Driver 요청 드립니다. 금년도 500 set 구매 예정에 있습니다. 다만.. Windows Driver 부분이 해결이 되어야 합니다. 확인 부탁드립니다. hanacsb@daum.net 으로 회신 부탁드립니다.
홍길동  |  ★★★★☆
지난주 CR-U2S4 20set 구매한 사람입니다. 아래 문의 드렸듯이 Windows Driver 요청 드립니다. 금년도 500 set 구매 예정에 있습니다. 다만.. Windows Driver 부분이 해결이 되어야 합니다. 확인 부탁드립니다. hanacsb@daum.net 으로 회신 부탁드립니다.
홍길동  |  ★★★★☆
지난주 CR-U2S4 20set 구매한 사람입니다. 아래 문의 드렸듯이 Windows Driver 요청 드립니다. 금년도 500 set 구매 예정에 있습니다. 다만.. Windows Driver 부분이 해결이 되어야 합니다. 확인 부탁드립니다. hanacsb@daum.net 으로 회신 부탁드립니다.
홍길동  |  ★★★★☆
CR-U2S4 v1.2를 최근에 구매했습니다. inux에서는 바로 인식하여 사용하고 있는데 Windows 11 에서는 인식하지 못합니다. Windows 11 용 드라이버 부탁드립니다. hanacsb@daum.net 으로 부탁드립니다. 감사합니다