RTEMS | noelv: DTB parsing is broken (#5383)

Matteo Concas (@matteo.concas) gitlab at rtems.org
Fri Oct 31 09:20:41 UTC 2025




Matteo Concas commented: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5383#note_135501


Rebuilt the toolchain from RSB commit `36d6d7b` which gave me GCC 13.4.
I then rebuilt the kernel from the head of the main branch and ran the test again:
```
grmon4> load build/riscv/noel64imafd/testsuites/samples/hello.exe ; run
                 0 .start             232B              [===============>] 100%
                f0 .text             97.1kB /  97.1kB   [===============>] 100%
             18580 .rodata          265.6kB / 265.6kB   [===============>] 100%
             5abd8 .eh_frame            4B              [===============>] 100%
             5abe0 .tdata              24B              [===============>] 100%
             5abf8 .init_array          8B              [===============>] 100%
             5ac00 .fini_array          8B              [===============>] 100%
             5ac08 .rtemsroset        176B              [===============>] 100%
             5acb8 .data              1.8kB /   1.8kB   [===============>] 100%
             5b3c8 .sdata             336B              [===============>] 100%
  Total size: 365.26kB (42.75Mbit/s)
  Entry point 0x00000000
  Image /home/matteo/dev/rtems-gaisler/build/riscv/noel64imafd/testsuites/samples/hello.exe loaded


*** BEGIN OF TEST HELLO WORLD ***
*** TEST VERSION: 7.0.0.e45e0d2e5b40badb639e95ee85e82d02c2a8d516
*** TEST STATE: EXPECTED_PASS
*** TEST BUILD: RTEMS_POSIX_API RTEMS_SMP
*** TEST TOOLS: 13.4.0 20250605 (RTEMS 7, RSB 36d6d7bd639dfa69b864e066b52c8f917cd17418-modified, Newlib 038afec1)
Hello World

*** END OF TEST HELLO WORLD ***


[ RTEMS shutdown ]
CPU: 0
RTEMS version: 7.0.0.e45e0d2e5b40badb639e95ee85e82d02c2a8d516
RTEMS tools: 13.4.0 20250605 (RTEMS 7, RSB 36d6d7bd639dfa69b864e066b52c8f917cd17418-modified, Newlib 038afec1)
executing thread ID: 0x0a010001
executing thread name: UI1
  CPU 0:  Program exited normally
  CPU 1:  Forced into debug mode
          0x00000000000000ac: ffdff06f  j       0xa8
```
Seems the switch to GCC 15 had some impact on DTB parsing.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5383#note_135501
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20251031/302ecb1b/attachment.htm>


More information about the bugs mailing list