Re: rk3328 efuse return just 0

2023-06-09 Thread Belisko Marek
Hi Jonas, On Fri, Jun 9, 2023 at 1:06 AM Jonas Karlman wrote: > Hi Marek, > > On 2023-06-08 15:06, Belisko Marek wrote: > > Hi, > > > > I'm using tip of actual master and with this small patches: > > --- a/configs/rock-pi-e-rk3328_defconfig > > +

rk3328 efuse return just 0

2023-06-08 Thread Belisko Marek
Hi, I'm using tip of actual master and with this small patches: --- a/configs/rock-pi-e-rk3328_defconfig +++ b/configs/rock-pi-e-rk3328_defconfig @@ -73,6 +73,8 @@ CONFIG_FASTBOOT_BUF_ADDR=0x800800 CONFIG_FASTBOOT_CMD_OEM_FORMAT=y CONFIG_ROCKCHIP_GPIO=y CONFIG_SYS_I2C_ROCKCHIP=y +CONFIG_MISC=y

rk3328: No partition table found issue

2023-05-26 Thread Belisko Marek
Hi, I'm using 2022.01 on rockpi-e and having an issue that some SDcards cannot seem to have issue with accessing partitions. I have the same image flashed on 2 SD cards. One boots fine and other one shows: ## Executing script at 0050 Saving Environment to MMC... Writing to redundant

rockpi-e sometimes fails to load u-boot.img

2023-04-26 Thread Belisko Marek
Hello, I'm using 2022.01 u-boot. Booting from SDcard sometimes shows up this log: U-Boot SPL 2022.01 (Jan 10 2022 - 18:46:34 +) Trying to boot from MMC2 Card did not respond to voltage select! : -110 spl: mmc init failed with error: -95 Trying to boot from MMC1 mmc_load_image_raw_sector: mmc

binman issue on ubuntu 20.04

2022-07-19 Thread Belisko Marek
Hi, I'm trying to compile an older u-boot (2017.03) with Ubuntu 20.04. Machine is sunxi. COmpilation went fine but when binman assembles u-boot-sunxi-with-spl.bin it stuck somewhere. I've enabled python traces and it loops in forever: subprocess.py(1668): if errpipe_data:

imx8m read boot ROM log issue

2022-07-11 Thread Belisko Marek
Hi, I'm trying to add support for reading imx8mq boot ROM event log and got inspired by this patch: https://lists.denx.de/pipermail/u-boot/2021-July/453318.html My question is if the condition for checking log pointers is correct: /* If the ROM event log pointer is not valid. */ if

imx8mq hangs when reset board with button

2022-01-12 Thread Belisko Marek
Hello, I'm trying to find the cause why my imx8mq based board hangs when it is rebooted by reset button (works fine when init reset by reboot -f in console). By adding print messages I was able to track down in following code: ret = cdn_api_checkalive(); printf("CDN_API_CheckAlive returned ret

raspberrypi cm4 devicetree missing?

2021-06-22 Thread Belisko Marek
Hello, I'm using u-boot v2020.01 and run on cm4 model it boots fine just report that model is unknown: DRAM: 948 MiB RPI: Board rev 0x14 outside known range RPI Unknown model (0xa03140) I checked and in later releases there is added support for cm4 but what I'm missing is devicetree blob. In

rockchip RK3399 emmc booting

2020-07-15 Thread Belisko Marek
Hi, I'm trying to run mainline on a custom rk3399 board which boots from eMMC only. Currently I'm using Rockchip SDK which can build an image for the whole system) and then flash it to emmc using (AFAIU using dfu in u-boot). Does anyone have experience with mainline running on rk3399 and have the

Re: raspberrypi cm3 v2019.07 not working

2020-05-12 Thread Belisko Marek
On Tue, May 12, 2020 at 1:51 PM Matthias Brugger wrote: > > > > On 12/05/2020 13:39, Matthias Brugger wrote: > > > > > > On 12/05/2020 13:36, Belisko Marek wrote: > >> On Tue, May 12, 2020 at 1:16 PM Matthias Brugger > >> wrote: > >>>

