Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commit 2b76cfc start4.elf and fixup4.dat files doesn't boot #1420

Closed
KrisztianKende opened this issue Jun 27, 2020 · 9 comments
Closed

Commit 2b76cfc start4.elf and fixup4.dat files doesn't boot #1420

KrisztianKende opened this issue Jun 27, 2020 · 9 comments

Comments

@KrisztianKende
Copy link

I tried to boot with the latest (2b76cfc) start4.elf and fixup4.dat files on Pi4 (8GB), but instead I got seven ACT LED flashes (kernel.img not found). The boot is OK with the previous commit 9d4f640.

Here is the log:
PM_RSTS: 0x00001000
RPi: BOOTLOADER release VERSION:c302dea0 DATE: Jun 15 2020 TIME: 14:36:22 BOOTMODE: 0x00000006 part: 0 BUILD_TIMESTAMP=1592228179 0x289c4502 0x00d03114
uSD voltage 3.3V
Initialising SDRAM 'Micron' 32Gb x2 total-size: 64 Gbit 3200
Boot mode: USB-MSD (04) order f1
VLI: HUB2: 0xfff00000 0x24e6 MCU: 0xfff20000 0x150d8
VL805 0xfff00000 0xfff20000
XHCI-STOP
xHC ver: 256 HCS: 05000420 fc000031 00e70004 HCC: 002841eb
xHC ports 5 slots 32 intrs 4
USB3 rport 2 status 00000000 -> 000002a0
USB3 rport 3 status 00000000 -> 000002a0
USB3 rport 4 status 00000000 -> 000002a0
USB3 rport 5 status 00000000 -> 000002a0
USB2 rport 1 status 00000000 -> 400002e1
USB2 rport 1 status 400002f1 -> 40200e03
root HUB port 1 init
DEV [01:00] 2.16 000000:01 class 9 VID 2109 PID 3431
HUB init [01:00] 2.16 000000:01
USB3 rport 3 status 000002a0 -> 00021203
root HUB port 3 init
DEV [02:00] 3.16 000000:03 class 0 VID 174c PID 55aa
MSD device [02:00] 3.16 000000:03 conf 0 iface 0 ep 81#1024 02#1024
MSD [02:00] 3.16 000000:03 register MSD
PM_RSTS: 0x00001000
MSD [02:00] 3.16 000000:03 LUN 0
MSD [02:00] 3.16 000000:03 lun 0 block-count 3907029168 block-size 512
MBR: 0x00000001,3907029167 type: 0xee
MBR: 0x00000000, 0 type: 0x00
MBR: 0x00000000, 0 type: 0x00
MBR: 0x00000000, 0 type: 0x00
GPT dcc3cf174503604e9ac54251ae442ebd 000000001 0e8e088af num-partitions 128 entry-size 128
GPT partition: 0 a2a0d0ebe5b9334487c068b6b72699c7 000000800..0000807ff
lba: 2048 oem: 'mkfs.fat' volume: ' boot '
rsc 32 fat-sectors 4033 c-count 516190 c-size 1 r-dir 2 r-sec 0
PM_RSTS: 0x00001000
Partition: 0
GPT dcc3cf174503604e9ac54251ae442ebd 000000001 0e8e088af num-partitions 128 entry-size 128
GPT partition: 0 a2a0d0ebe5b9334487c068b6b72699c7 000000800..0000807ff
lba: 2048 oem: 'mkfs.fat' volume: ' boot '
rsc 32 fat-sectors 4033 c-count 516190 c-size 1 r-dir 2 r-sec 0
Read config.txt bytes 475 hnd 0x000529f0 hash '57de04aefcb7f6b1'
recover4.elf not found (6)
recovery.elf not found (6)
Read start4.elf bytes 2277216 hnd 0x0005188e hash 'c4f805aae1aba767'
Read fixup4.dat bytes 5409 hnd 0x00051883 hash 'd9b8d1561115150d'
0x00d03114 0x00000000 0x0000001f
MEM GPU: 76 ARM: 947 TOTAL: 1023
Starting start4.elf @ 0xfeb00200 partition 0

MESS:00:00:07.723545:0: bfs_xhci_retrieve 3ee76220
MESS:00:00:08.252170:0: gpioman: gpioman_get_pin_num: pin DISPLAY_DSI_PORT not defined
MESS:00:00:08.259419:0: *** Restart logging
MESS:00:00:08.264301:0: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
MESS:00:00:08.273599:0: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
MESS:00:00:08.279532:0: HDMI0: hdmi_pixel_encoding: 300000000

MESS:00:00:08.285086:0: HDMI1: hdmi_pixel_encoding: 300000000

MESS:00:00:08.295353:0: dtb_file 'bcm2711-rpi-4-b.dtb'
MESS:00:00:08.297414:0: Failed to load Device Tree file '?'
MESS:00:00:08.302707:0: Failed to open command line file 'cmdline.txt'
MESS:00:00:08.309589:0: No compatible kernel found

@KrisztianKende
Copy link
Author

With working commit 9d4f640:
MESS:00:00:07.725474:0: bfs_xhci_retrieve 3ee76060
MESS:00:00:08.111168:0: brfs: File read: /mfs/sd/config.txt
MESS:00:00:08.114121:0: brfs: File read: 475 bytes
MESS:00:00:08.140931:0: brfs: File read: /mfs/sd/config.txt
MESS:00:00:08.149898:0: brfs: File read: 475 bytes
MESS:00:00:08.645237:0: gpioman: gpioman_get_pin_num: pin DISPLAY_DSI_PORT not defined
MESS:00:00:08.652478:0: *** Restart logging
MESS:00:00:08.665190:0: hdmi: HDMI:hdmi_get_state is deprecated, use hdmi_get_display_state instead
MESS:00:00:08.671130:0: HDMI0: hdmi_pixel_encoding: 300000000

MESS:00:00:08.676685:0: HDMI1: hdmi_pixel_encoding: 300000000

MESS:00:00:08.687172:0: dtb_file 'bcm2711-rpi-4-b.dtb'
MESS:00:00:08.781405:0: brfs: File read: /mfs/sd/bcm2711-rpi-4-b.dtb
MESS:00:00:08.784646:0: Loading 'bcm2711-rpi-4-b.dtb' to 0x100 size 0xb767
MESS:00:00:08.867451:0: brfs: File read: 46951 bytes
MESS:00:00:08.910982:0: brfs: File read: /mfs/sd/overlays/overlay_map.dtb
MESS:00:00:09.349204:0: brfs: File read: 1371 bytes
MESS:00:00:09.351661:0: brfs: File read: /mfs/sd/config.txt
MESS:00:00:09.356590:0: dtparam: pwr_led_trigger=none
MESS:00:00:09.454488:0: dtparam: pwr_led_activelow=off
MESS:00:00:09.547250:0: dtparam: act_led_trigger=none
MESS:00:00:09.642323:0: dtparam: act_led_activelow=off
MESS:00:00:09.734982:0: dtparam: eth_led0=4
MESS:00:00:09.824454:0: dtparam: eth_led1=4
MESS:00:00:09.914355:0: dtwarn: overlay 'pi3-disable-wifi' has been renamed 'disable-wifi'
MESS:00:00:09.920277:0: brfs: File read: 475 bytes
MESS:00:00:09.926449:0: brfs: File read: /mfs/sd/overlays/disable-wifi.dtbo
MESS:00:00:10.006809:0: Loaded overlay 'pi3-disable-wifi'
MESS:00:00:10.126675:0: dtwarn: overlay 'pi3-disable-bt' has been renamed 'disable-bt'
MESS:00:00:10.132277:0: brfs: File read: 387 bytes
MESS:00:00:10.137348:0: brfs: File read: /mfs/sd/overlays/disable-bt.dtbo
MESS:00:00:10.244636:0: Loaded overlay 'pi3-disable-bt'
MESS:00:00:10.528395:0: brfs: File read: 954 bytes
MESS:00:00:10.530494:0: brfs: File read: /mfs/sd/cmdline.txt
MESS:00:00:10.535538:0: Read command line from file 'cmdline.txt':
MESS:00:00:10.541400:0: 'console=serial0,115200 console=tty1 root=PARTUUID=107db29d-fe2f-4bdc-9615-bb43a292042d rootfstype=ext4 fsck.repair=yes rootwait'
MESS:00:00:12.416643:0: brfs: File read: 128 bytes
MESS:00:00:13.537027:0: brfs: File read: /mfs/sd/kernel8.img
MESS:00:00:13.539617:0: Loading 'kernel8.img' to 0x80000 size 0xfb5200
MESS:00:00:13.545878:0: Device tree loaded to 0x2eff4400 (size 0xbb8b)
MESS:00:00:13.552175:0: uart: Set PL011 baud rate to 103448.300000 Hz
MESS:00:00:13.561236:0: uart: Baud rate change done...
MESS:00:00:13.563290:0: uart: Baud rate change done...
MESS:00:00:13.568887:0: bfs_xhci_stop
MESS:00:00:13.571532:0: XHCI-STOP
MESS:00:00:13.574722:0: xHC ver: 256 HCS: 05000420 fc000031 00e70004 HCC: 002841eb

@pelwell
Copy link
Contributor

pelwell commented Jun 28, 2020

How many filesystems, on which devices and of which types, do you have on this system? e.g. boot on SD card, kernel root on SSD via USB.

@KrisztianKende
Copy link
Author

A 2 TB SATA HDD on ASM1351 adapter cable (StarTech), which is connected via USB 3.0, and the SD card slot is empty.
GPT partition table, and there are two filesystems; FAT32 (boot) and EXT4 (system root):

> gdisk /dev/sda
Disk /dev/sda: 3907029168 sectors, 1.8 TiB
Model: SPZX-75UA7T0    
Sector size (logical/physical): 512/4096 bytes
Disk identifier (GUID): 17CFC3DC-0345-4E60-9AC5-4251AE442EBD
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 3907029134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048          526335   256.0 MiB   0700  boot
   2          526336      3907029134   1.8 TiB     8300  system_data

> parted /dev/sda
Number  Start   End     Size    File system  Name         Flags
 1      1049kB  269MB   268MB   fat32        boot         msftdata
 2      269MB   2000GB  2000GB  ext4         system_data

Bootloader EEPROM version is 2020-06-15:

[all]
BOOT_UART=1
WAKE_ON_GPIO=0
POWER_OFF_ON_HALT=1
DHCP_TIMEOUT=45000
DHCP_REQ_TIMEOUT=4000
TFTP_FILE_TIMEOUT=30000
ENABLE_SELF_UPDATE=0
DISABLE_HDMI=0
BOOT_ORDER=0xf14
USB_MSD_PWR_OFF_TIME=0

config.txt:

disable_overscan=1
framebuffer_width=1920
framebuffer_height=1080
hdmi_force_hotplug=1
hdmi_ignore_cec_init=1
hdmi_group=2
hdmi_mode=82
hdmi_drive=2
max_framebuffers=2

arm_freq=1600
arm_64bit=1
uart_2ndstage=1
disable_splash=1
avoid_warnings=2
hdmi_pixel_encoding=2
dtparam=pwr_led_trigger=none
dtparam=pwr_led_activelow=off
dtparam=act_led_trigger=none
dtparam=act_led_activelow=off
dtparam=eth_led0=4
dtparam=eth_led1=4
dtoverlay=pi3-disable-wifi
dtoverlay=pi3-disable-bt

Custom configured 64-bit Linux kernel:

> uname -a
Linux RPI4 5.7.6-v8 #1 SMP PREEMPT Fri Jun 26 15:58:01 CEST 2020 aarch64 aarch64 aarch64 GNU/Linux

Contents of the /boot:

> ls -lR /boot
/boot:
total 18377
-rwxr-xr-x 1 root root    46951 jún   26 15:57 bcm2711-rpi-4-b.dtb
-rwxr-xr-x 1 root root      128 máj   21 16:22 cmdline.txt
-rwxr-xr-x 1 root root      475 jún   27 10:14 config.txt
-rwxr-xr-x 1 root root     5409 jún   27 10:22 fixup4.dat
-rwxr-xr-x 1 root root 16470528 jún   26 16:12 kernel8.img
drwxr-xr-x 2 root root    16384 jún   26 16:13 overlays
-rwxr-xr-x 1 root root  2276768 jún   27 10:21 start4.elf

