Jump to content

Recommended Posts

Posted

Tried to have a new build today and got this

[ error ] ERROR in function compile_kernel [ common.sh:200 ]
[ error ] Kernel was not built [ @host ]
[ o.k. ] Process terminated 

I was trying to build with options

OPi PCPlus, RT patch, jessie, desktop

and got this stopping error message

 

Is there any log with details that I can review in order to pinpoint the exact problem?

 

Posted

Armbian framework builds but it looks like your altered script is somewhere broken ... start with clean everything and provide full log to narrow the problem down. Check folder "debug".

Posted

I dont have any altered script of mine!

 

I do have though a (I2S) patch that I use so far since a few armbian releases without problems and from what I see in the compile screen, it reports as 'succeded'.

 

I'm doing another compile right now without RT and without my patch, so far it goes ok.

 

I'll try to incrementally add the RT first and then my patch and see where it stops.

Posted

And by checking the debug, seen only this problem

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/ov5640-enhanced-driver-with-vfe-drc-table-fix.patch
patch unexpectedly ends in middle of line

nothing else

Posted

First test, Armbian build

OrangePi PCPlus

jessie

desktop

(No RT)

(No my user patch)

Builds ok

 

..but the builded image name contains the "-rt143" whereas the RT patches are not included, I verified it   (lol)

Posted

Second test, Armbian build

OrangePi PCPlus

default (legacy)

jessie

desktop

(No RT)

My user patch included

 

Builds ok

 

..but the builded image name again contains the "-rt143" whereas the RT patches are not included, I verified it   (again lol)

 

@Igor, that looks like a problem, dont know if its only on my machine though,

didnt do a new/fresh complete git clone since I havent modified the armbian's scripts/framework whatsoever, I just started the ./compile.sh and rely on its included update feature.

 

 

Third test, Armbian build

OrangePi PCPlus

default (legacy)

jessie

desktop

RT patches included

(No my user patch)

 

Armbian build stops with the error mentioned!!

 

So, it looks like the RT patches producing this problem.

 

I will do a new git clone, to verify if there is a problem in my machine, but the build will take considerable more time since it will download all the required build components again.

Posted

Did a fresh git clone of armbian repository, did not delete the sources/toolchains generated folders since no changes were made to them.

Fourth test, Armbian build

OrangePi PCPlus

complete image

default (legacy)

jessie

desktop

RT patches included

(No my user patch)

 

Armbian build stops with the error mentioned!!

 

So, it looks again like the RT patches producing this problem.

 

After that, the only test remains is additionally the complete erase of all armbian downloaded components (kernel sources, toolchains) but I think that the result might be the same..

Posted (edited)

@Igor

 

Did a complete fresh git clone of armbian, it re-downloaded all its required components sources/toolchains

 

Fifth test, Armbian build

OrangePi PCPlus

complete image

default (legacy)

jessie

desktop

RT patches included

(Not my user patch)

 

Armbian build stops with the error mentioned!!

 

So,  the RT patches producing this problem.

 

 

output.log

 

 

Displaying message: Preparing host info
Displaying message: Build host OS release xenial info
## BUILD SCRIPT ENVIRONMENT

Version: f5021286a639a6a869cab62de8123d5bbcdaade5

## BUILD CONFIGURATION

Build target:
Board: orangepipcplus
Branch: default

Kernel configuration:
Repository: https://github.com/igorpecovnik/linux
Branch: branch:sun8i
Config file: linux-sun8i-default

U-boot configuration:
Repository: git://git.denx.de/u-boot.git
Branch: tag:v2016.11
Offset: 1
Size: 0

