Difference between revisions of "(Changed to Running F17 on Beaglebone) Programming GPIO on Fedora"

From CDOT Wiki
Jump to: navigation, search
(Project Contributor(s))
 
(30 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Programming GPIO on Fedora ==
+
== (Changed to Running F17 on Beaglebone) Programming GPIO on Fedora ==
  
 
<!-- Replace "Project Name" with the actual name of the project in the line above. -->
 
<!-- Replace "Project Name" with the actual name of the project in the line above. -->
Line 15: Line 15:
  
 
Resources: Chris Tyler (ctyler), Peter Robinson (pbrobinson)
 
Resources: Chris Tyler (ctyler), Peter Robinson (pbrobinson)
 +
 +
 +
Update to
  
 
<!-- Description should be no longer than a paragraph.  Include links to any relevant on-line resources.  For example, [http://fedoraproject.org/wiki] or [http://developer.mozilla.org MDC]. -->
 
<!-- Description should be no longer than a paragraph.  Include links to any relevant on-line resources.  For example, [http://fedoraproject.org/wiki] or [http://developer.mozilla.org MDC]. -->
Line 25: Line 28:
 
IRC: Jie_Q
 
IRC: Jie_Q
  
'''Luis Francisco Fuentes'''<br />
 
Wiki Page: [[User: Luis Francisco Fuentes]]<br />
 
IRC: Luis
 
 
'''VicChester Ng o'''<br />
 
Wiki Page: [[User: VicChester]]<br />
 
IRC:
 
  
  
Line 39: Line 35:
  
 
NOTE: only Project Leader(s) should add names here.  You should not add your own name to the Contributor list. -->
 
NOTE: only Project Leader(s) should add names here.  You should not add your own name to the Contributor list. -->
 +
 +
Omarr Khattab -- Give me config files of Fedora 17 arm.
 +
 +
Max  --  help me with change the mmc_root permission.
 +
 +
Gloria Ip  -- help me with some sources link and reference info.
  
 
== Project Details ==
 
== Project Details ==
  
<!-- Provides more depth than the Project Description.  This is the place for technical discussions, project specs, or other details.  If this gets very long, you might consider breaking this part into multiple pages and linking to them. -->
+
== Project Plan ==
 +
 
 +
Nov 10 Update to:
 +
 
 +
 
 +
(1) Try to get F17 running by leaving partition 1 untouched (the boot files) and replace partition 2 with the F17 userspace ("rootfs"). The easiest way to do this is probably to mount an Angstrom card on a PC, erase the files on the 2nd partition, and untar a rootfs tarball onto that partition.
 +
 
 +
(2) If that works, try updating the kernel on partition 1 to the F17 OMAP kernel. The kernel is the 'uImage' file in the first partion.
 +
 
 +
(3) If that works, then try to create a full beaglebone image from the F7 components. (Let me know if you get to this step).
 +
 
 +
You can ask for help on any of these in #fedora-arm. Please keep be posted on how this goes. Based on what you find out, we can set up image creation for BeagleBone in Fedora-ARM. Getting the F17 userspace running on the BeagleBoard (step 1 above) could be used as your 0.1 release.
 +
 
 +
 
 +
 
 +
 
 +
 
 +
Below it old project plan:
 +
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 +
<s><!-- Provides more depth than the Project Description.  This is the place for technical discussions, project specs, or other details.  If this gets very long, you might consider breaking this part into multiple pages and linking to them. -->
 +
 
 +
Oct 6, 2012.  Group Meeting.<br /><br />
 +
We discussed about which hardware and interface we are going to contribute.  And the final decision is we are gonna use Pandaboard device. I will work on the GPIO interface, and Luis will work on the I2C interface.  One of our member drop the course, so, that is all for now.
  
== Project Plan ==
+
we did some research on the library and drivers, here is the google doc link for sharing the information within group member: https://docs.google.com/document/d/1TJQb7bEK91TNs3f2jqkOiQU3_ro8Z7BhKEbdtaCOoxc/edit
 +
 
 +
We are going to use the Beaglebone/Beagleboard device for the GPIO interfaces.<br /><br />
 +
 
 +
Luis Fuentes  : Package appropriate libraries for Beagleboard GPIO    <br />
 +
Jiecheng Qiu  : Package appropriate libraries for Beaglebone GPIO    <br />
 +
 
 +
<br /><br />
 +
Oct 15, 2012  Update Project Home Page.<br /><br />
 +
 
 +
Today we update the Project Detail, Project Plan, and Blogs.
 +
We will continue do some research on library, and try to package it soon. And we will ask for loan some hardware.
  
 
Tracking mechanism (bugzilla, trac, github, ...):
 
Tracking mechanism (bugzilla, trac, github, ...):
Line 53: Line 88:
 
Goals for each release and plans for reaching those goals:
 
Goals for each release and plans for reaching those goals:
 
<!-- Note: each contributor is expected to have unique goals. These goals may be ''related'' to other students' work, but must be ''distinct'' and ''attainable'' regardless of the state of the other students' work. For example, under the umbrella of one project title, one student may work on packaging a piece of software and another may work on documentation, or one may work on solving one bug and another on solving another bug, but two students must not work on the same bug or depend on the other students' work in order to be able to complete their own project. -->
 
<!-- Note: each contributor is expected to have unique goals. These goals may be ''related'' to other students' work, but must be ''distinct'' and ''attainable'' regardless of the state of the other students' work. For example, under the umbrella of one project title, one student may work on packaging a piece of software and another may work on documentation, or one may work on solving one bug and another on solving another bug, but two students must not work on the same bug or depend on the other students' work in order to be able to complete their own project. -->
* 0.1
+
<br /><br />
* 0.2
+
 
* 0.3
+
0.1 release an initial version of our package <br /><br />
 +
0.2 release a final version and get it into the Fedora package review process <br /><br />
 +
0.3 the package has gone through the final release process and is available in Fedora <br /><br /></s>
 +
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  
 
== Communication ==
 
== Communication ==
Line 61: Line 99:
 
=== Mailing Lists ===
 
=== Mailing Lists ===
 
<!-- Add any appropriate mailing lists to which you are subscribed (e.g., see http://lists.fedoraproject.org -->
 
<!-- Add any appropriate mailing lists to which you are subscribed (e.g., see http://lists.fedoraproject.org -->
 +
 +
 +
 +
  
 
=== Upsteam Wiki and Web ===
 
=== Upsteam Wiki and Web ===
Line 67: Line 109:
 
=== Links/Bugs/Tracking ===
 
=== Links/Bugs/Tracking ===
 
<!-- Add a link to any page(s) related to your work, including the bug numbers (on bugzilla or trac) -->
 
<!-- Add a link to any page(s) related to your work, including the bug numbers (on bugzilla or trac) -->
 +
 +
Here is a page that I've recently started writing about GPIO/Serial/I2C/SPI on the Pandaboard:
 +
http://zenit.senecac.on.ca/wiki/index.php/Raspberry_Pi_Interfacing
 +
 +
This is an unfinished project started by a CDOT research assistant for interfacing a motion sensor to a Pandaboard:
 +
http://zenit.senecac.on.ca/wiki/index.php/Motion_Sensor_Interfacing_for_Panda_Board_based_Dash_Board_System
  
 
=== Source Code Control ===
 
=== Source Code Control ===
Line 73: Line 121:
 
=== Blogs ===
 
=== Blogs ===
 
<!-- Links to the blogs of people involved, both inside and outside Seneca -->
 
<!-- Links to the blogs of people involved, both inside and outside Seneca -->
 +
 +
 +
 +
Jiecheng Qiu's Blog: http://jcqiu.wordpress.com
 +
 +
  
 
==== Seneca Particpants ====
 
==== Seneca Particpants ====

Latest revision as of 21:50, 2 December 2012

(Changed to Running F17 on Beaglebone) Programming GPIO on Fedora

Project Description

A guide and some simple projects that run on different boards on Fedora.

Package appropriate libraries and provide instructions on interfacing devices to the BeagleBoard/BeagleBone and PandaBoard devices using the GPIO/SPI/I2C interfaces.

Expected outcome: appropriate libraries for GPIO/SPI/I2C support will be present in Fedora, and documentation page will be available outlining how to use these features.

Skills required: packaging, testing, writing

Maximum number of participants: 2 (one per board)

Resources: Chris Tyler (ctyler), Peter Robinson (pbrobinson)


Update to


== Project Leader(s) ==

Jiecheng Qiu
Wiki Page: User: Jiecheng Qiu
IRC: Jie_Q


Project Contributor(s)

Omarr Khattab -- Give me config files of Fedora 17 arm.

Max -- help me with change the mmc_root permission.

Gloria Ip -- help me with some sources link and reference info.

Project Details

Project Plan

Nov 10 Update to:


(1) Try to get F17 running by leaving partition 1 untouched (the boot files) and replace partition 2 with the F17 userspace ("rootfs"). The easiest way to do this is probably to mount an Angstrom card on a PC, erase the files on the 2nd partition, and untar a rootfs tarball onto that partition.

(2) If that works, try updating the kernel on partition 1 to the F17 OMAP kernel. The kernel is the 'uImage' file in the first partion.

(3) If that works, then try to create a full beaglebone image from the F7 components. (Let me know if you get to this step).

You can ask for help on any of these in #fedora-arm. Please keep be posted on how this goes. Based on what you find out, we can set up image creation for BeagleBone in Fedora-ARM. Getting the F17 userspace running on the BeagleBoard (step 1 above) could be used as your 0.1 release.



Below it old project plan:


Oct 6, 2012. Group Meeting.

We discussed about which hardware and interface we are going to contribute. And the final decision is we are gonna use Pandaboard device. I will work on the GPIO interface, and Luis will work on the I2C interface. One of our member drop the course, so, that is all for now.

we did some research on the library and drivers, here is the google doc link for sharing the information within group member: https://docs.google.com/document/d/1TJQb7bEK91TNs3f2jqkOiQU3_ro8Z7BhKEbdtaCOoxc/edit

We are going to use the Beaglebone/Beagleboard device for the GPIO interfaces.

Luis Fuentes  : Package appropriate libraries for Beagleboard GPIO
Jiecheng Qiu  : Package appropriate libraries for Beaglebone GPIO



Oct 15, 2012 Update Project Home Page.

Today we update the Project Detail, Project Plan, and Blogs. We will continue do some research on library, and try to package it soon. And we will ask for loan some hardware.

Tracking mechanism (bugzilla, trac, github, ...):

Key contacts:

Goals for each release and plans for reaching those goals:

0.1 release an initial version of our package

0.2 release a final version and get it into the Fedora package review process

0.3 the package has gone through the final release process and is available in Fedora


Communication

Mailing Lists

Upsteam Wiki and Web

Links/Bugs/Tracking

Here is a page that I've recently started writing about GPIO/Serial/I2C/SPI on the Pandaboard: http://zenit.senecac.on.ca/wiki/index.php/Raspberry_Pi_Interfacing

This is an unfinished project started by a CDOT research assistant for interfacing a motion sensor to a Pandaboard: http://zenit.senecac.on.ca/wiki/index.php/Motion_Sensor_Interfacing_for_Panda_Board_based_Dash_Board_System

Source Code Control

Blogs

Jiecheng Qiu's Blog: http://jcqiu.wordpress.com


Seneca Particpants

Non-Seneca Participants

Planets

Project News

==