Re: [PATCH 3/7] arc: Remove common.h usage

2023-10-13 Thread Alexey Brodkin
Hi Tom, > We can remove common.h from most cases of the code here, and only a few > places need an additional header instead. > > Signed-off-by: Tom Rini > --- > Cc: Alexey Brodkin > Cc: Eugeniy Paltsev > Cc: uboot-snps-...@synopsys.com > --- > arch/arc/lib

Re: [PATCH 4/5] CI: Update to gcc-13.1.0

2023-07-14 Thread Alexey Brodkin
Hi Tom, > As this is the current version of the public cross toolchains we use, > upgrade to this now. > > Suggested-by: Alexey Brodkin > Signed-off-by: Tom Rini > --- > Cc: Heinrich Schuchardt > > Heinrich, at this point is there a newer grub we should be testi

Re: [PATCH] buildman: Switch ARC toolchain to the upstream version

2023-07-13 Thread Alexey Brodkin
ery well in upstream GCC, Binutils, GDB etc. > > > > And so there's no need to use Synopsys forks any longer, thus we remove > > all the references to that form and use upstream components as majority > > of other architectures in U-Boot. > > > > Thanks to

[PATCH] buildman: Switch ARC toolchain to the upstream version

2023-07-07 Thread Alexey Brodkin
so there's no need to use Synopsys forks any longer, thus we remove all the references to that form and use upstream components as majority of other architectures in U-Boot. Thanks to Tom for pointing to that left-over! Signed-off-by: Alexey Brodkin Cc: Simon Glass Cc: Tom Rini ---

Re: [PATCH 02/88] treewide: Correct invalid Kconfig syntax and warnings

2023-02-10 Thread Alexey Brodkin
Hi Tom, Daniel, all, > On 1/27/23 14:45, Tom Rini wrote: > > On Mon, Jan 23, 2023 at 02:59:05PM -0700, Simon Glass wrote: > > > >> In several places a 'select' is used to select a choice, which is not > >> supported by Kconfig. In other places, the filename for the 'source' > >> command is not in

Re: Broken arc toolchain

2021-07-10 Thread Alexey Brodkin
e U-Boot built-in libgcc the same one little-endian toolchain might be safely used for building our big-endian configs equally well. If more info or actions needed, please let me know. -Alexey From: Tom Rini Sent: Saturday, July 10, 2021 11:22 PM To: Simon

Re: [PATCH v4 08/17] board_f: Factor out bdinfo bi_mem{start, size} to setup_bdinfo

