Author Topic: Wheezy, Jessie & Trusty for SD, SATA or NAND with hotspot & BT - upd. 16.9.2016  (Read 434055 times)

Offline slovenia

  • Hero Member
  • *****
  • Posts: 500
  • Karma: +46/-0
    • View Profile


Clean minimal stable base of Debian Wheezy, Jessie and Ubuntu Trusty to deploy web, mail, samba, ... server. The image is compiled from scratch. Image is suitable for any SD card larger than 2G and can be moved to NAND or SATA. The first boot takes longer time (around 1m50s) than usual (25s). It needs to regenerate SSH keys, sets your MAC address, resizes partition to fit your SD card. It might reboot one time automatically on first boot to take effect for changes.

Cubietruck
VGA / HDMI output is determined at first boot. If you start your system with HDMI plugged in than your system will be preconfigured for HDMI after first boot else VGA if HDMI is not connected.







16.9.2016
http://docs.armbian.com/Release_Changelog/

29.4.2016
- kernel 3.4.112 and 4.5.2 (docker ready)

28.2.2016
- fixed Bluetooth on Cubietruck (3.4.110)
- kernel upstream 4.4.3 on Vanilla
- MALI and video acceleration working on 3.4.110
- forced user creation at first login

12.2.2016

- Vanilla kernel for Allwinner based boards upgraded to 4.4.1
- Allwinner audio driver playback and capture on kernel 4.4.1, UAS, USB OTG, battery readings,
- firstrun does autoreboot only if needed: wheezy and some legacy kernels.
- added motd to /etc/updated.motd ... redesign, added battery info for Allwinner boards, bugfix, coloring
- fixed FB turbo building on Allwinner
- fixed NAND install on A10 boards (Legacy kernel only)
- fixed USB boot, added PWM on Vanilla
- readded USB sound
- added LIRC GPIO receive and send driver for legacy Allwinner
- added LED MMC activity to Vanilla kernels for Cubietruck and Cubieboard A10
- build script: option to build images with F2FS root filesystem for Allwinner boards

28.12.2015 Update only (apt-get update && apt-get upgrade)
– complete build script rework
– new development kernel package linux-image-dev-sunxi (4.4RC6) for Allwinner boards
– Vanilla kernel for Allwinner based boards upgraded to 4.3.3
– fixed Jessie RTC bug, systemd default on Jessie images

1.10.2015
– vanilla kernel upgrade to 4.2.2,
– legacy kernel upgraded to 3.4.109,
– added I2C support and bunch of multimedia modules (DVB) (vanilla),
– brcmfmac driver fixes for vanilla kernel (Cubietruck)
– performance tweak: choosing a closest Debian mirror (Debian images)
– added Astrometa DVB firmware and dvb-tools
– added Nikkov SPDIF / I2S recent patch (legacy)
– added patch for rtl8192cu: Add missing case in rtl92cu_get_hw_reg (legacy)
– bigger NAND boot partition on install
– install script bug fixes

17.9.2015
– kernel 4.2
– walk-around if ethernet is not detected on some boards due to RTC not set(?)
– update is done (semi) automatic if you are using Armbian 4.2. You only need to issue command: apt-get update && apt-get upgrade. If you are coming from older system, check Documentation
– Enabled whole USB net and HID section in kernel for Allwinner boards v4.2
– Fixed upgrade script – only some minor bugs remains.
– Fixes to build script that it’s working under Ubuntu 15.04

1.9.2015
– Upgraded NAND / SATA installer. Possible to install to SATA/NAND boot in one step.
– Easy kernel switching between old 3.4 and 4.x
– Automatic kernel updating (to disable comment armbian repo /etc/apt/sources.list)
– Aufs file system support
– kernel 4.1.6 and 3.4.108
– Added Cubieboard 1 (4.x only)
– enabled USB audio in kernel 4.x
– kernel headers fixed. No need to rebuild when you update the kernel.
– fixed boot scripts that can load from FAT partition too
– Docker support (kernel 4.x). Already here for a while / forget to mention.
- removed security system. It's coming with Kernel 3.4

