Go to advanced search

by richcole
Mon Nov 12, 2012 12:02 am
Forum: Bare metal, Assembly language
Topic: Implementing tasks
Replies: 2
Views: 1393

Implementing tasks

I'm trying to do a basic implementation of tasks in supervisor mode (no MMU concerns yet). I have the goal of implementing something similar to channels as they exist in the go language. I have a task structure that holds a stack pointer. When I shift from task to task I just push state onto the sta...
by richcole
Mon Nov 05, 2012 8:05 am
Forum: Bare metal, Assembly language
Topic: Using volatile and the framebuffer setup
Replies: 1
Views: 1821

Re: Using volatile and the framebuffer setup

I found the answer in this forum: http://www.raspberrypi.org/phpBB3/viewtopic.php?p=189643#p189643 There is a cache in the vidcore. Yikes, but at least the answer is simple. Add 0x40000000 to addresses that you give the vidcore and then it will skip its cache when writing to them. https://github.com...
by richcole
Mon Nov 05, 2012 7:46 am
Forum: Bare metal, Assembly language
Topic: Using volatile and the framebuffer setup
Replies: 1
Views: 1821

Using volatile and the framebuffer setup

I tried using the framebuffer this weekend and seemed to get into some trouble using volatile. Here is my code: https://github.com/richcole/RaspberryPi/blob/095e25152978dfeb64fba0faa84b4caa810b302d/kernel/src/framebuf.c I thought I could get away with declaring structures volatile and that gcc would...
by richcole
Mon Oct 15, 2012 5:31 am
Forum: Bare metal, Assembly language
Topic: Has anyone got OpenGL working in their kernel?
Replies: 18
Views: 5492

Re: Has anyone got OpenGL working in their kernel?

I found https://github.com/dwelch67/raspberrypi ... /blinker05 which is great resource for getting to understand interrupts.

I couldn't get it to work with the mini uart yet. Is the UART data ready interrupt going to come through as a IRQ or and FIRQ?

regards,

Richard.
by richcole
Mon Oct 15, 2012 2:56 am
Forum: Bare metal, Assembly language
Topic: Has anyone got OpenGL working in their kernel?
Replies: 18
Views: 5492

Re: Has anyone got OpenGL working in their kernel?

Do you guys have any links on how to setup the interrupt vector table? I started getting lost trying to find out where they are: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0425f/Cacbaedb.html It seems they can be mapped in different places. I guess I'm looking for something simpl...
by richcole
Sun Oct 14, 2012 7:38 pm
Forum: Bare metal, Assembly language
Topic: Has anyone got OpenGL working in their kernel?
Replies: 18
Views: 5492

Re: Has anyone got OpenGL working in their kernel?

Thanks for the help. I got going with the USB uart (which finally arrived) https://github.com/richcole/RaspberryPi/ Small steps I know, but very exiting for me :) For now I have a power switch between the power supply and the wall socket that I toggle to reboot the pi. Primitive, yes, but it saves t...
by richcole
Thu Oct 11, 2012 8:07 am
Forum: Bare metal, Assembly language
Topic: Has anyone got OpenGL working in their kernel?
Replies: 18
Views: 5492

Re: Has anyone got OpenGL working in their kernel?

I ordered one of these: http://www.amazon.com/gp/product/B006JKNWLE/ My hope is that it will allow me to attach to the serial port. GND1 - GND2, RX1 - TX2, TX1 - RX2 I presume. If you could post instructions for how you got your jtag development environment up and running that would be a great next ...
by richcole
Tue Oct 09, 2012 11:58 pm
Forum: Bare metal, Assembly language
Topic: Has anyone got OpenGL working in their kernel?
Replies: 18
Views: 5492

Has anyone got OpenGL working in their kernel?

It's fun to start with the frame buffer, but I presume going through the opengl library is going to make a bunch of stuff a lot faster. Do you just link the opengl code into your kernel? Does anyone have a link to github where they got it working? My beaglebone has a usb serial port which makes gett...
by richcole
Sat Feb 25, 2012 5:19 pm
Forum: General discussion
Topic: There's a little update from Eben on the front page...
Replies: 52
Views: 12554

Re: There's a little update from Eben on the front page...

Is the ordering website just going to go down under load as closer to the release time everyone interested in buying will be reloading the main the page waiting for the buy button?
by richcole
Sun Jan 08, 2012 9:00 pm
Forum: Staffroom, classroom and projects
Topic: BASIC - more harmful than useful?
Replies: 899
Views: 148350

Re: BASIC - more harmful than useful?

You could write a lisp interpreter in basic and then your done.
by richcole
Wed Jan 04, 2012 4:45 am
Forum: Off topic discussion
Topic: What was your first computer?
Replies: 447
Views: 174889

Re: What was your first computer?

