Commit Graph

35 Commits

Author SHA1 Message Date
Bahadir Balban
e6439517e9 Introducing virtual/physical memory permission capabilities. Half-way done. 2009-10-01 19:09:08 +03:00
Bora Sahin
afaa1d03a8 A few changes to allow development on conts/test directory.
Now, bare containers get their files from conts/bare_src instead of conts/test.
test directory will be used for the next generation test programs.
Also bare_src is tracked by git now with a minor mod to .gitignore.
2009-10-01 15:43:46 +03:00
Bahadir Balban
b642fc5cd3 Updated container configuration cml for posix container 2009-10-01 00:21:21 +03:00
Bahadir Balban
4e7d8ddc25 Integrated building of posix images as a container
Issues:
Some intermediate .elf files should not go into final container image.
Perhaps those will be built with different or no extension
2009-09-30 19:04:35 +03:00
Bahadir Balban
748d6734c3 We now have a correctly compiling (but untested) posix container build. 2009-09-30 18:37:51 +03:00
Bahadir Balban
73225a0119 Bootdesc building working 2009-09-30 16:31:34 +03:00
Bahadir Balban
d661924860 Updated number of args to cml generator template. 2009-09-28 14:49:50 +03:00
Bahadir Balban
fb1de576cb Fixed hexadecimal conversions where output has the most significant bit as 1
If hex converted had a 1 in the MSB, an L was appended to the number.
The conversion routine removes this.
2009-09-28 14:04:19 +03:00
Bahadir Balban
1c2eaae8b3 Created container.h and added more comprehensive hello world
Added a per-container container.h that inclues useful definitions.
Hello world now is in a separate file not to modify main too often.
hello world now prints container name and id.
2009-09-27 18:35:38 +03:00
Bahadir Balban
aae84b5eb3 Fixed updating of reconfigured bare projects
Reconfigured bare projects now update with config data
correctly. A path issue was fixed.
2009-09-26 21:52:29 +03:00
Bahadir Balban
10d2d7269f CML2 rule file is autogenerated from arm.cml and the containers template
Container rules are too many and repetitive for each container. With this
change, the cml file is autogenerated from a container template cml and
the architecture cml, e.g. arm.cml. -c option determines the number of
containers. See build.py -h for more.
2009-09-26 16:39:04 +03:00
Bahadir Balban
37507c006a All address parameters in class Container converted to integers 2009-09-24 19:07:29 +03:00
Bahadir Balban
7d1719e080 Updated generate kernel info script to include all other standard capabilities.
Currently only virtmem and physmem capabilities are configurable.
	modified:   scripts/conts/generate_kernel_cinfo.py
2009-09-23 15:17:50 +03:00
Bahadir Balban
9bd265c7ec Cannot straightforwardly derive symbols conditionally from multiple sources in CML2
Ternary expressions on derive statements cause type errors (CML2 Bug?).
	modified:   config/cml/arm.cml
	modified:   scripts/conts/generate_kernel_cinfo.py
2009-09-23 12:57:43 +03:00
Bahadir Balban
9bdd951cae Integrated cinfo generation to configure.py 2009-09-22 22:01:25 +03:00
Bahadir Balban
7c84aefecc Added multiple physical and virtual memory regions to configuration and parsing 2009-09-22 15:08:06 +03:00
Bahadir Balban
db494f244b Linux build is commented in 2009-09-21 14:03:36 +03:00
Bahadir Balban
b2c93979ba Packing of bare container done. 2009-09-19 20:53:29 +03:00
Bahadir Balban
6c54c3f059 Added default linker script input file for bare containers 2009-09-19 12:37:59 +03:00
Bahadir Balban
19a84b02da Test program for bare repos now links with libl4 and libc.
The userspace bare libc has been re-added to the repo.
2009-09-19 12:30:37 +03:00
Bahadir Balban
e4f80c4579 Added generation of .container informative file for bare containers 2009-09-19 00:01:30 +03:00
Bahadir Balban
99ebb7c50d Bare container correctly autogenerates from `test' sources and builds.
new file:   conts/test/SConstruct
	new file:   conts/test/container.c
	new file:   conts/test/include/linker.lds
	new file:   conts/test/include/test.h
	new file:   conts/test/main.c
	new file:   conts/test/src/test.c
	modified:   scripts/bare/bare_generator.py
2009-09-18 18:49:56 +03:00
Bahadir Balban
0d2ec30f9c Added functionality to create a bare container 2009-09-18 17:47:37 +03:00
Bahadir Balban
f305d443c3 Added forgotten files and fixed minor build errors 2009-09-17 18:10:38 +03:00
Bahadir Balban
6aac5332ae final.axf building from top-level build.py including containers 2009-09-17 12:49:49 +03:00
Bahadir Balban
6b899ebf15 Added untracked scripts. Added script-location relative module import 2009-09-17 11:28:43 +03:00
Bahadir Balban
b2531dc725 Created images.S for loader with a script so that kernel.elf and containers.elf are not hard-coded 2009-09-17 11:14:26 +03:00
Bahadir Balban
136bdcdc54 Minor fixes to loader build scripts 2009-09-16 19:40:31 +03:00
Bahadir Balban
0f1dc5a982 Added generation of ksyms.S to loader SConscript as a call to generate_break_virtual
File creation and cleanup works correctly.
	modified:   loader/SConscript
	modified:   scripts/loader/generate_break_virtual.py
2009-09-16 19:01:57 +03:00
Bahadir Balban
97b15e6e37 Clearer generate_break_virtual script
modified:   generate_break_virtual.py
2009-09-16 18:15:42 +03:00
Bahadir Balban
1925cd5704 Autogenerating the break_virtual symbol 2009-09-16 18:04:09 +03:00
Bahadir Balban
48351450a6 Container packing works.
Able to build container0.axf, container1.axf ... files as required.
2009-09-14 13:48:10 +03:00
Bahadir Balban
403ab75805 Got the buildsystem to build multiple linux instances.
modified:   config/configuration.py
	modified:   config/projpaths.py
	modified:   configure.py
	modified:   scripts/linux/build_linux.py
	modified:   scripts/linux/build_rootfs.py
2009-09-13 18:29:57 +03:00
Bahadir Balban
2d2677945f Building of linux and rootfs as containers nicely getting in shape
Created a Linux builder that takes a container object as its parameter.
Build of linux kernel will be coordinated by input from this container parameter
2009-09-13 14:35:04 +03:00
Bahadir Balban
772440baa0 Moved linux/rootfs build scripts to scripts directory. 2009-09-13 12:23:45 +03:00