[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [openrisc] Howto build an ucLinux kernel



Simon Srot wrote:

>Hi,
>
>Kernel should be in ELF format.
>For now binaries are not available.
>
    OK... But I don't understand why my kernel is not executable...

joligibus:[~/openrisc] > /usr/apps/openrisc/bin/or32-uclinux-sim 
~/openrisc/or1k/uclinux/uClinux-2.0.x/linux
WARNING: Cannot read script file from 'sim.cfg',
neither '/import/home/bertrand/.or1k/sim.cfg'.
WARNING: No config file read, assuming default configuration.
Verbose on, simdebug off, interactive prompt off
Machine initialization...
Clock cycle: 4ns
No data cache.
No instruction cache.
BPB simulation off.
BTIC simulation off.
WARNING: Memory not defined, assuming standard configuration.
Building automata... done, num uncovered: 0/212.
Parsing operands data... done.
loadcode: filename 
/import/home/bertrand/openrisc/or1k/uclinux/uClinux-2.0.x/linux  
startaddr=0  virtphy_transl=0
Not COFF file format
ELF type: 0x0200
ELF machine: 0x7284
ELF version: 0x01000000
ELF sec = 5632
This ELF is not an executable.
joligibus:[~/openrisc] >

    My kernel was built by the or32-gcc cross compiler.

    Regards,

    JKB

--
To unsubscribe from openrisc mailing list please visit http://www.opencores.org/mailinglists.shtml