Re: raspberrypi cm3 v2019.07 not working

2020-05-12 Thread Belisko Marek
On Tue, May 12, 2020 at 1:16 PM Matthias Brugger wrote: > > > > On 12/05/2020 13:00, Belisko Marek wrote: > > On Tue, May 12, 2020 at 12:51 PM Matthias Brugger wrote: > >> > >> > >> > >> On 12/05/2020 11:15, Belisko Marek wrote: > >&g

Re: raspberrypi cm3 v2019.07 not working

2020-05-12 Thread Belisko Marek
On Tue, May 12, 2020 at 12:51 PM Matthias Brugger wrote: > > > > On 12/05/2020 11:15, Belisko Marek wrote: > > On Fri, May 8, 2020 at 11:39 PM Belisko Marek > > wrote: > >> > >> Hi Matthias, > >> > >> On Fri, May 8, 20

Re: raspberrypi cm3 v2019.07 not working

2020-05-12 Thread Belisko Marek
On Fri, May 8, 2020 at 11:39 PM Belisko Marek wrote: > > Hi Matthias, > > On Fri, May 8, 2020 at 11:28 PM Matthias Brugger wrote: > > > > Hi Marek, > > > > On 08/05/2020 21:52, Belisko Marek wrote: > > > On Wed, May 6, 2020 at 11:02 PM Belisko Mar

Re: raspberrypi cm3 v2019.07 not working

2020-05-08 Thread Belisko Marek
Hi Matthias, On Fri, May 8, 2020 at 11:28 PM Matthias Brugger wrote: > > Hi Marek, > > On 08/05/2020 21:52, Belisko Marek wrote: > > On Wed, May 6, 2020 at 11:02 PM Belisko Marek > > wrote: > >> > >> On Tue, May 5, 2020 at 10:18 PM Belisko Marek &

Re: raspberrypi cm3 v2019.07 not working

2020-05-08 Thread Belisko Marek
On Wed, May 6, 2020 at 11:02 PM Belisko Marek wrote: > > On Tue, May 5, 2020 at 10:18 PM Belisko Marek wrote: > > > > Hi, > > > > I'm trying to run 2019.07 u-boot on raspberrypi cm3 module but I got > > no feedback on console. When used 2018.01 it boots fine.

Re: raspberrypi cm3 v2019.07 not working

2020-05-06 Thread Belisko Marek
On Tue, May 5, 2020 at 10:18 PM Belisko Marek wrote: > > Hi, > > I'm trying to run 2019.07 u-boot on raspberrypi cm3 module but I got > no feedback on console. When used 2018.01 it boots fine. Probably I > need to do git bisect but maybe someone have some idea or experienc

raspberrypi cm3 v2019.07 not working

2020-05-05 Thread Belisko Marek
Hi, I'm trying to run 2019.07 u-boot on raspberrypi cm3 module but I got no feedback on console. When used 2018.01 it boots fine. Probably I need to do git bisect but maybe someone have some idea or experience what can cause that. Thanks. BR, marek -- as simple and primitive as possible

Re: [U-Boot] amlogic a96 mini

2019-12-08 Thread Belisko Marek
Hi Tom, On Wed, Dec 4, 2019 at 11:26 PM Tom Rini wrote: > > On Fri, Nov 29, 2019 at 12:06:33PM +0100, Belisko Marek wrote: > > > Hi, > > > > I'm trying to run mainline u-boot on amlogic a96mini device but before > > I try to flash it does anybody have an ide

[U-Boot] amlogic a96 mini

2019-11-29 Thread Belisko Marek
Hi, I'm trying to run mainline u-boot on amlogic a96mini device but before I try to flash it does anybody have an idea if it will work on mainline. As I have limited number of devices and I know that after flashing I can brick the board so would like to ask if anybody have experience with this

Re: [U-Boot] Raspberry PI Compute Module - UART Issue

