Вы находитесь на странице: 1из 20

Skip to content

Home

Home
Blog
Downloads
Community
Help
Forums
Education
Buy

Quick Start Guide


Forum FAQ
About
About us
Contact us
Technical, help and resource documents
Trademark rules

Search the forums via Duc

Login
Register

Unanswered topics
Active topics

Quick Start Guide


Forum FAQ
About
About us
Contact us
Technical, help and resource documents
Trademark rules
Board index Operating system distributions Raspbian

Raspbain - fast boot into Webbrowser


Post Reply

Print view

Search this topic…


Reini1000
17 posts • Page 1 of 1
Posts: 35
Joined: Wed Apr 20, 2016 8:30 am
Location: Germany

Raspbain - fast boot into Webbrowser Quote

Fri Jul 01, 2016 11:52 am

Hello,
How can i boot my Raspberry Pi 3 the fastest way into a Webbrowser ?

I'm using as OS Raspian Jessie. At the moment i'm booting to the text console and a littel script is autostarting the Kweb-Browser.

But how can I speed up the boot process? Is there a possibility to disable loading of drivers which i don't need ( e.g. Bluetooth) and stripping down Raspbian Jessie.
I was trying to build a new kernel but it is to complicated for me. I think a stripped Version of Raspian Jessie would do it, but i could find the right stripped version, e.g. miniban
is not suitable for my case.

Thanks in advance !

B.Goode
Posts: 4689
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK
Re: Raspbain - fast boot into Webbrowser Quote

Fri Jul 01, 2016 11:58 am

Raspbian Jessie Lite and DietPi are two 'start small and add what you need' alternatives that you might want to investigate.

Reini1000
Posts: 35
Joined: Wed Apr 20, 2016 8:30 am
Location: Germany

Re: Raspbain - fast boot into Webbrowser Quote

Fri Jul 01, 2016 12:57 pm

B.Goode wrote:

Raspbian Jessie Lite and DietPi are two 'start small and add what you need' alternatives that you might want to investigate.

Thanks, i will try Diet Pi and inform about the results. Maybe it's usefull for someone else.

Reini1000
Posts: 35
Joined: Wed Apr 20, 2016 8:30 am
Location: Germany

Re: Raspbain - fast boot into Webbrowser Quote

Mon Jul 04, 2016 6:16 am


I have tried Diet Pi, but my main purpose is to boot very quick into a Webrowser, but with Diet Pi my boot time isn't much fast than the normal Raspbian Jessie.
More Ideas ?

kusti8
Posts: 3441
Joined: Sat Dec 21, 2013 5:29 pm
Location: USA

Re: Raspbain - fast boot into Webbrowser Quote

Mon Jul 04, 2016 6:28 am

Reini1000 wrote:

I have tried Diet Pi, but my main purpose is to boot very quick into a Webrowser, but with Diet Pi my boot time isn't much fast than the normal Raspbian Jessie.
More Ideas ?

If you want fast try Tiny Core. But support for software is limited.

There are 10 types of people: those who understand binary and those who don't.

Reini1000
Posts: 35
Joined: Wed Apr 20, 2016 8:30 am
Location: Germany

Re: Raspbain - fast boot into Webbrowser Quote


Mon Jul 04, 2016 9:03 am

kusti8 wrote:

Reini1000 wrote:

I have tried Diet Pi, but my main purpose is to boot very quick into a Webrowser, but with Diet Pi my boot time isn't much fast than the normal Raspbian Jessie.
More Ideas ?

If you want fast try Tiny Core. But support for software is limited.

Tiny Core is fast your right. Buts its to tiny for me.