<r>When I was around 10 years old I has access to a unix machine via a 300 baud modem and a vt100 terminal. I used it to play early games like adventure and larn. Later I had access to a PC XT and used it for writing reports. Then in high school I had access to a BBC micro and learned some basic pro...
by richcole
Tue Jan 03, 2012 11:45 pm
Forum: General discussion
Topic: sales date?
Replies: 131
Views: 45621

Re: sales date?

<r>I have no idea how easy or hard shipping 10k or 20k units is going to be. One option though might to use Amazon.<br/> <br/> <URL url="http://www.amazonservices.com/content/fulfillment-by-amazon.htm/"><LINK_TEXT text="http://www.amazonservices.com/content/f ... mazon.htm/">http://www.amazonservice...
by richcole
Tue Jan 03, 2012 11:20 pm
Forum: General discussion
Topic: Raspberry Pi Linux
Replies: 13
Views: 3587

Re: Raspberry Pi Linux

<t>> Rich, the code link via github you mention has "issues".<br/> <br/> By issues do you mean that following the link in the browser doesn't work, or that code linked to doesn't actually run on Pi? Do you have links to any other kernel sources that do work?<br/> <br/> The patches on that github lin...
by richcole
Tue Jan 03, 2012 10:26 pm
Forum: General discussion
Topic: Raspberry Pi Linux
Replies: 13
Views: 3587

Re: Raspberry Pi Linux

<r><br/> Thanks for those links Jessie, they were great! I found a kernel source tree and a config file for arch linux<br/> <br/> <URL url="https://github.com/archlinuxarm/PKGBUILDs/tree/master/core/kernel26-raspberrypi"><LINK_TEXT text="https://github.com/archlinuxarm/PKGBUIL ... aspberrypi">https:...
by richcole
Tue Jan 03, 2012 8:44 pm
Forum: General discussion
Topic: Raspberry Pi Linux
Replies: 13
Views: 3587

Re: Raspberry Pi Linux

<t>If each board requires it's own kernel, that suggests there are differences between the kernels compiled for each board. I'm asking for the kernel patch set that will make the linux kernel run on the Pi, and/or the Config file if indeed no patches are required.<br/> <br/> The Debian patches for A...
by richcole
Tue Jan 03, 2012 7:28 pm
Forum: General discussion
Topic: Raspberry Pi Linux
Replies: 13
Views: 3587

Re: Raspberry Pi Linux

<r>Does anyone have a link to a source tree for a version of Linux known to run on the Pi (plus a config file) ?<br/> <br/> I saw that Debian have this to say:<br/> <br/> <URL url="http://www.debian.org/releases.....n#id542860">http://www.debian.org/releases.....n#id542860</URL><br/> <br/> which hin...
by richcole
Tue Jan 03, 2012 7:05 pm
Forum: General discussion
Topic: personal cloud
Replies: 8
Views: 5986

Re: personal cloud

<t>For it to be a cloud you might want to consider having your friend carry it around for you, install software on it, keep it running, answer your calls when you have trouble access it. To be personal, your friend would do this all for your exclusive private access. He would keep spares around so i...
by richcole
Tue Jan 03, 2012 4:24 am
Forum: General discussion
Topic: BCM2835 datasheet
Replies: 189
Views: 75113

Re: BCM2835 datasheet

<r>The impression I get from this thread is that something like this:<br/> <br/> <URL url="http://www.ti.com/lit/ug/spruh.....ruh73c.pdf">http://www.ti.com/lit/ug/spruh.....ruh73c.pdf</URL><br/> <br/> is not going to be released by the creators of the Raspberry Pi and so if one is interested in the ...
by richcole
Sun Dec 25, 2011 2:44 am
Forum: General discussion
Topic: For forums you could have used google groups
Replies: 2
Views: 930

Re: For forums you could have used google groups

<t>and then I presume you'd spend more time on the pi and less on trying to scale wordpress? Another idea would have been to use reddit then you get voting on posts and discussions which bubbles the popular stuff to the top.<br/> <br/> Just a thought.<br/> <br/> Still very excited about the Pi.<br/>...
by richcole
Wed Dec 21, 2011 4:54 am
Forum: General discussion
Topic: BCM2835 datasheet
Replies: 189
Views: 75113

Re: BCM2835 datasheet

<t>I grew up with the Amiga 500. It was great because the ROM Kernel manuals explained the design of the operating system and the workings of the hardware. I think you're being cruel to the next generation if you withhold details of the hardware.<br/> <br/> There's other hardware out there though th...
by richcole
Mon Dec 19, 2011 7:35 am
Forum: Other projects
Topic: Hobby OS Development on the Raspberry Pi
Replies: 2
Views: 2283

Re: Hobby OS Development on the Raspberry Pi

<r>Where are all the hobby OS people hanging out on the web? Are there many hobby OS projects for the Raspberry Pi?<br/> <br/> To play around I created <URL url="https://github.com/richcole/RaspberryPi">https://github.com/richcole/RaspberryPi</URL> which is little more than instructions on how to ge...

Go to advanced search