From: Pali =?utf-8?B?Um9ow6Fy?= Date: Fri, 12 Mar 2021 16:32:59 +0100 Subject: [PATCH u-boot v2 00/38] U-Boot LTO (Sandbox + Some ARM boards) In-Reply-To: References: <20210312103429.25895-1-marek.behun@nic.cz> <90b26f9274f50c1ac1f07cbec14efc76be120aca.camel@denx.de> <20210312152606.60e41cb4@nic.cz> <20210312151704.cgk5xzpag6epj67i@pali> Message-ID: <20210312153259.l2s5biqmf2bhvwgs@pali> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Friday 12 March 2021 16:26:54 Harald Seiler wrote: > But either way I think this only really matters if you have a > hardware-debugger and intend to debug U-Boot with it. You do not need hardware debugger, nor any "real hardware". You can run U-Boot in qemu-system and use qemu-system capabilities (-S -s) to export remote gdb control via network TCP socket. Then you can attach your local gdb to qemu-system (target remote localhost:1234) and debug qemu. I have used this qemu-system feature more times as it is easier to debug some issues directly on computer without need to use external HW. But with ability to run "real u-boot.bin" binary like on read HW.