CPU configuration:
480000 - 1296000 with interactive
Displaying message: Starting Armbian build script @host info
Displaying message: Syncing clock host info
Displaying message: Downloading sources  info
Displaying message: Checking git sources u-boot v2016.11 info
Displaying message: Checking out
Displaying message: Checking git sources linux-sun8i sun8i info
Displaying message: Checking out
Displaying message: Checking git sources sunxi-tools master info
Displaying message: Up to date
Displaying message: Cleaning u-boot/v2016.11 info
Displaying message: Cleaning linux-sun8i/sun8i info
Displaying message: Cleaning output/debs for orangepipcplus default info
Displaying message: Started patching process for u-boot u-boot-default info
Displaying message: Looking for user patches in userpatches/u-boot/u-boot-default info
Displaying message: ... a10_a20_dram-clk.patch succeeded info
Displaying message: ... add-awsom-uboot.patch succeeded info
Displaying message: ... add-h3-hdmi-driver-jernej.patch succeeded info
Displaying message: ... add-lime2-emmc.patch succeeded info
Displaying message: ... add-missing-h3-boards.patch succeeded info
Displaying message: ... adjust-h3-dram-frequency.patch succeeded info
Displaying message: ... cubieboard1.patch succeeded info
Displaying message: ... disable-usb-keyboards.patch succeeded info
Displaying message: ... h3-enable-power-led.patch succeeded info
Displaying message: ... orange_pi_zero.patch succeeded info
Displaying message: ... sunxi-boot-splash.patch succeeded info
Displaying message: Compiling uboot 2016.11 info
Displaying message: Compiler version arm-linux-gnueabihf-gcc 5.2.1 info
Displaying message: Building deb linux-u-boot-orangepipcplus_5.24_armhf.deb info
Displaying message: Started patching process for kernel sun8i-default info
Displaying message: Looking for user patches in userpatches/kernel/sun8i-default info
Displaying message: ... 0001-Fix-compilation-problems-with-more-modern-version-of.patch succeeded info
Displaying message: ... 0001-Fix-ump-build.patch succeeded info
Displaying message: ... 0001-UBUNTU-SAUCE-AppArmor-Add-profile-introspection-file.patch succeeded info
Displaying message: ... 0002-UBUNTU-SAUCE-AppArmor-basic-networking-rules.patch succeeded info
Displaying message: ... 0003-UBUNTU-SAUCE-apparmor-Add-the-ability-to-mediate-mou.patch succeeded info
Displaying message: ... 0006-sunxi-disp2-FBIO_WAITFORVSYNC-as-a-modifier-for-FBIO.patch succeeded info
Displaying message: ... 0010-Import-GMAC_PHY_POWER-support-from-the-loboris-sourc.patch succeeded info
Displaying message: ... 0011-gpu-drm-Add-Mali-DX910-SW-99002-r2p4-02rel1.patch succeeded info
Displaying message: ... 0012-drm-mali-fix-for-3.4.patch succeeded info
Displaying message: ... 0013-gpu-drm-mali_drv-fixed-integration-with-3.x-kernels-.patch succeeded info
Displaying message: ... 0015-Fix-paths-to-files-in-src-erroneously-searched-for-i.patch succeeded info
Displaying message: ... 0016-gcc5-fixes.patch succeeded info
Displaying message: ... 0017-linux-sunxi-add-missing-compiler-gcc5.h-from-master.patch succeeded info
Displaying message: ... 0018-orangepi_h3_gc2035_camera.patch succeeded info
Displaying message: ... 0023-WIP-remove-vsync_task-from-sunxi-fb-driver.patch succeeded info
Displaying message: ... 0024-pwm-sunxi-support-for-H3-as-appears-in-loboris-initi.patch succeeded info
Displaying message: ... 0025-h3-hdmi-table-reformatting-for-readability-from-lobo.patch succeeded info
Displaying message: ... 0026-h3-hdmi-additional-mode-800x480p-from-lobodis-initia.patch succeeded info
Displaying message: ... 0027-h3-hdmi-HDMI_EDID-from-loboris-initial-source-import.patch succeeded info
Displaying message: ... 0028-lower-minimal-dram-clock-to-132-mhz.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.39-40.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.40-41.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.41-42.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.42-43.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.43-44.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.44-45.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.45-46.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.46-47.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.47-48.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.48-49.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.49-50.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.50-51.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.51-52.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.52-53.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.53-54.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.54-55.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.55-56.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.56-57.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.57-58.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.58-59.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.59-60.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.60-61.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.61-62.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.62-63.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.63-64.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.64-65.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.65-66.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.66-67.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.67-68.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.68-69.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.69-70.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.70-71.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.71-72.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.72-73.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.73-74.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.74-75.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.75-76.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.76-77.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.77-78.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.78-79.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.79-80.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.80-81.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.81-82.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.82-83.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.83-84.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.84-85.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.85-86.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.86-87.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.87-88.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.88-89.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.89-90.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.90-91.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.91-92.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.92-93.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.93-94.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.94-95.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.95-96.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.96-97.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.97-98.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.98-99.patch succeeded info
Displaying message: ... 02-0001-patch-3.4.99-100.patch succeeded info
Displaying message: ... 02-0002-patch-3.4.100-101.patch succeeded info
Displaying message: ... 02-0002-patch-3.4.101-102.patch succeeded info
Displaying message: ... 02-0002-patch-3.4.102-103.patch succeeded info
Displaying message: ... 02-0002-patch-3.4.103-104.patch succeeded info
Displaying message: ... 02-0002-patch-3.4.104-105.patch succeeded info
Displaying message: ... 02-0002-patch-3.4.105-106.patch succeeded info
Displaying message: ... 02-0002-patch-3.4.106-107.patch succeeded info
Displaying message: ... 02-0002-patch-3.4.107-108.patch succeeded info
Displaying message: ... 02-0003-linux-sunxi-3.4.108-overlayfs.patch succeeded info
Displaying message: ... 02-0004-patch-3.4.108-109.patch succeeded info
Displaying message: ... 02-0004-patch-3.4.109-110.patch succeeded info
Displaying message: ... 02-0004-patch-3.4.110-111.patch succeeded info
Displaying message: ... 02-0004-patch-3.4.111-112.patch succeeded info
Displaying message: ... 02-0004-patch-3.4.112-113.patch succeeded info
Displaying message: ... 02-0005-backport-firmware-loader.patch succeeded info
Displaying message: ... 02-0007-fbdev-fixes.patch.patch succeeded info
Displaying message: ... 02-0008-backport-lirc-sunxi-driver.patch succeeded info
Displaying message: ... 02-0009-unify-ethernet-settings.patch succeeded info
Displaying message: ... 02-0010-export_read_current_timer.patch succeeded info
Displaying message: ... 02-0011-fbtft_for_older.patch succeeded info
Displaying message: ... 02-0013-w1_h3.patch succeeded info
Displaying message: ... 02-0014-no_dev_console.patch succeeded info
Displaying message: ... 02-0015-openelec-audio-and-video-fixes.patch succeeded info
Displaying message: ... 02-rtl2832.patch succeeded info
Displaying message: ... 30-real-time143-full-plus-rt-fixes.patch succeeded info
Displaying message: ... add-mali-r3p0-fixed.patch succeeded info
Displaying message: ... add_8189es_v4.3.18.1_15373.20151005.patch succeeded info
Displaying message: ... add_8189fs_v4.3.24_15589.20151023.patch succeeded info
Displaying message: ... bash_to_afterinstall.patch succeeded info
Displaying message: ... cedar-remove-insecure-code.patch succeeded info
Displaying message: ... cpufreq-add-more-frequencies.patch succeeded info
Displaying message: ... disp2-fb-force-soft-cursor.patch succeeded info
Displaying message: ... enable_g_ether.patch succeeded info
Displaying message: ... fix-kswapd.patch succeeded info
Displaying message: ... friendlyarm_audio_able_to_handle_situation_without_audio_pa_ctrl_.patch succeeded info
Displaying message: ... friendlyarm_crypto_add_CMAC_support_to_CryptoAPI.patch succeeded info
Displaying message: ... friendlyarm_fix_nanopi-air_sdcard_detect_mode.patch succeeded info
Displaying message: ... friendlyarm_not_print_debug_info_when_camera_is_detached.patch succeeded info
Displaying message: ... friendlyarm_watchdog_not_print_err_info_when_timeout_is_invalid.patch succeeded info
Displaying message: ... linux-200-wifi-mac-fix.patch succeeded info
Displaying message: ... linux-202-bcmdhd-add-wow-selection.patch succeeded info
Displaying message: ... linux-203-rf_pm-auto-power-on.patch succeeded info
Displaying message: ... linux-509-support-for-dvbsky-usb-receiver.patch succeeded info
Displaying message: ... linux-82-fix-build-on-non-amd64-hosts.patch succeeded info
Displaying message: ... linux-88-enable-tv.patch succeeded info
Displaying message: ... m2-plus-ap6212-wireless.patch succeeded info
Displaying message: ... m2-update-bcmdhd-driver.patch succeeded info
Displaying message: ... make-irq-set-affinity-hint-work-properly.patch succeeded info
Displaying message: ... matrix-support-Matrix-starter-kit.patch succeeded info
Displaying message: ... ov5640-enhanced-driver-with-vfe-drc-table-fix.patch succeeded info
Displaying message: ... packaging-3.4.x-DEFAULT-with-postinstall-scripts.patch succeeded info
Displaying message: ... packaging-text-fix.patch succeeded info
Displaying message: ... remove-sunxi-debug.patch succeeded info
Displaying message: ... sun8i-led-behaviour-through-fex.patch succeeded info
Displaying message: ... sun8i-simple-cpu-corekeeper.patch succeeded info
Displaying message: ... tbs5520.patch succeeded info
Displaying message: ... wdt_reduce_logging.patch succeeded info
Displaying message: ... wireless-opi-zero.patch succeeded info
Displaying message: ... z-0003-add-additional-video-modes.patch succeeded info
Displaying message: Compiling default kernel 3.4.113 info
Displaying message: Compiler version arm-linux-gnueabihf-gcc 5.4.0 info
Displaying message: Using kernel config file lib/config/kernel/linux-sun8i-default.config info
Displaying message: ERROR in function compile_kernel common.sh:200 err
Displaying message: Kernel was not built @host err
Displaying message: Process terminated  info

 

 

