vmartinmora Posted February 5, 2016 Posted February 5, 2016 Hi there, I have a hummingboard edge and I need to add a RTL8111 based PCIe card. As I saw in the iMX6Rex web I need to add some drivers to the kernel. http://www.imx6rex.com/software/imx6-rex-basic-hw-verification-tests/#pcie I tried to modify the file linux-cubox-default.config but when I try to compile there are errors. How could I do this? Regards.
vmartinmora Posted February 11, 2016 Author Posted February 11, 2016 Displaying message: Preparing host info Config: linux-cubox-default Kernel source: https://github.com/linux4kix/linux-linaro-stable-mx6 Branch: linux-linaro-lsk-v3.14-mx6 linuxsource: linux-cubox Offset: 1 bootsize: 0 bootloader: https://github.com/SolidRun/u-boot-imx6 bootsource: u-boot-cubox bootbranch: imx6 CPU 396000 / 996000 with interactive 11.02.2016 06:03:20 Armbian 5.00 Cubox-i Debian default Displaying message: Starting Armbian build script @host info Displaying message: Compiling kernel cubox-i info Displaying message: Syncing clock host info Displaying message: source downloading @host info Displaying message: ... updating u-boot-cubox info Displaying message: ... updating linux-cubox info Displaying message: ... updating sunxi-tools info Displaying message: ... updating rt8192cu info Displaying message: ... updating sunxi-display-changer info Displaying message: Cleaning /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/sources/u-boot-cubox/imx6 info Displaying message: Cleaning /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/sources/linux-cubox/linux-linaro-lsk-v3.14-mx6 info Displaying message: Cleaning /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/output/debs info Displaying message: Started patching process for kernel cubox-default 3.14.14 info Displaying message: Looking for user patches in userpatches/kernel/cubox-default info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/01-packaging-cubox.patch cubox-default 3.14.14 Displaying message: ... 01-packaging-cubox.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/02-headers-packing.patch cubox-default 3.14.14 Displaying message: ... 02-headers-packing.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/403-ath_regd_optional.patch cubox-default 3.14.14 patch unexpectedly ends in middle of line Displaying message: ... 403-ath_regd_optional.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/fbtft_drivers.patch cubox-default 3.14.14 Displaying message: ... fbtft_drivers.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/hb-i2c-spi.patch cubox-default 3.14.14 Displaying message: ... hb-i2c-spi.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.14-15.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.14-15.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.15-16.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.15-16.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.16-17.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.16-17.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.17-18.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.17-18.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.18-19.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.18-19.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.19-20.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.19-20.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.20-21.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.20-21.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.21-22.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.21-22.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.22-23.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.22-23.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.23-24.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.23-24.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.24-25.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.24-25.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.25-26.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.25-26.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.26-27.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.26-27.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.27-28.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.27-28.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.28-29.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.28-29.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.29-30.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.29-30.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.30-31.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.30-31.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.31-32.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.31-32.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.32-33.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.32-33.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.33-34.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.33-34.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.34-35.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.34-35.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.35-36.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.35-36.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.36-37.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.36-37.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.37-38.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.37-38.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.38-39.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.38-39.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.39-40.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.39-40.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.40-41.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.40-41.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.41-42.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.41-42.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.42-43.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.42-43.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.43-44.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.43-44.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.44-45.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.44-45.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.45-46.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.45-46.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.46-47.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.46-47.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.47-48.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.47-48.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.48-49.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.48-49.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.49-50.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.49-50.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.50-51.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.50-51.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.51-52.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.51-52.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.52-53.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.52-53.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.53-54.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.53-54.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.54-55.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.54-55.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.55-56.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.55-56.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.56-57.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.56-57.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.57-58.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.57-58.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.58-59.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.58-59.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/patch-3.14.59-60.patch cubox-default 3.14.14 Displaying message: ... patch-3.14.59-60.patch succeeded info /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/lib/patch/kernel/cubox-default/unlock_atheros_regulatory_restrictions.patch cubox-default 3.14.14 Displaying message: ... unlock_atheros_regulatory_restrictions.patch succeeded info Displaying message: Started patching process for u-boot u-boot-cubox-default 2013.10-rc4 info Displaying message: Looking for user patches in userpatches/u-boot/u-boot-cubox-default info Displaying message: Compiling uboot. Please wait. 2013.10-rc4 info 11.02.2016 06:14:31 /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/sources/u-boot-cubox/imx6/mx6_cubox-i_config Displaying message: Target directory /media/catec/0d718c3c-d8af-4458-a897-9dc4c8dab757/test/output/debs/ info Displaying message: Building deb linux-u-boot-cubox-i_5.00_armhf.deb info Displaying message: Compiling default kernel @host info Displaying message: Using kernel config file lib/config/linux-cubox-default.config info Displaying message: Kernel was not built @host err Here is the log.
zador.blood.stained Posted February 11, 2016 Posted February 11, 2016 @vmartinmora Please add PROGRESS_LOG_TO_FILE=yes to your compile.sh (on new line, i.e. after KERNEL_ONLY=yes), run compilation again then find and paste here error messages from output/debug/compilation.log Edit: I checked your link, and these instructions don't match kernel configuration menu for cubox-default branch. So what did you actually change in kernel config?
Recommended Posts