Home Forum Getting Started ATF 17.06 build missing a80x0_mcbin platform files

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #430
    NewMacchiatoUser
    Participant

    Hi,

    I followed the instructions:
    http://wiki.macchiatobin.net/tiki-index.php?page=Build+from+source+-+Bootloader#Build_ATF

    Built u-boot but when I tried to build ATF, I get:

    marvell@marvell-ThinkPad-T510:~/macciatobin/atf$ make USE_COHERENT_MEM=0 LOG_LEVEL=20 MV_DDR_PATH=/home/marvell/mcciatobin/mv-ddr PLAT=a80x0_mcbin all fip
    make_helpers/plat_helpers.mk:56: *** “Error: Invalid platform. The following platforms are available: a7040_pcac|a70x0|a70x0_cust|a80x0|a80x0_cust|fvp|juno|mt6795|mt8173|qemu|rk3368|rk3399|tegra|zynqmp”. Stop.

    So, I did:
    marvell@marvell-ThinkPad-T510:~/macciatobin$ find . -name plat_def.h
    ./atf/plat/marvell/a8k/a80x0/plat_def.h
    ./atf/plat/marvell/a8k/a70x0/plat_def.h
    ./atf/plat/marvell/a8k/a70x0_cust/plat_def.h
    ./atf/plat/marvell/a8k/a7040_pcac/plat_def.h
    ./atf/plat/marvell/a8k/a80x0_cust/plat_def.h

    I know I misspelled Macchiato but that is not the error.

    export BL33=/home/mcbin/u-boot/u-boot.bin
    mkdir binaries-marvell
    cd binaries-marvell/
    git clone https://github.com/MarvellEmbeddedProcessors/binaries-marvell .
    git checkout binaries-marvell-armada-17.06
    export SCP_BL2=pwd/RTOSDemo-cm3.bin
    cd macciatobin/
    mkdir atf
    cd atf/
    git clone https://github.com/MarvellEmbeddedProcessors/atf-marvell.git .
    cd ..
    mkdir mv-ddr
    cd mv-ddr/
    git clone https://github.com/MarvellEmbeddedProcessors/mv-ddr-marvell.git .
    git checkout mv_ddr-armada-17.06
    cd ../atf/
    make USE_COHERENT_MEM=0 LOG_LEVEL=20 MV_DDR_PATH=/home/marvell/mcciatobin/mv-ddr PLAT=a80x0_mcbin all fip

    Please tell me if you see something wrong.

    #431
    NewMacchiatoUser
    Participant

    I added: git checkout atf-v1.3-armada-17.06 and the folder showed up but now I am getting:

    marvell@marvell-ThinkPad-T510:~/macciatobin/atf$ make USE_COHERENT_MEM=0 LOG_LEVEL=20 MV_DDR_PATH=/home/marvell/macciatobin/mv-ddr PLAT=a80x0_mcbin all fip
    DEPS build/a80x0_mcbin/release/bl31/bl31.ld.d
    gcc: error: unrecognized command line option ‘-mgeneral-regs-only’
    DEPS build/a80x0_mcbin/release/bl31/marvell_helpers.d
    gcc: error: unrecognized command line option ‘-mgeneral-regs-only’
    DEPS build/a80x0_mcbin/release/bl31/16550_console.d
    gcc: error: unrecognized command line option ‘-mgeneral-regs-only’
    DEPS build/a80x0_mcbin/release/bl31/console.d

    In perpetuity.

    Any thoughts?

    #432
    NewMacchiatoUser
    Participant

    Okay,

    Just had to go through the whole thing again and it all is good.

    Sorry

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Technical specification tables can not be displayed on mobile. Please view on desktop