and patching.log

 

 

Processing file /home/christos/armbian/lib/patch/u-boot/u-boot-default/a10_a20_dram-clk.patch

Processing file /home/christos/armbian/lib/patch/u-boot/u-boot-default/add-awsom-uboot.patch

Processing file /home/christos/armbian/lib/patch/u-boot/u-boot-default/add-h3-hdmi-driver-jernej.patch

Processing file /home/christos/armbian/lib/patch/u-boot/u-boot-default/add-lime2-emmc.patch

Processing file /home/christos/armbian/lib/patch/u-boot/u-boot-default/add-missing-h3-boards.patch

Processing file /home/christos/armbian/lib/patch/u-boot/u-boot-default/adjust-h3-dram-frequency.patch

Processing file /home/christos/armbian/lib/patch/u-boot/u-boot-default/cubieboard1.patch

Processing file /home/christos/armbian/lib/patch/u-boot/u-boot-default/disable-usb-keyboards.patch

Processing file /home/christos/armbian/lib/patch/u-boot/u-boot-default/h3-enable-power-led.patch

Processing file /home/christos/armbian/lib/patch/u-boot/u-boot-default/orange_pi_zero.patch

Processing file /home/christos/armbian/lib/patch/u-boot/u-boot-default/sunxi-boot-splash.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/0001-Fix-compilation-problems-with-more-modern-version-of.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/0001-Fix-ump-build.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/0001-UBUNTU-SAUCE-AppArmor-Add-profile-introspection-file.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/0002-UBUNTU-SAUCE-AppArmor-basic-networking-rules.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/0003-UBUNTU-SAUCE-apparmor-Add-the-ability-to-mediate-mou.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/0006-sunxi-disp2-FBIO_WAITFORVSYNC-as-a-modifier-for-FBIO.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/0010-Import-GMAC_PHY_POWER-support-from-the-loboris-sourc.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/0011-gpu-drm-Add-Mali-DX910-SW-99002-r2p4-02rel1.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/0012-drm-mali-fix-for-3.4.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/0013-gpu-drm-mali_drv-fixed-integration-with-3.x-kernels-.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/0015-Fix-paths-to-files-in-src-erroneously-searched-for-i.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/0016-gcc5-fixes.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/0017-linux-sunxi-add-missing-compiler-gcc5.h-from-master.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/0018-orangepi_h3_gc2035_camera.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/0023-WIP-remove-vsync_task-from-sunxi-fb-driver.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/0024-pwm-sunxi-support-for-H3-as-appears-in-loboris-initi.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/0025-h3-hdmi-table-reformatting-for-readability-from-lobo.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/0026-h3-hdmi-additional-mode-800x480p-from-lobodis-initia.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/0027-h3-hdmi-HDMI_EDID-from-loboris-initial-source-import.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/0028-lower-minimal-dram-clock-to-132-mhz.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.39-40.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.40-41.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.41-42.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.42-43.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.43-44.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.44-45.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.45-46.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.46-47.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.47-48.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.48-49.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.49-50.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.50-51.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.51-52.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.52-53.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.53-54.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.54-55.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.55-56.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.56-57.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.57-58.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.58-59.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.59-60.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.60-61.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.61-62.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.62-63.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.63-64.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.64-65.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.65-66.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.66-67.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.67-68.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.68-69.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.69-70.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.70-71.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.71-72.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.72-73.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.73-74.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.74-75.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.75-76.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.76-77.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.77-78.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.78-79.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.79-80.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.80-81.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.81-82.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.82-83.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.83-84.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.84-85.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.85-86.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.86-87.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.87-88.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.88-89.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.89-90.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.90-91.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.91-92.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.92-93.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.93-94.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.94-95.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.95-96.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.96-97.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.97-98.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.98-99.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0001-patch-3.4.99-100.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0002-patch-3.4.100-101.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0002-patch-3.4.101-102.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0002-patch-3.4.102-103.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0002-patch-3.4.103-104.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0002-patch-3.4.104-105.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0002-patch-3.4.105-106.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0002-patch-3.4.106-107.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0002-patch-3.4.107-108.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0003-linux-sunxi-3.4.108-overlayfs.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0004-patch-3.4.108-109.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0004-patch-3.4.109-110.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0004-patch-3.4.110-111.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0004-patch-3.4.111-112.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0004-patch-3.4.112-113.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0005-backport-firmware-loader.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0007-fbdev-fixes.patch.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0008-backport-lirc-sunxi-driver.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0009-unify-ethernet-settings.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0010-export_read_current_timer.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0011-fbtft_for_older.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0013-w1_h3.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0014-no_dev_console.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-0015-openelec-audio-and-video-fixes.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/02-rtl2832.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/30-real-time143-full-plus-rt-fixes.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/add-mali-r3p0-fixed.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/add_8189es_v4.3.18.1_15373.20151005.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/add_8189fs_v4.3.24_15589.20151023.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/bash_to_afterinstall.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/cedar-remove-insecure-code.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/cpufreq-add-more-frequencies.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/disp2-fb-force-soft-cursor.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/enable_g_ether.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/fix-kswapd.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/friendlyarm_audio_able_to_handle_situation_without_audio_pa_ctrl_.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/friendlyarm_crypto_add_CMAC_support_to_CryptoAPI.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/friendlyarm_fix_nanopi-air_sdcard_detect_mode.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/friendlyarm_not_print_debug_info_when_camera_is_detached.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/friendlyarm_watchdog_not_print_err_info_when_timeout_is_invalid.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/linux-200-wifi-mac-fix.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/linux-202-bcmdhd-add-wow-selection.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/linux-203-rf_pm-auto-power-on.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/linux-509-support-for-dvbsky-usb-receiver.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/linux-82-fix-build-on-non-amd64-hosts.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/linux-88-enable-tv.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/m2-plus-ap6212-wireless.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/m2-update-bcmdhd-driver.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/make-irq-set-affinity-hint-work-properly.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/matrix-support-Matrix-starter-kit.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/ov5640-enhanced-driver-with-vfe-drc-table-fix.patch
patch unexpectedly ends in middle of line

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/packaging-3.4.x-DEFAULT-with-postinstall-scripts.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/packaging-text-fix.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/remove-sunxi-debug.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/sun8i-led-behaviour-through-fex.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/sun8i-simple-cpu-corekeeper.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/tbs5520.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/wdt_reduce_logging.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/wireless-opi-zero.patch

