<div dir="ltr">

<p style="margin:0px;text-indent:0px;white-space:pre-wrap">hi to all</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">im really new on embedded world and I build a kernel using buildroot</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Im using the xilinx kernel (downloaded from github xilinx repository)  and already make configs. I have the dts file generated by device-tree on ISE 14.7</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">I can build the kernel using buildroot but my problem is when I tried to download the elf file to the spartan 6.</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">it says "readelf: Error: Not an ELF file - it has the wrong magic bytes at the start"</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">I tried to find the cause of this error on the Net but no luck so far. IM using this as references:</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><a href="https://github.com/numato/samplecode/blob/master/FPGA/galatea/galateaLinux-BSP/numato_galatea_defconfig">https://github.com/numato/samplecode/blob/master/FPGA/galatea/galateaLinux-BSP/numato_galatea_defconfig</a></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><a href="https://github.com/numato/samplecode/blob/master/FPGA/galatea/galateaLinux-BSP/galatea_defconfig#L4">https://github.com/numato/samplecode/blob/master/FPGA/galatea/galateaLinux-BSP/galatea_defconfig#L4</a></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">The differences are Im using big endian</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Thanks</p></div>