Commit Graph
479 Commits
Author SHA1 Message Date
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
Russel Winder 5987773f3c First attempt at splitting out the containers build from the SConstruct.
This creates a runnable final.axf, but the load is not correct and the tests fail to execute.
2009-08-29 08:07:50 +01: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
Russel Winder c311cf72e6 Rearrange the environment construction to support changing toolchain. 2009-08-28 11:49:05 +01:00
Russel Winder 03205855cc Generalize the configuration processing so that the top-level SConstruct only processes the ARCH symbol and prepares the PLATFORM and SUBARCH entries so as to write the config.h. Everything is now entered in the environment so the SConscript files can be responsible fo rthe processing. 2009-08-28 10:39:19 +01:00
Russel Winder f6707e3ca7 Simplify the configuration file parsing so as to prepare for more generality. 2009-08-28 10:19:45 +01:00
Russel Winder 079b031616 Add check to ensure the source for the required device driver is actually present. 2009-08-28 09:55:55 +01:00
Russel Winder 591cac56cf Change the name of the IRQ symbol in the CML2 configuration so that the DRIVER_... symbol name structure matches the name structure of the kernel source hierarchy. 2009-08-28 09:55:20 +01:00
Russel Winder 34a804eb4d Trivial changes to sync up. 2009-08-28 09:28:24 +01:00
Russel Winder 187b70a829 Remove redundant comments. 2009-08-28 09:23:56 +01:00
Russel Winder 9033503283 Merge branch 'containers' into containersBuildDevel 2009-08-27 17:01:29 +01:00
Russel Winder 673b41c3a6 Simplify the top-level SConstruct a bit by transfering responsibility for ensuring the dependency on the configuration files to the SConscript files. 2009-08-27 16:59:52 +01:00
Russel Winder 6ca0f2607a Switch to using a different strategy for building the kernel. 2009-08-27 16:43:47 +01:00
Bahadir Balban 7b27d7f996 Turned off verbose test printout 2009-08-27 17:37:51 +03:00
Russel Winder 34c2156bc4 Remove redundant file. 2009-08-27 15:35:52 +01:00