Commit Graph

11 Commits

Author SHA1 Message Date
Bahadir Balban
da5f4dcff3 Changes in merged posix pager mm0 initialization.
- Moved rootfs from being embedded to mm0 image to being an independent image.
- MM0 boots up to start_init_process with updated boot convention.
2009-10-05 13:25:32 +03:00
Bahadir Balban
e5cde20ca9 Fixed a fault with posix tasks not getting their LMA correctly 2009-10-01 13:13:27 +03:00
Bahadir Balban
b6676b9acd Fixed loader for kernel loading
Fix for the error that kernel start address wasn't passed
correctly and kernel wasn't started.
2009-09-26 21:18:19 +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
1925cd5704 Autogenerating the break_virtual symbol 2009-09-16 18:04:09 +03:00
Bahadir Balban
ee44a2007a Containers packed in single .elf file 2009-09-16 16:24:56 +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
9781f49f5d Construct main.c from a template. 2009-08-10 11:03:17 +01:00
Bahadir Balban
938672f7c9 Changed the virt-to-phys debug breakpoint name to break_virtual
Changed l4id_t type to integer to recognise negative id values like L4_ANYTHREAD.
Added an extremely simple script that cleans and builds everything in right order.

Increased boot pmds by one:
This is due to the fact that if the 1MB initial allocation area of the kernel is
not 1MB-aligned, it is ought to be mapped from the middle of one MB to next,
which requires 2 pmds.

	modified:   .gdbinit
	modified:   README
	new file:   buildall.sh
	modified:   include/l4/arch/arm/types.h
	modified:   include/l4/generic/scheduler.h
	modified:   loader/kernel.S
	modified:   loader/main.c
	modified:   loader/mylink.lds
	modified:   loader/start.axf.S
	modified:   src/glue/arm/init.c
	modified:   src/glue/arm/memory.c
	modified:   tasks/fs0/src/bdev.c
	modified:   tasks/mm0/include/kdata.h
	modified:   tasks/mm0/include/vm_area.h
	modified:   tasks/mm0/src/init.c
	modified:   tasks/mm0/src/task.c
	modified:   tools/ksym_to_lds.py
	modified:   tools/l4-qemu
2008-02-04 16:44:11 +00:00
Bahadir Balban
e2b791a3d8 Initial commit 2008-01-13 13:53:52 +00:00