Amit Mahajan
966ef7714e
Added pager size calculation for test container.
2009-11-03 13:05:05 +05:30
Amit Mahajan
6e898151bc
configuration_retrieve pending work done
2009-11-03 11:13:51 +05:30
Amit Mahajan
2b1adb059d
Pager Mapsize updated in cinfo template only instead of cinfo.c
2009-11-03 01:34:51 +05:30
Amit Mahajan
55eb6260c3
Dynamic generation of pager size
2009-11-02 21:31:08 +05:30
Amit Mahajan
8d9f5f82d0
Patch for comments by bahadir
2009-11-02 21:31:07 +05:30
Amit Mahajan
52d346af40
Added function to extract cputype, this function was earlier rewritten
...
in build_linux
2009-11-02 21:31:07 +05:30
Amit Mahajan
f337257e4e
Corrected the problem of wrong values in printascii.S
2009-11-02 21:31:07 +05:30
Amit Mahajan
9463d1f241
Changed the name of PAGER_SIZE symbol to PAGER_MAPSIZE, to keep in
...
harmony with linux symbol name
2009-11-02 21:29:55 +05:30
Amit Mahajan
91c617d0b2
Removed hard coded values of toolchain and gcc cpu flags
2009-11-02 21:29:54 +05:30
Amit Mahajan
2b29170633
Added the default parameters needed by arm linux
2009-11-02 21:15:40 +05:30
Bahadir Balban
850c645d77
Exiting tasks use EXITING signal and change states to TASK_DEAD
2009-10-31 23:13:19 +02:00
Bahadir Balban
09197d1fb1
Removed THREAD_WAIT call completely.
...
Simply reverse this patch to add THREAD_WAIT
2009-10-31 17:12:03 +02:00
Bahadir Balban
5c93d9b8ba
Added thread_wait
...
modified: conts/test/main.c
modified: scripts/kernel/generate_kernel_cinfo.py
modified: src/api/thread.c
modified: src/generic/capability.c
2009-10-31 01:44:32 +02:00
Bahadir Balban
5840d6d696
Capability-enabled kernel running 2_posix test OK.
2009-10-27 15:59:07 +02:00
Bora Sahin
2a47e425c4
Test container type is added.
...
Test container is planned to test codezero microkernel extensively.
With these changes, everything is there to develop a full-featured test suite.
It also exemplifies how a new container type can be added to the system.
(cherry picked from commit f21fa53df421bfc8eeeaa096c89b98beed436c60)
2009-10-23 03:03:14 +03:00
Bahadir Balban
c6bdd65e48
Minor mods on linux patches
2009-10-21 21:27:41 +03:00
Amit Mahajan
8d38c8ede6
Corrected the PC value for non linux containers.
2009-10-21 17:02:03 +05:30
Amit Mahajan
8bb1069553
Adding mechanism to have differnt run and load address for pagers
2009-10-21 16:45:06 +05:30
Amit Mahajan
be9b629836
Corrected the way to find config.h's path
2009-10-21 16:42:32 +05:30
Amit Mahajan
93c7a909b1
CPUID and ARCHID taking at runtime from config.h
2009-10-21 16:42:32 +05:30
Amit Mahajan
4bbf9adb86
Passing PHYS_OFFSET as load address of linux elf
2009-10-21 16:42:31 +05:30
Amit Mahajan
084ac1da22
Taking CPUID and ARCHID for linux from build system
2009-10-21 16:42:31 +05:30
Amit Mahajan
e264544c00
Taking Linux's Rootfs address from user
2009-10-21 16:42:31 +05:30
Amit Mahajan
86c3a7c176
Added LinuxUpdateParam class for passing parameters to linux
2009-10-21 16:41:28 +05:30
Amit Mahajan
61a0d5b60f
Added support for ATAGS for linux kernel
2009-10-21 16:38:57 +05:30
Amit Mahajan
2625d5e871
Encapsulating Linux Image binary in elf
2009-10-21 16:38:57 +05:30
Bahadir Balban
61e41b5fed
Removed memory access permissions from configuration for simplicity
...
Access permission bits are required eventually but currently are
not a critical concern and yet they complicate configuration. For
sake of simplicity they are removed to be added later on when
absolutely needed.
2009-10-20 21:16:04 +03:00
Bahadir Balban
f3edb21fb5
Further enhancements to configuration simplification
2009-10-20 20:05:42 +03:00
Bahadir Balban
b85d4202ce
Significant cleanup to how configuration files are generated.
...
Default autogenerated version works. Need to sort out config options
2009-10-20 19:35:02 +03:00
Bahadir Balban
a3a90530df
Fixed a few minor issues.
2009-10-18 16:16:32 +03:00
Bahadir Balban
a8a4b5ce6c
Removed unnecessary print messages from few build scripts
2009-10-09 00:58:07 +03:00
Bahadir Balban
7e38e70f93
Added conditional configuration flag -c to build.py
2009-10-08 19:07:59 +03:00
Bahadir Balban
8919c4bfa5
CML2 suppress bug caused number of containers to be misconfigured.
...
Now worked around.
CML2 seems to forget supressing derived symbols that are derived from
suppressed symbols. (Expected behaviour) This caused the configuration parser
to recognize the illegally visible symbols to be from those containers.
Now worked around by adding the extra check for CONFIG_CONTAINERS have been parsed.
A real solution requires fixing CML2 symbol visibility function.
2009-10-05 22:33:29 +03:00
Bahadir Balban
ed9199a972
Added parsing of memory region capability bits.
2009-10-03 15:34:39 +03:00
Bahadir Balban
f3bca7ba00
Created a way to generate 0 and 1's while retaining Yes and No in CML
...
CML boolean type compiles into #define and #undefs.
This is not useful for capabilities since a value of 0 or 1 can be
used automatically for setting or unsetting bits in permission words.
Meanwhile using an integer type with 0 - 1 range has a worse usability
experience than the boolean Y, N.
Also moved parsing of container.template.cml to newer Python argument
parsing format.
2009-10-02 20:03:25 +03:00
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
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
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