Go to advanced search

by benzn
Thu Jan 10, 2013 9:00 am
Forum: Bare metal, Assembly language
Topic: QEMU patches for RPi emulation - Initial release
Replies: 149
Views: 57933

Re: QEMU patches for RPi emulation - Initial release

Just chiming in to say that I pulled from the latest branch and recompiled and raspbian no longer hangs! I haven't been pulling regularly so not sure when this was fixed, but it appears to be. Thanks again for all your hard work!
by benzn
Thu Dec 27, 2012 11:10 pm
Forum: Bare metal, Assembly language
Topic: QEMU patches for RPi emulation - Initial release
Replies: 149
Views: 57933

Re: QEMU patches for RPi emulation - Initial release

Re: qemu hanging on OSX. This post: http://www.rpiforum.net/forum/tutorials/article/16-a-raspberry-pi-emulated-environment-on-osx-lion/ indicated that using qemu to compile LLVM may lead to hanging, so I downloaded gcc-4.2 and recompiled. Unfortunately, the issue still persists. It doesn't seem to m...
by benzn
Mon Dec 24, 2012 5:08 am
Forum: Bare metal, Assembly language
Topic: QEMU patches for RPi emulation - Initial release
Replies: 149
Views: 57933

Re: QEMU patches for RPi emulation - Initial release

Awesome! This is a huge asset moving forward, thanks so much. I got this running on OSX and booting successfully, although running the latest Raspbian image (12-16-12) it consistently locks up (process not responding) after a couple minutes. I'll try some more bare metal things tomorrow. For others ...
by benzn
Sat Dec 08, 2012 10:57 pm
Forum: Bare metal, Assembly language
Topic: Baking PI: stuck at Screen 02
Replies: 3
Views: 2227

Re: Baking PI: stuck at Screen 02

I had a similar issue with mine (on a new 512mb rev 2 B model). Some examples would start up about half the time, some none of the time. After reading through other threads here, it was suggested that sending frame-buffer info at a non-cache coherent address (below 0x4000000) would result in the Vid...
by benzn
Sat Dec 08, 2012 10:40 pm
Forum: Bare metal, Assembly language
Topic: Bootloader Questions
Replies: 19
Views: 6185

Re: Bootloader Questions

Now I just use uboot to tftp load a kernel from a fileserver -- this takes about 30 seconds from reboot (but you do need to setup a dhcp server, tftp server etc. which is not trivial). Eeash, why does uboot take so long? Are you sending over a full linux kernel? Loading from a remote fileserver (as...
by benzn
Sat Dec 08, 2012 11:44 am
Forum: Bare metal, Assembly language
Topic: VideoCore/EGL on a bare metal OS
Replies: 16
Views: 7493

Re: VideoCore/EGL on a bare metal OS

OK, so, the right place to look was really the kernel sources for the core stuff. Mailbox related code is defined in this file: https://github.com/raspberrypi/linux/blob/rpi-3.2.27/arch/arm/mach-bcm2708/vcio.c and VCHIQ stuff (I still don't really know what this stands for but I'm pretty sure it's g...
by benzn
Sat Dec 08, 2012 9:46 am
Forum: Bare metal, Assembly language
Topic: VideoCore/EGL on a bare metal OS
Replies: 16
Views: 7493

Re: VideoCore/EGL on a bare metal OS

That's a good point, if I find/understand something I'll put it on the wiki (although to be honest I found this forum long before I found the eLinux wiki!) - but at the moment I couldn't add anything to the wiki that says anything meaningful. But when I do (crosses fingers) I will put it there - tha...
by benzn
Sat Dec 08, 2012 7:33 am
Forum: Bare metal, Assembly language
Topic: VideoCore/EGL on a bare metal OS
Replies: 16
Views: 7493

Re: VideoCore/EGL on a bare metal OS

Awesome, good to know I'm not the only person wading through the torrential amount of header files in the github userland repo! So now that it's the weekend, I'm back at it. I've been grepping around a bit more, looking to answer a few more questions, which maybe someone knows or can help investigat...
by benzn
Mon Dec 03, 2012 2:06 am
Forum: Bare metal, Assembly language
Topic: VideoCore/EGL on a bare metal OS
Replies: 16
Views: 7493

Re: VideoCore/EGL on a bare metal OS

I tried to extern eglGetDisplay and the linker barfed all over me looking for things like pthreads, etc. Next I disassembled the relevant library and found references to "tls" everywhere, which I had gleaned from other code to stand for Thread Local Storage, meaning it's unlikely I can magically lin...
by benzn
Mon Dec 03, 2012 1:13 am
Forum: Bare metal, Assembly language
Topic: VideoCore/EGL on a bare metal OS
Replies: 16
Views: 7493

VideoCore/EGL on a bare metal OS

TL;DR: Trying to link against the VC libraries provided with the firmware. Header files expect a real OS with pthreads, I'm nowhere near having an OS that conforms to pthread. I'm relatively new to RPi (only really started using it yesterday). Started with input02 from Baking Pi (which was an incre...

Go to advanced search