/boot/overlays:
total 409
-rwxr-xr-x 1 root root   569 jún   26 15:57 act-led.dtbo
-rwxr-xr-x 1 root root  1027 jún   26 15:57 adau1977-adc.dtbo
-rwxr-xr-x 1 root root  1587 jún   26 15:57 adau7002-simple.dtbo
-rwxr-xr-x 1 root root  2509 jún   26 15:57 ads1015.dtbo
-rwxr-xr-x 1 root root  2509 jún   26 15:57 ads1115.dtbo
-rwxr-xr-x 1 root root  2402 jún   26 15:57 ads7846.dtbo
-rwxr-xr-x 1 root root  1638 jún   26 15:57 adv7282m.dtbo
-rwxr-xr-x 1 root root  2122 jún   26 15:57 adv728x-m.dtbo
-rwxr-xr-x 1 root root  1387 jún   26 15:57 akkordion-iqdacplus.dtbo
-rwxr-xr-x 1 root root  1469 jún   26 15:57 allo-boss-dac-pcm512x-audio.dtbo
-rwxr-xr-x 1 root root  1208 jún   26 15:57 allo-digione.dtbo
-rwxr-xr-x 1 root root  1659 jún   26 15:57 allo-katana-dac-audio.dtbo
-rwxr-xr-x 1 root root  1011 jún   26 15:57 allo-piano-dac-pcm512x-audio.dtbo
-rwxr-xr-x 1 root root  1585 jún   26 15:57 allo-piano-dac-plus-pcm512x-audio.dtbo
-rwxr-xr-x 1 root root  3895 jún   26 15:57 anyspi.dtbo
-rwxr-xr-x 1 root root  1338 jún   26 15:57 apds9960.dtbo
-rwxr-xr-x 1 root root  1454 jún   26 15:57 applepi-dac.dtbo
-rwxr-xr-x 1 root root  1632 jún   26 15:57 at86rf233.dtbo
-rwxr-xr-x 1 root root  1866 jún   26 15:57 audioinjector-addons.dtbo
-rwxr-xr-x 1 root root  1602 jún   26 15:57 audioinjector-isolated-soundcard.dtbo
-rwxr-xr-x 1 root root  1890 jún   26 15:57 audioinjector-ultra.dtbo
-rwxr-xr-x 1 root root   787 jún   26 15:57 audioinjector-wm8731-audio.dtbo
-rwxr-xr-x 1 root root  2187 jún   26 15:57 audiosense-pi.dtbo
-rwxr-xr-x 1 root root   833 jún   26 15:57 audremap.dtbo
-rwxr-xr-x 1 root root  2927 jún   26 15:57 balena-fin.dtbo
-rwxr-xr-x 1 root root   756 jún   26 15:57 cma.dtbo
-rwxr-xr-x 1 root root  1019 jún   26 15:57 dht11.dtbo
-rwxr-xr-x 1 root root   663 jún   26 15:57 dionaudio-loco.dtbo
-rwxr-xr-x 1 root root  1027 jún   26 15:57 dionaudio-loco-v2.dtbo
-rwxr-xr-x 1 root root   954 jún   26 15:57 disable-bt.dtbo
-rwxr-xr-x 1 root root   387 jún   26 15:57 disable-wifi.dtbo
-rwxr-xr-x 1 root root   951 jún   26 15:57 dpi18.dtbo
-rwxr-xr-x 1 root root   975 jún   26 15:57 dpi24.dtbo
-rwxr-xr-x 1 root root  5877 jún   26 15:57 draws.dtbo
-rwxr-xr-x 1 root root   801 jún   26 15:57 dwc2.dtbo
-rwxr-xr-x 1 root root   293 jún   26 15:57 dwc-otg.dtbo
-rwxr-xr-x 1 root root  1403 jún   26 15:57 enc28j60.dtbo
-rwxr-xr-x 1 root root  1279 jún   26 15:57 enc28j60-spi2.dtbo
-rwxr-xr-x 1 root root  1562 jún   26 15:57 exc3000.dtbo
-rwxr-xr-x 1 root root  1908 jún   26 15:57 fe-pi-audio.dtbo
-rwxr-xr-x 1 root root  1437 jún   26 15:57 goodix.dtbo
-rwxr-xr-x 1 root root  1259 jún   26 15:57 googlevoicehat-soundcard.dtbo
-rwxr-xr-x 1 root root  1259 jún   26 15:57 gpio-fan.dtbo
-rwxr-xr-x 1 root root  1259 jún   26 15:57 gpio-ir.dtbo
-rwxr-xr-x 1 root root  1096 jún   26 15:57 gpio-ir-tx.dtbo
-rwxr-xr-x 1 root root  1373 jún   26 15:57 gpio-key.dtbo
-rwxr-xr-x 1 root root   274 jún   26 15:57 gpio-no-bank0-irq.dtbo
-rwxr-xr-x 1 root root   258 jún   26 15:57 gpio-no-irq.dtbo
-rwxr-xr-x 1 root root  1053 jún   26 15:57 gpio-poweroff.dtbo
-rwxr-xr-x 1 root root  1345 jún   26 15:57 gpio-shutdown.dtbo
-rwxr-xr-x 1 root root  1662 jún   26 15:57 hd44780-lcd.dtbo
-rwxr-xr-x 1 root root  1166 jún   26 15:57 hdmi-backlight-hwhack-gpio.dtbo
-rwxr-xr-x 1 root root   779 jún   26 15:57 hifiberry-amp.dtbo
-rwxr-xr-x 1 root root   655 jún   26 15:57 hifiberry-dac.dtbo
-rwxr-xr-x 1 root root  2004 jún   26 15:57 hifiberry-dacplusadc.dtbo
-rwxr-xr-x 1 root root  1921 jún   26 15:57 hifiberry-dacplusadcpro.dtbo
-rwxr-xr-x 1 root root   699 jún   26 15:57 hifiberry-dacplusdsp.dtbo
-rwxr-xr-x 1 root root  1758 jún   26 15:57 hifiberry-dacplus.dtbo
-rwxr-xr-x 1 root root  2007 jún   26 15:57 hifiberry-dacplushd.dtbo
-rwxr-xr-x 1 root root   959 jún   26 15:57 hifiberry-digi.dtbo
-rwxr-xr-x 1 root root  1125 jún   26 15:57 hifiberry-digi-pro.dtbo
-rwxr-xr-x 1 root root  1079 jún   26 15:57 highperi.dtbo
-rwxr-xr-x 1 root root  2444 jún   26 15:57 hy28a.dtbo
-rwxr-xr-x 1 root root  2893 jún   26 15:57 hy28b-2017.dtbo
-rwxr-xr-x 1 root root  2915 jún   26 15:57 hy28b.dtbo
-rwxr-xr-x 1 root root  1396 jún   26 15:57 i2c0.dtbo
-rwxr-xr-x 1 root root  1004 jún   26 15:57 i2c1.dtbo
-rwxr-xr-x 1 root root   907 jún   26 15:57 i2c3.dtbo
-rwxr-xr-x 1 root root   907 jún   26 15:57 i2c4.dtbo
-rwxr-xr-x 1 root root   911 jún   26 15:57 i2c5.dtbo
-rwxr-xr-x 1 root root   909 jún   26 15:57 i2c6.dtbo
-rwxr-xr-x 1 root root   270 jún   26 15:57 i2c-bcm2708.dtbo
-rwxr-xr-x 1 root root  1055 jún   26 15:57 i2c-gpio.dtbo
-rwxr-xr-x 1 root root  2185 jún   26 15:57 i2c-mux.dtbo
-rwxr-xr-x 1 root root   648 jún   26 15:57 i2c-pwm-pca9685a.dtbo
-rwxr-xr-x 1 root root  5180 jún   26 15:57 i2c-rtc.dtbo
-rwxr-xr-x 1 root root  5680 jún   26 15:57 i2c-rtc-gpio.dtbo
-rwxr-xr-x 1 root root  5336 jún   26 15:57 i2c-sensor.dtbo
-rwxr-xr-x 1 root root   307 jún   26 15:57 i2s-gpio28-31.dtbo
-rwxr-xr-x 1 root root  1373 jún   26 15:57 ilitek251x.dtbo
-rwxr-xr-x 1 root root  2943 jún   26 15:57 imx219.dtbo
-rwxr-xr-x 1 root root  2976 jún   26 15:57 imx477.dtbo
-rwxr-xr-x 1 root root   895 jún   26 15:57 iqaudio-codec.dtbo
-rwxr-xr-x 1 root root  1272 jún   26 15:57 iqaudio-dac.dtbo
-rwxr-xr-x 1 root root  1511 jún   26 15:57 iqaudio-dacplus.dtbo
-rwxr-xr-x 1 root root  1326 jún   26 15:57 iqaudio-digi-wm8804-audio.dtbo
-rwxr-xr-x 1 root root  2139 jún   26 15:57 irs1125.dtbo
-rwxr-xr-x 1 root root   893 jún   26 15:57 i-sabre-q2m.dtbo
-rwxr-xr-x 1 root root  5188 jún   26 15:57 jedec-spi-nor.dtbo
-rwxr-xr-x 1 root root  1640 jún   26 15:57 justboom-both.dtbo
-rwxr-xr-x 1 root root  1276 jún   26 15:57 justboom-dac.dtbo
-rwxr-xr-x 1 root root   955 jún   26 15:57 justboom-digi.dtbo
-rwxr-xr-x 1 root root  1916 jún   26 15:57 ltc294x.dtbo
-rwxr-xr-x 1 root root  1933 jún   26 15:57 max98357a.dtbo
-rwxr-xr-x 1 root root  1605 jún   26 15:57 mbed-dac.dtbo
-rwxr-xr-x 1 root root  1658 jún   26 15:57 mcp23017.dtbo
-rwxr-xr-x 1 root root 15205 jún   26 15:57 mcp23s17.dtbo
-rwxr-xr-x 1 root root  1793 jún   26 15:57 mcp2515-can0.dtbo
-rwxr-xr-x 1 root root  1793 jún   26 15:57 mcp2515-can1.dtbo
-rwxr-xr-x 1 root root  4213 jún   26 15:57 mcp3008.dtbo
-rwxr-xr-x 1 root root  4213 jún   26 15:57 mcp3202.dtbo
-rwxr-xr-x 1 root root  2854 jún   26 15:57 mcp342x.dtbo
-rwxr-xr-x 1 root root  3414 jún   26 15:57 media-center.dtbo
-rwxr-xr-x 1 root root  1693 jún   26 15:57 merus-amp.dtbo
-rwxr-xr-x 1 root root   716 jún   26 15:57 midi-uart0.dtbo
-rwxr-xr-x 1 root root   857 jún   26 15:57 midi-uart1.dtbo
-rwxr-xr-x 1 root root  1446 jún   26 15:57 miniuart-bt.dtbo
-rwxr-xr-x 1 root root  1221 jún   26 15:57 mmc.dtbo
-rwxr-xr-x 1 root root   796 jún   26 15:57 mpu6050.dtbo
-rwxr-xr-x 1 root root  2826 jún   26 15:57 mz61581.dtbo
-rwxr-xr-x 1 root root  2303 jún   26 15:57 ov5647.dtbo
-rwxr-xr-x 1 root root  1371 jún   26 15:57 overlay_map.dtb
-rwxr-xr-x 1 root root  2356 jún   26 15:57 papirus.dtbo
-rwxr-xr-x 1 root root  2334 jún   26 15:57 pibell.dtbo
-rwxr-xr-x 1 root root  1594 jún   26 15:57 piglow.dtbo
-rwxr-xr-x 1 root root  2593 jún   26 15:57 piscreen2r.dtbo
-rwxr-xr-x 1 root root  2689 jún   26 15:57 piscreen.dtbo
-rwxr-xr-x 1 root root  2454 jún   26 15:57 pisound.dtbo
-rwxr-xr-x 1 root root  1520 jún   26 15:57 pitft22.dtbo
-rwxr-xr-x 1 root root  2361 jún   26 15:57 pitft28-capacitive.dtbo
-rwxr-xr-x 1 root root  2746 jún   26 15:57 pitft28-resistive.dtbo
-rwxr-xr-x 1 root root  2766 jún   26 15:57 pitft35-resistive.dtbo
-rwxr-xr-x 1 root root  1145 jún   26 15:57 pps-gpio.dtbo
-rwxr-xr-x 1 root root  1096 jún   26 15:57 pwm-2chan.dtbo
-rwxr-xr-x 1 root root   985 jún   26 15:57 pwm.dtbo
-rwxr-xr-x 1 root root  1031 jún   26 15:57 pwm-ir-tx.dtbo
-rwxr-xr-x 1 root root  1395 jún   26 15:57 qca7000.dtbo
-rwxr-xr-x 1 root root  1922 jún   26 15:57 rotary-encoder.dtbo
-rwxr-xr-x 1 root root   489 jún   26 15:57 rpi-backlight.dtbo
-rwxr-xr-x 1 root root  4081 jún   26 15:57 rpi-cirrus-wm5102.dtbo
-rwxr-xr-x 1 root root   643 jún   26 15:57 rpi-dac.dtbo
-rwxr-xr-x 1 root root  2574 jún   26 15:57 rpi-display.dtbo
-rwxr-xr-x 1 root root   850 jún   26 15:57 rpi-ft5406.dtbo
-rwxr-xr-x 1 root root  2937 jún   26 15:57 rpi-poe.dtbo
-rwxr-xr-x 1 root root   771 jún   26 15:57 rpi-proto.dtbo
-rwxr-xr-x 1 root root   893 jún   26 15:57 rpi-sense.dtbo
-rwxr-xr-x 1 root root   567 jún   26 15:57 rpi-tv.dtbo
-rwxr-xr-x 1 root root  1226 jún   26 15:57 rpivid-v4l2.dtbo
-rwxr-xr-x 1 root root  1298 jún   26 15:57 rra-digidac1-wm8741-audio.dtbo
-rwxr-xr-x 1 root root  1219 jún   26 15:57 sc16is750-i2c.dtbo
-rwxr-xr-x 1 root root  1356 jún   26 15:57 sc16is752-i2c.dtbo
-rwxr-xr-x 1 root root  1334 jún   26 15:57 sc16is752-spi0.dtbo
-rwxr-xr-x 1 root root  1972 jún   26 15:57 sc16is752-spi1.dtbo
-rwxr-xr-x 1 root root   968 jún   26 15:57 sdhost.dtbo
-rwxr-xr-x 1 root root  1889 jún   26 15:57 sdio.dtbo
-rwxr-xr-x 1 root root   804 jún   26 15:57 sdtweak.dtbo
-rwxr-xr-x 1 root root  2095 jún   26 15:57 sh1106-spi.dtbo
-rwxr-xr-x 1 root root   404 jún   26 15:57 smi-dev.dtbo
-rwxr-xr-x 1 root root   981 jún   26 15:57 smi.dtbo
-rwxr-xr-x 1 root root  1476 jún   26 15:57 smi-nand.dtbo
-rwxr-xr-x 1 root root   895 jún   26 15:57 spi0-cs.dtbo
-rwxr-xr-x 1 root root   456 jún   26 15:57 spi0-hw-cs.dtbo
-rwxr-xr-x 1 root root  1523 jún   26 15:57 spi1-1cs.dtbo
-rwxr-xr-x 1 root root  1896 jún   26 15:57 spi1-2cs.dtbo
-rwxr-xr-x 1 root root  2269 jún   26 15:57 spi1-3cs.dtbo
-rwxr-xr-x 1 root root  1523 jún   26 15:57 spi2-1cs.dtbo
-rwxr-xr-x 1 root root  1896 jún   26 15:57 spi2-2cs.dtbo
-rwxr-xr-x 1 root root  2269 jún   26 15:57 spi2-3cs.dtbo
-rwxr-xr-x 1 root root  1289 jún   26 15:57 spi3-1cs.dtbo
-rwxr-xr-x 1 root root  1662 jún   26 15:57 spi3-2cs.dtbo
-rwxr-xr-x 1 root root  1289 jún   26 15:57 spi4-1cs.dtbo
-rwxr-xr-x 1 root root  1662 jún   26 15:57 spi4-2cs.dtbo
-rwxr-xr-x 1 root root  1289 jún   26 15:57 spi5-1cs.dtbo
-rwxr-xr-x 1 root root  1662 jún   26 15:57 spi5-2cs.dtbo
-rwxr-xr-x 1 root root  1289 jún   26 15:57 spi6-1cs.dtbo
-rwxr-xr-x 1 root root  1662 jún   26 15:57 spi6-2cs.dtbo
-rwxr-xr-x 1 root root   630 jún   26 15:57 spi-gpio35-39.dtbo
-rwxr-xr-x 1 root root   795 jún   26 15:57 spi-gpio40-45.dtbo
-rwxr-xr-x 1 root root   635 jún   26 15:57 spi-rtc.dtbo
-rwxr-xr-x 1 root root  1122 jún   26 15:57 ssd1306.dtbo
-rwxr-xr-x 1 root root  2096 jún   26 15:57 ssd1306-spi.dtbo
-rwxr-xr-x 1 root root  2044 jún   26 15:57 ssd1351-spi.dtbo
-rwxr-xr-x 1 root root  1968 jún   26 15:57 superaudioboard.dtbo
-rwxr-xr-x 1 root root 35570 jún   26 15:57 sx150x.dtbo
-rwxr-xr-x 1 root root  1529 jún   26 15:57 tc358743-audio.dtbo
-rwxr-xr-x 1 root root  2127 jún   26 15:57 tc358743.dtbo
-rwxr-xr-x 1 root root  4822 jún   26 15:57 tinylcd35.dtbo
-rwxr-xr-x 1 root root   779 jún   26 15:57 tpm-slb9670.dtbo
-rwxr-xr-x 1 root root   928 jún   26 15:57 uart0.dtbo
-rwxr-xr-x 1 root root   980 jún   26 15:57 uart1.dtbo
-rwxr-xr-x 1 root root   589 jún   26 15:57 uart2.dtbo
-rwxr-xr-x 1 root root   589 jún   26 15:57 uart3.dtbo
-rwxr-xr-x 1 root root   589 jún   26 15:57 uart4.dtbo
-rwxr-xr-x 1 root root   589 jún   26 15:57 uart5.dtbo
-rwxr-xr-x 1 root root  3532 jún   26 15:57 udrc.dtbo
-rwxr-xr-x 1 root root  2267 jún   26 15:57 upstream.dtbo
-rwxr-xr-x 1 root root  2843 jún   26 15:57 upstream-pi4.dtbo
-rwxr-xr-x 1 root root  1238 jún   26 15:57 vc4-fkms-v3d.dtbo
-rwxr-xr-x 1 root root  1112 jún   26 15:57 vc4-kms-kippah-7inch.dtbo
-rwxr-xr-x 1 root root  2481 jún   26 15:57 vc4-kms-v3d.dtbo
-rwxr-xr-x 1 root root  3084 jún   26 15:57 vc4-kms-v3d-pi4.dtbo
-rwxr-xr-x 1 root root   758 jún   26 15:57 vga666.dtbo
-rwxr-xr-x 1 root root  1036 jún   26 15:57 w1-gpio.dtbo
-rwxr-xr-x 1 root root  1171 jún   26 15:57 w1-gpio-pullup.dtbo
-rwxr-xr-x 1 root root  1558 jún   26 15:57 w5500.dtbo
-rwxr-xr-x 1 root root  1056 jún   26 15:57 wittypi.dtbo

