Translate "u-boot SPL" to Rust : unknown target CPU 'armv8-a+crc' #1090
Unanswered
lokesh2019
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
First of all, my compliments and thank you for the work you have done here.
I am trying to convert upstream u-boot SPL (https://github.com/u-boot/u-boot) for a specific aarch64 board (imx8mm-evk) to Rust.
I am following the steps documented on this blog post: https://immunant.com/blog/2020/01/quake3/
I have managed to generate the
compiler_commands.json
file with a minor tweak to your script to point to my aarch64 gcc.Instructions to build SPL:
And then to combine the build commands:
And then I copy
converted.json
to a temp directory renamed tocompile_commands.json
and run:I have attached compile_commands.json and out.txt - the output of the transpile operation here.
In the output, all the C files are not recognised for some reason. They all have errors similar to this block
My question is, am I missing something trivial or am I trying to transpile code of an unsupported architecture?
Beta Was this translation helpful? Give feedback.
All reactions