Welcome, Guest
Username: Password: Remember me
CodeTyphon Linux OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

Raspbian + Indy = Closes? 9 years 10 months ago #6644

  • steven
  • steven's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
I can make simple apps and work fine.

But seems when ever I try any of the Indy server components, as soon as its set active, the program instantly closes.

Latest Raspbian as of 2 days ago.

Latest Codetyphon as of today.

Using Model B board

Please Log in or Create an account to join the conversation.

Raspbian + Indy = Closes? 9 years 10 months ago #6645

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4537
  • Thank you received: 1115
Sir
we must test pl_Indy Servers on Arm-Linux...

We want (and must) make an arm-Linux Micro-PC (4-cores 2-4gbytes ram) in our lab
to port CT on arm-linux host layer. QEMU is very slow and has memory limitations

For next CT release this is not possible, we have so many open lab tasks....
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Raspbian + Indy = Closes? 9 years 10 months ago #6659

  • Rain
  • Rain's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 71
  • Thank you received: 8
Yes, QEMU is only quite good for handling of various snapshots etc. the speed is only for non-frequent use acceptable.
But the BananaPi provides at least half of the desired / required specs and is quite fast when running original Lazarus, GUI via SSH-X to offload some graphic load from the device, which can be left without starting the X-Server on the device, so 1GB RAM is sufficient for most normal tasks designed for ARM platform (at least to my moderate needs).

On Win64 CT 5.2 64bit needs apparently only 100MB RAM + 24 MB GDB , so on ARM 32bit CT will probably not exceeding this, leaving enough RAM in an 1GB machine for the OS and the own application under development / test.
But maybe 4-core-ARM boards dropped recently in price, and 4 GB RAM is no issue as well now, but small is sometimes beautiful.... :)

Please Log in or Create an account to join the conversation.

Raspbian + Indy = Closes? 9 years 10 months ago #6660

  • Rain
  • Rain's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 71
  • Thank you received: 8
> QEMU is very slow and has memory limitations

The memory limitations can be set to 1GB RAM when using the BananaPi Image, as I just found out here:
forum.lemaker.org/forum.php?mod=viewthre...4787&page=2#pid26617
You will need the vmlinuz-3.2.0-4-vexpress and initrd.img-3.2.0-4-vexpress files from here:
romanrm.net/dl/a10/kernels/qemu/
and the bananian from here:
dl.bananian.org/releases/bananian-15.01.zip
Put in same folder as qemu-system-armw
QEMU command:
qemu-system-armw.exe -m 1024M -sd bananian-1501.img -M vexpress-a9 -cpu cortex-a9 -kernel vmlinuz-3.2.0-4-vexpress -no-reboot -serial stdio -initrd initrd.img-3.2.0-4-vexpress -append "root=/dev/mmcblk0p2 panic=1 rootfstype=ext4 rw" -net nic -net user,hostfwd=tcp::2222-:22

I tested the bananian-1501.img , which is newer than the bananian-1409.img from the original poster, but the newer one works as well without any modifications elsewhere.

Currently installing Lazarus in the Image (takes some time), until CT will be available on ARM Host, which would be great - looking forward. (Good for debugging etc)

Please Log in or Create an account to join the conversation.

Raspbian + Indy = Closes? 9 years 10 months ago #6661

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4537
  • Thank you received: 1115
Thanks Sir
excellent, we will test ASAP
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • Page:
  • 1