Kohsuke Ohtani wrote:
[...]
> This release adds MMU support for ARM architecture.

Wonderful! Just what I was looking for!

Unfortunately I can't quite seem to make it work.

If I compile with gcc 3.4.4, I get this error:

../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.3.2, then while it all compiles, I get
unresolved symbol errors for 'raise'. I know that the gcc 4 libgcc now
calls raise if it detects divisions by zero, so I tried adding dummy
raise symbols, but although it would now link it wouldn't boot. After
turning on verbose debugging messages in the boot loader, I get:

Prex Boot Loader V1.00
loading: hdr=00012008 module=000030e4 name=prex
[...]
loading: hdr=0001b120 module=00003114 name=dev.ko
[...]
module size=00003000 entry=8008b034
R_ARM_PC24: 0008b03c -> ea0001a0
R_ARM_PC24: 0008b040 -> eafffffe
R_ARM_ABS32: 0008b2a4 -> 8008cf30
Undefined symbol for rel[00000003] sym=0001d410
Panic: Load error

Do I assume that it's failed to link the device driver library to the
kernel? Is there any way to persuade it to tell me which symbol it's
failing to find?

-- 
┌─── dg@cowlark.com ───── http://www.cowlark.com ─────
│
│ ⍎'⎕',∊N⍴⊂S←'←⎕←(3=T)⋎M⋏2=T←⊃+/(V⌽"⊂M),(V⊝"M),(V,⌽V)⌽"(V,V←1⎺1)⊝"⊂M)'
│ --- Conway's Game Of Life, in one line of APL

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
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