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
Bahadir Balban
84a75866f1
NCurses cml2 interface now always white.
...
Could not figure out how to make black on white. It is currently white on black
2009-09-23 17:06:48 +03:00
Bahadir Balban
b39d2abb39
Relevant change to last change
2009-09-23 16:24:30 +03:00
Bahadir Balban
becdfde7b5
Separated configuration input and output to 2 stages
2009-09-23 16:23:59 +03:00
Bahadir Balban
8e0080be16
Included a mapsize field for LINUX pager parameters
...
This is to determine how much the kernel should map from the container
during initialization.
2009-09-23 15:30:31 +03:00
Bahadir Balban
a2d2676303
Removed unnecessary shutil.rmtree for CONFIG_SHELVE file.
2009-09-23 15:19:36 +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
041190b5f2
More fixes to arm.cml, particularly deriving symbols work
...
Deriving symbols didn't work because cml2 silently ignored symbols
that were declared previously for derivations. Not pre-declaring derived
symbols have solved the problem.
2009-09-23 11:16:53 +03:00
Bahadir Balban
9bdd951cae
Integrated cinfo generation to configure.py
2009-09-22 22:01:25 +03:00
Bahadir Balban
f29d86b5ff
Added autogeneration of cinfo.c with memory capabilities
...
Also fixed a bug with configurator in that the containers
were not sorted properly and consequently an already filled
in container was getting overwritten by the new one.
modified: config/configuration.py
modified: configure.py
new file: generate_kernel_cinfo.py
deleted: src/generic/cinfo.c
2009-09-22 19:35:18 +03:00
Bahadir Balban
4f65fc0fa9
Added visibility rules for container virtual/physical memory regions
...
Virtual and physical memory region symbols are now visible depending
on the number of such regions defined.
2009-09-22 15:32:33 +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
2da7b16412
Moved all crt0.S to .text.head
2009-09-21 20:26:01 +03:00
Bahadir Balban
6b582be876
Fixed bare container linking issue on libgcc not finding definition of `raise'
2009-09-21 20:04:07 +03:00
Bahadir Balban
c49dd29a41
Missing libc added back
2009-09-21 14:30:19 +03:00
Bahadir Balban
3b08ce304d
Merge branch 'linux' of ssh://www.b-labs.co.uk/git/codezero into linux
2009-09-21 14:25:48 +03:00
Bahadir Balban
73653bdc27
Added missing SConstruct.userlibs
2009-09-21 14:25:10 +03:00
Bahadir Balban
db494f244b
Linux build is commented in
2009-09-21 14:03:36 +03:00
Bahadir Balban
f34be923e9
Removed files that doesn't belong to this repo
2009-09-21 13:46:15 +03:00
Bahadir Balban
2e35b7a901
CML2 configuration file is saved and brought up until deleted.
2009-09-20 23:01:17 +03:00
Bahadir Balban
893b68c643
CML2 value width increased to 32.
...
This little patch increases the notorious 8-char wide value width in
the cml2 configurator to 32 characters. Now all values are properly visible.
2009-09-19 21:28:24 +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
34650259da
Default values for container directories determined by container type expression
...
Resolved CML2 language issues such that now default parameters
for containers can be set by expressions on their type.
2009-09-18 12:28:54 +03:00
Bahadir Balban
f99c5108e0
Added container-specific options
2009-09-18 11:48:51 +03:00
Bahadir Balban
28f963517d
Carried container definition to cinfo.c
...
This file is meant to be autogenerated by the configurator
2009-09-18 11:30:53 +03:00
Bahadir Balban
943e4a520c
Loader can now load all containers.
...
The container image addresses seem to clash with kernel.
Currently no checking done for that.
2009-09-18 11:27:03 +03:00
Bahadir Balban
6538e70b39
Fixed few issues with loader and basic image loading.
...
Declaring section of the form:
.align 4
.section "kernel"
.incbin "path-to-kernel"
And defining a linker variable before the section output does not always seem to work.
The linker seems to add padding even though .align directive comes before .section
modified: SConstruct.loader
modified: loader/linker.lds
modified: loader/main.c
2009-09-17 19:19:03 +03:00
Bahadir Balban
6a654a9dc5
Minor mod to run-qemu-insight script
2009-09-17 18:20:59 +03:00
Bahadir Balban
f305d443c3
Added forgotten files and fixed minor build errors
2009-09-17 18:10:38 +03:00
Bahadir Balban
ca3693afdc
Removed the containers SConscript
2009-09-17 15:36:05 +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