Re: [PATCH v4 0/6] rpi5: initial support

2024-09-19 Thread Ivan T. Ivanov
Hi, On 09-19 16:01, Stefan Agner wrote: > Hi Ivan, > > Thanks for the quick response! > > On 2024-09-19 11:52, Ivan T. Ivanov wrote: > > Hi Stefan, > > > >> On 19 Sep 2024, at 12:36, Stefan Agner wrote: > >> > >> Hi Ivan, > >> > >> I am looking into enabling NVMe boot support using U-Boot on

Re: [PATCH v4 0/6] rpi5: initial support

2024-09-19 Thread Stefan Agner
Hi Ivan, Thanks for the quick response! On 2024-09-19 11:52, Ivan T. Ivanov wrote: > Hi Stefan, > >> On 19 Sep 2024, at 12:36, Stefan Agner wrote: >> >> Hi Ivan, >> >> I am looking into enabling NVMe boot support using U-Boot on Raspberry >> Pi 5. Which brings me to some questions wrt PCIe su

Re: [PATCH v4 0/6] rpi5: initial support

2024-09-19 Thread Ivan T. Ivanov
Hi Stefan, > On 19 Sep 2024, at 12:36, Stefan Agner wrote: > > Hi Ivan, > > I am looking into enabling NVMe boot support using U-Boot on Raspberry > Pi 5. Which brings me to some questions wrt PCIe support (see below). > > On 2024-01-10 13:29, Ivan T. Ivanov wrote: >> >> * I am dropping P

Re: [PATCH v4 0/6] rpi5: initial support

2024-09-19 Thread Stefan Agner
Hi Ivan, I am looking into enabling NVMe boot support using U-Boot on Raspberry Pi 5. Which brings me to some questions wrt PCIe support (see below). On 2024-01-10 13:29, Ivan T. Ivanov wrote: > Hi, > > These patches are slight update for patches posted earlier here[1]. > They are adding basic s

Re: [PATCH v4 0/6] rpi5: initial support

2024-01-23 Thread Stefan Wahren
Hi Jens, Am 23.01.24 um 12:11 schrieb Jens Maus: Hi, Am 22.01.2024 um 15:16 schrieb Ivan T. Ivanov : On 01-22 13:57, Ivan T. Ivanov wrote: I was able to enable early debug UART in U-Boot and I will try to find what is happening, once I get some free cycles. Ok, this was relatively easy to f

Re: [PATCH v4 0/6] rpi5: initial support

2024-01-23 Thread Jens Maus
Hi, > Am 22.01.2024 um 15:16 schrieb Ivan T. Ivanov : > > On 01-22 13:57, Ivan T. Ivanov wrote: >> I was able to enable early debug UART in U-Boot and I will try to >> find what is happening, once I get some free cycles. > > Ok, this was relatively easy to find :-) > > New versions of EEPROM fi

Re: [PATCH v4 0/6] rpi5: initial support

2024-01-22 Thread Tom Rini
On Mon, Jan 22, 2024 at 03:30:00PM +0100, Mark Kettenis wrote: > > Date: Mon, 22 Jan 2024 16:16:34 +0200 > > From: "Ivan T. Ivanov" > > > > Hi, > > > > On 01-22 13:57, Ivan T. Ivanov wrote: > > > > Am 20.01.24 um 10:48 schrieb Jens Maus: > > > >> Hi, > > > >> > > > >>> Am 20.01.2024 um 10:22 sc

Re: [PATCH v4 0/6] rpi5: initial support

2024-01-22 Thread Mark Kettenis
> Date: Mon, 22 Jan 2024 16:16:34 +0200 > From: "Ivan T. Ivanov" > > Hi, > > On 01-22 13:57, Ivan T. Ivanov wrote: > > > Am 20.01.24 um 10:48 schrieb Jens Maus: > > >> Hi, > > >> > > >>> Am 20.01.2024 um 10:22 schrieb Stefan Wahren : > > >>> > > >>> Am 19.01.24 um 22:26 schrieb Jens Maus: > >

Re: Re: [PATCH v4 0/6] rpi5: initial support

