Commit Graph

597 Commits

Author SHA1 Message Date
Bahadir Balban
d3b96ca646 Moved kernel autogeneration function to a meaningful directory
Als updated parse options to save oldconfig file when -r option is used.
2009-10-02 15:22:52 +03:00
Bahadir Balban
3602b5a785 Uppercase and description fixes 2009-10-01 19:54:27 +03:00
Bahadir Balban
17f7207996 Moved VIRTMEM PHYSMEM start/end symbols into relevant capabilities menu. 2009-10-01 19:34:26 +03:00
Bahadir Balban
e6439517e9 Introducing virtual/physical memory permission capabilities. Half-way done. 2009-10-01 19:09:08 +03:00
Bahadir Balban
f6e759c3f0 Changed container configuration parameter DIRNAME to NAME
Dirname was not a precise description as the name did not always
get used as a directory name.
2009-10-01 17:04:17 +03:00
Bahadir Balban
12aec8d777 Merge branch 'linux' of git://www.b-labs.co.uk/home/bora/web/git/codezero into bora 2009-10-01 16:24:07 +03:00
Bora Sahin
6aec4ac53b The very first pager's space area is added to the address space list. 2009-10-01 15:51:58 +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
4b235a9920 Fixed an error with mm0 where server naming wasn't matched from bootdesc 2009-10-01 13:29:35 +03:00
Bahadir Balban
e5cde20ca9 Fixed a fault with posix tasks not getting their LMA correctly 2009-10-01 13:13:27 +03:00
Bahadir Balban
70a3bb35f5 Linux readme should be in linux repo 2009-10-01 11:26:28 +03:00
Bahadir Balban
4db35ff350 Added container information for sources such as linux and posix 2009-10-01 11:24:25 +03:00
Bahadir Balban
5eae7dc07b Added __init__.py required for tools.pyelf to be recognized as a module 2009-10-01 10:58:59 +03:00
Bahadir Balban
08facabc99 Added the forgotten pyelf libraries 2009-10-01 10:53:41 +03:00
Bahadir Balban
5ec000fb34 Added libmem which was forgotten 2009-10-01 10:52:07 +03:00
Bahadir Balban
b642fc5cd3 Updated container configuration cml for posix container 2009-10-01 00:21:21 +03:00
Bahadir Balban
b24fa0772f Removed .sconsigns that got in. 2009-09-30 23:53:57 +03:00
Bahadir Balban
1a8b993ace Updated a warning + removed .elf from intermediate bootdesc elf file
container packer picks up files with .elf extentions. Therefore intermediate
files must not have .elf extentions, since they're not meant to go to the final
executable.
	modified:   conts/posix/bootdesc/SConscript
	modified:   conts/posix/libposix/stat.c
2009-09-30 23:49:24 +03:00
Bahadir Balban
7ca634450b Added inclusion of test_exec binary to test0 2009-09-30 23:45:19 +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
1aa31bc9d5 We have all posix programs getting compiled.
A lot of hassles on standard c library, mock-up libc, and libposix
headers taken from uClibc clashing has been worked around.

Next:
 - Linker scripts need fixing and adjusting.
 - Bootdesc needs to be generated.
 - Per-container compilation scripts need connecting.
2009-09-29 23:06:29 +03:00
Bahadir Balban
f0bb0a4657 Added posix code 2009-09-29 21:55:59 +03:00
Bahadir Balban
54272ccb63 Mods to userspace library building 2009-09-29 21:55:20 +03:00
Bahadir Balban
d661924860 Updated number of args to cml generator template. 2009-09-28 14:49:50 +03:00
Bahadir Balban
2f2e448667 Removed TEXT_OFFSET parameter from linux configuration
This parameter does not significantly pose a restriction on configuration.
It can be adjusted depending on phys_offset. Therefore we don't maintain it.
2009-09-28 14:13:16 +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
bd448babaa Moved scheduler from containers back to being a global.
It makes more sense to have a scheduler (or runqueue pair) per-cpu
rather than per-container. This provides more flexible global scheduling
policy that is also simpler due to all scheduling details being controlled
from a single point.
2009-09-27 13:50:48 +03:00
Bahadir Balban
fa6629800f Coding style changes in kernel startup 2009-09-27 11:47:40 +03:00
Bahadir Balban
6dc68c1776 Force rebuild of bare containers when their linker script changes.
Small change but useful since linker address configuration changes
should force relinking of container executables.
2009-09-26 22:12:11 +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
b6676b9acd Fixed loader for kernel loading
Fix for the error that kernel start address wasn't passed
correctly and kernel wasn't started.
2009-09-26 21:18:19 +03:00
Bahadir Balban
a1fa446ef2 Improved on option parsing help + added it to configure.py as well. 2009-09-26 17:01:44 +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
fbb1800562 Updated projpaths to have cml rule file paths. 2009-09-25 16:29:55 +03:00
Bora Sahin
9bb96108ed Container number is received from the configuration system. 2009-09-25 13:43:33 +03:00
Bora Sahin
9917d52dfb Some more minor modifications to .gitignore. 2009-09-25 13:40:26 +03:00
Bahadir Balban
52e718f8c0 Added kernel image dependency to loader build 2009-09-25 10:48:59 +03:00
Bahadir Balban
37507c006a All address parameters in class Container converted to integers 2009-09-24 19:07:29 +03:00
Bahadir Balban
8ce7aef6b7 Minor mods to .gitignore 2009-09-24 18:36:11 +03:00
Bahadir Balban
fdb5ec15de Merge branch 'linux' of git://www.b-labs.co.uk/home/bora/web/git/codezero into linux 2009-09-24 18:10:26 +03:00
Bahadir Balban
8e3852473f Added linux configuration parameters to configuration class 2009-09-24 18:09:50 +03:00
Bora Sahin
251328ae96 .gitignore is updated to reflect the changes in the working tree. 2009-09-24 17:32:16 +03:00
Bora Sahin
eaf3face47 Removes CONFIG_ prefix from arm.cml, the main configuration file. 2009-09-24 17:20:51 +03:00
Bahadir Balban
42278c6429 CML2 fix for pre-loaded configurations to be written without visibility check.
Symbols loaded from old configuration were written back without visibility check.
2009-09-24 15:03:39 +03:00
Bahadir Balban
a5a75270c0 Fixed the problem that loader final.elf dependency wasn't detected
final.elf should now depend on build/conts/containers.elf
2009-09-24 14:12:11 +03:00
Bahadir Balban
b91286dcd4 Added a dependency on loader_images_S from final.elf
This ensures final.elf builds whenever containers.elf file changes.
2009-09-24 12:56:12 +03:00
Bahadir Balban
2c003da964 Changed configuration background to black on white...
Seemed fairly difficult, but luckily it works.
2009-09-23 17:55:03 +03:00