Skip to contentSkip to conversation

buildroot + leon3 + gdb

Buildroot dosrulez at libero.it 2 participants 2 messages Jan 22, 2015 – Jan 25, 2015

lore
Share & tools
lore
#0 lore raw

Hi,
I'm having a problem trying to build a specific linux kernel for leon3 & spartan6 (Xilinx).
What I want is build a customized linux kernel using Buildroot and the toolchain provided by Gaisler, including an instance of gdb server which is going to be executed on the target. Whenever I try to include gdb into the build process I get the error "Could not find gdbserver in external toolchain" and I cannot find a way to fix this. Could you help me?

Thank you in advance!

Stefano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20150122/672d9aa8/attachment.html>

#1 lore raw

Hello,

Quoted 4 lines · dosrulez at libero.it

I'm having a problem trying to build a specific linux kernel for leon3 &amp; spartan6 (Xilinx).
What I want is build a customized linux kernel using Buildroot and the toolchain provided by Gaisler, including an instance of gdb server which is going to be executed on the target. Whenever I try to include gdb into the build process I get the error "Could not find gdbserver in external toolchain" and I cannot find a way to fix this. Could you help me?

Sure, don't enable the BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY option. You have this option enabled, but your toolchain does not have a gdbserver included, so trying to copy it to the target (which is the purpose of BR2_TOOLCHAIN_EXTERNAL_GDB_SERVER_COPY) cannot work.

Best regards,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com