Re: [PATCH v2] riscv: cancel the limitation that NR_CPUS is less than or equal to 32

2023-02-03 Thread David Abdurachmanov
On Mon, Jan 3, 2022 at 1:13 PM Leo Liang wrote: > > On Thu, Dec 30, 2021 at 01:55:15AM +0800, Xiang W wrote: > > 在 2021-12-29星期三的 17:23 +0800,Leo Liang写道: > > > Hi Xiang, > > > On Wed, Dec 22, 2021 at 07:32:53AM +0800, Xiang W wrote: > > > > Various specifications of riscv allow the number of hart

Re: [PATCH v2 14/17] riscv: dts: jh7110: Add initial StarFive JH7110 device tree

2023-01-18 Thread David Abdurachmanov
On Wed, Jan 18, 2023 at 10:19 AM Yanhong Wang wrote: > > Add initial device tree for the JH7110 RISC-V SoC. > > Signed-off-by: Yanhong Wang > --- > arch/riscv/dts/jh7110.dtsi | 497 + > 1 file changed, 497 insertions(+) > create mode 100644 arch/riscv/dts/jh7

Re: [PATCH v2 1/2] riscv: Support booting SiFive Unmatched from SPI.

2021-11-24 Thread David Abdurachmanov
On Wed, Nov 24, 2021 at 10:11 PM Thomas Skibo wrote: > > On 11/23/21 8:39 PM, Sean Anderson wrote: > > On 11/23/21 11:27 PM, Thomas Skibo wrote: > >> + > >> + > >> +Booting from SPI > >> + > >> + > >> +Use Building steps from "Booting from uSD using U-Boot SPL" section. > >> + > >>

Re: [PATCH v2 1/2] board: sifive: unmatched: use zero copy for initrd

2021-11-11 Thread David Abdurachmanov
On Tue, Nov 9, 2021 at 7:11 PM Tom Rini wrote: > > On Tue, Nov 09, 2021 at 05:27:52PM +0100, Heinrich Schuchardt wrote: > > On 11/9/21 17:07, Tom Rini wrote: > > > On Tue, Nov 09, 2021 at 04:50:27PM +0100, Heinrich Schuchardt wrote: > > > > On 11/9/21 16:46, Tom Rini wrote: > > > > > On Tue, Nov 0

Re: HiFive Unmatched: U-Boot stuck when loading Ramdisk

2021-10-16 Thread David Abdurachmanov
On Fri, Oct 15, 2021 at 7:16 PM Tom Rini wrote: > > On Fri, Oct 15, 2021 at 06:29:09PM +0300, David Abdurachmanov wrote: > > On Fri, Oct 15, 2021 at 6:02 PM Sören Tempel > > wrote: > > > > > > Hello, > > > > > > I hope this is the right way

Re: HiFive Unmatched: U-Boot stuck when loading Ramdisk

2021-10-15 Thread David Abdurachmanov
On Fri, Oct 15, 2021 at 6:02 PM Sören Tempel wrote: > > Hello, > > I hope this is the right way to report u-boot issues. I tried to reach > out to the RISC-V subsystem maintainer beforehand but didn't receive a > response, hence sending this to the ML. > > We are currently working on Alpine Linux

Re: [PATCH] config/sifive_unmatched: add preboot commands

2021-09-03 Thread David Abdurachmanov
On Sun, Aug 15, 2021 at 6:27 PM Alexander von Gluck IV wrote: > > * Opens up u-boot to properly search through USB media > for a valid boot media > * The MMC on the unmatched is slow, so a model of running > the OS from USB or NVMe is a compelling one. (putting just > u-boot on the sd card)

Re: [RFC 1/1] board: sifive: unmatched: use zero copy for initrd

2021-07-20 Thread David Abdurachmanov
On Tue, Jul 20, 2021 at 1:06 AM Tom Rini wrote: > > On Mon, Jul 19, 2021 at 11:52:09PM +0200, Heinrich Schuchardt wrote: > > > > > > On 19.07.21 23:38, Heinrich Schuchardt wrote: > > > Booting Ubuntu Impish showed the following output: > > > > > > relocaddr = 0xfff6 > > > > > >

Re: [PATCH] board: sifive: drop stuff related to unmatched revision 1

2021-07-14 Thread David Abdurachmanov
t;board: sifive: support spl multi-dtb on unmatched board") > > > > We won't plan to support unmatched that the revision below 3 in u-boot, > > so they can be dropped because they might be useless. > > > > Signed-off-by: Zong Li > > Suggested-by: David A

Re: [PATCH v2 8/8] drivers: net: macb: add fu740 support

2021-03-17 Thread David Abdurachmanov
On Tue, Mar 16, 2021 at 6:35 PM Green Wan wrote: > > From: David Abdurachmanov > > Add fu740 support to macb ethernet driver > > Signed-off-by: David Abdurachmanov > Signed-off-by: Green Wan > Reviewed-by: Ramon Fried > --- > drivers/net/macb.c | 8 +++- &

Re: [PATCH 7/7] drivers: net: macb: add fu740 support

2021-03-15 Thread David Abdurachmanov
On Thu, Mar 11, 2021 at 4:45 PM Bin Meng wrote: > > On Thu, Mar 11, 2021 at 10:42 PM Green Wan wrote: > > > > > > > > Bin Meng 於 2021年3月11日 週四,下午10:22寫道: > >> > >> On Thu, Mar 11, 2021 at 9:50 PM Green Wan wrote: > >> > > >> > Add fu740 support to macb ethernet driver > >> > > >> > Signed-off-by

Re: [PATCH 1/4] travis: Remove qemu-riscv64 testing

2020-03-26 Thread David Abdurachmanov
On Fri, Mar 27, 2020 at 7:31 AM Bin Meng wrote: > > On Fri, Mar 27, 2020 at 1:20 PM David Abdurachmanov > wrote: > > > > On Thu, Mar 26, 2020 at 6:06 PM Bin Meng wrote: > > > > > > As of today there is no pre-built UEFI GRUB image for RISC-V 32/64 &g

Re: [PATCH 1/4] travis: Remove qemu-riscv64 testing

2020-03-26 Thread David Abdurachmanov
On Thu, Mar 26, 2020 at 6:06 PM Bin Meng wrote: > > As of today there is no pre-built UEFI GRUB image for RISC-V 32/64 > available on the internet, and with travis-ci we don't build GRUB > images like we do for azure and gitlab. There are RPM packages for GRUB in OpenSUSE and Fedora. https://bui

Re: [U-Boot] [RFC/RFT PATCH v4 3/3] image: Add compressed Image parsing support in booti.

2020-02-20 Thread David Abdurachmanov
On Tue, Feb 18, 2020 at 10:38 PM Tom Rini wrote: > > On Sun, Feb 16, 2020 at 04:48:22PM -0800, Atish Patra wrote: > > On Fri, Feb 14, 2020 at 8:43 AM Tom Rini wrote: > > > > > > On Thu, Feb 13, 2020 at 11:32:52PM +0200, David Abdurachmanov wrote: > > > >

Re: [U-Boot] [RFC/RFT PATCH v4 3/3] image: Add compressed Image parsing support in booti.

2020-02-13 Thread David Abdurachmanov
On Thu, Feb 13, 2020 at 6:17 PM Tom Rini wrote: > > On Wed, Feb 05, 2020 at 12:01:38AM +, Atish Patra wrote: > > On Fri, 2019-11-22 at 18:19 -0800, Atish Patra wrote: > > > On Wed, 2019-11-13 at 11:47 -0800, Atish Patra wrote: > > > > On Wed, 2019-11-13 at

Re: [PATCH] distro_bootcmd: Add support for loading user environment

2020-01-31 Thread David Abdurachmanov
On Fri, Jan 31, 2020 at 3:42 PM Jon Hunter wrote: > > > On 31/01/2020 14:05, Tom Rini wrote: > > On Fri, Jan 31, 2020 at 01:24:21PM +, Jon Hunter wrote: > >> > >> On 31/01/2020 12:42, Soeren Moch wrote: > >>> On 31.01.20 11:59, Jon Hunter wrote: > U-Boot supports loading a user environmen

Re: [PATCH] riscv: sifive: fu540: Enable saving environment in MMC

2020-01-16 Thread David Abdurachmanov
On Thu, Jan 16, 2020 at 9:21 AM Bin Meng wrote: > > At present U-Boot environment is not saved so it's a little bit > inconvenient if booting kernel via network as each time we need > input the network environment variables from U-Boot shell. > > We already have the MMC support and let's enable sa

Re: [U-Boot] [PATCH] qemu-riscv64_smode, sifive-fu540: fix extlinux (define preboot)

2019-12-18 Thread David Abdurachmanov
On Thu, Dec 19, 2019 at 12:18 AM Vagrant Cascadian wrote: > > On 2019-12-18, David Abdurachmanov wrote: > > On Wed, Dec 18, 2019 at 3:13 AM Vagrant Cascadian > > wrote: > >> > >> On 2019-09-25, Vagrant Cascadian wrote: > >> > On 2019-

Re: [U-Boot] [PATCH] qemu-riscv64_smode, sifive-fu540: fix extlinux (define preboot)

2019-12-18 Thread David Abdurachmanov
On Wed, Dec 18, 2019 at 3:13 AM Vagrant Cascadian wrote: > > On 2019-09-25, Vagrant Cascadian wrote: > > On 2019-08-21, David Abdurachmanov wrote: > >> Commit 37304aaf60bf92a5dc3ef222ba520698bd862a44 removed preboot > >> commands in RISC-V targets and broke extlinux

Re: [U-Boot] [RFC/RFT PATCH v4 3/3] image: Add compressed Image parsing support in booti.

2019-11-13 Thread David Abdurachmanov
On Sat, Nov 9, 2019 at 2:14 AM Atish Patra wrote: > > Add compressed Image parsing support so that booti can parse both > flat and compressed Image to boot Linux. Currently, it is difficult > to calculate a safe address for every board where the compressed > image can be decompressed. It is also n

Re: [U-Boot] [PATCH] include/env.h: Ensure ulong is defined

2019-11-06 Thread David Abdurachmanov
On Wed, Nov 6, 2019 at 4:30 PM Alistair Francis wrote: > > To fix these failures when building with musl: >include/env.h:166:1: error: unknown type name 'ulong'; did you mean 'long'? > ensure that ulong is defined. I think, this was fixed before 2019.10 release by this patchset: https://patc

Re: [U-Boot] [RFC/RFT U-Boot PATCH] image: Add Image.gz parsing support in booti.

2019-11-01 Thread David Abdurachmanov
e to figure out the size of the compressed file > as well. Thus, user need to set two additional environment variables > kernel_gz_addr_r and kernel_gz_size to make Image.gz work. > > Tested on HiFive Unleashed and Qemu for RISC-V. > > Signed-off-by: Atish Patra Tested-by: David A

Re: [U-Boot] FDT placement in OpenSBI + U-Boot + Linux kernel issue for RISC-V

2019-09-09 Thread David Abdurachmanov
On Mon, Sep 9, 2019 at 8:05 AM Anup Patel wrote: > > Hi, > > I think keeping FDT placement in-sync between U-Boot and OpenSBI > across platforms is going to be painful. > > I suggest that for all platforms U-Boot explicitly load FDT from somewhere > so: > 1. U-Boot ${fdt_addr_r} default value will

Re: [U-Boot] FDT placement in OpenSBI + U-Boot + Linux kernel issue for RISC-V

2019-09-09 Thread David Abdurachmanov
On Sun, Sep 8, 2019 at 3:10 PM Atish Patra wrote: > > Hi All, > > I noticed following issues around U-Boot fdt location in Unleashed and > Qemu virt machine. > > OpenSBI copies the FDT to following addresses for respective platforms > > Qemu: 0x8220 > Unleashed: 0x8800 > > >

Re: [U-Boot] [PATCH] qemu-riscv64_smode, sifive-fu540: fix extlinux (define preboot)

2019-08-26 Thread David Abdurachmanov
On Mon, Aug 26, 2019 at 5:43 AM Bin Meng wrote: > > Hi David, > > On Thu, Aug 22, 2019 at 3:07 AM David Abdurachmanov > wrote: > > > > Commit 37304aaf60bf92a5dc3ef222ba520698bd862a44 removed preboot > > commands in RISC-V targets and broke extlinux support as rep

Re: [U-Boot] [ANN] U-Boot v2019.10-rc2 released

2019-08-23 Thread David Abdurachmanov
On Wed, Aug 21, 2019 at 1:24 AM Peter Robinson wrote: > > Hi Simon, > > > It's the day after the scheduled release day, and here is v2019.10-rc2. > > It took me a while to confirm that the riscv PR was causing the issue I > > saw, and I got extra paranoid about testing all of the other PRs to be >

[U-Boot] [PATCH] qemu-riscv64_smode, sifive-fu540: fix extlinux (define preboot)

2019-08-21 Thread David Abdurachmanov
Commit 37304aaf60bf92a5dc3ef222ba520698bd862a44 removed preboot commands in RISC-V targets and broke extlinux support as reported by Fu Wei . The patch finishes migration of CONFIG_USE_PREBOOT and CONFIG_REBOOT to Kconfig. Signed-off-by: David Abdurachmanov --- configs/qemu

Re: [U-Boot] [PATCH v10 3/4] riscv: sifive: fu540: Sync-up config header with RISC-V QEMU support

2019-07-23 Thread David Abdurachmanov
ironment variables. The config header for QEMU RISC-V virt > machine has been already updated to handle bigger kernel and ramdisk > images hence this patch updates SiFive FU540 config header accordingly. > > Signed-off-by: Anup Patel > --- Reviewed-by: David Abdurachmano

[U-Boot] [RESEND PATCH] distro_bootcmd: refactor virtio to support PCI block devices