2024-01-22 Thread Ivan T. Ivanov
Hi, On 01-22 13:57, Ivan T. Ivanov wrote: > > Am 20.01.24 um 10:48 schrieb Jens Maus: > >> Hi, > >> > >>> Am 20.01.2024 um 10:22 schrieb Stefan Wahren : > >>> > >>> Am 19.01.24 um 22:26 schrieb Jens Maus: > I actually do have some good and bad news: > > 1. Good news: I got u-boot

Re: [PATCH v4 0/6] rpi5: initial support

2024-01-22 Thread Matthias Brugger
On 10/01/2024 13:29, Ivan T. Ivanov wrote: Hi, These patches are slight update for patches posted earlier here[1]. They are adding basic support for RPi5 and are based on v2 series from Dmitry Malkin[2]. What changed: * Initial memory map now includes whole first 1GB of DRAM. At runtime,

Re: [PATCH v4 0/6] rpi5: initial support

2024-01-22 Thread Ivan T. Ivanov
Hi, > On 20 Jan 2024, at 12:50, Stefan Wahren wrote: > > Hi, > > Am 20.01.24 um 10:48 schrieb Jens Maus: >> Hi, >> >>> Am 20.01.2024 um 10:22 schrieb Stefan Wahren : >>> >>> Am 19.01.24 um 22:26 schrieb Jens Maus: I actually do have some good and bad news: 1. Good news: I got

Re: [PATCH v4 0/6] rpi5: initial support

2024-01-20 Thread Stefan Wahren
Hi, Am 20.01.24 um 10:48 schrieb Jens Maus: Hi, Am 20.01.2024 um 10:22 schrieb Stefan Wahren : Am 19.01.24 um 22:26 schrieb Jens Maus: I actually do have some good and bad news: 1. Good news: I got u-boot finally showing up with my RaspberryPi5 8GB both on the HDMI and on the serial debug

Re: [PATCH v4 0/6] rpi5: initial support

2024-01-20 Thread Jens Maus
Hi, > Am 20.01.2024 um 10:22 schrieb Stefan Wahren : > > Am 19.01.24 um 22:26 schrieb Jens Maus: >> I actually do have some good and bad news: >> >> 1. Good news: I got u-boot finally showing up with my RaspberryPi5 8GB both >> on the HDMI and on the serial debug UART like you reported. >> >>

Re: [PATCH v4 0/6] rpi5: initial support

2024-01-20 Thread Stefan Wahren
Hi Jens, Am 19.01.24 um 22:26 schrieb Jens Maus: Hi, Am 19.01.2024 um 17:53 schrieb Jens Maus : Am 19.01.2024 um 17:29 schrieb Ivan T. Ivanov : So you say with your own u-boot.bin you see serial U-Boot output after that „NOTICE: BL31: …“ lines? On that special UART port on the rpi5 or on

Re: [PATCH v4 0/6] rpi5: initial support

2024-01-19 Thread Jens Maus
Hi, > Am 19.01.2024 um 17:53 schrieb Jens Maus : > >> Am 19.01.2024 um 17:29 schrieb Ivan T. Ivanov : >> >>> So you say with your own u-boot.bin you see serial U-Boot output after that >>> „NOTICE: BL31: …“ lines? On that special UART port on the rpi5 or on the >>> UART on the GPIO header? >>>

Re: [PATCH v4 0/6] rpi5: initial support

2024-01-19 Thread Jens Maus
> Am 19.01.2024 um 17:29 schrieb Ivan T. Ivanov : > >> So you say with your own u-boot.bin you see serial U-Boot output after that >> „NOTICE: BL31: …“ lines? On that special UART port on the rpi5 or on the >> UART on the GPIO header? >> > > Yes :-) See attached log file. Really strange tha

Re: Re: [PATCH v4 0/6] rpi5: initial support

2024-01-19 Thread Ivan T. Ivanov
On 01-19 17:12, Jens Maus wrote: > >> > >> On the HDMI port, right? But what about the serial UART output? > > > > Yes, I can see serial output from U-Boot. I am using one of these > > simple USB<->UART cables. You can see serial output when you boot > > with RPiOS, when you use "Raspberry Pi De

Re: [PATCH v4 0/6] rpi5: initial support

