Comments (9)
Absolutely! This is a valid target as I did not want to deal with 32-bit hardware.
The big question is how is the wired network device connected internally? I thought it was via USB for previous models.
Also, there are some notes here on using QEMU to emulate the hardware.
from baremetal.
Based on this block diagram it looks like USB would be needed.
from baremetal.
Okay. I think implementing the Ethernet transmit and receive functions should still be doable.
from baremetal.
Have you heard of Keystone? It supports the aarch64 architecture. It might be a good alternative to use instead of the binutils toolchain.
The issue close and reopen was just keyboard clumsiness.
Correction: Keystone is just an assembler framework. It maybe useful for writing an assembler for the kernel, but I'll shelf that idea for now. I'm using the bintutils toolchain for arm until I can find a better alternative.
from baremetal.
I published a Debian package for binutils-aarch64-elf, which is usable for the kernel development. I'll add a corresponding gcc-aarch64-elf when it comes time to start compiling BMFS and Alloy.
The Debian package for bmfs-aarch64-elf is available via:
sudo add-apt-repository ppa:taylorcholberton/binutils-aarch64-elf
sudo apt update
sudo apt install binutils-aarch64-elf
It's currently available for Ubuntu:
- 17.10 (Artful)
- 17.04 (Zesty)
- 16.10 (Yakkety)
from baremetal.
I think the memory allocation should be written in C. It's going to work exactly the same as the x86_64 architecture, and writing it in C will make it easily unit tested, able to be shared among all supported architectures and easier to maintain. Although this would make the kernel a mixture of C and assembly and not pure assembly, it would have very little or no performance cost. It may even increase performance of the GCC optimizations are good enough. What do you think?
from baremetal.
This would be the board to target initially: https://www.pine64.org/?page_id=1459
from baremetal.
I have that board. Haven't got around to testing it yet.
from baremetal.
Closing this for now. Can re-open a new issue when a use case comes along.
from baremetal.
Related Issues (20)
- Zero-copy in the network stack
- C library HOT 3
- Clean up Ethernet memory usage HOT 2
- I/O cleanup HOT 1
- PCI functions
- Overwriting kernel functions HOT 1
- AHCI driver cleanup
- SMP functions
- Public function for drive_id HOT 6
- Serial output issues in VirtualBox
- Enhanced dumping of memory HOT 10
- vmxnet3 driver
- VirtualBox - PXE booting causes the first several packets to be 'lost' HOT 1
- config.asm
- debug.asm
- Fix/enhance debugging via serial HOT 1
- Support for multiple AHCI controllers HOT 1
- Random lockups when running in qemu HOT 5
- Support for AHCI 4K sectors
- Some comments on the NVME implementation HOT 1
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 baremetal.