Re: Any successful story of debugging linux 4.13 with qemu 2.10 and gdb 8.01?

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

 



Hi,

>
> I have seen this solution during searching answers. But without "-S"
> (-S stalls QEMU CPU at startup), the kernel will not stop util it reaches
> busybox command line.
> In other word, you have no method to debug the Linux early boot process.
>


The early boot process is highly architecture dependent.
You can emulate a virtual device close to what you have as a real
device and write drivers for that.

Please follow the below link as to how Android emulator(which uses
qemu at backend) does it -
https://android.googlesource.com/platform/external/qemu/+/master/docs/GOLDFISH-VIRTUAL-HARDWARE.TXT


Regards,
Saket Sinha

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux