Re: [u-boot-test-hooks PATCH 1/7] travis-ci: Add qemu_arm_spl board

2021-11-03 Thread Tuomas Tynkkynen
Hi, On 30.10.2021 21.25, Simon Glass wrote: From: Tuomas Tynkkynen ^ Some mishap with the From: line here, since I did not write the patch? This is similar to the existing qemu_arm target, except that the 'bios' is image.bin (containing both SPL and U-Boot) rather than in

Re: [PATCH v5 00/26] fdt: Make OF_BOARD a boolean option

2021-10-27 Thread Tuomas Tynkkynen
Hi, On 27.10.2021 17.08, Simon Glass wrote: Hi François, On Tue, 26 Oct 2021 at 00:07, François Ozog wrote: Hi Simon Position unchanged on this series: adding fake dts for boards that generate their device tree in the dts directory is not good. If you have them in documentation the it is

Re: qemu_arm64_defconfig: PCI autoconfig fails for qemu-system-aarch64 -m 4G

2020-01-04 Thread Tuomas Tynkkynen
Hi Heinrich, On Wed, 1 Jan 2020 at 19:58, Heinrich Schuchardt wrote: > > Dear all, > > I want to run qemu_arm64_defconfig with 4G. > > qemu-system-aarch64 -machine virt -m 4G -smp cores=2 \ > -bios u-boot.bin -cpu cortex-a53 -nographic -gdb tcp::1234 \ > -netdev user,id=eth0,tftp=tftp

Re: [PATCH v3 2/3] efi: qemu: arm64: Add efi_rng_protocol implementation for the platform

2019-12-28 Thread Tuomas Tynkkynen
Hi, On Sat, 28 Dec 2019 at 17:19, Heinrich Schuchardt wrote: > > On 12/28/19 4:03 PM, Sughosh Ganu wrote: > > > > On Sat, 28 Dec 2019 at 20:01, Heinrich Schuchardt > > wrote: > > > > On 12/27/19 3:26 PM, Sughosh Ganu wrote: > > > Add support for the EFI_RNG_PR

Re: [U-Boot] [PATCH] qemu-arm: Add persistent environment support

2018-12-12 Thread Tuomas Tynkkynen
Hi Sumit, Takahiro, On Wed, 12 Dec 2018 10:42:56 +0900 Takahiro Akashi wrote: > On Tue, Dec 11, 2018 at 06:04:05PM +0530, Sumit Garg wrote: > > On Mon, 26 Nov 2018 at 16:51, Sumit Garg > > wrote: > > > > > > Currently on qemu-arm platforms environment is kept in RAM. > > > Instead use pflash

Re: [U-Boot] [PATCH] qemu-arm: Enable VirtIO distro target

2018-11-12 Thread Tuomas Tynkkynen
Hi Sumit, On Mon, 12 Nov 2018 15:29:08 +0530 Sumit Garg wrote: > With -device virtio-blk-device,drive=hd0, it could detect distro boot > target. > > Signed-off-by: Sumit Garg > --- ... > diff --git a/include/configs/qemu-arm.h b/include/configs/qemu-arm.h > index fedc466..437c3ae 100644 > ---

Re: [U-Boot] [PATCH v2 3/3] ARM: qemu-arm: define fdt_addr_r

2018-10-24 Thread Tuomas Tynkkynen
Hi Takahiro, On Mon, 22 Oct 2018 13:40:07 +0900 AKASHI Takahiro wrote: > This variable, fdt_addr_t, is missing in the current qemu-arm.h while > it seems to be mandatory, at least, to run distro_bootcmd as expected. > So just add its definition. A size of 1MB would be enough. > > Signed-off-by:

Re: [U-Boot] [PATCH 2/2] ARM: qemu-arm: define fdt_addr_r

2018-10-24 Thread Tuomas Tynkkynen
On Thu, 18 Oct 2018 09:25:04 +0200 Alexander Graf wrote: > On 18.10.18 00:25, Tuomas Tynkkynen wrote: > > Hi Alexander, > > > > On Tue, 16 Oct 2018 15:04:26 +0200 > > Alexander Graf wrote: > > > > ... > >>> > >>>> G

Re: [U-Boot] [PATCH 2/2] ARM: qemu-arm: define fdt_addr_r

2018-10-17 Thread Tuomas Tynkkynen
Hi Alexander, On Tue, 16 Oct 2018 15:04:26 +0200 Alexander Graf wrote: ... > > > >> Glancing at cmd/pxe.c, > >> there is a problem though, in that if ${fdt_addr_r} were defined, > >> a PXE file using the FDTDIR directive would attempt loading a dtb > >> file named "-qemu-arm.dtb" instead of f

Re: [U-Boot] [PATCH 2/2] ARM: qemu-arm: define fdt_addr_r

2018-10-14 Thread Tuomas Tynkkynen
Hi Takahiro, On Fri, 12 Oct 2018 14:07:57 +0900 AKASHI Takahiro wrote: > This variable, fdt_addr_t, is missing in the current qemu-arm.h while > it seems to be mandatory, at least, to run distro_bootcmd as expected. > So just add its definition. A size of 1MB would be enough. > In what way is

Re: [U-Boot] [PATCH 1/3] efi_loader: support USB boot in distro boot script

2018-10-13 Thread Tuomas Tynkkynen
Hi Takahiro, On Fri, 12 Oct 2018 14:09:07 +0900 AKASHI Takahiro wrote: > With this patch, a removable USB mass storage device attached to the > system will also be scanned to find and boot an EFI binary (that is > BOOTEFI_NAME, see config_distro_bootcmd.h). > > Signed-off-by: AKASHI Takahiro >

Re: [U-Boot] [PATCH 00/27] virtio: Introduce VirtIO driver support

2018-09-27 Thread Tuomas Tynkkynen
Hi Simon, On 09/27/2018 04:43 PM, Simon Glass wrote: ... How does this all get tested? Could we have a simple sandbox driver? We can switch the Travis-CI jobs for the QEMU boards to use virtio-net instead of the current network cards for the TFTP tests. I don't know if there are pytest equiv

