arm64 USB NIC Support
|
2019-03-13, 22:09
Post: #1
|
|||
|
|||
arm64 USB NIC Support
Hi,
since we now have working UEFI on the Raspberry Pi, I thought that I might try using iPXE on it. The NIC that the Raspberry Pi is using (https://dox.ipxe.org/smsc95xx_8c.html#details) is supported by iPXE, and so is 64-bit ARM EFI support. And, thankfully, I've got it to boot it! But, only with SNP only networking, which means that booting iPXE works, but it can't find the network devices. So I've included the relevant drivers: Code: make CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm64 bin-arm64-efi/ncm--ecm--snp--smsc95xx.efi Which fails: Code: edk2@9255f14e62f5:/home/ipxe$ make CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm64 bin-arm64-efi/ncm--ecm--snp--smsc95xx.efi Looks like it tries to call outw, inw and outl from sys/io.h, which is X86 only (direct assembler calls). If someone could port this to aarch64 it might actually work. I am a frontend dev, so I myself won't be able to fix this sadly. Would anyone be able to take a look at this? It only seems to be these 3 functions that are X86 only ... Also, see the GitHub issue for some more info if you could help! |
|||
2019-03-14, 01:42
Post: #2
|
|||
|
|||
RE: arm64 USB NIC Support
I'm quite sure that the support for Rpi have been discussed a few times, and works just fine, but can't find that now.
Have you tried building with the only relevant driver: bin-arm64-efi/smsc95xx.efi ? there should be no need for uhci to be included in the dependencies, ehci would probably be good to have to, but might suffer from the same issues. Use GitHub Discussions VRAM bin |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)