You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
aarch64 bcm2711_defconfig fails to get to early console #3032
aarch64 bcm2711_defconfig with CONFIG_BCM_VIDEOCORE disabled (see #3031) fails to get to early console with the kernel command line earlycon=pl011,0xfe201000 console=ttyAMA0,115200 root=/dev/mmcblk0p2 rootfstype=f2fs rootwait. The kernel7l.img provided in https://github.com/raspberrypi/firmware with the same kernel command line and firmware boots just fine (and indeed starts printing to the console earlier than when earlycon is not set).
changed the title [-]aarch64 bcm2711_defconfig with VideoCore disabled fails to get to early console[/-][+]aarch64 bcm2711_defconfig fails to get to early console[/+]on Jun 28, 2019
Not that I'm aware of, but as you can tell this isn't one of the use cases we tested pre-launch. The two related config.txt settings are arm_64bit and enable_gic: the former should be set automatically if kernel8.img is loaded, and the latter is set if the dtb includes an enabled GIC node.
I used Yocto and meta-raspberrypi (master branches) with some additions to have a raspberrypi4-64 machine and building the kernel and using the firmwares in the head of its branches (rpi-4.19.y and master).
The tools/armstubs I had to compile separately to produce the armstub8-gic.bin.
Hi @diegosueiro. You'll have this in meta-raspberrypi master today. Also, I don't think you need the device tree set. Also I'd expect kernel8 to be picked up automatically too.
Activity
hvenev commentedon Jun 28, 2019
This happens both on current rpi-4.19.y (e8a66b4) with firmware from raspberrypi/firmware@bcf40b5 and raspberrypi-kernel_1.20190620-1 (883a1a5) with firmware from 1.20190620+1 (raspberrypi/firmware@88ca908).
pelwell commentedon Jun 28, 2019
2711 v8 support is a work in progress. In particular, the v8 ARM stubs need GIC support.
hvenev commentedon Jun 28, 2019
Isn't early console initialized before the GIC?
pelwell commentedon Jun 28, 2019
Perhaps, but the L2 cache latencies need to be set before either of them.
[-]aarch64 bcm2711_defconfig with VideoCore disabled fails to get to early console[/-][+]aarch64 bcm2711_defconfig fails to get to early console[/+]hvenev commentedon Jun 29, 2019
OK... How do I reproduce the results from cdb78ce? Is it enough to set
total_mem=1024? Also, where are the L2 cache latencies set for 32-bit arm?agherzan commentedon Jul 1, 2019
@pelwell I see that raspberrypi/tools@7f4a937#diff-d9d684ceaf48229906f8a534b4cac276 includes gic support for v8 arm stubs. Isn't this included?
pelwell commentedon Jul 1, 2019
It's not built into the firmware yet, but if you build it yourself and add
armstub=...to config.txt it should work.agherzan commentedon Jul 1, 2019
That was what I suspected. Thanks. I"ll try that. Are there any other known issues even with this stub added?
pelwell commentedon Jul 1, 2019
Not that I'm aware of, but as you can tell this isn't one of the use cases we tested pre-launch. The two related config.txt settings are
arm_64bitandenable_gic: the former should be set automatically ifkernel8.imgis loaded, and the latter is set if the dtb includes an enabled GIC node.diegosueiro commentedon Jul 2, 2019
@agherzan and @pelwell ,
I can confirm that the 64-bit kernel boots having the following in the config.txt:
I used Yocto and meta-raspberrypi (master branches) with some additions to have a raspberrypi4-64 machine and building the kernel and using the firmwares in the head of its branches (rpi-4.19.y and master).
The tools/armstubs I had to compile separately to produce the
armstub8-gic.bin.agherzan commentedon Jul 2, 2019
Hi @diegosueiro. You'll have this in meta-raspberrypi master today. Also, I don't think you need the device tree set. Also I'd expect kernel8 to be picked up automatically too.
diegosueiro commentedon Jul 2, 2019
@agherzan,
I was just extra cautious with the settings. 😉
agherzan commentedon Jul 2, 2019
@diegosueiro have you limit the total memory as well?
diegosueiro commentedon Jul 2, 2019
@agherzan, as far as I remember I haven't touch any memory configuration.
62 remaining items
configs: arm64/bcm2711: Add MMC_SDHCI_IPROC
configs: arm64/bcm2711: Add MMC_SDHCI_IPROC
configs: arm64/bcm2711: Add MMC_SDHCI_IPROC
Add brcm43430-firmware-20190812.ebuild
configs: arm64/bcm2711: Add MMC_SDHCI_IPROC
configs: arm64/bcm2711: Add MMC_SDHCI_IPROC
configs: arm64/bcm2711: Add MMC_SDHCI_IPROC
configs: arm64/bcm2711: Add MMC_SDHCI_IPROC
configs: arm64/bcm2711: Add MMC_SDHCI_IPROC
configs: arm64/bcm2711: Add MMC_SDHCI_IPROC
verup and ...
configs: arm64/bcm2711: Add MMC_SDHCI_IPROC
configs: arm64/bcm2711: Add MMC_SDHCI_IPROC
hvenev commentedon Apr 22, 2020
This should have been closed ages ago.