5.8.2015
- Added lightweight Ubuntu Trusty XFCE desktop image
- Added auto system update via repository apt.armbian.com
- Root password change is initialized at first boot.
- 3.4.108 kernel fixes, 4.1.4 Allwinner Security System

12.7.2015
- Fixed stability issues, temperature display in 4.x
- Kernel upgrades to 3.4.108 and 4.1.2

11.6.2015
- Bugfix release
- Kernel 4.0.5 traffic control support
- SATA / USB install fixed on kernel 4.x
- Added 256Mb emergency swap area, created automatically @first boot

21.5.2015
- Bugfix release: all images successfully booted on Cubietruck. I waited for automatic reboot than tested remote login.
- Kernel 4.0.4 added support for power on/off button
- Both: Jessie fixed, Eth init fixed (uboot)
- armbian.com introduction

12.7.2015
Fixed stability issues, temperature display in 4.x
Kernel upgrades to 3.4.108 and 4.1.2

14.5.2015
- Kernel 4.0.3 some new functionality
- Kernel 3.4.107 added sunxi display manager to change FB on demand
- Both: Ubuntu and jessie install errors fixed, removed busybox-syslogd and changed to default logger due to problems in Jessie and Ubuntu, apt-get upgrade fixed, documentations update, Uboot fixed to 2015.4 – no more from dev branch
- Build script rework – image size shrink to actual size, possible to have fat boot partition on SD card, several script bug fixes

29.4.2015
- Kernel 3.19.6
- Kernel 3.4.107 with better BT loading solution

17.4.2015
- Kernel 3.19.4: fixed AP mode, fixed USB, added 8192CU module
- Common: apt-get upgrade ready but not enabled yet, serial console fixed, fixed hostapd under jessie, easy kernel switching, latest patched hostapd for best performance – normal and for realtek adaptors, auto IO scheduler script
- Build script: everything packed as DEB

28.3.2015
- Kernel 3.19.3: docker support, apple hid, pmp, nfsd, sata peformance fix
- Kernel 3.4.106: pmp, a20_tp – soc temp sensor
- Common: console setup fixed, headers bugfix, nand install fix
- Build script: kernel build only, custom packets install, hardware accelerated desktop build as option

28.2.2015
- Kernel 3.19.0: many new functionality and fixes.
- Desktop upgrade on 3.19.0 works.
- Bugfixes: CT wireless works in all kernels

24.1.2015
- Possible to compile external modules on both kernels
- Kernel 3.19.0 RC5
- Bugfixes: install script, headers, bashrc, spi

11.1.2015
- Kernel 3.19.0 RC3 with working console
- Kernel, headers and firmware packed as DEB package
- Bugfixes

3.12.2014
- Kernel 3.4.105 with new MALI driver and other fixes
- Added: Jessie image
- Major build script rewrite – much faster image building
- Fixed: failed MIN/MAX settings

Download

Main features:
  • Debian Wheezy, Debian Jessie and Ubuntu Trusty based
  • 3.4.108 with broad additional hardware support. Based on Patwood's .79, upgraded to .98 by D_NRW and further patched by me and clean Vanilla kernel 4.2.x
  • Total memory is 1000/2000Mb (disabled all memory reservations for GPU on CLI images)
  • Ethernet with DHCP and SSH server ready on default port (22) with regenerated keys @ first boot
  • 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 (sunxi_ss)
  • ALSA: Analog, Spdif and I2S support + basic sound utils
  • root file-system auto resize
  • NAND, SATA and USB install script included (/root)
  • Login script shows board auto MOTD with current CPU temp, hard drive temp, ambient temp from Temper if exits, actual free memory and battery state
  • USB redirector - for sharing USB over TCP/IP (disabled by default /etc/init.d/rc.usbsrvd)
  • SATA and USB storage enabled
  • root password=1234 and expires at first login
  • Wireless adapter DHCP ready but disabled (/etc/network/interfaces, WPA2: normal connect or AP mode)
  • sunxi-tools included: fex2bin, bin2fex, nand-part
  • MAC address from chip ID, manual optional
  • Graphics desktop environment upgrade ready
Project history, quick manual and old images.

Known bugs or limitations:
DIY:


