ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • u-boot 컴파일,부팅
    embedded system 2015. 1. 16. 13:34


    u-boot 코드 다운로드

    $mkdir WORKING_DIRECTORY

    $cd WORKING_DIRECTORY

    $git init

    $git clone https://git.linaro.org/boot/u-boot-linaro-stable.git


    cross compile 설치

    http://sourcery.mentor.com/public/gnu_toolchain/arm-none-eabi/ 


    uboot의 makefile 수정

    export CROSS_COMPILE = arm-none-eabi-

    export ARCH=arm


    u-boot컴파일

    $make arndale5250_config

    $make


    SD card 로 부팅을 위해 코드올리기

    $sudo dd if=arndale-bl1.bin of=/dev/sdb bs=512 seek=1

    $sudo dd if=spl/smdk5250-spl.bin of=/dev/sdb bs=512 seek=17

    $sudo dd if=u-boot.bin of=/dev/sdb bs=512 seek=49

    참조 : https://wiki.linaro.org/Boards/Arndale/Setup/EnterpriseUbuntuServer


    arndale-bl1.bin

    spl, u-boot은 build후 생성되는 파일들.



    SD card의 u-boot으로 부팅완료


    U-Boot 2013.01.-rc1-00003-g43ee87a-dirty (Jan 15 2015 - 18:31:41) for ARNDALE520


    CPU:    Exynos5250@1000MHz


    Board:  for ARNDALE5250

    I2C:   ready

    DRAM:  2 GiB

    WARNING: Caches not enabled


    Checking Boot Mode ... SDMMC

    MMC:   EXYNOS DWMMC: 0, EXYNOS DWMMC: 1, EXYNOS DWMMC: 2

    In:    serial

    Out:   serial

    Err:   serial

    Net:   No ethernet found.

    (Re)start USB...

    USB0:   USB EHCI 1.00

    scanning bus 0 for devices... 4 USB Device(s) found

           scanning usb for storage devices... 0 Storage Device(s) found

           scanning usb for ethernet devices... 1 Ethernet Device(s) found


    'embedded system' 카테고리의 다른 글

    Cross compile  (0) 2015.01.30
    u-boot 분석  (1) 2015.01.19
    ADB, Fastboot  (0) 2015.01.15
    RAM, Flash memory  (0) 2015.01.15
    arndale 세팅작업  (0) 2015.01.13
Designed by Tistory.