2024-01-19 Thread Jens Maus
> Am 19.01.2024 um 15:24 schrieb Ivan T. Ivanov : > >> On 19 Jan 2024, at 16:08, Jens Maus wrote: >> >> On the HDMI port, right? But what about the serial UART output? > > Yes, I can see serial output from U-Boot. I am using one of these > simple USB<->UART cables. You can see serial output

Re: [PATCH v4 0/6] rpi5: initial support

2024-01-19 Thread Ivan T. Ivanov
> On 19 Jan 2024, at 16:08, Jens Maus wrote: > > >> Am 19.01.2024 um 15:06 schrieb Ivan T. Ivanov : >> >> On 01-19 14:54, Jens Maus wrote: >>> Am 19.01.2024 um 14:46 schrieb Ivan T. Ivanov : Same here, expect that they are more memory banks, of course. It is really stra

Re: [PATCH v4 0/6] rpi5: initial support

2024-01-19 Thread Jens Maus
> Am 19.01.2024 um 15:06 schrieb Ivan T. Ivanov : > > On 01-19 14:54, Jens Maus wrote: >> >>> Am 19.01.2024 um 14:46 schrieb Ivan T. Ivanov : >>> >>> Same here, expect that they are more memory banks, of course. >>> It is really strange that you don't seen even single message >>> from the U-Bo

Re: Re: [PATCH v4 0/6] rpi5: initial support

2024-01-19 Thread Ivan T. Ivanov
Hi, On 01-19 14:54, Jens Maus wrote: > > > Am 19.01.2024 um 14:46 schrieb Ivan T. Ivanov : > > > > Same here, expect that they are more memory banks, of course. > > It is really strange that you don't seen even single message > > from the U-Boot.. > > Indeed. Not a single line, nor any U-Boot l

Re: [PATCH v4 0/6] rpi5: initial support

2024-01-19 Thread Jens Maus
> Am 19.01.2024 um 14:46 schrieb Ivan T. Ivanov : > > Same here, expect that they are more memory banks, of course. > It is really strange that you don't seen even single message > from the U-Boot.. Indeed. Not a single line, nor any U-Boot logo or anything on HDMI. Do you see any debug output

Re: Re: [PATCH v4 0/6] rpi5: initial support

2024-01-19 Thread Ivan T. Ivanov
+ u-boot@lists.denx.de I am not sure how I drop the list in my last email, sorry. On 01-19 12:56, Jens Maus wrote: > Hi Ivan, > > > Am 19.01.2024 um 12:22 schrieb Ivan T. Ivanov : > > > > On 01-19 11:49, Jens Maus wrote: > >>> Am 19.01.2024 um 10:20 schrieb Stefan Wahren : > >>> > >>> Another

Re: [PATCH v4 0/6] rpi5: initial support

2024-01-19 Thread Jens Maus
Hi, > Am 19.01.2024 um 10:20 schrieb Stefan Wahren : > > Another idea could be to dump the runtime DT of both variants via sysfs > (using official RPi OS) and compare them with each other. In the past > there was a lot DT firmware hackery for the Raspberry Pi 4. Good idea indeed. I just did that

Re: [PATCH v4 0/6] rpi5: initial support

2024-01-19 Thread Stefan Wahren
Hi, Am 19.01.24 um 08:21 schrieb Jens Maus: Hi, Am 19.01.2024 um 06:29 schrieb Ivan T. Ivanov : On 01-18 18:18, Jens Maus wrote: I am afraid you will have to connect that UART debug cable and share what is the memory map on your device :-) No problem. Thanks, but could you apply attached p

Re: [PATCH v4 0/6] rpi5: initial support

2024-01-18 Thread Jens Maus
Hi, > Am 19.01.2024 um 06:29 schrieb Ivan T. Ivanov : > > On 01-18 18:18, Jens Maus wrote: >> >>> I am afraid you will have to connect that UART debug cable and share >>> what is the memory map on your device :-) >> >> No problem. > > Thanks, but could you apply attached patch and send me > th

Re: Re: [PATCH v4 0/6] rpi5: initial support

