Hi,
First of all thanks for writing this RTOS because of which now I can spend
most of my time
hacking
I know this question has been asked before but I am not able to find any
answer.

If I compile with gcc 3.4.3, I get following compile time errors:
../arm/locore.S: Assembler messages:
../arm/locore.S:135: Error: register expected, not '#0x03' -- `orr r0,#0x03'
../arm/locore.S:142: Error: register expected, not '#0x1000' -- `add
r0,#0x1000'
../arm/locore.S:153: Error: register expected, not '#0x03' -- `orr r0,#0x03'
../arm/locore.S:180: Error: register expected, not '#0x80000000' -- `add
r1,#0x80000000'
If I compile with gcc 4.2.3
I get unresolved symbol errors for 'raise'.
After defining dummy function raise I was able to build prexos successfully
but when it boots(in QEMU) I
get following messages:
Prex Boot Loader V1.00
loading: hdr=00012008 module=000030e4 name=prex
elf_load
kernel base=00080000
phys addr=00080000
p_flags=00000005
p_align=00008000
p_paddr=80080000
load: offset=00080000 size=0000619d
p_flags=00000006
p_align=00008000
p_paddr=800861a0
load: offset=000861a0 size=00000078
module size=00008000 entry=80080074
loading: hdr=000183dc module=00003114 name=dev.ko
elf_load
driver base=00088000
phys addr=00088000
sh_addr=00000034
sh_size=00001488
sh_offset=00000034
sh_flags=00000006
load: offset=00088034 size=00001488
sh_addr=000014bc
sh_size=00000238
sh_offset=000014bc
sh_flags=00000032
load: offset=000894bc size=00000238
sh_addr=000016f4
sh_size=0000011c
sh_offset=000016f4
sh_flags=00000003
load: offset=000896f4 size=0000011c
sh_addr=00000000
sh_size=00000000
sh_offset=00001841
sh_flags=00000004
module load_base=0008a000 text=80088000
module size=00002000 entry=80088034
R_ARM_PC24: 0008803c -> ea00014e
R_ARM_ABS32: 000882a0 -> 800896f4
Panic: relocation fail

Has anybody faced this problem ?
Am I using right toolchain ?

Thanks,
Pradeep
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Prex-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/prex-devel

Reply via email to