Thanks to: Dek, nobrainz, patwood, kdeenkhoorn, D_NRW and all others who gave feedback to improve this image.
« Last Edit: September 16, 2016, 12:17:49 am by slovenia »
Debian and Ubuntu images with kernel 3.4.110, 4.3.3, 4.4
http://www.armbian.com

Offline corq

  • Newbie
  • *
  • Posts: 22
  • Karma: +3/-0
  • Proud owner of (3)Cubietrucks and a Cubieboard2
    • View Profile
    • corq's project blog
Re: Wheezy server image with 3.4.75
« Reply #1 on: December 24, 2013, 04:06:00 pm »
Thanks for your work!

Boots fine after flashing. A little unnerving because I did not see the usual flashing of the LEDs.


 
« Last Edit: December 24, 2013, 04:30:19 pm by corq »

Offline slovenia

  • Hero Member
  • *****
  • Posts: 500
  • Karma: +46/-0
    • View Profile
Re: Wheezy server image with 3.4.75
« Reply #2 on: December 26, 2013, 06:44:35 am »
Thanks for your work!

Boots fine after flashing. A little unnerving because I did not see the usual flashing of the LEDs.

 :P

I have board  just next to my keyboard so this blinking can be quite annoying :) They are back in new version. I am going to disable them when system boots up in the next release.

Debian and Ubuntu images with kernel 3.4.110, 4.3.3, 4.4
http://www.armbian.com

dandreoletti

  • Guest
Re: Wheezy server image - update 26.12.2013
« Reply #3 on: December 26, 2013, 08:40:43 am »
v1.2 / 26.12.2013

changed kernel and hardware config repository
kernel 3.4.61+
wi-fi working
updated manual how-to

You mentionned "git clone https://github.com/cubieboard/linux-sunxi/" in your how-to. What branch did you use ? Thanks for the how to btw.

Offline slovenia

  • Hero Member
  • *****
  • Posts: 500
  • Karma: +46/-0
    • View Profile
Re: Wheezy server image - update 26.12.2013
« Reply #4 on: December 26, 2013, 09:38:16 am »
You mentionned "git clone https://github.com/cubieboard/linux-sunxi/" in your how-to. What branch did you use ? Thanks for the how to btw.

cubie/sunxi-3.4

Tnx.
 
Debian and Ubuntu images with kernel 3.4.110, 4.3.3, 4.4
http://www.armbian.com

Offline corq

  • Newbie
  • *
  • Posts: 22
  • Karma: +3/-0
  • Proud owner of (3)Cubietrucks and a Cubieboard2
    • View Profile
    • corq's project blog
Re: Wheezy server image with 3.4.75
« Reply #5 on: December 26, 2013, 10:21:30 pm »
Thanks for your work!

Boots fine after flashing. A little unnerving because I did not see the usual flashing of the LEDs.

 :P

I have board  just next to my keyboard so this blinking can be quite annoying :) They are back in new version. I am going to disable them when system boots up in the next release.

LOL after a few minutes it occurred to me to turn the cubie and watch the ethernet lights for boot progress.

I agree the cubie lights my room up like a disco, so I figured the image had them disabled, no worries.


I'll check out the new image. the original has been very solid so far.

Thanks again for building this; I'm okay with kernel tweaking but not brave enough to roll my own yet, so I'm grateful for your work :)

« Last Edit: December 27, 2013, 03:27:45 pm by corq »

fherb

  • Guest
Re: Wheezy server image - update 26.12.2013
« Reply #6 on: December 27, 2013, 11:29:49 am »
Thanks! It works fantastic. :)

Offline dek

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Wheezy server image - update 26.12.2013
« Reply #7 on: December 28, 2013, 08:21:23 am »
Hi great job really looks neat :) !!!

Three questions  :
- Is it possible to create a deb repository with the kernel so we don't have to wipe all if you just update the kernel ( I guess this is the thing that change the most ?)

- Is it possible to include this patch :
https://groups.google.com/forum/#!msg/linux-sunxi/pMPZj0XcJa0/5vyPoQqi3kUJ
In the kernel because otherwise this breaks lot's of gpio tools ?

- Is it possible to include fex2bin / bin2fex (those can be handy to modify script.bin) and apt-get can't find them.

