Commit Graph

493 Commits

Author SHA1 Message Date
Bahadir Balban
772440baa0 Moved linux/rootfs build scripts to scripts directory. 2009-09-13 12:23:45 +03:00
Bahadir Balban
f7acdc116d Configuration can now extract container attributes and store in container class.
Configuration symbols are stored as container class attributes
CML2 arm.cml has richer container parameters, lma, vma, type etc.
2009-09-13 01:12:20 +03:00
Bahadir Balban
35097b1492 arm.cml sufficiently populated for 2 containers and their parameters 2009-09-12 23:34:28 +03:00
Bahadir Balban
0c9ba47746 Updating arm.cml for more enhanced container parameters 2009-09-12 23:10:35 +03:00
Bahadir Balban
c4c3fb1e6c Mods for improvements 2009-09-12 18:54:35 +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
8ffd4537ea Added newer platform files.
The build can now be done with fine-grain conditions on how to determine
drivers, platforms, arch, subarch etc.
2009-09-11 14:29:24 +03:00
Bahadir Balban
942865e6fc Working compilation, but adding variant_dir = BUILD it doesn't work 2009-09-11 13:55:46 +03:00
Bahadir Balban
cc90efd120 Added SConscripts to SConstruct 2009-09-11 12:38:01 +03:00
Bahadir Balban
13363939ac Got symbol importing working and decision making carried over to the tree 2009-09-11 11:28:41 +03:00
Bahadir Balban
9f69ba060f Correct generation of include/l4/config.h 2009-09-10 23:01:43 +03:00
Bahadir Balban
ac38331c90 Added subarch and platform parsing 2009-09-10 22:50:07 +03:00
Bahadir Balban
202e9cab94 Shorter names for symbols, class symbols to contain symbol information 2009-09-10 22:45:39 +03:00
Bahadir Balban
a41ce94ac1 Minor simplifications 2009-09-10 17:03:01 +03:00
Bahadir Balban
223f6d30fe Separated config.h update to a new function. 2009-09-10 17:00:58 +03:00
Bahadir Balban
f5b770dcad Configuration & build working 2009-09-10 15:45:10 +03:00
Bahadir Balban
42bd01946f Started adding a new configure.py 2009-09-09 17:33:35 +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
Bahadir Balban
8697a824be Managed to connect container SConstruct to main one 2009-09-08 17:30:18 +03:00
Bahadir Balban
e1a119e373 Top-level SConstruct has problems yet. Added conts/linux/SConscript 2009-09-07 10:48:52 +03:00
Bahadir Balban
ae46ec453a Removed all submodule work. Unnecessary for now. 2009-09-04 14:42:48 +03:00
Bahadir Balban
ece106e591 Removed posix container files, moved libl4 to conts, moving linux module to conts as well 2009-09-04 13:59:07 +03:00
Bahadir Balban
ccd8a61a89 Added container physical regions to cml configuration 2009-09-04 11:41:44 +03:00
Bahadir Balban
4e8a94581d Some more changes on linux 2009-09-03 23:35:56 +03:00
Bahadir Balban
5a8928b4df Update to linux kernel sources 2009-09-03 00:38:40 +03:00
Bahadir Balban
6c9c60e2dc Merge branch 'devel' into linux 2009-09-02 15:07:54 +03:00
Bahadir Balban
5293b13c24 Added Linux 2.6.28.10 as a submodule to containers/posix/linux/linux-2.6.28.10 2009-09-02 15:01:19 +03:00
Russel Winder
d925d43b0b Sync up any missing changes. 2009-09-01 16:32:44 +01:00
Russel Winder
e633680ed8 Make the symbol naming consistent. 2009-09-01 16:20:30 +01:00
Russel Winder
b0f248a866 Put back the full list of default build products so that "scons -U" from subdirectories works as expected. 2009-09-01 11:33:48 +01:00
Russel Winder
399f1d530d Pull out the toolchains specification as a separate file and extend to cover the new options in the configuration file. 2009-08-30 13:47:16 +01:00
Russel Winder
34d691794c Merge branch 'containers' into containersBuildDevel 2009-08-30 12:44:06 +01:00
Bahadir Balban
07a5b0a904 CML change to rule out 1136 on mpcore platform 2009-08-30 13:26:09 +03:00
Bahadir Balban
bda0e064af Added new subarch, platform, cpu, driver variants for configuration testing.
New files are an exact copy of pb926 files, but will help in testing different
configurations and compilations.
2009-08-30 13:21:25 +03:00
Bahadir Balban
6b1c561808 Added cml rule for inclusion of right irq controller driver.
GIC is included on GIC platforms. PL190 is included on relevant platforms.
2009-08-30 13:07:10 +03:00
Russel Winder
5974a327d0 Various changes post sorting out some of the issues regarding task ordering.
test0 cannot be the first task in the list as it must have a prior physical_base.lds in order to create test_exec_linker.lds.
mm0 appears to have to precede fs0 for the tests to execute on start.  This should be considered a bug.
2009-08-30 10:12:12 +01:00
Russel Winder
46e10bfde8 Rename the linker script template to align the naming and avoid confusion. 2009-08-30 09:55:37 +01:00
Russel Winder
7232af85c9 Remove the explicit path by correcting the dependencies. 2009-08-30 09:44:10 +01:00
Russel Winder
b003e7ae97 Move template linker script out of SConscript into its own file. 2009-08-30 09:38:23 +01:00
Russel Winder
9e1464dab8 Remove transient configuration file from the branch. 2009-08-30 09:23:59 +01:00
Russel Winder
1abd05764f Move the linker scripts out of the header file directory. 2009-08-29 18:18:25 +01:00
Bahadir Balban
b12102be2d arm.cml looking better 2009-08-29 18:02:42 +03:00
Bahadir Balban
ef238485c2 Merge branch 'containersBuildDevel' of http://www.russel.org.uk/Git/Codezero into russel-incoming 2009-08-29 17:11:52 +03:00
Bahadir Balban
7b5a3c2845 Moved userspace libc to posix container directory.
Issues:
- MM0 needs separate subset of libc and not link with libposix
- FS0 needs separate subset of libc and not link with libposix
- libposix need transforming into a full-blown uclibc for test0
- libc really is a pseudo-libc that needs to be replaced as above.
- Done some hacking to avoid conflicts between pseudo-libc and libposix headers.

Now system working as original, (e.g. execve etc. working)
2009-08-29 15:56:28 +03:00
Bahadir Balban
2bbb963848 Added untracked crt0.S 2009-08-29 15:09:48 +03:00
Bahadir Balban
5892fba52a Fixed linker scripts on broken crt0.S path 2009-08-29 15:07:12 +03:00
Russel Winder
98ca32779c Make using the task order file work again.
There are serious problems with the build in that the link order is crucial and should not be.
2009-08-29 12:35:29 +01:00
Bahadir Balban
763d4c7012 Removed accidentally added config file. 2009-08-29 14:31:03 +03:00
Bahadir Balban
779429d289 Intermediate stage in reincorporating old libc into userspace tasks. 2009-08-29 14:29:57 +03:00
Russel Winder
68f2990885 Return the compilation products from the containers build so they get loaded in. 2009-08-29 08:24:56 +01:00