Repository Access: Difference between revisions

From Linux/Xtensa
Jump to navigation Jump to search
(Access to GIT Repositories)
 
(→‎Accessing Linux kernel sources: Mention 2.6.29-smp tree)
 
Line 27: Line 27:


There are normally multiple Linux kernel trees to choose from.
There are normally multiple Linux kernel trees to choose from.
At the time of writing, the <tt>xtensa-2.6.24</tt> tree is the active tree.
At the time of writing, the <tt>xtensa-2.6.24</tt> tree is the lastest "official" tree.
This tree is based on the released 2.6.24 kernel from <tt>kernel.org</tt>.
This tree is based on the released 2.6.24 kernel from <tt>kernel.org</tt>.
However, most of the activity currently is in an unofficial <tt>2.6.29-smp</tt> tree.


To get the <tt>xtensa-2.6.24</tt> tree into directory ''<dir>'' (which must not already exist),
To get the <tt>xtensa-2.6.24</tt> tree into directory ''<dir>'' (which must not already exist),

Latest revision as of 20:34, 26 July 2009

Access to GIT Repositories

The linux-xtensa.org site hosts a number of GIT repositories. They provide access to the latest sources for their respective projects. Alternatively, one can download snapshot releases which are updated much less frequently.


The following sections describe how to access these source repositories.

Accessing buildroot sources

Buildroot is used to build the toolchain and root filesystem. The following downloads a copy of the entire GIT repository:

  $ git clone git://git.linux-xtensa.org/git/buildroot/buildroot-xtensa buildroot

Those with write access to the repository should use the git+ssh method instead, like this:

  $ git clone git+ssh://git.linux-xtensa.org/git/buildroot/buildroot-xtensa buildroot

Commits to this tree are automatically posted to the buildroot-xtensa-commits list.

Accessing Linux kernel sources

There are normally multiple Linux kernel trees to choose from. At the time of writing, the xtensa-2.6.24 tree is the lastest "official" tree. This tree is based on the released 2.6.24 kernel from kernel.org. However, most of the activity currently is in an unofficial 2.6.29-smp tree.

To get the xtensa-2.6.24 tree into directory <dir> (which must not already exist), do this:

  $ git clone git://git.linux-xtensa.org/git/kernel/xtensa-2.6.24 <dir>

This creates and populates the <dir> directory. If <dir> is omitted, it defaults to xtensa-2.6.24 (the last non-extension part of the cloned path). Those with write access to the repository should use the git+ssh method instead, like this:

  $ git clone git+ssh://git.linux-xtensa.org/git/kernel/xtensa-2.6.24 <dir>

Commits to this tree are automatically posted to the linux-xtensa-devel-commits list.

Accessing U-Boot bootloader sources

A preliminary version of U-Boot for the Xtensa architecture is available. The following downloads a copy of the entire GIT repository:

  $ git clone git://git.linux-xtensa.org/git/u-boot/u-boot-xtensa.git u-boot

Those with write access to the repository should use the git+ssh method instead, like this:

  $ git clone git+ssh://git.linux-xtensa.org/git/u-boot/u-boot-xtensa.git u-boot

PLEASE NOTE: These paths are likely to change when the port becomes official.

Commits to this tree are not yet automatically posted to any list.

Write Access

Only a small number of core developers have write access to these repositories. To submit changes, you are encouraged to submit patches to the linux-xtensa mailing list. Contributors are expected to consistently provide good patches, and have a certain level of involvement and commitment to the relevant project, before being considered for write access.