The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to detect ARM architecture from iPXE script?
2018-10-25, 19:16
Post: #1
How to detect ARM architecture from iPXE script?
Hi, folks!

I'm adding AMR64 systems to our environment and would love to use the same existing iPXE scripts for our tasks, just need to be able to determine the architecture from within iPXE to define a proper kernel/initrd paths to pass.

Something of a mix between "platform" and "cpuid" commands, I presume.

I'd love to be more precise than running this, if possible, as it is not exactly a bulletproof "solution":

cpuid --ext 29 && set arch x86_64 || set arch arm64

Any suggestions?

Thanks!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
How to detect ARM architecture from iPXE script? - korekhov - 2018-10-25 19:16



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