☰
Current Page
Main Menu
Home
Home
Editing
RaspBMC
Edit
Preview
h1
h2
h3
Keybinding
default
vim
emacs
Markup
Markdown
Plain Text
Pod
RDoc
reStructuredText
AsciiDoc
BibTeX
Creole
MediaWiki
Org-mode
Textile
Help 1
Help 1
Help 1
Help 2
Help 3
Help 4
Help 5
Help 6
Help 7
Help 8
Autosaved text is available. Click the button to restore it.
Restore Text
--- title: RaspBMC --- Renderer-Controllers for [Media Centre][1]. Make : Raspberry Pi Model : Rpi3, RPi2, RPi1 (see [Whale Barn Media][4]) Type : Single-board Computer OS : OSMC, Dietpi [[_TOC_]] # Configuration # OSMC Configuration ## Hostname sudo hostname lounge Edit `/etc/hostname`: lounge (or "ballroom", etc) ## kodi and systemd sudo systemctl stop mediacenter sudo systemctl start mediacenter ## Sound (Bullseye) Bullseye switch to the open-source vc4-kms-v3d HDMI driver which includes audio support but does not allow for ALSA dmixing (because it supports IEC985 but not PCM). Revert to vc4-fkms-v3d (fake KMS using firmware) and reenable bcm2835 audio: /boot/config-user.txt: ``` dtoverlay=vc4-fkms-v3d max_framebuffers=2 dtparam=audio=on ``` /boot/cmdline.txt: ``` snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_compat_alsa=0 ``` Resources: https://forums.raspberrypi.com/viewtopic.php?t=324067#p1988677 ## Network connmanctl connmanctl> enable wifi connmanctl> scan wifi Scan completed for wifi connmanctl> agent on Agent registered connmanctl> services *AO Wired ethernet_b827eb9142e0_cable whalebarn wifi_00c140950bc0_7768616c656261726e_managed_none connmanctl> connect wifi_00c140950bc0_7768616c656261726e_managed_none Connected wifi_00c140950bc0_7768616c656261726e_managed_none ## SNMP **GeSHi Error:** GeSHi could not find the language bashapt-get (using path /var/www/data/mark/pmwiki/cookbook/geshi/geshi/) (code 2) ### Installing apt-get install v4l-utils libjpeg9 ## Fixing Blue Screen Blue screen (on Study TV after power cycle). Workaround: tvservice -o tvservice -p sudo systemctl restart mediacenter See [related OSMC issue][10]. Try boosting hdmi in RPi config: `/boot/config.txt` config_hdmi_boost=6 * * * # Obsolete [RaspBMC][12] stuff ## Network Edit `/<span class="wikiword"><a class='createlinktext' rel='nofollow' [ipv4] method=auto dhcp-client-id=lounge dhcp-hostname=lounge # Developing ## Qemu Basic Raspberry PI kernel and rootfs here: * <https://people.debian.org/~aurel32/qemu/armel/> ### Exiting Ctrl-x Or through screen: Ctrl-a,a,x ### Running Need to redirect the console if running via SSH: qemu-system-arm \ -M versatilepb \ -nographic \ -kernel vmlinuz-3.2.0-4-versatile \ -initrd initrd.img-3.2.0-4-versatile \ -hda debian_wheezy_armel_standard.qcow2 \ -append "root=/dev/sda1 console=ttyAMA0 console=ttyS0" For initial boot (pre passwd setup) add `init=/bin/bash` or `init=/bin/sh` depending on what's in the root image. ### Qemu SCSI bug A qemu bug (pre 1.5) leaves `qemu-system-arm` in a loop attempting to reset the SCSI bus (I think). Luckily [Wheezy backports has qemu-2.1][13]. apt-get -t wheezy-backports install qemu-system-arm ## Qemu Raspbian * <http://xecdesign.com/qemu-emulating-raspberry-pi-the-easy-way/> * Need qemu >= 1.5 Kernel : <http://xecdesign.com/downloads/linux-qemu/kernel-qemu> Rootfs : [Latest RaspBMC image][14]) from <http://downloads.raspberrypi.org> ```shell #!/bin/bash KERNEL=xec-kernel ROOT=raspbmc0.img qemu-system-arm \ -cpu arm1176 \ -nographic \ -kernel "$KERNEL" \ -m 128 \ -M versatilepb -no-reboot \ -hda "$ROOT" \ -append "root=/dev/sda2 panic=1 rootfstype=ext4 rw" ``` ## Other Methods ### Debootstrap Chroot "Unable to reserve guest address space" ### multistrap Generates disk image. chroot fails with the same memory allocation failure. ### Cross Compiling * <http://hertaville.com/2012/09/28/development-environment-raspberry-pi-cross-compiler/> * <http://www.openframeworks.cc/setup/raspberrypi/Raspberry-Pi-Cross-compiling-guide.html> Use `gcc-linaro-arm-linux-gnueabihf-raspbian-x64` for x64 host. Gave up with pkg-config problems after a while. [1]: MediaCentre [4]: /House/WhaleBarnMedia [10]: https://discourse.osmc.tv/t/black-screen-on-hdmi/7599/29 [12]: RaspBMC [13]: https://packages.debian.org/wheezy-backports/qemu [14]: http://downloads.raspberrypi.org/raspbmc_latest [15]: RaspBMC?action=sourceblock&num=6 <!-- vim: filetype=markdown -->
Uploading file...
Sidebar
# SideBar * [Home][1] * [Projects][2] * * * <!-- --> * [Code][3] * [Tech][4] * [Network][5] * [MediaCentre][6] * [UAV][7] * * * <!-- --> * [Travel][8] * [Music][9] * [Horse Riding][10] * [Study][11] * [Games][12] * [Other Activities][13] * * * <!-- --> * [Car][14] * [House][15] * [Watch][16] * [Clothing][17] * [Miscellany][18] * * * [1]: /Home [2]: /Projects [3]: /Code/Code [4]: /Tech/Tech [5]: /Network/Network [6]: /MediaCentre/MediaCentre [7]: /UAV/UAV [8]: /Travel/Travel [9]: /Music/Music [10]: /HorseRiding/HorseRiding [11]: /Study/Study [12]: /Games/Games [13]: /Do/Do [14]: /Car/Car [15]: /House/House [16]: /Watch/Watch [17]: /Clothing/Clothing [18]: /Miscellany/Miscellany <!-- vim: filetype=markdown -->
Edit message:
Cancel