Go to advanced search

by Nvreformat
Sat Dec 03, 2016 4:50 pm
Forum: Java
Topic: LibGDX on RPi
Replies: 38
Views: 21110

Re: LibGDX on RPi

I want to make an UI for my car. I've tried using Qt but didn't like it much (plus I don't really like C++ either). Java seemed a nice choice because I didn't need to cross compile for the Pi (which in Qt is a pain in the ass) so I naturally picked libGDX as I'm familiar with it.
by Nvreformat
Sat Dec 03, 2016 4:24 pm
Forum: Java
Topic: LibGDX on RPi
Replies: 38
Views: 21110

Re: LibGDX on RPi

It's a RPi 3. Anyway I got it working now. Turns out I had to enable the experimental openGL driver in raspi-config.

Great stuff.
by Nvreformat
Sat Dec 03, 2016 2:09 am
Forum: Java
Topic: LibGDX on RPi
Replies: 38
Views: 21110

Re: LibGDX on RPi

How did you enable the driver you use? Now I installed the full version of raspbian (I had installed the lite one) Tried to run it but it complained about an undefined reference to bcm_host_init(). I read on google that can be fixed by renaming the /opt/vc folder. After doing that I was able to run ...
by Nvreformat
Thu Dec 01, 2016 10:45 pm
Forum: Java
Topic: LibGDX on RPi
Replies: 38
Views: 21110

Re: LibGDX on RPi

clicky wrote:Here it is:

https://github.com/natdan/rpi-libgdx-example

Let me know if there are any issues with it.
It runs very very slow, perhaps I'm doing something wrong?

Running on raspbian, with xorg and nothing else.
by Nvreformat
Mon May 04, 2015 12:22 pm
Forum: Bare metal, Assembly language
Topic: [Experimental] Loading a kernel using the ethernet port
Replies: 7
Views: 1257

Re: [Experimental] Loading a kernel using the ethernet port

Issues: *Although it has protection against packet loss, it looks like it doesn't work properly. Sometimes it will stop while transferring the kernel and halt there. Any help is appreciated. I have pushed a small change to the USPi library to GitHub. There was an issue which caused the USB driver t...
by Nvreformat
Mon May 04, 2015 11:08 am
Forum: Bare metal, Assembly language
Topic: [Experimental] Loading a kernel using the ethernet port
Replies: 7
Views: 1257

Re: [Experimental] Loading a kernel using the ethernet port

hi i didn't read all your code but i think it should have support for usb too ;) You mean being able to boot kernels from a USB stick? is it based on a custom buffered "kexec" ? if yes multi-boot from anything is ours with your code ;) I didn't know what kexec was until I read its Wikipedia article...
by Nvreformat
Mon May 04, 2015 6:48 am
Forum: Bare metal, Assembly language
Topic: [Experimental] Loading a kernel using the ethernet port
Replies: 7
Views: 1257

[Experimental] Loading a kernel using the ethernet port

I've written an utility that does allow you to boot a custom kernel using the RPi onboard ethernet port. It's still in a very early stage, so it may have some bugs that I don't know yet. Info about usage and compilation can be found at: https://github.com/Nvreformat/Etherboot Issues: *Although it ha...
by Nvreformat
Tue Apr 28, 2015 8:23 am
Forum: Bare metal, Assembly language
Topic: Introducing USPi - A bare metal USB driver written in C
Replies: 73
Views: 20635

Re: Introducing USPi - A bare metal USB driver written in C

What would it take to completely uninitialize the driver, as if it never was there? Would disabling interrupts and turning off the USB HCD suffice?
I was thinking of taking advantage of the ethernet driver and making a bootloader with it.
by Nvreformat
Thu Apr 09, 2015 9:52 pm
Forum: Bare metal, Assembly language
Topic: Introducing USPi - A bare metal USB driver written in C
Replies: 73
Views: 20635

Re: Introducing USPi - A bare metal USB driver written in C

Nice work. Just wondering, is there something I need to change to be able to run one of the examples on QEMU? I was thinking of building my kernel on top of it but so far it doesn't work (black screen).
I know I won't be getting USB features on QEMU, but it is very convenient for testing quickly.
by Nvreformat
Tue Feb 17, 2015 6:45 am
Forum: Bare metal, Assembly language
Topic: How do I use interrupts
Replies: 6
Views: 1441

Re: How do I use interrupts

It's been a while, now I got SVCs working so at least I know my IVT is somewhat right. However, while trying to enable the SMI interrupt in order to get vsync working (as explained here ) I noticed the processor hangs after writting to 0x2000B214 This is what my init code looks like: .section .init ...
by Nvreformat
Sat Feb 07, 2015 9:22 pm
Forum: Bare metal, Assembly language
Topic: How do I use interrupts
Replies: 6
Views: 1441

Re: How do I use interrupts

Thanks! Your post was really helpful Originally, I wanted to use interrupts so that I could catch the vsync one ( https://github.com/raspberrypi/firmware/issues/67 ) because my screen was flickering and I thought it'd somehow fix it. Surprisingly, after setting up the IVT and enabling interrupts, it...
by Nvreformat
Thu Feb 05, 2015 8:19 pm
Forum: Bare metal, Assembly language
Topic: How do I use interrupts
Replies: 6
Views: 1441

How do I use interrupts

Hello! I have been through the Baking Pi series and some other tutorials and they're fine, but I was unable to see anything related to interrupts. I've seen some IVT initialization code in github projects but I don't know how to use that. So, is there something I can read to learn more about these? ...

Go to advanced search