Cubietruck

Cubieboard / Cubietruck Debian SD image

My goal is to build and maintain headless stable base to deploy various services (web, mail, samba, …). The images are compiled from scratch and sometimes patched if necessary. Images are suitable for any microSD card larger than 1G and can be installed to NAND or SATA. First boot takes longer time (around 2m) than usual (25s). It regenerates SSH keys, sets your MAC address, resizes partition to fit your SD card, finds out which is your closest and fastest packages mirror and downloads the package lists (apt-get update). It will reboot one time automatically on first boot to take effect for changes.

  • Debian Wheezy 7.5 based & Debian testing (Jessie) testing
  • Kernel 3.4.98 with broad hardware support, headers included
  • Ethernet adapter with DHCP and SSH server ready on default port (22) with regenerated keys @ first boot
  • Wireless adapter with DHCP ready but disabled (/etc/network/interfaces, WPA2: normal connect or AP mode)
  • Enabled audio devices: analog, HDMI, spdif and I2S
  • Advanced IR driver with RAW RX and TX (you need an IR diode)
  • Bluetooth ready (working with on-board device)
  • Clustering / stacking
  • USB redirector - for sharing USB over TCP/IP (disabled by default /etc/init.d/rc.usbsrvd)
  • root file-system auto resize
  • Graphics desktop environment upgrade ready
  • NAND and SATA install script included (/root)
  • Disabled LED blinking, logo, boot messages (/etc/init.d/disable_led.sh, kernel.config, kernel parameters in uEnv.txt)
  • Total memory is 2000Mb (disabled all memory reservations for GPU)
  • Login script shows Cubietruck / Cubieboard 2 auto MOTD with current CPU temp, hard drive temp, ambient temp from Temper if exits & actual free memory
  • MAC address from chip ID, manual optional
  • root password=1234 and expires at first login
  • sunxi-tools included: fex2bin, bin2fex, nand-part
  • Performance tweaks:
    • /tmp & /log = RAM, ramlog app saves logs to disk daily and on shut-down
    • IO scheduler NOOP for SD, CFQ for sda (mechanical hard drive). (change in /etc/sysfs.conf)
    • journal data writeback enabled. (/etc/fstab)
    • commit=600 to flush data to the disk every 10 minutes (/etc/fstab)
    • optimized CPU frequency scaling 480-1010Mhz with interactive governor and small 20% overclock (/etc/init.d/cpufrequtils)
    • eth0 interrupts are using dedicated core
    • Allwinner Security System cryptographic accelerator
  • Known bugs or limitations
    • On board Bluetooth firmware loading sometime fail. Reboot helps.
    • NAND install script sometime fails. Dirty but working workaround - installing Lubuntu to NAND with Phoenix tools and run the nand-install again.
    • Gigabit ethernet transfer rate is around 50% of its theoretical max rate (hardware or firmware issue)
    • Shutdown, reboot and battery troubles regarding poor AXP chip driver (firmware issue, probably solved in development kernel). Partially fixed.
    • Due to bad PCB placement, there is some crosstalk between Wifi and VGA in certain videomodes.
WheezyJessieCommon
VGA HDMI   Debian stable distribution (recommended)
VGA HDMI   Debian testing distribution

  • Unzipped images can be written with Image Writer on Windows or with DD command in Linux/Mac (dd bs=1M if=filename.raw of=sd card device). Kernel package should be uncompressed under root user to / Change boot parameter if your old kernel has different name.
  • Upgrading. Most changes are usually to kernel. Download it to / and uncompress under user root and untar with: tar xvfp sunxi_kernel_x.x.xx_mod_head_fw.tar. Change boot parameter if your old kernel has different name. For other changes please refer to script build history.

