Jump to content


Photo

Prepare v5.1 & v2016.04


  • Please log in to reply
35 replies to this topic

#1 Igor

Igor

    Administrator

  • Administrators
  • 2888 posts

Posted 22 March 2016 - 08:04 AM

It might be time for some release line. Let's put together what was done in past few month, need to be done, was forgotten and it's worth mentioning. I sure missed stuff out ... so just add it.

 

IMAGES / KERNEL:

- all 3.10+ kernels are Docker ready

- added Odroid C2 CLI and desktop, kernel upgraded to 3.14.65

- Udoo Neo wireless works

- legacy kernel for Allwinner boards was upgraded to 3.4.111

- legacy kernel for iMx6 boards was upgraded to 3.14.65

- vanilla images comes with kernel 4.4.6

- Clearfog comes with 3.10.101 and 4.4.6

- added Armbianmonitor which knows ....

- fixes for SPDIF / I2S audio driver in legacy kernel

- added USB camera section

- added fix for slow SD cards

- changed first boot procedure and force user creation

- all A10/A20/H3 comes with HW acccelerated video playback in desktop build

- Bluetooth on Cubietruck works well, both kernels

- verbose / no verbose boot works almost on all boards

- added wifi radar to desktop

- desktop jessie only

- enabled I2S on sun8i

 

BUILD SCRIPT:

- Added Belink X2 as WIP target (H3 based media player)

- Added Odroid C1 as WIP target

- introducted CLI_TARGET per board

- prepared FEL boot

- prepared Xenial target

- GCC 5 support for vanilla and allwinner legacy

 

BUGS:

- Udoo Neo reboots takes a while, 1min+

- C1 does not boot

https://github.com/i...vnik/lib/issues

 

NEED TO BE FIXED IN THIS RELEASE:

- vanilla build for H3 with working EMAC / GMAC

- nand installer for H3 eMMC

 

DUE DATE: 30.4.2016

 

------------

Copy paste / add and remove this text. Just add to the topic


  • wildcat_paris and Avinash Ga like this

Want to send me a private message? Stop and think again. If there’s no reason for it to be private, it should be public. Thank you!


#2 tkaiser

tkaiser

    Advanced Member

  • Moderators
  • 2660 posts

Posted 23 March 2016 - 02:59 PM

Just some random thoughts/notes:

  • Added NanoPi M1 (still needs a fix/replacement for auto detection since this is 1:1 clone of Orange Pi PC with less RAM)
  • In the same context we need a solution for exchaning .dtb files for mainline kernel (applies to Bananas and sun8i)
  • We should add 1024:768 and 1280:1024 HDMI resolutions for H3 (defining new modes instead of overwriting already existing ones)

Please don't send personal messages! Use the forum so others can participate and benefit!

 

Before you report any problem please be aware that crappy SD cards and insufficient power supply are reason N° 1 why things are failing. Try to rule this out first please, check 'getting started' recommendations and check/provide 'sudo armbianmonitor -u' output first!

 

Did you check out custom google powered forum search already (before opening new threads or asking questions)?


#3 Avinash Ga

Avinash Ga

    Member

  • Senior Members
  • PipPip
  • 10 posts

Posted 30 March 2016 - 06:09 PM

Which kernel version does vanilla build for H3 will be based on? Is that 4.4.6?



#4 Igor

Igor

    Administrator

  • Administrators
  • 2888 posts

Posted 30 March 2016 - 07:08 PM

Which kernel version does vanilla build for H3 will be based on? Is that 4.4.6?

 

4.5, hopefully. We wait for Ethernet support to become stable.


  • Avinash Ga likes this

Want to send me a private message? Stop and think again. If there’s no reason for it to be private, it should be public. Thank you!


#5 Igor

Igor

    Administrator

  • Administrators
  • 2888 posts

Posted 31 March 2016 - 07:06 AM

IMAGES / KERNEL

 

- fixed kernel update on NAND based systems (A10 & A20)

Currently only on A10 and A20, patches for other boards will follow later - after build check:

- automated "make scripts" on headers install and fixed ARCH in profile.d -> next drivers compilation = make (no anything else) 

- initrd creation on kernel install (but not actually using it) 


Want to send me a private message? Stop and think again. If there’s no reason for it to be private, it should be public. Thank you!


#6 Toast

Toast

    Advanced Member

  • Senior Members
  • PipPipPip
  • 61 posts

