Re: Using USB Mass Storage on AM335X

2020-10-31 Thread Otavio Salvador
Hello all, Em qui., 29 de out. de 2020 às 19:19, Otavio Salvador escreveu: ... > Does anyone know why selecting CONFIG_CMD_USB_MASS_STORAGE=y causes > the board to not boot anymore? We found it; setting CONFIG_SYS_MALLOC_F_LEN=0x2000 it works :-) -- Otavio Salvador

[PATCH 5/6] Nokia RX-51: Make onenand working

2020-10-31 Thread Pali Rohár
From: Ivaylo Dimitrov set_gpmc_cs0() sets wrong timings and size for Nokia N900 onenand flash. Fix that by setting the correct timings and size from the board code Signed-off-by: Ivaylo Dimitrov Tested-by: Pali Rohár --- board/nokia/rx51/rx51.c | 15 +++ board/nokia/rx51/rx51.h |

[PATCH 6/6] mtd: OneNAND: Set MTD type

2020-10-31 Thread Pali Rohár
onenand_probe() function is missing to set mtd->type. So set same type as which sets onenand Linux kernel driver. After this change 'mtd list' prints correct type instead of 'Unknown'. Signed-off-by: Pali Rohár --- drivers/mtd/onenand/onenand_base.c | 1 + 1 file changed, 1 insertion(+) diff

[PATCH 4/6] Nokia RX-51: Update test script

2020-10-31 Thread Pali Rohár
Include emmc/nand suffix into bootmenu script names and fix leaking sleep processes when asynchronously waiting for them. 'wait -n' is not provided by /bin/sh, so run script under bash. Signed-off-by: Pali Rohár --- test/nokia_rx51_test.sh | 27 +++ 1 file changed, 15

[PATCH 3/6] Nokia RX-51: During init disable lp5523 led instead of resetting it

2020-10-31 Thread Pali Rohár
After commit d5243359e1af ("OMAP24xx I2C: Add support for set-speed") U-Boot is unstable to reset lp5523 led. That commit added pooling for i2c poll ARDY bit which apparently is never set. It is not known what is happening here. Purpose of resetting lp5523 led in Nokia RX-51 code is just to turn

[PATCH 2/6] Nokia RX-51: Fix crashing in U-Boot mmc function omap_hsmmc_stop_clock()

2020-10-31 Thread Pali Rohár
After commit 04a2ea248f58 ("mmc: disable UHS modes if Vcc cannot be switched on and off") U-Boot started crashing on Nokia RX-51 while initializing mmc and caused reboot loop. It looks like that some clocks were not enabled and this patch fixes U-Boot mmc crash. Signed-off-by: Pali Rohár Cc:

[PATCH 1/6] Nokia RX-51: Remove old comments from configs/nokia_rx51.h file

2020-10-31 Thread Pali Rohár
These comments are relict for old, now removed config options. So remove these obsoleted comments too. Signed-off-by: Pali Rohár --- include/configs/nokia_rx51.h | 10 -- 1 file changed, 10 deletions(-) diff --git a/include/configs/nokia_rx51.h b/include/configs/nokia_rx51.h index

Re: [PATCH] Revert "mmc: disable UHS modes if Vcc cannot be switched on and off"

2020-10-31 Thread Pali Rohár
Ivo found workaround for this issue. I will send a patch for it. On Friday 25 September 2020 00:03:24 Pali Rohár wrote: > Hello Faiz! Do you need any other details for this issue? > > On Friday 14 August 2020 22:16:00 Pali Rohár wrote: > > On Tuesday 11 August 2020 18:27:23 Pali Rohár wrote: > >

[PATCH 2/2] mtd: spi-nor-ids: Add Gigadevice GD25LQ64C

2020-10-31 Thread Alper Nebi Yasak
Add GD25LQ24C 64Mbit chip to spi-nor id table. This chip is used on rk3399-gru-kevin: => sf probe SF: Detected gd25lq64c with page size 256 Bytes, erase size 4 KiB, total 8 MiB => sf erase 0x60 0x20 SF: 2097152 bytes @ 0x60 Erased: OK => sf test 0x70 0x1000

[PATCH 1/2] mtd: spi-nor: Correct spi-nor-ids.c license to GPL-2.0

2020-10-31 Thread Alper Nebi Yasak
The contents of this file were introduced in commit 7aeedac01534 ("mtd: spi: Port SPI NOR framework from Linux") to spi-nor-core.c under GPL-2.0; then moved with some modifications into a new spi-nor-ids.c file in commit 778572d7cb1e ("mtd: spi: Add lightweight SPI flash stack for SPL") which

Re: Pull request: u-boot-rockchip-20201031

2020-10-31 Thread Tom Rini
6456c4e14d4d140e419c4c5999fb2f8: > > Merge https://gitlab.denx.de/u-boot/custodians/u-boot-cfi-flash (2020-10-08 > 10:20:53 -0400) > > are available in the Git repository at: > > https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip.git > tags/u-boot-rockchip-20201031 &

Re: U-Boot i2c bus num 1 is broken on Nokia N900

2020-10-31 Thread Ivaylo Dimitrov
On 30.10.20 г. 9:24 ч., Heiko Schocher wrote: Hello Ivaylo, Am 30.10.2020 um 08:00 schrieb Ivaylo Dimitrov: Hi, On 29.10.20 г. 11:32 ч., Heiko Schocher wrote: Hello Ivaylo, Am 29.10.2020 um 08:51 schrieb Ivaylo Dimitrov: Hi, On 28.10.20 г. 7:42 ч., Heiko Schocher wrote: Hello Pali,

[PATCH 3/4] common: Drop linux/printk.h from common header

2020-10-31 Thread Simon Glass
Move this out of the common header and include it only where needed. Signed-off-by: Simon Glass --- arch/arm/lib/gic-v3-its.c | 1 + arch/arm/mach-imx/imx8/fdt.c | 1 + arch/arm/mach-k3/common.c | 1 +

[PATCH 1/1] test: linking test/compression.c fails

2020-10-31 Thread Heinrich Schuchardt
Building U-Boot with unit tests on a non-sandbox systems fails: ld.bfd: test/built-in.o: in function `compress_using_gzip': test/compression.c:138: undefined reference to `gzip' ld.bfd: test/built-in.o: in function `uncompress_using_bzip2': test/compression.c:187: undefined reference to

[PATCH 1/1] test: test/bloblist.c depends on asm/state.h

2020-10-31 Thread Heinrich Schuchardt
Building test/bloblist.c fails for non sandbox devices: test/bloblist.c:10:10: fatal error: asm/state.h: No such file or directory #include ^ Build the test only on the sandbox. Signed-off-by: Heinrich Schuchardt --- test/Makefile | 2 ++ 1 file changed, 2

test/Kconfig

2020-10-31 Thread Heinrich Schuchardt
Hello Simon, since your patch ba96be48ad34180debcfbc11434be7329d530701 dm: test: Build tests for SPL test/Kconfig is a bit in disarray. menuconfig UNIT_TEST marks a submenu. But there is no submenu anymore. Instead all items that used to be in the submenu are now shown on the same indentation

CONFIG_SPL_UNIT_TEST

2020-10-31 Thread Heinrich Schuchardt
Hello Simon, CONFIG_SPL_UNIT_TEST can be selected for non-sandboard boards. How would the tests be executed here? Best regards Heinrich