Using mov to load the UART address limits the possible values for
SOCDEV_PA and SOCDEV_VA. Change to use ldr.
[RFC, trying to see if this will be useful for others]
Differential D19078
arm64: update early printf support jchandra on Feb 4 2019, 7:44 PM. Authored by Tags None Referenced Files
Details
Diff Detail
Event TimelineComment Actions I've been thinking about reserving a fixed VA on arm64 for this and reworking how we set the range for EARLY_PRINTF. The idea would be we only need to set the physical address, the virtual address base will be fixed, with the offset dependent on the physical address. My idea is to then rework EARLY_PRINTF to be set in the config with something like: options SOCDEV_PA=0x12345000 options EARLY_PRINTF=pl011 It would then enable EARLY_PRINTF in the pl011 driver with a physical base of 0x12345000. Having said this, I'm happy with this to get it working for now. This comment was removed by jchandra. Comment Actions Dropping this for now. We need better EARLY_PRINTF support like andrew noted above before adding this. |