Pi zero development connectivity options

General discussion about anything related to Ultibo.
Gavinmc42
Posts: 1595
Joined: Sun Jun 05, 2016 12:38 pm
Location: Brisbane, Australia

Re: Pi zero development connectivity options

Postby Gavinmc42 » Wed Sep 06, 2017 3:35 am

Ultibo requests its framebuffer using the mailbox, so mailbox interface and GPU internal OS has to be set up and running.

Is the mailbox stuff all software or has some hardware?
The GPU OS is the ThreadX based RTOS, which has a few versions in start_xx.elf?

Trying to figure out if we need to full start.elf or if it has more than we need?
Gavinmc42
Posts: 1595
Joined: Sun Jun 05, 2016 12:38 pm
Location: Brisbane, Australia

Re: Pi zero development connectivity options

Postby Gavinmc42 » Tue Jan 09, 2018 4:55 am

Been busy playing with fpcup installing cross compilers on my Work Windows box.
http://wiki.freepascal.org/fpcup

Now that I am comfortable using Ultibo for Pi's why not learn how to use fpc for Windows/Linux/Raspbian...
With USB boot on Zero's this allows them to be programmable gadgets for PC's.
Why not use the PC's display? That requires serial comms to the Zero and Terminal software on the PC.
Why not a Graphical terminal?

I had though about using things like Processing but FPC would allow an app to be generated that a user can get to grips with without installing much, like full Processing.
A PC based UI for the Zero.
The first thing of course is how to get the boot files onto the Zero.
Not that familiar with Laz/FPC, what options are there to port the USBboot code to fpc?
TLazserial?
https://github.com/raspberrypi/usbboot
Looks simple for Linux but Windows is using a dll?

USBserial in Laz/FPC on PC's anyone done it or got clues?
User avatar
Ultibo
Site Admin
Posts: 2217
Joined: Sat Dec 19, 2015 3:49 am
Location: Australia

Re: Pi zero development connectivity options

Postby Ultibo » Tue Jan 09, 2018 10:29 am

Gavinmc42 wrote:Not that familiar with Laz/FPC, what options are there to port the USBboot code to fpc?
TLazserial?
https://github.com/raspberrypi/usbboot
Looks simple for Linux but Windows is using a dll?

The Linux version of usbboot uses libusb which is available for Windows (and Mac) and it should be pretty easy to create an FPC interface unit to use the functions in it, do some searching and someone else might have already done it for you.

I'm not sure what all the stuff in the win32 version of usbboot is for, seems to be a lot of cygwin stuff which is probably just to support gcc, not really necessary for an FPC version.
Ultibo.org | Make something amazing
https://ultibo.org

Return to “Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest