2 2
Igor

Prepare v5.1 & v2016.04

Recommended Posts

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/igorpecovnik/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

Share this post


Link to post
Share on other sites

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)

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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) 

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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).

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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. :)

Share this post


Link to post
Share on other sites

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
tested

Share this post


Link to post
Share on other sites

- 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  ;)

IMG_6066.png

- various small bugfixes

Share this post


Link to post
Share on other sites

- 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.

Share this post


Link to post
Share on other sites

- 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? 

Share this post


Link to post
Share on other sites

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)

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 :-)

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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...

 

 

 

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
2 2