Getting started with uClinux on adStar
Getting started with uClinux on adStar Getting started with uClinux on adStar
- Page 1 and 2: Getting st
- Page 3 and 4: Getting st
- Page 5 and 6: Getting st
- Page 7: Getting st
- Page 11 and 12: Device Driver--->Graphics support--
- Page 13 and 14: 4. Compile & Run Getting</s
- Page 15 and 16: 5. Test cases Getting</stro
- Page 17 and 18: 1) software that runs at boot time
- Page 19 and 20: 파티션이 정상적으로 잡힌
- Page 21 and 22: Getting st
- Page 23 and 24: Getting st
- Page 25 and 26: adStar # saveenv Saving Environment
- Page 27 and 28: NAND write: device 0 offset 0x20000
- Page 29: Getting st
<str<strong>on</strong>g>Getting</str<strong>on</strong>g> <str<strong>on</strong>g>started</str<strong>on</strong>g> <str<strong>on</strong>g>with</str<strong>on</strong>g> <str<strong>on</strong>g>uClinux</str<strong>on</strong>g> <strong>on</strong> <strong>adStar</strong> Ver 1.0<br />
3. Kernel c<strong>on</strong>figurati<strong>on</strong> & Compile<br />
<strong>adStar</strong> STK보드의 기본 설정파일을 가져와서 설정을 수정하도록 한다. 커널 소스의 최상위 디렉<br />
토리에 <strong>adStar</strong> 설정파일인 adstar_defc<strong>on</strong>fig파일을 .c<strong>on</strong>fig파일로 복사한 후 make 명령을 사용하<br />
여 컴파일한다. 만약 ncurses 라이브러리가 없을 경우 menuc<strong>on</strong>fig명령시 에러가 발생할수 있으<br />
니 백업해두었던 패키지저장소 목록을 복구한 후 업데이트하여 ncurses-dev 라이브러리를 설치<br />
한다.<br />
~$ cd /etc/apt<br />
/etc/apt$ sudo cp sources.list_bak sources.list<br />
/etc/apt$ sudo apt-get update<br />
/etc/apt$ sudo apt-get install ncurses-dev<br />
다운받은 커널 소스파일의 압축을 해제하여 디렉토리로 이동한다.<br />
~$ tar xvfz eisc_linux-2.6.29-uc0.tar.gz<br />
~$ cd eisc_linux-2.6.29-uc0<br />
<strong>adStar</strong> STK보드의 설정파일을 복사한 후 make menuc<strong>on</strong>fig 명령으로 설정을 변경하도록 한다.<br />
기본설정파일은 ‘arch/ae32k/c<strong>on</strong>fig’디렉토리에 존재한다.<br />
~/eisc_linux-2.6.29-uc0$ cp arch/ae32k/c<strong>on</strong>figs/adstar_defc<strong>on</strong>fig .c<strong>on</strong>fig<br />
~/eisc_linux-2.6.29-uc0$ make menuc<strong>on</strong>fig<br />
별도의 수정없이 기본설정파일을 사용하려면 다음과 같이 oldc<strong>on</strong>fig명령을 사용한다.<br />
~/eisc_linux-2.6.29-uc0$ cp arch/ae32k/c<strong>on</strong>figs/adstar_defc<strong>on</strong>fig .c<strong>on</strong>fig<br />
~/eisc_linux-2.6.29-uc0$ make oldc<strong>on</strong>fig<br />
3.1. SystemType<br />
다음은 make menuc<strong>on</strong>fig명령을 사용하였을 경우 각 메뉴에 대해 살펴보겠다. SystemType설정<br />
은 다음과 같다.<br />
SystemType---><br />
AE32K system type (adchips <strong>adStar</strong>)<br />
: 사용하고자 하는 시스템타입을 선택한다. adchips <strong>adStar</strong>가 체크되어 있는<br />
지<br />
확인한다.<br />
Advanced Digital Chips Inc. 8