U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yao Zi <me@ziyao.cc>
To: Tom Rini <trini@konsulko.com>, Yao Zi <me@ziyao.cc>
Cc: Jiaxun Yang <jiaxun.yang@flygoat.com>,
	Heinrich Schuchardt <xypron.glpk@gmx.de>,
	Ilias Apalodimas <ilias.apalodimas@linaro.org>,
	u-boot@lists.denx.de
Subject: Re: [PATCH v2 00/16] LoongArch initial support
Date: Tue, 14 Jul 2026 17:26:22 +0000	[thread overview]
Message-ID: <alZxPrNmjeVSsTUv@pie> (raw)
In-Reply-To: <20260701175926.GS749385@bill-the-cat>

On Wed, Jul 01, 2026 at 11:59:26AM -0600, Tom Rini wrote:
> On Wed, Jul 01, 2026 at 11:17:52AM +0000, Yao Zi wrote:
> 
> > Hi all,
> > 
> > After talking to Jiaxun privately, I decided to take over the series.
> > 
> > So far this series has implemented general support for initializing CPU,
> > exceptions, kernel booting, CPU and timer drivers, QEMU LoongArch virt
> > machine support and UEFI standard compliant EFI booting support.
> > 
> > LoongArch had defined 3 ISA variants, LA64, LA32 and LA32R (Reduced,
> > intended for MCUs and education purpose). This is a little-endian only
> > architecture. Only LA64 is implemented in this series since the hardware
> > is more widely available, and I'll work on 32bit support later.
> > 
> > This series had passed checkpatch with exceptions on some false alarms
> > and headers imported elsewhere. I've tested virtio devices, direct
> > kernel booting, efistub kernel booting and grub. For loongarch64 CI, I
> > would continue to work on Jiaxun's another series[1] soon.
> > 
> > Toolchain can be found at [2] or using upstream one, to build
> > 
> > 	make qemu-loongarch64_defconfig
> > 	make
> > 
> > To run in QEMU:
> > 
> > 	qemu-system-loongarch64 -nographic -machine virt -bios u-boot.bin
> 
> So on this note, we need to also have changes for:
> - buildman to fetch the toolchain, which is easy since it's part of the
>   normal kernel.org ones.
> - tools/docker/Dockerfile to fetch the toolchain, for CI
> - Changes to .gitlab-ci.yml and .azure-pipelines.yml to build loongarch
> - Changes to those files to also fire off QEMU for loonarch
> - Changes to https://source.denx.de/u-boot/u-boot-test-hooks to support
>   the previous requirement.

Okay, I've talked to Jiaxun and will also continue to work on his
previous series[1] to add CI stuff.

> > 
> > TODOs on the architecture & board:
> > - loongson,ls7a-rtc driver
> >  - The only device on QEMU board haven't been supported yet
> > - LoongArch sandbox host support
> > - TLB enablement
> >  - This is required for real CPU to utilize caches
> > - Possibly EFI-APP support for real machine
> > 
> > I have one question regarding the process: I've decided to
> > coordinate with Jiaxun to maintain the loongarch port, and AFAIK we
> > would need a custodian tree on U-Boot's GitLab instance in order to run
> > CI. If this true, what's the process of creating a tree?
> 
> I can work with you both off-list to get one created.

Thanks, should we contact with you now so I could include a MAINTAINERS
patch with correct git URL in the next version, or wait until this
series gets merged?

> -- 
> Tom

Best regards,
Yao Zi


