Best Experience using Linux ARM sbc and Lazarus lazarus / 21-General ---------------------------------------------------------------------- axisdj · 2023-12-27 02:05 Hello, Has anyone had any recent experience using a SBC with linux for building a Lazarus create app. I am attempting to load it on an orangepi but are running into issues and thought maybe someone here can recommend an alternative that works well thanks! ---------------------------------------------------------------------- axisdj · 2023-12-28 13:29 bump... Anyone? ---------------------------------------------------------------------- Thaddy · 2023-12-28 13:42 Well, " running into issues"  is not very helpful. I believe Orangepi is running a different procccessor from the RaspberriPi's , so that might be your issue. Name processor and bitness 32 or 64 and I may be able to help. So name the " isssues".... I suspect it is just a matter of defining for the correct ARM variant. That makes a HUGE difference. I once had a first generation OrangePi, but it is in the bin for lack of build quality and unreliablility. Actually it was cheaper to throw it in the bin than to send it back.. 4 - 5 years ago I came to that decision within days, not weeks. I also had a 7inch tablet with the same processor which ended up the same faith. ---------------------------------------------------------------------- axisdj · 2023-12-28 14:06 which arm SBC have you used successfully? ---------------------------------------------------------------------- VisualLab · 2023-12-28 14:11 Quote from: axisdj on December 27, 2023, 03:05:32 amHello, Has anyone had any recent experience using a SBC with linux for building a Lazarus create app. I am attempting to load it on an orangepi but are running into issues and thought maybe someone here can recommend an alternative that works well thanks! I had (still have). I use 2: 1. Raspberry Pi 3B, 2. UpSquared UPS-C2-A10-0432. Linux Rapsbian OS (Bulseye), 64-bit, is installed on the RPi. Linux Kubuntu 23.04 64-bit, Windows 10 64-bit, Haiku are installed on UpSquared. Lazarus 2.2.6 (Linux, Windows under UpSquared) is installed on both SBCs. For UpSquared on Linux I used packages from: https://sourceforge.net/p rojects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/ For RPi I used packages from: https://www.getlazarus.org/. Unfortunately, the service is currently unavailable. Lazarus starts without problems, compiles code without problems. ---------------------------------------------------------------------- Thaddy · 2023-12-28 14:34 My setups range from RPi 1 to RPi4, including zerow s. Since AARCH64 was possible I tried that too succesfully. All of them genuine hardware, not copies or spin-offs. All of them with recommended power- supplies. All of them run Lazarus compiled code without any problems (apart from swap on zero/one/two and other memory starved Pies). I really need the OrangePi board CPU version to help you and the bitness for which you are trying to compile. I also need the " issues" specified in detail. ---------------------------------------------------------------------- TRon · 2023-12-28 15:08 Quote from: axisdj on December 28, 2023, 03:06:09 pmwhich arm SBC have you used successfully? Same as Thaddy, all Raspberry Pi's ranging from Pi1 to Pi4/CM4. The reason to stick with the raspberry pi is their support as most other SBC's dump a specific distro/kernel and not really offer long time support which makes it a PITA in practice. That doesn't necessarily mean that other SBC's are bad, just not worth (at least) my time. Details such as processor, bitness and other hardware that is part of the SBC matters as well. You would have to provide more details when you state: Quote...but are running into issues and thought maybe someone here can recommend an alternative that works well ---------------------------------------------------------------------- VisualLab · 2023-12-28 17:13 Quote from: TRon on December 28, 2023, 04:08:17 pmThe reason to stick with the raspberry pi is their support as most other SBC's dump a specific distro/kernel and not really offer long time support which makes it a PITA in practice. That doesn't necessarily mean that other SBC's are bad, just not worth (at least) my time. Details such as processor, bitness and other hardware that is part of the SBC matters as well. I confirm. From my experience, from the hardware side Up Squared looks interesting, especially in terms of performance. The manufacturer of this SBC is Aaeon (a subsidiary of Asus). Unfortunately, it is poorly suited to what the manufacturer planned (but not fully implemented), i.e. controlling various peripherals/devices using the GPIO located on the SBC board. In terms of hardware, Up Squared is supposedly compatible with RPi. The number of GPIO pins is the same as in the RPi. Most signals (non-binary) are like this (not all). From a programming perspective, it is a tragedy. Both in terms of support for Linux and Windows (actually, it is better for Linux). Theoretically, there is support for I2C and SPI, but... just check out the discussion forum regarding these SBCs (most likely this project has outgrown the people from Aaeon). Before buying a clone, it is good to check discussion forums about various SBCs (suffice it to mention Intel's approach to handling their boards: Curie and Edison - and this applies to a really large and rich company). As my predecessors mentioned - you want to have decent SBC support from the software side, forget about RPi clones (unless you are the owner of a wealthy company and have a lot of money to pay the supplier for preparing the OS and drivers or you don't care about your physical health ( stomach ulcers) and mental (neurosis)). ---------------------------------------------------------------------- gidesa · 2023-12-29 16:56 Hello, I normally cross-compile Linux Arm console programs in Windows, for a Orange PI Zero with Armbian OS. No problem ever. Then I tried to compile a simple GUI program, but with WIN32 widgets. It  works using a Windows X server (Xming), although with smaller problems. ---------------------------------------------------------------------- Thaddy · 2023-12-30 15:23 ....Bump to OP.... - no reply on bitness - no reply on CPU - Most importantly no reply on "problems" Sigh. ---------------------------------------------------------------------- gidesa · 2023-12-30 17:17 QuoteThen I tried to compile a simple GUI program, but with WIN32 widgets. It  works using a Windows X server (Xming), although with smaller problems. My mistake, the program is compiled with Gtk2 widgets, not Win32, although showed in Xming on Windows. ---------------------------------------------------------------------- axisdj · 2024-01-01 02:31 @thaddy Sorry, I was not in office. I have ordered some new libre sbc to see if lazarus will install on that, if not I will try orangepi again and give you the exact errors The approach I am hoping for is to cross compile from win7 to linux arm, but not having much luck with that now ( separate post here)