2019-09-17 Thread Belisko Marek
Hi Lee, On Tue, Sep 17, 2019 at 4:45 PM Lee Annamalai wrote: > > Hi > > I am using a Raspberry PI compute module (CM 3+), which seems to be running > U-Boot - U-Boot 2019.04-dirty (Aug 21 2019 - 14:41:54 +) > > The CM3+ is communicating on the UART at boot, before the Kernel loads: > >

[U-Boot] raspberrypi0w issue when change cmdline.txt -> FDT_ERR_BADMAGIC

2019-03-28 Thread Belisko Marek
Hi, I'm having strange issue that when update cmdline.txt in boot partition (basically after first boot there is resize of data partition) then I get this: U-Boot 2018.07-g981cc831e3 (Mar 26 2019 - 11:14:55 +0100) DRAM: 448 MiB RPI Zero W (0x9000c1) MMC: sdhci@7e30: 0 Loading Environment

[U-Boot] paralella board support

2019-03-26 Thread Belisko Marek
Hi, I became owner or parallella board and it seems they still have custom fork of u-boot [1] (not up to date). Does anyone work on mainlining this device? I can give some hand. Thanks. [1] - https://github.com/parallella/parallella-uboot BR, marek -- as simple and primitive as possible

[U-Boot] input in flex scanner failed (for rpi_0_w_defconfig)

2019-01-29 Thread Belisko Marek
Hi, I'm trying to build u-boot in docker on osx (installed build-essentials + gcc-arm) but hit this issue (with verbose make) during config phase. I tried same on linux and it works fine. Any ideas what can cause this (or how to debug)? make ARCH=arm rpi_0_w_defconfig V=1 make -f

[U-Boot] am335x with 1GB of ram EMIF support

2018-11-23 Thread Belisko Marek
Hi, I have custom board based on am335x which have assembled 43-46TR16512A RAM (should be 512x16 = 1GB size). Board boots fine with DDR3 config for BBB (RAM data looks similar) but shows only 512MB of RAM available (also in linux). IIRC it is necessary to update RAM EMIF table to have support for

Re: [U-Boot] am33xx board with no external RTC crystal issue

2018-11-08 Thread Belisko Marek
Hi Alex, On Tue, Oct 30, 2018 at 7:12 AM Alex Kiernan wrote: > > On Mon, Oct 29, 2018 at 11:36 PM Belisko Marek > wrote: > > > > Hi, > > > > I'm working on custome am33xx based HW which have no external 32KHz > > crystal. Anyway I want to use bootcount fe

[U-Boot] am33xx board with no external RTC crystal issue

2018-10-29 Thread Belisko Marek
Hi, I'm working on custome am33xx based HW which have no external 32KHz crystal. Anyway I want to use bootcount feature. I was trying to use internal PRCM CLK_32KHZ clock as source for RTCSS but still when want to read RTC registers I get data abort. I adapted this method : static void

Re: [U-Boot] raspberrypi compute module3 emmc not usable

2018-07-11 Thread Belisko Marek
Hi Peter, On Wed, Jul 11, 2018 at 10:01 AM Peter Robinson wrote: > > On Tue, Jul 10, 2018 at 9:37 PM, Belisko Marek > wrote: > > Hello, > > > > I'm trying to use u-boot on CM3 (which contains eMMC) to boot kernel. > > I'm using u-boot 2018.05 and it can start f

Re: [U-Boot] raspberrypi compute module3 emmc not usable

2018-07-10 Thread Belisko Marek
Hi Jonathan, On Wed, Jul 11, 2018 at 3:11 AM Jonathan Gray wrote: > > On Tue, Jul 10, 2018 at 10:37:19PM +0200, Belisko Marek wrote: > > Hello, > > > > I'm trying to use u-boot on CM3 (which contains eMMC) to boot kernel. > > I'm using u-boot 2018.05 and it c

[U-Boot] raspberrypi compute module3 emmc not usable