Posted 31 March 2016 - 07:36 AM

- added Armbianmonitor which knows .... 

 

mind expanding on that ?



#7 Igor

Igor

    Administrator

  • Administrators
  • 2888 posts

Posted 31 March 2016 - 08:03 AM

Use armbianmonitor for the following tasks:

 armbianmonitor -b switches between verbose and normal boot
 armbianmonitor -c /path/to/test performs disk health/performance tests
 armbianmonitor -d tries to upload debug disk info to improve armbianmonitor
 armbianmonitor -m provides simple CLI monitoring
 armbianmonitor -r tries to install RPi-Monitor
 armbianmonitor -u tries to upload armhwinfo.log for support purposes

This is currently possible.


  • Toast and Rui Ribeiro like this

Want to send me a private message? Stop and think again. If there’s no reason for it to be private, it should be public. Thank you!


#8 NishaYume

NishaYume

    Newbie

  • Senior Members
  • Pip
  • 2 posts

Posted 01 April 2016 - 03:20 PM

Hi all , i register to see advances in the h3 support. Im happy to see that my orange pi pc will be vanilla kernel support.

Thanks for your work!

PD: Sorry for me english.


  • Avinash Ga likes this

#9 Lemonlemon

Lemonlemon

    Newbie

  • Senior Members
  • Pip
  • 4 posts

Posted 03 April 2016 - 04:38 AM

is it possible to include latest alsa version for 3.4.111? currently it is 1.0.25 which does not have some features required. thanks!

#10 Igor

Igor

    Administrator

  • Administrators
  • 2888 posts

Posted 03 April 2016 - 02:22 PM

For most system packages we use system defaults (Debian Wheezy-Jessie, Ubuntu Trusty-Xenial). Our build system is currently not friendly for such changes but we are working on it since we need to update some other packages too.


Want to send me a private message? Stop and think again. If there’s no reason for it to be private, it should be public. Thank you!


#11 Lemonlemon

Lemonlemon

    Newbie

  • Senior Members
  • Pip
  • 4 posts

Posted 04 April 2016 - 02:45 AM

Thanks for reply! I am happy with vanilla, which presumably would have the later also version, if i2s could be enabled.

#12 Igor

Igor

    Administrator

  • Administrators
  • 2888 posts

Posted 11 April 2016 - 02:41 PM

- Added Hummigboard 2 with working PCI and onboard wireless with legacy kernel 3.14.65. This applies for HB1 & Cubox too.


  • Rui Ribeiro likes this

Want to send me a private message? Stop and think again. If there’s no reason for it to be private, it should be public. Thank you!


#13 Igor

Igor

    Administrator

  • Administrators
  • 2888 posts

Posted 13 April 2016 - 03:35 PM

- Added new (Allwinner updated) kernel source for H3

DEB: http://mirror.igorpe..._4.83_armhf.zip

- Added Banana M2+ server and desktop image based on thio new kernel.


Want to send me a private message? Stop and think again. If there’s no reason for it to be private, it should be public. Thank you!


#14 disconnect

disconnect

    Advanced Member

  • Senior Members
  • PipPipPip
  • 39 posts

Posted 13 April 2016 - 04:28 PM

other bug http://forum.armbian...dware-sunxi-ss/ however it seems it can't be fixed.



#15 zador.blood.stained

zador.blood.stained

    Advanced Member

  • Moderators
  • 1609 posts

Posted 14 April 2016 - 01:55 PM

If this is now a bugs collection thread, then it should be noted that b53 patch for lamobo-r1 is not compatible with kernel 4.5.x and this doesn't apply on top of current patch.

So I think lamobo-r1 mainline should be excluded from new Armbian release until someone fixes this patch manually (though kernel upgrade will break current images too).


Spoiler

#16 Igor

Igor

    Administrator

  • Administrators
  • 2888 posts

Posted 14 April 2016 - 02:14 PM

If this is now a bugs collection thread, then it should be noted that b53 patch for lamobo-r1 is not compatible with kernel 4.5.x and this doesn't apply on top of current patch.

So I think lamobo-r1 mainline should be excluded from new Armbian release until someone fixes this patch manually (though kernel upgrade will break current images too).

 

Let's say it's more release closing thread. Most of bugs are recorded @github, some of them just emerge withing debates. We people are never optimal ;)

 

I know, was checking yesterday for fixes. Perhaps it would be the best if we put out 4.4.7 within this release? I guess we actually don't have many choices since R1 will break within 4.5.x


  • wildcat_paris likes this

