Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
925 commits
Select commit Hold shift + click to select a range
41781ae
Replacing the default splash screen
Koenkk Dec 6, 2012
69ef638
Updated the XBian splash slightly
Koenkk Dec 6, 2012
8089b37
Added ConfluenceSettingsSystemInfo.patch
Koenkk Dec 6, 2012
5da639c
Updated the XBian splash slightly
Koenkk Dec 6, 2012
fcc1237
Update Docs/CompileXBMC.sh
Dec 6, 2012
5839787
Merge branch 'xbian-alpha4' of https://github.com/xbianonpi/xbian int…
Koenkk Dec 6, 2012
9ad4af8
Update Docs/CompileXBMC.sh
Dec 6, 2012
69a4db7
Renamed to XBianConfluence.patch
Koenkk Dec 6, 2012
5b39df1
Added libcec 2.0.5, issue #151
Koenkk Dec 6, 2012
f666ff9
Updated the XBian splash screen
Koenkk Dec 7, 2012
a7d27b7
Reverted hide cpu meter patch
Koenkk Dec 7, 2012
63f0775
Don't apply the XBianConfluence.patch by default
Koenkk Dec 7, 2012
fc0e305
Create Lircmap.xml.patch
Dec 7, 2012
c5b4bb1
Merge branch 'xbian-alpha4' of https://github.com/xbianonpi/xbian int…
Koenkk Dec 7, 2012
e372ef6
Added XBMC Frodo Beta 2
Koenkk Dec 7, 2012
79d9761
Add files that would be removed when removing the raspberrypi package…
Dec 7, 2012
702a049
Update Docs/Setup.MD
Dec 7, 2012
7643b99
Update lib/udev/rules.d/10-local-rpi.rules
Dec 7, 2012
9f393a0
Moved <guires>
Koenkk Dec 7, 2012
09acd6a
Update Docs/Setup.MD
Dec 8, 2012
693c859
Added experimental AddHTTPapi.patch, see issue #155
Koenkk Dec 8, 2012
5440278
Fixed a syntax issue
Koenkk Dec 8, 2012
82c6c7a
Added exFAT support, see #157
Koenkk Dec 9, 2012
1c75cc5
Update Docs/Setup.MD
Dec 12, 2012
2991a1e
Update Docs/Setup.MD
Dec 13, 2012
5ccd7ab
Added network manager add-on
Dec 13, 2012
8c3006c
Merge branch 'xbian-alpha4' of https://github.com/xbianonpi/xbian int…
Dec 13, 2012
84f6c93
Moved terminal udev in custom xbian udev
Dec 14, 2012
8780a7e
Fixed usb permissions
Dec 14, 2012
a18b981
Added XBMC HUB Fusion, issue #163
Koenkk Dec 14, 2012
697294d
Make LIRC configuration modular
Dec 15, 2012
e06cad6
Merge branch 'xbian-alpha4' of https://github.com/xbianonpi/xbian int…
Dec 15, 2012
1b58876
Added more remotes support
Dec 16, 2012
69c9fe0
Small fixes to the mceusb config files
Dec 16, 2012
9e84fab
Added mceusb buttons
Dec 16, 2012
7cbb27a
Update etc/lirc/remotes/mceusb.conf
Dec 16, 2012
d0c1d5f
Yet some other fixes to the mceusb remote
Dec 16, 2012
9c775ed
Yet some other fixes to the mceusb remote
Dec 16, 2012
fcac86a
Update etc/lirc/remotes/mceusb.conf
Dec 16, 2012
f21635d
Updated branch
Koenkk Dec 16, 2012
ac4f379
XBMC Frodo RC1
Koenkk Dec 16, 2012
b86b4ee
New approach to the mceusb remote
Dec 16, 2012
a54466a
Added lirc xbox hardware config
Dec 17, 2012
19f717e
Update Docs/Setup.MD
Dec 17, 2012
0020fdc
Removed swap partition creation
Dec 18, 2012
ebd1250
Merge branch 'xbian-alpha4' of https://github.com/xbianonpi/xbian int…
Dec 18, 2012
ed3b5b4
Removed swap partition creation
Dec 18, 2012
0455ed7
Added more deb sources
Dec 18, 2012
067b443
Added kernel 3.6.10 and made it default
Dec 18, 2012
0e435b2
Updated git location
Koenkk Dec 18, 2012
5e8f776
Update etc/motd
Dec 18, 2012
c99f275
Update Updates/Kernel3.6.10/1.0/control
Dec 18, 2012
81467db
Removed obsolete file
Dec 18, 2012
6d7db2d
Merge branch 'xbian-alpha4' of https://github.com/xbianonpi/xbian int…
Dec 18, 2012
de30c96
Update Docs/Setup.MD
Dec 19, 2012
d3c4bd7
Update Docs/Setup.MD
Dec 19, 2012
dfa9bce
Update etc/lirc/hardware.conf
Dec 20, 2012
11d73cf
Update etc/lirc/hardware.conf
Dec 20, 2012
c31ba51
Update etc/lirc/hardware.conf
Dec 20, 2012
f0c6bc8
XBian splash without raspberry logo
Koenkk Dec 20, 2012
b2ac22c
Updated lirc
Dec 20, 2012
e902d80
Update etc/lirc/hardware/custom.conf
Dec 20, 2012
ab6a08b
Update etc/lirc/hardware/lirc_rpi.conf
Dec 20, 2012
b77e43c
Update etc/lirc/hardware/mceusb_event1.conf
Dec 20, 2012
99b0247
Update etc/lirc/hardware/mceusb_event0.conf
Dec 20, 2012
fb43bd0
Removed invalid status file
Dec 20, 2012
93871a8
Merge branch 'xbian-alpha4' of https://github.com/xbianonpi/xbian int…
Dec 20, 2012
a55bc2c
Removed submodule 'cause we never use them
Dec 20, 2012
210667c
Added kernel 3.6.11
Dec 20, 2012
b4446f0
Update Docs/Setup.MD
Dec 21, 2012
97eb8ea
Update Patches/xbmc/XBianConfluence.patch
Dec 21, 2012
9a575a3
Updated lirc config
Dec 21, 2012
10f6d8a
Merge branch 'xbian-alpha4' of https://github.com/xbianonpi/xbian int…
Dec 21, 2012
13b1df1
Create Lircmap.xml.patch
Dec 21, 2012
966048f
XBMC Frodo RC2, issue #164
Koenkk Dec 22, 2012
90de129
Update etc/lirc/hardware.conf
Dec 23, 2012
4f93f44
XBMC Frodo with AVCHD support, issue #169
Koenkk Dec 23, 2012
ca939a0
Update Docs/CompileXBMC.sh
Koenkk Dec 23, 2012
7abb638
Merry christmas! (by Rikardo1979)
Koenkk Dec 23, 2012
74b7bee
Update Docs/Setup.MD
Dec 25, 2012
bcc48fd
Update etc/init.d/bootlocal
Dec 26, 2012
4768fe4
Update Docs/Setup.MD
MichaelLawton Dec 27, 2012
9f638a7
Merge pull request #188 from flangefrog/patch-1
Dec 27, 2012
8554120
Updates some last minute files + added update source
Dec 27, 2012
4a64328
Some more deb sources
Dec 27, 2012
a3a3db5
Reverted to XBMC RC1 (RC2 is not stable enough yet)
Koenkk Dec 28, 2012
da27818
Merge commit 'XBian1.0Alpha4'
Dec 28, 2012
507187d
Update README.md
Dec 28, 2012
5c10e36
Update usr/local/sbin/xbian-config
Dec 28, 2012
3125dc2
Fixed carriage returns + removed obsolete file
Dec 29, 2012
44de95a
Merge branch 'xbian-alpha5' of https://github.com/xbianonpi/xbian int…
Dec 29, 2012
30789e1
Updated deb sources
Dec 29, 2012
da4eb8b
Update Docs/Setup.MD
Dec 29, 2012
0c50520
Update Docs/Setup.MD
Dec 29, 2012
350d7a7
Update Docs/Setup.MD
Dec 29, 2012
8bda127
Update Docs/Setup.MD
Dec 29, 2012
3e3fbc8
Update Docs/Setup.MD
Dec 29, 2012
4a0361c
Update Docs/Setup.MD
Dec 29, 2012
cf69daf
Update Docs/Setup.MD
Dec 29, 2012
8d29a68
Removed unnecessary return, issue #192
Koenkk Dec 30, 2012
4efe245
Remove man pages, issue #199
Koenkk Jan 2, 2013
5b1e7a9
Updated instructions to match repo location
Koenkk Jan 2, 2013
8b7dec1
Update etc/lirc/remotes/xbox.conf
Jan 3, 2013
7525a07
Update Updates/XBian/1.0-0.4/postinst
Jan 3, 2013
848039e
XBMC Frodo RC2, issue #164
Koenkk Jan 3, 2013
c564544
Updated firmware to raspberrypi/firmware@7bc7543, issue #195 #200 #204
Koenkk Jan 3, 2013
7dab95e
Added missing + additional modules
Jan 3, 2013
f07f650
Merge branch 'xbian-alpha5' of https://github.com/xbianonpi/xbian int…
Jan 3, 2013
c8745f3
Bump version number to 1.0a5
Koenkk Jan 4, 2013
eb84edb
Update Docs/UpdateXBMC.md
Koenkk Jan 5, 2013
f5a7690
CMA - Dynamic memory split, issue #200
Koenkk Jan 5, 2013
2cca13f
Kernel compilation for latest firmware
Jan 5, 2013
bacc9f6
Merge branch 'xbian-alpha5' of https://github.com/xbianonpi/xbian int…
Jan 5, 2013
a83cc44
Reverted 0641ac1, issue #200
Koenkk Jan 6, 2013
89aa873
Cleanup
Koenkk Jan 6, 2013
7ed2482
Recreated Lircmap.xml.patch
Koenkk Jan 6, 2013
dd0315d
Applied remote.xml.patch & Lircmap.xml.patch
Koenkk Jan 6, 2013
f500ac5
Recompiled PVR addons for XBMC Frodo RC3
Jan 7, 2013
ac562d9
Update etc/motd
Jan 7, 2013
9d1e03c
Update etc/lirc/remotes/devinput.conf
Jan 7, 2013
b32b7ad
Updated kernel + firmware
Jan 8, 2013
cd3cca4
Merge branch 'xbian-alpha5' of https://github.com/xbianonpi/xbian int…
Jan 8, 2013
afbe4a6
Updated kernel once again
Jan 8, 2013
a6c047a
Remove obsolete kernel folder
Jan 8, 2013
44c020b
Updated kernel patches, config + howto
Jan 8, 2013
cb04a62
Update Docs/CompileKernel.sh
Jan 8, 2013
c16fc78
Update Docs/CompileKernel.sh
Jan 8, 2013
1f11a65
Updated firmware once again
Jan 10, 2013
8bbced1
Merge branch 'xbian-alpha5' of https://github.com/xbianonpi/xbian int…
Jan 10, 2013
3713038
Disable power_mgnt 8192cu, issue #217
Koenkk Jan 11, 2013
1fcd0ea
Update Docs/CompileXBMC.sh
sraue Jan 11, 2013
d31a87b
Merge pull request #218 from sraue/patch-1
Koenkk Jan 12, 2013
b83b768
Change cachemembufferize to 20971520, issue #181
Koenkk Jan 12, 2013
9770db6
Enable external HDD spindown, issue #212
Koenkk Jan 12, 2013
858050d
New approach to blank out screen
Jan 13, 2013
33e7336
Added TL-WN821N firmware
Jan 13, 2013
df6bebd
Removed echo's
Koenkk Jan 13, 2013
e7bbfc0
Changed <thumbres> to <imageres>, issue #88
Koenkk Jan 13, 2013
b86578d
Added download package source
Jan 14, 2013
5115b2e
Merge branch 'xbian-alpha5' of https://github.com/xbianonpi/xbian int…
Jan 14, 2013
52a8e38
Update XBMC to xbianonpi/xbmc-nightly@f4d9e08f5b2dc7b399ced69e76749ff…
Koenkk Jan 14, 2013
c369e55
Added libcurl3 (XBMC dependency)
Koenkk Jan 15, 2013
901e01c
Update home/xbian/.xbmc/userdata/advancedsettings.xml
Jan 16, 2013
c22ba99
Removed unsupported and obsolete kernels
Jan 16, 2013
474c3a0
Updated broken libCEC build instructions
Koenkk Jan 17, 2013
945c30c
Updated guisettings.xml to be compatible with..
Koenkk Jan 17, 2013
0e05991
Disable GUI sounds because the Pi doesn't...
Koenkk Jan 17, 2013
7bf4d68
Small libCEC update (Pulse-Eight/libcec@89ea172)
Koenkk Jan 17, 2013
f3d6ccd
Cleanup: removed unused XBMC bin's
Koenkk Jan 17, 2013
ef18125
Sync with xbianonpi/xbmc-nightly@d7210b02f4001c4e466014bcdd0c523f5920…
Koenkk Jan 17, 2013
0e384d8
Remove unnecessary packages, issue #34
Koenkk Jan 18, 2013
4b0c9e7
Remove unecessary demo, issue #34
Koenkk Jan 18, 2013
acda5c3
Added RemoveGUISoundSettings.patch, issue #238
Koenkk Jan 19, 2013
e7d7015
Update Patches/kernel/.config
Jan 20, 2013
f47d814
Updated kernel, firmware and added new module
Jan 20, 2013
24493a3
Added WOL patch, issue #239
Koenkk Jan 20, 2013
6bb8743
Updated RemoveGUISoundSettings.patch, issue #228
Koenkk Jan 20, 2013
e6840a0
Update to ignore opt/vc/src (because they...
Koenkk Jan 20, 2013
fa3cfb8
Changed default devicename to XBian
Koenkk Jan 20, 2013
07f8d72
Add ability to set custom username in nzbget
Jan 20, 2013
1101897
Added Splash.patch
Koenkk Jan 20, 2013
d19da86
Merge branch 'xbian-alpha5' of https://github.com/xbianonpi/xbian int…
Koenkk Jan 20, 2013
74c76c3
Attempt to fix Splash.patch
Koenkk Jan 21, 2013
b457e6a
Setup watchdog for auto-reboot
Jan 22, 2013
8db34bd
Merge pull request #244 from Deanmv/xbian-alpha5
Jan 22, 2013
e7288fc
Allow xbian user to execute splash and pkill as...
Koenkk Jan 22, 2013
66a0d48
Full implementation & fixes for Splash.patch
Koenkk Jan 22, 2013
86ad636
Replaced pkill with splas --exit
Koenkk Jan 22, 2013
1d04041
Remove pkill
Koenkk Jan 22, 2013
1547db5
Fixed a typo
Koenkk Jan 22, 2013
d0b8389
Update Docs/Setup.MD
Jan 23, 2013
28ceea6
Allow EXT2/3/4 filesystem to be automounted...
Koenkk Jan 24, 2013
7399749
Updated XBMC to xbianonpi/xbmc-nightly@19f463c24a1398031183942e808623…
Koenkk Jan 24, 2013
9683203
Update Docs/Setup.MD
Jan 24, 2013
4b62871
Allow HFS+ parition to be written by root, issue #248
Koenkk Jan 24, 2013
5b65e40
Create swap file, issue #242
Koenkk Jan 25, 2013
3e8db4e
Update Docs/Setup.MD
Jan 25, 2013
ce78bb8
Update etc/init.d/createswap
Koenkk Jan 25, 2013
18e4eb1
Updated ASCII text
Koenkk Jan 25, 2013
344632e
Update Docs/Setup.MD
Jan 25, 2013
2113686
Add root as source in XBMC, issue #252
Koenkk Jan 25, 2013
6cfcc01
Fixed libCEC compilation
Koenkk Jan 26, 2013
8a30868
Clean XBMC, PVR addons & XVDR addon (synced xbianonpi/xbmc-nightly@da…
Koenkk Jan 26, 2013
05b9695
Fixed libCEC compilation
Koenkk Jan 26, 2013
aa0a840
Unset environment variables
Koenkk Jan 26, 2013
3b82204
Removed network manager, will be replaced with #114
Koenkk Jan 27, 2013
a3f98ec
Fixed typo, see #119, thanks inspector71
Koenkk Jan 27, 2013
4ac4e31
UTF-8 dialog supported patch and binary
Jan 28, 2013
0951ce9
Update etc/init.d/xbmc
Jan 29, 2013
a3db46b
Sickbeard custom nzbget username patch
Jan 29, 2013
5ed6804
Merge branch 'xbian-alpha5' of https://github.com/xbianonpi/xbian int…
Jan 29, 2013
beee902
Seperate compile scripts for XBMC 12 and XBMC 12+ (aka XBMC 13)
Koenkk Jan 29, 2013
beaa784
Install klogd & sysklogd by default, but because..
Koenkk Jan 29, 2013
5fce675
Added XBMC Frodo 12.0 Final, issue #10 (xbianonpi/xbmc-nightly@086307…
Koenkk Jan 30, 2013
5163c36
Install libva1 (dependency for the VP6, VP8...
Koenkk Jan 30, 2013
40815b6
Added new (experimental) firmware
Jan 30, 2013
1c78254
Merge branch 'xbian-alpha5' of https://github.com/xbianonpi/xbian int…
Jan 30, 2013
1c026f0
Updated XBMC patch method
Koenkk Jan 30, 2013
fe92469
Added omxcodec.patch
Koenkk Jan 30, 2013
d2fb510
Updated WOL.patch, issue #239
Koenkk Jan 30, 2013
bddae4b
XBMC Frodo 12.0 Final with custom omxplayer, see issue #255
Koenkk Jan 30, 2013
d6eb652
Added TvHeadend, issue #176
Koenkk Jan 30, 2013
c788ff1
omxcodecs.patch not needed anymore, as it is..
Koenkk Jan 30, 2013
97aeee0
Update Docs/Setup.MD
Jan 31, 2013
a4b52a6
Update etc/init.d/createswap
Jan 31, 2013
d34be72
Update etc/init.d/createswap
Jan 31, 2013
249f10e
Reverted libcec to 02fec7ec61c5d298c8e67b07204dd1a38cc81aa4
Koenkk Jan 31, 2013
2f1ce9f
Update Docs/Setup.MD
Feb 1, 2013
8742e9b
Update Docs/Setup.MD
Feb 2, 2013
b6c2657
Update Docs/Setup.MD
Feb 2, 2013
26913ef
Update Docs/Setup.MD
Feb 2, 2013
59e76c2
Added some setup messages
Koenkk Feb 2, 2013
185167d
Removed unnecessary commands
Koenkk Feb 2, 2013
0a74163
Uncapitalize boot messages
Koenkk Feb 2, 2013
77b4cfb
Fixed strange characters in first-time setup messages
Koenkk Feb 4, 2013
1812db6
Update Docs/Setup.MD
Feb 6, 2013
6dacde1
Update README.md
Feb 7, 2013
d77b3ba
Update README.md
Feb 7, 2013
74201b2
Update README.md
Feb 7, 2013
274d8d6
Update README.md
Feb 7, 2013
9d1b59a
Added speelink remote support
Feb 8, 2013
be88b90
Merge branch 'xbian-alpha5' of https://github.com/xbianonpi/xbian int…
Feb 8, 2013
a926d19
Updated XBianConfluence.patch
Koenkk Feb 8, 2013
5cbe85d
Added and updated confluence (patch)
Feb 9, 2013
3a2acd3
Added second patched Confluence file
Feb 9, 2013
da996e1
Updated sickbeard patch
Feb 10, 2013
c190e43
Added couchpotato nzbget username support
Feb 10, 2013
99ccf70
Update etc/init.d/createswap
Feb 11, 2013
bd77b4c
Moved deb sources to separate repo
Feb 11, 2013
a733ee4
Merge branch 'xbian-alpha5' of https://github.com/xbianonpi/xbian int…
Feb 11, 2013
f383ffb
Added headphones nzbget support patch
Feb 12, 2013
c953297
Fixed broken XBianConfluence.patch
Koenkk Feb 18, 2013
25d6f75
Removed CompileLirc.sh.save
Koenkk Feb 18, 2013
62a4a86
Added splash and initramfs
Feb 18, 2013
892bb0a
Update README.md
Feb 18, 2013
85ff4d7
Update README.md
Feb 18, 2013
32f7d89
Moved Docs to wiki, patches to separate repo, and added xbian-config-…
Feb 18, 2013
0765af9
Merge branch 'xbian-alpha5' of https://github.com/xbianonpi/xbian int…
Feb 18, 2013
bb6fd47
Removed TVHeadend (issue #176)
Koenkk Feb 18, 2013
dc608e3
Updated README.md
Koenkk Feb 18, 2013
a5648ba
Added additional resize + swap check
Feb 18, 2013
661387c
Merge branch 'master' of https://github.com/xbianonpi/xbian
Feb 18, 2013
ffacda2
Update etc/init.d/bootlocal
Feb 18, 2013
5decaef
Added splash cmdline.txt
Feb 18, 2013
94d8ae6
Add missing language part of xbian-config-shell
Feb 19, 2013
2e926fd
Added new initramfs and Russian language pack of xbian-config-shell
Feb 19, 2013
b21c9b2
Update README.md
Feb 20, 2013
ba1b986
Update README.md
Feb 20, 2013
e733aef
Update README.md
Feb 20, 2013
51aad66
Update README.md
Feb 21, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.gitignore
.git
2012-09-18-wheezy-raspbian.zip
lirc.tar
.DS_Store
Updates
.deb
opt/vc/src
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[submodule "usr/src/tools"]
path = usr/src/tools
url = https://github.com/raspberrypi/tools.git
[submodule "opt/raspberry/linux"]
path = opt/raspberry/linux
url = git://github.com/raspberrypi/linux.git
674 changes: 674 additions & 0 deletions COPYING

Large diffs are not rendered by default.

13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
xbian-1.0-fs-permissions-todo
=============================
Dear XBian Forker,

Last week we did some big changes on our main xbian repository. We are pleased to see that you have forked us but want to ask if you can delete your fork and re-fork us, so we are in sync again?

Thanks in advanced!

Regards,
CurlyMoo

ps I. If you have any questions, you can contact me on development@xbian.org or the xbian.org forum.<br />
ps II. This not only counts for our main 'xbian' repo, but for all repo's you might have forked from us.
1 change: 1 addition & 0 deletions boot/.firmware_revision
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
47eba77cdaac2b94d1778c89030783c8f82a7b51
356 changes: 356 additions & 0 deletions boot/COPYING.linux

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions boot/LICENCE.broadcom
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
Copyright (c) 2006, Broadcom Corporation.
All rights reserved.

Redistribution. Redistribution and use in binary form, without
modification, are permitted provided that the following conditions are
met:

* This software may only be used for the purposes of developing for,
running or using a Raspberry Pi device.
* Redistributions must reproduce the above copyright notice and the
following disclaimer in the documentation and/or other materials
provided with the distribution.
* Neither the name of Broadcom Corporation nor the names of its suppliers
may be used to endorse or promote products derived from this software
without specific prior written permission.

DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.

6 changes: 6 additions & 0 deletions boot/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
rpi-firmware
============

Firmware files for the Raspberry Pi. These are mirred in a seperate repo from the official one, because for updating the firmware, we're only interested in the files in the boot folder of the official repo. Git doesn't provide a way to clone only a single subfolder of a repo, and downloading the entire repo including the sample code and VC libs would take too long.

If the boot firmware files are split off into a seperate repo, then the tool could be pointed at that repo instead of this one, as long as the firmware files are in the root of the repo.
Binary file added boot/bootcode.bin
Binary file not shown.
1 change: 1 addition & 0 deletions boot/cmdline.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dwc_otg.fiq_fix_enable=1 sdhci-bcm2708.sync_after_dma=0 dwc_otg.lpm_enable=0 console=tty2 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait logo.nologo quiet loglevel=0 splash
7 changes: 7 additions & 0 deletions boot/config.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
arm_freq=840
core_freq=375
disable_overscan=1
gpu_mem_256=128
gpu_mem_512=128
sdram_freq=400
over_voltage=0
Binary file added boot/fixup.dat
Binary file not shown.
Binary file added boot/initramfs.gz
Binary file not shown.
Binary file added boot/kernel.img
Binary file not shown.
Binary file added boot/start.elf
Binary file not shown.
17 changes: 17 additions & 0 deletions etc/bash_completion.d/xbian-config.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
_xbian-config()
{
local cur prev opts
COMPREPLY=();
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if [ -d "/usr/local/include/xbian-config/modules/${prev}" ]; then
arguments=$(grep ARGUMENTS "/usr/local/include/xbian-config/modules/${prev}/main" | sed -ne 's/\(.*\)\((\)\(.*\)\().*\)/\3/p');
COMPREPLY=($(compgen -W "${arguments}" -- $cur))
return 0;
else
opts=$(ls /usr/local/include/xbian-config/modules/);
COMPREPLY=($(compgen -W "${opts}" -- ${cur}))
return 0;
fi
}
complete -F _xbian-config xbian-config
102 changes: 102 additions & 0 deletions etc/init.d/bootlocal
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
#!/bin/bash
#
#Copyright 2012 CurlyMo <development@xbian.org>
#
#This file is part of Xbian - XBMC on the Raspberry Pi.
#
#Xbian is free software: you can redistribute it and/or modify it under the
#terms of the GNU General Public License as published by the Free Software
#Foundation, either version 3 of the License, or (at your option) any later
#version.
#
#Xbian is distributed in the hope that it will be useful, but WITHOUT ANY
#WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
#FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
#details.
#
#You should have received a copy of the GNU General Public License along
#with Xbian. If not, see <http://www.gnu.org/licenses/>
#
### BEGIN INIT INFO
# Provides: bootlocal
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: XBian boot scripts
# Description:
#
### END INIT INFO

NAME=bootlocal
DESC="XBian boot scripts"
VERBOSE=no
SCRIPTNAME=/etc/init.d/bootlocal

function resizesd() {
if [ $(grep "/dev/mmcblk0p2[\ ]\{1,\}/" /etc/fstab | wc -l) -eq 1 ] && [ $(grep noresizesd /proc/cmdline | wc -l) -eq 0 ]; then
# check if the partition needs resizing
FDISKBLOCKSIZE=$(/sbin/sfdisk -d /dev/mmcblk0 | grep Id=83 | awk '{printf "%d", $6}');
FDISKBLOCKCOUNT=$(/sbin/fdisk -l /dev/mmcblk0 | grep Units | sed -ne 's/\(.*= \)\([0-9]\{1,\}\)\( bytes\)/\2/p');
TUNE2FS=$(/sbin/tune2fs -l /dev/mmcblk0p2);
TUNEBLOCKSIZE=$(echo -e "${TUNE2FS}" | grep "Block size" | awk '{printf "%d", $3}');
TUNEBLOCKCOUNT=$(echo -e "${TUNE2FS}" | grep "Block count" | awk '{printf "%d", $3}');
TUNETOTALBLOCKS=$(($(($TUNEBLOCKCOUNT*$TUNEBLOCKSIZE))/1024/1024));
FDISKTOTALBLOCKS=$(($(($FDISKBLOCKSIZE*$FDISKBLOCKCOUNT))/1024/1024));

# resize root partition
if [ $TUNETOTALBLOCKS -lt $FDISKTOTALBLOCKS ]; then
/sbin/resize2fs /dev/mmcblk0p2
fi

FDISKBLOCKSIZE=$(/sbin/sfdisk -d /dev/mmcblk0 | grep Id=83 | awk '{printf "%d", $6}');
FDISKBLOCKCOUNT=$(/sbin/fdisk -l /dev/mmcblk0 | grep Units | sed -ne 's/\(.*= \)\([0-9]\{1,\}\)\( bytes\)/\2/p');
TUNE2FS=$(/sbin/tune2fs -l /dev/mmcblk0p2);
TUNEBLOCKSIZE=$(echo -e "${TUNE2FS}" | grep "Block size" | awk '{printf "%d", $3}');
TUNEBLOCKCOUNT=$(echo -e "${TUNE2FS}" | grep "Block count" | awk '{printf "%d", $3}');
TUNETOTALBLOCKS=$(($(($TUNEBLOCKCOUNT*$TUNEBLOCKSIZE))/1024/1024));
FDISKTOTALBLOCKS=$(($(($FDISKBLOCKSIZE*$FDISKBLOCKCOUNT))/1024/1024));

if [ $TUNETOTALBLOCKS -eq $FDISKTOTALBLOCKS ]; then
return 1;
else
return 0;
fi
fi
}

function createswap() {
if [ ! -f /var/swapfile ] && [ $(grep noswapfile /proc/cmdline | wc -l) -eq 0 ]; then
dd if=/dev/zero of=/var/swapfile bs=1024 count=128000
/sbin/mkswap /var/swapfile &>/dev/null
/sbin/swapon /var/swapfile &>/dev/null
fi
if [ -f /var/swapfile ] && [ $(grep /var/swapfile /etc/fstab | wc -l) -eq 0 ]; then
echo -e '/var/swapfile\tswap\tswap\tdefaults\t0\t0' >> /etc/fstab
fi
}

case "$1" in
start)
resizesd;
if [ $? -eq 1 ]; then
createswap;
fi
[ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" ""
/etc/rc.local
echo 1 | sudo tee /proc/sys/vm/drop_caches >/dev/null
case "$?" in
0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
esac
;;
stop)
sync
;;
*)
echo "Usage: $SCRIPTNAME {start|stop}" >&2
exit 3
;;
esac

:
170 changes: 170 additions & 0 deletions etc/init.d/lirc
Original file line number Diff line number Diff line change
@@ -0,0 +1,170 @@
#!/bin/sh
### BEGIN INIT INFO
# Provides: lirc
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Starts LIRC daemon.
# Description: LIRC is used to control different
# infrared receivers and transceivers.
### END INIT INFO

load_modules ()
{
MODULES_MISSING=false

log_daemon_msg "Loading LIRC modules"
for mod in $*; do
if [ $mod = "udev" ]; then
log_end_msg 0
log_success_msg "Restarted via udev, don't reload modules"
break
else
modprobe $mod 2> /dev/null || MODULES_MISSING=true
fi
done
log_end_msg $?

if $MODULES_MISSING; then
log_failure_msg "Unable to load LIRC kernel modules. Verify your"
log_failure_msg "selected kernel modules in /etc/lirc/hardware.conf"
START_LIRCMD=false
START_LIRCD=false
fi
}

build_args ()
{
ARGS="$*"

## Try to find an lirc device.
if [ -z "$DEVICE" ]; then
if [ -c $dev ]; then
DEVICE="$dev"
break
fi
fi

if [ -n "$DEVICE" ] && [ "$DEVICE" != "none" ]; then
ARGS="--device=$DEVICE $ARGS"
fi

if [ -n "$DRIVER" ] && [ "$DRIVER" != "none" ]; then
ARGS="--driver=$DRIVER $ARGS"
fi

echo $ARGS
}

. /lib/lsb/init-functions

test -f /usr/local/sbin/lircd || exit 0
test -f /usr/local/sbin/lircmd || exit 0

START_LIRCMD=true
START_LIRCD=true
START_IREXEC=true


if [ -f /etc/lirc/hardware.conf ];then
. /etc/lirc/hardware.conf
fi

if [ ! -f /etc/lirc/lircd.conf ] || grep -q "^#UNCONFIGURED" /etc/lirc/lircd.conf; then
if [ "$1" = "start" ]; then
log_success_msg "No valid /etc/lirc/lircd.conf has been found."
log_success_msg "Remote control support has been disabled."
log_success_msg "Reconfigure LIRC or manually replace /etc/lirc/lircd.conf to enable."
fi

START_LIRCD=false
START_LIRCMD=false
START_IREXEC=false
fi

if [ ! -f /etc/lirc/lircmd.conf ] || grep -q "^#UNCONFIGURED" /etc/lirc/lircmd.conf; then
START_LIRCMD=false
fi

if [ ! -f /etc/lirc/lircrc ] || grep -q "^#UNCONFIGURED" /etc/lirc/lircrc; then
START_IREXEC=false
fi

case "$1" in
start)
[ -d "/var/run/lirc" ] || mkdir -p "/var/run/lirc"
if [ "$LOAD_MODULES" = "true" ] && [ "$START_LIRCD" = "true" ]; then
load_modules $2 $MODULES
fi

if [ "$START_LIRCD" = "true" ]; then
log_daemon_msg "Starting remote control daemon(s) : LIRC "
LIRCD_ARGS=`build_args $LIRCD_ARGS`

if [ ! -z "$LIRCD_ARGS" ]; then
start-stop-daemon --start --quiet --oknodo --exec /usr/local/sbin/lircd -- $LIRCD_ARGS < /dev/null
# retain compatibility with old clients
ln -fs ../var/run/lirc/lircd /dev/lircd
log_end_msg $?
else
log_end_msg 1
fi
fi

if [ "$START_LIRCMD" = "true" ]; then
log_daemon_msg "Starting remote control mouse daemon : LIRCMD "
start-stop-daemon --start --quiet --oknodo --exec /usr/local/sbin/lircmd < /dev/null
log_end_msg $?
fi

if [ "$START_IREXEC" = "true" ]; then
log_daemon_msg "Starting execution daemon: irexec"
start-stop-daemon --start --quiet --oknodo --exec /usr/local/bin/irexec -- -d /etc/lirc/lircrc < /dev/null
log_end_msg $?
fi
;;
stop)
if [ "$START_IREXEC" = "true" ]; then
log_daemon_msg "Stopping execution daemon: irexec"
start-stop-daemon --stop --quiet --exec /usr/local/bin/irexec
log_end_msg $?
fi

if [ "$START_LIRCMD" = "true" ]; then
log_daemon_msg "Stopping remote control mouse daemon: LIRCMD"
start-stop-daemon --stop --quiet --exec /usr/local/sbin/lircmd
log_end_msg $?
fi

if [ "$START_LIRCD" = "true" ]; then
log_daemon_msg "Stopping remote control daemon(s): LIRC"
start-stop-daemon --stop --quiet --exec /usr/local/sbin/lircd
log_end_msg $?
fi
;;
reload|force-reload)
if [ "$START_IREXEC" = "true" ]; then
start-stop-daemon --stop --quiet --signal 1 --exec /usr/local/bin/irexec
fi

if [ "$START_LIRCD" = "true" ]; then
start-stop-daemon --stop --quiet --signal 1 --exec /usr/local/sbin/lircd
fi

if [ "$START_LIRCMD" = "true" ]; then
start-stop-daemon --stop --quiet --signal 1 --exec /usr/local/sbin/lircmd
fi
;;
restart)
$0 stop
sleep 1
#passes parameter $2 which is possibly our udev paramater
$0 start $2
;;
*)
echo "Usage: /etc/init.d/lircd {start|stop|reload|restart|force-reload}"
exit 1
esac

exit 0
Loading