Processing file /home/christos/armbian/lib/patch/kernel/sun8i-default/z-0003-add-additional-video-modes.patch


 

 

Edited by zador.blood.stained
Added spoiler tags
Posted

Yes, it looks like RT patch make troubles ... but since it's disabled by default, this issue is consistent with my statement "your altered script is somewhere broken:P Clean script, without altering anything, works - topic title is somehow misleading.

 

Two findings:
Kernel name stays linux-image-rt143-sun8 even patch is removed (that's odd) and recent apparmor patches are responsible for breaking compilation with RT patch. TMP workaround: removing sources if you want to compile without RT and remove apparmor patches.

Posted

@Igor,

 

It looks the current RT patches status in relation to what has been newly committed in Armbian gives this problem.

 

Regarding the .img naming did some tests this morning

In sequence:

Cleaned and reloaded 'lib', deleted 'sources'  and they got re-downloaded via compile.sh.

After that, tried a build and the .img name is ok, without -rt143

Tried to do a RT build and it fail with the error message mentioned

Then tried to do a plain build and it succeeded but the name contains the -rt143..

Deleted the .config file from kernel sources and tried to do a plain build, again it generated a .img with -rt143

It looks that after I try to build even once with the RT, from then on the .img name contains nomatter what the -rt143.

 

Only when I completely delete the 'sources' a new plain build gives proper .img name.

 

 

 

Question

If I do a build with RT patches enabled, I need to delete the sources after that if I want a new build without RT ?

 

 

 

Yes, it looks like RT patch make troubles ... but since it's disabled by default, this issue is consistent with my statement "your altered script is somewhere broken:P Clean script, without altering anything, works - topic title is somehow misleading.

 

 

 

 

Please add 'with RT patches' in the title, I cannot do that now.

 

 

 

 

Two findings:
Kernel name stays linux-image-rt143-sun8 even patch is removed (that's odd) and recent apparmor patches are responsible for breaking compilation with RT patch. TMP workaround: removing sources if you want to compile without RT and remove apparmor patches.

 
 
Getting Armbian without a specific commit is not so easy (at least for me), so I have to wait until you guys make the Armbian framework able to have RT again.
Hopefully that will be done soon..
 
 
 
Posted

@Igor

could you please let me know this?

 

 

Question

If I do a build with RT patches enabled, I need to delete the sources after that if I want a new build without RT ?

 

 

 

 

Also, I think I've stumbled for some time now on something else (which might again be RT-pertinent) but could not clearly identify the cause of it, now it looks more like RT related.

There is a bit of weird behaviour on writes/reads. I had quite a few issues in 5.24 on using the nand-sata-install script in OPi PCPlus eMMC,

that is the cause why I created this thread here (no one replied though..)

-> https://forum.armbian.com/index.php/topic/2890-opi-pcplus-emmc-testing-utility/

I tried using the nand-sata-install but was getting really a lot of memory write timeouts flooding on screen, tried quite a few times (used different and many SDs just in case) and eventually at some point the system completed the operation, yet writes on eMMC filesystem were really non-stable..

That was made with an image having been builded succesfuly with RT patches at the time (actually since a few armbian releases all my images are/where RT..)

 

Now, understanding that might be some RT issue lurking even earlier, I tried the same operation with an armbian build image without RT patches and it works ok! it writes correctly with nand-sata-install script on eMMC!

 

So, it looks to me that there has to be some connection between RT armbian patches and the misbehaviour I saw there.

I'm saying this just for your information to have in mind if you go into re-looking at RT patches.

 

 

/Edit

So far all RT images created were with option 5, full preemptive RT, dont know if this makes an issue, someone with more RT experience might give us some insight on RT options selected in kernel configure. Or what could be the most appropriate for these types of boards.

Posted

Ok,

 

Thanks @sanctus , the kernel option specify [1..5] in RT is quite crucial as it seems.

In earlier builds, until 27/Oct, Armbian got build ok (but eventually probably was giving issues as later on found out) with option 5 in kernel RT configure.

Now, in latest releases (5.24) it reports error even in build phase.

 

Tried the RT option 4, so far with OPi ONE & PCPlus, in both, armbian is building now ok and the timeout errors I got previously now they have gone.

At least found out that the RT option plays a significant role in both the armbian build itself and in the filesystem behavior later on. 

 

@Igor ,  from the latest tests, I see stable performance with the current RT patches up to option 4 for OPi ONE & PCPlus.

Posted

@Igor ,  from the latest tests, I see stable performance with the current RT patches up to option 4 for OPi ONE & PCPlus.

 

I can confirm the same as of now with version 5.26, option 4 works and option 5 fails.

This is on NanoPi Air (makes no difference anyway).

 

The rt patch has changed meanwhile and the file to enable is now: lib/patch/kernel/sun8i-default/30-real-time143-full-plus-rt-fixes.patch.disabled

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines