[Tizen Porting 10] u-boot에 커널 이미지 올리기
#10 Kernel Image Upload to u-boot
1. fastboot 설치
minicom이 열려있는 터미널 창을 그대로 놔두고 새로운 터미널 창을 열어 fastboot를 설치하자.
$ sudo add-apt-repository ppa:nilarimogard/webupd8
$ sudo apt-get update
$ sudo apt-get install android-tools-adb android-tools-fastboot
2. Kernel Image fusing
Kernel Build가 완료되면 ~/Downloads/linux/arch/arm/boot 경로에 zImage가 생성된다.
minicom이 실행되어 있는 터미널에서 다음 명령을 실행하여 타겟 보드의 파티션을 설정하자.
# fdisk -c 0
FAT Partition Format
# fatformat mmc 0:1
Target Board Booting 되도록 fastboot 명령어를 입력
# fastboot
이제 Kernel 이미지를 올려보자. 새로운 터미널창을 연다.
$ cd ~/Downloads/linux
$ sudo fastboot flash kernel arch/arm/boot/zImage
정상적으로 실행이 되면 다음과 같은 메세지가 뜬다.
다음 명령을 통해 Target Board를 reboot하자.(Reboot되는 동안 키보드는 누르지 않는다.)
$ sudo fastboot reboot
3. Error 봉착
ext2 filesystem이 mount되지 않는 에러가 발생하면서 Starting kernel ... 메세지가 나온 뒤
무한 대기상태에 빠짐