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.