]> xenbits.xensource.com Git - unikraft/libs/micropython.git/log
unikraft/libs/micropython.git
18 months agoIntroduce `Library.uk` stable staging RELEASE-0.15.0 RELEASE-0.16.0
Alexander Jung [Tue, 11 Jul 2023 21:25:56 +0000 (21:25 +0000)]
Introduce `Library.uk`

This new file represents the first step towards proper versioning support of
external microlibrary in Unikraft.  The file itself acts as mechanism for
holding metadata-only values about the microlibrary.  This metadata is designed
to be compatible with GNU Make whilst simultaneously being human-readable and
readable by programs that are not GNU Make (e.g. tools such as KraftKit).

An important feature of this file is the inclusion of microlibrary versions.
In a later step, once relevant integrations have been made to Unikrat's core
build system and to relevant tools such as KraftKit, the user will be able to
see and select from different versions of the microlibrary.

In this initial commit, the relevant metadata is absorbed from both Makefile.uk,
Config.uk, but also includes new information such as SPDX License identifier.

Signed-off-by: Alexander Jung <alex@unikraft.io>
Reviewed-by: Razvan Deaconescu <razvand@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
GitHub-Closes: #8

2 years agoAdapt memory region usage in patch RELEASE-0.12.0 RELEASE-0.13.0 RELEASE-0.13.1 RELEASE-0.14.0
Marc Rittinghaus [Sat, 4 Feb 2023 03:23:45 +0000 (04:23 +0100)]
Adapt memory region usage in patch

With refactoring the boot code the memory region descriptor needed
to be changed. This PR adapts the patch to work with the new version.

Signed-off-by: Marc Rittinghaus <marc.rittinghaus@unikraft.io>
Reviewed-by: Razvan Deaconescu <razvand@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #7

2 years agoConfig.uk: Add Musl dependency RELEASE-0.11.0
Razvan Deaconescu [Mon, 28 Nov 2022 22:24:47 +0000 (00:24 +0200)]
Config.uk: Add Musl dependency

Use `musl` instead of `newlibc`. Also remove `uksignal` dependency.

Signed-off-by: Razvan Deaconescu <razvand@unikraft.io>
Reviewed-by: Maria Sfiraiala <maria.sfiraiala@gmail.com>
Approved-by: Alexander Jung <alex@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #6

3 years agoCorrect license headers introduced by NEC Laboratories Europe GmbH RELEASE-0.10.0 RELEASE-0.6 RELEASE-0.7.0 RELEASE-0.8.0 RELEASE-0.9.0
Simon Kuenzer [Tue, 13 Jul 2021 19:19:21 +0000 (21:19 +0200)]
Correct license headers introduced by NEC Laboratories Europe GmbH

This commit removes the additional clause
"THIS HEADER MAY NOT BE EXTRACTED OR MODIFIED IN ANY WAY"
from BSD license headers that got introduced by mistake
with the following commits:
 2a829d8 - Add Makefile.uk (Felipe Huici)

On the one hand, this additional clause is redundant because
the BSD license already states that it must remain and the
copyright notice must be kept.
On the other hand, the clause freezes the file header
and prohibits future contributors from extending the
copyright notice for their contributions. This additional
clause is not part of the official BSD 3-clause.

The original author(s) or an authorized representative from
the author's affiliation consents to the change with a
`Reviewed-by` tag to this commit.

Signed-off-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
Approved-by: Razvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Pull-Request: #4

4 years agolibmicropython: Include signal dependency RELEASE-0.5
Sharan Santhanam [Fri, 5 Feb 2021 16:43:52 +0000 (17:43 +0100)]
libmicropython: Include signal dependency

Include the signal library

Signed-off-by: Sharan Santhanam <sharan.santhanam@neclab.eu>
Reviewed-by: Alexander Jung <a.jung@lancs.ac.uk>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Pull-Request: #3

5 years agoFix crash caused by the "Optimize for Performance" config option RELEASE-0.4
Vlad-Andrei BĂDOIU (78692) [Thu, 20 Feb 2020 12:48:31 +0000 (13:48 +0100)]
Fix crash caused by the "Optimize for Performance" config option

We disable the gcse, gnu-unique, and move-loop-invariants
flags enabled by O2.

Signed-off-by: Vlad-Andrei BĂDOIU <vlad_andrei.badoiu@stud.acs.upb.ro>
Signed-off-by: Simon Kuenzer <simon.kuenzer@neclab.eu>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
5 years agoAdd optional main()
Felipe Huici [Tue, 8 Oct 2019 07:53:30 +0000 (09:53 +0200)]
Add optional main()

We add an optional main, selectable from the menu, that forwards
parameters to Micropython's main function.

Signed-off-by: Felipe Huici <felipe.huici@neclab.eu
Reviewed-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@stud.acs.upb.ro>
5 years agoAdd header files
Felipe Huici [Tue, 8 Oct 2019 07:48:33 +0000 (09:48 +0200)]
Add header files

Add header files, including mpconfigport.h, Micropython's config file.

Signed-off-by: Felipe Huici <felipe.huici@neclab.eu>
Reviewed-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@stud.acs.upb.ro>
5 years agoAdd patches.
Felipe Huici [Tue, 8 Oct 2019 07:47:40 +0000 (09:47 +0200)]
Add patches.

Add patches to fix compilation errors and to adapt unix/main.c and
modlwip.c to Unikraft.

Signed-off-by: Felipe Huici <felipe.huici@neclab.eu>
Reviewed-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@stud.acs.upb.ro>
5 years agoAdd Unikraft-adapted external modules.
Felipe Huici [Tue, 8 Oct 2019 07:45:22 +0000 (09:45 +0200)]
Add Unikraft-adapted external modules.

For now we add just modusocket. modlwip we introduce by patching the
original version in the sources; we dcan't do this for modusocket
since this file does not exist in the unix sub-directory of
Micropython.

Signed-off-by: Felipe Huici <felipe.huici@neclab.eu>
Reviewed-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@stud.acs.upb.ro>
5 years agoAdd Makefile.uk
Felipe Huici [Tue, 8 Oct 2019 07:36:28 +0000 (09:36 +0200)]
Add Makefile.uk

We patch unix/main.c and optionally provide a main() to enter
Micropython's main loop. We also add mpconfigport.mk, Micropython's
Makefile.

Signed-off-by: Felipe Huici <felipe.huici@neclab.eu>
Reviewed-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@stud.acs.upb.ro>
5 years agoIntroduce library skeleton
Felipe Huici [Tue, 8 Oct 2019 07:34:45 +0000 (09:34 +0200)]
Introduce library skeleton

We use the BSD-3-Clause license for this library glue code.

Signed-off-by: Felipe Huici <felipe.huici@neclab.eu>
Reviewed-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@stud.acs.upb.ro>
7 years agoinitial commit (empty)
Felipe Huici [Fri, 8 Dec 2017 15:35:42 +0000 (16:35 +0100)]
initial commit (empty)