Commit Graph

  • 15f12ce38f Loader building from top-level SConstruct.loader Bahadir Balban 2009-09-14 17:57:14 +03:00
  • 48351450a6 Container packing works. Bahadir Balban 2009-09-14 13:48:10 +03:00
  • 90b2815836 libl4 builds with a standalone SConstruct Bahadir Balban 2009-09-14 11:55:49 +03:00
  • dd04734491 Top-level SConsctruct can now retrive shelved configuration Bahadir Balban 2009-09-14 11:52:01 +03:00
  • 2f8df84cf2 Moved all class-level attributes to instance variables. Bahadir Balban 2009-09-13 18:38:14 +03:00
  • 403ab75805 Got the buildsystem to build multiple linux instances. modified: config/configuration.py modified: config/projpaths.py modified: configure.py modified: scripts/linux/build_linux.py modified: scripts/linux/build_rootfs.py Bahadir Balban 2009-09-13 18:29:57 +03:00
  • 2d2677945f Building of linux and rootfs as containers nicely getting in shape Bahadir Balban 2009-09-13 14:35:04 +03:00
  • 772440baa0 Moved linux/rootfs build scripts to scripts directory. Bahadir Balban 2009-09-13 12:23:45 +03:00
  • f7acdc116d Configuration can now extract container attributes and store in container class. Bahadir Balban 2009-09-13 01:12:20 +03:00
  • 35097b1492 arm.cml sufficiently populated for 2 containers and their parameters Bahadir Balban 2009-09-12 23:34:28 +03:00
  • 0c9ba47746 Updating arm.cml for more enhanced container parameters Bahadir Balban 2009-09-12 23:10:35 +03:00
  • c4c3fb1e6c Mods for improvements Bahadir Balban 2009-09-12 18:54:35 +03:00
  • 59f30a175a More progress on build scripts Bahadir Balban 2009-09-12 13:42:30 +03:00
  • 8ffd4537ea Added newer platform files. Bahadir Balban 2009-09-11 14:29:24 +03:00
  • 942865e6fc Working compilation, but adding variant_dir = BUILD it doesn't work Bahadir Balban 2009-09-11 13:55:46 +03:00
  • cc90efd120 Added SConscripts to SConstruct Bahadir Balban 2009-09-11 12:38:01 +03:00
  • 13363939ac Got symbol importing working and decision making carried over to the tree Bahadir Balban 2009-09-11 11:28:41 +03:00
  • 9f69ba060f Correct generation of include/l4/config.h Bahadir Balban 2009-09-10 23:01:43 +03:00
  • ac38331c90 Added subarch and platform parsing Bahadir Balban 2009-09-10 22:50:07 +03:00
  • 202e9cab94 Shorter names for symbols, class symbols to contain symbol information Bahadir Balban 2009-09-10 22:45:39 +03:00
  • a41ce94ac1 Minor simplifications Bahadir Balban 2009-09-10 17:03:01 +03:00
  • 223f6d30fe Separated config.h update to a new function. Bahadir Balban 2009-09-10 17:00:58 +03:00
  • f5b770dcad Configuration & build working Bahadir Balban 2009-09-10 15:45:10 +03:00
  • 42bd01946f Started adding a new configure.py Bahadir Balban 2009-09-09 17:33:35 +03:00
  • 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 Bahadir Balban 2009-09-08 22:18:04 +03:00
  • 8697a824be Managed to connect container SConstruct to main one Bahadir Balban 2009-09-08 17:30:18 +03:00
  • e1a119e373 Top-level SConstruct has problems yet. Added conts/linux/SConscript Bahadir Balban 2009-09-07 10:48:52 +03:00
  • ae46ec453a Removed all submodule work. Unnecessary for now. Bahadir Balban 2009-09-04 14:42:48 +03:00
  • ece106e591 Removed posix container files, moved libl4 to conts, moving linux module to conts as well Bahadir Balban 2009-09-04 13:59:07 +03:00
  • ccd8a61a89 Added container physical regions to cml configuration Bahadir Balban 2009-09-04 11:41:44 +03:00
  • 4e8a94581d Some more changes on linux Bahadir Balban 2009-09-03 23:35:56 +03:00
  • 5a8928b4df Update to linux kernel sources Bahadir Balban 2009-09-03 00:38:40 +03:00
  • 6c9c60e2dc Merge branch 'devel' into linux Bahadir Balban 2009-09-02 15:07:54 +03:00
  • 5293b13c24 Added Linux 2.6.28.10 as a submodule to containers/posix/linux/linux-2.6.28.10 Bahadir Balban 2009-09-02 15:01:19 +03:00
  • d925d43b0b Sync up any missing changes. Russel Winder 2009-09-01 16:32:44 +01:00
  • e633680ed8 Make the symbol naming consistent. Russel Winder 2009-09-01 16:20:30 +01:00
  • b0f248a866 Put back the full list of default build products so that "scons -U" from subdirectories works as expected. Russel Winder 2009-09-01 11:33:48 +01:00
  • 399f1d530d Pull out the toolchains specification as a separate file and extend to cover the new options in the configuration file. Russel Winder 2009-08-30 13:47:16 +01:00
  • 34d691794c Merge branch 'containers' into containersBuildDevel Russel Winder 2009-08-30 12:44:06 +01:00
  • 07a5b0a904 CML change to rule out 1136 on mpcore platform Bahadir Balban 2009-08-30 13:26:09 +03:00
  • bda0e064af Added new subarch, platform, cpu, driver variants for configuration testing. Bahadir Balban 2009-08-30 13:21:25 +03:00
  • 6b1c561808 Added cml rule for inclusion of right irq controller driver. Bahadir Balban 2009-08-30 13:07:10 +03:00
  • 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. Russel Winder 2009-08-30 10:12:12 +01:00
  • 46e10bfde8 Rename the linker script template to align the naming and avoid confusion. Russel Winder 2009-08-30 09:55:37 +01:00
  • 7232af85c9 Remove the explicit path by correcting the dependencies. Russel Winder 2009-08-30 09:44:10 +01:00
  • b003e7ae97 Move template linker script out of SConscript into its own file. Russel Winder 2009-08-30 09:38:23 +01:00
  • 9e1464dab8 Remove transient configuration file from the branch. Russel Winder 2009-08-30 09:23:59 +01:00
  • 1abd05764f Move the linker scripts out of the header file directory. Russel Winder 2009-08-29 18:18:25 +01:00
  • b12102be2d arm.cml looking better Bahadir Balban 2009-08-29 18:02:42 +03:00
  • ef238485c2 Merge branch 'containersBuildDevel' of http://www.russel.org.uk/Git/Codezero into russel-incoming Bahadir Balban 2009-08-29 17:11:52 +03:00
  • 7b5a3c2845 Moved userspace libc to posix container directory. Bahadir Balban 2009-08-29 15:56:28 +03:00
  • 2bbb963848 Added untracked crt0.S Bahadir Balban 2009-08-29 15:09:48 +03:00
  • 5892fba52a Fixed linker scripts on broken crt0.S path Bahadir Balban 2009-08-29 15:07:12 +03:00
  • 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. Russel Winder 2009-08-29 12:35:29 +01:00
  • 763d4c7012 Removed accidentally added config file. Bahadir Balban 2009-08-29 14:31:03 +03:00
  • 779429d289 Intermediate stage in reincorporating old libc into userspace tasks. Bahadir Balban 2009-08-29 14:29:57 +03:00
  • 68f2990885 Return the compilation products from the containers build so they get loaded in. Russel Winder 2009-08-29 08:24:56 +01:00
  • 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. Russel Winder 2009-08-29 08:07:50 +01:00
  • 9e894274a3 Refactor the build to try and get as much material as possible out of SConstruct. Russel Winder 2009-08-28 14:10:24 +01:00
  • c311cf72e6 Rearrange the environment construction to support changing toolchain. Russel Winder 2009-08-28 11:49:05 +01:00
  • 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. Russel Winder 2009-08-28 10:39:19 +01:00
  • f6707e3ca7 Simplify the configuration file parsing so as to prepare for more generality. Russel Winder 2009-08-28 10:19:45 +01:00
  • 079b031616 Add check to ensure the source for the required device driver is actually present. Russel Winder 2009-08-28 09:55:55 +01:00
  • 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. Russel Winder 2009-08-28 09:55:20 +01:00
  • 34a804eb4d Trivial changes to sync up. Russel Winder 2009-08-28 09:28:24 +01:00
  • 187b70a829 Remove redundant comments. Russel Winder 2009-08-28 09:23:56 +01:00
  • 9033503283 Merge branch 'containers' into containersBuildDevel Russel Winder 2009-08-27 17:01:29 +01:00
  • 673b41c3a6 Simplify the top-level SConstruct a bit by transfering responsibility for ensuring the dependency on the configuration files to the SConscript files. Russel Winder 2009-08-27 16:59:52 +01:00
  • 6ca0f2607a Switch to using a different strategy for building the kernel. Russel Winder 2009-08-27 16:43:47 +01:00
  • 7b27d7f996 Turned off verbose test printout Bahadir Balban 2009-08-27 17:37:51 +03:00
  • 34c2156bc4 Remove redundant file. Russel Winder 2009-08-27 15:35:52 +01:00
  • a41caeebd2 Created libc under containers/posix which now all tasks use to build. Bahadir Balban 2009-08-27 12:00:04 +03:00
  • 87e2aeaf58 Moved tasks/* into containers/posix Bahadir Balban 2009-08-25 14:34:21 +03:00
  • 117e3482b6 Capabilities for quantitative resources working. Bahadir Balban 2009-08-22 23:41:53 +03:00
  • d3d072e47d Capability accounting for quantitative capabilities - First part done. Bahadir Balban 2009-08-22 12:09:51 +03:00
  • de087eb1f8 Clean up to kernel code, Added `used' field to capabilities Bahadir Balban 2009-08-21 12:10:34 +03:00
  • d14f91c668 Cleaned up pager initialization code. Bahadir Balban 2009-08-19 17:07:08 +03:00
  • dabc448c4e Added freeing of pager init memory, but this memory is currently not utilized. Bahadir Balban 2009-08-19 16:26:44 +03:00
  • 9c03d57d63 Carried over pager's virtual address alloc range to its own address space area. Bahadir Balban 2009-08-19 15:18:10 +03:00
  • 95b7b65c89 Pager virtual address pool bookkeeping added for all pager virtual addresses Bahadir Balban 2009-08-19 14:44:36 +03:00
  • d351d6846a Merge branch 'buildDevel' of http://www.russel.org.uk/Git/Codezero into devel Bahadir Balban 2009-08-17 22:57:41 +03:00
  • ce62459d13 Correct the problem of not loading test_exec. Remove the linker script and assembler load source in favour of generating the source so that the correct path is in the source. Russel Winder 2009-08-17 19:24:18 +01:00
  • 13d14bca89 Includes the test_exec.axf in test0 elf file. Bahadir Balban 2009-08-17 19:30:33 +03:00
  • c7e572a11c Merge branch 'buildDevel' of http://www.russel.org.uk/Git/Codezero into devel Bahadir Balban 2009-08-17 15:58:25 +03:00
  • c64c1a4515 MM0 do_close() without IO was segfaulting. now fixed. Bahadir Balban 2009-08-17 15:36:09 +03:00
  • 931c9b2587 Removed extra L from autogenerated start.axf.S break_virtual symbol value Bahadir Balban 2009-08-17 12:19:18 +03:00
  • 89c50d17f2 Fixed bootdesc relocation - Needs revising. Bahadir Balban 2009-08-17 12:10:09 +03:00
  • 5d8a35ad4d Make the address conversion for start.axf.S creation more sophisticated to deal with Python writing a Python literal. Russel Winder 2009-08-15 08:18:52 +01:00
  • 1c9dfe8030 Add the constructed config.h file as a dependency of the compiled objects so that it actually gets built. Russel Winder 2009-08-15 08:05:28 +01:00
  • 8777333664 Some trivial changes to the comments. Russel Winder 2009-08-12 13:55:55 +01:00
  • 0bfe0071f8 Changed linker script name to linker.lds from mylink.lds Bahadir Balban 2009-08-14 17:13:25 +03:00
  • 5bee43ae99 Merge branch 'newBuild' of /opt/c0-trees/codezero-russel into devel Bahadir Balban 2009-08-14 17:09:58 +03:00
  • 6a42491751 Fixed uninitialized local vars. Bahadir Balban 2009-08-14 12:54:54 +03:00
  • 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. Russel Winder 2009-08-12 10:35:47 +01:00
  • c7404c7322 Fixed boot messages Bahadir Balban 2009-08-11 15:28:39 +03:00
  • f82db61519 Added freeing/unmapping of boot memory Bahadir Balban 2009-08-11 15:01:27 +03:00
  • e5a0da2bbe Add in the import to allow the with statement in Python 2.5. Russel Winder 2009-08-11 11:55:39 +01:00
  • f4d9520fef First working Codezero & POSIX Services with container/capability changes Bahadir Balban 2009-08-11 11:23:26 +03:00
  • 4f4532210a Fixed a bug with page_map size by dynamically allocating it. Bahadir Balban 2009-08-10 23:47:58 +03:00
  • 15b659eaf0 Removed any refs to global id pools. Bahadir Balban 2009-08-10 15:16:57 +03:00