Author Topic: Cubian - Debian for cubieboard  (Read 79333 times)

Offline cubieplayer

  • Full Member
  • ***
  • Posts: 177
  • Karma: +22/-1
    • View Profile
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

« Last Edit: May 23, 2013, 04:31:04 am by cubieplayer »
Cubian:http://cubian.org/ Cubian  Helpdesk:https://github.com/cubieplayer/Cubian/issues

ikeeki

  • Guest
Re: Cubian - Debian for cubieboard
« Reply #1 on: May 23, 2013, 09:24:29 am »
GREAT¡¡¡¡
Do you plan to include mali drivers or Neon implementations???

Thanks¡¡¡

aisman

  • Guest
Re: Cubian - Debian for cubieboard
« Reply #2 on: May 24, 2013, 04:46:50 am »
Awesome, thanks!

Snog

  • Guest
Re: Cubian - Debian for cubieboard
« Reply #3 on: May 24, 2013, 04:51:24 am »
Excellent! The Cubieboard needs distros like this. Just like RasPi got it's Raspbian. :D

xvart

  • Guest
Re: Cubian - Debian for cubieboard
« Reply #4 on: May 26, 2013, 11:48:53 pm »
Just to get in early as I'm trying to avoid the kernel recompile thing, have you tested audio and is there support for web cam in this.

PS. Nicely done though congrats

zoof

  • Guest
Re: Cubian - Debian for cubieboard
« Reply #5 on: June 03, 2013, 03:51:34 pm »
Great work!

One question I have is if the nand install script will include additional packages and configuration settings that were installed subsequent to the initial flash to microsd?

Offline patwood

  • Linux geek
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1660
  • Karma: +129/-0
    • View Profile
Re: Cubian - Debian for cubieboard
« Reply #6 on: June 03, 2013, 10:01:25 pm »
The nand install scripts I've seen all make a image of the SD card on the nand flash without filtering anything. They just install some code on the first nand partition for booting and then simply copy everything from the SD card to the second nand partition.
« Last Edit: June 03, 2013, 11:04:25 pm by patwood »

Offline cubieplayer

  • Full Member
  • ***
  • Posts: 177
  • Karma: +22/-1
    • View Profile
Re: Cubian - Debian for cubieboard
« Reply #7 on: June 03, 2013, 11:11:22 pm »
Great work!

One question I have is if the nand install script will include additional packages and configuration settings that were installed subsequent to the initial flash to microsd?
yeah! the script will clone the system on the sd-card to nand. It does NOT reset the system to its initial state.
« Last Edit: July 01, 2013, 04:27:55 am by cubieplayer »
Cubian:http://cubian.org/ Cubian  Helpdesk:https://github.com/cubieplayer/Cubian/issues

zoof

  • Guest
Re: Cubian - Debian for cubieboard
« Reply #8 on: June 04, 2013, 09:22:24 am »
So I've noticed a couple of things that you might want to think about.

First, sudo works without a password but according to the /etc/sudoers file it should ask for a password.  Moreover, user cubie is not even a member of the sudo group so I'm not sure why this is happening.  Some weird file permission thing I imagine.

Second, the /etc/network/interfaces file does not define the loopback interface.  I'm guessing that this is why I cannot access the cups interface through w3m.

Offline cubieplayer

  • Full Member
  • ***
  • Posts: 177
  • Karma: +22/-1
    • View Profile
Re: Cubian - Debian for cubieboard
« Reply #9 on: June 04, 2013, 02:40:45 pm »
So I've noticed a couple of things that you might want to think about.

First, sudo works without a password but according to the /etc/sudoers file it should ask for a password.  Moreover, user cubie is not even a member of the sudo group so I'm not sure why this is happening.  Some weird file permission thing I imagine.

Second, the /etc/network/interfaces file does not define the loopback interface.  I'm guessing that this is why I cannot access the cups interface through w3m.

The sudo works because of  the file /etc/sudoers.d/sudousers. The loopback interface is not configed by default, i will fix it in the next release. Thanks for sharing.
« Last Edit: June 04, 2013, 02:52:57 pm by cubieplayer »
Cubian:http://cubian.org/ Cubian  Helpdesk:https://github.com/cubieplayer/Cubian/issues

zoof

  • Guest
Re: Cubian - Debian for cubieboard
« Reply #10 on: June 04, 2013, 02:51:07 pm »
Ah, don't know how I missed looking there.  Must be getting confused with what is on my computer vs my cubie ???

Offline castalla

  • Developer
  • Full Member
  • ***
  • Posts: 106
  • Karma: +3/-0
    • View Profile
Re: Cubian - Debian for cubieboard
« Reply #11 on: June 05, 2013, 02:50:42 am »
I installed ver 1 yesterday. 

I have some issues:

1. unzip always produces an unspecified error - even though the img is extracted.

2. The boot light sequence is pretty but not really necessary!

3. I installed a media server program - this takes a long time to start compared with other distros

4. Overall, Cubian seems much slower than other debian images I have tried.

By the way ver 2 zip is also broken.

zoof

  • Guest
Re: Cubian - Debian for cubieboard
« Reply #12 on: June 05, 2013, 08:38:46 pm »
So after modifying the /etc/network/interfaces file to also define a loopback device, I am able to get to the cups web interface using w3m.  But I cannot get to it from another machine.  E.g., neither

w3m http://hostname:631

nor

w3m http://ip.add.re.ss:631

work.  Whereas from the cubie, I can get to the cups interface on my desktop.  Any ideas?

neon

  • Guest
Re: Cubian - Debian for cubieboard
« Reply #13 on: June 08, 2013, 01:11:10 pm »
Hi everybody,
I tried various images for my Cubie and finally settled on this one. Here is my experience with it so far:

When I first loaded the image I didn't get any output to my hdmi tv. I don't need hdmi though so I didn't investigate further. Maybe script.bin has to be edited to include another mode?

When I ssh to it the authentication prompts (asking for username and password) seem to take longer than different distros I tried. Other than that I don't think it's slower than other distros.

NFS file sharing seems problematic as when I tried to start the service I got: “Not starting NFS kernel daemon: no support in current kernel. ... (warning).”

And a word of warning to potential users: If you do an apt-get upgrade don't upgrade the Kerberos packages (libk5crypto3, libkrb5-3, libgssapi-krb5-2, libkrb5support0, krb5-locales). They will break ssh and other programs that depend on these libraries.

Overall I am quite happy with this release and I thank the creator!

Offline linux34

  • Newbie
  • *
  • Posts: 15
  • Karma: +1/-0
    • View Profile
    • ARM Turkey
Re: Cubian - Debian for cubieboard
« Reply #14 on: June 08, 2013, 04:55:26 pm »
Hi.
I have install Cubian in Nand.  And is work fine.
Demo:  http://armturkey.dyndns.org

Plase in cubian image3 install mc ( mighnight)  :)
And mpg123 (mp3 player in consol) 
Mybe starx and lighthttpd (web server)

Thanks

** no raspian image, cubie is free with Cubian. ;)

www.armturkey.com
 
« Last Edit: June 09, 2013, 10:20:14 am by linux34 »