guysoft / FullPageOS

A raspberrypi distro to display a full page browser on boot
GNU General Public License v3.0
3.87k stars 238 forks source link

Can we learn from WPE? #178

Open janjouketjalsma opened 6 years ago

janjouketjalsma commented 6 years ago

NOT FullPageOs! But maybe we can borrow ideas or work together?

I just tested the WebPlatFormForEmbedded project on a Raspberry Pi 3. There is smooth video from youtube at least up to 720p. Have we gotten that on FullPageOs yet?

See the repository here: https://github.com/WebPlatformForEmbedded/buildroot

And the project description and tutorial here: https://www.igalia.com/wpe/ https://blogs.igalia.com/magomez/2016/12/19/wpe-web-platform-for-embedded/

I have noticed some pretty high overclocking settings in the resulting image:

# Force 720p
hdmi_group=1
hdmi_mode=4

# Overclock
arm_freq=1350
gpu_freq=500
sdram_freq=500
over_voltage=5
avoid_warnings=1

The building process took me about four hours on a laptop inside a Ubuntu VM. After building and putting the image file onto an SD card it would not boot (seven blinks of the green led). I found that the kernel file (zImage) is generated but not copied to the boot partition during the build. After that it worked though.

To make a website open automatically you put a wpe.txt file in the root with the URL. Not dissimilar from FullPageOS.

If anyone is interested I guess I can post the build result somewhere so you can check it out yourself.

schliflo commented 6 years ago

nice find. would be highly interested in the image.

janjouketjalsma commented 6 years ago

@schliflo Here is the image + required files: https://ixian.nl:5001/sharing/QoG4WAQQt

Remember to manually move the zImage file and the wpe.txt file to the boot partition after you flash the image.

Note: if you omit the wpe.txt file from the boot partition you will be able to access the console directly by attaching a keyboard, if you do add it then the browser will be launched immediatly. I have found no way of exiting the browser once it is running except for killing the process through SSH.

SSH is enabled by default. Username is root, password is root (change this if you intend to use the image).