summary refs log tree commit diff stats
path: root/gitlab/issues_text/target_missing/host_missing/accel_missing/2478
diff options
context:
space:
mode:
authorChristian Krinitsin <mail@krinitsin.com>2025-06-01 21:35:14 +0200
committerChristian Krinitsin <mail@krinitsin.com>2025-06-01 21:35:14 +0200
commit3e4c5a6261770bced301b5e74233e7866166ea5b (patch)
tree9379fddaba693ef8a045da06efee8529baa5f6f4 /gitlab/issues_text/target_missing/host_missing/accel_missing/2478
parente5634e2806195bee44407853c4bf8776f7abfa4f (diff)
downloadqemu-analysis-3e4c5a6261770bced301b5e74233e7866166ea5b.tar.gz
qemu-analysis-3e4c5a6261770bced301b5e74233e7866166ea5b.zip
clean up repository
Diffstat (limited to 'gitlab/issues_text/target_missing/host_missing/accel_missing/2478')
-rw-r--r--gitlab/issues_text/target_missing/host_missing/accel_missing/247818
1 files changed, 0 insertions, 18 deletions
diff --git a/gitlab/issues_text/target_missing/host_missing/accel_missing/2478 b/gitlab/issues_text/target_missing/host_missing/accel_missing/2478
deleted file mode 100644
index 1b5690c2a..000000000
--- a/gitlab/issues_text/target_missing/host_missing/accel_missing/2478
+++ /dev/null
@@ -1,18 +0,0 @@
-STM32F1 STM32VLDicovery board: incorrect clock register setting
-Description of problem:
-The execution of the program hangs when testing, from libopencm3 clock initialization, the status of the clock in ``rcc_wait_for_osc_ready()``. This function https://github.com/libopencm3/libopencm3/blob/master/lib/stm32/f1/rcc.c#L366 loops until the bit stating that the oscillator is stabilized is set. I am unable to find in qemu this bit being set upon clock initialization, which I believe is an hardware emulation shortcoming. Commenting this line in libopencm3 allows for the emulation to complete correctly, but I believe the error lies in the hardware emulation and not in the libopencm3 test. Reading the status of ``RCC_CR`` from ``gdb-multiarch`` probing the QEMU internal state returns 0, leading to the failure of the test at https://github.com/libopencm3/libopencm3/blob/master/lib/stm32/f1/rcc.c#L353
-
-See https://www.st.com/resource/en/reference_manual/rm0008-stm32f101xx-stm32f102xx-stm32f103xx-stm32f105xx-and-stm32f107xx-advanced-armbased-32bit-mcus-stmicroelectronics.pdf for the expected behavior of this register content on page 99/1136
-```
-7.3.1 Clock control register (RCC_CR)
-
-Bit 17 HSERDY: External high-speed clock ready flag
-Set by hardware to indicate that the HSE oscillator is stable. This bit needs 6 cycles of the
-HSE oscillator clock to fall down after HSEON reset.
-0: HSE oscillator not ready
-1: HSE oscillator ready
-```
-Steps to reproduce:
-1. git clone --recursive https://github.com/libopencm3/libopencm3-examples
-2. make
-3. qemu-system-arm -M stm32vldiscovery -nographic -serial mon:stdio -kernel examples/stm32/f1/stm32vl-discovery/usart/usart.elf