Re: fadsrom -> mkrombin

From: <hidden>
Date: 1999-12-09 13:42:07

Yes thats correct I had to change mkrombin tooo.

Here is my diffs.

(See attached file: mkrombin.diff)
K.D.



                                                                                                                                                    
                    Ruedi.Hofer@ascom.ch                                                                                                            
                    Sent by:                                To:     linuxppc-embedded@lists.linuxppc.org                                            
                    owner-linuxppc-embedded@lists.li        cc:                                                                                     
                    nuxppc.org                              Subject:     fadsrom -> mkrombin                                                        
                                                                                                                                                    
                                                                                                                                                    
                    12/09/99 10:06 AM                                                                                                               
                                                                                                                                                    
                                                                                                                                                    




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


Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help