Commit Graph

15 Commits

Author SHA1 Message Date
Berkus Decker f485629fb6 Add boot code for RPi and QEMU 2020-09-21 04:01:17 +03:00
Berkus Decker be3131f666 Improve cargo makefile 2020-09-21 04:01:16 +03:00
Berkus Decker 8d4c96e437 Merge pull-request #9 from metta-systems:feature/github-workflows to develop
Add GH Actions build workflow
Run builds on CI.

[close #9]
2020-08-10 00:45:19 +03:00
Berkus Decker 668296b8e0 Fix clippy warning 2020-08-10 00:34:49 +03:00
Berkus Decker a4a3289712 Add GH Actions build workflow 2020-08-10 00:34:49 +03:00
Berkus Decker ecec3c96e1 Remove global build-std flags
* Use those flags only in specific commands,
  otherwise building some tools from this directory
  will also fail (cargo picks these flags as global).
2020-08-10 00:34:31 +03:00
Berkus Decker 02107bf297 Merge pull-request #8 from metta-systems:feature/bootable-code to develop
Boot code using cortex-a crate
Init Stack Pointer and start only boot CPU.

[close #8]
2020-08-09 22:02:54 +03:00
Berkus Decker 57e4b81e1c Implement power-efficient sleep after boot-up
* arch-based crates, inspired by Redox
* Do not burn cpu uselessly.
* Start using cortex-a registers.
* Important: initialise stack pointer!
2020-08-09 22:00:36 +03:00
Berkus Decker 8bacc7cfb7 Update build/boot instructions 2020-08-09 22:00:36 +03:00
Berkus Decker 7ad3329978 Merge pull-request #7 from metta-systems:feature/start-code to develop
Add first code
Initial structure and build framework.

[close #7]
2020-08-09 20:13:24 +03:00
Berkus Decker 57fc6e5aa5 Add QEMU configuration 2020-08-09 19:40:57 +03:00
Berkus Decker cb814b353b Add Raspberry Pi target configuration
* Use rlibc for memset/memcpy
* Create linker script for raspberry pi 3
* Add aarch64 target file inspired by Robigalia
* Force bitcode embedding for LTO
2020-08-09 19:35:09 +03:00
Berkus Decker 1e2878dca6 Describe branching strategy 2020-08-09 19:33:34 +03:00
Berkus Decker a57833d2b1 Add basic structure
* Add default License
* Keep a changelog
* Add Code of Conduct
* Build tests as optimized for size ('s')
  * Otherwise boot code goes bonkers in qemu
2020-08-09 19:33:34 +03:00
Berkus Decker 06cce8aa37 Start marker 2018-12-21 19:27:36 +02:00