Is there a possiblity to speed up the OS Jessie? (e.g. putting drivers which i don't need on blacklist ?)

fruitoftheloom
Posts: 15098
Joined: Tue Mar 25, 2014 12:40 pm
Location: Bognor Regis UK

Re: Raspbain - fast boot into Webbrowser Quote

Mon Jul 04, 2016 9:07 am


Reini1000 wrote:

kusti8 wrote:

Reini1000 wrote:

I have tried Diet Pi, but my main purpose is to boot very quick into a Webrowser, but with Diet Pi my boot time isn't much fast than the normal Raspbian Jessie.
More Ideas ?

If you want fast try Tiny Core. But support for software is limited.

Tiny Core is fast your right. Buts its to tiny for me.

Is there a possiblity to speed up the OS Jessie? (e.g. putting drivers which i don't need on blacklist ?)

https://webconverger.org/rpi2 (https://webconverger.org/rpi2)

My only "PC" is an Asus ChromeBit running ChromeOS, cloudcentric at its best !


Rockchip Quad-Core RK3288C SoC as used in ASUS Chromebook C201 & Chromebook Flip C100PA as well as the Tinker SBC.
3 Mobile Huawei E5330 Mobile Mi-Fi

Reini1000
Posts: 35
Joined: Wed Apr 20, 2016 8:30 am
Location: Germany

Re: Raspbain - fast boot into Webbrowser Quote

Mon Jul 04, 2016 9:21 am

fruitoftheloom wrote:
https://webconverger.org/rpi2 (https://webconverger.org/rpi2)

Thanks but that doesn't fit for me.

Other ideas ? How can i speed up OS Jessie by myself, so i can configure it according to my needs ?

B.Goode
Posts: 4689
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Raspbain - fast boot into Webbrowser Quote

Mon Jul 04, 2016 9:27 am

Maybe you should leave the system running 3600*24*7 to avoid the delay at startup?

Reini1000
Posts: 35
Joined: Wed Apr 20, 2016 8:30 am
Location: Germany

Re: Raspbain - fast boot into Webbrowser Quote

Mon Jul 04, 2016 9:40 am

B.Goode wrote:

Maybe you should leave the system running 3600*24*7 to avoid the delay at startup?
Yeah you are right thats one possiblity, but i some cases its necessary to restart.
The main Problem is: when my sytem is rebooting, on the screen occurs some boot messages (the auto login to text console process) although i disabled the non-critical
bootmessages and the pi-Logo. The bigger problem is that i want to use custom boot screen (i'm using one right now) to prevent that while booting the screen is black or shows
bootmessages.

So i want after starting the pi immediately the bootscreen is coming up and lasts until the application is startet. I want to achive that only the bootscreen is visible the whole time
(also no black screen while booting) and than immediately the application comes up. If this is not possible, i want at least minimize the time where the screen is black.

Thanks for youre Help!

fruitoftheloom
Posts: 15098
Joined: Tue Mar 25, 2014 12:40 pm
Location: Bognor Regis UK

Re: Raspbain - fast boot into Webbrowser Quote

Mon Jul 04, 2016 9:46 am

Reini1000 wrote:

fruitoftheloom wrote:

https://webconverger.org/rpi2 (https://webconverger.org/rpi2)

Thanks but that doesn't fit for me.


Other ideas ? How can i speed up OS Jessie by myself, so i can configure it according to my needs ?

http://www.samplerbox.org/article/fastbootrpi (http://www.samplerbox.org/article/fastbootrpi)

My only "PC" is an Asus ChromeBit running ChromeOS, cloudcentric at its best !


Rockchip Quad-Core RK3288C SoC as used in ASUS Chromebook C201 & Chromebook Flip C100PA as well as the Tinker SBC.
3 Mobile Huawei E5330 Mobile Mi-Fi

Reini1000
Posts: 35
Joined: Wed Apr 20, 2016 8:30 am
Location: Germany

Re: Raspbain - fast boot into Webbrowser Quote

Mon Jul 04, 2016 11:19 am

fruitoftheloom wrote:

http://www.samplerbox.org/article/fastbootrpi (http://www.samplerbox.org/article/fastbootrpi)

i have done this:

Code:

pi@raspberrypi:~ $ sudo systemd-analyze


Startup finished in 1.936s (kernel) + 33.811s (userspace) = 35.748s
pi@raspberrypi:~ $ sudo systemd-analyze blame
30.023s hciuart.service
2.137s ModemManager.service
1.730s codesyscontrol.service
1.153s raspi-config.service
1.151s systemd-logind.service
1.086s networking.service
1.060s asplashscreen.service
1.003s alsa-restore.service
1.000s dhcpcd.service
991ms triggerhappy.service
988ms dphys-swapfile.service
892ms avahi-daemon.service
707ms polkitd.service
609ms keyboard-setup.service
383ms systemd-fsck-root.service
354ms console-setup.service
331ms colord.service
289ms rsyslog.service
278ms systemd-tmpfiles-setup-dev.service
233ms ntp.service
226ms fake-hwclock.service
208ms systemd-modules-load.service
180ms kbd.service

Why does the hciuart.service take so long to start ? Is it possible to delay the start so that first the webbrowser is started for example ?

RaTTuS
Posts: 9591
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Re: Raspbain - fast boot into Webbrowser Quote

Mon Jul 04, 2016 11:33 am

sudo systemctl disable hciuart


if you don't need bluetooth this is fine

How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html


WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

r3d4
Posts: 912
Joined: Sat Jul 30, 2011 8:21 am
Location: ./

Re: Raspbain - fast boot into Webbrowser Quote

Mon Jul 04, 2016 11:34 am

Reini1000 wrote:

Why does the hciuart.service take so long to start ? Is it possible to delay the start so that first the webbrowser is started for example ?
viewtopic.php?t=138223&p=953707 (https://www.raspberrypi.org/forums/viewtopic.php?t=138223&p=953707)

PhilE wrote:

If you want Bluetooth to work then don't disable the hciuart service ...
If you don't want Bluetooth then don't edit the service, just disable it.

Reini1000
Posts: 35
Joined: Wed Apr 20, 2016 8:30 am
Location: Germany

Re: Raspbain - fast boot into Webbrowser Quote

Mon Jul 04, 2016 11:47 am

RaTTuS wrote:

sudo systemctl disable hciuart


if you don't need bluetooth this is fine

Thanks, much better now:

Code:

pi@raspberrypi:~ $ sudo systemd-analyze


Startup finished in 1.939s (kernel) + 5.903s (userspace) = 7.843s

But one other question, how can i achive that my custom bootscreen is shown while the whole boot process ?
I want to prevent that there are moments where the screen is black during booting ( i disabled the bootmessages and Pi logo).

DougieLawson
Posts: 30450
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website

Re: Raspbain - fast boot into Webbrowser Quote

Mon Jul 04, 2016 12:14 pm

Is a custom bootscreen worth it for something that's going to be displayed for less than ten seconds?

Microprocessor, Raspberry Pi & Arduino Hacker


Mainframe database troubleshooter
MQTT Evangelist
Twitter: @DougieLawson
Since 2012: 1B*5, 2B*2, B+, A+, Zero*2, 3B*3

Please post ALL technical questions on the forum. Do not send private messages.

Reini1000
Posts: 35
Joined: Wed Apr 20, 2016 8:30 am
Location: Germany

Re: Raspbain - fast boot into Webbrowser Quote


Tue Jul 05, 2016 6:33 am

DougieLawson wrote:

Is a custom bootscreen worth it for something that's going to be displayed for less than ten seconds?

Normaly i would say no, but i want to creat a device. If somebody starts the device he should get a consistent display while booting.

Which Services can i also turn off to speed up booting)


I'm booting to the Browser from the Text-Console and i'm using the GPIO´s, but there so many Services which become started. Do I need all off them ?

See attached the analyze graph of my booting process:

Attachments
Unbenannt1.PNG (62.48 KiB) Viewed 1538 times
Unbenannt.PNG (61.77 KiB) Viewed 1538 times
Display posts from previous:
All posts

Sort by
Post time

Ascending

Go

Post Reply

Print view

17 posts • Page 1 of 1

Return to “Raspbian”

Jump to

Community
General discussion
Other languages
Deutsch
Español
Français
Italiano
Nederlands
日本語
Polski
Português
Русский
Türkçe
User groups and events
The MagPi
The Pi Store
Using the Raspberry Pi
Beginners
Troubleshooting
Advanced users
Assistive technology and accessibility
Education
The Staffroom
Picademy
Teaching and learning resources
Code Club
Using Raspberry Pi in the classroom
Astro Pi
Mathematica
High Altitude Balloon
Weather station
Programming
Bare metal
C/C++
Graphics programming
OpenGLES
OpenVG
OpenMAX
Java
Python
Scratch
Windows 10 for IoT
Wolfram Language
Other languages
General programming discussion
Projects
Automation, sensing and robotics
Cases
Gaming
Graphics, sound and multimedia
Magazines and books
Media centres
Networking and servers
Other projects
Hardware and peripherals
Camera board
Compute Module
Official Foundation Display
Add-ons
B+ addons
Device Tree
Interfacing (DSI, CSI, I2C, etc.)
Gertboard classic
GertDuino
Recommended peripherals
AIY Projects
Operating system distributions
Raspbian
Arch
Pidora / Fedora
RISCOS
Other
Android
Debian
FreeBSD
Gentoo
Linux Kernel
NetBSD
openSUSE
Plan 9
Puppy
Raspberry Pi Desktop for PC and Mac
Ye Olde Pi Shoppe
For sale
Wanted
Off topic
Off topic discussion

Who is online Users browsing this forum: gkreidl and 26 guests

Board index
All times are UTC
Delete all board cookies

Raspberry Pi Foundation, UK Registered Charity 1129409

Вам также может понравиться