2018-07-10 Thread Belisko Marek
Hello, I'm trying to use u-boot on CM3 (which contains eMMC) to boot kernel. I'm using u-boot 2018.05 and it can start fine like: U-Boot 2018.05 (Jul 10 2018 - 20:32:05 +) DRAM: 948 MiB RPI Compute Module 3 (0xa220a0) MMC: sdhci@7e30: 0 Loading Environment from FAT... unable to select

Re: [U-Boot] am335x: musb: mass storage device issue

2017-02-13 Thread Belisko Marek
Hi Yegor, On Mon, Feb 13, 2017 at 12:57 PM, Yegor Yefremov wrote: > My am335x based board doesn't detect USB sticks: > > U-Boot 2017.03-rc1 (Feb 13 2017 - 12:46:54 +0100) > > CPU : AM335X-GP rev 2.1 > I2C: ready > DRAM: 256 MiB > NAND: 256 MiB > MMC: OMAP

Re: [U-Boot] imx7 u-boot nand update from u-boot

2016-09-30 Thread Belisko Marek
Hi Jagan, On Thu, Sep 29, 2016 at 1:23 PM, Jagan Teki <jagannadh.t...@gmail.com> wrote: > On Thu, Aug 4, 2016 at 11:52 AM, Belisko Marek <marek.beli...@gmail.com> > wrote: >> Hi, >> >> I'm trying to figure out how it is possible easily update u-boot in >>

[U-Boot] imx7 u-boot nand update from u-boot

2016-08-05 Thread Belisko Marek
Hi, I'm trying to figure out how it is possible easily update u-boot in nand on custom imx7 board. I can start u-boot using imx_usb tool. I came from ti am33xx world where I simply get u-boot.img from tftp server and store it to beginning of flash (after SPL offset). According imx7 datasheet for

Re: [U-Boot] [PATCH 00/26] spl: Support loading a FIT image containing U-Boot

2016-02-17 Thread Belisko Marek
Hi Simon, On Thu, Jan 28, 2016 at 5:39 PM, Simon Glass wrote: > We need a way to support more than one board per binary in U-Boot with > device tree. Various methods have been discussed. The one that seems to make > the most sense is to adjust SPL so that it can load a FIT

[U-Boot] am33xx booting from emmc boot partition

2015-07-06 Thread Belisko Marek
Hi, I'm using am33x based board with emmc (2 boot partitions, userdata). I can start u-boot when MLO and u-boot.img are written to user data partition (raw mode) but I'm unable when stored in boot part 1. I got fallback to serial boot always, no message on console. I did use mmc-utils to switch

Re: [U-Boot] cpsw not working with slave2 port defined only

2015-06-02 Thread Belisko Marek
Hi Mugunthan, On Mon, Jun 1, 2015 at 11:10 AM, Mugunthan V N mugunthan...@ti.com wrote: On Tuesday 26 May 2015 01:00 AM, Belisko Marek wrote: Hi, I have custom am33xx board with phy connected to slave2 port. I copy'n'paste cpsw setup from /board/BuR/common/common.c but I'm using only slave2

Re: [U-Boot] cpsw not working with slave2 port defined only

2015-05-26 Thread Belisko Marek
,if cpsw_data.slaves is 2. This is when you have more slaves and want to have preferred one to be primary ethernet. It's not my case also. P.S.: please don't top post BR, marek -- Original -- From: Belisko Marek;marek.beli...@gmail.com; Date: Tue, May 26, 2015 03:30 AM To: U

Re: [U-Boot] cpsw not working with slave2 port defined only

2015-05-26 Thread Belisko Marek
On Mon, May 25, 2015 at 9:30 PM, Belisko Marek marek.beli...@gmail.com wrote: Hi, I have custom am33xx board with phy connected to slave2 port. I copy'n'paste cpsw setup from /board/BuR/common/common.c but I'm using only slave2 port (RMII mode) so my cpsw_slave_data looks like: static

[U-Boot] cpsw not working with slave2 port defined only

2015-05-25 Thread Belisko Marek
Hi, I have custom am33xx board with phy connected to slave2 port. I copy'n'paste cpsw setup from /board/BuR/common/common.c but I'm using only slave2 port (RMII mode) so my cpsw_slave_data looks like: static struct cpsw_slave_data cpsw_slaves[] = { { .slave_reg_ofs = 0x308,