2020-07-24 Thread Alexey Brodkin
h/arc/lib/cpu.c > +++ b/arch/arc/lib/cpu.c > @@ -25,13 +25,6 @@ int arch_cpu_init(void) > return 0; > } > > -int arch_early_init_r(void) > -{ > - gd->bd->bi_memstart = CONFIG_SYS_SDRAM_BASE; > - gd->bd->bi_memsize = CONFIG_SYS_SDRAM_SIZE; > - return 0; > -} > - > /* This is a dummy function on arc */ > int dram_init(void) > { For ARC part... Acked-by: Alexey Brodkin

Re: [PATCH v3 08/17] board_f: Introduce board_setup_bdinfo_mem initcall

2020-07-21 Thread Alexey Brodkin
Hi Ovidiu, [snip] > diff --git a/arch/arc/lib/cpu.c b/arch/arc/lib/cpu.c > index 27b5832a0c..ccb7e1b265 100644 > --- a/arch/arc/lib/cpu.c > +++ b/arch/arc/lib/cpu.c > @@ -27,8 +27,6 @@ int arch_cpu_init(void) > > int arch_early_init_r(void) > { > - gd->bd->bi_memstart = CONFIG_SYS_SDRAM

RE: Using gerrit or github for review?

2020-07-13 Thread Alexey Brodkin
Hi Heinrich, > -Original Message- > From: U-Boot On Behalf Of Heinrich Schuchardt > Sent: Monday, July 13, 2020 10:36 PM > To: Simon Glass ; U-Boot Mailing List > > Cc: Tom Rini ; Bin Meng ; Masahiro > Yamada > ; Marek Vasut ; Vignesh > R ; > Michal Simek ; Igor Opaniuk > ; Heiko Sch

RE: Using gerrit or github for review?

2020-07-13 Thread Alexey Brodkin
Hi Simon, > -Original Message- > From: U-Boot On Behalf Of Simon Glass > Sent: Monday, July 13, 2020 9:26 PM > To: U-Boot Mailing List > Cc: Tom Rini ; Bin Meng ; Masahiro > Yamada > ; Heinrich Schuchardt ; > Marek Vasut > ; Vignesh R ; Michal Simek > ; Igor > Opaniuk ; Heiko Schocher

RE: [ANN] U-Boot v2020.07-rc3 released

2020-05-26 Thread Alexey Brodkin
Hi Tom, Wolfgang, > > In message > > you > > wrote: > > > > > > > > I'm going to continue with the every-other-week RC schedule and release > > > > on > > > > July 6th. I'm currently planning to branch -next on June 8th but PRs > > > > can be posted sooner and I'll get them queued up. Thanks

[U-Boot] Please pull ARC fixes for v2020.07-rc3

2020-05-13 Thread Alexey Brodkin
Hi Tom, The following changes since commit 10bca13ea6d9d4b85f80f02c8795227f63240f59: Merge https://gitlab.denx.de/u-boot/custodians/u-boot-usb (2020-05-12 16:20:10 -0400) are available in the Git repository at: g...@gitlab.denx.de:u-boot/custodians/u-boot-arc.git tags/arc-fixes-for-2020.0

RE: [PATCH] BDINFO: ARC: print info about relocations

2020-05-13 Thread Alexey Brodkin
Hi Eugeniy, > -Original Message- > From: Eugeniy Paltsev > Sent: Saturday, April 25, 2020 12:11 AM > To: Alexey Brodkin > Cc: u-boot@lists.denx.de; uboot-snps-...@synopsys.com; Eugeniy Paltsev > > Subject: [PATCH] BDINFO: ARC: print info about relocations

RE: [PATCH v2 17/39] bdinfo: arc: Use the generic bd command

2020-05-12 Thread Alexey Brodkin
Hi Simon, > -Original Message- > From: Simon Glass > Sent: Sunday, May 10, 2020 11:17 PM > To: U-Boot Mailing List > Cc: Bin Meng ; Stefan Roese ; Tom Rini > ; Daniel > Schwierzeck ; Simon Glass ; > Alexey Brodkin > > Subject: [PATCH v2 17/39] bdinfo: a

RE: [PATCH 00/36] Tidy up the 'bd' command.

2020-05-06 Thread Alexey Brodkin
Hi Simon, > -Original Message- > From: Simon Glass > Sent: Tuesday, May 5, 2020 2:17 AM > To: U-Boot Mailing List [snip] > Subject: [PATCH 00/36] Tidy up the 'bd' command. > > The code for the 'bd' command never got the 'generic board' treatment many > years ago when global_data and b

RE: [PATCH 20/36] bdinfo: sh: arc: Drop arch-specific print_bi_mem()

2020-05-06 Thread Alexey Brodkin
ons(+), 15 deletions(-) I guess this entire series is available in the following tree, right? https://gitlab.denx.de/u-boot/custodians/u-boot-dm/-/tree/bd-working In that case I'm very happy with that change as well as removal of the duplicated spaghetti-code - thanks for taking care of that! Acked-by: Alexey Brodkin

RE: [U-Boot] Please pull more ARC changes for v2020.07-rc1

2020-04-27 Thread Alexey Brodkin
Hi Tom, > -Original Message- > From: Tom Rini > Sent: Monday, April 27, 2020 9:11 PM > To: Alexey Brodkin > Cc: u-boot@lists.denx.de; uboot-snps-...@synopsys.com > Subject: Re: [U-Boot] Please pull more ARC changes for v2020.07-rc1 > > On Mon, Apr 27, 2020 at

[U-Boot] Please pull more ARC changes for v2020.07-rc1

2020-04-27 Thread Alexey Brodkin
Hi Tom, The following changes since commit d202f67db0771247de562af5d6a5df778702857b: Merge branch '2020-04-25-master-imports' (2020-04-25 08:20:22 -0400) are available in the Git repository at: g...@gitlab.denx.de:u-boot/custodians/u-boot-arc.git tags/arc-more-fixes-for-2020.07-rc1 for yo

[U-Boot] Please pull ARC changes for v2020.07-rc1

2020-04-16 Thread Alexey Brodkin
Hi Tom, The following changes since commit dba0a6ae1907bbff3ebda06e4874d006f10db1bb: Merge https://gitlab.denx.de/u-boot/custodians/u-boot-x86 (2020-04-16 08:56:37 -0400) are available in the Git repository at: g...@gitlab.denx.de:u-boot/custodians/u-boot-arc.git tags/arc-fixes-for-2020.0

[U-Boot] Please pull last-minute fixes for ARC

2020-03-31 Thread Alexey Brodkin
Hi Tom, The following changes since commit 93330d4ce416208fe202e304e5a18166c57ac569: Prepare v2020.04-rc4 (2020-03-30 19:29:27 -0400) are available in the Git repository at: g...@gitlab.denx.de:u-boot/custodians/u-boot-arc.git tags/arc-last-minute-fixes-for-2020.04 for you to fetch change

RE: [PATCH v2 0/3] ARC: IO: rework IO accessors

2020-03-30 Thread Alexey Brodkin
Hi Tom, > -Original Message- > From: Eugeniy Paltsev > Sent: Monday, March 30, 2020 10:45 PM > To: uboot-snps-...@synopsys.com; Alexey Brodkin > Cc: u-boot@lists.denx.de; Eugeniy Paltsev > Subject: [PATCH v2 0/3] ARC: IO: rework IO accessors > > Fixing of DW

[U-Boot] Please pull ARC changes for v2020.04-rc2

2020-02-12 Thread Alexey Brodkin
. [1] https://www.synopsys.com/cgi-bin/dwarcnsim/req1.cgi ------------ Alexey Brodkin (4): ARC: nSIM: switch from ARC UART to DW UART ARC: nsim_{700|700be|hs38be}_defconfigs: Disable networking ARC: nsim_hs38: Add support of Virtio NET &

[PATCH 3/3 v2] ARC: nsim_hs38: Add support of Virtio NET & BLK

2020-02-12 Thread Alexey Brodkin
Given now nsim_hs38 configuration is usable on QEMU and in QEMU we have Virtio working perfectly fine the next logical step is to add support of supported & known to work net & bkl to this config. Signed-off-by: Alexey Brodkin --- Changes v1 -> v2: * Instead of adding IRQ parent

[PATCH 1/3 v2] ARC: nSIM: switch from ARC UART to DW UART

2020-02-12 Thread Alexey Brodkin
name a few: FPGA-based HAPS boards, QEMU and even ZeBU. Signed-off-by: Alexey Brodkin --- Changes v1 -> v2: * Copyright year bumped to 2020. arch/arc/dts/nsim.dts | 12 +++- configs/nsim_700_defconfig| 8 configs/nsim_700be_defconfig | 8 conf

[PATCH 2/3 v2] ARC: nsim_{700|700be|hs38be}_defconfigs: Disable networking

2020-02-12 Thread Alexey Brodkin
We don't have yet any brc700 or big-enadian platforms with networking support to run this particular configuration. Whenever QEMU for ARC supports arc700 or big-endian targets we may revisit this one. Signed-off-by: Alexey Brodkin --- No changes v1 -> v2. configs/nsim_700_defconfi

[RFC 0/2] Import and use non-atomic bit-ops

2020-01-20 Thread Alexey Brodkin
and switch to its usage arch-by-arch whenever people feel kile cleaning-up their bitops. Alexey Brodkin (2): include: Import non-atomic.h from Linux ARC: Add support of bitops via generic implementation arch/arc/include/asm/bitops.h | 1 + include/asm-generic/bitops/non-atom

[RFC 2/2] ARC: Add support of bitops via generic implementation

2020-01-20 Thread Alexey Brodkin
e to `test_bit' arc-elf32-ld.bfd: .../lib/crypto/pkcs7_parser.c:579: undefined reference to `test_bit' arc-elf32-ld.bfd: lib/built-in.o:.../lib/crypto/pkcs7_parser.c:579: more undefined references to 'test_bit' follow >8-- Signed-off

[RFC 1/2] include: Import non-atomic.h from Linux

2020-01-20 Thread Alexey Brodkin
This header contains implementations of some common bit ops: * __set_bit()/__clear_bit()/__change_bit()/test_bit() * __test_and_set_bit()/__test_and_clear_bit()/__test_and_change_bit() No point in copy-pasting that again & again. Signed-off-by: Alexey Brodkin --- include/asm-generic/bi

[PATCH 1/3] ARC: nSIM: switch from ARC UART to DW UART

2020-01-20 Thread Alexey Brodkin
name a few: FPGA-based HAPS boards, QEMU and even ZeBU. Signed-off-by: Alexey Brodkin --- arch/arc/dts/nsim.dts | 12 +++- configs/nsim_700_defconfig| 8 configs/nsim_700be_defconfig | 8 configs/nsim_hs38_defconfig | 8 configs

[PATCH 0/3] Improvements for ARC simulation platform

2020-01-20 Thread Alexey Brodkin
arly as we did that in the Linux kernel [1]. [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=94b8beb972c524f42078281c9950ed3a946455fa Alexey Brodkin (3): ARC: nSIM: switch from ARC UART to DW UART ARC: nsim_{700|700be|hs38be}_defconfigs: Disable networking

[PATCH 3/3] ARC: nsim_hs38: Add support of Virtio NET & BLK

2020-01-20 Thread Alexey Brodkin
appy. Otherwise it complains like that: >8 w+arch/arc/dts/nsim.dtb: Warning (interrupts_property): /virtio@f010: Missing interrupt-parent >8-------- Signed-off-by: Alexey Brodkin --- arch/arc/Kconfig

[PATCH 2/3] ARC: nsim_{700|700be|hs38be}_defconfigs: Disable networking

2020-01-20 Thread Alexey Brodkin
We don't have yet any brc700 or big-enadian platforms with networking support to run this particular configuration. Whenever QEMU for ARC supports arc700 or big-endian targets we may revisit this one. Signed-off-by: Alexey Brodkin --- configs/nsim_700_defconfig| 1 + co

[PATCH] ARC: Switch to generic accessors

2020-01-20 Thread Alexey Brodkin
significantly reduce maintenance and simplify support of newer architectures. And while at it we add quad-word accessors like readq(), writeq() etc. Signed-off-by: Alexey Brodkin --- arch/arc/include/asm/io.h | 204 +- 1 file changed, 75 insertions

[PATCH] ARC: Don't mess with endianess settings

2020-01-20 Thread Alexey Brodkin
There seem to be not that much sense in explicitly setting endianess flags for the tools as we assume the tool with required endianess is used. I.e. we use LE tools for building for LE targets and BE tools for BE targets. Signed-off-by: Alexey Brodkin --- arch/arc/config.mk | 10 -- 1

[PATCH 3/3] ARC: nsim_hs38: Add support of Virtio NET & BLK

2019-12-26 Thread Alexey Brodkin
Given now nsim_hs38 configuration is usable on QEMU and in QEMU we have Virtio working perfectly fine the next logical step is to add support of supported & known to work net & bkl to this config. Signed-off-by: Alexey Brodkin --- arch/arc/Kconfig | 4 ++-- arch

[PATCH 2/3] ARC: nsim_{700|700be|hs38be}_defconfigs: Disable networking

2019-12-26 Thread Alexey Brodkin
We don't have yet any brc700 or big-enadian platforms with networking support to run this particular configuration. Whenever QEMU for ARC supports arc700 or big-endian targets we may revisit this one. Signed-off-by: Alexey Brodkin --- configs/nsim_700_defconfig| 1 + co

[PATCH 0/3] ARC nSIM (AKA virtual & prototyping platform) updates

2019-12-26 Thread Alexey Brodkin
In this small series we refubrish olde good nSIM configs & platform so that it no uses standard 16650 (in fact DesignWare) UART and little-endian HS version also gets Virtio support (Net & BLK) for use with QEMU. Alexey Brodkin (3): ARC: nSIM: switch from ARC UART to DW UART ARC: n

[PATCH 1/3] ARC: nSIM: switch from ARC UART to DW UART

2019-12-26 Thread Alexey Brodkin
name a few: FPGA-based HAPS boards, QEMU and even ZeBU. Signed-off-by: Alexey Brodkin --- arch/arc/dts/nsim.dts | 12 +++- configs/nsim_700_defconfig| 8 configs/nsim_700be_defconfig | 8 configs/nsim_hs38_defconfig | 8 configs

RE: [PATCH] ARC: enable unit tests on development platforms

2019-12-04 Thread Alexey Brodkin
Hi Eugeniy, > > From: Eugeniy Paltsev > Sent: Friday, November 8, 2019 18:31 > To: uboot-snps-...@synopsys.com; Alexey Brodkin > Cc: u-boot@lists.denx.de; Eugeniy Paltsev > Subject: [PATCH] ARC: enable unit tests on development platform

[U-Boot] Please pull ARC fixes for v2020.01-rc2

2019-11-01 Thread Alexey Brodkin
eripherals like USB etc. -------- Alexey Brodkin (3): arc: emsdp: Increase max FAT cluster size arc: emsdp/iotdk: Switch to DM_MMC arc: emsdp: docs: Prefer Degilent over Opella-XD Eugeniy Paltsev (3): ARC: HSDK: int

[U-Boot] [PATCH v3] arc: emsdp/iotdk: Switch to DM_MMC

2019-10-09 Thread Alexey Brodkin
Somehow EMSDP & IoT DK boards were skipped on ARC boads conversion to DM MMC. So doing it now. Signed-off-by: Alexey Brodkin --- Changes v2 -> v3: * Fixed SDIO bus interface unit clock (BIU) According to the documentation SDIO BIU clock is just "apb_clk" which is 50 MHz

[U-Boot] [PATCH] arc: emsdp: docs: Prefer Degilent over Opella-XD

2019-10-09 Thread Alexey Brodkin
on MDB's command line example. Signed-off-by: Alexey Brodkin --- board/synopsys/emsdp/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/synopsys/emsdp/README b/board/synopsys/emsdp/README index 034062e397..036554c4d5 100644 --- a/board/synopsys/emsdp/README

[U-Boot] [PATCH v2] arc: emsdp/iotdk: Switch to DM_MMC

2019-10-08 Thread Alexey Brodkin
Somehow EMSDP & IoT DK boards were skipped on ARC boads conversion to DM MMC. So doing it now. Signed-off-by: Alexey Brodkin --- Changes v1 -> v2: * FIFO size on IoTDK is 128 bytes as compared to 256 on EM SDP. That gave us timeouts on data read with some cards. Fixed now. arch/

[U-Boot] [PATCH] arc: emsdp: Increase max FAT cluster size

2019-10-08 Thread Alexey Brodkin
Some especially large SD-cards come from stock formatted with larger FAT cluster size so to accommodate those we just increase what we expect to have here in U-Boot given we have a plenty of space on EM SDP (16 MiB). Signed-off-by: Alexey Brodkin --- configs/emsdp_defconfig | 2 +- 1 file

[U-Boot] [PATCH] arc: emsdp/iotdk: Switch to DM_MMC

2019-10-08 Thread Alexey Brodkin
Somehow EMSDP & IoT DK boards were skipped on ARC boads conversion to DM MMC. So doing it now. Signed-off-by: Alexey Brodkin --- arch/arc/dts/emsdp.dts | 23 ++ arch/arc/dts/iot_devkit.dts| 22 ++ board/synopsys/emsdp/ems

Re: [U-Boot] [PATCH] disk: part_dos: Allocate at least one block size for mbr

2019-09-04 Thread Alexey Brodkin
Hi Faiz, > -Original Message- > From: Faiz Abbas > Sent: Wednesday, September 4, 2019 5:40 PM > To: u-boot@lists.denx.de > Cc: tr...@konsulko.com; Alexey Brodkin ; > paule...@forallsecure.com; > faiz_ab...@ti.com > Subject: [PATCH] disk: part_dos: Allocate at

Re: [U-Boot] [PATCH] Revert "part: Allocate only one legacy_mbr buffer"

2019-09-04 Thread Alexey Brodkin
Hi Faiz, > -Original Message- > From: Alexey Brodkin > Sent: Wednesday, September 4, 2019 4:23 PM > To: Faiz Abbas > Cc: paule...@forallsecure.com; tr...@konsulko.com; u-boot@lists.denx.de > Subject: RE: [PATCH] Revert "part: Allocate only one legacy_m

Re: [U-Boot] [PATCH] Revert "part: Allocate only one legacy_mbr buffer"

2019-09-04 Thread Alexey Brodkin
Hi Faiz, > -Original Message- > From: Faiz Abbas > Sent: Wednesday, September 4, 2019 4:09 PM > To: Alexey Brodkin > Cc: paule...@forallsecure.com; tr...@konsulko.com; u-boot@lists.denx.de > Subject: Re: [PATCH] Revert "part: Allocate only one legacy_mbr buffer&q

Re: [U-Boot] [PATCH] Revert "part: Allocate only one legacy_mbr buffer"

2019-09-04 Thread Alexey Brodkin
That part I don't quite understand. What's being used, where and how? And what's the problem with dynamic allocation of the buffer for MBR? [1] https://elinux.org/images/d/d6/U-Boot-Bootloader-for-IoT-Platform-Alexey-Brodkin-Synopsys-2.pdf -Alexey ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH] Revert "part: Allocate only one legacy_mbr buffer"

2019-09-04 Thread Alexey Brodkin
Hi Faiz, > -Original Message- > From: Faiz Abbas > Sent: Wednesday, September 4, 2019 2:44 PM > To: Alexey Brodkin > Cc: paule...@forallsecure.com; tr...@konsulko.com; u-boot@lists.denx.de > Subject: Re: [PATCH] Revert "part: Allocate only one legacy_mbr buffer&q

Re: [U-Boot] [PATCH] Revert "part: Allocate only one legacy_mbr buffer"

2019-09-04 Thread Alexey Brodkin
Hi Faiz, > -Original Message- > From: Faiz Abbas > Sent: Wednesday, September 4, 2019 12:22 PM > To: u-boot@lists.denx.de > Cc: paule...@forallsecure.com; faiz_ab...@ti.com; Alexey Brodkin > ; > tr...@konsulko.com > Subject: [PATCH] Revert "part: Alloca

Re: [U-Boot] [RFC PATCH] net: designware: drop compatible altr, socfpga-stmmac

2019-09-03 Thread Alexey Brodkin
Hi Joe, > -Original Message- > From: Joe Hershberger > Sent: Wednesday, September 4, 2019 1:10 AM > To: Alexey Brodkin > Cc: Ralph Siemsen ; Joseph Hershberger > ; u- > b...@lists.denx.de; linux-snps-...@lists.infradead.org; Eugeniy Paltsev > > Subject: R

Re: [U-Boot] [PATCH] mmc: dw_mmc: fix timeout calculate method

2019-09-03 Thread Alexey Brodkin
H Tom, [snip] > > > This is the patch with problem, and here is the link on patchwork: > > > https://patchwork.ozlabs.org/patch/1146845/ > > > > Please find my fixes here: > > https://patchwork.ozlabs.org/patch/1156541/ > > https://patchwork.ozlabs.org/patch/1156617/ > > > > Tom do we want https:

[U-Boot] Please pull ARC fixes for 2019.10-rc4

2019-09-03 Thread Alexey Brodkin
ed as well. -------- Alexey Brodkin (3): arc: emsdp: Add initialization of PSRAM arc: libgcc: Import __udivdi3 & __udivmoddi4 to allow 64-bit division arc: emsdp: Add more platform-specific compiler options arch/arc/lib/libgcc2.

Re: [U-Boot] [PATCH] mmc: dw_mmc: fix timeout calculate method

2019-09-02 Thread Alexey Brodkin
Hi Kever, > -Original Message- > From: Kever Yang > Sent: Monday, September 2, 2019 11:05 AM > To: Alexey Brodkin > Cc: tr...@konsulko.com; eugeniy.palt...@synopsys.com; Simon Glass > ; Peng Fan > ; u-boot@lists.denx.de > Subject: Re: [PATCH] mmc: dw_mmc: fix

[U-Boot] [PATCH] arc: emsdp: Add more platform-specific compiler options

2019-09-02 Thread Alexey Brodkin
unit * Shorter instructions (code density) This among other improvements allows to compile code with 64-bit divisions, see [1]. [1] https://patchwork.ozlabs.org/patch/1156541/ Signed-off-by: Alexey Brodkin Cc: Kever Yang --- board/synopsys/emsdp/config.mk | 2 ++ 1 file changed, 2 inser

Re: [U-Boot] [PATCH] arc: libgcc: Import __udivdi3 & __udivmoddi4 to allow 64-bit division

2019-09-02 Thread Alexey Brodkin
Hi, > -Original Message- > From: Alexey Brodkin > Sent: Monday, September 2, 2019 12:43 PM > To: u-boot@lists.denx.de > Cc: uboot-snps-...@synopsys.com; linux-snps-...@lists.infradead.org; Alexey > Brodkin > ; Kever Yang > Subject: [PATCH] arc: libgcc: Import

[U-Boot] [PATCH] arc: libgcc: Import __udivdi3 & __udivmoddi4 to allow 64-bit division

2019-09-02 Thread Alexey Brodkin
irror/gcc/commit/5d8723600bc0eed41226b5a6785bc02a053b45d5 Signed-off-by: Alexey Brodkin Cc: Kever Yang --- arch/arc/lib/libgcc2.c | 75 ++ 1 file changed, 75 insertions(+) diff --git a/arch/arc/lib/libgcc2.c b/arch/arc/lib/libgcc2.c index b92a8

Re: [U-Boot] [PATCH] mmc: dw_mmc: fix timeout calculate method

2019-08-30 Thread Alexey Brodkin
Hi Kever, [snip] > I think this tree does not including this patch, Peng drop it because of > this issue, > so you need to apply this patch in your branch to reproduce the problem. > I have send out V2 patch for this fix with only using 32bit variable Could you please refer me to the problemati

Re: [U-Boot] [PATCH] mmc: dw_mmc: fix timeout calculate method

2019-08-29 Thread Alexey Brodkin
Hi Kever, > -Original Message- > From: Kever Yang > Sent: Thursday, August 29, 2019 10:17 AM > To: Peng Fan ; u-boot@lists.denx.de > Cc: tr...@konsulko.com; eugeniy.palt...@synopsys.com; Alexey Brodkin > ; Simon > Glass > Subject: Re: [PATCH] mmc: dw_mmc: fix

[U-Boot] [PATCH] arc: emsdp: Add initialization of PSRAM

2019-08-29 Thread Alexey Brodkin
If the "Page Mode" is not enabled on the device, read operations from PSRAM may result in incorrect data. Signed-off-by: Alexey Brodkin --- board/synopsys/emsdp/emsdp.c | 37 + configs/emsdp_defconfig | 1 + 2 files changed, 38 insertions(+)

Re: [U-Boot] [RFC PATCH] net: designware: drop compatible altr, socfpga-stmmac

2019-08-20 Thread Alexey Brodkin
Hi Ralph, > -Original Message- > From: Ralph Siemsen > Sent: Monday, August 19, 2019 9:43 PM > To: u-boot@lists.denx.de; Joe Hershberger ; Alexey > Brodkin > ; Vlad Zakharov > Cc: Ralph Siemsen > Subject: [RFC PATCH] net: designware: drop compatible altr,socf

Re: [U-Boot] [PATCH v1 4/5] CONFIG_SYS_[DI]CACHE_OFF: convert to Kconfig

2019-04-18 Thread Alexey Brodkin
| 8 ++-- Even though I'm ok with ARC changes (which are just rephrases in help message) I'm wondering if we now may finally move both items (for D$ & I$) to a higher level to reduce duplication? Acked-by: Alexey Brodkin ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v1 5/5] CONFIG_SPL_SYS_[DI]CACHE_OFF: add

2019-04-18 Thread Alexey Brodkin
| 4 ++-- For ARC part... Acked-by: Alexey Brodkin ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [uboot-snps-arc] ARC changes for 2019.07

2019-04-18 Thread Alexey Brodkin
Hi Tom, > -Original Message- > From: Tom Rini > Sent: Thursday, April 18, 2019 7:21 PM > To: Alexey Brodkin > Cc: uboot-snps-...@synopsys.com; u-boot@lists.denx.de > Subject: Re: [uboot-snps-arc] [U-Boot] ARC changes for 2019.07 > > On Thu, Apr 18, 2019 at

[U-Boot] ARC changes for 2019.07

2019-04-18 Thread Alexey Brodkin
Hi Tom, The following changes since commit 75ce8c938d39bd22460be66e6bf318bd2410c17b: Merge tag 'u-boot-imx-20190415' of git://git.denx.de/u-boot-imx (2019-04-15 07:31:14 -0400) are available in the Git repository at: git://git.denx.de/u-boot-arc.git tags/arc-for-2019.07 for you to fetch c

[U-Boot] Please pull ARC last minute changes for 2019.04

2019-03-28 Thread Alexey Brodkin
s://travis-ci.org/abrodkin/u-boot/builds/512041342 -------- Alexey Brodkin (1): hsdk: readme: Suggest getting pyelftools with pip Eugeniy Paltsev (1): ARC: AXS10x: drop NAND support board/synopsys/axs10x/Makefile | 1 - boar

[U-Boot] [PATCH] hsdk: readme: Suggest getting pyelftools with pip

2019-02-18 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin Suggested-by: Yunir Salimzyanov --- board/synopsys/hsdk/README | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/board/synopsys/hsdk/README b/board/synopsys/hsdk/README index e29a6a1727..9155f17c6e 100644 --- a/board/synopsys/hsdk/README

[U-Boot] Please pull ARC changes

2019-01-24 Thread Alexey Brodkin
ARC Most notable are: * Move of ENV_SIZE/ENV_OFFSET to Kconfig * Fix with private structure allocation for arc_uart * Definition of CONFIG_SYS_CACHELINE_SIZE useful for building drivers -------- Alexey Brodkin (5): serial:

[U-Boot] [PATCH] ARC: cache: define CONFIG_SYS_CACHELINE_SIZE as ARCH_DMA_MINALIGN

2019-01-22 Thread Alexey Brodkin
Even though we don't use CONFIG_SYS_CACHELINE_SIZE in ARC-specific code it is used a lot in different drivers for alignment purposes. So we define it and make much more drivers at least compilable for ARC. Signed-off-by: Alexey Brodkin --- arch/arc/include/asm/cache.h | 3 +++ 1 file ch

[U-Boot] [PATCH] ARC: Fix iteration in arc_xx_version()

2019-01-22 Thread Alexey Brodkin
"i" gets incremented before we're entering loop body and effectively we iterate from 1 to 8 instead of 0 to 7. This way we: a) Skip the first line of struct hs_versions b) Go over it and access memory beyond the structure Signed-off-by: Alexey Brodkin --- arch/arc/lib/cpu.c |

[U-Boot] [PATCH] serial_arc: Allocate buffer for private data

2019-01-22 Thread Alexey Brodkin
Apparently we never allocated buffer for arc_serial_platdata which for some reason never caused problems when executed in nSIM. But in Qemu this causes expected problems. Signed-off-by: Alexey Brodkin --- drivers/serial/serial_arc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers

[U-Boot] [PATCH v2] ARC: Move ENV_SIZE and ENV_OFFSET to Kconfig

2019-01-16 Thread Alexey Brodkin
Join the party of some ARM boards and drop more items from include/configs/xxx.h. Signed-off-by: Alexey Brodkin Cc: Michal Simek Cc: Simon Glass Cc: Tom Rini --- Changes in v2: * Default ENV_OFFSET defined specially for ARC but not all configs/emsdp_defconfig | 1 + configs

Re: [U-Boot] [PATCH] ARC: Move ENV_SIZE and ENV_OFFSET to Kconfig

2019-01-16 Thread Alexey Brodkin
Hi Tom, > -Original Message- > From: Tom Rini > Sent: Wednesday, January 16, 2019 7:25 PM > To: Alexey Brodkin > Cc: u-boot@lists.denx.de; uboot-snps-...@synopsys.com; Michal Simek > ; Simon > Glass > Subject: Re: [PATCH] ARC: Move ENV_SIZE and ENV_OFFSET to

Re: [U-Boot] [PATCH] ARC: Move ENV_SIZE and ENV_OFFSET to Kconfig

2019-01-16 Thread Alexey Brodkin
Hi Tom, > -Original Message- > From: Tom Rini > Sent: Wednesday, January 16, 2019 7:19 PM > To: Alexey Brodkin > Cc: u-boot@lists.denx.de; uboot-snps-...@synopsys.com; Michal Simek > ; Simon > Glass > Subject: Re: [PATCH] ARC: Move ENV_SIZE and ENV_OFFSET to

[U-Boot] [PATCH] ARC: Move ENV_SIZE and ENV_OFFSET to Kconfig

2019-01-16 Thread Alexey Brodkin
Join the party of some ARM boards and drop more items from include/configs/xxx.h. Signed-off-by: Alexey Brodkin Cc: Michal Simek Cc: Simon Glass Cc: Tom Rini --- configs/emsdp_defconfig | 1 + configs/iot_devkit_defconfig | 1 + configs/tb100_defconfig | 1 + env/Kconfig

Re: [U-Boot] [PATCH v3 01/10] Convert CONFIG_BOARD_TYPES to Kconfig

2019-01-16 Thread Alexey Brodkin
Hi Simon, > -Original Message- > From: Simon Glass > Sent: Saturday, January 12, 2019 4:37 AM > To: U-Boot Mailing List > Cc: Simon Glass ; Lukasz Majewski ; Mario > Six ; > Michal Simek ; Alexey Brodkin > ; Eugeniy Paltsev > ; Jaehoon Chung ; Marek >

Re: [U-Boot] [PATCH] serial: Get rid of CONFIG_DW_SERIAL

2019-01-14 Thread Alexey Brodkin
Hi Simon, Tom, > -Original Message- > From: Simon Glass [mailto:s...@chromium.org] > Sent: Thursday, January 10, 2019 3:57 PM > To: Alexey Brodkin > Cc: U-Boot Mailing List ; uboot-snps-...@synopsys.com; > Tom Rini > ; Adam Ford ; Mario Six > ; Tuomas Tynkkynen

Re: [U-Boot] [PATCH v1 3/4] serial: add an of-platdata driver for "snps, dw-apb-uart"

2019-01-11 Thread Alexey Brodkin
Hi Simon, > -Original Message- > From: Simon Goldschmidt [mailto:simon.k.r.goldschm...@gmail.com] > Sent: Friday, January 11, 2019 11:41 AM > To: Alexey Brodkin > Cc: Patrice Chotard ; Simon Glass > ; Anup Patel > ; Lokesh Vutla ; Patrick Delaunay >

Re: [U-Boot] [PATCH v1 3/4] serial: add an of-platdata driver for "snps, dw-apb-uart"

2019-01-11 Thread Alexey Brodkin
Hi Simon, [snip] > >> +config DESIGNWARE_SERIAL > >> + bool "DesignWare UART support" > >> + depends on DM_SERIAL && SPL_OF_PLATDATA > > > > Might be a bit naïve question but why depend on SPL_OF_PLATDATA only? > > What about CONFIG_OF_EMBED? Ok I completely forgot that standard ns16550 driver

Re: [U-Boot] [PATCH v1 3/4] serial: add an of-platdata driver for "snps, dw-apb-uart"

2019-01-09 Thread Alexey Brodkin
Hi Simon, > -Original Message- > From: Simon Goldschmidt [mailto:simon.k.r.goldschm...@gmail.com] > Sent: Tuesday, January 8, 2019 12:14 AM > To: Marek Vasut > Cc: Simon Goldschmidt ; Patrice Chotard > ; > Simon Glass ; Anup Patel ; Lokesh > Vutla ; > Alexey

[U-Boot] [PATCH] serial: Get rid of CONFIG_DW_SERIAL

2019-01-09 Thread Alexey Brodkin
CONFIG_DW_SERIAL is no longer used anywhere so let's forget about it. Signed-off-by: Alexey Brodkin Cc: Tom Rini Cc: Adam Ford Cc: Mario Six Cc: Tuomas Tynkkynen Cc: Alex Kiernan Cc: Simon Glass Cc: "Jörg Krause" Cc: Stephen Warren --- include/configs/axs10x.h | 1 -

Re: [U-Boot] [PATCH 2/4] Convert CONFIG_BOARD_TYPES to Kconfig

2018-12-09 Thread Alexey Brodkin
Hi Simon, On Sun, 2018-12-09 at 18:44 -0700, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_BOARD_TYPES > > Signed-off-by: Simon Glass > --- > > arch/arm/mach-exynos/Kconfig | 8 > configs/odroid-xu3_defconfig | 2 +- > configs/odroid_defconfig | 2 +- >

[U-Boot] [PATCH] travis: Bump ARC tools to arc-2018.09

2018-12-03 Thread Alexey Brodkin
Build tested in Travis, see: https://travis-ci.org/abrodkin/u-boot/jobs/462808237 Signed-off-by: Alexey Brodkin --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index a061f02399c0..ed07d817fa47 100644 --- a/.travis.yml +++ b

Re: [U-Boot] [PATCH v3 1/5] Kconfig: Migrate BOUNCE_BUFFER

2018-12-03 Thread Alexey Brodkin
Hi Philipp, On Mon, 2018-12-03 at 13:38 +0100, Philipp Tomsich wrote: Alexey, On 03.12.2018, at 13:35, Alexey Brodkin mailto:alexey.brod...@synopsys.com>> wrote: Hi Philipp, On Mon, 2018-12-03 at 13:32 +0100, Philipp Tomsich wrote: Alexey, On 03.12.2018, at 12:17, Alexey B

Re: [U-Boot] [PATCH v3 1/5] Kconfig: Migrate BOUNCE_BUFFER

2018-12-03 Thread Alexey Brodkin
Hi Philipp, On Mon, 2018-12-03 at 13:32 +0100, Philipp Tomsich wrote: Alexey, On 03.12.2018, at 12:17, Alexey Brodkin mailto:alexey.brod...@synopsys.com>> wrote: Hi Philipp, On Fri, 2018-11-30 at 22:13 +0100, Philipp Tomsich wrote: The bounce buffer is used by a few drivers (most of t

Re: [U-Boot] [PATCH v3 5/5] arc: select BOUNCE_BUFFER for CMD_NAND on AXS10x

2018-12-03 Thread Alexey Brodkin
Hi Philipp, On Mon, 2018-12-03 at 13:28 +0100, Philipp Tomsich wrote: Alexey, On 03.12.2018, at 12:20, Alexey Brodkin mailto:alexey.brod...@synopsys.com>> wrote: Hi Philipp, On Fri, 2018-11-30 at 22:13 +0100, Philipp Tomsich wrote: The NAND driver of AXS10x depends on the availability

Re: [U-Boot] [PATCH v3 1/5] Kconfig: Migrate BOUNCE_BUFFER

2018-12-03 Thread Alexey Brodkin
Hi Philipp, On Fri, 2018-11-30 at 22:13 +0100, Philipp Tomsich wrote: > The bounce buffer is used by a few drivers (most of the MMC drivers) > to overcome limitations in their respective DMA implementation. > > This moves the configuration to Kconfig and makes it user-selectable > (even though it

[U-Boot] Please pull ARC changes

2018-12-03 Thread Alexey Brodkin
known ARC core templates 2. Print CPU frequency for all ARC boards 3. Add more board-specific info Alexey Brodkin (6): arc: emsdp: Bump RAM size to 16 Mb ARC: Improve identification of ARC cores arc: Get rid of

Re: [U-Boot] [PATCH v3 5/5] arc: select BOUNCE_BUFFER for CMD_NAND on AXS10x

2018-12-03 Thread Alexey Brodkin
Hi Philipp, On Fri, 2018-11-30 at 22:13 +0100, Philipp Tomsich wrote: > The NAND driver of AXS10x depends on the availability of the bounce > buffer. As the NAND driver is gated by CMD_NAND only, we need to > select BOUNCE_BUFFER conditionally (on CMD_NAND) for TARGET_AXS101 and > TARGET_AXS103.

Re: [U-Boot] [PATCH 1/6] Kconfig: Migrate BOUNCE_BUFFER

2018-11-30 Thread Alexey Brodkin
Hi Philipp, > -Original Message- > From: Philipp Tomsich [mailto:philipp.toms...@theobroma-systems.com] > Sent: Friday, November 30, 2018 2:40 PM > To: u-boot@lists.denx.de > Cc: Tom Rini ; Philipp Tomsich > ; Mario Six ; > Michal Simek ; Simon Glass ; > Ma

[U-Boot] [PATCH 4/5] arc: emsdp: Refactor register and bit accesses

2018-11-26 Thread Alexey Brodkin
Instead of "base + offset" define all registers right away and access them later via direct defines. Generate bit masks with "BIT" macro. Signed-off-by: Alexey Brodkin --- board/synopsys/emsdp/emsdp.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-)

[U-Boot] [PATCH 5/5] arc: devboards: Implement checkboard()

2018-11-26 Thread Alexey Brodkin
This allows us to print nice board name on boot. Signed-off-by: Alexey Brodkin --- board/synopsys/axs10x/axs10x.c | 8 board/synopsys/emsdp/emsdp.c | 10 ++ board/synopsys/hsdk/hsdk.c | 6 ++ 3 files changed, 24 insertions(+) diff --git a/board/synopsys/axs10x

[U-Boot] [PATCH 2/5] arc: Get rid of board-specific print_cpuinfo()

2018-11-26 Thread Alexey Brodkin
Since we now do advanced CPU identification in generic ARC code there's no need to have per-board hardcoded data. Signed-off-by: Alexey Brodkin --- board/synopsys/hsdk/hsdk.c | 8 board/synopsys/iot_devkit/iot_devkit.c | 10 -- 2 files changed, 18 dele

[U-Boot] [PATCH 3/5] arc: emsdp: Read real CPU clock value from hardware

2018-11-26 Thread Alexey Brodkin
to "(void *)". Signed-off-by: Alexey Brodkin --- board/synopsys/emsdp/emsdp.c | 42 +--- 1 file changed, 39 insertions(+), 3 deletions(-) diff --git a/board/synopsys/emsdp/emsdp.c b/board/synopsys/emsdp/emsdp.c index b5ec7f17ec1b..5ab44353746b 100644 -

[U-Boot] [PATCH 1/5] ARC: Improve identification of ARC cores

2018-11-26 Thread Alexey Brodkin
L1 I$ fpr simplicity) - XY-memory - DSP extensions etc. 2. Identify ARC subsystems 3. Print core clock frequency Signed-off-by: Alexey Brodkin --- arch/arc/include/asm/arcregs.h | 25 - arch/arc/lib/cpu.c | 200 + 2 files changed, 204 inserti

[U-Boot] [PATCH 0/5] Improve identification of ARC cores

2018-11-26 Thread Alexey Brodkin
Print more complex information about ARC core we're running on. This includes smarts for ARC core template detection, CPU clock frequency, human-readable board·description etc. Alexey Brodkin (5): ARC: Improve identification of ARC cores arc: Get rid of board-specific print_cpuinfo()

[U-Boot] [PATCH] arc: emsdp: Bump RAM size to 16 Mb

2018-11-26 Thread Alexey Brodkin
On v2 boards that will hit real stock we'll have 16 Mb of RAM. Note on v1 boards (if anybody ever get one out of trash bin) this leads to U-Boot execution freeze in the middle ofthe relocation so don't be surprised. Signed-off-by: Alexey Brodkin --- include/configs/emsdp.h | 2

[U-Boot] Please pull ARC changes

2018-11-01 Thread Alexey Brodkin
for IoTDK -------- Alexey Brodkin (2): emdk->emsdp: Rename board iot_dk: Add README arch/arc/Kconfig | 6 +++--- arch/arc/dts/Makefile | 2 +- arch/arc/dts/{emdk.dts

[U-Boot] [PATCH] iot_dk: Add README

2018-10-31 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin --- board/synopsys/iot_devkit/README | 145 +++ 1 file changed, 145 insertions(+) create mode 100644 board/synopsys/iot_devkit/README diff --git a/board/synopsys/iot_devkit/README b/board/synopsys/iot_devkit/README new file mode 100644

  1   2   3   4   5   6   7   8   >