v2.4 / 11.7.2014
v2.3 / 2.7.2014
v2.2 / 26.6.2014
v2.1 / 13.6.2014
v2.0 / 2.6.2014
v1.9 / 27.4.2014
v1.8 / 27.3.2014
v1.7 / 26.2.2014
v1.6 / 9.2.2014
v1.52 / 7.2.2014
v1.5 / 22.1.2014
v1.4 / 12.1.2014
v1.3 / 3.1.2014
v1.23 / 1.1.2014
v1.2 / 26.12.2013
v1.0 / 24.12.2013

Cross compile environment

If you want to compile your own image or kernel for Cubieboards you will need to set-up development environment. Since there are troubles regarding the proper compiler I suggest you to use proven configuration. This image / kernel was successfully compiled on Ubuntu 12.04 LTS x64 – you are going to need server image and 15-20G of space. Install only basic system and get build script from Github.

  1. Download Ubuntu 12.04 LTS x64
  2. Create Virtual machine with 15-20G
  3. Install minimal system and execute the following code
sudo apt-get -y install git
cd ~
git clone https://github.com/igorpecovnik/Cubietruck-Debian
chmod +x ./Cubietruck-Debian/build.sh
cd ./Cubietruck-Debian

Edit configuration at the beginning of the script and run it afterwards. The compilation takes 30-60 minutes (on average desktop PC) and you might be asked for some input. Your will find compiled images in the directory defined in variable DEST/output. In case of success you will find zip compressed images for VGA/HDMI and kernel with modules and headers.

Optional customization

keyboard: dpkg-reconfigure keyboard-configuration
system language: dpkg-reconfigure locales
time zone: dpkg-reconfigure tzdata
screen resolution: edit /boot/uEnv.txt and change it/reboot.

Desktop

If you want to try a semi simple desktop environment:

apt-get -y install xorg
apt-get -y install lightdm
apt-get -y install xfce4 xfce4-goodies tango-icon-theme gnome-icon-theme
reboot

Check this site for others.

Support

You can post questions below or in the project topic on the Cubieforums.

