not approvable for children

Please verify your age to see content (format: YYYY-MM-DD):
- -
change the form values!
linuxweb.net

lnxwbtag
improve websites creatively

en

secs click inside to pause/play next video

CMS Corporate Design Apache fine tuning Linux ( ) linuxweb.net webdesign ritterhude

Raspberry Pi 2 with gentoo linux

#gentoo #raspberry_pi #kernel

Gentoo Linux for Raspberry PI 2 Raw Disk Image Download

The Raspberry Pi 2 Model B is a quad-core arm 900 MHz 32bit core based single board computer for experimenting with programming languages and hardware control. It has got 1G DDR2 RAM, HDMI, 4 USB 2.0 ports, 100 Mbit Lan, MicroSD card slot, a 40 pin GPIO and power from miniusb. Completely compatible with rpi. Python is a good choice to use with the RPI. And (also) for GUIs PyQt library (in QT Designer) is recommended. The code must not be compiled and runs on almost any machines ...

targets: [install/download] [modules] [hw/sf lists] [display link / dual monitors / usb vga adapter / xrandr] [set usb snd default] [rpi projects] [openbox theme] [accelerated x driver]


  • this hardware is successfully running on a Rpi2:



  • Storage option:

    Install notes ...

    building your own linux
    https://github.com/raspberrypi/firmware (sys-boot/raspberrypi-firmware)
    
     root # cd /tmp/
     root # git clone --depth 1 git://github.com/raspberrypi/firmware/
     root # cd firmware/boot
     root # cp -r * /mnt/gentoo/boot/
     root # cp -r ../modules /mnt/gentoo/lib/ 


    https://wiki.gentoo.org/wiki/Raspberry_Pi
    https://wiki.gentoo.org/wiki/Raspberry_Pi/Quick_Install_Guide
    https://wiki.gentoo.org/wiki/LXDE < this takes about 1 day (compiling with all dependencies) ~550MB

    after installing base system and desktop is about 3,4 G

    Kernel Modules

  • this modules must be loaded when using hardware listed on top in:/etc/conf.d/modules
  • :
    
     #load the modules in the right order (depends)
     modules="bcm2708-rng"
     modules="bcm2808-rng"
     modules="bcm2835_rng"
     modules="bluetooth"
     modules="snd"
     modules="snd-timer"
     modules="snd-pcm"
     modules="snd-card-sb8"
     modules="btusb"
     modules="8192cu"
     modules="8712u"
     modules="cfg80211"
     modules="snd-usb-audio"
     modules="snd-bcm2835"
     modules="i2c-bcm2708"
     modules="i2c-dev"
     modules="cifs"
     modules="udl"
     modules="udlfb"
     #modprobe snd_bmc2835 manually - if does not load ># modprobe --show-depends snd_bcm2835
     #cifs and snd-bcm2835 does not load
     #basename -s ".ko" $(find /lib/modules/$(uname -r) -type f -name "*.ko")
     

    after preparing the sd card and installing kernel and modules (like this)-

    save building time: use my gentoo!

    Raspbian packages are outdated, so here is my alternative:
    a image of my clean (german) linux can be downloaded
    here ~3,4 G 2017-01-22
    checksum: 4075a1514561cb9e56590b4340aad540 (Kernel 4.4.44, including 1GB swap partition) : it can be expand with more software that is available in portage. The source files are still included if you want to re-emerge with new USEFLAGS (/etc/portage/make.conf). Remove unused disfiles with
  • eclean-dist
  • .
    Make sure your card is larger than 16GB (min. use 16gb microsd uhs-1 class 10 (rpi2 can not write faster than 25mb/s) is about 7€ > this is optimal )
    >load kernel modules I have payed attention that you can start with python immediately (it is integral in gentoo).
    gunzip -c gentoo.img.gz | sudo dd of=/dev/sdX
     # X is your disk
     #this will erase all data!
     #note: you can check partition table of extracted image with #fdisk -l gentoo.img
     #mount boot partition eg (512 x startsector):#mount -o loop,ro,offset=1048576 gentoo.img /mnt/iso 
     # after this insert microsd, boot pi2, login (w. standard user and pwd like in raspbian / pi:raspberry)
     # and expand filesystem:
     sudo resize2fs /dev/mmcblk0p3
      

    Login Screen:

    .. it comes with:

    used hardware :lshw installed software :world desktop modifications :lxdemod
    Sorry, but there is no flash plugin available for arm, yet ...
    Have fun with this lightweight ram saving out-of-the-box solution on your RPI2!

    set usb soundcard default (
  • /etc/modprobe.d/alsa.conf
  • )
    
     options snd-usb-audio index=0
     options snd-bcm2835 index=1
     # and also comment this lines  
     #options snd-pcsp index=-2
     #options snd-usb-audio index=-2
     #reboot !
     speaker-test -c 2 -l 3 -D sysdefault:CARD=0
     



    Display link, dual monitors with usb vga adapter and xrandr

    >click here to read more<

    >linuxweb obenbox theme download <
    Look & Feel:


    It should be enough to update system with:
    emerge --sync
     emerge --ask -uDU --with-bdeps=y @world --keep-going


    Feedback Wanted!! >here< or in forum on raspberrypi.org
    to do: dual boot(usb), memtest
    my publication post on raspberrypi.org

    other rpi projects

    Retropie (emulation station)
    Noobs (Raspbian)
    OpenElec (Mediacenter) (with Amazon TV support)
    Rpi Compute Modul
    RPI Cluster Beowulf
    Adafruit 16x2 LCD
    Vielen Dank an Christian Roch f�r das Bild vom gr�nen Baumpython und an Oc2k1 der mir Linux n�her gebracht hat!

    - 21783 Chars - 963 Wörter , Views: 144044

    War die Information auf dieser Seite für Sie hilfreich?

    like dislike
    0
    0
    Bewerten:           Rating:3

    Expand/show comments

    Was denkst Du? Hinterlasse hier einen Kommentar zu diesem Artikel.
    Bisher : 1 Kommentare.




    BOTCHECK: Enter this string : captcha here: to verify you're human.
    192 Character(s) Remaining
    to prevent slamming comments, post will be checked for bad content and released to public when passed.

    Robdfx

    In todays rapid world staying informed about the latest advancements both domestically and globally is more essential than ever With a plethora of news outlets struggling for attention it
    2024-04-15 11:03:55

    letzte Aktualisierung 2024-04-19 07:50:33 von admin

    Graphics by GIMP
    nickname:
    chat

    Möchten Sie Cookies erlauben?

    Es handelt sich dabei nur um technische Cookies. Sie haben die Wahl:


    Lesen Sie mehr in unseren Datenschutzrichtlinien

    configure Configure
    countercountercountercountercountercountercountercounter

    To Top
    neu in 2017
    Visitors
    Content Management System News Xwax Linux livestreams Bilder Statistics live streams Welcome Shorties Linux CMS OpenSource linuxweb.net improve websites

    Content Management System