Bug 13052 - Serial Console stops displaying at "Starting kernel" on RPi4B
Summary: Serial Console stops displaying at "Starting kernel" on RPi4B
Status: ASSIGNED
Alias: None
Product: IPFire
Classification: Unclassified
Component: --- (show other bugs)
Version: 2
Hardware: unspecified Unspecified
: - Unknown - - Unknown -
Assignee: Arne.F
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-03 01:32 UTC by Jon
Modified: 2023-03-03 17:05 UTC (History)
1 user (show)

See Also:


Attachments
screenshot of log (incomplete) (525.51 KB, image/png)
2023-03-03 17:05 UTC, Jon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jon 2023-03-03 01:32:22 UTC
During a boot with the serial console, the serial console stops displaying at "Starting kernel".  The RPi4b seems to boot OK but the serial console does not work.


```
[root@ipfireRPi4B9 ~]# cat /boot/uENV.txt
KVER=6.1.11
DTBSUNXI=sun8i-h3-nanopi-r1.dtb
root_dev=UUID=1234567....
SERIAL-CONSOLE=ON

[root@ipfireRPi4B9 ~]# cat /boot/config.txt
. . .
enable_uart=1
. . .
hdmi_safe=1
```


```
U-Boot 2022.10 (Dec 27 2022 - 13:59:35 +0000) RPi4 - IPFire.org

DRAM:  3.9 GiB
RPI 4 Model B (0xc03111)
Core:  205 devices, 16 uclasses, devicetree: board
MMC:   mmcnr@7e300000: 1, mmc@7e340000: 0
Loading Environment from FAT... *** Warning - bad CRC, using default environment

In:    serial
Out:   vidconsole
Err:   vidconsole
Net:   eth0: ethernet@7d580000
PCIe BRCM: link up, 5.0 Gbps x1 (SSC)
starting USB...
Bus xhci_pci: Register 5000420 NbrPorts 5
Starting the controller
USB XHCI 1.00
scanning bus xhci_pci for devices... 3 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0 
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
2824 bytes read in 10 ms (275.4 KiB/s)
## Executing script at 02400000
113 bytes read in 7 ms (15.6 KiB/s)
Load uEnv.txt...
...
Set console to ttyAMA0,115200n8
27265536 bytes read in 1222 ms (21.3 MiB/s)
27434 bytes read in 22 ms (1.2 MiB/s)

16139829 bytes read in 693 ms (22.2 MiB/s)
Ramdisk loaded...
Unknown command 'bootz' - try 'help'
Moving Image from 0x80000 to 0x200000, end=1cf0000
## Loading init Ramdisk from Legacy Image at 02700000 ...
   Image Name:   
   Image Type:   AArch64 Linux RAMDisk Image (lzma compressed)
   Data Size:    16139765 Bytes = 15.4 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 02600000
   Booting using the fdt blob at 0x2600000
   Loading Device Tree to 000000003df2c000, end 000000003df35b29 ... OK

Starting kernel ...
```


Tested with:
Raspberry Pi 4 Model B Rev 1.1
IPFire 2.27 (aarch64) - Core-Update 173
Comment 1 Michael Tremer 2023-03-03 11:00:32 UTC
I believe this one is for Arne.
Comment 2 Jon 2023-03-03 17:05:09 UTC
Created attachment 1139 [details]
screenshot of log (incomplete)

The first post was an update from CU 172 to CU 173.  This post is a new CU 713 download and build.

Similar errors as first post.