Re: qemu direct kernel boot on LoongArch

2024-09-05 Thread Jason A. Donenfeld
On Fri, Sep 06, 2024 at 06:04:25AM +0200, Jason A. Donenfeld wrote: > On Fri, Sep 6, 2024 at 3:14 AM maobibo wrote: > > yeap, will submit a patch to expose ACPI GED pm interface with FDT method. > > Clever trick. Works well. > > > > > > > > >> Meanwhile, any idea about adding a second serial to

Re: qemu direct kernel boot on LoongArch

2024-09-05 Thread Jason A. Donenfeld
On Fri, Sep 6, 2024 at 3:14 AM maobibo wrote: > yeap, will submit a patch to expose ACPI GED pm interface with FDT method. Clever trick. Works well. > > > > >> Meanwhile, any idea about adding a second serial to the platform? I've > >> been futzing with it for a bit now to no avail. > > > > No i

Re: qemu direct kernel boot on LoongArch

2024-09-05 Thread maobibo
On 2024/9/6 上午12:03, Thomas Weißschuh wrote: On 2024-09-05 17:18:07+, Jason A. Donenfeld wrote: On Thu, Sep 5, 2024 at 5:16 PM Thomas Weißschuh wrote: On 2024-09-05 17:07:22+, Jason A. Donenfeld wrote: On Thu, Sep 5, 2024 at 5:05 PM Thomas Weißschuh wrote: On 2024-09-05 16:53:5

Re: qemu direct kernel boot on LoongArch

2024-09-05 Thread maobibo
On 2024/9/5 下午11:49, Jason A. Donenfeld wrote: On Thu, Sep 05, 2024 at 04:54:41PM +0200, Jason A. Donenfeld wrote: On Thu, Sep 05, 2024 at 02:11:32PM +0800, maobibo wrote: On 2024/9/5 下午1:25, Thomas Weißschuh wrote: On 2024-09-05 06:04:12+, Jason A. Donenfeld wrote: On Thu, Sep 5, 20

Re: qemu direct kernel boot on LoongArch

2024-09-05 Thread Thomas Weißschuh
On 2024-09-05 17:18:07+, Jason A. Donenfeld wrote: > On Thu, Sep 5, 2024 at 5:16 PM Thomas Weißschuh wrote: > > > > On 2024-09-05 17:07:22+, Jason A. Donenfeld wrote: > > > On Thu, Sep 5, 2024 at 5:05 PM Thomas Weißschuh wrote: > > > > > > > > On 2024-09-05 16:53:55+, Jason A. Donenfe

Re: qemu direct kernel boot on LoongArch

2024-09-05 Thread Jason A. Donenfeld
On Thu, Sep 05, 2024 at 04:54:41PM +0200, Jason A. Donenfeld wrote: > On Thu, Sep 05, 2024 at 02:11:32PM +0800, maobibo wrote: > > > > > > On 2024/9/5 下午1:25, Thomas Weißschuh wrote: > > > On 2024-09-05 06:04:12+, Jason A. Donenfeld wrote: > > >> On Thu, Sep 5, 2024 at 5:45 AM maobibo wrote:

Re: qemu direct kernel boot on LoongArch

2024-09-05 Thread Jason A. Donenfeld
On Thu, Sep 5, 2024 at 5:16 PM Thomas Weißschuh wrote: > > On 2024-09-05 17:07:22+, Jason A. Donenfeld wrote: > > On Thu, Sep 5, 2024 at 5:05 PM Thomas Weißschuh wrote: > > > > > > On 2024-09-05 16:53:55+, Jason A. Donenfeld wrote: > > > > On Thu, Sep 05, 2024 at 07:25:05AM +0200, Thomas

Re: qemu direct kernel boot on LoongArch

2024-09-05 Thread Thomas Weißschuh
On 2024-09-05 17:07:22+, Jason A. Donenfeld wrote: > On Thu, Sep 5, 2024 at 5:05 PM Thomas Weißschuh wrote: > > > > On 2024-09-05 16:53:55+, Jason A. Donenfeld wrote: > > > On Thu, Sep 05, 2024 at 07:25:05AM +0200, Thomas Weißschuh wrote: > > > > On 2024-09-05 06:04:12+, Jason A. Donen

Re: qemu direct kernel boot on LoongArch

2024-09-05 Thread Jason A. Donenfeld
On Thu, Sep 5, 2024 at 5:05 PM Thomas Weißschuh wrote: > > On 2024-09-05 16:53:55+, Jason A. Donenfeld wrote: > > On Thu, Sep 05, 2024 at 07:25:05AM +0200, Thomas Weißschuh wrote: > > > On 2024-09-05 06:04:12+, Jason A. Donenfeld wrote: > > > > On Thu, Sep 5, 2024 at 5:45 AM maobibo wrote

Re: qemu direct kernel boot on LoongArch

2024-09-05 Thread Thomas Weißschuh
On 2024-09-05 16:53:55+, Jason A. Donenfeld wrote: > On Thu, Sep 05, 2024 at 07:25:05AM +0200, Thomas Weißschuh wrote: > > On 2024-09-05 06:04:12+, Jason A. Donenfeld wrote: > > > On Thu, Sep 5, 2024 at 5:45 AM maobibo wrote: > > > > > > > > Jason, > > > > > > > > With the latest qemu 9.1

Re: qemu direct kernel boot on LoongArch

2024-09-05 Thread Jason A. Donenfeld
On Thu, Sep 05, 2024 at 02:11:32PM +0800, maobibo wrote: > > > On 2024/9/5 下午1:25, Thomas Weißschuh wrote: > > On 2024-09-05 06:04:12+, Jason A. Donenfeld wrote: > >> On Thu, Sep 5, 2024 at 5:45 AM maobibo wrote: > >>> > >>> Jason, > >>> > >>> With the latest qemu 9.1 version, elf format boo

Re: qemu direct kernel boot on LoongArch

2024-09-05 Thread Jason A. Donenfeld
On Thu, Sep 05, 2024 at 07:25:05AM +0200, Thomas Weißschuh wrote: > On 2024-09-05 06:04:12+, Jason A. Donenfeld wrote: > > On Thu, Sep 5, 2024 at 5:45 AM maobibo wrote: > > > > > > Jason, > > > > > > With the latest qemu 9.1 version, elf format booting is supported. > > > > Thanks, I just fig

Re: qemu direct kernel boot on LoongArch

2024-09-04 Thread maobibo
On 2024/9/5 下午1:25, Thomas Weißschuh wrote: On 2024-09-05 06:04:12+, Jason A. Donenfeld wrote: On Thu, Sep 5, 2024 at 5:45 AM maobibo wrote: Jason, With the latest qemu 9.1 version, elf format booting is supported. Thanks, I just figured this out too, about 4 minutes ago. Excellent.

Re: qemu direct kernel boot on LoongArch

2024-09-04 Thread Thomas Weißschuh
On 2024-09-05 06:04:12+, Jason A. Donenfeld wrote: > On Thu, Sep 5, 2024 at 5:45 AM maobibo wrote: > > > > Jason, > > > > With the latest qemu 9.1 version, elf format booting is supported. > > Thanks, I just figured this out too, about 4 minutes ago. Excellent. > And the 1G minimum ram limit

Re: qemu direct kernel boot on LoongArch

2024-09-04 Thread Jason A. Donenfeld
On Thu, Sep 5, 2024 at 5:45 AM maobibo wrote: > > Jason, > > With the latest qemu 9.1 version, elf format booting is supported. Thanks, I just figured this out too, about 4 minutes ago. Excellent. And the 1G minimum ram limit is gone too. Now working on how to trigger resets. Jason

Re: qemu direct kernel boot on LoongArch

2024-09-04 Thread maobibo
Jason, With the latest qemu 9.1 version, elf format booting is supported. Qemu 9.0 does not support it still, here is example command line. ./qemu-system-loongarch64 -m 4G -smp 2 --cpu la464 --machine virt -serial stdio -monitor telnet:localhost:4495,server,nowait -kernel /root/linux_larc

Re: qemu direct kernel boot on LoongArch

2024-09-04 Thread Jason A. Donenfeld
On Tue, Oct 10, 2023 at 09:12:46AM +0800, maobibo wrote: > Thomas, > > Thanks for reporting this issue. > > It is the problem of QEMU for LoongArch system, QEMU does not support > booting vmlinux with elf format without UEFI bios now. We will add > support to boot vmlinux directly on QEMU Loong

Re: qemu direct kernel boot on LoongArch

2023-10-09 Thread maobibo
Thomas, Thanks for reporting this issue. It is the problem of QEMU for LoongArch system, QEMU does not support booting vmlinux with elf format without UEFI bios now. We will add support to boot vmlinux directly on QEMU LoongArch side. Regards Bibo Mao 在 2023/10/10 上午4:13, Thomas Weißschuh 写