fadsrom -> mkrombin

kd at flaga.is kd at flaga.is
Fri Dec 10 00:42:07 EST 1999


Yes thats correct I had to change mkrombin tooo.

Here is my diffs.

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



                                                                                                                                                    
                    Ruedi.Hofer at ascom.ch                                                                                                            
                    Sent by:                                To:     linuxppc-embedded at lists.linuxppc.org                                            
                    owner-linuxppc-embedded at 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



-------------- next part --------------
A non-text attachment was scrubbed...
Name: mkrombin.diff
Type: application/octet-stream
Size: 2757 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/19991209/a2af54ab/attachment.obj 


More information about the Linuxppc-embedded mailing list