2019-07-22 Thread David Abdurachmanov
amfs images. Tested with Fedora/RISCV using releases: libvirt 5.4.0 & 5.5.0, QEMU 4.0.0 and U-Boot 2019.07 RC4. Signed-off-by: David Abdurachmanov --- include/config_distro_bootcmd.h | 27 +-- 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/include/c

[U-Boot] [PATCH 2/2] distro_bootcmd: refactor virtio to support PCI block devices

2019-07-03 Thread David Abdurachmanov
rt 5.4.0, QEMU 4.0.0 and U-Boot 2019.07 RC4. Signed-off-by: David Abdurachmanov --- include/config_distro_bootcmd.h | 27 +-- 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h index 26e61ef19

[U-Boot] [PATCH 1/2] qemu-riscv: enable VIRTIO_PCI

2019-07-03 Thread David Abdurachmanov
libvirt v.5.3.0 with QEMU 4.0.0 or above uses PCI automatically and thus devices (network, storage, etc) are connected via PCI. Signed-off-by: David Abdurachmanov --- board/emulation/qemu-riscv/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/board/emulation/qemu-riscv/Kconfig b

[U-Boot] [PATCH 0/2] Enable booting from VirtIO PCI connected storage

2019-07-03 Thread David Abdurachmanov
ndrea). Cc: Bin Meng Cc: Andrea Bolognani Cc: Richard W.M. Jones Cc: Palmer Dabbelt David Abdurachmanov (2): qemu-riscv: enable VIRTIO_PCI distro_bootcmd: refactor virtio to support PCI block devices board/emulation/qemu-riscv/Kconfig | 1 + include/config_distro_bootcmd.h

Re: [U-Boot] RISC-V: Crashes with OpenSBI+U-Boot on the qemu "virt" machine

2019-05-04 Thread David Abdurachmanov
On Sat, May 4, 2019 at 7:20 PM Anup Patel wrote: > > On Sat, May 4, 2019 at 8:38 PM Karsten Merker wrote: > > > > On Sat, May 04, 2019 at 09:24:15AM +0530, Anup Patel wrote: > > > > [U-Boot+OpenSBI crash with more than 2GB RAM in qemu-system-riscv64] > > > I tried again with image header changes

Re: [U-Boot] [PATCH 1/2] riscv: set CONFIG_SYS_BOOTM_LEN to SZ_64M

2019-04-11 Thread David Abdurachmanov
http://www.denx.de/wiki/U-Boot/Custodians > > On Tue, 2019-04-09 at 12:42 +0200, David Abdurachmanov wrote: > > After updating Fedora/RISCV kernel to 5.1-rc3+ the size increased above > > the current threshold. Looking into HiKey, Dragonboards, etc. seems that > > SZ_64M is

Re: [U-Boot] [PATCH 2/2] riscv: qemu-riscv.h: define CONFIG_PREBOOT (enables extlinux)

2019-04-11 Thread David Abdurachmanov
On Thu, Apr 11, 2019 at 2:41 PM Auer, Lukas wrote: > > + Bin > > On Tue, 2019-04-09 at 12:42 +0200, David Abdurachmanov wrote: > > - Set fdt_addr variable, which is needed for extlinux to find FDT. > > Otherwise booting kernel using extlinux results in missing FDT. >

[U-Boot] [PATCH 1/2] riscv: set CONFIG_SYS_BOOTM_LEN to SZ_64M

2019-04-09 Thread David Abdurachmanov
nux] -> Kernel setup. Signed-off-by: David Abdurachmanov --- include/configs/qemu-riscv.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/configs/qemu-riscv.h b/include/configs/qemu-riscv.h index 2588c5a0b2..22a5cd7365 100644 --- a/include/configs/qemu-r

[U-Boot] [PATCH 2/2] riscv: qemu-riscv.h: define CONFIG_PREBOOT (enables extlinux)

2019-04-09 Thread David Abdurachmanov
+ kernel using OpenSBI -> U-Boot (S-mode) [extlinux] -> Kernel setup. Signed-off-by: David Abdurachmanov --- include/configs/qemu-riscv.h | 4 1 file changed, 4 insertions(+) diff --git a/include/configs/qemu-riscv.h b/include/configs/qemu-riscv.h index 22a5cd7365..b7110edebc 100644

[U-Boot] [PATCH 0/2] riscv: set preboot and increase kernel size

2019-04-09 Thread David Abdurachmanov
The following two changes are used by Fedora/RISCV with 5.1-rc3+ kernel using OpenSBI -> U-Boot (S-mode) [extlinux] -> Kernel setup. Signed-off-by: David Abdurachmanov Cc: r...@andestech.com Cc: atish.pa...@wdc.com Cc: anup.pa...@wdc.com Cc: lukas.a...@aisec.fraunhofer.de David Abdurac