Want to send me a private message? Stop and think again. If there’s no reason for it to be private, it should be public. Thank you!


#17 zador.blood.stained

zador.blood.stained

    Advanced Member

  • Moderators
  • 1609 posts

Posted 14 April 2016 - 02:42 PM

I know, was checking yesterday for fixes. Perhaps it would be the best if we put out 4.4.7 within this release? I guess we actually don't have many choices since R1 will break within 4.5.x

It can be fixed, just needs someone interested to spend some time on this  :)

 

There weren't that many changes to sunxi-next kernel (apart from kernel headers compilation "fix") since last release, so it doesn't matter - release 4.4.x, release 4.5.x or don't release anything yet for this branch.


Spoiler

#18 jh3141

jh3141

    Newbie

  • Senior Members
  • Pip
  • 3 posts

Posted 16 April 2016 - 03:05 PM

Speeking as an OPi+2 user who's struggling on with an SD card rather than the onboard MMC and a 1280x1024 monitor with a stretched 720P display, I'm definitely looking forward to this new release.  Keep up the good work. :)



#19 disconnect

disconnect

    Advanced Member

  • Senior Members
  • PipPipPip
  • 39 posts

Posted 20 April 2016 - 09:07 AM

There is a patch for sunxi_ss data corruption: https://lkml.org/lkml/2016/3/23/302

Can be included in 5.1?


  • Igor likes this

#20 Igor

Igor

    Administrator

  • Administrators
  • 2888 posts

Posted 20 April 2016 - 08:04 PM

- SS fix added, tnx

 

Also made:
- initrd @allwinner

- eMMC installer for H3 (you need to build new u-boot for testing)


  • Bernie_O and DEHN.IO like this

Want to send me a private message? Stop and think again. If there’s no reason for it to be private, it should be public. Thank you!


#21 wildcat_paris

wildcat_paris

    Advanced Member

  • Senior Members
  • PipPipPip
  • 499 posts

Posted 24 April 2016 - 06:11 AM

I will be testing R1 b53 switch with latest Armbian updates for kernel 4.5.2

 

edit : the patch for R1 b53 switch is working :) Lamobo-R1 up and running!

 

edit : Thanks Zador.blood.stain


Edited by wildcat_paris, 24 April 2016 - 02:22 PM.
tested

  • Igor and zador.blood.stained like this

#22 Igor

Igor

    Administrator

  • Administrators
  • 2888 posts

Posted 24 April 2016 - 08:51 AM

- added already mentioned R1 patch for 4.5.x. Zador made a great job, again.

- upgraded Guitar kernel

- added / fixed C1. Thanks to Joe for C1 and Armbian mugs! My generic mugs has been replaced  ;)

Attached File  IMG_6066.png   364.83KB   7 downloads

- various small bugfixes


  • wildcat_paris, Bernie_O and jernej like this

Want to send me a private message? Stop and think again. If there’s no reason for it to be private, it should be public. Thank you!


#23 zador.blood.stained

zador.blood.stained

    Advanced Member

  • Moderators
  • 1609 posts

Posted 24 April 2016 - 01:23 PM

- build script: support for Xenial as a build host is 95% ready.

- build script: implemented automatic toolchain selection

  • step 1: if kernel or u-boot needs specific GCC version, add this requirement in LINUXFAMILY case block in configuration.sh

variables KERNEL_NEEDS_GCC and UBOOT_NEEDS_GCC, supported relationships are "<", ">" and "==", GCC version needs to be specified as major.minor.

i.e. 

UBOOT_NEEDS_GCC="< 4.9"
  • step 2: unpack toolchains (i.e. Linaro) in $SRC/toolchains/

For running Linaro 4.8 on x64 build host you need to enable x86 support:

dpkg --add-architecture i386
apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 libtinfo5:i386 zlib1g:i386
  • step 3: run compilation process and check results. Report discovered bugs here on forum on on GitHub.

  • wildcat_paris likes this

Spoiler

#24 Igor

Igor

    Administrator

  • Administrators
  • 2888 posts

Posted 26 April 2016 - 06:37 PM

- Lemaker LCD for NEXT and DEV sunxi, disabled by default

- Add support for IFB and net scheduling for sun7i-legacy

- Udoo next upstream patch 4.4.8

 

Script:

- come cleanup, configurations are subfoldered

- extended_deboostrap becomes default

 

