u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
From: Jens Maus <mail@jens-maus.de>
To: "Ivan T. Ivanov" <iivanov@suse.de>
Cc: u-boot@lists.denx.de
Subject: Re: [PATCH v4 0/6] rpi5: initial support
Date: Thu, 18 Jan 2024 18:18:44 +0100	[thread overview]
Message-ID: <A26CEBAE-9950-4304-B3A2-1BAB4035437A@jens-maus.de> (raw)
In-Reply-To: <454FB8E4-52A8-482D-8671-5650F8C4773C@suse.de>

Hi,

> Am 18.01.2024 um 09:33 schrieb Ivan T. Ivanov <iivanov@suse.de>:
> 
>> 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 commands to let it compile a u-boot.bin file which I then put in /boot/efi to replace the u-boot.bin which is/was already there. Then I pulled the SD card and moved it over to the RaspberryPi5 in trying to get it booted up. However, again no HDMI output at all and unfortunately also the serial output on the debug probe does not show U-boot popping up at all. Interestingly, using the patched u-boot.bin with a RaspberryPi4 still works and it boots up perfectly fine, but not with the RaspberryPi5 I have here. 
>> 
>> Any idea why this might be the case here while you report that the above mentioned procedure works for you? In fact, the RaspberryPi5 I have here is a 8GB model and with the rpi-eeprom version from 2024/01/05 [1] in case this might be relevant.
> 
> EEPROM version on mine device is older[1], but I suspect that size of
> the RAM is what make a difference, mine have only 4GB of RAM.

This can be also of course the reason why it works for you while it doesn’t for me.

> I am afraid you will have to connect that UART debug cable and share
> what is the memory map on your device :-)

No problem. Here is the output of the RPI bootloader boot up until the system stalls:

— cut here — 
RPi: BOOTSYS release VERSION:30cc5f37 DATE: 2024/01/05 TIME: 15:57:40
BOOTMODE: 0x06 partition 0 build-ts BUILD_TIMESTAMP=1704470260 serial 9127ae99 boardrev d04170 stc 923866
AON_RESET: 00000003 PM_RSTS 00001000
RP1_BOOT chip ID: 0x20001927
PM_RSTS: 0x00001000
part 00000000 reset_info 00000000
PMIC reset-event 00000000 rtc 00000000 alarm 00000000 enabled 0
uSD voltage 3.3V
Initialising SDRAM 'Micron' 32Gb x2 total-size: 64 Gbit 4267
DDR 4267 1 0 64 152
RP1_BOOT chip ID: 0x20001927

RP1_BOOT chip ID: 0x20001927
RP1_BOOT: fw size 25968
PCI2 init
PCI2 reset
PCIe scan 00001de4:00000001
RP1_CHIP_INFO 20001927

RPi: BOOTLOADER release VERSION:30cc5f37 DATE: 2024/01/05 TIME: 15:57:40
BOOTMODE: 0x06 partition 0 build-ts BUILD_TIMESTAMP=1704470260 serial 9127ae99 boardrev d04170 stc 3892985
AON_RESET: 00000003 PM_RSTS 00001000
M.2 PCIe HAT not detected.
usb_pd_init status 3
USB_PD CONFIG 0 41
Boot mode: SD (01) order f4
SD HOST: 200000000 CTL0: 0x00800000 BUS: 400000 Hz actual: 390625 HZ div: 512 (256) status: 0x1fff0000 delay: 276
SD HOST: 200000000 CTL0: 0x00800f00 BUS: 400000 Hz actual: 390625 HZ div: 512 (256) status: 0x1fff0000 delay: 276
OCR c0ff8000 [291]
CID: 00035344534536344780519441cb0123
CSD: 400e00325b590001dbd37f800a404000
SD: bus-width: 4 spec: 2 SCR: 0x02458443 0x00000000
SD HOST: 200000000 CTL0: 0x00800f04 BUS: 50000000 Hz actual: 50000000 HZ div: 4 (2) status: 0x1fff0000 delay: 2
MBR: 0x00002000,  131072 type: 0x0c
MBR: 0x00022000, 1024000 type: 0x82
MBR: 0x0011c000,123572224 type: 0x83
MBR: 0x00000000,       0 type: 0x00
USB-PD: src-cap PDO object1 0x0a0191f4
Current 5000 mA
Voltage 5000 mV
USB-PD: src-cap PDO object2 0x0002d12c
Current 3000 mA
Voltage 9000 mV
USB-PD: src-cap PDO object3 0x0003c0e1
Current 2250 mA
Voltage 12000 mV
USB-PD: src-cap PDO object4 0x0004b0b4
Current 1800 mA
Voltage 15000 mV
Trying partition: 0
type: 16 lba: 8192 'mkfs.fat' '  V       ^ ' clusters 32695 (4)
rsc 4 fat-sectors 128 root dir cluster 1 sectors 32 entries 512
FAT16 clusters 32695
[sdcard] autoboot.txt not found
Select partition rsts 0 C(boot_partition) 0 EEPROM config 0 result 0
Trying partition: 0
type: 16 lba: 8192 'mkfs.fat' '  V       ^ ' clusters 32695 (4)
rsc 4 fat-sectors 128 root dir cluster 1 sectors 32 entries 512
FAT16 clusters 32695
Read config.txt bytes     3046 hnd 0x123c
Read ubootconfig.txt bytes       35 hnd 0x468
[sdcard] extraconfig.txt not found
[sdcard] pieeprom.upd not found
usb_max_current_enable default 0 max-current 5000
Read bcm2712-rpi-5-b.dtb bytes    79357 hnd 0x139f
dt-match: compatible: raspberrypi,5-model-b match: brcm,bcm2712
dt-match: compatible: brcm,bcm2712 match: brcm,bcm2712