@satmandu
Copy link

satmandu commented Jun 28, 2020

Seeing the same issue, but with stock kernel, and also using USB boot on the 8Gb RPi4, and with no sd card installed.

This is a working setup:

/proc/device-tree/model
Raspberry Pi 4 Model B Rev 1.4

Debian GNU/Linux 10 \n \l

Linux goat 5.4.49-v8+ #1323 SMP PREEMPT Fri Jun 26 14:47:11 BST 2020 aarch64 GNU/Linux
vcgencmd version
Jun 17 2020 21:17:03 
Copyright (c) 2012 Broadcom
version 73bf56edb302498ebd92415077229e743d36065a (clean) (release) (start_x)
vcgencmd bootloader_version
Jun 15 2020 14:36:19
version c302dea096cc79f102cec12aeeb51abf392bd781 (release)
timestamp 1592228179
vcgencmd bootloader_config
[all]
WAKE_ON_GPIO=1
POWER_OFF_ON_HALT=1
DHCP_TIMEOUT=45000
DHCP_REQ_TIMEOUT=4000
TFTP_IP=192.168.0.20
TFTP_FILE_TIMEOUT=30000
ENABLE_SELF_UPDATE=1
DISABLE_HDMI=0
BOOT_ORDER=0xf214
USB_MSD_PWR_OFF_TIME=0
dmesg:
[Jun27 20:51] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[  +0.000000] Linux version 5.4.49-v8+ (dom@buildbot) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9)) #1323 SMP PREEMPT Fri Jun 26 14:47:11 BST 2020
[  +0.000000] Machine model: Raspberry Pi 4 Model B Rev 1.4
[  +0.000000] efi: Getting EFI parameters from FDT:
[  +0.000000] efi: UEFI not found.
[  +0.000000] Reserved memory: created CMA memory pool at 0x000000001dc00000, size 256 MiB
[  +0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[  +0.000000] On node 0 totalpages: 2047744
[  +0.000000]   DMA zone: 3580 pages used for memmap
[  +0.000000]   DMA zone: 0 pages reserved
[  +0.000000]   DMA zone: 229120 pages, LIFO batch:63
[  +0.000000]   DMA32 zone: 12288 pages used for memmap
[  +0.000000]   DMA32 zone: 770048 pages, LIFO batch:63
[  +0.000000]   Normal zone: 16384 pages used for memmap
[  +0.000000]   Normal zone: 1048576 pages, LIFO batch:63
[  +0.000000] percpu: Embedded 31 pages/cpu s89240 r8192 d29544 u126976
[  +0.000000] pcpu-alloc: s89240 r8192 d29544 u126976 alloc=31*4096
[  +0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[  +0.000000] Detected PIPT I-cache on CPU0
[  +0.000000] CPU features: detected: EL2 vector hardening
[  +0.000000] ARM_SMCCC_ARCH_WORKAROUND_1 missing from firmware
[  +0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 2015492
[  +0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_headphones=1  smsc95xx.macaddr=DC:A6:32:B0:18:56 vc_mem.mem_base=0x3eb00000 vc_mem.mem_size=0x3ff00000  console=ttyS0,115200 console=tty1 root=ZFS=rpool/ROOT/debian rootfstype=zfs elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles bootvol=MSD
[  +0.000000] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes, linear)
[  +0.000000] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[  +0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[  +0.000000] software IO TLB: mapped [mem 0x33f00000-0x37f00000] (64MB)
[  +0.000000] Memory: 7669624K/8190976K available (9532K kernel code, 1104K rwdata, 3348K rodata, 1088K init, 1201K bss, 259208K reserved, 262144K cma-reserved)
[  +0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[  +0.000000] ftrace: allocating 31708 entries in 124 pages
[  +0.000000] rcu: Preemptible hierarchical RCU implementation.
[  +0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=4.
[  +0.000000] 	Tasks RCU enabled.
[  +0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[  +0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[  +0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[  +0.000000] GIC: Using split EOI/Deactivate mode
[  +0.000000] random: get_random_bytes called from start_kernel+0x32c/0x4c4 with crng_init=0
[  +0.000000] arch_timer: cp15 timer(s) running at 54.00MHz (phys).
[  +0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0xc743ce346, max_idle_ns: 440795203123 ns
[  +0.000000] sched_clock: 56 bits at 54MHz, resolution 18ns, wraps every 4398046511102ns
[  +0.000212] Console: colour dummy device 80x25
[  +0.000025] printk: console [tty1] enabled
[  +0.000048] Calibrating delay loop (skipped), value calculated using timer frequency.. 108.00 BogoMIPS (lpj=216000)
[  +0.000017] pid_max: default: 32768 minimum: 301
[  +0.000366] Mount-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[  +0.000092] Mountpoint-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[  +0.001055] Disabling memory control group subsystem
[  +0.022220] ASID allocator initialised with 32768 entries
[  +0.007993] rcu: Hierarchical SRCU implementation.
[  +0.008366] EFI services will not be available.
[  +0.007693] smp: Bringing up secondary CPUs ...
[  +0.032198] Detected PIPT I-cache on CPU1
[  +0.000062] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
[  +0.032031] Detected PIPT I-cache on CPU2
[  +0.000041] CPU2: Booted secondary processor 0x0000000002 [0x410fd083]
[  +0.032068] Detected PIPT I-cache on CPU3
[  +0.000041] CPU3: Booted secondary processor 0x0000000003 [0x410fd083]
[  +0.000140] smp: Brought up 1 node, 4 CPUs
[  +0.000010] SMP: Total of 4 processors activated.
[  +0.000012] CPU features: detected: 32-bit EL0 Support
[  +0.000011] CPU features: detected: CRC32 instructions
[  +0.023663] CPU: All CPU(s) started at EL2
[  +0.000050] alternatives: patching kernel code
[  +0.001997] devtmpfs: initialized
[  +0.009632] Enabled cp15_barrier support
[  +0.000030] Enabled setend support
[  +0.000406] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[  +0.000025] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[  +0.007043] pinctrl core: initialized pinctrl subsystem
[  +0.000709] DMI not present or invalid.
[  +0.000339] NET: Registered protocol family 16
[  +0.002788] DMA: preallocated 1024 KiB pool for atomic allocations
[  +0.000737] cpuidle: using governor menu
[  +0.000378] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[  +0.000223] Serial: AMBA PL011 UART driver
[  +0.003200] bcm2835-mbox fe00b880.mailbox: mailbox enabled
[  +0.013015] raspberrypi-firmware soc:firmware: Attached to firmware from 2020-06-17 21:17, variant start_x
[  +0.004011] raspberrypi-firmware soc:firmware: Firmware hash is 73bf56edb302498ebd92415077229e743d36065a
[  +0.039796] bcm2835-dma fe007000.dma: DMA legacy API manager, dmachans=0x1
[  +0.003206] vgaarb: loaded
[  +0.000427] SCSI subsystem initialized
[  +0.000201] usbcore: registered new interface driver usbfs
[  +0.000048] usbcore: registered new interface driver hub
[  +0.000101] usbcore: registered new device driver usb
[  +0.001429] clocksource: Switched to clocksource arch_sys_counter
[  +0.639566] VFS: Disk quotas dquot_6.6.0
[  +0.000083] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[  +0.000191] FS-Cache: Loaded
[  +0.000205] CacheFiles: Loaded
[  +0.000738] simple-framebuffer: probe of 0.framebuffer failed with error -12
[  +0.009155] thermal_sys: Registered thermal governor 'step_wise'
[  +0.000330] NET: Registered protocol family 2
[  +0.000722] tcp_listen_portaddr_hash hash table entries: 4096 (order: 4, 65536 bytes, linear)
[  +0.000071] TCP established hash table entries: 65536 (order: 7, 524288 bytes, linear)
[  +0.000485] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes, linear)
[  +0.000991] TCP: Hash tables configured (established 65536 bind 65536)
[  +0.000280] UDP hash table entries: 4096 (order: 5, 131072 bytes, linear)
[  +0.000107] UDP-Lite hash table entries: 4096 (order: 5, 131072 bytes, linear)
[  +0.000358] NET: Registered protocol family 1
[  +0.000838] RPC: Registered named UNIX socket transport module.
[  +0.000011] RPC: Registered udp transport module.
[  +0.000008] RPC: Registered tcp transport module.
[  +0.000008] RPC: Registered tcp NFSv4.1 backchannel transport module.
[  +0.000019] PCI: CLS 0 bytes, default 64
[  +0.000225] Trying to unpack rootfs image as initramfs...
[  +1.214294] Freeing initrd memory: 16764K
[  +0.001822] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[  +0.000243] kvm: Limiting the IPA size due to kernel Virtual Address limit
[  +0.000010] kvm [1]: IPA Size Limit: 43bits
[  +0.000814] kvm [1]: vgic interrupt IRQ1
[  +0.000252] kvm [1]: Hyp mode initialized successfully
[  +0.002007] Initialise system trusted keyrings
[  +0.000298] workingset: timestamp_bits=46 max_order=21 bucket_order=0
[  +0.008591] FS-Cache: Netfs 'nfs' registered for caching
[  +0.000674] NFS: Registering the id_resolver key type
[  +0.000032] Key type id_resolver registered
[  +0.000009] Key type id_legacy registered
[  +0.000019] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[  +0.001202] Key type asymmetric registered
[  +0.000011] Asymmetric key parser 'x509' registered
[  +0.000042] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[  +0.000248] io scheduler mq-deadline registered
[  +0.000010] io scheduler kyber registered
[  +0.003343] brcm-pcie fd500000.pcie: host bridge /scb/pcie@7d500000 ranges:
[  +0.000020] brcm-pcie fd500000.pcie:   No bus range found for /scb/pcie@7d500000, using [bus 00-ff]
[  +0.000058] brcm-pcie fd500000.pcie:      MEM 0x0600000000..0x0603ffffff -> 0x00f8000000
[  +0.000057] brcm-pcie fd500000.pcie:   IB MEM 0x0000000000..0x00bfffffff -> 0x0000000000
[  +0.065650] brcm-pcie fd500000.pcie: link up, 5 GT/s x1 (SSC)
[  +0.000301] brcm-pcie fd500000.pcie: PCI host bridge to bus 0000:00
[  +0.000014] pci_bus 0000:00: root bus resource [bus 00-ff]
[  +0.000017] pci_bus 0000:00: root bus resource [mem 0x600000000-0x603ffffff] (bus address [0xf8000000-0xfbffffff])
[  +0.000053] pci 0000:00:00.0: [14e4:2711] type 01 class 0x060400
[  +0.000218] pci 0000:00:00.0: PME# supported from D0 D3hot
[  +0.003567] pci 0000:01:00.0: [1106:3483] type 00 class 0x0c0330
[  +0.000072] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x00000fff 64bit]
[  +0.000212] pci 0000:01:00.0: PME# supported from D0 D3hot
[  +0.003293] pci 0000:00:00.0: BAR 8: assigned [mem 0x600000000-0x6000fffff]
[  +0.000019] pci 0000:01:00.0: BAR 0: assigned [mem 0x600000000-0x600000fff 64bit]
[  +0.000034] pci 0000:00:00.0: PCI bridge to [bus 01]
[  +0.000019] pci 0000:00:00.0:   bridge window [mem 0x600000000-0x6000fffff]
[  +0.000072] pci 0000:00:00.0: enabling device (0000 -> 0002)
[  +0.000027] pci 0000:01:00.0: enabling device (0000 -> 0002)
[  +0.046258] pci 0000:01:00.0: quirk_usb_early_handoff+0x0/0x900 took 45190 usecs
[  +0.005855] iproc-rng200 fe104000.rng: hwrng registered
[  +0.000342] vc-mem: phys_addr:0x00000000 mem_base=0x3eb00000 mem_size:0x3ff00000(1023 MiB)
[  +0.000782] gpiomem-bcm2835 fe200000.gpiomem: Initialised: Registers at 0xfe200000
[  +0.000353] cacheinfo: Unable to detect cache hierarchy for CPU 0
[  +0.010098] brd: module loaded
[  +0.011614] loop: module loaded
[  +0.001231] Loading iSCSI transport class v2.0-870.
[  +0.001858] libphy: Fixed MDIO Bus: probed
[  +0.000536] bcmgenet fd580000.ethernet: failed to get enet clock
[  +0.000017] bcmgenet fd580000.ethernet: GENET 5.0 EPHY: 0x0000
[  +0.000017] bcmgenet fd580000.ethernet: failed to get enet-wol clock
[  +0.000016] bcmgenet fd580000.ethernet: failed to get enet-eee clock
[  +0.000023] bcmgenet: Skipping UMAC reset
[  +0.011018] libphy: bcmgenet MII bus: probed
[  +0.056073] unimac-mdio unimac-mdio.-19: Broadcom UniMAC MDIO bus
[  +0.000965] usbcore: registered new interface driver r8152
[  +0.000055] usbcore: registered new interface driver lan78xx
[  +0.000056] usbcore: registered new interface driver smsc95xx
[  +0.000499] xhci_hcd 0000:01:00.0: xHCI Host Controller
[  +0.000029] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 1
[  +0.000842] xhci_hcd 0000:01:00.0: hcc params 0x002841eb hci version 0x100 quirks 0x0000001000000890
[  +0.001207] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[  +0.000014] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  +0.000012] usb usb1: Product: xHCI Host Controller
[  +0.000011] usb usb1: Manufacturer: Linux 5.4.49-v8+ xhci-hcd
[  +0.000010] usb usb1: SerialNumber: 0000:01:00.0
[  +0.000632] hub 1-0:1.0: USB hub found
[  +0.000087] hub 1-0:1.0: 1 port detected
[  +0.000496] xhci_hcd 0000:01:00.0: xHCI Host Controller
[  +0.000020] xhci_hcd 0000:01:00.0: new USB bus registered, assigned bus number 2
[  +0.000020] xhci_hcd 0000:01:00.0: Host supports USB 3.0 SuperSpeed
[  +0.000388] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.04
[  +0.000013] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  +0.000011] usb usb2: Product: xHCI Host Controller
[  +0.000011] usb usb2: Manufacturer: Linux 5.4.49-v8+ xhci-hcd
[  +0.000010] usb usb2: SerialNumber: 0000:01:00.0
[  +0.000504] hub 2-0:1.0: USB hub found
[  +0.000056] hub 2-0:1.0: 4 ports detected
[  +0.001234] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[  +0.000230] dwc_otg: FIQ enabled
[  +0.000009] dwc_otg: NAK holdoff enabled
[  +0.000008] dwc_otg: FIQ split-transaction FSM enabled
[  +0.000011] Module dwc_common_port init
[  +0.000521] usbcore: registered new interface driver uas
[  +0.000088] usbcore: registered new interface driver usb-storage
[  +0.000196] mousedev: PS/2 mouse device common for all mice
[  +0.001852] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[  +0.002243] sdhci: Secure Digital Host Controller Interface driver
[  +0.000010] sdhci: Copyright(c) Pierre Ossman
[  +0.000513] mmc-bcm2835 fe300000.mmcnr: could not get clk, deferring probe
[  +0.000450] sdhci-pltfm: SDHCI platform and OF driver helper
[  +0.003384] ledtrig-cpu: registered to indicate activity on CPUs
[  +0.000065] hidraw: raw HID events driver (C) Jiri Kosina
[  +0.000134] usbcore: registered new interface driver usbhid
[  +0.000008] usbhid: USB HID core driver
[  +0.001411] vchiq: vchiq_init_state: slot_zero = (____ptrval____)
[  +0.005942] Initializing XFRM netlink socket
[  +0.000033] NET: Registered protocol family 17
[  +0.000117] Key type dns_resolver registered
[  +0.000644] registered taskstats version 1
[  +0.000019] Loading compiled-in X.509 certificates
[  +0.000263] Key type ._fscrypt registered
[  +0.000010] Key type .fscrypt registered
[  +0.009959] uart-pl011 fe201000.serial: cts_event_workaround enabled
[  +0.000100] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 14, base_baud = 0) is a PL011 rev2
[  +0.005560] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[  +0.000797] mmc-bcm2835 fe300000.mmcnr: mmc_debug:0 mmc_debug2:0
[  +0.000012] mmc-bcm2835 fe300000.mmcnr: DMA channel allocated
[  +0.049322] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[  +0.001632] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[  +0.001627] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[  +0.002925] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[  +0.001627] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[  +0.009089] mmc0: SDHCI controller on fe340000.emmc2 [fe340000.emmc2] using ADMA
[  +0.003127] of_cfs_init
[  +0.000203] of_cfs_init: OK
[  +0.004915] Freeing unused kernel memory: 1088K
[  +0.000183] Run /init as init process
[  +0.029699] random: fast init done
[  +0.022522] mmc1: new high speed SDIO card at address 0001
[  +0.039737] mmc0: new ultra high speed DDR50 SDXC card at address 0001
[  +0.000997] mmcblk0: mmc0:0001 00000 59.6 GiB
[  +0.006254]  mmcblk0: p1 p2
[  +0.125228] usb 2-1: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[  +0.033272] usb 2-1: New USB device found, idVendor=0bda, idProduct=9210, bcdDevice=30.00
[  +0.000013] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  +0.000013] usb 2-1: Product: RTL9210
[  +0.000011] usb 2-1: Manufacturer: Realtek
[  +0.000011] usb 2-1: SerialNumber: 012345678903
[  +0.004824] usb 2-1: Enable of device-initiated U1 failed.
[  +0.001770] usb 2-1: Enable of device-initiated U2 failed.
[  +0.077870] usb 2-1: Enable of device-initiated U1 failed.
[  +0.001811] usb 2-1: Enable of device-initiated U2 failed.
[  +0.012203] scsi host0: uas
[  +0.004458] scsi 0:0:0:0: Direct-Access     NVMe     Samsung SSD 950  BXX7 PQ: 0 ANSI: 6
[  +0.014843] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[  +0.009551] sd 0:0:0:0: [sda] 500118192 512-byte logical blocks: (256 GB/238 GiB)
[  +0.002646] sd 0:0:0:0: [sda] Write Protect is off
[  +0.000018] sd 0:0:0:0: [sda] Mode Sense: 37 00 00 08
[  +0.005363] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[  +0.004343] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes
[  +0.060396]  sda: sda1 sda2 sda3
[  +0.025790] sd 0:0:0:0: [sda] Attached SCSI disk
[  +0.042189] usb 1-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.21
[  +0.000019] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[  +0.000012] usb 1-1: Product: USB2.0 Hub
[  +0.001729] hub 1-1:1.0: USB hub found
[  +0.000271] hub 1-1:1.0: 4 ports detected
[  +0.467532] [drm] Initialized v3d 1.0.0 20180419 for fec00000.v3d on minor 0
[  +0.010537] [drm] No displays found. Consider forcing hotplug if HDMI is attached
[  +0.000090] vc4-drm gpu: bound fe600000.firmwarekms (ops vc4_fkms_ops [vc4])
[  +0.000021] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[  +0.000009] [drm] No driver support for vblank timestamp query.
[  +0.000008] [drm] Setting vblank_disable_immediate to false because get_vblank_timestamp == NULL
[  +0.001839] [drm] Initialized vc4 0.0.0 20140616 for gpu on minor 1
[  +0.142700] spl: loading out-of-tree module taints kernel.
[  +0.460534] zlua: module license 'MIT' taints kernel.
[  +0.000013] Disabling lock debugging due to kernel taint
[  +1.781426] ZFS: Loaded module v0.8.4-1, ZFS pool version 5000, ZFS filesystem version 5
[  +1.702365] systemd[1]: System time before build time, advancing clock.
[  +0.079092] NET: Registered protocol family 10
[  +0.001357] Segment Routing with IPv6
[  +0.034182] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[  +0.002896] systemd[1]: Detected architecture arm64.
[  +0.024657] systemd[1]: Set hostname to <goat>.
[  +0.588256] random: systemd: uninitialized urandom read (16 bytes read)
[  +0.002561] systemd[1]: Created slice User and Session Slice.
[  +0.000398] random: systemd: uninitialized urandom read (16 bytes read)
[  +0.001078] systemd[1]: Listening on udev Control Socket.
[  +0.016498] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
[  +0.000125] random: systemd: uninitialized urandom read (16 bytes read)
[  +0.002170] systemd[1]: Created slice system-getty.slice.
[  +0.002026] systemd[1]: Listening on Syslog Socket.
[  +0.001321] systemd[1]: Listening on fsck to fsckd communication Socket.
[  +0.000138] systemd[1]: Reached target Slices.
[  +0.059234] i2c /dev entries driver
[  +0.310845] systemd-journald[594]: Received request to flush runtime journal from PID 1
[  +0.291092] random: crng init done
[  +0.000019] random: 7 urandom warning(s) missed due to ratelimiting
[  +0.042677] rpivid-mem feb00000.hevc-decoder: rpivid-hevcmem initialised: Registers at 0xfeb00000 length 0x00010000
[  +0.001815] rpivid-mem feb10000.rpivid-local-intc: rpivid-intcmem initialised: Registers at 0xfeb10000 length 0x00001000
[  +0.002031] rpivid-mem feb20000.h264-decoder: rpivid-h264mem initialised: Registers at 0xfeb20000 length 0x00010000
[  +0.006731] rpivid-mem feb30000.vp9-decoder: rpivid-vp9mem initialised: Registers at 0xfeb30000 length 0x00010000
[  +0.038755] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[  +0.014690] bcm2835_audio bcm2835_audio: card created with 8 channels
[  +0.011727] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[  +0.002718] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[  +0.000021] [vc_sm_connected_init]: start
[  +0.004170] mc: Linux media interface: v0.10
[  +0.004561] [vc_sm_connected_init]: installed successfully
[  +0.096446] videodev: Linux video capture interface: v2.00
[  +0.079023] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[  +0.002884] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[  +0.010742] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[  +0.012635] bcm2835_isp: module is from the staging directory, the quality is unknown, you have been warned.
[  +0.015476] bcm2835_codec: module is from the staging directory, the quality is unknown, you have been warned.
[  +0.026317] bcm2835-isp bcm2835-isp: bcm2835_isp_get_supported_fmts: port has more encoding than we provided space for. Some are dropped.
[  +0.000410] bcm2835-isp bcm2835-isp: Device node output[0] registered as /dev/video13
[  +0.000594] bcm2835-isp bcm2835-isp: Device node capture[0] registered as /dev/video14
[  +0.001952] bcm2835-isp bcm2835-isp: Device node capture[1] registered as /dev/video15
[  +0.000458] bcm2835-isp bcm2835-isp: Device node stats[2] registered as /dev/video16
[  +0.000030] bcm2835-isp bcm2835-isp: Register output node 0 with media controller
[  +0.000016] bcm2835-isp bcm2835-isp: Register capture node 1 with media controller
[  +0.000024] bcm2835-isp bcm2835-isp: Register capture node 2 with media controller
[  +0.000014] bcm2835-isp bcm2835-isp: Register capture node 3 with media controller
[  +0.000288] bcm2835-isp bcm2835-isp: Loaded V4L2 bcm2835-isp
[  +0.000818] bcm2835-codec bcm2835-codec: Device registered as /dev/video10
[  +0.000036] bcm2835-codec bcm2835-codec: Loaded V4L2 decode
[  +0.183280] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[  +0.106593] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[  +0.098211] brcmfmac: F1 signature read @0x18000000=0x15264345
[  +0.015790] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[  +0.000747] usbcore: registered new interface driver brcmfmac
[  +0.008134] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,4-model-b.txt failed with error -2
[  +0.035951] sd 0:0:0:0: Attached scsi generic sg0 type 0
[  +0.173691] bcm2835-codec bcm2835-codec: Device registered as /dev/video11
[  +0.000048] bcm2835-codec bcm2835-codec: Loaded V4L2 encode
[  +0.009909] : bcm2835_codec_get_supported_fmts: port has more encoding than we provided space for. Some are dropped.
[  +0.002403] bcm2835-codec bcm2835-codec: Device registered as /dev/video12
[  +0.000042] bcm2835-codec bcm2835-codec: Loaded V4L2 isp
[  +0.004656] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[  +0.010153] bcm2835-v4l2: scene mode selected 0, was 0
[  +0.000541] bcm2835-v4l2: V4L2 device registered as video0 - stills mode > 1280x720
[  +0.003675] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Mar  2 2020 23:30:41 version 7.45.202 (r724630 CY) FWID 01-72f6ece2
[  +0.004393] bcm2835-v4l2: Broadcom 2835 MMAL video capture ver 0.0.2 loaded.
[  +1.705619] systemd-journald[594]: File /var/log/journal/23ba64e805e34c34aec1b2009dffc75c/system.journal corrupted or uncleanly shut down, renaming and replacing.
[  +0.334795] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[  +0.019190] XFS (sda2): Mounting V5 Filesystem
[  +0.022917] XFS (sda2): Ending clean mount
[  +0.004381] xfs filesystem being mounted at /var/cache/fscache supports timestamps until 2038 (0x7fffffff)
[  +2.754015] uart-pl011 fe201000.serial: no DMA platform data
[  +0.152795] 8021q: 802.1Q VLAN Support v1.8
[  +0.332733] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[  +0.216642] bcmgenet: Skipping UMAC reset
[  +0.002573] bcmgenet fd580000.ethernet: configuring instance for external RGMII
[  +0.000350] bcmgenet fd580000.ethernet eth0: Link is Down
[  +5.724690] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  +1.291801] ICMPv6: process `dhcpcd' is using deprecated sysctl (syscall) net.ipv6.neigh.wlan0.retrans_time - use net.ipv6.neigh.wlan0.retrans_time_ms instead
[  +7.882058] FS-Cache: Cache "mycache" added (type cachefiles)
[  +0.000010] CacheFiles: File cache on sda2 registered
config.txt:
# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details

# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1

# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1

# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16

# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720

# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1

# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1

# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2

# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4

# uncomment for composite PAL
#sdtv_mode=2

#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800

# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on

# Uncomment this to enable infrared communication.
#dtoverlay=gpio-ir,gpio_pin=17
#dtoverlay=gpio-ir-tx,gpio_pin=18

# Additional overlays and parameters are documented /boot/overlays/README

# Enable audio (loads snd_bcm2835)
dtparam=audio=on

# Enable DRM VC4 V3D driver
dtoverlay=vc4-fkms-v3d
max_framebuffers=2
arm_64bit=1
start_x=1
gpu_mem=128
#bootloader_update=1

# Disable Ethernet LEDs
dtparam=eth_led0=4
dtparam=eth_led1=4

# Disable the PWR LED
dtparam=pwr_led_trigger=none
dtparam=pwr_led_activelow=off
# Disable the Activity LED
dtparam=act_led_trigger=none
dtparam=act_led_activelow=off
initramfs initrd.img-5.4.49-v8+ followkernel
kernel_address=0x80000
cmdline.txt:
console=serial0,115200 console=tty1 root=ZFS=rpool/ROOT/debian rootfstype=zfs elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles bootvol=MSD

sudo sgdisk -p /dev/sda
Disk /dev/sda: 500118192 sectors, 238.5 GiB
Model: Samsung SSD 950 
Sector size (logical/physical): 512/512 bytes
Disk identifier (GUID): C0972B55-7B05-42EA-9CEA-51C20E9D01DD
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 500118158
Partitions will be aligned on 16-sector boundaries
Total free space is 14 sectors (7.0 KiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1              48         4194351   2.0 GiB     EF00  
   2         4194352         6291503   1024.0 MiB  BF01  
   3         6291504       500118158   235.5 GiB   BF00  

(Only difference with non-working config was having the most recent elf and dat files on the boot partition.)

The kernel_address line is changed as per #1421 (comment) because I was tired and was just trying to throw fixes at the wall.

@pelwell
Copy link
Contributor

pelwell commented Jun 28, 2020

Thanks - by forcing kernel_address=0x80000 and seeing it not boot you've confirmed that this is not the same issue as #1421. I have a hunch this will also fail with a 32-bit kernel.

Which is your boot partition?

@satmandu
Copy link

satmandu commented Jun 28, 2020

boot partition is 1 /dev/sda1

@KrisztianKende
Copy link
Author

I did some tests, and I found that this bug is definitely related to the GUID partition table. So the boot is OK on MBR, but fails with GPT.

@timg236
Copy link

timg236 commented Jun 29, 2020

The fix for SD GPT broke the USB GPT change, there's a fix in the pipeline.

popcornmix added a commit that referenced this issue Jul 2, 2020
kernel: drm/vc4: Allow interlaced HDMI modes from FKMS
See: raspberrypi/linux#3698

kernel: Isp driver fixes
See: raspberrypi/linux#3695

kernel: Add Bluetooth overlays
See: raspberrypi/linux#3682

firmware: arm_loader: Allow interlaced HDMI modes from FKMS
See: raspberrypi/linux#3698

firmware: arm_loader: Limit rather than reject boosts with disable_auto_turbo

firmware: i2c: Clearing the TA bit may time out
See: #1422

firmware: arm_loader: Add an accelerated memmove
firmware: arm_loader: memmove kernel to preferred text_offset
See: #1421

firmware: filesystem: Fix GPT regression on USB after SD fix
See: #1420

firmware: bootloader: Some tweaks for LED, UART, USB timeouts
popcornmix added a commit to Hexxeh/rpi-firmware that referenced this issue Jul 2, 2020
kernel: drm/vc4: Allow interlaced HDMI modes from FKMS
See: raspberrypi/linux#3698

kernel: Isp driver fixes
See: raspberrypi/linux#3695

kernel: Add Bluetooth overlays
See: raspberrypi/linux#3682

firmware: arm_loader: Allow interlaced HDMI modes from FKMS
See: raspberrypi/linux#3698

firmware: arm_loader: Limit rather than reject boosts with disable_auto_turbo

firmware: i2c: Clearing the TA bit may time out
See: raspberrypi/firmware#1422

firmware: arm_loader: Add an accelerated memmove
firmware: arm_loader: memmove kernel to preferred text_offset
See: raspberrypi/firmware#1421

firmware: filesystem: Fix GPT regression on USB after SD fix
See: raspberrypi/firmware#1420

firmware: bootloader: Some tweaks for LED, UART, USB timeouts
@KrisztianKende
Copy link
Author

Thanks, commit 66fc5ea has successfully resolved this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants