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年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
在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月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年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月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: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日六月 下午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日六月 下午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:
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
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
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
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-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
://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
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
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
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
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
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
---
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
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
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
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
/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
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
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
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
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 --
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
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
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
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
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/.
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
在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
在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: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月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
>>
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
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
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
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
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
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
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
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
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
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
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
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
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
在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
在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*:
>
>
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
: 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
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
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
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
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
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
---
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
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
/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
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
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
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
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
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
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 | 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
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
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 | 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
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
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/.
在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
在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月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
`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年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
在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月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
-system-mips64el -M boston -cpu I6500 -bios ./u-boot.bin -nographic
```
This is my first u-boot contribution, please kindly advise if you
have any comments.
Thanks
Signed-off-by: Jiaxun Yang
---
Jiaxun Yang (13):
pci: xilinx: Handle size of ecam region properly
pci: auto: Reduce
Probe size of ecam from devicetree properly and cap accessible
bus number accorading to ecam region size to ensure we don't go
beyond hardware address space.
Also disable all interrupts to ensure errors are handled silently.
Signed-off-by: Jiaxun Yang
---
drivers/pci/pcie_xilinx.c
Boston has a very limited memory range for PCI controllers, where
1MB can't easily fit into it.
Make alignment boundary of PCI memory resource allocation a Kconfig
option and default to 0x1 for boston.
Signed-off-by: Jiaxun Yang
---
drivers/pci/Kconfig| 9 +
driver
For MIPS we are always looking gd->dram in virtual address so
PCI_MAP_SYSTEM_MEMORY should always be enabled.
If in future we ever want to make it physical we have to set
ARCH_MAP_SYSMEM.
Signed-off-by: Jiaxun Yang
---
drivers/pci/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --gi
address support for dwc_ahsata, ensure
higher bits are written into registers/sg properly.
Use memalign for allocating aligned buffer in dwc_ahsata so we
don't have to do our own alignment in driver.
Signed-off-by: Jiaxun Yang
---
drivers/ata/ahci.c
Remove hard dependencies to arch headers, get clock from clk
subsystem if arch clock function is not available, align
compatible strings with devicetree binding.
No functional change on existing platforms, just get it build
on other platforms.
Signed-off-by: Jiaxun Yang
---
drivers/ata
Some drivers needs this header.
Provide this dummy header as riscv did.
Signed-off-by: Jiaxun Yang
---
arch/mips/include/asm/acpi_table.h | 10 ++
1 file changed, 10 insertions(+)
diff --git a/arch/mips/include/asm/acpi_table.h
b/arch/mips/include/asm/acpi_table.h
new file mode 100644
This is a PC-like platform board.
Enable drivers for most on-board devices to make it useful.
Signed-off-by: Jiaxun Yang
---
arch/mips/Kconfig | 27 +++
1 file changed, 27 insertions(+)
diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index eb7f3ad23762..748b5175b2eb
Provide default environment variables on image loading address
to make the board useful.
Signed-off-by: Jiaxun Yang
---
board/imgtec/boston/Kconfig| 4
board/imgtec/boston/boston.env | 9 +
2 files changed, 13 insertions(+)
diff --git a/board/imgtec/boston/Kconfig b/board
When bootph-all is enabled for a syscon driver, the device
may leave unprobed when syscon_get_regmap is called by another
driver.
Perform device_probe in syscon_get_regmap, there is no side
affect as device_probe will return 0 quickly for an activated
device.
Signed-off-by: Jiaxun Yang
In upstream devicetree, clk_boston is a child of syscon node
and there is no "regmap" property for clk_boston node.
Try to check parent device first to look for syscon.
Signed-off-by: Jiaxun Yang
---
drivers/clk/clk_boston.c | 15 ++-
1 file changed, 10 insertions(+), 5
It is required to make OF_UPSTREAM work.
Signed-off-by: Jiaxun Yang
---
dts/upstream/src/mips/Makefile | 14 ++
1 file changed, 14 insertions(+)
diff --git a/dts/upstream/src/mips/Makefile b/dts/upstream/src/mips/Makefile
new file mode 100644
index ..9a8f6aa35846
We can now boot with upstream devicetree.
Signed-off-by: Jiaxun Yang
---
arch/mips/Kconfig| 1 +
arch/mips/dts/Makefile | 1 -
arch/mips/dts/boston-u-boot.dtsi | 10 ++
arch/mips/dts/img,boston.dts | 222 ---
board/imgtec
Paul had left MIPS a couple of years ago, his email address is
no longer valid.
Replace it with his kenrel.org email, which has been used in
kernel and QEMU, in case we still want to reach him.
Signed-off-by: Jiaxun Yang
---
.mailmap| 3 ++-
board/imgtec/boston
在2024年5月14日五月 下午3:50,Jonas Karlman写道:
> Hi Jiaxun,
[...]
>> +return ERR_PTR(ret);
>
> Please explain in more details what the issue this is trying to solve.
>
> Typically syscon_get_regmap() is called on a udevice returned from a
> uclass_get_device call, and that should trigger a pr
-system-mips64el -M boston -cpu I6500 -bios ./u-boot.bin -nographic
```
This is my first u-boot contribution, please kindly advise if you
have any comments.
Thanks
Signed-off-by: Jiaxun Yang
---
Changes in v2:
- Drop "[PATCH 09/13] syscon: Probe device first in syscon_get_regmap"
in
Probe size of ecam from devicetree properly and cap accessible
bus number accorading to ecam region size to ensure we don't go
beyond hardware address space.
Also disable all interrupts to ensure errors are handled silently.
Signed-off-by: Jiaxun Yang
---
drivers/pci/pcie_xilinx.c
1 - 100 of 226 matches
Mail list logo