NOTICE:  BL31: v2.6(release):v2.6-239-g2a9ede0bd
NOTICE:  BL31: Built : 14:26:57, Jun 22 2023
— cut here — 

Best Regards,

Jens
-- 
Jens Maus, Dresden/Germany
http://jens-maus.de/


  reply	other threads:[~2024-01-18 17:19 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-12 13:10 [PATCH v4 0/6] rpi5: initial support Jens Maus
2024-01-17 15:07 ` Ivan T. Ivanov
2024-01-17 15:13   ` Jens Maus
2024-01-17 15:23     ` Ivan T. Ivanov
2024-01-17 15:30       ` Jens Maus
2024-01-17 16:45         ` Ivan T. Ivanov
2024-01-17 23:06           ` Jens Maus
2024-01-18  8:33             ` Ivan T. Ivanov
2024-01-18 17:18               ` Jens Maus [this message]
2024-01-19  5:29                 ` Ivan T. Ivanov
2024-01-19  7:21                   ` Jens Maus
2024-01-19  9:20                     ` Stefan Wahren
2024-01-19 10:49                       ` Jens Maus
     [not found]                         ` <sjmi6dftbgx56isfyjtaryehzq2iollwxm2etlspiygehh3n6v@k4ws56nsbgfn>
     [not found]                           ` <6C9E5E0C-9C27-45A4-886F-8B8C641EF7A3@jens-maus.de>
2024-01-19 13:46                             ` Ivan T. Ivanov
2024-01-19 13:54                               ` Jens Maus
2024-01-19 14:06                                 ` Ivan T. Ivanov
2024-01-19 14:08                                   ` Jens Maus
2024-01-19 14:24                                     ` Ivan T. Ivanov
2024-01-19 16:12                                       ` Jens Maus
2024-01-19 16:29                                         ` Ivan T. Ivanov
2024-01-19 16:53                                           ` Jens Maus
2024-01-19 21:26                                             ` Jens Maus
2024-01-20  9:22                                               ` Stefan Wahren
2024-01-20  9:48                                                 ` Jens Maus
2024-01-20 10:50                                                   ` Stefan Wahren
2024-01-22 11:57                                                     ` Ivan T. Ivanov
2024-01-22 14:16                                                       ` Ivan T. Ivanov
2024-01-22 14:30                                                         ` Mark Kettenis
2024-01-22 18:01                                                           ` Tom Rini
2024-01-23 11:11                                                         ` Jens Maus
2024-01-23 12:09                                                           ` Stefan Wahren
  -- strict thread matches above, loose matches on Subject: below --
2024-01-10 12:29 Ivan T. Ivanov
2024-01-22 13:46 ` Matthias Brugger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A26CEBAE-9950-4304-B3A2-1BAB4035437A@jens-maus.de \
    --to=mail@jens-maus.de \
    --cc=iivanov@suse.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).