[fpc-devel] Sucesfull (mostly) experiment to build CHROMuLAN application with FPC main (3.3.1-git) and Lazarus GIT on RISC-V 64 target
Pavel Pisa
ppisa4lists at pikron.com
Thu Aug 8 09:23:33 CEST 2024
Hello all,
On Saturday 03 of August 2024 18:09:01 Pavel Pisa via fpc-devel wrote:
> we have developed open-open source chromatography system
> control, acquisition and processing system many years ago
>
> https://sourceforge.net/projects/chromulan/
I have reproduced the full rebuild of free-pascal, Lazarus LCL
and CHROMuLAN directly on Milk-V Pioneer box.
The picture demonstrating the CHROMuLAN processing
data and running data acquisition from USB connected
device is attached to my Mastodon post
https://social.kernel.org/notice/AkjYvergU6jrFAYJ9M
The problem with keeping virtual registers instead of mapping
to RV64 hardware ones in full Lazarus make bigide build
seems to be exactly reproducible on real hardware same
as in user space QEMU RISC-V Debian in chroot install.
Assembling formeditingintf
> units/riscv64-linux/nogui/formeditingintf.s: Assembler messages:
> units/riscv64-linux/nogui/formeditingintf.s:3366: Error: illegal operands
> `lui ireg32,1' units/riscv64-linux/nogui/formeditingintf.s:3367: Error:
> illegal operands `addiw ireg32,ireg32,-1736'
> units/riscv64-linux/nogui/formeditingintf.s:3368: Error: illegal operands
> `add ireg33,x5,ireg32' units/riscv64-linux/nogui/formeditingintf.s:3369:
...
I am on vacations next week (orienteering camp and do not plan take
some kind of Internet connection).
This project is more of the curiosity for now but running the system
on VisionFive 2 same as on Raspberry Pi could be alternative
to replace Windows systems for some user in longer future.
Processing power demand of CHROMuLAN is a niche.
I would be happy to continue to test our application with Lazarus,
and test even FPC ecosystem on RISC-V and other hardware from time
to time. Say, if you have some idea which kind of testing can help
the FPC project. I can help with registers mapping problem as well
if you specify which way to call, debug or modify FPC to get more
information.
Best wishes and thanks for many years of your work,
Pavel
--
Pavel Pisa
phone: +420 603531357
e-mail: pisa at cmp.felk.cvut.cz
Department of Control Engineering FEE CVUT
Karlovo namesti 13, 121 35, Prague 2
university: http://control.fel.cvut.cz/
personal: http://cmp.felk.cvut.cz/~pisa
company: https://pikron.com/ PiKRON s.r.o.
Kankovskeho 1235, 182 00 Praha 8, Czech Republic
projects: https://www.openhub.net/accounts/ppisa
social: https://social.kernel.org/ppisa
CAN related:http://canbus.pages.fel.cvut.cz/
RISC-V education: https://comparch.edu.cvut.cz/
Open Technologies Research Education and Exchange Services
https://gitlab.fel.cvut.cz/otrees/org/-/wikis/home
More information about the fpc-devel
mailing list