Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - cubieplayer

Pages: 1 [2]
16
It's  really  simple,  simple execute,. supports A20 of course.
Quote
cubian-update
apt-get install xserver-xorg-core xinit xserver-xorg-video-sunximali sunxi-disp-test lxde
usermod -a -G video cubie

for more detail, please read http://cubian.org/2013/09/29/install-lxde-with-opengles-accelerated-on-cubian/


Screenshot

17
After days of tests and work. I'm happy to release a update for cubian on cb2.
This updates will upgrade your kernel from 3.3.0 to 3.4.43

1. the gpio_sunxi and mali module works now
2. ralink driver is compiled
3. easy upgrade and downgrade is aslo supported, just run cubian-update.

For more info. http://cubian.org/2013/08/18/kernel-update-to-3.4.43-on-a20/

18
software source is aslo available, easy to use.

Step 1. Add GPG key (root privilege is needed)

wget -O - http://packages.cubian.org/cubian.gpg.key | apt-key add -

Step 2. Add apt source, add line to /etc/apt/sources.list

deb http://packages.cubian.org/ wheezy main

Step 3. Install

http://cubian.org/2013/08/09/cubian-update-is-available/
apt-get update && apt-get install cubian-update


20
Cubieboard v2 OS (A20 Based) / Cubian for cubieboard2 released
« on: July 27, 2013, 09:47:17 pm »
Hi,

I'm happy to announce that Cubian for cubieboard2 released.

Everything is available at http://cubian.org/

Enjoy and play

21
Tips, Tricks and Guides / GPIO Introduction
« on: July 04, 2013, 04:56:56 pm »
For better reading experience,  please read on My Wiki, Link
https://github.com/cubieplayer/Cubian/wiki/GPIO-Introduction
----------------
GPIO Stands for "General Purpose Input/Output".

General Purpose Input/Output (GPIO) is a generic pin on a integrated circuit chip whose behavior (including whether it is an input or output pin) can be controlled / programmed by the user at run time.
There are 67 GPIO pins available on cubieboard. To enable them, you needs to modify the fex file, and compile the kernel and driver with GPIO support, then configure them properly. Fortunately, This has been done since the third release of Cubian.

Basic usage

To use GPIO,the first thing you need to know is where to find those pins. I made a map for you. You will find a PIN number in the map which we use to activate the GPIO.

Let's say we want to activate the GPIO named PG9. From the map we know it's PIN number is 17.

First, we need to activate the pin
cubie@Cubian:~$ echo 17 > /sys/class/gpio/export
cubie@Cubian:~$ ls /sys/class/gpio/
export  gpio17_pg9  gpiochip1  unexport
This indicates we activates the GPIO pin PG9 successfully.
Then, we need to configure the working model.A GPIO pin can works in input model or outpt model.Now we want PG9 working at output model.
cubie@Cubian:~$ echo out > /sys/class/gpio/gpio17_pg9/direction
You should be able to get the value now.
cubie@Cubian:~$ cat /sys/class/gpio/gpio17_pg9/value
0
It told you the pin is in LOW status by default.

Now, you are able to control the pin to LOW or HIGH easily.To change to HIGH, just execute
cubie@Cubian:~$ echo 1 > /sys/class/gpio/gpio17_pg9/value

To change the pin to input model, just execute
echo in > /sys/class/gpio/gpio17_pg9/direction

22
Cubieboard v1 OS (A10 Based) / Cubian - Debian for cubieboard
« on: May 23, 2013, 04:22:48 am »
Hi, everyone

I made a Linux for cubieboard :). The project and documentation is hosted on Github. https://github.com/cubieplayer/Cubian

Feature List:
1.Cubieboard bootup Logo
2.Build with the latest and stable Kernel (version 3.4.29)
3.Include RTL8188EU driver (mercury mw150us use this chip)
4.The easiest NAND installation ever
5.Onboard LEDS show the IP address through Morse code (you don't need a HDMI screen neither USB-TTL cable and Router's admin privileges to start play cubieboard)
6.Network and System status indicator using onboard LED
7.Preconfigured swap area for system installed on SD-card or NAND (increase the amount of available memory)
8.Basic SSH security config
9.Battery included (various utilities were pre-installed like VIM etc.)
10.Synchronize clock with internet time servers automaticlly



For more details, take a look at wiki https://github.com/cubieplayer/Cubian/wiki


Pages: 1 [2]