在2024年7月21日七月 下午6:08,Simon Glass写道:
[...]
>> >> > +
>> >> > + set_scanout_in = malloc(sizeof(struct virtio_gpu_set_scanout));
>> >
>> > Could these structs be inside priv instead of allocating each one?
>>
>> Those structs are all used only once at initialization.
>>
>> We can save some runt
在2024年7月19日七月 下午11:05,Simon Glass写道:
> Hi Jiaxun,
>
> On Wed, 17 Jul 2024 at 15:34, Jiaxun Yang wrote:
>>
>>
>>
>> 在2024年5月24日五月 下午9:02,Jiaxun Yang写道:
>> > This driver is implemened based on latest VirtIO spec.
>> > It follows operation prodcu
在2024年7月17日七月 下午11:26,Quentin Schulz写道:
> Hi Juaxun,
>
> On 7/17/24 5:12 PM, Jiaxun Yang wrote:
>> `b4` is a commandline tool to make patch-based development easier[1]
>>
>> Provide a .b4-config file to match U-Boot's patch preference so it will
>> be e
`b4` is a commandline tool to make patch-based development easier[1]
Provide a .b4-config file to match U-Boot's patch preference so it will
be easier for people to use b4 with U-Boot development.
Signed-off-by: Jiaxun Yang
---
Do we want to disable git for get_maintainer.pl in auto-cc-c
在2024年5月17日五月 上午6:16,Jiaxun Yang写道:
> Hi all,
>
> This series fixes endian related problem I found in general
> video system when testing my fresh virtio-gpu driver on big
> endian target.
>
> It also removed a lot of duplicated code on pixel handling,
> and make imp
在2024年5月24日五月 下午9:02,Jiaxun Yang写道:
> This driver is implemened based on latest VirtIO spec.
> It follows operation prodcure as defined in the spec.
>
> It implemented multihead (mirroring) support as well.
>
> Signed-off-by: Jiaxun Yang
Ping
> ---
> v2:
>
在2024年5月18日五月 上午2:14,Jiaxun Yang写道:
> Hi all,
>
> This is a huge series which promoted MIPS/Boston target into a
> usable state, with fixes to drivers and general framework issues
> I found in this process.
>
> I also converted the target to OF_UPSTREAM.
>
> This ta
Use Jiaxun's CI Image for demonstration.
NOT FOR COMMIT!
Signed-off-by: Jiaxun Yang
---
.azure-pipelines.yml| 4 ++--
.gitlab-ci.yml | 4 ++--
tools/docker/Dockerfile | 6 +++---
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/.azure-pipelines.yml b/.
Install LoongArch64 toolchains, build LoongArch64 QEMU,
build LoongArch64 GRUB.
Signed-off-by: Jiaxun Yang
---
tools/docker/Dockerfile | 19 +--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index 5ff1ac449e1f
Signed-off-by: Jiaxun Yang
---
tools/docker/Dockerfile | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index f45283d72441..5ff1ac449e1f 100644
--- a/tools/docker/Dockerfile
+++ b/tools/docker/Dockerfile
@@ -243,15
This is project's upstream URL.
Signed-off-by: Jiaxun Yang
---
tools/docker/Dockerfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index cc6e9dc4812d..f45283d72441 100644
--- a/tools/docker/Dockerfile
+++ b/tools/d
Signed-off-by: Jiaxun Yang
---
tools/docker/Dockerfile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index 91256f0248e4..cc6e9dc4812d 100644
--- a/tools/docker/Dockerfile
+++ b/tools/docker/Dockerfile
@@ -200,12
Signed-off-by: Jiaxun Yang
---
tools/docker/Dockerfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index 8e242d08297a..91256f0248e4 100644
--- a/tools/docker/Dockerfile
+++ b/tools/docker/Dockerfile
@@ -192,7 +192,7 @@ RUN
Previous patches had been applied in 9.0.1 so remove cherry-picks
as well.
Signed-off-by: Jiaxun Yang
---
tools/docker/Dockerfile | 5 +
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index 8e144a2b64e9..8e242d08297a 100644
Signed-off-by: Jiaxun Yang
---
tools/docker/Dockerfile | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index 0bf2d180e255..8e144a2b64e9 100644
--- a/tools/docker/Dockerfile
+++ b/tools/docker/Dockerfile
@@ -136,9 +136,7
Bump base os to latest jammy release and install more
required dependencies.
Signed-off-by: Jiaxun Yang
---
tools/docker/Dockerfile | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index 5824d371f259..0bf2d180e255 100644
Set global git name & email config so we don't have to setup
it for every project.
Signed-off-by: Jiaxun Yang
---
tools/docker/Dockerfile | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index cda
Since Ubuntu focal it's nolonger permitted to perform global
pip install.
Ensure that pip install is always performed in venv.
For buildman alone, all dependencies are already in docker
so there is no need to perform pip install.
Signed-off-by: Jiaxun Yang
---
.azure-pipelines.yml
many platforms that didn't have translation enabled in U-Boot,
and QEMU started to enforce this since 9.0.
Fix by using unaligned access helper for UTF-16 memory read/write to
ensure we don't do any unaligned access in U-Boot.
Signed-off-by: Jiaxun Yang
---
lib/charset.c
/start.c:61
EVT_TEST h_adder_simple :?
Which will fail the test.
Relax the source location regex to .*:.*, this is sufficent to
show that addr2line is being called and returned a possible
line number.
Signed-off-by: Jiaxun Yang
---
test/py/tests/test_event_dump.py
Newer lz4 util is not happy with any padding at end of file,
it would abort with error message like:
Stream followed by undecodable data at position 43.
Workaround by skipping testCompUtilPadding test case and manually
strip padding in testCompressSectionSize test case.
Signed-off-by: Jiaxun
Bump pylint to 3.2.3 as old versions are not working with
python 3.12.
Clear warnings, mostly E0606: (possibly-used-before-assignment).
Signed-off-by: Jiaxun Yang
---
.azure-pipelines.yml | 2 +-
.gitlab-ci.yml| 2 +-
doc/develop/python_cq.rst
We don't support python2 any more so there is no point to
use six here.
Signed-off-by: Jiaxun Yang
---
doc/sphinx/kfigure.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/doc/sphinx/kfigure.py b/doc/sphinx/kfigure.py
index dea7f91ef5ab..9467e8d52ac0 100644
---
distutils is deprecated long ago and being removed in python 3.12.
Signed-off-by: Jiaxun Yang
---
tools/binman/setup.py | 2 +-
tools/buildman/requirements.txt | 1 +
tools/dtoc/setup.py | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/tools/binman
pkg_resources is deprecated long ago and being removed in python 3.12.
Reimplement functions with importlib.resources.
Link: https://docs.python.org/3/library/importlib.resources.html
Signed-off-by: Jiaxun Yang
---
tools/binman/control.py | 18 +-
1 file changed, 9 insertions
passed at azure [1].
Thanks
[1]:
https://flygoat.visualstudio.com/u-boot/_build/results?buildId=64&view=results
Signed-off-by: Jiaxun Yang
---
Jiaxun Yang (18):
binman: Replace pkg_resources with importlib.resources
py: Replace distutils.core with setuptools
doc/sphinx: Remove u
So CONFIG_SYS_BIG_ENDIAN is our cross architecture option for
selecting machine endian, while the old CONFIG_CPU_BIG_ENDIAN
is defined by Arc only.
Use it whenever possible to ensure big endian code path is enabled
for all possible big endian machines.
Signed-off-by: Jiaxun Yang
---
Makefile
: Jiaxun Yang
---
arch/Kconfig | 34 ++
arch/mips/Kconfig | 20 +++-
arch/mips/mach-ath79/Kconfig | 8
arch/mips/mach-bmips/Kconfig | 20 ++--
arch/mips/mach-jz47xx/Kconfig | 2 +-
arch/mips/mach
This is a subset of my previous arm64_be work.
I wish this could be merged first so it would be easier to work
against xtensa and arm64 be support.
Thanks
Signed-off-by: Jiaxun Yang
---
Jiaxun Yang (2):
Kconfig: Unify endian support option
config: Use CONFIG_SYS_BIG_ENDIAN in code
在2024年6月16日六月 下午5:00,Heinrich Schuchardt写道:
[...]
> The "LoongArch Reference Manual" is available at:
>
> https://loongson.github.io/LoongArch-Documentation/LoongArch-Vol1-EN.html#_cacop
>
> What irritates me in
> 2.1.7.1. Cache Coherency Maintenance of Instruction Cache
> is the word *can*:
>
>
在2024年6月18日六月 上午12:29,Tom Rini写道:
[...]
>> Acked-by: Stefan Roese
>
> Can we please get either this, or
> https://patchwork.ozlabs.org/project/uboot/patch/20240524210817.1953298-1-rasmus.villem...@prevas.dk/
> merged for master? The number of false negatives in CI due to this is
> big issue for
Signed-off-by: Jiaxun Yang
---
.azure-pipelines.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
index b149db62798f..5cb675d3c975 100644
--- a/.azure-pipelines.yml
+++ b/.azure-pipelines.yml
@@ -198,7 +198,7 @@ stages
Signed-off-by: Jiaxun Yang
---
.azure-pipelines.yml | 3 +++
.gitlab-ci.yml | 6 ++
2 files changed, 9 insertions(+)
diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
index 27f69583c655..b149db62798f 100644
--- a/.azure-pipelines.yml
+++ b/.azure-pipelines.yml
@@ -413,6 +413,9
Introduce the board and provide instructions on how to get
it work.
Tested-by: Max Filippov
Signed-off-by: Jiaxun Yang
---
doc/board/emulation/index.rst | 1 +
doc/board/emulation/qemu-xtensa.rst | 33 +
2 files changed, 34 insertions(+)
diff --git a/doc
Introduce the new board, define every bits.
Tested-by: Max Filippov
Signed-off-by: Jiaxun Yang
---
v2:
- Fix maintainers entries
- Refine address mapping for noMMU machine
- Add a dtsi overlay to describe different memory size for noMMU system
v3:
- Use dc233c as
It is required to get it xtensa OF_UPSTREAM work.
Reviewed-by: Sumit Garg
Tested-by: Max Filippov
Signed-off-by: Jiaxun Yang
---
dts/upstream/src/xtensa/Makefile | 14 ++
1 file changed, 14 insertions(+)
diff --git a/dts/upstream/src/xtensa/Makefile b/dts/upstream/src/xtensa
Implement various CPU related functions.
I'm actually just using it to get cpu clock frequency.
Tested-by: Max Filippov
Signed-off-by: Jiaxun Yang
---
drivers/cpu/Kconfig | 6 +++
drivers/cpu/Makefile | 1 +
drivers/cpu/xtensa_cpu.c
Add xtensa semihosting driver.
It can't use regular semihosting driver as Xtensa's has it's own
semihosting ABI.
Tested-by: Max Filippov
Signed-off-by: Jiaxun Yang
---
v2:
- Fix simc_serial_pending implementation
- Get puts work
---
drivers
They are all directly imported from Linux kernel.
Reviewed-by: Max Filippov
Tested-by: Max Filippov
Signed-off-by: Jiaxun Yang
---
arch/xtensa/Kconfig | 27 ++
arch/xtensa/include/asm/platform/simcall-gdbio.h | 34 +++
arch/xtensa/include/asm/platform
u-boot.elf target requires it to work.
Tested-by: Max Filippov
Signed-off-by: Jiaxun Yang
---
v2:
- Concerning big endian CPU
Note: CONFIG_SYS_BIG_ENDIAN will never be set for xtensa
for now, but as we don't have big endian headers for xtensa
core either I think it's fine for
For PTP_MMU our physical address is not directly mapped
into virtual address space, we need to access physical
memory from those fixed map segments.
Implement phys_to_virt and virt_to_phys hook to reflect
this setting.
Tested-by: Max Filippov
Signed-off-by: Jiaxun Yang
---
arch/xtensa/include
This is a board level stuff.
Tested-by: Max Filippov
Signed-off-by: Jiaxun Yang
---
arch/xtensa/cpu/cpu.c | 5 -
board/cadence/xtfpga/xtfpga.c | 5 +
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/xtensa/cpu/cpu.c b/arch/xtensa/cpu/cpu.c
index abcd8f7984fa
So U-Boot is using _end symbol to detect location of devicetree
appended at the end of the ROM.
It needs to be calculated based on end of .data load address,
as in our lds .current address is address in RAM.
Tested-by: Max Filippov
Signed-off-by: Jiaxun Yang
---
arch/xtensa/cpu/u-boot.lds
64-2020.07-xtensa-dc232b-elf.tar.gz
Signed-off-by: Jiaxun Yang
---
Changes in v3:
- Wire up CI
- Switch to dc233c CPU, which does not have PA != VA issue, to get CI
pass first.
- Link to v2:
https://lore.kernel.org/r/20240522-qemu-xtensa-v2-0-04bf7e42b...@flygoat.com
Changes in v2:
- Fix no
在2024年6月16日六月 下午12:01,Heinrich Schuchardt写道:
> On 5/22/24 17:34, Jiaxun Yang wrote:
>> Add some common library routines for the architecture.
>>
>> Signed-off-by: Jiaxun Yang
>> ---
>> arch/loongarch/lib/Makefile | 7
>>
在2024年6月12日六月 下午5:02,Tom Rini写道:
[...]
>> --- a/tools/docker/Dockerfile
>> +++ b/tools/docker/Dockerfile
>> @@ -2,7 +2,7 @@
>> # This Dockerfile is used to build an image containing basic stuff to be
>> used
>> # to build U-Boot and run our test suites.
>>
>> -FROM ubuntu:jammy-20240227
>>
在2024年6月12日六月 下午5:01,Tom Rini写道:
> On Tue, Jun 11, 2024 at 10:04:13PM +0100, Jiaxun Yang wrote:
>
>> Current build_world task runs for too long on public gitlab
>> runner.
>>
>> Split the job as what we've done to azure pipeline.
>>
>> Signed
在2024年6月12日六月 下午5:00,Tom Rini写道:
[...]
>> configs/octeon_nic23_defconfig | 1 -
>> 2 files changed, 1 insertion(+), 2 deletions(-)
>
> This seems similar to:
> https://patchwork.ozlabs.org/project/uboot/patch/20240524210817.1953298-1-rasmus.villem...@prevas.dk/
>
> at least for CI. And for outs
Somehow when I'm trying to build dockerimage on 11 June 2024 multiple
upstream sites are down.
Arm site is returning 500 error, nasm.us domain expired, ftpmirror.gnu.org
is down worldwide.
I belive those problems are not permanent so made this change NFC.
NOT FOR COMMIT!
Signed-off-by: J
Use Jiaxun's CI Image for demonstration.
NOT FOR COMMIT!
Signed-off-by: Jiaxun Yang
---
.azure-pipelines.yml| 4 ++--
.gitlab-ci.yml | 4 ++--
tools/docker/Dockerfile | 6 +++---
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/.azure-pipelines.yml b/.
It's now possible to run CI job on gitlab.com.
Document the process.
Signed-off-by: Jiaxun Yang
---
doc/develop/ci_testing.rst | 12 +---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/doc/develop/ci_testing.rst b/doc/develop/ci_testing.rst
index ffaaced
Install LoongArch64 toolchains, build LoongArch64 QEMU,
build LoongArch64 GRUB.
Signed-off-by: Jiaxun Yang
---
tools/docker/Dockerfile | 21 +++--
1 file changed, 19 insertions(+), 2 deletions(-)
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index e3b2c2d57555
Bump base OS to Ubuntu noble, grub to 2.12, QEMU to 9.0 (drop
cherry-pick for m68k as it's already in 9.0) and other tools
to latest version.
Remove unsupported python2.
Install some required python packages for buildman/binman.
Signed-off-by: Jiaxun Yang
---
tools/docker/Dockerfile
Set global git name & email config so we don't have to setup
it for every project.
Signed-off-by: Jiaxun Yang
---
tools/docker/Dockerfile | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index cda
Current build_world task runs for too long on public gitlab
runner.
Split the job as what we've done to azure pipeline.
Signed-off-by: Jiaxun Yang
---
.gitlab-ci.yml | 103 +
1 file changed, 59 insertions(+), 44 deletions(-)
diff --
Since Ubuntu focal it's nolonger permitted to perform global
pip install.
Ensure that pip install is always performed in venv.
For buildman alone, all dependencies are already in docker
so there is no need to perform pip install.
Signed-off-by: Jiaxun Yang
---
.azure-pipelines.yml
default value to 5000, which is the value already taken
by octeon_nic32. This is still sufficent to maintain system
responsiveness.
Signed-off-by: Jiaxun Yang
---
common/Kconfig | 2 +-
configs/octeon_nic23_defconfig | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a
many platforms that didn't have translation enabled in U-Boot,
and QEMU started to enforce this since 9.0.
Fix by using unaligned access helper for UTF-16 memory read/write to
ensure we don't do any unaligned access in U-Boot.
Signed-off-by: Jiaxun Yang
---
lib/charset.c
/start.c:61
EVT_TEST h_adder_simple :?
Which will fail the test.
Relax the source location regex to .*:.*, this is sufficent to
show that addr2line is being called and returned a possible
line number.
Signed-off-by: Jiaxun Yang
---
test/py/tests/test_event_dump.py
Newer lz4 util is not happy with any padding at end of file,
it would abort with error message like:
Stream followed by undecodable data at position 43.
Workaround by skipping testCompUtilPadding test case and manually
strip padding in testCompressSectionSize test case.
Signed-off-by: Jiaxun
Bump pylint to 3.2.3 as old versions are not working with
python 3.12.
Clear warnings, mostly E0606: (possibly-used-before-assignment).
Signed-off-by: Jiaxun Yang
---
.azure-pipelines.yml | 2 +-
.gitlab-ci.yml| 2 +-
doc/develop/python_cq.rst
Bump python packages to reasonable versions to fix build
error with Python 3.12.
Link: https://github.com/pytest-dev/pytest/pull/11094
Link: https://github.com/yaml/pyyaml/issues/736
Link: https://github.com/pypa/setuptools/issues/4002
Signed-off-by: Jiaxun Yang
---
test/py/requirements.txt
Many packages in requirements.txt are not actually imported/used
by any test case, some of them was for python2 compatibility.
Remove them to keep our environment clean.
Signed-off-by: Jiaxun Yang
---
doc/sphinx/requirements.txt | 1 -
test/py/requirements.txt| 18 --
2
We don't support python2 any more so there is no point to
use six here.
Signed-off-by: Jiaxun Yang
---
doc/sphinx/kfigure.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/doc/sphinx/kfigure.py b/doc/sphinx/kfigure.py
index dea7f91ef5ab..9467e8d52ac0 100644
---
configparser.read_fp is deprecated long ago.
Replace with relevant API.
Signed-off-by: Jiaxun Yang
---
tools/buildman/bsettings.py | 2 +-
tools/patman/settings.py| 9 -
2 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/tools/buildman/bsettings.py b/tools/buildman
distutils is deprecated long ago and being removed in python 3.12.
Signed-off-by: Jiaxun Yang
---
tools/binman/setup.py | 2 +-
tools/buildman/requirements.txt | 1 +
tools/dtoc/setup.py | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/tools/binman
pkg_resources is deprecated long ago and being removed in python 3.12.
Reimplement functions with importlib.resources.
Link: https://docs.python.org/3/library/importlib.resources.html
Signed-off-by: Jiaxun Yang
---
tools/binman/control.py | 18 +-
1 file changed, 9 insertions
assertEquals -> assertEqual
assertRegexpMatches -> assertRegex
Those APIs were deprecated long ago and being removed
in latest python.
Signed-off-by: Jiaxun Yang
---
tools/binman/entry_test.py | 6 ++--
tools/binman/fdt_test.py| 48 ++---
tools/binman/ft
://flygoat.visualstudio.com/u-boot/_build/results?buildId=63&view=results
Signed-off-by: Jiaxun Yang
---
Jiaxun Yang (20):
py: Replace deprecated unittest APIs
binman: Replace pkg_resources with importlib.resources
py: Replace distutils.core with setuptools
py: Replace usag
Signed-off-by: Jiaxun Yang
---
bin/travis-ci/conf.qemu-loongarch64_na | 12
py/travis-ci/u_boot_boardenv_qemu_loongarch64_na.py | 11 +++
2 files changed, 23 insertions(+)
create mode 100644 bin/travis-ci/conf.qemu-loongarch64_na
create mode 100644 py/travis
Signed-off-by: Jiaxun Yang
---
bin/travis-ci/conf.qemu-xtensa-dc233c_na | 12
.../u_boot_boardenv_qemu_xtensa_dc233c_na.py | 6 ++
2 files changed, 18 insertions(+)
create mode 100644 bin/travis-ci/conf.qemu-xtensa-dc233c_na
create mode 100644 py/travis-ci
Signed-off-by: Jiaxun Yang
---
bin/travis-ci/conf.qemu_arm64be_na | 13 +
py/travis-ci/u_boot_boardenv_qemu_arm64be_na.py | 10 ++
2 files changed, 23 insertions(+)
create mode 100644 bin/travis-ci/conf.qemu_arm64be_na
create mode 100644 py/travis-ci
Hi all,
This series updated u-boot-test-hooks to adopt QEMU 9.0.
It also introduced 3 new boards: qemu-arm64be, qemu-xtensa-dc233c and
qemu-loongarch64.
This is required for CI changes.
I'm going to respin other series later to utilise those new hooks.
Thanks
Jiaxun Yang (4):
qemu-vex
Those boards have build in sound card which cause
problems on CI runner.
Pass -audio none to disable sound card backends.
Signed-off-by: Jiaxun Yang
---
bin/travis-ci/conf.vexpress_ca15_tc2_qemu | 2 +-
bin/travis-ci/conf.vexpress_ca9x4_qemu| 2 +-
2 files changed, 2 insertions(+), 2
在2024年6月11日六月 下午3:28,Heinrich Schuchardt写道:
[...]
>
> We have:
>
> arch/arm/lib/elf_aarch64_efi.lds:26:*(.rodata*)
> arch/arm/lib/elf_arm_efi.lds:26:*(.rodata*)
> arch/riscv/lib/elf_riscv32_efi.lds:26: *(.rodata*)
> arch/riscv/lib/elf_riscv64_efi.lds:26:
在2024年6月11日六月 下午2:49,Ilias Apalodimas写道:
> Hi Jiaxun
>
>
> On Fri, 17 May 2024 at 19:33, Jiaxun Yang wrote:
>>
>> This is required in performing objcopy to MIPS EFI files.
>>
>
> This seems not mips specific. What was missing for your case?
So MIPS EFI file
在2024年6月11日六月 下午2:52,Tom Rini写道:
> On Tue, Jun 11, 2024 at 02:29:38PM +0100, Jiaxun Yang wrote:
>>
>>
>> 在2024年6月11日六月 下午2:02,Heinrich Schuchardt写道:
>> > On 22.05.24 17:34, Jiaxun Yang wrote:
>> >> For LoongArch the start of the image
在2024年6月11日六月 下午1:26,Heinrich Schuchardt写道:
Hi Heinrich,
Thanks for your comments, will fix most of them in next reversion.
[...]
>> -gd->bd->bi_dram[bank].start = (phys_addr_t)res.start;
>
> The conversion is superfluous.
This is necessary as phys_addr_t can be unsigned long or u
在2024年6月11日六月 下午2:02,Heinrich Schuchardt写道:
> On 22.05.24 17:34, Jiaxun Yang wrote:
>> For LoongArch the start of the image is not the entry
>> point to the image.
>
> Looking at arch/loongarch/kernel/head.S there seem to be two cases:
>
> * The kernel has an
在2024年6月7日六月 下午7:11,Heinrich Schuchardt写道:
[...]
>
> This does not explain why we should bother about any non-UEFI
> architecture. It does not list relevant architectures and does not
> provide any evidence that this more than an academic endeavor.
Hi Heinrich,
As per discussion made at [1] it
在2024年5月23日五月 下午4:43,Tom Rini写道:
> On Thu, May 23, 2024 at 04:38:52PM +0100, Jiaxun Yang wrote:
>>
>>
>> 在2024年5月23日五月 下午4:25,Tom Rini写道:
>> > On Wed, May 22, 2024 at 04:34:43PM +0100, Jiaxun Yang wrote:
>> >
>> >> Hi all,
>> >>
在2024年6月1日六月 下午5:37,Maciej W. Rozycki写道:
> On Tue, 21 May 2024, Jiaxun Yang wrote:
>
>> It's nearly impossible to run MIPS OS in virtual (or paged)
>> segment. All MIPS OS and bootloaders are running in KSEG/XKPHYS
>> segment, which directly mapping lower bi
Add UEFI supplement document to define some behaviours
on architectures not covered by the original specification.
Signed-off-by: Jiaxun Yang
---
Hi all,
This document is in response to discussion at [1]. It is produced
based on my attempt to port U-Boot UEFI to MIPS and Xtensa. I also
plan to
在2024年5月21日五月 下午7:15,Tom Rini写道:
[...]
>
> We have long not done a great job with the U-Boot standalone API stuff,
> and for a number of years at this point a lot of the use cases it was
> used for could instead be filled by making an EFI application. There's a
> well defined API there, there's
spec to reflect this
nature.
Signed-off-by: Jiaxun Yang
---
v2:
- Remove an unused variable
---
include/efi_api.h| 1 +
lib/efi_loader/efi_gop.c | 8 +++-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/include/efi_api.h b/include/efi_api.h
index ab40b1b
This driver is implemened based on latest VirtIO spec.
It follows operation prodcure as defined in the spec.
It implemented multihead (mirroring) support as well.
Signed-off-by: Jiaxun Yang
---
v2:
- Add big endian code path
- Reword typical resolution for Kconfig symbol
vidconsole. My current
appraoch is to register virtio_init in init_sequence_r, just after
pci_init. Is this a viable approach? Should I introduce a config
like CONFIG_VIRTIO_INIT_R to allow it to be selected by boards?
Thanks
Signed-off-by: Jiaxun Yang
---
Changes in v2:
- Fix left over in previous
在2024年5月23日五月 下午5:26,Heinrich Schuchardt写道:
>> diff --git a/arch/loongarch/lib/reloc_loongarch_efi.c
>> b/arch/loongarch/lib/reloc_loongarch_efi.c
>> new file mode 100644
>> index ..32a7d792103d
>> --- /dev/null
>> +++ b/arch/loongarch/lib/reloc_loongarch_efi.c
>
> The code seems t
在2024年5月23日五月 下午5:14,Heinrich Schuchardt写道:
[...]
> Looking at
> https://loongson.github.io/LoongArch-Documentation/LoongArch-toolchain-conventions-EN.html:
>
> There the following symbols are mentioned:
>
> __loongarch__
> __loongarch_grlen
>
>
> Table 15.
> C/C++ Built-in Macros Provided for C
在2024年5月23日五月 下午4:25,Tom Rini写道:
> On Wed, May 22, 2024 at 04:34:43PM +0100, Jiaxun Yang wrote:
>
>> Hi all,
>>
>> Sorry for flooding the mailing list recently, yet another huge RFC series
>> ahead.
>>
>> So after working on MIPS, arm64be and Xte
Introduce the board and provide instructions on how to get
it work.
Signed-off-by: Jiaxun Yang
---
doc/board/emulation/index.rst | 1 +
doc/board/emulation/qemu-xtensa.rst | 33 +
2 files changed, 34 insertions(+)
diff --git a/doc/board/emulation
Introduce the new board, define every bits.
Signed-off-by: Jiaxun Yang
---
v2:
- Fix maintainers entries
- Refine address mapping for noMMU machine
- Add a dtsi overlay to describe different memory size for noMMU system
---
arch/xtensa/Kconfig | 5
It is required to get it xtensa OF_UPSTREAM work.
Reviewed-by: Sumit Garg
Signed-off-by: Jiaxun Yang
---
dts/upstream/src/xtensa/Makefile | 14 ++
1 file changed, 14 insertions(+)
diff --git a/dts/upstream/src/xtensa/Makefile b/dts/upstream/src/xtensa/Makefile
new file mode 100644
Implement various CPU related functions.
I'm actually just using it to get cpu clock frequency.
Signed-off-by: Jiaxun Yang
---
drivers/cpu/Kconfig | 6 +++
drivers/cpu/Makefile | 1 +
drivers/cpu/xtensa_cpu.c | 117 +++
3 files ch
Add xtensa semihosting driver.
It can't use regular semihosting driver as Xtensa's has it's own
semihosting ABI.
Signed-off-by: Jiaxun Yang
---
v2:
- Fix simc_serial_pending implementation
- Get puts work
---
drivers/serial/Kconfig | 18
They are all directly imported from Linux kernel.
Reviewed-by: Max Filippov
Signed-off-by: Jiaxun Yang
---
arch/xtensa/Kconfig | 27 ++
arch/xtensa/include/asm/platform/simcall-gdbio.h | 34 +++
arch/xtensa/include/asm/platform/simcall-iss.h | 73
u-boot.elf target requires it to work.
Signed-off-by: Jiaxun Yang
---
v2:
- Concerning big endian CPU
Note: CONFIG_SYS_BIG_ENDIAN will never be set for xtensa
for now, but as we don't have big endian headers for xtensa
core either I think it's fine for now. This will be impr
For PTP_MMU our physical address is not directly mapped
into virtual address space, we need to access physical
memory from those fixed map segments.
Implement phys_to_virt and virt_to_phys hook to reflect
this setting.
Signed-off-by: Jiaxun Yang
---
arch/xtensa/include/asm/addrspace.h | 2
So U-Boot is using _end symbol to detect location of devicetree
appended at the end of the ROM.
It needs to be calculated based on end of .data load address,
as in our lds .current address is address in RAM.
Signed-off-by: Jiaxun Yang
---
arch/xtensa/cpu/u-boot.lds | 2 ++
arch/xtensa
This is a board level stuff.
Signed-off-by: Jiaxun Yang
---
arch/xtensa/cpu/cpu.c | 5 -
board/cadence/xtfpga/xtfpga.c | 5 +
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/arch/xtensa/cpu/cpu.c b/arch/xtensa/cpu/cpu.c
index abcd8f7984fa..d2266812229c 100644
1 - 100 of 226 matches
Mail list logo