Can I build 5.1 ? - it takes 16 hours for all images :P I know we would soon need 5.11 but anyway. Is there any problem which should be addressed in this week, except H3 auto detection? 


Want to send me a private message? Stop and think again. If there’s no reason for it to be private, it should be public. Thank you!


#25 zador.blood.stained

zador.blood.stained

    Advanced Member

  • Moderators
  • 1609 posts

Posted 26 April 2016 - 06:55 PM

Can I build 5.1 ? - it takes 16 hours for all images :P I know we would soon need 5.11 but anyway. Is there any problem which should be addressed in this week, except H3 auto detection? 

16 hours with old debootstrap or with new?  :)

  • Lime2 problems are probably u-boot related, needs testing by someone
  • sun8i-default headers scripts are still broken, I wasn't able to get any consistent results with them, needs more debugging
  • new desktop stuff wasn't tested much but should work I suppose
  • Looking at u-boot config files, different some H3 devices have different DRAM frequency at least in latest version, so IMO best H3 autodetection for me is no autodetection but separate images, but this is for next release (same for separating banana pi pro from other banana pi boards due to SATA and wireless stuff)
  • eMMC installation should be reworked for using PARTUUIDs in the future
  • headers packages should have postrm action to cleanup /usr/src/linux-headers-... directory (it isn't fully removed because of scripts compilation adding new files)

Spoiler

#26 Igor

Igor

    Administrator

  • Administrators
  • 2888 posts

Posted 26 April 2016 - 07:17 PM

I am now using the new deboostrap option for some time. A lot of time is now consumed on image compressing, which we can afford to have for automated solution. Maybe we can also say default no for compressing images as default for end user?

 

OK, we got some more work to do.  :mellow:  :P

 

  • Lime2 problems are probably u-boot related, needs testing by someone
    I am counting on user feedback here.
  • sun8i-default headers scripts are still broken, I wasn't able to get any consistent results with them, needs more debugging
    OK
  • new desktop stuff wasn't tested much but should work I suppose
    It looks like it works.
  • Looking at u-boot config files, different H3 devices have different DRAM frequency at least in latest version, so IMO best H3 autodetection for me is no autodetection but separate images, but this is for next release (same for separating banana pi pro from other banana pi boards due to SATA and wireless stuff)
    :angry: I guess we don't have much choices.
  • eMMC installation should be reworked for using PARTUUIDs in the future
    and also recreating the file system type
  • headers packages should have postrm action to cleanup /usr/src/linux-headers-... directory (it isn't fully removed because of scripts compilation)
    OK

Want to send me a private message? Stop and think again. If there’s no reason for it to be private, it should be public. Thank you!


#27 bnda

bnda

    Newbie

  • Senior Members
  • Pip
  • 6 posts

Posted 28 April 2016 - 02:50 PM

Is there a possibility to build a Ubuntu-Server 16.04 (Xenial) image for BPI-M1+ with ssh preinstalled, as well?

Of course, will test and give you response and/or will "tinker"on it... :-)

 

Thanks in general for excellent Armbian :-)



#28 Igor

Igor

    Administrator

  • Administrators
  • 2888 posts

Posted 28 April 2016 - 03:08 PM

We might build some Xenial images right after (or with) releasing 5.1.


Want to send me a private message? Stop and think again. If there’s no reason for it to be private, it should be public. Thank you!


#29 zador.blood.stained

zador.blood.stained

    Advanced Member

  • Moderators
  • 1609 posts

Posted 28 April 2016 - 03:16 PM

Is there a possibility to build a Ubuntu-Server 16.04 (Xenial) image for BPI-M1+ with ssh preinstalled, as well?

Of course, will test and give you response and/or will "tinker"on it... :-)

You can build Xenial image with build tools or I can build an image and put in on Dropbox or Google Drive. Do you want legacy or vanilla kernel?

BTW, SSH is always preinstalled.


  • Igor likes this

Spoiler

#30 bnda

bnda

    Newbie

  • Senior Members
  • Pip
  • 6 posts

Posted 29 April 2016 - 09:17 PM

Thanks Igor, would be great.. hope you have time for an image server :-) and in general thanks for doing Armbian...

.. and zador.blood.stained I appreciate it.. With my 10-year-old MacBook 2GB Ram (running linux) will be hard to build it..;-)

I would prefer a vanilla-kernel.. well when it not stress you.. would be nice..

 

Cheers...