Re: [U-Boot] [PATCH 18/27] riscv: qemu: Include some useful commands

2018-09-27 Thread Tuomas Tynkkynen
Hi Bin, On 09/23/2018 04:42 PM, Bin Meng wrote: With the virtio net and blk drivers, we can do more stuff with some useful commands. Imply those in the board Kconfig. Signed-off-by: Bin Meng --- board/emulation/qemu-riscv/Kconfig | 8 1 file changed, 8 insertions(+) diff --git a/

Re: [U-Boot] [PATCH 16/27] arm: qemu: Enumerate virtio bus during early boot

2018-09-27 Thread Tuomas Tynkkynen
Hi Bin, On 09/23/2018 04:42 PM, Bin Meng wrote: Currently devices on the virtio bus is not automatically enumerated, which means peripherals on the virtio bus are not discovered by their drivers. This uses board_init() to do the virtio enumeration. Signed-off-by: Bin Meng --- board/emulatio

Re: [U-Boot] [PATCH 13/27] virtio: Add block driver support

2018-09-27 Thread Tuomas Tynkkynen
Hi Simon, On 09/27/2018 04:42 PM, Simon Glass wrote: On 23 September 2018 at 06:42, Bin Meng wrote: From: Tuomas Tynkkynen This adds virtio block device driver support. Signed-off-by: Tuomas Tynkkynen Signed-off-by: Bin Meng --- ... Why does this use __u32 instead of u32? The

Re: [U-Boot] [PATCH 05/27] virtio: Add net driver support

2018-09-27 Thread Tuomas Tynkkynen
Hi Bin, On 09/23/2018 04:42 PM, Bin Meng wrote: From: Tuomas Tynkkynen This adds virtio net device driver support. Signed-off-by: Tuomas Tynkkynen Signed-off-by: Bin Meng --- ... +static u32 feature[] = { + VIRTIO_NET_F_MAC +}; + +static u32 feature_legacy

Re: [U-Boot] [PATCH 03/27] virtio: Add codes for virtual queue/ring management

