Skip to main content
Visitor II
July 25, 2022
Question

gdbgui always open web browser and failed

  • July 25, 2022
  • 2 replies
  • 1030 views

When i tried the commend below (<Your_full_path_to> was already corrected to the path that content Setup.gdb),

```

gdbgui -g "arm-ostl-linux-gnueabi-gdb -x <Your_full_path_to>/Setup.gdb"

```

I would like to use ST-Link for debug uboot, but the web browse always open and failed to ask for "127.0.0.1:5000"

    This topic has been closed for replies.

    2 replies

    Technical Moderator
    July 26, 2022

    Hi @Community member​ ,

    did you look at following wiki pages ?

    Have you setup your PC (especially the Developer package) as listed in https://wiki.st.com/stm32mpu/wiki/PC_prerequisites ?

    Regards,

    In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'

    Dat TranAuthor
    Visitor II
    July 26, 2022

    Hi PatrickF,

    I spent few days to check, check to find any steps I miss. But I think I follow all steps from your links.

    But I had to modify few things from instruction:

    1. When click download "SDK-x86_64-stm32mp1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15.tar.xz". the file name is not correct, there is "en.SDK......", I need to rename the file after download. Just removed "en".
    2. Same name issue for SOURCES-stm32mp1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15.tar.xz.
    3. When I run "gdbgui -g .....", I got Warning from Path_evn.py:

    path_source_tf_a, path_source_op_tee, path_source_u_boot... are empty.

    • Also, still in Path_evn.py:

    path_elf_tf_a_bl2   = "/opt/openstlinux/build-openstlinuxweston-stm32mp1/tmp-glibc/deploy/images/stm32mp1/arm-trusted-firmware/debug/tf-a-bl2-sdcard.elf"

    path_elf_tf_a_bl32  = "/opt/openstlinux/build-openstlinuxweston-stm32mp1/....."

    .....

    those files are not eixts with those paths.

    I had to copy manually from installed SDK to those paths.

    • For gdbgui installation, I can't get it work by the command:

    pip install --trusted-host pypi.python.org --cert /etc/ssl/certs/ --proxy $https_proxy --upgrade gdbgui

    But I use the command: "pip install gdbgui" then I can install gdbgui.

    Then I tried again with command:

    pip install --trusted-host pypi.python.org --cert /etc/ssl/certs/ --proxy $https_proxy --upgrade gdbgui

    then look good, no more error.

    Any idea from you with these information?

    And, I am confused because openocd always start debug port 3333 but gdbgui start default 5000?

    Many thanks.