Git Product home page Git Product logo

Comments (9)

IanSeyler avatar IanSeyler commented on June 23, 2024

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.

IanSeyler avatar IanSeyler commented on June 23, 2024

Based on this block diagram it looks like USB would be needed.

from baremetal.

 avatar commented on June 23, 2024

Okay. I think implementing the Ethernet transmit and receive functions should still be doable.

from baremetal.

 avatar commented on June 23, 2024

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.

 avatar commented on June 23, 2024

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.

 avatar commented on June 23, 2024

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.

IanSeyler avatar IanSeyler commented on June 23, 2024

This would be the board to target initially: https://www.pine64.org/?page_id=1459

from baremetal.

 avatar commented on June 23, 2024

I have that board. Haven't got around to testing it yet.

from baremetal.

IanSeyler avatar IanSeyler commented on June 23, 2024

Closing this for now. Can re-open a new issue when a use case comes along.

from baremetal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.