Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: igorpec on November 18, 2014, 10:03:39 PM

Title: Armbian 3.4.113 & 4.14.15 SPI / I2C / NAND / SATA Updated 19.9.2018
Post by: igorpec on November 18, 2014, 10:03:39 PM
[ minimal server with powerful config and installer ]

(https://raw.githubusercontent.com/armbian/config/dev/images/animated.gif)

[ with or without minimal XFCE based desktop ]

(https://www.armbian.com/wp-content/uploads/2017/11/Screenshot_2017-11-03_20-04-38.png)


[ Configuration ]

armbian-config

- wireless network connect,
- AP (hotspot) in bridged or NAT mode,
- freeze and unfreeze kernel and BSP upgrades,
- edit boot environment, network, FEX, welcome screen items,
- switching between avaliable kernels and nightly builds,
- enabling read only root filesystem (Ubuntu only),

[ Installation ]

softy

- TV headend (https://tvheadend.org/) (IPTV server)
- Syncthing (https://syncthing.net/) (personal cloud)
- SoftEther VPN server (https://www.softether.org/) (VPN server)
- Transmission (https://transmissionbt.com/) (torrent server)
- ISPConfig (https://www.ispconfig.org/) (WEB & MAIL server)
- Openmediavault NAS (http://www.openmediavault.org/) (NAS server)
- PI hole (https://pi-hole.net) (ad blocker)
- MiniDLNA (http://minidlna.sourceforge.net/) (media sharing)

[ Download ]

https://www.armbian.com/olimex-lime-2/
https://www.armbian.com/olimex-lime/
https://www.armbian.com/olimex-micro/
https://www.armbian.com/olimex-lime-a10/
https://www.armbian.com/olimex-lime-a33/

[ Release history (https://www.armbian.com/logbook/) ] [ Built tools (https://github.com/armbian/build) ] [ Support (https://forum.armbian.com/index.php?/forum/7-allwinner-a10a20/) ] [ Follow us on Twitter (https://twitter.com/armbian) ]
Title: Re: Debian Wheezy with 3.4.104 / SPI / I2C for SD/NAND/SATA
Post by: Dustin on November 19, 2014, 11:55:01 PM
Let me be the first to applaud you on your hard work. I'll be trying this on my lime2 with NAND tonight. I was looking to build the latest kernel and piecing together all the guides to move it to NAND. It seems you did all the hard work with some very nice tweaks in the mix for me.
Title: Re: Debian Wheezy with 3.4.104 / SPI / I2C for SD/NAND/SATA
Post by: igorpec on November 20, 2014, 01:20:07 AM
Thanks  8)

Installation to NAND is solved a bit dirty but it works ::) Android must be previously installed on NAND which usually is and we need one Allwinner blob to boot. I haven't found better solution / documentation to solve this.
Title: Re: Debian Wheezy with 3.4.104 / SPI / I2C for SD/NAND/SATA
Post by: Spark on November 20, 2014, 11:41:19 AM
@igorpec

Good work!
I have A20-OLinuXino-MICRO-4GB and I think to test the image on it.
Do you plan to include mali hwd accelerated drivers, tslib and config in the image?
Title: Re: Debian Wheezy with 3.4.104 / SPI / I2C for SD/NAND/SATA
Post by: igorpec on November 20, 2014, 09:16:00 PM
Quote from: cssvb94 on November 20, 2014, 11:41:19 AM
@igorpec

Good work!
I have A20-OLinuXino-MICRO-4GB and I think to test the image on it.
Do you plan to include mali hwd accelerated drivers, tslib and config in the image?

Thanks! I'll be glad for feed back on image. So far I am focusing for headless usage.
Title: Re: Debian Wheezy with 3.4.104 / SPI / I2C for SD/NAND/SATA
Post by: igorpec on November 21, 2014, 05:14:07 PM
Added mainline kernel 3.18.0.RC3 based image. Tested on Lime 1 and 2.
http://www.igorpecovnik.com/2014/11/18/olimex-lime-debian-sd-image/

Usable for headless.
Title: Re: Debian Wheezy with 3.4.104 & 3.18 / SPI / I2C for SD/NAND/SATA
Post by: Spark on November 23, 2014, 01:25:14 PM
@igorpec

Your build script does work great on A20 Micro 4GB too.
I just had to change the script.bin file with mine and ts and sata started working.
Then tried "install to sata" script found in /root and it worked too. Good idea to format just the 1st partition, but not the whole hdd, btw =)
Now I have snappy debian installed on sata, lcd working out-of-the-box after replacing the script.bin.
Good work man.
If you decide to include script for building debian especially for A20 Micro's, I'll send you the modified fex, which works with 7" ts LCD or you can just get it from Olimex repo on github.
Do you have an idea how to compile xbmc? I saw something on cubies forums some time ago and it based on your distro.

Regards
Spark
Title: Re: Debian Wheezy with 3.4.104 & 3.18 / SPI / I2C for SD/NAND/SATA
Post by: tmanev on November 23, 2014, 08:56:20 PM
Hi, Spark,

Could you share your A20 Micro 4GB image?
Thank you in advance.

Todor
Title: Re: Debian Wheezy with 3.4.104 & 3.18 / SPI / I2C for SD/NAND/SATA
Post by: Spark on November 23, 2014, 11:29:52 PM
Hi Mr Manev,

Here is the link to the sd image: https://drive.google.com/file/d/0B61QPX79jyLhbUdJcmtzVTRtRzA/view?usp=sharing

just the root password is changed to toor

Not compiled fex: https://drive.google.com/open?id=0B61QPX79jyLhNVV0ZHl5elNCbnc&authuser=0
I presume that you know how to compile fex to bin.
Replace script.bin on the sd card after you write the image.

Modified uExt.txt: https://drive.google.com/open?id=0B61QPX79jyLhUktyNTdTd0pXSFk&authuser=0
Replace uExt.txt ont the card.

Enjoy

Just a little bit out-of-topic: I tried Ubuntu Core for arm and it works too.
Title: Re: Debian Wheezy with 3.4.104 & 3.18 / SPI / I2C for SD/NAND/SATA
Post by: Cosik on November 28, 2014, 05:52:17 PM
Hi,

One question from me, is there any possibility that yours image don't want to boot from some kind of SD cards?

I have 2GB kingston and linux are hanging on waiting for /dev/mmcblk0p1
Title: Re: Debian Wheezy with 3.4.104 & 3.18 / SPI / I2C for SD/NAND/SATA
Post by: MBR on November 29, 2014, 08:15:49 AM
Yes, some SD cards just don't work, try another one from a different manufacturer.
Title: Re: Debian Wheezy with 3.4.104 & 3.18 / SPI / I2C for SD/NAND/SATA
Post by: gurumelo on November 29, 2014, 12:05:49 PM
Thanks. I am going to test in A20 micro.
Title: Re: Debian Wheezy with 3.4.104 & 3.18 / SPI / I2C for SD/NAND/SATA
Post by: igorpec on December 04, 2014, 11:27:54 AM
Update:

- Kernel 3.4.105 with new MALI driver and other fixes and 3.18 RC3
- Added: Jessie images
- Added Olimex Micro board
- Major build script rewrite – much faster image building
Title: Re: Wheezy and Jessie with 3.4.105 & 3.18 / SPI / I2C for SD/NAND/SATA
Post by: Cosik on December 16, 2014, 05:11:03 PM
Hi igorpec,

You metion that you prepared Kernel 3.4.105 with new MALI driver. Do you have any tutorial how to do it correctly?
Title: Re: Wheezy and Jessie with 3.4.105 & 3.18 / SPI / I2C for SD/NAND/SATA
Post by: OniNiubbo on December 18, 2014, 12:32:04 PM
Nice job! I'm using the Jessie image in my DIY NAS done with a LIME2. Works like a charm.
Title: Re: Wheezy and Jessie with 3.4.105 & 3.18 / SPI / I2C for SD/NAND/SATA
Post by: gustav on December 22, 2014, 01:36:14 PM
Did somebody already get touchscreen to work with this images?

For me it works in general now after I put some environment variables in the .profile sudoers file but calibration for the normal user does not work. sudo ts_test works but for normal user the pointer is on one side of the screen while tapping with the finger on the other side.

Thanks,
Gustav
Title: Re: Stable & clean CLI Debian 3.4.105 & 3.19 SPI / I2C / NAND / SATA + major update
Post by: igorpec on January 25, 2015, 03:32:50 PM
v1.5 / 23.1.2015
Possible to compile external modules on both kernels
Kernel 3.19.0 RC5
Bugfixes: install script, headers, bashrc, spi
Title: Re: Stable & clean CLI Debian 3.4.105 & 3.19 SPI / I2C / NAND / SATA + major update
Post by: kathikis on March 12, 2015, 06:09:28 PM
Hello,

Can someone point out how to use the latest image on A20 micro from SD card?
Do i just use Win32DiskImager and put it on the sd?
Excuse my little knowledge, i only know hot to put an image on an SD with Win32DiskImager.
I wanna try the ETH speeds of the image and use it as a NAS.

Thanks,
Title: Re: Stable & clean CLI Debian 3.4.105 & 3.19 SPI / I2C / NAND / SATA + major update
Post by: igorpec on March 19, 2015, 10:35:50 AM
Yes, you can write it with Win32DiskImager or with supplied writer. There is one in a download package.
Title: Re: Debian 3.4.106 & 3.19.2 SPI / I2C / NAND / SATA Updated 20.3.2015
Post by: kathikis on March 20, 2015, 10:08:33 PM
Thanks Igor, I got it.
Title: Re: Armbian 3.4.108 & 4.1.2 SPI / I2C / NAND / SATA Updated 12.7.2015
Post by: igorpec on July 12, 2015, 08:36:52 PM
v1.9 / 12.7.2015

Fixed stability issues, temperature display in 4.x
Kernel upgrades to 3.4.108 and 4.1.2
Title: Re: Armbian 3.4.109 & 4.2.2 SPI / I2C / NAND / SATA Updated 1.10.2015
Post by: igorpec on October 02, 2015, 07:11:48 AM
Update.
Title: Re: Armbian 3.4.109 & 4.2.2 SPI / I2C / NAND / SATA Updated 1.10.2015
Post by: igorpec on February 12, 2016, 08:12:30 PM
Update to 4.4.1 / 3.4.110
Title: Re: Armbian 3.4.112 & 4.5.2 SPI / I2C / NAND / SATA Updated 1.5.2016
Post by: igorpec on May 01, 2016, 08:24:04 PM
Update 4.5.2 / 3.4.112
https://github.com/igorpecovnik/lib/blob/master/documentation/logbook.md
Title: Re: Armbian 3.4.112 & 4.7.3 SPI / I2C / NAND / SATA Updated 16.9.2016
Post by: igorpec on September 16, 2016, 08:04:03 AM
Update:
http://docs.armbian.com/Release_Changelog/
Title: Re: Armbian 3.4.112 & 4.7.3 SPI / I2C / NAND / SATA Updated 16.9.2016
Post by: WimRoose on December 18, 2016, 02:33:41 PM
Hi All

I'm running micro 4.7.3-sunxi image, but impossible to get audio working (headphone jack). No soundcard detected. According release notes sun4i_codec is OK on mainline

Any ideas?
Title: Re: Armbian 3.4.112 & 4.7.3 SPI / I2C / NAND / SATA Updated 16.9.2016
Post by: igorpec on December 18, 2016, 08:30:13 PM
Quote from: WimRoose on December 18, 2016, 02:33:41 PM
Hi All

I'm running micro 4.7.3-sunxi image, but impossible to get audio working (headphone jack). No soundcard detected. According release notes sun4i_codec is OK on mainline

Any ideas?

Than it's disabled in configuration. Decompile sun7i-a20-olinuxino-micro.dtb and add this:

&codec {
status = "okay";
};


and compile back to dtb. Make a copy of this because DT blobs are overwritten on upgrade.
Title: Re: Armbian 3.4.112 & 4.7.3 SPI / I2C / NAND / SATA Updated 16.9.2016
Post by: WimRoose on January 08, 2017, 02:07:11 AM
Hi igorpec

That worked, thanks! Was also necessary to get audio working on A13 after debian netinstall.

Best

W
Title: Re: Armbian 3.4.113 & 4.11.5 SPI / I2C / NAND / SATA Updated 15.6.2017
Post by: igorpec on June 15, 2017, 07:13:30 PM
v5.30 / 14.06.2017

mainline kernel updated to 4.11
mainline u-boot updated to v2017.05
Firefox was replaced with Chromium (desktop images)
sunxi mainline configuration: added Device Tree overlays support (new images only)
sunxi mainline configuration: added armbian-add-overlay helper for compiling and activating DT overlays (new images only)
log2ram: fixed saving /var/log contents on shutdown
new hardware support (stable/supported images): Xunlong Orange Pi Zero Plus 2 (H3), ASUS TinkerBoard, MiQi
reworked package updates MOTD script to speed up the login process
added config file /etc/default/armbian-motd for disabling MOTD components
added armbian-config dialog-based configuration program (WIP)
Banana Pi M2: fixed HDMI video output
Clearfog: adjusted temperature readout
i.MX6 mainline: enabled support for HDMI audio and PCIe bus

v5.26,5.27 / 24.02.2017

security update for most kernels (packages only)
fixes for hostapd configuration

v5.25 / 2.2.2017

nand-sata-install expanded functionality: you can partition destination and choose file-system type: ext2, ext3, ext4 and BTRFS (BTRFS requires kernel 4.4+)
added new boards: Clearfog Base, Lime2 eMMC, Lime A33, NanoPi M1+, OrangePi Zero, OrangePi PC2 (mainline only, experimental)
new default kernel for Clearfog(s), changed kernel family to "mvebu" to avoid conflicts
disabled wireless power management by default to improve performance with certain drivers
added wireless drivers to mainline kernels: OrangePi Zero, Neo Air
implemented initrd loading support for all boards
moved all images to single ext4 partition scheme
changed default wallpaper, startup icon, shadows to windows on desktop builds
Firefox web cache moved to memory
added g_serial driver to boards without a network connector, working on both kernel (Opi Zero,Opi Lite,FA Neo Air)
added "Software boutique" application installer on desktop builds (currently not working properly on arm64)
added per board patching option
added u-boot video driver and boot logo to H3 based boards
added simplefb video driver (HDMI only) to mainline H3 kernel
updated MALI driver on H3 platform, fixed problems on 2GB boards
changed Ethernet switch driver on Lamobo R1 to DSA based one (mainline kernel)
fixed soft cursor (CLI) for H3 legacy and Odroid C2
expand and adjust multiple kernel configurations based on user requests
adjusted sunxi boot script to support booting in SPI flash + USB storage scenario (w/o the SD card)
dropped support for Debian Wheezy and Ubuntu Trusty releases
sunxi mainline kernel was updated to 4.9.x, some dev kernels to 4.10
added log2ram (Ramlog alternative) to default installation
changed first run logic, disabled forced automatic reboot
changed new user account creation logic, disabled forced reboot on user creation failure
Title: Re: Armbian 3.4.113 & 4.13.16 SPI / I2C / NAND / SATA Updated 25.11.2017
Post by: igorpec on November 26, 2017, 02:10:34 PM
Major update:
https://twitter.com/armbian/status/934406634432090112
Title: Re: Armbian 3.4.113 & 4.14.15 SPI / I2C / NAND / SATA Updated 29.1.2018
Post by: igorpec on January 29, 2018, 04:36:40 PM
Bugfix update, images rebuild, added Stretch.
Title: Re: Armbian 3.4.113 & 4.14.15 SPI / I2C / NAND / SATA Updated 29.1.2018
Post by: igorpec on September 19, 2018, 09:33:01 PM
Major update: https://docs.armbian.com/Release_Changelog/

apt update & apt upgrade