Bug#1060682: __wrpll_calc_filter_range: post-divider reference freq out of range
Hi Heinrich, On 2024-02-21 12:07, Heinrich Schuchardt wrote: > the > __wrpll_calc_filter_range: post-divider reference freq out of range > issue is caused by corruption of the in memory device-tree. > > The appended patch solves the issue. Thanks a lot for debugging the issue. I have done a test with the debian package and 3 different changelog entries to get 3 different CONFIG_LOCALVERSION, and I can confirm that the bug is gone. Regards Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurel...@aurel32.net http://aurel32.net
Bug#1060682: __wrpll_calc_filter_range: post-divider reference freq out of range
the __wrpll_calc_filter_range: post-divider reference freq out of range issue is caused by corruption of the in memory device-tree. The appended patch solves the issue. Best regards HeinrichSubject: move sbi_dbcn_available to .data section From: Heinrich Schuchardt When U-Boot SPL loads the device-tree it does not consider the BSS section. The RISC-V SBI Debug UART is enable before relocations. With sbi_dbcn_available in the .bss section the device-tree is corrupted. Move the variable to the .data section. For a final solution the handling of the BSS section will have to be improved in upstream U-Boot. Forwarded: no Last-Update: 2024-02-21 --- a/drivers/serial/serial_sbi.c +++ b/drivers/serial/serial_sbi.c @@ -17,7 +17,7 @@ #else -static int sbi_dbcn_available; +static int sbi_dbcn_available __section(".data"); static inline void _debug_uart_init(void) {