Thanks for your time :)
« Last Edit: December 28, 2013, 08:31:10 am by dek »

Kit

  • Guest
Re: Wheezy server image - update 26.12.2013
« Reply #8 on: December 28, 2013, 10:26:42 am »
How can I write a raw file to the memory card from the windows  ?
Thank....

Offline slovenia

  • Hero Member
  • *****
  • Posts: 500
  • Karma: +46/-0
    • View Profile
Re: Wheezy server image - update 26.12.2013
« Reply #9 on: December 28, 2013, 10:56:37 am »
How can I write a raw file to the memory card from the windows  ?
Thank....

Suse Image Writer for example

ftp://ftp.berlios.de/pub/kiwi/ImageWriter.exe
Debian and Ubuntu images with kernel 3.4.110, 4.3.3, 4.4
http://www.armbian.com

Offline slovenia

  • Hero Member
  • *****
  • Posts: 500
  • Karma: +46/-0
    • View Profile
Re: Wheezy server image - update 26.12.2013
« Reply #10 on: December 28, 2013, 11:01:35 am »
Hi great job really looks neat :) !!!

Three questions  :
- Is it possible to create a deb repository with the kernel so we don't have to wipe all if you just update the kernel ( I guess this is the thing that change the most ?)

- Is it possible to include this patch :
https://groups.google.com/forum/#!msg/linux-sunxi/pMPZj0XcJa0/5vyPoQqi3kUJ
In the kernel because otherwise this breaks lot's of gpio tools ?

- Is it possible to include fex2bin / bin2fex (those can be handy to modify script.bin) and apt-get can't find them.

Thanks for your time :)

Thanks.

1. I was thinking to do ZIP(TGZ) update. Next release will come with it. Changes will be in some scripts and of course kernel + modules.

2. I will try to implement it.

3. Sure
Debian and Ubuntu images with kernel 3.4.110, 4.3.3, 4.4
http://www.armbian.com

Kit

  • Guest
Re: Wheezy server image - update 26.12.2013
« Reply #11 on: December 28, 2013, 12:43:37 pm »
HDMI out dont work ?

Offline dek

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Wheezy server image - update 26.12.2013
« Reply #12 on: December 29, 2013, 05:20:33 am »
Hi great job really looks neat :) !!!

Three questions  :
- Is it possible to create a deb repository with the kernel so we don't have to wipe all if you just update the kernel ( I guess this is the thing that change the most ?)

- Is it possible to include this patch :
https://groups.google.com/forum/#!msg/linux-sunxi/pMPZj0XcJa0/5vyPoQqi3kUJ
In the kernel because otherwise this breaks lot's of gpio tools ?

- Is it possible to include fex2bin / bin2fex (those can be handy to modify script.bin) and apt-get can't find them.

Thanks for your time :)

Thanks.

1. I was thinking to do ZIP(TGZ) update. Next release will come with it. Changes will be in some scripts and of course kernel + modules.

2. I will try to implement it.

3. Sure


Thanks a lot, also in my experience with cubieboard it's great to include cpufreqd and cpufreq-utils and set a high min max like min = 60Mhz / max = 1Ghz.


Offline dek

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
    • View Profile
Re: Wheezy server image - update 26.12.2013
« Reply #13 on: December 29, 2013, 05:35:57 am »
I thought it would be a good idea to start a github where we can contribute on it all together :

https://github.com/deksan/Cubietruck-Debian

If you want to remain owner of the github just fork that one and I will contribute on yours ;)
« Last Edit: December 29, 2013, 05:47:06 am by dek »

Offline slovenia

  • Hero Member
  • *****
  • Posts: 500
  • Karma: +46/-0
    • View Profile
Re: Wheezy server image - update 26.12.2013
« Reply #14 on: December 29, 2013, 11:51:42 am »
HDMI out dont work ?

In this moment I made just VGA output images. Next release will be two separate images VGA / HDMI. It's frustrating that you have to change scripts to get desired output at the very first boot. My images event does not provide tools to do that. I just forgot to add them  :-[



Debian and Ubuntu images with kernel 3.4.110, 4.3.3, 4.4
http://www.armbian.com