반응형 Embedded16 [Kernel Porting-3] H-Smart4412 Hello World 만들기 작업 환경 -메인 OS : Windows 8.1K(Intel Core i5-4590) -작업 OS : Ubuntu 14.04 64bit(VirtualBox) -장 비 명 : H-Smart4412 1. 초기 설정 sudo apt-get install gcc-4.4 g++-4.4 g++-4.4-multilib gcc-4.4-multilib lib32z1 2. hello 실행 파일 생성 hello.c 코드 작성 #include int main() { printf("Hello World\n"); return 0; } /opt/gnueabi/opt/ext-toolchain/bin/arm-linux-gnueabihf-gcc -o hello hello.c 실행 3. hello 파일 Upload 윈도우로 hello 파.. 2016. 12. 14. [Kernel Porting-2] H-Smart4412 SD카드 설정 작업 환경 -메인 OS : Windows 8.1K(Intel Core i5-4590) -작업 OS : Ubuntu 14.04 64bit(VirtualBox) -장 비 명 : H-Smart4412 1. 초기 설정 SD카드 연결 후 fdisk -l 로 드라이브 경로 확인(/dev/sdb) 2. SD카드 설정 ~/Development/Source/bootloader/uboot_4412/sd_fuse 이동 후 tar xvf p4412.tar ./sd_fusing_4412.sh /dev/sdb SD카드 설정 완료. 2016. 12. 14. [AVR Programming-1] 리눅스에서 AVR 프로그래밍 하기 작업 환경 Windows 8.1K Ubuntu 16.04 LTS 64bit(VirtualBox) OrangeBoard BLE(ATmega328p) 1. Install Pakage sudo apt-get install binutils-avr sudo apt-get install gcc-avr sudo apt-get install avr-libc sudo apt-get install avrdude 2. Makefile 생성 아래 내용을 Makefile 로 저장 #makefile CC = avr-gcc MCU_NAME = atmega328p F_CPU = 16000000UL TARGET = main PROG_TYPE = arduino PORT_NAME = /dev/ttyS3 BAUD = 9600 RM = rm.. 2016. 12. 12. [Kernel Porting-1] H-Smart4412 커널 포팅하기 작업 환경 -메인 OS : Windows 8.1K(Intel Core i5-4590) -작업 OS : Ubuntu 14.04 64bit(VirtualBox) -장 비 명 : H-Smart4412 첨부 파일 HSmart4412.zip : https://goo.gl/FDswRE Util.zip : https://goo.gl/Xqyq0e 1. 초기 설정 첨부파일 HSmart4412.zip 압축 해제 후 리눅스 홈 폴더로 복사 sudo apt-get install u-boot-tools libncurses5-dev 2. bootloader 생성 ~/Development/Source/bootloader 이동 후 sudo tar zxvf uboot_4412_20131202.tgz ./uboot_4412 이동 후 m.. 2016. 12. 10. 이전 1 2 3 4 다음 반응형