GithubHelp home page GithubHelp logo

meta-rpi-luneos's Introduction

LuneOS Raspberry Pi layer

This layer will allow you to build a (mostly) functional image of LuneOS for the Raspberry Pi 2. Theoretically it should also work for the original Pi, but I don't have one so I have not verified.

What works?

I've only tested with a Raspberry Pi 2, official touchscreen display and WiFi usb adapter. Touch works, apps work (except SDL apps), WiFi works. The keyboard is not currently hardware accelerated due to the poor driver situation on Raspberry Pi, but I'm hoping it will be soon.

Instructions

First, setup the webOS ports build directory

mkdir webos-ports-env && cd webos-ports-env
wget https://raw.github.com/Andolamin/webos-ports-setup/alan/raspberrypi/Makefile
make setup-webos-ports

Build the image

cd webos-ports
. setup-env
MACHINE=raspberrypi2 bb luneos-dev-image

You should be able to replace raspberrypi2 with raspberrypi to build for the original Pi, but I don't have one so I can't test. I expect that the recipes would need to be tweaked to support the original Raspberry Pi. You can also build other LuneOS images, such as luneos-dev-image.

To flash the image to your SD card, first you need to find which device is the correct one. Run lsblk or df -h and find the one that looks like your card. For example, mine is /dev/sdd, but it will likely differ for you.

Unmount your drive

sudo umount /dev/sdd*

Flash the image. I used luneos-image and raspberrypi2 so the following represents that. You might have to update your image path accordingly

sudo dd if=tmp-glibc/deploy/images/raspberrypi2/luneos-dev-image-raspberrypi2.rpi-sdimg of=/dev/sdd

Please, report any issues you have.

Copyright and License Information

Unless otherwise specified, all content, including all source code files and documentation files in this repository are:

Copyright (c) 2015 Alan Stice

Unless otherwise specified or set forth in the NOTICE file, all content, including all source code files and documentation files in this repository are: Licensed under the Apache License, Version 2.0 (the "License"); you may not use this content except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

meta-rpi-luneos's People

Contributors

andolamin avatar

Watchers

turbine yan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.