Please enable javascript, or click here to visit my ecommerce web site powered by Shopify.
Jump to: navigation, search

Difference between revisions of "Rabian"

(Development)
(FAQs)
 
(9 intermediate revisions by the same user not shown)
Line 17: Line 17:
 
* http://build.radxa.com/rabian/nightly/
 
* http://build.radxa.com/rabian/nightly/
  
== Status ==
+
== Getting Started==
===Rock===
+
First, checkout the starting guide  of your board.
===Rock Pro===
+
===Rock Lite===
+
  
 +
* [[Rock/Getting_Started |rock pro/lite getting start]]
 +
* [[Rock2/square_bb/start | rock2 square getting start]]
 +
===Login===
 +
After you have everything setup, you should have the login screen of Rabian. The default user and password is
  
== Change log ==
+
    '''username''': rock
 +
    '''password''': rock
 +
===Get the most storage of your board===
 +
Open the  Application Menu -> System Tools -> Mate Terminal, and input the following command.
  
==Development==
+
    sudo resize2fs /dev/mmcblk0p2
Building the rabian image basically contains two tasks, generate the rootfs and build the rock-bsp.
+
===Rootfs===
+
We use live build the generate the Rabian Rootfs. The configuration files for live build can be found at radxa github. Below is how to generate the rootfs.
+
  
    mkdir rabian-build
+
===Setup the network===
    export BOARD=rock        # or rock_pro/rock_lite/rock2_square
+
====Ethernet====
    sudo apt-get install debootstrap live-build
+
    sudo apt-get install dctrl-tools mtools parted squashfs-tools
+
    git clone https://github.com/radxa/radxa-lb.git
+
    cd radxa-lb
+
    sudo make $BOARD
+
    cd ..
+
  
You will have the rootfs for your board.
+
====Wifi====
===Everything else(Bootloader/kernel)===
+
For Rabian, wifi should work out of the box on all devices. But if it doesn't check below:
Rock-bsp is the tools we use to pack u-boot,kernel and rootfs into a NAND or eMMC or SDcard image for radxa boards.
+
  
First, get the image name we built with radxa-lb just now.
+
For rock series, the wifi module is rtl8723au/rtl8188etv, check [[rock/Wireless]] for how to setup wifi. For rock2 square, the wifi module is ap6335, check [[Rock2/wireless]] for how to setup AP mode.
  
    export IMAGE=$(basename radxa-lb/rabian_${BOARD}_*.ext4)
+
== FAQs==
    sudo apt-get install build-essential lzop libncurses5-dev libssl-dev libusb-1.0-0-dev
+
* Why CPU is 100% after desktop is idle for some minutes?
    sudo apt-get install libc6-i386
+
    git clone https://github.com/radxa/rock-bsp.git
+
    cd rock-bsp
+
  
Use the rootfs we build
+
    Rock2 square supports dynamic cpu frequency. The cpu can run as low as 126Mhz and as high as 1.8Ghz depends on the task load. This saves power. If you want to let the cpu ran at 1.8Ghz all the time. Run '''echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor'''
 +
 
 +
* How to boot Rabian in console/text mode
 +
 
 +
    sudo systemctl set-default multi-user.target
 +
 
 +
To start GUI from text mode:
 +
 
 +
    sudo /etc/init.d/lightdm start
 +
 
 +
To go back to GUI mode:
 +
 
 +
    sudo systemctl set-default graphical.target
 +
 
 +
To get the current run-level:
 +
 
 +
    sudo systemctl get-default
 +
 
 +
== Known issue ==
 +
Report your issue at github: https://github.com/radxa/rabian-build/issues
 +
===Rock Pro/Lite===
 +
===Rock2 Square===
 +
 
 +
== Change log ==
 +
==Development==
 +
check [[Rabian/develop]] for how to build and contribute to Rabian.
  
    echo "BOARD_ROOTFS=${IMAGE}" >> rock-bsp/configs/${BOARD}_config
 
    cd rock-bsp
 
    ./config.sh  $BOARD
 
    make
 
  
If everything goes well, we will have the Rabian image for $BOARD.
+
[[Category:rock2_square]]

Latest revision as of 07:55, 19 November 2015

Rabian is the new Debian based Linux distribution for radxa products. Currently Rabian is based on Debian 8, jessie. Rabian will be the only distribution officially supported by radxa team(we have limited efforts). Currently Rabian supports the following boards:

  • rock full/lite (2013)
  • rock pro/lite (2014)
  • rock2 square
  • rock2 full

The features of Rabian:

  • Fast and lightweight, full function desktop
  • beautiful, clean and modern
  • easy to use, radxa will provide more GUI apps and debian packages to make the device more friendly
  • up to date, besides the updating from officail Debian package repository, radxa also provides up to date debian package server - apt.radxa.us

Nightly build download:

Getting Started

First, checkout the starting guide of your board.

Login

After you have everything setup, you should have the login screen of Rabian. The default user and password is

   username: rock
   password: rock

Get the most storage of your board

Open the Application Menu -> System Tools -> Mate Terminal, and input the following command.

   sudo resize2fs /dev/mmcblk0p2

Setup the network

Ethernet

Wifi

For Rabian, wifi should work out of the box on all devices. But if it doesn't check below:

For rock series, the wifi module is rtl8723au/rtl8188etv, check rock/Wireless for how to setup wifi. For rock2 square, the wifi module is ap6335, check Rock2/wireless for how to setup AP mode.

FAQs

  • Why CPU is 100% after desktop is idle for some minutes?
   Rock2 square supports dynamic cpu frequency. The cpu can run as low as 126Mhz and as high as 1.8Ghz depends on the task load. This saves power. If you want to let the cpu ran at 1.8Ghz all the time. Run echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
  • How to boot Rabian in console/text mode
   sudo systemctl set-default multi-user.target

To start GUI from text mode:

   sudo /etc/init.d/lightdm start

To go back to GUI mode:

   sudo systemctl set-default graphical.target

To get the current run-level:

   sudo systemctl get-default

Known issue

Report your issue at github: https://github.com/radxa/rabian-build/issues

Rock Pro/Lite

Rock2 Square

Change log

Development

check Rabian/develop for how to build and contribute to Rabian.