Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to detect ARM architecture from iPXE script?
2018-10-29, 19:04
Post: #8
RE: How to detect ARM architecture from iPXE script?
(2018-10-29 18:54)korekhov Wrote:  On a second thought - I understand now what you're saying. I guess, I did not realize that I couldn't build say ARM iPXE on x86 system and so thought I could not use the ${buildarch}.

Just to be clear. You can crosscompile iPXE for ARM on x86 no problem.
The buildarch is still what it is "built for" not what it is "built on"

take the build command:
Code:
make bin-${buildarch}-${platform}/snp.efi
the above would fail if platform is not set to efi - but otherwise the parts of the build command is exactly what is put into those settings. No matter what you build it on.

so make bin-arm32-efi/snp.efi
will have platform set to efi,
and buildarch set to arm32.

again see http://ipxe.org/appnote/buildtargets

Use GitHub Discussions
VRAM bin
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How to detect ARM architecture from iPXE script? - NiKiZe - 2018-10-29 19:04



User(s) browsing this thread: 1 Guest(s)