2018-09-27 Thread Tuomas Tynkkynen
Hi Bin, On 09/23/2018 04:42 PM, Bin Meng wrote: From: Tuomas Tynkkynen This adds support for managing virtual queue/ring, the channel for high performance I/O between host and guest. Signed-off-by: Tuomas Tynkkynen Signed-off-by: Bin Meng --- ... + +/* + * Barriers in virtio are tricky

Re: [U-Boot] [PATCH 02/27] dm: Add a new uclass driver for VirtIO transport devices

2018-09-27 Thread Tuomas Tynkkynen
. The uclass driver provides child_pre_probe() and child_post_probe() methods to do some common operations for virtio device drivers like device and driver supported feature negotiation, etc. [1] http://docs.oasis-open.org/virtio/virtio/v1.0/virtio-v1.0.pdf Signed-off-by: Tuomas Tynkkynen Signed

Re: [U-Boot] [PATCH 2/4] ata: ahci: Don't cap AHCI port count under CONFIG_DM_SCSI

2018-09-14 Thread Tuomas Tynkkynen
Hi, On 09/14/2018 01:55 PM, Simon Glass wrote: On 13 September 2018 at 00:28, Tuomas Tynkkynen wrote: When using device model this sort of hardcoded limits aren't used or necessary. Signed-off-by: Tuomas Tynkkynen --- drivers/ata/ahci.c | 2 ++ 1 file changed, 2 insertions(+) Rev

[U-Boot] [PATCH 3/4] ata: Drop CONFIG_SYS_SCSI_MAX_* from boards using DM_SCSI

2018-09-12 Thread Tuomas Tynkkynen
These options are not used or necessary when device model is being used for SCSI. Just drop them. Signed-off-by: Tuomas Tynkkynen --- include/configs/dra7xx_evm.h| 4 include/configs/qemu-arm.h | 3 --- include/configs/x86-common.h| 4 include/configs/xilinx_zynqmp.h | 7

[U-Boot] [PATCH 4/4] configs: Drop CONFIG_SYS_SCSI_MAXDEVICE

2018-09-12 Thread Tuomas Tynkkynen
This option has never been used for anything. Drop it. Signed-off-by: Tuomas Tynkkynen --- include/configs/MPC8544DS.h | 3 +-- include/configs/MPC8572DS.h | 1 - include/configs/MPC8610HPCD.h | 1 - include/configs/MPC8641HPCN.h | 1 - include/configs/sbc8641d.h| 1 - scripts

[U-Boot] [PATCH 2/4] ata: ahci: Don't cap AHCI port count under CONFIG_DM_SCSI

2018-09-12 Thread Tuomas Tynkkynen
When using device model this sort of hardcoded limits aren't used or necessary. Signed-off-by: Tuomas Tynkkynen --- drivers/ata/ahci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index 333f0457f6..5fafb63aeb 100644 --- a/drivers/ata/ahci.c

[U-Boot] [PATCH 1/4] ata: ahci: Loop over the actual number of ports, not the maximum

2018-09-12 Thread Tuomas Tynkkynen
stent port, but it is wasteful. Replace the loop limit with the port count of the AHCI controller instead. Signed-off-by: Tuomas Tynkkynen --- drivers/ata/ahci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index c35912bd33..333f045

Re: [U-Boot] [PATCH 12/12] riscv: Add QEMU virt board support

2018-09-09 Thread Tuomas Tynkkynen
On 09/08/2018 04:28 AM, Bin Meng wrote: Hi Tuomas, On Sat, Sep 8, 2018 at 7:14 AM Tuomas Tynkkynen wrote: [...] You can find my branch here: https://github.com/dezgeg/u-boot/tree/virtio It should work under qemu_arm64_defconfig as follows: qemu-system-aarch64 -machine virt -cpu cortex

Re: [U-Boot] [PATCH 12/12] riscv: Add QEMU virt board support

2018-09-07 Thread Tuomas Tynkkynen
Hi Bin, On Fri, 7 Sep 2018 09:49:24 +0800 Bin Meng wrote: > Hi Tuomas, > > On Fri, Sep 7, 2018 at 5:03 AM Tuomas Tynkkynen > wrote: > > > > Hi Bin, > > > > On 09/04/2018 12:31 PM, Bin Meng wrote: > > > Hi Lukas, > > > > &g

[U-Boot] [PATCH] .travis.yml: Fix typo in sun7i job description

2018-09-07 Thread Tuomas Tynkkynen
'builman' -> 'buildman' Signed-off-by: Tuomas Tynkkynen --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 95cfa5b6fc..ea3b20e063 100644 --- a/.travis.yml +++ b/.travis.yml @@ -189,7 +189,7 @@ matrix:

Re: [U-Boot] [PATCH 12/12] riscv: Add QEMU virt board support

2018-09-06 Thread Tuomas Tynkkynen
Hi Bin, On 09/04/2018 12:31 PM, Bin Meng wrote: Hi Lukas, On Tue, Sep 4, 2018 at 5:39 AM Auer, Lukas wrote: On Thu, 2018-08-30 at 00:54 -0700, Bin Meng wrote: This adds QEMU RISC-V 'virt' board target support, with the hope of helping people easily test U-Boot on RISC-V. The QEMU virt mach

Re: [U-Boot] [PATCH] ARM: dts: logicpd-torpedo-37xx-devkit-u-boot: Fix MMC Card Detect

2018-09-05 Thread Tuomas Tynkkynen
Hi Adam, On 09/03/2018 05:08 PM, Adam Ford wrote: When re-syncing the DTS files from the kernel, something caused the MMC driver to no longer detect the MMC card. Undoing the CD-invert appears to fix the issue. Fixes: e6ea2390cde3 ("ARM: DTS: Resync LogicPD-Torpedo-37xx-devkit with Linux 4.18-R

Re: [U-Boot] [RFC 1/3] test/py: convert fs-test.sh to pytest

2018-09-04 Thread Tuomas Tynkkynen
Hi, On 08/31/2018 10:22 AM, AKASHI Takahiro wrote: Hi Tuomas, Thank you for interesting pointers. On Thu, Aug 30, 2018 at 01:56:41PM +0300, Tuomas Tynkkynen wrote: Hi Heinrich, Takahiro On 08/30/2018 01:26 PM, AKASHI Takahiro wrote: On Thu, Aug 30, 2018 at 12:01:32PM +0200, Heinrich

[U-Boot] [PATCH] ARM: qemu-arm: Fix qemu_arm64_defconfig for QEMU 3.0

2018-09-04 Thread Tuomas Tynkkynen
QEMU 3.0 introduced additional memory-mapped regions for PCI-E ECAM and MMIO. Thus we need to add them to our MMU map or U-Boot will crash with a Synchronous Abort during PCI-E probing when it tries to access the unmapped ECAM memory area. Reported-by: Jonathan Gray Signed-off-by: Tuomas

Re: [U-Boot] [RFC 1/3] test/py: convert fs-test.sh to pytest

2018-08-30 Thread Tuomas Tynkkynen
Hi Heinrich, Takahiro On 08/30/2018 01:26 PM, AKASHI Takahiro wrote: On Thu, Aug 30, 2018 at 12:01:32PM +0200, Heinrich Schuchardt wrote: On 08/30/2018 08:52 AM, AKASHI Takahiro wrote: On Wed, Aug 29, 2018 at 11:36:51PM +0200, Heinrich Schuchardt wrote: On 08/23/2018 09:25 AM, AKASHI Takahiro

[U-Boot] [PATCH] i2c: Drop CONFIG_SYS_I2C_MXS

2018-08-15 Thread Tuomas Tynkkynen
Last user of this driver went away in May 2017, in commit eb5ba3aefdf0f6 ("i2c: Drop use of CONFIG_I2C_HARD") Signed-off-by: Tuomas Tynkkynen --- drivers/i2c/Makefile | 1 - drivers/i2c/mxs_i2c.c | 319 -- 2 files changed, 320

Re: [U-Boot] [PATCH v3 6/6] mmc: arm_pl180_mmci: Remove cd_inverted host's struct field

2018-07-25 Thread Tuomas Tynkkynen
On 07/24/2018 03:37 PM, Patrice Chotard wrote: As platform uses GPIOs for card detection, it's simpler and more readable to use GPIO_ACTIVE_(LOW|HIGH) in the gpio flags instead of using the cd-inverted property. Reported-by: Tuomas Tynkkynen Signed-off-by: Patrice Chotard --- Sounds

Re: [U-Boot] [PATCH v2 6/6] mmc: arm_pl180_mmci: Add "cd_inverted" DT property read

2018-07-24 Thread Tuomas Tynkkynen
Hi Patrice, On 07/24/2018 12:39 PM, Patrice Chotard wrote: Add missing read of "cd_inverted" property in DT. If your platform uses GPIOs for card detection, it's simpler and more readable to use GPIO_ACTIVE_(LOW|HIGH) in the gpio flags instead of using the cd-inverted property. See Linux com

Re: [U-Boot] [PATCH v2 1/2] rtc: pl031: convert the driver to driver model

2018-07-04 Thread Tuomas Tynkkynen
Hi Akashi, Thank you for the DM conversion. On 07/04/2018 10:36 AM, AKASHI Takahiro wrote: <..snip..> diff --git a/include/dm/platform_data/rtc_pl031.h b/include/dm/platform_data/rtc_pl031.h new file mode 100644 index 00..8e4ba1ce69 --- /dev/null +++ b/include/dm/platform_data/rtc_pl03

Re: [U-Boot] [PATCH v2 1/2] rtc: pl031: convert the driver to driver model

2018-07-04 Thread Tuomas Tynkkynen
On 07/04/2018 11:53 AM, Alexander Graf wrote: On 07/04/2018 09:36 AM, AKASHI Takahiro wrote: This patch is missing a patch description. I'm not the maintainer of the rtc code base so it's not my call, but I personally just reject all patches with empty patch descriptions ;). And thanks a lot

Re: [U-Boot] [PATCH 1/1] ARM: qemu-arm: enable RTC

2018-07-02 Thread Tuomas Tynkkynen
++ drivers/rtc/Kconfig | 7 +++ include/configs/qemu-arm.h | 3 +++ 4 files changed, 14 insertions(+) Reviewed-by: Tuomas Tynkkynen Tested-by: Tuomas Tynkkynen - Tuomas ___ U-Boot mailing list U-Boot@lists.denx.de https

Re: [U-Boot] inappropriate PCI configuration on arm64 qemu?

2018-06-01 Thread Tuomas Tynkkynen
On 06/01/2018 10:21 AM, AKASHI Takahiro wrote: Tuomas, On Thu, May 31, 2018 at 01:32:20PM +0300, Tuomas Tynkkynen wrote: Hi Akashi, On 05/31/2018 08:05 AM, AKASHI Takahiro wrote: Simon, On Wed, May 30, 2018 at 01:18:30PM -0600, Simon Glass wrote: +Tuomas Hi Akashi, On 28 May 2018 at 01

Re: [U-Boot] inappropriate PCI configuration on arm64 qemu?

2018-05-31 Thread Tuomas Tynkkynen
n U-Boot anyway because we don't have the means to access physical addresses above the 4GB boundary with the CPU using U-Boot's identity-mapped page tables. --- commit d71975ae6e0 Author: Tuomas Tynkkynen Date: Mon May 14 19:38:13 2018 +0300

Re: [U-Boot] [PATCH 1/1] efi_loader: avoid make race condition

2018-05-29 Thread Tuomas Tynkkynen
is avoided. Reported-by: Tuomas Tynkkynen Signed-off-by: Heinrich Schuchardt --- Hello Tuomas, please, test if this resolves your problem. Best regards Heinrich --- lib/efi_loader/Makefile | 4 +++- lib/efi_selftest/Makefile | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff -

Re: [U-Boot] Parallel make issue with helloworld.efi

2018-05-27 Thread Tuomas Tynkkynen
Hi Heinrich, Thanks for taking a look. On 05/27/2018 08:11 PM, Heinrich Schuchardt wrote: On 11/07/2017 04:57 PM, Tuomas Tynkkynen wrote: Hi, Every now and then I see parallel builds failing, e.g. with Linksprite_pcDuino3_Nano_defconfig:   CC  lib/efi_loader/efi_bootmgr.o   CC

Re: [U-Boot] [PATCH 2/2] efi_loader: build CRT0 and RELOC on x86_64

2018-05-26 Thread Tuomas Tynkkynen
Hi, On Fri, 18 May 2018 19:12:20 +0200 Heinrich Schuchardt wrote: > The efi selftest and the hello application require CRT0 and RELOC to be > built. > > Signed-off-by: Heinrich Schuchardt > --- While we're on the topic of EFI_CRT0 and EFI_RELOC, does anybody happen to have an idea on how to f

Re: [U-Boot] [PATCH 1/2] rpi: Fix fdt_high & initrd_high for 64-bit builds

2018-05-24 Thread Tuomas Tynkkynen
Hi Alex, On Thu, 24 May 2018 09:51:57 +0200 Alexander Graf wrote: > On 20.04.18 12:03, Tuomas Tynkkynen wrote: > > The magic value that disables relocation is dependent on the CPU word > > size, so the current '' is doing the wrong thing on aarch64. >

Re: [U-Boot] [PATCH] rpi: Adjust fdt_addr_r to a sane address

2018-05-24 Thread Tuomas Tynkkynen
Hi Alexander, On Thu, 24 May 2018 10:12:54 +0200 Alexander Graf wrote: > On 14.04.18 20:04, Tuomas Tynkkynen wrote: > > Hi Alexander, > > > > On Fri, 13 Apr 2018 17:49:00 +0200 > > Alexander Graf wrote: > > > > [...] > >> > >> d

Re: [U-Boot] [PATCH 2/2] ARM: Add a new arch + board for QEMU's 'virt' machine

2018-05-14 Thread Tuomas Tynkkynen
Hi, On Wed, 9 May 2018 12:56:46 +0200 Paulo Neves wrote: > Hello I have successfully built u-boot and launched qemu with the > flags proposed by the patch. My problems start when I try to boot the > kernel > > What is the linux kernel defconfig that should be used to boot this > machine? multi

[U-Boot] [PATCH] PCI: Document pciauto_region_allocate()

2018-05-14 Thread Tuomas Tynkkynen
Add a doc comment for pciauto_region_allocate(). Signed-off-by: Tuomas Tynkkynen --- This patch depends on [PATCH 2/2] PCI: autoconfig: Don't allocate 64-bit addresses to 32-bit only resources. --- include/pci.h | 13 + 1 file changed, 13 insertions(+) diff --git a/include/pc

[U-Boot] [PATCH 2/2] PCI: autoconfig: Don't allocate 64-bit addresses to 32-bit only resources

2018-05-14 Thread Tuomas Tynkkynen
Currently, if we happen to allocate an address requiring 64 bits to a device only supporting 32-bit BARs, the address eventually gets silently truncated to 32 bits. Avoid this by adding a new flag to pciauto_region_allocate() to bail out in such situations. Signed-off-by: Tuomas Tynkkynen

[U-Boot] [PATCH 1/2] PCI: Add newlines to debug prints in pci_auto_common.c

2018-05-14 Thread Tuomas Tynkkynen
All of the debug output from this file is squished to one line. Fix it. Signed-off-by: Tuomas Tynkkynen --- drivers/pci/pci_auto_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pci/pci_auto_common.c b/drivers/pci/pci_auto_common.c index 1d202ae2ef

[U-Boot] [PATCH 3/3] doc: qemu-arm: Drop highmem=off references

2018-05-14 Thread Tuomas Tynkkynen
Now that U-Boot works fine with highmem enabled, there is no need to tell users to disable highmem. Signed-off-by: Tuomas Tynkkynen --- doc/README.qemu-arm | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/doc/README.qemu-arm b/doc/README.qemu-arm index 6f6f07d8bb

[U-Boot] [PATCH 2/3] ARM: qemu-arm: Bump RAM size in AArch64 MMU table

2018-05-14 Thread Tuomas Tynkkynen
Now that PCI devices work with highmem-enabled QEMU emulation, bump up the RAM size in the MMU tables to gain access to the full 255 GB of RAM potential instead of the puny 3 GB. Signed-off-by: Tuomas Tynkkynen --- board/emulation/qemu-arm/qemu-arm.c | 2 +- 1 file changed, 1 insertion(+), 1

[U-Boot] [PATCH 1/3] PCI: dm: Ignore 64-bit memory regions if CONFIG_SYS_PCI_64BIT not set

2018-05-14 Thread Tuomas Tynkkynen
lem by ignoring memory regions whose addresses are above the 32-bit boundary when CONFIG_SYS_PCI_64BIT is not set. Signed-off-by: Tuomas Tynkkynen --- drivers/pci/pci-uclass.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/pci/pci-uclass.c b/drivers/pci/pci-uclass.c index 49be1

Re: [U-Boot] [PATCH v2 1/1] arm: print instructions pointed to by pc

2018-05-13 Thread Tuomas Tynkkynen
Hi, On Thu, 10 May 2018 16:38:30 +0200 Heinrich Schuchardt wrote: > If an exception occurs in a loaded image and the relocation offset is > unknown, it is helful to know the instructions pointed to by the > program counter. This patch adds the missing output. > > A possible output is: > *pc

[U-Boot] [PATCH 1/3] net: Drop CONFIG_TSI108_ETH

2018-05-09 Thread Tuomas Tynkkynen
Last user of this driver went away in June 2015 in commit d928664f4101e24 ("powerpc: 74xx_7xx: remove 74xx_7xx cpu support") Signed-off-by: Tuomas Tynkkynen --- drivers/net/Makefile |1 - drivers/net/tsi108_eth.c | 1015 -

[U-Boot] [PATCH 3/3] i2c: Drop CONFIG_SH_SH7734_I2C

2018-05-09 Thread Tuomas Tynkkynen
Last user of this driver went away in May 2017 in commit eb5ba3aefdf0f6c ("i2c: Drop use of CONFIG_I2C_HARD"). Signed-off-by: Tuomas Tynkkynen --- doc/driver-model/i2c-howto.txt | 1 - drivers/i2c/Makefile | 1 - drivers/i2c/sh_sh7734_i2c.

[U-Boot] [PATCH 2/3] i2c: Drop CONFIG_TSI108_I2C

2018-05-09 Thread Tuomas Tynkkynen
Last user of this driver went away in June 2015 in commit d928664f4101e24 ("powerpc: 74xx_7xx: remove 74xx_7xx cpu support") Signed-off-by: Tuomas Tynkkynen --- doc/driver-model/i2c-howto.txt | 1 - drivers/i2c/Makefile | 1 - drivers/i2c/tsi108_i2c.c

Re: [U-Boot] [PATCH 3/3] ARM: rmobile: Contain CONFIG_ARCH_RMOBILE_BOARD_STRING

2018-05-05 Thread Tuomas Tynkkynen
On Wed, 2 May 2018 11:57:41 +0200 Marek Vasut wrote: > Pull the symbol from the boards and zap struct rmobile_sysinfo as they > are rather useless. The entire purpose of that whole machinery was to > print board name in the CONFIG_ARCH_RMOBILE_BOARD_STRING. Do that in a > far simpler and more co

Re: [U-Boot] [PATCH] rpi: Adjust fdt_addr_r to a sane address

2018-04-22 Thread Tuomas Tynkkynen
On Fri, 20 Apr 2018 13:03:47 +0300 Tuomas Tynkkynen wrote: > Hi Alexander, > > What do you think of these patches? I haven't done testing with the > big kernels / DTBs yet, just that my previously-working kernel still > boots. > I've now verified that these two

[U-Boot] [PATCH 2/2] rpi: Change load addresses to make more room for the kernel & DTB

2018-04-20 Thread Tuomas Tynkkynen
ever since the introduction of AArch64 support and the firmware-loaded DTB doesn't get placed at 0x100 anymore either, so that is fixed as well. Signed-off-by: Tuomas Tynkkynen --- include/configs/rpi.h | 61 ++- 1 file changed, 36 insertions(+

[U-Boot] [PATCH 1/2] rpi: Fix fdt_high & initrd_high for 64-bit builds

2018-04-20 Thread Tuomas Tynkkynen
The magic value that disables relocation is dependent on the CPU word size, so the current '' is doing the wrong thing on aarch64. Signed-off-by: Tuomas Tynkkynen --- include/configs/rpi.h | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/inclu

Re: [U-Boot] [PATCH] rpi: Adjust fdt_addr_r to a sane address

2018-04-20 Thread Tuomas Tynkkynen
Hi Alexander, What do you think of these patches? I haven't done testing with the big kernels / DTBs yet, just that my previously-working kernel still boots. Tuomas Tynkkynen (2): rpi: Fix fdt_high & initrd_high for 64-bit builds rpi: Change load addresses to make more room for t

Re: [U-Boot] [PATCH] rpi: Adjust fdt_addr_r to a sane address

2018-04-14 Thread Tuomas Tynkkynen
Hi Alexander, On Fri, 13 Apr 2018 17:49:00 +0200 Alexander Graf wrote: [...] > > diff --git a/include/configs/rpi.h b/include/configs/rpi.h > index 325e52a019..fcf7e0976b 100644 > --- a/include/configs/rpi.h > +++ b/include/configs/rpi.h > @@ -124,7 +124,7 @@ > #define ENV_MEM_LAYOUT_SETTINGS

Re: [U-Boot] [RFC PATCH 03/13] arm: move SYS_ARCH_TIMER to KConfig

2018-04-11 Thread Tuomas Tynkkynen
Hi, On Thu, 30 Nov 2017 01:25:01 + Andre Przywara wrote: > SYS_ARCH_TIMER guards the usage of the ARM Generic Timer (aka arch > timer) in U-Boot. > At the moment it is mandatory for ARMv8 and used by two ARMv7 boards. > Add a proper Kconfig symbol to express this dependency properly, > allow

[U-Boot] [PATCH 2/2] arm: move SYS_ARCH_TIMER to KConfig

2018-04-11 Thread Tuomas Tynkkynen
arch timer in case there are any problems with it. Signed-off-by: Andre Przywara [tuomas: rebase + fix conflicts and resync with moveconfig & use select] Signed-off-by: Tuomas Tynkkynen --- arch/arm/Kconfig | 11 +++ arch/arm/cpu/armv8/Makefile | 2 +-

[U-Boot] [PATCH 1/2] ARM: qemu-arm: Dynamically determine timer frequency

2018-04-11 Thread Tuomas Tynkkynen
After commit 46fc679ede5f69 ("arm: timer: get frequency for arch timer armv7 in cp15 cntfrq") the ARM architected timer driver knows how to determine the timer frequency at runtime by reading the CNTFRQ register, so we don't need to hardcode the timer frequency anymore. Signed

[U-Boot] [PATCH 2/2] serial: Migrate CONFIG_FSL_LINFLEXUART to Kconfig

2018-04-08 Thread Tuomas Tynkkynen
Signed-off-by: Tuomas Tynkkynen --- configs/s32v234evb_defconfig| 1 + drivers/serial/Kconfig | 7 +++ drivers/serial/serial_linflexuart.c | 4 include/configs/s32v234evb.h| 1 - scripts/config_whitelist.txt| 1 - 5 files changed, 8 insertions(+), 6

[U-Boot] [PATCH 1/2] ARM: s32v234evb: Set CONFIG_DM & CONFIG_DM_SERIAL in Kconfig

2018-04-08 Thread Tuomas Tynkkynen
These symbols are declared in Kconfig, so it's wrong to set them in header files. Note that this is not size-neutral - some 'default y' options will now get turned on by Kconfig, such as CONFIG_CMD_DM=y and CONFIG_DM_STDIO=y. Signed-off-by: Tuomas Tynkkynen --- configs/s32v234ev

[U-Boot] [PATCH 3/3] serial: Migrate CONFIG_ARM_DCC to Kconfig

2018-04-07 Thread Tuomas Tynkkynen
Signed-off-by: Tuomas Tynkkynen --- arch/arm/Kconfig| 2 ++ drivers/serial/Kconfig | 5 + include/configs/xilinx_zynqmp.h | 1 - include/configs/zynq-common.h | 2 -- scripts/config_whitelist.txt| 1 - 5 files changed, 7 insertions(+), 4 deletions(-) diff

[U-Boot] [PATCH 2/3] serial: Migrate CONFIG_MCFUART

2018-04-07 Thread Tuomas Tynkkynen
Signed-off-by: Tuomas Tynkkynen --- arch/Kconfig | 1 + drivers/serial/Kconfig | 5 + include/configs/M5208EVBE.h | 1 - include/configs/M52277EVB.h | 1 - include/configs/M5235EVB.h | 1 - include/configs/M5249EVB.h | 1 - include/configs

[U-Boot] [PATCH 1/3] serial: Migrate CONFIG_ARC_SERIAL to Kconfig

2018-04-07 Thread Tuomas Tynkkynen
Signed-off-by: Tuomas Tynkkynen --- arch/arc/Kconfig | 1 + drivers/serial/Kconfig | 7 +++ include/configs/nsim.h | 10 -- scripts/config_whitelist.txt | 1 - 4 files changed, 8 insertions(+), 11 deletions(-) diff --git a/arch/arc/Kconfig b/arch/arc

[U-Boot] Depending on an .o file in other directory in Kbuild?

2018-03-23 Thread Tuomas Tynkkynen
Hi, I finally managed to track down the parallel make issue in helloworld.efi: (previous posting at https://www.mail-archive.com/u-boot@lists.denx.de/msg268726.html): make[2]: *** No rule to make target 'lib/efi_loader/helloworld.efi', needed by '__build'. Stop. The problematic make rule seem

[U-Boot] [PATCH] net: Drop CONFIG_ENC28J60

2018-03-19 Thread Tuomas Tynkkynen
Last user of this driver went away in October 2014 in commit d58a9451e7339ed4 ("ppc/arm: zap EMK boards"). Signed-off-by: Tuomas Tynkkynen --- drivers/net/Makefile | 1 - drivers/net/enc28j60.c | 959 - drivers/net/enc28j

Re: [U-Boot] [PATCH] lan7xxx: Require phylib

2018-03-15 Thread Tuomas Tynkkynen
Hi, On Thu, 15 Mar 2018 15:10:20 +0100 Alexander Graf wrote: > The lan75xx and lan78xx drivers need to drive their phy via the generic > phylib framework. Let's reflect that dependency in Kconfig, so that we > don't get build errors when phylib does not get selected. > > Signed-off-by: Alexande

[U-Boot] [PATCH] tools: Make kwboot build if HOST_TOOLS_ALL=y

2018-03-13 Thread Tuomas Tynkkynen
The kwboot tool for Marvell devices isn't currently being built even if HOST_TOOLS_ALL is set. It doesn't appear to depend on any CONFIG_ options, so it seems appropriate to enable building it here. Signed-off-by: Tuomas Tynkkynen --- tools/Makefile | 1 + 1 file changed, 1 insertio

Re: [U-Boot] [PATCH v2 2/2] bcm283x_pl011: Flush RX queue after setting baud rate

2018-03-09 Thread Tuomas Tynkkynen
++- > 3 files changed, 35 insertions(+), 7 deletions(-) > On a RPi 1, with no enable_uart in config.txt: Tested-by: Tuomas Tynkkynen ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v2 1/2] serial_bcm283x_mu: Flush RX queue after setting baud rate

2018-03-09 Thread Tuomas Tynkkynen
ial/serial_bcm283x_mu.c | 8 +++- > 1 file changed, 7 insertions(+), 1 deletion(-) > On a RPi 1, with no enable_uart in config.txt: Tested-by: Tuomas Tynkkynen ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] [PATCH RFC 2/2] ARM: sunxi: Build u-boot-sunxi-with-spl.bin on ARM64 as well

2018-03-06 Thread Tuomas Tynkkynen
In README.sunxi64 we tell the user how to optionally create u-boot-sunxi-with-spl.bin by manually running cat. Instead, have the build system create the file automatically just like it does for 32-bit sunxi boards. Signed-off-by: Tuomas Tynkkynen --- Makefile | 5 + board

[U-Boot] [PATCH RFC 1/2] ARM: sunxi: Move u-boot-sunxi-with-spl.bin rule to Makefile

2018-03-06 Thread Tuomas Tynkkynen
We're going to need this logic for 64-bit builds as well, so move it out from under arch/arm/cpu/armv7. Signed-off-by: Tuomas Tynkkynen --- Makefile | 5 + arch/arm/cpu/armv7/sunxi/config.mk | 6 -- 2 files changed, 5 insertions(+), 6 deletions(-) delete

[U-Boot] [PATCH RFC 0/2] sunxi: Build u-boot-sunxi-with-spl.bin on ARM64 as well

2018-03-06 Thread Tuomas Tynkkynen
For some reason we seem to have documented how to build u-boot-sunxi-with-spl.bin manually with cat but not have a build system rule for it. Let's fix this to have the file built by default just like it is on 32-bit sunxi boards. Build-tested only. Tuomas Tynkkynen (2): ARM: sunxi: Move u

Re: [U-Boot] Whitelist scripting

2018-03-05 Thread Tuomas Tynkkynen
Hi, On Mon, 5 Mar 2018 14:08:20 -0600 Adam Ford wrote: ... > > What I was hoping to do was help clean the whitelist table by first > searching for #defines that are never used anywhere and/or are dead.I > will be the first person to admit that I am not very good with shell > scripts, so I thoug

[U-Boot] [PATCH 3/3] ARM: Drop unreferenced CONFIG_* defines named after boards

2018-03-05 Thread Tuomas Tynkkynen
CONFIG_PM9G45 CONFIG_SIEMENS_DRACO CONFIG_SIEMENS_PXM2 CONFIG_SIEMENS_RUT CONFIG_SMDKC100 CONFIG_SMDKV310 CONFIG_STM32F4DISCOVERY Most of them are config symbols named after the respective boards which seems to have been a standard practice at some point. Signed-off-by: Tuomas Tynkkynen --- include

[U-Boot] [PATCH 1/3] MIPS: Drop unreferenced CONFIG_* defines

2018-03-05 Thread Tuomas Tynkkynen
The following config symbols are only defined once and never referenced anywhere else: CONFIG_DBAU1X00 CONFIG_PB1X00 Most of them are config symbols named after the respective boards which seems to have been a standard practice at some point. Signed-off-by: Tuomas Tynkkynen --- include

[U-Boot] [PATCH 2/3] ARM: Drop unreferenced CONFIG_* defines named after SoCs

2018-03-05 Thread Tuomas Tynkkynen
: Tuomas Tynkkynen --- include/configs/at91rm9200ek.h | 1 - include/configs/exynos5420-common.h | 2 -- include/configs/omapl138_lcdk.h | 1 - include/configs/stv0991.h | 2 -- scripts/config_whitelist.txt| 4 5 files changed, 10 deletions(-) diff --git a/include

[U-Boot] [PATCH] ARM: qemu-arm: Increase CONFIG_SYS_CBSIZE

2018-03-05 Thread Tuomas Tynkkynen
CONFIG_SYS_CBSIZE determines the maximum length of the kernel command line, and the default value of 256 is too small for booting some Linux images in the wild. Signed-off-by: Tuomas Tynkkynen -- Hoping to get this in 2018.03. --- include/configs/qemu-arm.h | 2 ++ 1 file changed, 2 insertions

[U-Boot] Default CONFIG_SYS_CBSIZE too low

2018-03-05 Thread Tuomas Tynkkynen
Hi, I was playing around with qemu_arm and qemu_arm64 and noticed some images using the distro bootcmd infrastructure failed to boot there due to the buffer for kernel command line arguments (which is determined by CONFIG_SYS_CBSIZE) was too small. I found this odd given the images worked on some

Re: [U-Boot] Support of kernels > 16 MiB on Raspberry Pi

2018-02-23 Thread Tuomas Tynkkynen
+ agraf On Fri, 23 Feb 2018 09:57:30 -0500 Tom Rini wrote: > On Fri, Feb 23, 2018 at 04:47:06PM +0900, Jaehoon Chung wrote: > > On 02/23/2018 04:58 AM, Alexander Kurtz wrote: > > > Hi! > > > > > > I am using U-Boot to boot Debian Buster arm64 (standard kernel with a > > > dracut-based initram

Re: [U-Boot] [PATCH] script: Make the get_default_envs.sh script working with newest u-boot

2018-02-14 Thread Tuomas Tynkkynen
On Wed, 14 Feb 2018 09:50:17 +0100 Lukasz Majewski wrote: > On Wed, 14 Feb 2018 03:25:58 +0200 > Tuomas Tynkkynen wrote: > > > Hi, > > > > On Tue, 13 Feb 2018 23:01:13 +0100 > > Lukasz Majewski wrote: > > > > > This commit fixes several issu

Re: [U-Boot] [PATCH] script: Make the get_default_envs.sh script working with newest u-boot

2018-02-13 Thread Tuomas Tynkkynen
Hi, On Tue, 13 Feb 2018 23:01:13 +0100 Lukasz Majewski wrote: > This commit fixes several issues: > > - After moving env related code to ./env directory the env_common.o file > is no longer present in the system (has been replaced with built-in.o). > > - Use ${OBJCOPY} if available, fallback t

Re: [U-Boot] [PATCH 1/1] fs: fat: avoid useless conversion when calling getcluster

2018-02-13 Thread Tuomas Tynkkynen
Hi, On Tue, 13 Feb 2018 19:18:58 +0100 Heinrich Schuchardt wrote: > Parameter size of function get_cluster() is of type unsigned long. It makes > no sense to convert actsize to int before passing it to get_cluster as > size. > > Signed-off-by: Heinrich Schuchardt > --- > fs/fat/fat.c | 8

[U-Boot] [PATCH 8/8] spi: Migrate CONFIG_CF_SPI to Kconfig

2018-02-06 Thread Tuomas Tynkkynen
Signed-off-by: Tuomas Tynkkynen --- configs/M52277EVB_defconfig | 1 + configs/M52277EVB_stmicro_defconfig | 1 + configs/M54418TWR_defconfig | 1 + configs/M54418TWR_nand_mii_defconfig | 1 + configs/M54418TWR_nand_rmii_defconfig

[U-Boot] [PATCH 6/8] spi: Migrate CONFIG_LPC32XX_SSP to Kconfig

2018-02-06 Thread Tuomas Tynkkynen
Signed-off-by: Tuomas Tynkkynen --- configs/devkit3250_defconfig | 1 + configs/work_92105_defconfig | 1 + drivers/spi/Kconfig | 5 + include/configs/devkit3250.h | 1 - include/configs/work_92105.h | 1 - scripts/config_whitelist.txt | 1 - 6 files changed, 7 insertions(+), 3

[U-Boot] [PATCH 4/8] spi: Migrate CONFIG_MXC_SPI to Kconfig

2018-02-06 Thread Tuomas Tynkkynen
Signed-off-by: Tuomas Tynkkynen --- README| 5 - configs/aristainetos2_defconfig | 1 + configs/aristainetos2b_defconfig | 1 + configs/aristainetos_defconfig| 1 + configs/cgtqmx6eval_defconfig | 1 + configs/cl-som-imx7_defconfig

[U-Boot] [PATCH 7/8] spi: Migrate CONFIG_KIRKWOOD_SPI to Kconfig

2018-02-06 Thread Tuomas Tynkkynen
Signed-off-by: Tuomas Tynkkynen --- arch/arm/mach-kirkwood/include/mach/config.h | 1 - arch/arm/mach-mvebu/include/mach/config.h| 1 - configs/clearfog_defconfig | 1 + configs/controlcenterdc_defconfig| 1 + configs/d2net_v2_defconfig | 1

[U-Boot] [PATCH 5/8] spi: Migrate CONFIG_MPC8XXX_SPI to Kconfig

2018-02-06 Thread Tuomas Tynkkynen
Signed-off-by: Tuomas Tynkkynen --- configs/MPC8349EMDS_defconfig | 1 + configs/ids8313_defconfig | 1 + drivers/spi/Kconfig | 5 + include/configs/MPC8349EMDS.h | 1 - include/configs/ids8313.h | 1 - scripts/config_whitelist.txt | 1 - 6 files changed, 7 insertions

[U-Boot] [PATCH 3/8] spi: Migrate CONFIG_MXS_SPI to Kconfig

2018-02-06 Thread Tuomas Tynkkynen
Signed-off-by: Tuomas Tynkkynen --- configs/bg0900_defconfig| 1 + configs/m28evk_defconfig| 1 + configs/mx28evk_auart_console_defconfig | 1 + configs/mx28evk_defconfig | 1 + configs/mx28evk_nand_defconfig | 1 + configs

[U-Boot] [PATCH 2/8] spi: Migrate CONFIG_SH_QSPI to Kconfig

2018-02-06 Thread Tuomas Tynkkynen
Signed-off-by: Tuomas Tynkkynen --- configs/alt_defconfig| 1 + configs/gose_defconfig | 1 + configs/koelsch_defconfig| 1 + configs/lager_defconfig | 1 + configs/porter_defconfig | 1 + configs/silk_defconfig | 1 + configs/stout_defconfig | 1 + drivers

[U-Boot] [PATCH 0/8] Migrate SPI drivers to Kconfig

2018-02-06 Thread Tuomas Tynkkynen
Hi all, This series migrates all the SPI drivers listed in drivers/spi/Makefile to Kconfig. Nothing else besides the usual moveconfig.py has been done, so please let me know if there's something to improve on. Tuomas Tynkkynen (8): spi: Migrate CONFIG_SH_SPI to Kconfig spi: Mi

[U-Boot] [PATCH 1/8] spi: Migrate CONFIG_SH_SPI to Kconfig

2018-02-06 Thread Tuomas Tynkkynen
Signed-off-by: Tuomas Tynkkynen --- README | 5 - configs/sh7752evb_defconfig | 1 + configs/sh7753evb_defconfig | 1 + configs/sh7757lcr_defconfig | 1 + drivers/spi/Kconfig | 6 ++ include/configs/sh7752evb.h | 1 - include/configs/sh7753evb.h | 1

Re: [U-Boot] [U-Boot, v2, 10/15] dm: mmc: sunxi: Add support for driver model

2018-02-01 Thread Tuomas Tynkkynen
Hi Heinrich, On Wed, 2018-01-31 at 18:08 +0100, Heinrich Schuchardt wrote: > On 07/04/2017 09:31 PM, Simon Glass wrote: > > Add a driver-model version of this driver which mostly uses the > > existing > > code. The old code can be removed once all boards are switched > > over. > > > > Signed-off-

[U-Boot] [PATCH 1/2] fpga: Resync various CONFIG_FPGA_* symbols

2018-01-27 Thread Tuomas Tynkkynen
These are declared in Kconfig, but some #defines have crept in. CONFIG_FPGA CONFIG_FPGA_ALTERA CONFIG_FPGA_CYCLON2 CONFIG_FPGA_SOCFPGA CONFIG_FPGA_XILINX CONFIG_FPGA_ZYNQMPPL Signed-off-by: Tuomas Tynkkynen --- configs/apf27_defconfig | 1 + configs/astro_mcf5373l_defconfig | 2

[U-Boot] [PATCH] powerpc: Drop CONFIG_WALNUT and other related dead code

2018-01-21 Thread Tuomas Tynkkynen
CONFIG_WALNUT was dropped in June 2017 in: commit 98f705c9cefdfd ("powerpc: remove 4xx support") While at it, the related CONFIG_MACH_SPECIFIC and the have_of and _machine variables are unused as well, so drop them too. Signed-off-by: Tuomas Tynkkynen --- arch/powerpc/include/asm/p

  1   2   3   >