Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RcarE3] How to compile arm-trusted-firmware code under windows? #10

Open
jekenpwn opened this issue Feb 22, 2019 · 8 comments
Open

[RcarE3] How to compile arm-trusted-firmware code under windows? #10

jekenpwn opened this issue Feb 22, 2019 · 8 comments

Comments

@jekenpwn
Copy link

Hello ,
I am using RcarE3 platform.
And for convenience , Project need to change arm-trusted-firmware to the win OS to compile due to all project code compile under win system.
So could you shared the method how to compile under win OS, for example mingw

BR,
Jeken ZHUANG

@AlexeiFedorov
Copy link
Contributor

AlexeiFedorov commented Feb 22, 2019 via email

@jekenpwn
Copy link
Author

Hello Alexei,
Thanks for your kindly help,
I have tried it, but show some errors. And Linux never meet these errors!
`
D:\nio_tmp\tools\IPL\arm-trusted-firmware>build.bat

D:\nio_tmp\tools\IPL\arm-trusted-firmware>set GCC7_AARCH64_PREFIX=D:/toolschain/
mingw-aarch64-gcc/gcc-linaro-7.4.1-2019.02-i686-mingw32_aarch64-elf/bin/aarch64-
elf-

D:\nio_tmp\tools\IPL\arm-trusted-firmware>set BUILD_DEBUG=1 if /I "" equ "RELEAS
E" set BUILD_DEBUG=0

D:\nio_tmp\tools\IPL\arm-trusted-firmware>make CROSS_COMPILE=D:/toolschain/mingw
-aarch64-gcc/gcc-linaro-7.4.1-2019.02-i686-mingw32_aarch64-elf/bin/aarch64-elf-
PLAT=rcar LSI=E3 RCAR_SA0_SIZE=0 RCAR_SA6_TYPE=0 RCAR_DRAM_DDR3L_MEMCONF=3 RCAR_
DRAM_DDR3L_MEMDUAL=0 PMIC_ROHM_BD9571=0 RCAR_AVS_SETTING_ENABLE=0 RCAR_SYSTEM_SUSPEND=0 bl2 bl31 dummytool
Including services/spd/opteed/opteed.mk
/bin/sh: -c: line 1: syntax error: unexpected end of file
make: [build/rcar/release] Error 2 (ignored)
/bin/sh: -c: line 1: syntax error: unexpected end of file
make: [build/rcar/release/bl2] Error 2 (ignored)
CC drivers/arm/gic/common/gic_common.c
drivers/arm/gic/common/gic_common.c:313:1: fatal error: opening dependency file
./build/rcar/release/bl2/gic_common.d: No such file or directory
}
^
compilation terminated.
make: *** [build/rcar/release/bl2/gic_common.o] Error 1

D:\nio_tmp\tools\IPL\arm-trusted-firmware>
`

BR,
Jeken ZHUANG

@jekenpwn
Copy link
Author

For more easy to see, add one screenshot picture
build

@AlexeiFedorov
Copy link
Contributor

AlexeiFedorov commented Feb 25, 2019 via email

@jekenpwn
Copy link
Author

Hi Alexei,

It is same error after replacing Make tools from version 3 to version 4.2
1

BR,
Jeken ZHUANG

@jekenpwn
Copy link
Author

jekenpwn commented Feb 26, 2019

Hi Alexei,

Can you share your email ? And for this issue, I think that it maybe using error tools on the Win OS , Can you share your tools via packages ? and fast locate problems.

BR,
Jeken ZHUANG

@AlexeiFedorov
Copy link
Contributor

AlexeiFedorov commented Feb 26, 2019 via email

@jekenpwn
Copy link
Author

Hello Alex,

I have sent email to you, and github upload file limited type.
Can you receive?

BR,
Jeken ZHUANG

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants