Commit Graph

81 Commits

Author SHA1 Message Date
Bora Sahin
050f537884 Bare container type is converted to Examples container type.
Examples container type is designed to keep applications using codezero
userspace libraries, which is aiming to help newcomers who would like to
develop programs on top of the l4 microkernel.

Now bare bone application is one of the examples. In the near future, lots of
new programs will be introduced to show the various aspects of codezero
eco-system.
2009-11-05 12:17:37 +02:00
Bahadir Balban
00a9f2e3c9 Linux example file with no MAPSIZE parameter 2009-11-03 13:38:55 +02:00
Bahadir Balban
606fe7f369 toolchain option is made clearer in cml menu 2009-11-03 11:54:36 +02:00
Bahadir Balban
a303445cf7 cml examples updated to have no PAGER_SIZE parameter 2009-11-03 11:32:37 +02:00
Amit Mahajan
3be4cbc45c Tested compilation of various platforms. 2009-11-03 12:10:16 +05:30
Amit Mahajan
03b2751377 Asking user for type of toolchain to be used 2009-11-03 03:02:27 +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
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
24cbc8d441 Removed Driver Menu from main screen and made driver symbols derived 2009-11-02 21:15:40 +05:30
Bahadir Balban
5840d6d696 Capability-enabled kernel running 2_posix test OK. 2009-10-27 15:59:07 +02:00
Bahadir Balban
f4c9ea50bc Added an example test container configuration 2009-10-23 12:32:53 +03: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
948dd4fa71 Added quick saving of configuration with -s 2009-10-22 16:14:37 +03:00
Bahadir Balban
4f2954af8a Fixed a minor config issue + updated example cml files. 2009-10-22 15:46:58 +03:00
Amit Mahajan
93c7a909b1 CPUID and ARCHID taking at runtime from config.h 2009-10-21 16:42:32 +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
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
dba6dd0647 Removed parse_options.py which has now moved to configure.py 2009-10-20 20:33:53 +03:00
Bahadir Balban
d94054e2b4 Updated example posix cml files 2009-10-20 20:10:35 +03:00
Bahadir Balban
00bfe36dc9 Added example cml2 configuration with 2 posix containers 2009-10-20 20:06:28 +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
a6ed056ea7 Added example cml2 configuration with 2 posix containers 2009-10-20 13:15:54 +03:00
Bahadir Balban
fc95d95454 Made necessary changes to make test0 link at an adjustable address 2009-10-17 13:24:26 +03:00
Bahadir Balban
bbe81c5d52 Merge branch 'master' into linux 2009-10-15 20:11:46 +03:00
Bahadir Balban
381405ee8e Incorporated means to specify shared memory, task address space and utcb regions to posix container 2009-10-15 20:10:08 +03:00
Bahadir Balban
b08e27b4bf Added an example posix cml2 configuration 2009-10-14 22:25:40 +03:00
Bahadir Balban
7e38e70f93 Added conditional configuration flag -c to build.py 2009-10-08 19:07:59 +03:00
Bahadir Balban
68d3aa4212 Changed ncontainers type to int from string. 2009-10-05 22:41:29 +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
b2f508c8b7 Added the accidentally missing defaults for virt/phys mem capabilities 2009-10-02 20:36:16 +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
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
e5cde20ca9 Fixed a fault with posix tasks not getting their LMA correctly 2009-10-01 13:13:27 +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
73225a0119 Bootdesc building working 2009-09-30 16:31:34 +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
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