2024-01-18 Thread Ivan T. Ivanov
On 01-18 18:18, Jens Maus wrote: > > > I am afraid you will have to connect that UART debug cable and share > > what is the memory map on your device :-) > > No problem. Thanks, but could you apply attached patch and send me the logs when there is HDMI monitor connected to the board and one when

Re: [PATCH v4 0/6] rpi5: initial support

2024-01-18 Thread Jens Maus
Hi, > Am 18.01.2024 um 09:33 schrieb Ivan T. Ivanov : > >> I actually just did that. Installed a fresh Tumbleweed on a microSD card, >> booted it up with a rpi4 and after installing all necessary build tools I >> applied your patches to u-boot 2024.01 sources, and then executed these two >> co

Re: [PATCH v4 0/6] rpi5: initial support

2024-01-18 Thread Ivan T. Ivanov
Hi, > On 18 Jan 2024, at 1:06, Jens Maus wrote: > > Hi, > >> Am 17.01.2024 um 17:45 schrieb Ivan T. Ivanov : >> >> I have aarch64 based machine at hand running openSUSE, >> thus I am building U-boot “natively”, no cross-compiling. >> >> $ make rpi_arm64_defconfig >> $ make > >> I just dumped

Re: [PATCH v4 0/6] rpi5: initial support

2024-01-17 Thread Jens Maus
Hi, > Am 17.01.2024 um 17:45 schrieb Ivan T. Ivanov : > > I have aarch64 based machine at hand running openSUSE, > thus I am building U-boot “natively”, no cross-compiling. > > $ make rpi_arm64_defconfig > $ make > I just dumped latest Tumbleweed[1] to uSD card and copied > u-boot.bin to EFI. I

Re: [PATCH v4 0/6] rpi5: initial support

2024-01-17 Thread Ivan T. Ivanov
Hi, > On 17 Jan 2024, at 17:30, Jens Maus wrote: > > Hi, > >> Am 17.01.2024 um 16:23 schrieb Ivan T. Ivanov : >> >>> That’s in fact exactly what I was also trying in addition to get u-boot >>> running with your patches in my own buildroot-based environment. So I was >>> also exactly using th

Re: [PATCH v4 0/6] rpi5: initial support

2024-01-17 Thread Jens Maus
Hi, > Am 17.01.2024 um 16:23 schrieb Ivan T. Ivanov : > >> That’s in fact exactly what I was also trying in addition to get u-boot >> running with your patches in my own buildroot-based environment. So I was >> also exactly using this Tumbleweed rpi4 image and simply replaced the >> u-boot.bin

Re: [PATCH v4 0/6] rpi5: initial support

2024-01-17 Thread Ivan T. Ivanov
Hi, > On 17 Jan 2024, at 17:13, Jens Maus wrote: > > Hi, > >> Am 17.01.2024 um 16:07 schrieb Ivan T. Ivanov : >> >> On 01-12 14:10, Jens Maus wrote: >>> >>> Hi Ivan, >>> >>> first of all, thanks for the updated rpi5 patchset. However, I am unable to >>> reproduce that it is actually working

Re: [PATCH v4 0/6] rpi5: initial support

2024-01-17 Thread Jens Maus
Hi, > Am 17.01.2024 um 16:07 schrieb Ivan T. Ivanov : > > On 01-12 14:10, Jens Maus wrote: >> >> Hi Ivan, >> >> first of all, thanks for the updated rpi5 patchset. However, I am unable to >> reproduce that it is actually working as you suggest. Could you please >> quickly elaborate on your te

Re: Re: [PATCH v4 0/6] rpi5: initial support

2024-01-17 Thread Ivan T. Ivanov
Hi, On 01-12 14:10, Jens Maus wrote: > > Hi Ivan, > > first of all, thanks for the updated rpi5 patchset. However, I am unable to > reproduce that it is actually working as you suggest. Could you please > quickly elaborate on your test environment and the test config.txt for the > RaspberryPi

Re: [PATCH v4 0/6] rpi5: initial support

2024-01-12 Thread Jens Maus
Hi Ivan, first of all, thanks for the updated rpi5 patchset. However, I am unable to reproduce that it is actually working as you suggest. Could you please quickly elaborate on your test environment and the test config.txt for the RaspberryPi5? Here I have compiled U-Boot 2024.01 with your patc