Multiple questions but for now I'll only ask this.
1) Is there any virtual machine that one can download that simulates a raspberypi for testing?
2) what is the host os for this environment?
Very very excited.
Didn't you forget to add the rtl/ultibo dir in the fpc source tree though?
Didn't you forget to add the rtl/ultibo dir in the fpc source tree though?
That's intentional, the rtl/ultibo dir is in the Core repository (as per the readme) so they can be committed separately.
not looking for perfect just working, mostly to experience the how than the work it self. Thank you I'll search for it.Multiple questions but for now I'll only ask this.
1) Is there any virtual machine that one can download that simulates a raspberypi for testing?
2) what is the host os for this environment?
Very very excited.
1. QEMU has emulation for Raspberry Pi although we haven't actually tried it and from what I read it is not quite complete.
2. Installer is for Windows but our wiki has command line build instructions which should be adaptable to Linux and others.Oh I'm a windows addict my self so no complains here. I steel fill that my suse13 is way to fragile for any real work although I bet that is my own habit talking (hence the addict) I could try to debug anything you like on it if no body else manages to get there faster ;).
Did you have to change anything else in the compiler than add the target info?
I still don't understand though, why you don't want to state it as an operating system. Looking at the features, it looks an OS to me.
- is there any chance I build the source code, on my mac ? *https://ultibo.org/wiki/Building_from_Source
- what toolchain do i have to install or configure ? or not needed ?
and now I'm wondering if FreeVision http://wiki.freepascal.org/Free_Vision (http://wiki.freepascal.org/Free_Vision) will work in the console?
How much work would be needed to get FreeVision and the IDE http://wiki.freepascal.org/Textmode_IDE (http://wiki.freepascal.org/Textmode_IDE) working?
On the other hand your url for Control Terminal mentions fpGUI which according to this post https://ultibo.org/forum/viewtopic.php?f=13&t=17 might be able to be ported without a huge effort.Or MSEgui which also is a self drawing GUI toolkit for FPC with a dedicated development IDE (MSEide). Either by implementing a backend for the frame buffer or to the GPU. Advantage of MSEgui is that it is more sophisticated, advantage of fpGUI is that it already has a framebuffer backend by AggPAS.
it seems I managed to compile freepascal arm-ultibo on mac
Correctand now I'm wondering if FreeVision http://wiki.freepascal.org/Free_Vision (http://wiki.freepascal.org/Free_Vision) will work in the console?
At a quick look I don't think it would work currently, mainly because it seems to be character based and the Raspberry Pi has no character mode display (only a pixel mode framebuffer).
I think the API could be implemented fairly easily but handling the movable windows etc would require some effort, in a character interface maintaining a buffer that describes each window is fairly quick and simple. Maintaining a buffer that holds the pixels for a full HD display in 32 bit color takes a lot of data manipulation.Nah, it's fairly easy todo ;-)
If you were happy to start with a single text mode window with a FreeVision API then the current console unit could be used as is and the API could wrapper over the top.Adapt unit video to do your bidding, i would start there.
How much work would be needed to get FreeVision and the IDE http://wiki.freepascal.org/Textmode_IDE (http://wiki.freepascal.org/Textmode_IDE) working?Yes.QuoteI'm assuming from what I read that if FreeVision worked then the IDE would also work.
I will do, when my raspberry pi are already in hand and everything is running well
PS: for some reason my older opera browser refuses connection to the url you posted. If i get a response from the server at all (unable to access address) it is "Secure connection: fatal error (40) from server."
but, I have a question for @ultibo, is there any spesific feature on fpc trunk or 3.1.1 , instead of using the stable version 3.0.0 ?
Okay I will share the steps I did, although not yet proven whether this running properly
and now I'm wondering if FreeVision http://wiki.freepascal.org/Free_Vision (http://wiki.freepascal.org/Free_Vision) will work in the console?
At a quick look I don't think it would work currently, mainly because it seems to be character based and the Raspberry Pi has no character mode display (only a pixel mode framebuffer).
Maintaining a buffer that holds the pixels for a full HD display in 32 bit color takes a lot of data manipulation.
From the FAQ:I express interest in ESP8266 (802.11 for 3$). If FPC could target it, and Ultibo could support it, we would have a real IoT device programmed in Pascal. With deep sleep enabled it could send sensor data for ever from solar power, or for years on battery power. Mesh networking is also atractive use case.
Why Raspberry Pi, why not (name of other board)?
Raspberry Pi is clearly the market leader when it comes to small single board computers for hobby and educational use. We fully intend for Ultibo to support other boards, which ones and when depends on what the community shows interest in.
Wow, very nice project! For any embedded target general gpio, serial, spi, i2c and 1wire libraries are top priority. Each lib should provide at least one example.
I express interest in ESP8266 (802.11 for 3$). If FPC could target it, and Ultibo could support it, we would have a real IoT device programmed in Pascal. With deep sleep enabled it could send sensor data for ever from solar power, or for years on battery power. Mesh networking is also atractive use case.
For any embedded target general gpio, serial, spi, i2c and 1wire libraries are top priority. Each lib should provide at least one example.
Fully understandable. ;)For any embedded target general gpio, serial, spi, i2c and 1wire libraries are top priority. Each lib should provide at least one example.I agree totally, but in the end it was a decision between releasing now or waiting longer until everything was supported.
Many of these devices are quite straightforward and much less complex to handle than something like USB, I'm confident that most if not all will be accessible via included libraries within a few months.That's really good to hear. As for USB let me tell you my point of view. I have designed USB devices that talk to USB hosts, developed their firmware, and written applications and/or drivers on USB host side. Sometimes I used HID, sometimes CDC, and sometimes I had to use libusb for direct communication. I am aware of other USB classes but I had not used them so I will not comment them. Well, HID is top priority. It is easiest to use and most developers are familiar with it. CDC is next on the list. It is not that easy on USB device side, but on USB host side it looks like a serial port so it is most appreciated by USB host application developers. Direct access is the most complex for both sides and usually requires custom driver on USB host, but it provides most flexibility and biggest speed. On USB host side libusb is probably the most used library for this. I do not see direct access as a priority because Ultibo does not run on a standard pc which we want to expand in functionality, but on devices that will already from day one have a goal to provide this new functionality. Therefore there is less need for USB direct access since there are already other ways (gpio, i2c, spi...) that designer can use to achieve his goal. I am not saying that direct access would be useless - I am just saying that it is not that much of a priority.
You wrote the whole NTFS implementation? :o
I have some Pi, PiB, Pi2 and Pi3, and on neither of them, the demo works !
(I would appreciate if RPi3 is added to the devices, even at just 32bit ARMV7 level)
Offtopic: why is website ultibo.org not available? Isn`t webserver down ?
I`ve tried firefox 44 / opera latest / IE 11 and nothing worked.I've checked everything I can from here and nothing appears to be wrong, what part of the world are you trying from? Can anyone else confirm availability of the site?
I have no problems opening it with firefox 44.0.2 both with noscript enabled and disabled.I`ve tried firefox 44 / opera latest / IE 11 and nothing worked.I've checked everything I can from here and nothing appears to be wrong, what part of the world are you trying from? Can anyone else confirm availability of the site?
Should ultibo.org resolve to 67.225.133.22 ?
I`m connecting from Slovakia, and I`ve changed my ISP in the meantime so maybe something wrong with routing (BGP)..... maybe.
Can you ping from your server IP addr 87.197.159.146 ?
C:\Users\xxxxxxx>nslookup ultibo.orghow about running a tracert on your end?
Server: UnKnown
Address: fe80::20e:8fff:fe6c:9a20
Non-authoritative answer:
Name: ultibo.org
Address: 67.225.133.22
C:\windows\system32>TRACERT.EXE -d ultibo.org
Tracing route to ultibo.org [67.225.133.22]
over a maximum of 30 hops:
1 <1 ms <1 ms <1 ms 192.168.0.254
2 11 ms 10 ms 11 ms 213.81.233.252
3 11 ms 14 ms 11 ms 213.81.235.93
4 12 ms 11 ms 11 ms 213.81.253.14
5 14 ms 16 ms 11 ms 149.6.26.5
6 13 ms 13 ms 13 ms 130.117.48.142
7 19 ms 19 ms 19 ms 130.117.49.137
8 25 ms 25 ms 25 ms 154.54.38.57
9 33 ms 32 ms 32 ms 130.117.0.141
10 134 ms 134 ms 134 ms 154.54.58.69
11 134 ms 134 ms 134 ms 154.54.44.141
12 135 ms 135 ms 134 ms 154.54.44.105
13 134 ms 134 ms 133 ms 154.54.31.89
14 134 ms 134 ms 134 ms 154.54.7.129
15 134 ms 134 ms 134 ms 154.54.46.178
16 136 ms 135 ms 136 ms 154.54.29.66
17 125 ms 125 ms 125 ms 38.88.42.54
18 132 ms 149 ms 132 ms 209.59.157.229
19 136 ms 136 ms 140 ms 69.167.128.122
20 137 ms 136 ms 137 ms 69.167.128.201
21 * * * Request timed out.
22 * * * Request timed out.
Tracing route to ultibo.org [67.225.133.22]
over a maximum of 30 hops:
1 <1 ms 1 ms 1 ms 192.168.1.1
2 22 ms 16 ms 35 ms 80.106.108.117
3 20 ms 55 ms 35 ms 79.128.240.177
4 17 ms 19 ms 22 ms 62.75.3.85
5 60 ms 61 ms 60 ms 62.75.4.166
6 60 ms 82 ms 60 ms 195.50.118.169
7 * * * Request timed out.
8 154 ms 150 ms 172 ms 4.15.84.142
9 168 ms 157 ms 158 ms 209.59.157.206
10 190 ms 160 ms 159 ms 69.167.128.120
11 166 ms 178 ms 158 ms 69.167.128.201
12 168 ms 178 ms 178 ms 67.225.133.22
Trace complete.
Tracing route to ultibo.org [67.225.133.22]
over a maximum of 30 hops:
1 2 ms 1 ms 1 ms CISCOC1856 [192.168.1.1]
2 2 ms 1 ms 1 ms gwlogin.net [192.168.192.1]
3 * * * Request timed out.
4 11 ms 12 ms 12 ms 212.142.62.149
5 * * * Request timed out.
6 129 ms 118 ms 112 ms us-was02a-rd2-ae105-0.aorta.net [84.116.130.66]
7 114 ms 113 ms 114 ms us-was03a-ri1-ae10-0.aorta.net [84.116.130.174]
8 115 ms 113 ms 119 ms xe-5-0-3 [204.148.11.109]
9 128 ms 130 ms 128 ms 0.et-10-1-0.GW7.CHI13.ALTER.NET [140.222.234.221]
10 144 ms 152 ms 208 ms liquidweb-gw.customer.alter.net [152.179.92.134]
11 141 ms 141 ms 144 ms lw-dc3-core2-vlan66.rtr.liquidweb.com [209.59.157.226]
12 143 ms 145 ms 144 ms lw-dc3-core2-nexus-po6.rtr.liquidweb.com [69.167.128.126]
13 143 ms 142 ms 140 ms lw-dc3-dist15-po6.rtr.liquidweb.com [69.167.128.205]
14 141 ms 144 ms 151 ms host.australiangreenhosting.com.au [67.225.133.22]
When we see FpGui+Ultibo?
Question:
But when will you provide an Ultibo-update with RPi3 ?
However, I still cannot get Ultibo to run on my RPi3 ... >:(
Compiled the RPi2 hello world example.
-Will there be support for other filesystems in the future
-Is it posible to use SSL with the network componentsNot yet but work is underway to add it, the core ciphers and hashes (like AES, DES, SHA256 etc) were committed to the code last month and there is ongoing work to add the other layers needed for TLS etc.
-Which kind of dyn liberies use ultibo .dll, .so,...Currently libraries are not supported, it is likely to be possible in future since it opens up access to non pascal code. It would probably be .so format initially to be consistent with the toolchain used by the compiler.
-Will there be support for the pi-touchscreens in the futureYes, the official pi touchscreen already works as a display and the details of the touch interface are known from the Linux driver. Other touchscreens could be supported if there is enough information available for them.
@taazz
Had you sucess with your qemu emlation of ultibo, I have try it the last couple days without sucess.
When we see FpGui+Ultibo?
... It seems to require a framebuffer (already available) and an event queue for mouse and keyboard events (mostly available too).
If you or anyone else knows more about the inner workings of fpGUI and where Ultibo would need to hook in to make these things work it would be really helpful information to save some time trawling through the source code.
So, if what you wanted is bringing Ultibo to the arena of Lazarus GUI Design, I will take a chance to try.Since the original post about fpGUI some work has been done on trying to make it work, we have fork of the project on GitHub here https://github.com/ultibohub/fpGUI and the README details what has been done so far.
First, I need the project of Ultibo that interact with mouse event and draw something in screen, and something that has bounds (left,top,width,height). any link? 8-)If you're interested in trying to make some progress on this we can point you to the parts of the source where the necessary things exist, mouse and keyboard are pretty well completed and drawing directly on the screen using the framebuffer is well advanced. The main thing missing right now is some form of window management to track the position and state of forms and components on the screen.
hi. anybody know does ultibo support play audio video?Not yet, it is part of the overall objective and if you ask the same question in a year or so the answer will likely be very different.
what about video????Video is also still a work in progress.
Since we last posted an update lots has happened including:This is an amazing list of new features. Very nice! :D
- QEMU ARM emulation support
- New drivers for a range of devices including common TFT LCD screens
- Port of the Asphyre/PXL graphics library (software rendering only)
- Support for the FreeVision windowing package
- C library support
- Fast interrupt (FIQ) support
- Plus many fixes and performance improvements
This is an amazing list of new features. Very nice! :D