351 thoughts on “Cubieboard / Cubietruck Debian SD image

  1. If your keyboard-layout is wrong check /etc/default/locale everything should be it_IT.UTF-8 or something like that … check locale, tzdata and maybe consoledata – if you use a logitech wireless mouse keyboard combo you may need to configure lightdm and .xsessionrc when using xfce4

    1. I edited the following two files
      /etc/default/keyboard:
      XKBMODEL=”pc105″
      XKBLAYOUT=”it”
      XKBVARIANT=””
      XKBOPTIONS=””
      /etc/default/locale:
      LANGUAGE=it_IT.UTF-8
      LANG=it_IT.UTF-8

      The result is that in X everithing is OK (I’m using lxde) and this is a better situation than before, but if I go back to a pure text interface (Ctrl-Alt+F1) the keyboard layout is US :-(

      Where can I check “consoledata” and “txdata”?

  2. After some weeks of (very good) experience with 2.1, I’ve erased my sd and installed 2.4.
    First of all, I could not run
    dpkg-reconfigure keyboard-configuration
    This was because the package keyboard-configuration was missing (contrary to 2.1, which included it).
    Hence I installed it manually and then run dpkg-reconfigure keyboard-configuration, for setting the italian keyboard. Everything seemed to be ok (no error messages), but the keyboard remains setted to US.
    Can you please help me?

  3. Hello! First off, thanks for this great image. I’ve been using 1.8 for some time and since I saw several improvements especially concerning Bluetooth (that I wasn’t able to use for some reason) I decided to upgrade my kernel today.
    I tried to use hcitool to scan for my BT keyboard, but it just says “Device is not available: No such device” (“hcitool dev” lists no devices either). bluetoothd is running tho. Am I missing anything? Thanks for any pointers :)

    1. Hello. You are missing the fun part :) For Bluetooth we need to load firmware using this script + config file. Make sure that you load those modules (Not sure which are minimum for this). And loading of the firmware is not always successful :( … if fails, reboot is mandatory for trying again.

      1. Hello :)
        Thanks for the heads-up – I forgot about loading the firmware indeed, even though I tried that a few months ago. Sadly, I just can’t seem to get it to work. :(
        I tried using an init.d script (since I read it would be wise to load the FW as early as possible) that would first modprobe the modules, then launch the brcm40183-patch script, but it never seems to actually load the firmware. Any hints on what I might be missing or what you’re doing to get it working? :)
        Thanks again!

        1. If you use my script with its default startup settings it should work. Modules loading order is also critical. I think this is it.

  4. Hello and thank you for your great work. Is it possible to trigger shutdown in some way, when the power button is pressed?
    (i’ve found no means of reading the state of the power switch in software – is it even possible?)

    1. As far as I know the section which is responsible for power related operations is written poorly and it’s possible that you can’t do it. There are significant changes in the mainline kernel but we are not there yet. Backporting of this functionality looks a bit too harsh for me. Waiting for new kernel, which unfortunately brings other limitations, looks like the only option.

    1. HDMI audio should work. You only have to set if as default. When I plug in my HDMI2VGA cable HDMI audio becomes available. I don’t have other equipment near by to test but I believe it’s working.

      cat /proc/asound/cards

      0 [sunxicodec ]: sunxi-CODEC – sunxi-CODEC
      sunxi-CODEC Audio Codec
      1 [sunxisndspdif ]: sunxi-sndspdif – sunxi-sndspdif
      sunxi-sndspdif
      2 [sunxisndi2s ]: sunxi-sndi2s – sunxi-sndi2s
      sunxi-sndi2s
      3 [sunxisndhdmi ]: sunxi-sndhdmi – sunxi-sndhdmi
      sunxi-sndhdmi

  5. Could you provide some more details about how to upgrade the kernel? In particular, what “changing of boot parameters” means…

    1. This is necessary in case you don’t use default kernel name and/or location. You have to edit uEnv file and alter that.

  6. Igor, perhaps you should change your blog layout to show the most recent comments at the top and have some sort of archive for the oldest ones. That way a viewer sees the most relevant comments first. Just a suggestion….:-)

  7. hi
    im new in Linux I want to ask some questions if anyone can answer me about the types of Linux (debian,cubian,…) im talking about the images for cubietruck .
    and how can I flash kali on cubietruck nand?
    thanks in advance

  8. I can confirm that stable wheezy image (v2.4) is working just fine without big problems (so far I had to fight only with the locale-settings again ;) ) . Jessie (debian testing) seems to have problems (when used for cubietruck).

  9. WLAN-problem seems to be jessie related ! Started a new install from sdcard to ssd configured wlan0 , installed mc/reboot … wlan0 ok! Installed policykit-1/reboot … no more wlan0! It think this is because systemd is changed but I can not say for sure!

  10. Well, the is something really bad going on … Using a fresh jessie v2.4 image works totally fine!
    Than I install to sata ssd/reboot … still fine … configuring wlan – fine … apt-get update fine …
    installing pakages (keyboard-configuration xorg xfce4 xfce4-goodies mc gvfs-backends samba localepurge iceweasel iceweasel-l10n-de gnome-icon-theme tango-icon-theme gnash)
    after that a few localization settings (dpkg-reconfigure keyboard-configuration locales tzdata) … few changes in /etc/defaults/locale to de_DE.UTF-8 … reboot Wlan0 FAULTY!!!

  11. I can not even reload bcmdhd, mac-address is never loaded to the chip … I will try a fresh install as I do not know whats wrong.

  12. Well fixing the locales and keyboard drives my crazy, too ;) But something is wrong with wifi, it is turned on and off costantly – maybe a problem with cfg80211…

    1. :) Huh, my Wifi works well. Cubie is acting even better than my router (Atheros chipset) which fails sometimes. I am using it in Access point mode.

  13. Jessie is fine !!!

    It was just a faulty locale-entry LC_MESSAGES=POSIX and it did not change using the debian-tools (dpkg-reconfigure locale keyboard-configuration tzdata). Regarding wlan0 just a copy-n-paste error by myself ;)

    1. Thanks for this. Fixing locales drives me crazy :) I made some focus to this recently and I thought that I fixed things well; that LC_MESSAGES=POSIX should be o.k. for general purpose.

  14. Currently there seem to be MANY changes in debian testing distribution (Jessie). I simply did update and upgrade … and many things do no longer work. German locales and german keyboard do no longer work and wlan is gone :) I think I am going back to stable :)

    1. Hello. Run into troubles within upload. Kernel upgrade is available and the rest will be fixed within this hour.

  15. Hi … Thanks for the good job.
    Does the RTC is supposed to work?
    when booted without ethernet , “hwclock -r” returns
    hwclock: select() to /dev/rtc0 to wait for clock tick timed out: No such file or directory

  16. Hi!
    Thanks for update.
    I have encountered pretty strange issue. One of my partitions is encrypted via LUKS.
    When I scp big file (1gb) to it and then read back – file becomes corrupted (diff says it is different).
    When I scp the same file to non-encrypted partition and send back – everything is ok.
    Any ideas what is wrong ?
    Thanks in advance.
    P.S. the kernel and modules are from latest download. The same behavior observed in 2.2

    1. Hi … I have no experiences with LUKS / encrypted FS but there is one module loaded by default and might be related (sunxi-ss). Try without it.

  17. I’m quite pleased how your Cubie Image has envolved and developed over the last months.

    Question: Would it be possible to create / and “pseudo install” your custom kernel via regular debian “deb”-packages into your image? Say with make-kpkg or some such. So that all kernel and headers are referenceable inside the debian distribution.

    Other things like “dkms” and custom build modules would be lots of easier to build and maintain.

    Please keep on going with that fine work!

    1. While building a custom kernel module with your image I found open (unresolved) links in /lib/modules/3.4.96-sun7i+/

      Directories “build” and “source” were left open to your cross compile system: “/root/Cubietruck-Debian/output/linux-sunxi”

      That’s, um, not nice. BTW: Cubian image has the same issue. :-(

      Could you please investigate and maybe fix it?

      Thanks!

  18. Does this image includes proprietary blobs?

    You should add a hint that the user should add his root password with “passwd” after first reboot.

    1. The only unknown binary blob is wireless driver/firmware. It has been floating around Cubieboard community. All other binaries are compiled by me. Next image will be pre-set with root password expire.

  19. Hi Igor!
    Thank you for your work!
    Found a small issue (I guess it is the issue)…
    /etc/rc.local
    echo 2 > /proc/irq/$(cat /proc/interrupts | grep eth0 | cut -f 1 -d “:”)/smp_affinity
    didn’t worked at my case, since cut -f1 -d “:” returned ” 87″ with extra space.
    I added |tr -d ‘ ‘ after last cut and it’s probably now works (manually launching /etc/rc.local works)
    Hope it will help!
    Cheers and thanks again.

      1. Small question – how I can disable bluetooth and wifi probing/starting, since on my Cubieboard2 I don’t have them and probably will never have =).

        1. Remove the services from startup or/and modules. Command: update-rc.d servicename remove and by editing /etc/modules and commenting a particular module.

  20. I’ve discovered some problems with usb-audio – Audio Playback through USB causes a system freeze – Is this a known issue? Or is it an individual problem?

    Thank you very much!

  21. Hello,

    I’ve installed the 1.9 Version in Nand and wanted to update the Kernel to Version CTDebian_2.2_kernel_3.4.94_mod_head_fw.tgz. So i downloaded and extracted it to /. But how can I switch this Kernel on for booting? I havn’t found a uEnv.txt file in /boot (only uImage there). So what I’ve to do after extracting?

    Thank you in advance (and you may already know it – great Image!)

    1. Kernel upgrade for NAND systems is a bit different. Boot files are located on first NAND partition (/dev/nand1). After extraction copy kernel from /boot to your first NAND partition and overwrite the old one.

  22. You forgot to mention a bug: “There is one issue with VGA though. Due to bad PCB placement, there is some crosstalk between Wifi and VGA in certain videomodes.” Would you like add this above?
    Source: http://linux-sunxi.org/Cubietruck#VGA

    Is there another way to set the magical bits without PhoenixSuit? Are you looking for a way to include this in your images? That would be great.

    1. Thanks, I will add this to the bug sectioning. Unfortunately we haven’t found any way to set magical bits without Phoenix suite. Yet.

  23. Hello, thanks for your work, it is great images for cubie.
    But there are some strange files:
    /etc/nhgbhhj and /etc/sfewfesfs. It looks like Unix Trojan Elknot.

    1. Thanks. Can’t find those or any other strange files / trojan or viruses inside the image. Can you please check again with fresh install?

    2. is strange, the same thing happened to me when I install on the hard drive.
      According ClamAV, identifies it as Unix.Trojan.Elknot

      1. Which file? Do you have any suspects? I really can’t find any proof of trojan existence. You must have post install the same things which could been infected.

  24. Igor, I don’t think this is the explanation: all of the files in NAND1 are the same size on both machines (though I’ve not done a byte comparison of them all ).

    John

  25. I have found a solution for the black screen problem under X, blocking everything without any way to awake the monitor again (see the previous post from Hajo). It’s not elegant but it works.
    The cause should be that cubieboard and cubietruck do not support Energy Star features.
    The solution is to create the file ~/.xinitrc with thiese three lines:
    xset s off # don’t activate screensaver
    xset -dpms # disable DPMS (Energy Star) features.
    xset s noblank # don’t blank the video device

  26. Igor, a separate question from my last: you mention that “NAND system has different U-boot loader “; but on my two cubietrucks boot.axf is the same on both. I had thought that the only difference was that uEnv.txt pointed to different root file system locations?

    On cubieboard1 I was able to switch between NAND and SATA boot merely by changing uEnv.txt and rebooting. If I understand you correctly, this will not work with your system?

    regards, John

    1. You can boot from SD or NAND and you can have your root file-system anywhere. You specify this in uEnv files. What I am trying to point out is that the boot process for NAND is (very) different than SD. From what you wrote I suspect that your NAND install points to old kernel file which is on the first nand partition (/dev/nand1). Overwrite it manually – my upgrade does not cover this. There you have uEnv, script.bin, … files.

  27. Thank you for your great work! I’m testing the previous version and I hope the 2.2 will solve the black screen lock… I will test it tomorrow :-)
    Bye,
    Marcello from Italy

  28. Hi, I was just wanted to test out the jessie based image. Looks like there is an other root password set since 1234 does not work anymore…
    Any hints would be usefull. ;o)
    Oh, and BTW nice work. This still is my favorite image for my cubietruck.

  29. Great image, but I’m still stuck on v1.7 because on newer versions with newer kernels it is impossible to load some kernel modules because of a too small coherent pool (only 256k). I tried to set the coherent pool to 1M in uEnv.ct, but this does not work or even prevent the system from booting.

    1. Thanks. Do you think adding CONFIG_CMA=y will solve this? If you point me to solution I can implement it. I guess this does not affect the primary goal of the image.

  30. Hello, its me again!
    I have a problem with the WiFi AP Mode. The WiFi appears in my iPhone with the WPA2 encryption but i cant connect to it. I hope the result of hostapd -dd /etc/hostapd.conf can help us:

    nl80211: Could not add multicast membership for vendor events: -2 (No such file or directory)
    rfkill: initial event: idx=0 type=2 op=0 soft=0 hard=0
    rfkill: initial event: idx=1 type=1 op=0 soft=0 hard=0
    rfkill: initial event: idx=2 type=1 op=0 soft=0 hard=0
    nl80211: Supported cipher 00-0f-ac:1
    nl80211: Supported cipher 00-0f-ac:5
    nl80211: Supported cipher 00-0f-ac:2
    nl80211: Supported cipher 00-0f-ac:4
    nl80211: Supported cipher 00-0f-ac:6
    nl80211: Using driver-based off-channel TX
    nl80211: Disable use_monitor with device_ap_sme since no monitor mode support detected
    nl80211: interface wlan0 in phy phy0
    nl80211: Set mode ifindex 5 iftype 3 (AP)
    nl80211: Setup AP(wlan0) – device_ap_sme=1 use_monitor=0
    nl80211: Subscribe to mgmt frames with AP handle 0x7be8c8 (device SME)
    nl80211: Register frame type=0xd0 nl_handle=0x7be8c8 match=
    nl80211: Register frame command failed (type=208): ret=-114 (Operation already in progress)
    nl80211: Register frame match – hexdump(len=0): [NULL]
    nl80211: Could not configure driver mode
    nl80211: Remove monitor interface: refcount=0
    nl80211: Remove beacon (ifindex=5)
    netlink: Operstate: ifindex=5 linkmode=0 (kernel-control), operstate=6 (IF_OPER_UP)
    nl80211 driver initialization failed.
    hostapd_interface_deinit_free(0x7bd3e8)
    hostapd_interface_deinit_free: num_bss=1 conf->num_bss=1
    hostapd_interface_deinit(0x7bd3e8)
    hostapd_bss_deinit: deinit bss wlan0
    hostapd_cleanup(hapd=0x7bdf10 (wlan0))
    hostapd_free_hapd_data: Interface wlan0 wasn’t started
    hostapd_interface_deinit_free: driver=(nil) drv_priv=(nil) -> hapd_deinit
    hostapd_interface_free(0x7bd3e8)
    hostapd_interface_free: free hapd 0x7bdf10
    hostapd_cleanup_iface(0x7bd3e8)
    hostapd_cleanup_iface_partial(0x7bd3e8)
    hostapd_cleanup_iface: free iface=0x7bd3e8

    thanks again

  31. I should have added: a difference between the two installations is that the machine that fails has the RFS installed to sda; the OK machine has RFS on NAND.

    John

    1. NAND system has different U-boot loader which could cause troubles and kernel + some other files are stored on first NAND partition. If you made kernel upgrades you could forget to copy kernel file from your default location (/boot) on second partition where you should uncompress the upgrade file – all other files should be on ROOTFS. I will test on my NAND install and report if it fails.

  32. Strange. I’ve two cubietrucks, both with 3.4.93-sun7i+. One works fine, the other reports “no support in current kernel”. I wonder if you’ve any suggestions that would save me having to do a complete re-install?

    John

  33. When I try to install nfs-kernel-server, I get error ‘Not starting NFS kernel daemon: no support in current kernel.’
    Is this correct or have a made an error in my install?

    regards, John Glasson

  34. Good afternoon, Igor!
    Installed at your assembly, all happy, except for the one in trouble, missing in other assemblies.
    When working with large rsink Fail – error occurs:

    root @ cubie :/ media # rsync-axh – progress rsbservice@xxx.xxx.xxx.xxx :/ cygdrive / c / backup_sql / / media/data_a/rsync/backsq/
    receiving incremental file list
    . /
    sql.bak
          75.76M 1% 7.25MB / s 0:09:13
    Corrupted MAC on input.
    Disconnecting: Packet corrupt

    rsync: connection unexpectedly closed (76,522,789 bytes received so far) [receiver]
    rsync error: error in rsync protocol data stream (code 12) at io.c (605) [receiver = 3.0.9]
    rsync: connection unexpectedly closed (135 bytes received so far) [generator]
    rsync error: unexplained error (code 255) at io.c (605) [generator = 3.0.9sch

    Note once again, other assemblies of this error is not observed.
    Please suggest to solve the problem, and sorry for my english. :)
    Thank you. Anton.

    1. Hey. All I can say @this moment is that the issue has been recently recognized and classified as bug. It happens only when network is fully utilized. We are working on it. It would be helpful if you try to recreate this scenario on some old images (1.6 and older) or try to catch some logs when this happen.

  35. I want to switch between VGA and HDMI.
    Is it enough to change the file “/ boot / uEnv.ct” in the fourth line?

    script = / boot / ct-hdmi.bin script = / boot / ct-vga.bin

  36. Thank you very much for your work – i like this clean image!

    I have a question regarding WiFi – So far WiFi seems working fine, but my syslog is full of ” wl_cfgp2p_do_ioctl: IOCTL req 0x8b03 on p2p0 I/F. Ignoring.” messages. Is this a known kernel issue? Or is it a configuration issue?

    Thanks for any hint!

    1. Thanks!. I also got some errors from wifi driver in the log but it’s working. They are different probable because I run Access point mode.

  37. Good afternoon. Tell me, I use the HDMI way. Connected to the CT power, HDMI, keyboard, Ethernet. After appearing on the screen “Updating all packages…” nothing happens, although the LEDs blink… I waited for 30 minutes…

          1. Hi!
            Confirm. Have the same problem.
            With Ethernet connected at first run (CTDebian_2.1_vga).
            Only can install with Ethernet cable disconnected.

            PS: big thanks for your work!

  38. > It should work. Huh. Maybe you removed the card too quickly?
    Sure not- an hour should be sufficent ;-)
    >upgrade
    It tried to upgrade some big libs, so that there was not enough space left. If you rewrite just expand the filesystem and make in the second pass the upgrade.

    Another minor point, not your problem, but perhaps you know a solution: I installed xfce4. When I don’t type after a while the screen goes black,( there is no signal to the monitor) and there is no way to awake the monitor again. Tried mouse and every key-stroke combination which I know. ssh is still working.

    1. I forgot that we have limited space at first boot :) thanks for the hint. Blank screen bug is a known bug related to kernel /DPMS. Since i don’t deal with console i am not aware of it. I thought it has ben fixed by now. No ideas if there is any walk around / fix.

  39. One more item:
    During the initial first boot-up I got stock several times while your script processed :
    apt-get -y upgrade
    I commented this line and all went well (resizing etc.)
    I made the upgrade later by hand ;-)
    Hajo

          1. First boot should expand your SD card to it’s full size. If “first boot process” didn’t finished successfully you might end up with 1G partition. Here is the script, located in /etc/init.d

  40. Hello,

    I don’t know if I made a mistake, but your command “dd bs=1M if=filename.raw of=sd card device” didn’t work for me on a Linux machine:
    $ dd bs=1M if=CTDebian_2.1_hdmi.raw of=/dev/mmcblk0p1
    1000+0 Datensätze ein
    1000+0 Datensätze aus
    1048576000 Bytes (1,0 GB) kopiert, 165,25 s, 6,3 MB/s

    wrote something on the SD-card but the card could not be booted on the Cubie. Later I used the Windows Image Writer and it worked.

    Anyway thanks for your efforts.
    Hajo DL1SDZ

    1. There are some minor bugs regarding my scripts to be fixed, we need some user friendly configuration script, switch to mainline kernel 3.15, … Actually there are many things to be done even it already looks very good :)

      1. Thank you again. Can i use the actual Image for a productive System? Whats about security updates and further kernel-versions? Can I get them via apt-get update? Will we have an easy update possibility for your further images?

        1. Yes, it’s safe to use it for productive system. I do. In v2.1 we recently found some bug in kernel which is not resolved at this moment. Use 2.0 or 2.1 with kernel from 2.0. Everything except my mods and kernel is possible to upgrade via apt-get. I am planning to simplify the update process. Don’t know when.

Leave a Reply

Vaš e-naslov ne bo objavljen. * označuje zahtevana polja