Difference between revisions of "Package the Raspberry Pi kernel utility"

From CDOT Wiki
Jump to: navigation, search
(Kernel Utility Package Releases)
(Blogs)
 
(3 intermediate revisions by the same user not shown)
Line 30: Line 30:
 
[http://matrix.senecac.on.ca/~nhnguyen3/SBR600/Release03/update/ Release 0.3]
 
[http://matrix.senecac.on.ca/~nhnguyen3/SBR600/Release03/update/ Release 0.3]
  
<pre>
+
[http://matrix.senecac.on.ca/~nhnguyen3/SBR600/Release03/update/raspi-tools.spec SPEC File]
Name:          raspi-tools
 
Version:        0.3
 
Release:        8%{?dist}
 
Summary:        Raspberry Pi Kernel Utility
 
License:        GPLv2
 
URL:            http://matrix.senecac.on.ca/~nhnguyen3/SBR600/source/
 
Source0:        http://matrix.senecac.on.ca/~nhnguyen3/SBR600/source/raspi-tools.tar.gz
 
Patch0:    raspi-tools-0.2.args.patch
 
Patch1:        raspi-tools-0.2.boot.patch
 
Patch2:        raspi-tools-0.2.imagetool.patch
 
 
 
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
BUildArch:      noarch
 
BuildRequires:  python
 
 
 
%description
 
Raspberry Pi tool that creates a file called "first32k.bin"
 
which is then merged with kernel file image to load to memory
 
 
 
%prep
 
 
 
%setup -n tools
 
 
 
%patch0 -p1
 
%patch1 -p1
 
%patch2 -p1
 
 
 
%build
 
 
 
%install
 
rm -rf %{buildroot}
 
mkdir -p -m 755 %{buildroot}%{_datadir}/imagetool
 
mkdir -p -m 755 %{buildroot}%{_bindir}/
 
cp -p imagetool-uncompressed.py %{buildroot}%{_bindir}/
 
cp -p boot-uncompressed.txt %{buildroot}%{_datadir}/imagetool
 
cp -p args-uncompressed.txt %{buildroot}%{_datadir}/imagetool
 
 
 
%clean
 
rm -rf $RPM_BUILD_ROOT
 
 
 
%files
 
%defattr(-, root, root, -)
 
%{_bindir}/imagetool-uncompressed.py
 
%{_datadir}/imagetool
 
 
 
%doc
 
 
 
%changelog
 
* Thu Apr 12 2012 Nam Nguyen <namhnguyen01@gmail.com> - 0.2-8
 
- modified default attribute directive to fix error with txt file
 
 
 
* Wed Apr 11 2012 Nam Nguyen <namhnguyen01@gmail.com> - 0.2-7
 
- included patch files for individual source files
 
 
 
* Tue Apr 10 2012 Nam Nguyen - 0.2-6
 
- modified so script installs in /usr/bin and text file in /usr/share/imagetool
 
 
 
* Mon Apr 09 2012 Nam Nguyen - 0.2-5
 
- emailed Dominic Cobley to confirm license for python script to be used in package and made change to license as GPLv2 as request
 
 
 
* Thu Mar 29 2012 Nam Nguyen - 0.2-4
 
- tested installing package and used rpmlint to check for errors
 
 
 
* Thu Mar 29 2012 Nam Nguyen - 0.2-2
 
- editted spec file to have package install in /usr/bin rather then /usr/share
 
 
 
* Thu Mar 08 2012 Nam Nguyen 0.1-1
 
- Successfuly packaged pythons script and file in Release 0.1
 
</pre>
 
 
 
 
<!-- 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. -->
 
<!-- 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. -->
  
Line 133: Line 63:
 
=== 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 -->
[http://namsbloging.blogspot.ca/ Nam Nguyen's SBR600 Blog]
+
[http://sharethecode.blogspot.ca// http://sharethecode.blogspot.ca/]
 
==== Seneca Particpants ====
 
==== Seneca Particpants ====
Nam Nguyen
+
Joseph Nam Nguyen
  
 
==== Non-Seneca Participants ====
 
==== Non-Seneca Participants ====

Latest revision as of 22:55, 22 January 2016

Package the Raspberry Pi Kernel Utility

Project Description

The Raspi bootloader requires a special header at the start of the kernel file in order to correctly load it into memory. The tool which creates this header needs to be packaged in Fedora.

Expected outcome: a Fedora package for the Raspberry Pi kernel utility.

Skills required: packaging

Project Leader(s)

Nam Nguyen

Project Contributor(s)

Kernel Utility Package Releases

Release 0.1

Release 0.2

Release 0.3

SPEC File

Project Plan

Tracking mechanism : github

Key contacts: ctyler

Goals for each release and plans for reaching those goals:

  • 0.1 Proof of concept - Research and obtain the file that is used as the Raspberry Pi Kernel utility. Successfully Package the file using rpmbuild into an SRPM & RPM
  • 0.2 Initial working state - Test the RPM for errors with rpmlint, mock, koji. Attempt to have errors resolved and then have package reviewed by the community
  • 0.3 Completed working state - Fix any remaining errors with package and complete Readme files and documentation. Have a finished and working kernel utility package.

Communication

Mailing Lists

Upsteam Wiki and Web

https://github.com/raspberrypi/tools/tree/master/mkimage

Links/Bugs/Tracking

Source Code Control

Blogs

http://sharethecode.blogspot.ca/

Seneca Particpants

Joseph Nam Nguyen

Non-Seneca Participants

Planets

Planet CDOT

Project News