Andrzej Głowiński
Andrzej Głowiński
Data in plo is serialized directly to Elf structs, eg. in https://github.com/phoenix-rtos/plo/blob/cd80102775f353e995977aa3219657c4cfad4a3f/cmds/kernel.c#L61 Those structures is packed in kernel (https://github.com/phoenix-rtos/phoenix-rtos-kernel/blob/f69704d2fefcd675d62e3bfdc266f60733684d51/proc/elf.h#L61) but not in plo, where pragma nor __packed__ is not used.
I identify some issues not allowing to run tests on my host environment. 1. Target not stopping in plo ``` Flashing an image to device... Done! phoenix-rtos-tests/initfini/main: FAIL PLO ERROR:...
Verified on ia32-generic-qemu (CONSOLE=serial), armv7a9-zynq7000-qemu and armv7m4-stm32l4x6-nucleo with PR https://github.com/phoenix-rtos/phoenix-rtos-devices/pull/395 Steps to reproduce: 1. Type long command and press enter (eg. `aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa`) 2. Should got `Unknown command!` and psh prompt...
Issue reproduces only with CONSOLE=vga Project commit: d797ccfa59c1e84bd0deed3b7b9fd382d862059c Reproduction: 1. Press button to stop in plo 2. type `wait` 3. press any key 4. repeat to 2 After some repetition,...