[1]: https://lore.kernel.org/u-boot/20240717-docker-image-v1-0-7c7fc6251e7a@flygoat.com/

  reply	other threads:[~2026-07-14 17:26 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-01 11:17 [PATCH v2 00/16] LoongArch initial support Yao Zi
2026-07-01 11:17 ` [PATCH v2 01/16] lib: fdtdec: Handle multiple memory nodes Yao Zi
2026-07-02 10:22   ` Simon Glass
2026-07-02 20:39     ` Yao Zi
2026-07-01 11:17 ` [PATCH v2 02/16] linux/io.h: Use map_physmem to implement ioremap Yao Zi
2026-07-02 10:21   ` Simon Glass
2026-07-01 11:17 ` [PATCH v2 03/16] image: Take entry point as an output of setup_booti Yao Zi
2026-07-01 17:39   ` Tom Rini
2026-07-02 20:39     ` Yao Zi
2026-07-02 20:55       ` Tom Rini
2026-07-02 21:10         ` Yao Zi
2026-07-02  9:46   ` Simon Glass
2026-07-01 11:17 ` [PATCH v2 04/16] elf: Define LoongArch bits Yao Zi
2026-07-02 10:24   ` Simon Glass
2026-07-01 11:17 ` [PATCH v2 05/16] image: Define IH_ARCH_LOONGARCH Yao Zi
2026-07-02  9:44   ` Simon Glass
2026-07-01 11:17 ` [PATCH v2 06/16] LoongArch: skeleton and headers Yao Zi
2026-07-01 17:47   ` Tom Rini
2026-07-02 20:40     ` Yao Zi
2026-07-02 20:57       ` Tom Rini
2026-07-02 10:28   ` Simon Glass
2026-07-02 21:22     ` Yao Zi
2026-07-01 11:17 ` [PATCH v2 07/16] LoongArch: lib: General routines Yao Zi
2026-07-01 17:49   ` Tom Rini
2026-07-02  9:24     ` Jiaxun Yang
2026-07-02 10:54       ` Simon Glass
2026-07-02 14:07       ` Tom Rini
2026-07-02 20:56         ` Yao Zi
2026-07-02 20:58           ` Tom Rini
2026-07-02 10:28   ` Simon Glass
2026-07-02 21:46     ` Yao Zi
2026-07-01 11:18 ` [PATCH v2 08/16] LoongArch: CPU assembly routines Yao Zi
2026-07-02 10:25   ` Simon Glass
2026-07-03 20:12     ` Yao Zi
2026-07-04 11:22       ` Jiaxun Yang
2026-07-01 11:18 ` [PATCH v2 09/16] LoongArch: Exception handling Yao Zi
2026-07-02 10:25   ` Simon Glass
2026-07-01 11:18 ` [PATCH v2 10/16] LoongArch: Boot Image bits Yao Zi
2026-07-01 17:53   ` Tom Rini
2026-07-02 10:26   ` Simon Glass
2026-07-14 16:57     ` Yao Zi
2026-07-01 11:18 ` [PATCH v2 11/16] LoongArch: Generic CPU type Yao Zi
2026-07-01 17:55   ` Tom Rini
2026-07-14 17:08     ` Yao Zi
2026-07-14 17:20       ` Tom Rini
2026-07-02 10:26   ` Simon Glass
2026-07-01 11:18 ` [PATCH v2 12/16] cpu: Add loongarch_cpu driver Yao Zi
2026-07-02 10:26   ` Simon Glass
2026-07-01 11:18 ` [PATCH v2 13/16] timer: Add loongarch_timer driver Yao Zi
2026-07-02 10:27   ` Simon Glass
2026-07-14 17:15     ` Yao Zi
2026-07-01 11:18 ` [PATCH v2 14/16] board: emulation: Add qemu-loongarch Yao Zi
2026-07-02 10:27   ` Simon Glass
2026-07-01 11:18 ` [PATCH v2 15/16] efi: LoongArch: Define LoongArch bits everywhere Yao Zi
2026-07-02 10:27   ` Simon Glass
2026-07-14 17:20     ` Yao Zi
2026-07-01 11:18 ` [PATCH v2 16/16] efi: LoongArch: Implement everything Yao Zi
2026-07-02 10:29   ` Simon Glass
2026-07-01 15:53 ` [PATCH v2 00/16] LoongArch initial support Jiaxun Yang
2026-07-01 17:59 ` Tom Rini
2026-07-14 17:26   ` Yao Zi [this message]
2026-07-14 17:38     ` Tom Rini
2026-07-02 10:31 ` [v2,00/16] " Simon Glass
2026-07-14 17:33   ` Yao Zi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alZxPrNmjeVSsTUv@pie \
    --to=me@ziyao.cc \
    --cc=ilias.apalodimas@linaro.org \
    --cc=jiaxun.yang@flygoat.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=xypron.glpk@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox