Comments (4)
Hey @Smithx10 can you try with make
, that should work. I've been noodling a way to still be go build
able with just degraded functionality.
from boots.
@mmlb Thanks for the quick response,
I'm attempting to compile for amd64. Looks like like ipxe build.sh is setting /bin/sh: CROSS_COMPILE to aarch64-unknown-linux-gnu-gcc: and then I geta bunch of command not founds
arch@9d46dd2d-1178-ce83-cbc4-d396e4a24060 ~/g/boots ❯❯❯ make boots-linux-amd64 ✘ 130 master
t=bin-arm64-efi/snp.efi
rm -rf ipxe/ipxe/build/bin-arm64-efi
mkdir -p ipxe/ipxe/build/bin-arm64-efi
tar -xzf ipxe/ipxe/build/a5fb41873dc1dcce5dcc817bf53a0649c01f8cac.tar.gz -C ipxe/ipxe/build/bin-arm64-efi
cp ipxe/ipxe/colour.h ipxe/ipxe/common.h ipxe/ipxe/console.h ipxe/ipxe/general.efi.h ipxe/ipxe/general.undionly.h ipxe/ipxe/isa.h ipxe/ipxe/build/bin-arm64-efi
cd ipxe/ipxe/build/bin-arm64-efi && ../../build.sh $t a5fb41873dc1dcce5dcc817bf53a0649c01f8cac
+ case $build in
+ rm ipxe-a5fb41873dc1dcce5dcc817bf53a0649c01f8cac/src/config/local/isa.h
+ cp ipxe-a5fb41873dc1dcce5dcc817bf53a0649c01f8cac/src/config/local/general.efi.h ipxe-a5fb41873dc1dcce5dcc817bf53a0649c01f8cac/src/config/local/general.h
+ sed -i '/^WORKAROUND_CFLAGS/ s|^|#|' ipxe-a5fb41873dc1dcce5dcc817bf53a0649c01f8cac/src/arch/arm64/Makefile
+ [[ -z '' ]]
+ export CROSS_COMPILE=aarch64-unknown-linux-gnu-
+ CROSS_COMPILE=aarch64-unknown-linux-gnu-
+ rm ipxe-a5fb41873dc1dcce5dcc817bf53a0649c01f8cac/src/config/local/general.efi.h ipxe-a5fb41873dc1dcce5dcc817bf53a0649c01f8cac/src/config/local/general.undionly.h
+ make -C ipxe-a5fb41873dc1dcce5dcc817bf53a0649c01f8cac/src VERSION_PATCH=255 'EXTRAVERSION=+ (a5fb4)' bin-arm64-efi/snp.efi
make[1]: Entering directory '/mnt/git/boots/ipxe/ipxe/build/bin-arm64-efi/ipxe-a5fb41873dc1dcce5dcc817bf53a0649c01f8cac/src'
/bin/sh: aarch64-unknown-linux-gnu-gcc: command not found
rm -f bin-arm64-efi/*.* bin-arm64-efi/.certificate.* bin-arm64-efi/.certificates.* bin-arm64-efi/.private_key.* bin-arm64-efi/errors bin-arm64-efi/NIC ./util/zbin ./util/elf2efi32 ./util/elf2efi64 ./util/efirom ./util/efifatbin ./util/iccfix ./util/einfo TAGS bin-arm64-efi/symtab
[PARSEROM]
[DEPS] arch/arm64/core/setjmp.S
/bin/sh: aarch64-unknown-linux-gnu-gcc: command not found
[DEPS] drivers/net/ath/ath9k/ath9k_xmit.c
/bin/sh: aarch64-unknown-linux-gnu-gcc: command not found
[DEPS] drivers/net/ath/ath9k/ath9k_recv.c
/bin/sh: aarch64-unknown-linux-gnu-gcc: command not found
[DEPS] drivers/net/ath/ath9k/ath9k_main.c
/bin/sh: aarch64-unknown-linux-gnu-gcc: command not found
from boots.
Hey @Smithx10 the makefile and build setup is tailored for building under nixos/nix-shell but can be tailored to your system. It all depends on what the arm64 cross compiler for your system is named, for example under ubuntu it would be CROSS_COMPILE=aarch64-linux-gnu-
(installed via https://github.com/tinkerbell/boots/blob/master/ipxe/ipxe/build.sh#L5-L6).
We can probably do a better job of checking ${CROSS_COMPILE}gcc
exists in build.sh
though.
from boots.
Would the original issue go away if we adopt Go's newer embed feature? https://pkg.go.dev/embed
from boots.
Related Issues (20)
- Doc: dead link in iPXE Doc on main branch HOT 1
- Stop building 32b images
- Provide a configurable minimum lease expiry for DHCPOFFERs
- Release 0.7 HOT 1
- Add documentation around updated components in Boots HOT 1
- Deprecate and remove Cacher backend
- Remove Cacher backend HOT 1
- Support customization of HTTP port HOT 1
- Consume Tink v1alpha2 APIs
- Customscript error handling does not seem correct HOT 7
- [pls ignore] pxe boot HOT 1
- kernel arg `ip=dhcp` can cause very long boot time in Hook HOT 1
- Binding DHCP server to a specific interface instead of 0.0.0.0 HOT 2
- Add flag to set TFTP block size. HOT 1
- smee/dhcprelay is broadcasting DHCPOFFER instead of unicasting in an L3 environment
- The file backend does not update the runtime config on file change HOT 2
- documenation | static ip addresses | example required HOT 1
- Does smee support binding to IPv6 address ? HOT 4
- Default command-line option values depend on other command-line options (ref `detectPublicIPv4`) HOT 2
- Smee panic in proxy mode HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boots.