Commit 2c598c9
committed
boards/rp23xx: Add an FDPIC configuration for the Pimoroni Pico Plus 2.
xipfs-fdpic is the xipfs configuration plus the FDPIC loader and the
fdpicxip demo, so that the fdpic and reject sections of the XIPFS test
suite have something to run. It is the configuration the loader was
tested with, and until now none was in the tree: FDPIC needed a dozen
options set by hand, three of which are not obvious.
CONFIG_LIBC_ENVPATH and CONFIG_LDPATH_INITIAL, because a library named in
DT_NEEDED is opened by name and dlopen() searches LD_LIBRARY_PATH. And
CONFIG_LIBC_ELF_HAVE_SYMTAB, because a library resolves its own imports
against the module registry's symbol table rather than the one exec()
supplies.
CONFIG_DEFAULT_TASK_STACKSIZE goes to 4096, from the board's 2048, and
both sides of the loader need it. A module that calls into the firmware's
printf family overflows 2048, and with no MPU that is a lockup with no
diagnostic at all; CONFIG_ELF_STACKSIZE is not set here because it
defaults to CONFIG_DEFAULT_TASK_STACKSIZE and so follows it to 4096. The
XIPFS test task is sized from it directly, and at 2048 that task overflows
in printf partway through the module tests, so the suite stops mid-run
with no failure reported and no dump -- which reads as a loader bug rather
than as the test running out of stack.
Assisted-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Marco Casaroli <marco.casaroli@gmail.com>1 parent 026c9e6 commit 2c598c9
2 files changed
Lines changed: 81 additions & 0 deletions
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
180 | 195 | | |
181 | 196 | | |
182 | 197 | | |
| |||
Lines changed: 66 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
0 commit comments