Re: [U-Boot] BootDelay

2015-04-15 Thread Belisko Marek
Hi, On Wed, Apr 15, 2015 at 8:51 PM, Ivan Metla metlai...@gmail.com wrote: Hi. I make u-boot for olimex a20-som. I configured it with *_defconfig. Which options I must add to defconfig for change BOOTDELAY from 2 to 0.(When boot running - it is waiting 2 seconds for press any key. I want that

[U-Boot] falcon mode for signed FIT images

2015-02-04 Thread Belisko Marek
Hi all, is it possible to start FIT signed kernel from SPL (falcon mode)? Thanks, marek -- as simple and primitive as possible - Marek Belisko - OPEN-NANDRA Freelance Developer Ruska Nova Ves 219 | Presov, 08005 Slovak Republic Tel: +421 915

Re: [U-Boot] watchdog not resetting beaglebone after timeout period

2014-12-19 Thread Belisko Marek
On Thu, Dec 18, 2014 at 9:19 PM, Tom Rini tr...@ti.com wrote: On Thu, Dec 11, 2014 at 11:55:05AM +0100, Belisko Marek wrote: Hi, I'm using latest u-boot master (9b416a9f4ca7cf5ac4d5f7143d67edde7f7d7326) running on beaglebone (white). This board has watchdog enabled by default for 60 secs

[U-Boot] watchdog not resetting beaglebone after timeout period

2014-12-11 Thread Belisko Marek
Hi, I'm using latest u-boot master (9b416a9f4ca7cf5ac4d5f7143d67edde7f7d7326) running on beaglebone (white). This board has watchdog enabled by default for 60 secs timeout but in my case it's not resetting board after that amount of time. I did check watchdog registers: U-Boot# md.l 0x44e35000

Re: [U-Boot] [PATCH v2 0/11] Minor improvements to secure boot and enable on beaglebone

2014-06-02 Thread Belisko Marek
Dear Simon Glass, On Tue, Jun 3, 2014 at 6:42 AM, Simon Glass s...@chromium.org wrote: Hi Belisko, On 28 April 2014 00:30, Belisko Marek marek.beli...@gmail.com wrote: Hi Simon, On Wed, Apr 16, 2014 at 4:41 PM, Simon Glass s...@chromium.org wrote: This series fixes a few problems that have

Re: [U-Boot] Loading uImage into RAM

2014-05-06 Thread Belisko Marek
Hi Abdullah, On Tue, May 6, 2014 at 10:55 AM, Abdullah YILDIZ abdullah.ma...@gmail.com wrote: I'm trying to understand how u-boot loads zImage into RAM. mkimage is called as mkimage -A arm -O linux -T kernel -C none -a 0x80008000 -e 0x80008040 -d arch/arm/boot/zImage /bootImage/uImage

Re: [U-Boot] Loading uImage into RAM

2014-05-06 Thread Belisko Marek
Hi Abdullah, On Tue, May 6, 2014 at 11:54 AM, Abdullah YILDIZ abdullah.ma...@gmail.com wrote: Hi Belisko, On Tue, May 6, 2014 at 12:34 PM, Belisko Marek marek.beli...@gmail.com wrote: Hi Abdullah, On Tue, May 6, 2014 at 10:55 AM, Abdullah YILDIZ abdullah.ma...@gmail.com wrote: I'm

Re: [U-Boot] Problem building am335x_evm config

2014-05-04 Thread Belisko Marek
Hi Vasisli, On Sun, May 4, 2014 at 12:56 PM, Vasili Galka vvv...@gmail.com wrote: Hi, I'm having some very basic problem with building u-boot. Using clean v2014.04 checkout, I run config: make CROSS_COMPILE=arm-none-eabi- O=out/am335x_evm am335x_evm_config Add to parameters also ARCH=arm

Re: [U-Boot] Problem building am335x_evm config

2014-05-04 Thread Belisko Marek
, Vasili On Sun, May 4, 2014 at 2:12 PM, Belisko Marek marek.beli...@gmail.com wrote: Hi Vasisli, On Sun, May 4, 2014 at 12:56 PM, Vasili Galka vvv...@gmail.com wrote: Hi, I'm having some very basic problem with building u-boot. Using clean v2014.04 checkout, I run config: make

Re: [U-Boot] [PATCH v2 0/11] Minor improvements to secure boot and enable on beaglebone

2014-04-28 Thread Belisko Marek
Hi Simon, On Wed, Apr 16, 2014 at 4:41 PM, Simon Glass s...@chromium.org wrote: This series fixes a few problems that have come up since the secure boot series was merged: - A recent commit broken the assumption that u-boot.bin ends at a known address (thus making things appended to U-Boot

Re: [U-Boot] am33xx : bit-flip correction in oob

2014-04-25 Thread Belisko Marek
Hi Pekon, On Thu, Apr 24, 2014 at 1:53 PM, Gupta, Pekon pe...@ti.com wrote: Hi Marek, From: Belisko Marek [mailto:marek.beli...@gmail.com] On Wed, Apr 23, 2014 at 8:04 PM, Gupta, Pekon pe...@ti.com wrote: From: Belisko Marek [mailto:marek.beli...@gmail.com] CC-ing Pekon Gupta which add those

Re: [U-Boot] am33xx : bit-flip correction in oob

2014-04-24 Thread Belisko Marek
Hi Pekon, On Wed, Apr 23, 2014 at 8:04 PM, Gupta, Pekon pe...@ti.com wrote: Hello Marek, From: Belisko Marek [mailto:marek.beli...@gmail.com] CC-ing Pekon Gupta which add those changes in commit: 6e562b1106ea6afc78752f50925e87e9dd14f8b4 On Tue, Apr 15, 2014 at 12:47 PM, Belisko Marek

Re: [U-Boot] am33xx : bit-flip correction in oob

2014-04-23 Thread Belisko Marek
CC-ing Pekon Gupta which add those changes in commit: 6e562b1106ea6afc78752f50925e87e9dd14f8b4 On Tue, Apr 15, 2014 at 12:47 PM, Belisko Marek marek.beli...@gmail.com wrote: Hi, we're running 2014.04-rc3 on custom am335x board (same configuration as BBB). When spl is loading u-boot from nand

[U-Boot] am33xx : bit-flip correction in oob

2014-04-15 Thread Belisko Marek
Hi, we're running 2014.04-rc3 on custom am335x board (same configuration as BBB). When spl is loading u-boot from nand flash we can see a lot of messages in console: nand: bit-flip corrected @oob=0 It is always the same position (seems to be first byte in oob). Anybody experienced same problem?

Re: [U-Boot] beagle-bone fdt booting problem

2014-03-28 Thread Belisko Marek
Hello, On Thu, Mar 27, 2014 at 4:28 PM, Simon Glass s...@chromium.org wrote: Hi, On 26 March 2014 00:10, Belisko Marek marek.beli...@gmail.com wrote: Hi, I'm playing with fdt booting on beaglebone board. I'm using latest u-boot git HEAD (2c072c958bb544c72f0e848375803dbd6971f022) + I've

[U-Boot] beagle-bone fdt booting problem

2014-03-26 Thread Belisko Marek
Hi, I'm playing with fdt booting on beaglebone board. I'm using latest u-boot git HEAD (2c072c958bb544c72f0e848375803dbd6971f022) + I've added to am335x_evm confing : #ifndef CONFIG_SPL_BUILD #define CONFIG_OF_CONTROL #define CONFIG_OF_SEPARATE #endif I took beaglebone devicetree from kernel.

[U-Boot] question about repetition of some u-boot commands

2011-08-09 Thread Belisko Marek
Hi, just curious. Why some commands entered to u-boot are repeated after processing by pressing Enter key? Like tftp, print Thanks for clarification, marek -- as simple and primitive as possible - Marek Belisko - OPEN-NANDRA Freelance