Bahadir Balban
c6bdd65e48
Minor mods on linux patches
2009-10-21 21:27:41 +03:00
Amit Mahajan
89a937fc9c
Generating LMA for final.elf dynamically
2009-10-21 16:47:56 +05:30
Bahadir Balban
a3a90530df
Fixed a few minor issues.
2009-10-18 16:16:32 +03:00
Bahadir Balban
f54747a208
All posix tests running as before.
2009-10-10 00:23:13 +03:00
Bahadir Balban
52e718f8c0
Added kernel image dependency to loader build
2009-09-25 10:48:59 +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
2e35b7a901
CML2 configuration file is saved and brought up until deleted.
2009-09-20 23:01:17 +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
1925cd5704
Autogenerating the break_virtual symbol
2009-09-16 18:04:09 +03:00
Bahadir Balban
0142677c81
Simplified loader, elf, and c library SConscripts
2009-09-14 19:15:32 +03:00
Bahadir Balban
15f12ce38f
Loader building from top-level SConstruct.loader
...
Need to add libc and libelf to it as well.
2009-09-14 17:57:14 +03:00
Bahadir Balban
59f30a175a
More progress on build scripts
...
Created a config directory for configuration files.
Moved all absolute path variables to a projpaths.py file
All scripts can now universally learn absolute paths via projpaths.py
Moved the config_symbols class to the configuration.py file.
Moved libs to loader since they are only referred by the loader
2009-09-12 13:42:30 +03:00
Bahadir Balban
16f20a9d3a
Copying the way source, target files are referred, loader/SConscript now works with new setup.
...
modified: loader/SConscript
new file: loader/main.c
deleted: loader/main.c.in
2009-09-08 22:18:04 +03:00
Russel Winder
9e894274a3
Refactor the build to try and get as much material as possible out of SConstruct.
2009-08-28 14:10:24 +01:00
Bahadir Balban
87e2aeaf58
Moved tasks/* into containers/posix
2009-08-25 14:34:21 +03:00
Russel Winder
5d8a35ad4d
Make the address conversion for start.axf.S creation more sophisticated to deal with Python writing a Python literal.
2009-08-15 08:18:52 +01:00
Russel Winder
8777333664
Some trivial changes to the comments.
2009-08-15 07:27:45 +01:00
Russel Winder
31d61caea4
Fix error about inclusion of start.afx.S -- there was a dependencies error in the SConscript leading to incorect multiple inclusion in the constructed kernel.S.
2009-08-12 10:35:47 +01:00
Russel Winder
9cb2b7470f
Generate the final link linker scripts.
2009-08-10 11:30:53 +01:00
Russel Winder
52962b5b19
Remove replication of main.c in the final link.
2009-08-10 11:07:15 +01:00
Russel Winder
9781f49f5d
Construct main.c from a template.
2009-08-10 11:03:17 +01:00
Russel Winder
5fcf173ae6
Get the baremetal crt0 included in the final link.
2009-08-10 09:43:09 +01:00
Russel Winder
163baa31ea
Got the first part of the packing phase in place.
...
Generate kernel.S rather than have it as a manually maintained file.
2009-08-10 09:33:05 +01:00