Quicklinks

Ext. Links

Maemo-Wikis, Talk,IRC

Download/Repos


Wiki -RC

N900 Overview

N900 Handling

N900 Apps

N900 Topics

Research / Hints

Hardware

raspbian i.a. debian-spezifisch
anderes speziell auf den Boot-Vorgang auf dem PI

Boot i.a.

http://stackoverflow.com/questions/16317623/how-does-raspberry-pis-boot-loader-work

Emergeny Kontrolle Bootvorgang

Console-Start-Meldungen: Control+S (resuming with Control+Q)

booten in bin/sh (cmdline.text init=/bin/sh)
sehr rudimentäre Shell (us-key, kein Tabcomplete)
z.B
 passwd (oder sonstige kleine Korrekturen)
 sync
 /sbin/init 1 (->root console runlevel 1 )
 exec /sbin/init (->normaler Systemstart)

[] Netz kontrollieren und aufstarten - dhclient

[]X-Log
[]bootlog?
[]Bootparameter dynamisch setzen
[]Bootparameter "user parameter" (z.B. anderes Startup)

Tastatur+Maus

startx (root, pi)
lightdm - immer war Maus+Keyb blockiert

http://www.raspberrypi.org/forums/viewtopic.php?f=28&t=7574
(bei mir war USB erkannt, aber lief unter X nicht.
rpi-update [ok] nachher o.k.

Desktop + Window-Manger - Display Manager

http://www.raspberrypi.org/forums/viewtopic.php?f=66&t=19042&p=218557

PI: Raspbian LXDE / Openbox /lightdm

Defaults, Config und Startup

http://openbox.org/wiki/Help:Autostart
.bashrc
.profile
.xinitrc
.configs/openbox/autostart <-Script
.configs/lxsession/LXDE/autostart <- Script (i.a. wenn Script kein ..x hat, nicht ausgeführt)

Kiosk-Mode

ev PIPresents als Kiosk oder service
PIPresents startet korrekt in openbox Abbruche ->Shift-Ctr Break
http://stackoverflow.com/questions/18449308/start-chromium-without-starting-desktop-lxde

Boot insb. finetuning

/etc/inittab

Other systems may use runlevel 2 as text-mode multi-user, 3 as text-mode multi-user with network, 5 as GUI mode etc, 
but Debian treats 2, 3, 4 and 5 as identical.

Levels 0, S, 1 and 6 have their normal functions (shutdown, single-user, maintenance and reboot)

Kernel-Options boot-Parms

http://www.raspberrypilabs.com/raspberry-pi-boot-options/

/boot/cmdline.txt (Kernel-Parms)
http://elinux.org/RPi_cmdline.txt (diverses wie IP-Nr u.v.m)

/boot/config.txt (allgemeine Einstellungen, analog BIOS) ->Display Einstellungen
http://elinux.org/RPiconfig (Ämderungen brauchen reboot)
vcgencmd (Parameter auslesen u.s.w.)

Hier:
Meldungen auf console 3 (Alt-F3 bei boot)
loglevel 3: nur severe-Meldungen
[] logo? ev. statt Raspberry

root@raspberry-pi:~# cat /boot/cmdline.txt
dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty3 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait loglevel=3

Bootprobleme

Bei Bootproblemen: SHIFT Taste beim Boot gedrückt halten (Recovery) - ging bei mir nicht.
Console-Output anhalten:
cntl-s (stop - allgemeine Console-Funkionalität)
cntr-q (resume)
[]gibt es ein single-step?

=> gut für passwd resets: (für anderes eher ungeeignet, da System noch nicht gestartet).

bootet ein  Root-Terminal ohne Passwort:
/boot/cmdline.txt to include (at the end) init=/bin/sh. Then, run the following commands:

mount -o remount,rw /   
passwd pi
(enter a new password)
sync
exec /sbin/init      (effektiver Systemstart)
auch:

/etc/passwd

root:x:0:0... (ohne X, keine Passwort)
bootlog:

https://wiki.debian.org/bootlogd
To check messages during booting without logging:
you can pause the scrolling with Control+S (resuming with Control+Q).
Go up and down using Shift+PgUp and Shift+PgDn. [https://bytebin.wordpress.com/2011/04/25/how-to-check-debian-boot-log-messages/|URL]

logging i.a.
/etc/default/bootlogd (ist der Eintrag fakultativ?, das in Raspbian nicht vorhanden)
BOOTLOGD_ENABLE=Yes | No
/var/log/boot (and browsable in the Log File Viewer)

korrektes Startup (insb. für headless)

Netzschnittstellen haben andere Namen (eth0,eth1...)

Workarround: beide Schnittstellen in /etc/network/interfaces definieren

Splash-Screen

http://en.wikipedia.org/wiki/Splashy

http://www.edv-huber.com/index.php/problemloesungen/15-custom-splash-screen-for-raspberry-pi-raspbian
apt-get install fbi
aufstarten:
chmod a+x /etc/init.d/asplashscreen
insserv /etc/init.d/asplashscreen

Description-de: Bildbetrachter via Linux-Framebuffer
 Dies ist ein Bildbetrachter für Linux-Framebuffer-Geräte. Er unterstützt
 eine Reihe gebräuchlicher Bildformate und versucht unbekannte Formate mit
 convert aus dem ImageMagick-Paket in ein bekanntes umzuwandeln. Er enthält
 auch fbgs, einen Postscript- und PDF-Betrachter.
Homepage: http://linux.bytesex.org/fbida/

vermutlich soll dieser Prozess als erstes gestartet werden.

Änderung des Raspbi-Logos (Erdbeerre) braucht ev. Kernelkompilation

Edit Page - Page History - Printable View - Recent Changes - WikiHelp - SearchWiki
Page last modified on May 02, 2015, at 04:30 PM, visited:$PageCount