[SOLVED] compile u-boot

Discussion in 'Application & Utilities' started by ebito, Nov 25, 2013.

  1. ebito

    ebito New Member

    Joined:
    Jul 3, 2013
    Messages:
    9
    Likes Received:
    0
    hi,

    I've downloaded the u-boot sources from GitHub ( UDOOboard / U-Boot_Unico ).
    I compiled the u-boot by using the compile.sh script. The U-boot can compile.

    But I see my u-boot.bin file is 216kBytes, and the u-boot.bin from the download page is 2.2MB :shock: . Why?

    If I use my u-boot.bin the I.mx doesn't work. If I use the u-boot.bin from the download page, everything works fine.

    What do I wrong?

    Thanks for hints.
     
  2. arzej

    arzej New Member

    Joined:
    Jun 10, 2013
    Messages:
    5
    Likes Received:
    0
    Re: compile u-boot

    Hi, I don't know why original udoo u-boot is 2MB, but 200kB is ok, I successfully compiled my own uboot from sources and it works fine.

    You need modify not only compile.sh but also "uboot/tools/sconfig" file.
    Here are default settings, maybe you have wrong cpu type?

    BOARD_TYPE UDOO
    CPU_TYPE DUAL_LITE
    OS_TYPE LINUX
    ENV_DEVICE MMC
    CLEAN_OP CLEAN
    COMPILER /home/udoo/udoo/crosscompiler/arm-fsl-linux-gnueabi/bin/arm-fsl-linux-gnueabi-
    UBOOT_VER imx6_udoo_2013_09_10
     
  3. ebito

    ebito New Member

    Joined:
    Jul 3, 2013
    Messages:
    9
    Likes Received:
    0
    Re: compile u-boot

    I tried it again with the same binary, now it works. I think one problem could be, that I haven't use 'sync' after 'dd'.

    --> solved
     

Share This Page