fadsrom -> mkrombin

Ruedi.Hofer at ascom.ch Ruedi.Hofer at ascom.ch
Thu Dec 9 21:06:48 EST 1999


After some little changes I'm now able to compile fadsrom.

(I had to define __fswab16, __fswab32 and ffz)



Next problem: mkrombin doesn't work. It fails with an output message of

"something wrong with file fadsrom" in line 63

I compiled mkrombin with debug options and had a look why it fails.

It expects a value of 2 for nscns but it gets:

(gdb) print nscns
$3 = 512
(gdb) 

whereas nscns is basically a copy of ehp->e_phnum

(gdb) print *ehp
$1 = {e_ident = "\177ELF\001\002\001\000\000\000\000\000\000\000\000", 
e_type = 512, e_machine = 5120, e_version = 16777216, e_entry = 254, 
e_phoff = 872415232, e_shoff = 3837985280, e_flags = 0, e_ehsize = 13312, 
e_phentsize = 8192, e_phnum = 512, e_shentsize = 10240, e_shnum = 2560, 
e_shstrndx = 1792}
(gdb) 



Any ideas? Is cross-"mkrombin" a problem? (We develop on Intel)

Ruedi



More information about the Linuxppc-embedded mailing list