Schwemmlandebene Posted March 11, 2016 Posted March 11, 2016 Could anybody confirm building Bananapim2 jessie next exits after compiling u-boot around line 142-146 in common.sh? wc: ... /output/debs/linux-u-boot-next-bananapim2_5.05_armhf.deb: no such file or directory The debs directory is empty. (I didn't check for hidden files.)
Nick Posted March 11, 2016 Posted March 11, 2016 I had Jessie Next fail while building Uboot just now, but that was for orangepih3. I'm in the process of cleaning out the directory tree and starting again from scratch in case there is anything left over from the BPI M1+ builds that I have been doing recently Already up-to-date. M debootstrap.sh Already on 'master' Your branch is up-to-date with 'origin/master'. [ o.k. ] Command line: setting BUILD_DESKTOP to [ no ] [ o.k. ] Command line: setting RELEASE to [ jessie ] [ o.k. ] Command line: setting BRANCH to [ next ] [ o.k. ] Command line: setting PROGRESS_DISPLAY to [ plain ] [ o.k. ] Command line: setting PROGESS_LOG_TO_FILE to [ yes ] [ o.k. ] Command line: setting BOARD to [ orangepih3 ] [ o.k. ] Command line: setting PROGRESS_DISPLAY to [ plain ] [ o.k. ] Command line: setting COMPRESS_OUTPUTIMAGE to [ no ] [ o.k. ] Command line: setting DEST_LANG to [ en_GB.UTF-8 ] [ o.k. ] Command line: setting EXTENDED_DEBOOTSTRAP to [ yes ] [ o.k. ] Command line: setting APT_PROXY_ADDR to [ nas-1.local:3142 ] [ o.k. ] Preparing [ host ] [ o.k. ] Using user configuration override [ userpatches/lib.config ] [ o.k. ] Starting Armbian build script [ @host ] [ o.k. ] Building [ Armbian 5.05 Orangepih3 Debian jessie next ] [ o.k. ] Syncing clock [ host ] [ o.k. ] source downloading [ @host ] [ o.k. ] ... creating a shallow clone [ u-boot v2016.03-rc2 ] Cloning into '/home/nick/hg/p158-linux-images/sources/u-boot/v2016.03-rc2'... remote: Counting objects: 12306, done. remote: Compressing objects: 100% (11140/11140), done. remote: Total 12306 (delta 2197), reused 4257 (delta 941) Receiving objects: 100% (12306/12306), 15.53 MiB | 5.00 KiB/s, done. Resolving deltas: 100% (2197/2197), done. Checking connectivity... done. [ o.k. ] ... updating [ linux-vanilla ] [ o.k. ] ... updating [ sunxi-tools ] [ o.k. ] ... updating [ rt8192cu ] [ o.k. ] ... updating [ sunxi-display-changer ] [ o.k. ] ... updating [ mt7601 ] [ o.k. ] Compiling sunxi tools [ @host & target ] [ o.k. ] Cleaning [ /home/nick/hg/p158-linux-images/sources/u-boot/v2016.03-rc2 ] [ o.k. ] Cleaning [ /home/nick/hg/p158-linux-images/sources/linux-vanilla/v4.4.5 ] [ o.k. ] Cleaning [ /home/nick/hg/p158-linux-images/output/debs ] [ o.k. ] Started patching process for [ kernel sunxi-next 4.4.5 ] [ o.k. ] Looking for user patches in [ userpatches/kernel/sunxi-next ] [ o.k. ] ... 0010-bananapi_m1_plus_dts.patch [ succeeded ] [ o.k. ] ... 0012-bananapi_r1_dts.patch [ succeeded ] [ o.k. ] ... 0013-lamobo_r1_dts.patch [ succeeded ] [ o.k. ] ... 14-bpi-spi.patch [ succeeded ] [ o.k. ] ... 15-bpi-disable-uart.patch [ succeeded ] [ o.k. ] ... OrangePI-01-h3-2733b9fa0ad18f1deb240d8d1ea92957d7f2270d.patch [ succeeded ] [ o.k. ] ... OrangePI-02-h3-3bff045590a3dd40341398b4ba15859fb9f7001e.patch [ succeeded ] [ o.k. ] ... OrangePI-03-h3-08c956b56c98e500ac79ac4957025c2c05460fad.patch [ succeeded ] [ o.k. ] ... OrangePI-04-h3-e49065f413b616b6c2fa794e20510f821361f08d.patch [ succeeded ] [ o.k. ] ... OrangePI-05-h3-1832b6cde1381ac783d5921c2c916bf1423aa60f.patch [ succeeded ] [ o.k. ] ... OrangePI-06-h3-4e776aacfc9f723783806246cea618f413db55e3.patch [ succeeded ] [ o.k. ] ... OrangePI-07-h3-c54e26726f75e388d39aa80e604774b0ea6d5a2f.patch [ succeeded ] [ o.k. ] ... OrangePI-08-h3-fe78c12c1a4f4f271d0cc8b2f5eb341c95f40c66.patch [ succeeded ] [ o.k. ] ... OrangePI-09-h3-cca1f932be385e576d975836895188fa55c52945.patch [ succeeded ] [ o.k. ] ... OrangePI-10-h3-3bde21d14f6521dc237a952ae2f6d3dea982f786.patch [ succeeded ] [ o.k. ] ... OrangePI-11-h3-303ed9315574a4764eba097b5c2fe00cd5a90e8f.patch [ succeeded ] [ o.k. ] ... OrangePI-12-h3-5b030647d83ab4680901d42cb115d9dc95b22440.patch [ succeeded ] [ o.k. ] ... OrangePI-13-h3-f31f74a2c3070ba35e9eea03f7afda86d3e715ee.patch [ succeeded ] [ o.k. ] ... OrangePI-14-h3-42bbc4bb30ac2e1abaf34357d6e122d8881d6d17.patch [ succeeded ] [ o.k. ] ... axp20x-sysfs-interface.patch [ succeeded ] [ o.k. ] ... bananapi-codec.patch [ succeeded ] [ o.k. ] ... bananapi-r1-switch-driver.patch [ succeeded ] [ o.k. ] ... bananapipro-wifi-codec-led-fix.patch [ succeeded ] [ o.k. ] ... brcmfmac_ap_banana_ct.patch [ succeeded ] [ o.k. ] ... cubieboard_enable_mmc0_trigger_to_green_LED.patch [ succeeded ] [ o.k. ] ... cubietruck_enable_mmc0_trigger_to_green_LED.patch [ succeeded ] [ o.k. ] ... headers-packing.patch [ succeeded ] [ o.k. ] ... orangepi-mini-codec.patch [ succeeded ] [ o.k. ] ... packaging-next.patch [ succeeded ] [ o.k. ] ... pcDuino3-nano-codec.patch [ succeeded ] [ o.k. ] ... spi_allow_transfer_larger.patch [ succeeded ] [ o.k. ] ... sunxi-audio-capture-allin1.patch [ succeeded ] [ o.k. ] ... support_for_second_mmc_cubieboard2.patch [ succeeded ] [ o.k. ] Started patching process for [ u-boot u-boot-next 2016.03-rc2 ] [ o.k. ] Looking for user patches in [ userpatches/u-boot/u-boot-next ] [ o.k. ] ... add-awsom-uboot.patch [ succeeded ] [ o.k. ] ... add-cubieboard4.patch [ succeeded ] [ warn ] ... bananapi-enable-ldo4.patch [ failed ] [ o.k. ] ... u-boot-02-support-cheap-mmc.patch [ succeeded ] [ o.k. ] Compiling uboot. Please wait. [ 2016.03-rc2 ] scripts/kconfig/conf --silentoldconfig Kconfig *** *** Configuration file ".config" not found! *** *** Please run some configurator (e.g. "make oldconfig" or *** "make menuconfig" or "make xconfig"). *** make[2]: *** [silentoldconfig] Error 1 make[1]: *** [silentoldconfig] Error 2 make: *** No rule to make target `include/config/auto.conf', needed by `include/config/uboot.release'. Stop. [ o.k. ] Target directory [ /home/nick/hg/p158-linux-images/output/debs/ ] [ o.k. ] Building deb [ linux-u-boot-next-orangepih3_5.05_armhf.deb ] [ error ] ERROR in function compile_uboot [ common.sh:146 ] [ error ] Building u-boot failed, check configuration [ o.k. ] Process terminated
Nick Posted March 11, 2016 Posted March 11, 2016 Update, building Uboot just failed again after downloading all sources from scratch
Schwemmlandebene Posted March 11, 2016 Author Posted March 11, 2016 Thanks for your reply. My log looks a bit different. [snip] [[0;32m o.k. [0m] Compiling uboot. Please wait. [[0;33m 2016.01 [0m] scripts/kconfig/conf --silentoldconfig Kconfig CHK include/config.h GEN include/autoconf.mk GEN include/autoconf.mk.dep [snip] CC spl/lib/strto.o LD spl/lib/built-in.o LD spl/u-boot-spl OBJCOPY spl/u-boot-spl.bin MKSUNXI spl/sunxi-spl.bin CAT u-boot-sunxi-with-spl.bin [[0;32m o.k. [0m] Target directory [[0;33m /home/pibuilder/m2-armbian/output/debs/ [0m] [[0;32m o.k. [0m] Building deb [[0;33m linux-u-boot-next-bananapim2_5.05_armhf.deb [0m] wc: /home/pibuilder/m2-armbian/output/debs/linux-u-boot-next-bananapim2_5.05_armhf.deb: No such file or directory rm: cannot remove '/home/pibuilder/m2-armbian/output/debs/linux-u-boot-next-bananapim2_5.05_armhf.deb': No such file or directory [[0;31m error [0m] ERROR in function compile_uboot [[0;33m common.sh:146 [0m] [[0;31m error [0m] Building u-boot failed, check configuration [[0;32m o.k. [0m] Process terminated
Nick Posted March 11, 2016 Posted March 11, 2016 Interesting that there are 2 different issues, sadly I don't know enough about uboot or the build process to look at this at least not tonight. I have just tried building BPI Pro and that seems to have built fine so it would appear to be board / SoC specific. Hopefully one of the devs will be along soon to help out :-)
zador.blood.stained Posted March 11, 2016 Posted March 11, 2016 For me bananapim2 and orangepih3 u-boot compilation works. Please try removing redirection to /dev/null here: https://github.com/igorpecovnik/lib/blob/master/common.sh#L37 and post output after "Compiling u-boot. Please wait" message.
Nick Posted March 11, 2016 Posted March 11, 2016 New Line 37: make $CTHREADS $BOOTCONFIG CROSS_COMPILE=arm-linux-gnueabihf- Output for Armbian: [ o.k. ] Compiling uboot. Please wait. [ 2016.03-rc2 ] HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf *** *** Can't find default configuration "arch/../configs/orangepi_h3_defconfig"! *** make[1]: *** [orangepi_h3_defconfig] Error 1 make: *** [orangepi_h3_defconfig] Error 2 scripts/kconfig/conf --silentoldconfig Kconfig *** *** Configuration file ".config" not found! *** *** Please run some configurator (e.g. "make oldconfig" or *** "make menuconfig" or "make xconfig"). *** make[2]: *** [silentoldconfig] Error 1 make[1]: *** [silentoldconfig] Error 2 make: *** No rule to make target `include/config/auto.conf', needed by `include/config/uboot.release'. Stop. [ o.k. ] Target directory [ /home/nick/hg/p158-linux-images/output/debs/ ] [ o.k. ] Building deb [ linux-u-boot-next-orangepih3_5.05_armhf.deb ] [ error ] ERROR in function compile_uboot [ common.sh:146 ] [ error ] Building u-boot failed, check configuration [ o.k. ] Process terminated mv: cannot move ‘output/images/Armbian_5.05_Bananapipro_Debian_jessie_4.4.5.raw’ to ‘./Armbian_5.05_Bananapipro_Debian_jessie_4.4.5.raw’: Permission denied
Schwemmlandebene Posted March 11, 2016 Author Posted March 11, 2016 New line 37 and 138. [[0;32m o.k. [0m] Compiling uboot. Please wait. [[0;33m 2016.01 [0m] HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf # # configuration written to .config # scripts/kconfig/conf --silentoldconfig Kconfig CHK include/config.h GEN include/autoconf.mk GEN spl/include/autoconf.mk GEN include/autoconf.mk.dep CHK include/config/uboot.release CHK include/generated/timestamp_autogenerated.h UPD include/generated/timestamp_autogenerated.h CFG u-boot.cfg CHK include/generated/version_autogenerated.h CC lib/asm-offsets.s CC arch/arm/lib/asm-offsets.s CHK include/generated/asm-offsets.h CHK include/generated/generic-asm-offsets.h HOSTCC tools/gen_eth_addr HOSTCC tools/bmp_logo HOSTCC tools/img2srec HOSTCC tools/mkenvimage.o HOSTCC tools/os_support.o WRAP tools/lib/crc32.c HOSTCC tools/aisimage.o LDS u-boot.lds HOSTCC tools/atmelimage.o WRAP tools/common/bootm.c HOSTCC tools/default_image.o WRAP tools/lib/fdtdec_common.c WRAP tools/lib/fdtdec.c HOSTCC tools/fit_common.o HOSTCC tools/fit_image.o HOSTCC tools/gpimage.o HOSTCC tools/gpimage-common.o WRAP tools/common/image-fit.c HOSTCC tools/image-host.o WRAP tools/common/image.c HOSTCC tools/imagetool.o HOSTCC tools/imximage.o HOSTCC tools/kwbimage.o WRAP tools/lib/md5.c HOSTCC tools/lpc32xximage.o HOSTCC tools/mxsimage.o HOSTCC tools/omapimage.o HOSTCC tools/pblimage.o HOSTCC tools/pbl_crc32.o WRAP tools/lib/rc4.c HOSTCC tools/rkcommon.o HOSTCC tools/rkimage.o HOSTCC tools/rksd.o HOSTCC tools/rkspi.o HOSTCC tools/socfpgaimage.o WRAP tools/lib/sha1.c WRAP tools/lib/sha256.c WRAP tools/common/hash.c HOSTCC tools/ublimage.o HOSTCC tools/zynqimage.o WRAP tools/lib/libfdt/fdt.c WRAP tools/lib/libfdt/fdt_ro.c WRAP tools/lib/libfdt/fdt_rw.c WRAP tools/lib/libfdt/fdt_strerror.c WRAP tools/lib/libfdt/fdt_wip.c WRAP tools/lib/libfdt/fdt_region.c HOSTCC tools/dumpimage.o HOSTCC tools/mkimage.o HOSTCC tools/mksunxiboot HOSTCC tools/proftool HOSTCC tools/fdtgrep.o tools/bmp_logo --gen-info ./tools/logos/denx.bmp > include/bmp_logo.h tools/bmp_logo --gen-data ./tools/logos/denx.bmp > include/bmp_logo_data.h HOSTCC tools/lib/crc32.o HOSTCC tools/common/bootm.o HOSTCC tools/lib/fdtdec_common.o HOSTCC tools/lib/fdtdec.o HOSTCC tools/common/image-fit.o HOSTCC tools/common/image.o HOSTCC tools/lib/md5.o HOSTCC tools/lib/rc4.o HOSTCC tools/lib/sha1.o HOSTCC tools/lib/sha256.o HOSTCC tools/common/hash.o HOSTCC tools/lib/libfdt/fdt.o HOSTCC tools/lib/libfdt/fdt_ro.o HOSTCC tools/lib/libfdt/fdt_rw.o HOSTCC tools/lib/libfdt/fdt_strerror.o HOSTCC tools/lib/libfdt/fdt_wip.o HOSTCC tools/lib/libfdt/fdt_region.o HOSTLD tools/mkenvimage HOSTLD tools/dumpimage HOSTLD tools/mkimage HOSTLD tools/fdtgrep LD arch/arm/cpu/built-in.o CC arch/arm/cpu/armv7/cache_v7.o CC board/sunxi/board.o AS arch/arm/lib/vectors.o CC board/sunxi/gmac.o CC arch/arm/cpu/armv7/cpu.o LD board/sunxi/built-in.o CC arch/arm/cpu/armv7/cp15.o AS arch/arm/lib/crt0.o CC arch/arm/cpu/armv7/syslib.o AS arch/arm/cpu/armv7/lowlevel_init.o AS arch/arm/lib/relocate.o AS arch/arm/cpu/armv7/nonsec_virt.o CC arch/arm/lib/bootm-fdt.o CC arch/arm/lib/bootm.o CC arch/arm/cpu/armv7/virt-v7.o CC arch/arm/lib/sections.o CC arch/arm/cpu/armv7/virt-dt.o CC arch/arm/lib/stack.o CC arch/arm/lib/interrupts.o AS arch/arm/cpu/armv7/psci.o CC common/init/board_init.o CC arch/arm/lib/reset.o LD common/init/built-in.o CC arch/arm/lib/cache.o CC common/main.o CC arch/arm/cpu/armv7/sunxi/timer.o CC arch/arm/lib/cache-cp15.o CC arch/arm/cpu/armv7/sunxi/board.o AR arch/arm/lib/lib.a CC common/exports.o CC arch/arm/cpu/armv7/sunxi/clock.o CC arch/arm/lib/eabi_compat.o LD arch/arm/lib/built-in.o CC common/hash.o CC arch/arm/cpu/armv7/sunxi/cpu_info.o CC arch/arm/cpu/armv7/sunxi/dram_helpers.o CC common/cli_hush.o CC arch/arm/cpu/armv7/sunxi/pinmux.o CC arch/arm/cpu/armv7/sunxi/usb_phy.o CC common/autoboot.o CC arch/arm/cpu/armv7/sunxi/prcm.o CC arch/arm/cpu/armv7/sunxi/p2wi.o CC arch/arm/cpu/armv7/sunxi/clock_sun6i.o CC common/board_f.o CC common/board_r.o CC arch/arm/cpu/armv7/sunxi/tzpc.o CC common/cmd_boot.o CC arch/arm/cpu/armv7/sunxi/pmic_bus.o CC common/cmd_bootm.o CC common/bootm.o AS arch/arm/cpu/armv7/sunxi/psci_sun6i.o CC common/bootm_os.o CC common/cmd_help.o LD arch/arm/cpu/armv7/sunxi/built-in.o CC common/cmd_version.o AS arch/arm/cpu/armv7/start.o CC common/env_attr.o CC common/env_callback.o CC common/env_flags.o LD arch/arm/cpu/armv7/built-in.o CC common/env_mmc.o CC common/cmd_source.o CC disk/part.o CC common/cmd_bdinfo.o CC disk/part_dos.o CC common/cmd_console.o CC common/cmd_echo.o CC disk/part_efi.o CC common/cmd_elf.o CC common/cmd_exit.o CC common/cmd_ext4.o LD disk/built-in.o CC common/cmd_ext2.o CC common/cmd_fat.o CC common/cmd_fdt.o CC common/fdt_support.o LD drivers/dma/built-in.o LD drivers/adc/built-in.o CC common/cmd_fs.o CC drivers/gpio/gpio-uclass.o LD drivers/block/built-in.o CC common/cmd_gpio.o CC drivers/gpio/sunxi_gpio.o CC common/cmd_itest.o CC drivers/core/device.o LD drivers/gpio/built-in.o CC common/cmd_load.o CC drivers/core/lists.o CC drivers/core/root.o CC drivers/core/uclass.o CC drivers/core/util.o CC common/cmd_mem.o CC drivers/core/device-remove.o CC common/miiphyutil.o CC drivers/crypto/fsl/sec.o CC drivers/core/simple-bus.o CC common/cmd_mii.o LD drivers/crypto/fsl/built-in.o CC drivers/core/dump.o LD drivers/crypto/rsa_mod_exp/built-in.o CC common/cmd_mdio.o LD drivers/core/built-in.o LD drivers/crypto/built-in.o LD drivers/dfu/built-in.o CC common/cmd_misc.o LD drivers/hwmon/built-in.o CC drivers/input/keyboard-uclass.o LD drivers/memory/built-in.o CC common/cmd_mmc.o LD drivers/misc/built-in.o CC drivers/input/input.o CC common/cmd_net.o CC drivers/pcmcia/tqm8xx_pcmcia.o CC drivers/input/key_matrix.o CC common/cmd_part.o LD drivers/pcmcia/built-in.o LD drivers/input/built-in.o CC common/cmd_pcmcia.o CC common/cmd_pxe.o LD drivers/pwm/built-in.o CC common/cmd_setexpr.o CC common/cmd_test.o CC common/cmd_usb.o CC drivers/rtc/date.o CC common/usb.o LD drivers/rtc/built-in.o CC common/usb_hub.o LD drivers/soc/built-in.o LD drivers/sound/built-in.o LD drivers/thermal/built-in.o CC common/usb_storage.o LD drivers/timer/built-in.o LD drivers/tpm/built-in.o LD drivers/twserial/built-in.o CC common/cmd_ximg.o CC drivers/video/cfb_console.o LD drivers/watchdog/built-in.o CC common/iomux.o CC common/flash.o CC common/edid.o CC common/splash.o CC common/menu.o CC drivers/video/sunxi_display.o CC drivers/video/videomodes.o CC common/usb_kbd.o LD drivers/video/bridge/built-in.o LD drivers/video/built-in.o CC common/cmd_nvedit.o LD drivers/built-in.o LD drivers/i2c/built-in.o CC common/env_common.o CC drivers/mmc/mmc.o LD drivers/mtd/built-in.o CC drivers/mmc/sunxi_mmc.o CC common/console.o CC drivers/mmc/mmc_write.o CC common/dlmalloc.o LD drivers/mtd/onenand/built-in.o LD drivers/mmc/built-in.o CC common/malloc_simple.o CC common/image.o LD drivers/mtd/spi/built-in.o CC common/image-fdt.o CC common/memsize.o CC drivers/net/designware.o CC common/stdio.o CC common/cli_simple.o LD drivers/net/built-in.o CC common/cli.o CC common/cli_readline.o CC drivers/net/phy/phy.o CC common/command.o CC common/s_record.o LD drivers/net/phy/built-in.o CC common/xyzModem.o CC common/cmd_disk.o LD drivers/pci/built-in.o LD common/built-in.o LD drivers/power/battery/built-in.o CC drivers/power/axp221.o LD drivers/power/built-in.o LD drivers/power/fuel_gauge/built-in.o LD drivers/power/mfd/built-in.o LD drivers/power/pmic/built-in.o LD drivers/power/regulator/built-in.o CC drivers/serial/serial-uclass.o CC drivers/spi/spi.o LD drivers/usb/dwc3/built-in.o CC drivers/serial/ns16550.o LD drivers/spi/built-in.o LD drivers/serial/built-in.o LD drivers/usb/emul/built-in.o LD drivers/usb/eth/built-in.o LD drivers/usb/gadget/built-in.o LD drivers/usb/gadget/udc/built-in.o CC drivers/usb/host/usb-uclass.o LD drivers/usb/musb/built-in.o CC drivers/usb/host/ohci-hcd.o LD drivers/usb/phy/built-in.o LD drivers/usb/ulpi/built-in.o CC drivers/usb/host/ohci-sunxi.o CC drivers/usb/host/ehci-hcd.o CC drivers/usb/host/ehci-sunxi.o LD drivers/usb/host/built-in.o CC fs/fs.o LD drivers/usb/musb-new/built-in.o CC fs/ext4/ext4fs.o CC fs/ext4/ext4_common.o CC net/checksum.o CC fs/ext4/dev.o CC net/arp.o CC lib/libfdt/fdt.o LD fs/ext4/built-in.o CC net/bootp.o CC lib/libfdt/fdt_ro.o CC lib/libfdt/fdt_rw.o CC fs/fat/fat_write.o CC net/eth.o CC lib/libfdt/fdt_strerror.o CC fs/fat/file.o CC lib/libfdt/fdt_sw.o CC net/net.o CC lib/libfdt/fdt_wip.o LD fs/fat/built-in.o CC net/nfs.o LD fs/built-in.o CC lib/libfdt/fdt_empty_tree.o CC net/ping.o CC lib/libfdt/fdt_addresses.o LD test/built-in.o CC lib/libfdt/fdt_region.o CC net/tftp.o CC test/dm/cmd_dm.o LD lib/libfdt/built-in.o LD net/built-in.o CC lib/crc7.o LD test/dm/built-in.o CC lib/zlib/zlib.o CC lib/crc8.o CC lib/crc16.o CC lib/fdtdec.o CC lib/fdtdec_common.o LD lib/zlib/built-in.o CC lib/gunzip.o CC lib/initcall.o CC lib/lmb.o CC lib/ldiv.o CC lib/net_utils.o CC lib/qsort.o CC lib/rc4.o CC lib/list_sort.o CC lib/strmhz.o CC lib/hashtable.o CC lib/errno.o CC lib/display_options.o CC lib/crc32.o CC lib/ctype.o CC lib/div64.o CC lib/hang.o CC lib/linux_compat.o CC lib/linux_string.o CC lib/membuff.o CC lib/slre.o CC lib/string.o CC lib/time.o CC lib/uuid.o CC lib/vsprintf.o CC lib/panic.o CC lib/strto.o LD lib/built-in.o CC examples/standalone/stubs.o CC examples/standalone/hello_world.o LD examples/standalone/libstubs.o LD examples/standalone/hello_world OBJCOPY examples/standalone/hello_world.srec OBJCOPY examples/standalone/hello_world.bin LD u-boot OBJCOPY u-boot.bin DTC arch/arm/dts/sun6i-a31-app4-evb1.dtb OBJCOPY u-boot.srec DTC arch/arm/dts/sun6i-a31-colombus.dtb DTC arch/arm/dts/sun6i-a31-hummingbird.dtb DTC arch/arm/dts/sun6i-a31-i7.dtb DTC arch/arm/dts/sun6i-a31-m9.dtb DTC arch/arm/dts/sun6i-a31-mele-a1000g-quad.dtb DTC arch/arm/dts/sun6i-a31-mixtile-loftq.dtb DTC arch/arm/dts/sun6i-a31s-cs908.dtb DTC arch/arm/dts/sun6i-a31s-primo81.dtb DTC arch/arm/dts/sun6i-a31s-sinovoip-bpi-m2.dtb MKIMAGE u-boot.img SHIPPED dts/dt.dtb CAT u-boot-dtb.bin COPY u-boot.dtb MKIMAGE u-boot-dtb.img LD spl/arch/arm/cpu/built-in.o CC spl/board/sunxi/board.o AS spl/arch/arm/lib/vectors.o CC spl/arch/arm/cpu/armv7/cache_v7.o CC spl/board/sunxi/gmac.o CC spl/arch/arm/cpu/armv7/cpu.o LD spl/board/sunxi/built-in.o AS spl/arch/arm/lib/crt0.o CC spl/arch/arm/cpu/armv7/cp15.o CC spl/common/spl/spl.o CC spl/arch/arm/lib/spl.o CC spl/arch/arm/cpu/armv7/syslib.o CC spl/arch/arm/lib/sections.o AS spl/arch/arm/cpu/armv7/lowlevel_init.o CC spl/arch/arm/lib/stack.o CC spl/arch/arm/lib/interrupts.o AS spl/arch/arm/cpu/armv7/nonsec_virt.o CC spl/arch/arm/lib/reset.o CC spl/arch/arm/lib/cache.o CC spl/arch/arm/cpu/armv7/virt-v7.o CC spl/arch/arm/lib/cache-cp15.o CC spl/arch/arm/cpu/armv7/virt-dt.o CC spl/common/spl/spl_mmc.o AR spl/arch/arm/lib/lib.a AS spl/arch/arm/cpu/armv7/psci.o CC spl/arch/arm/lib/eabi_compat.o LD spl/common/spl/built-in.o LD spl/arch/arm/lib/built-in.o CC spl/common/init/board_init.o LD spl/common/init/built-in.o CC spl/arch/arm/cpu/armv7/sunxi/timer.o CC spl/disk/part.o CC spl/common/cmd_nvedit.o LD spl/disk/built-in.o CC spl/arch/arm/cpu/armv7/sunxi/board.o CC spl/common/env_common.o CC spl/common/console.o CC spl/arch/arm/cpu/armv7/sunxi/clock.o CC spl/common/dlmalloc.o CC spl/common/malloc_simple.o CC spl/arch/arm/cpu/armv7/sunxi/cpu_info.o CC spl/common/image.o CC spl/common/memsize.o CC spl/arch/arm/cpu/armv7/sunxi/dram_helpers.o CC spl/common/stdio.o CC spl/common/cli_simple.o CC spl/arch/arm/cpu/armv7/sunxi/pinmux.o CC spl/common/cli.o CC spl/arch/arm/cpu/armv7/sunxi/usb_phy.o CC spl/common/cli_readline.o CC spl/common/command.o CC spl/arch/arm/cpu/armv7/sunxi/prcm.o CC spl/common/s_record.o CC spl/common/xyzModem.o CC spl/arch/arm/cpu/armv7/sunxi/p2wi.o CC spl/common/cmd_disk.o AS spl/arch/arm/cpu/armv7/start.o LD spl/common/built-in.o CC spl/arch/arm/cpu/armv7/sunxi/clock_sun6i.o CC spl/arch/arm/cpu/armv7/sunxi/tzpc.o CC spl/arch/arm/cpu/armv7/sunxi/pmic_bus.o CC spl/arch/arm/cpu/armv7/sunxi/dram_sun6i.o AS spl/arch/arm/cpu/armv7/sunxi/fel_utils.o CC spl/drivers/gpio/sunxi_gpio.o CC spl/drivers/mmc/mmc.o LD spl/arch/arm/cpu/armv7/sunxi/built-in.o LD spl/drivers/gpio/built-in.o LD spl/arch/arm/cpu/armv7/built-in.o CC spl/drivers/mmc/sunxi_mmc.o LD spl/drivers/mmc/built-in.o CC spl/drivers/power/axp221.o LD spl/drivers/power/pmic/built-in.o LD spl/drivers/power/regulator/built-in.o LD spl/drivers/power/built-in.o CC spl/drivers/serial/serial.o CC spl/drivers/serial/serial_ns16550.o LD spl/dts/built-in.o CC spl/drivers/serial/ns16550.o LD spl/fs/built-in.o LD spl/drivers/serial/built-in.o LD spl/drivers/built-in.o CC spl/lib/hashtable.o CC spl/lib/errno.o CC spl/lib/display_options.o LDS spl/u-boot-spl.lds CC spl/lib/crc32.o CC spl/lib/ctype.o CC spl/lib/div64.o CC spl/lib/hang.o CC spl/lib/linux_compat.o CC spl/lib/linux_string.o CC spl/lib/membuff.o CFG spl/u-boot-spl.cfg CC spl/lib/slre.o CC spl/lib/time.o CC spl/lib/string.o CC spl/lib/vsprintf.o CC spl/lib/panic.o CC spl/lib/strto.o LD spl/lib/built-in.o LD spl/u-boot-spl OBJCOPY spl/u-boot-spl.bin MKSUNXI spl/sunxi-spl.bin CAT u-boot-sunxi-with-spl.bin [[0;32m o.k. [0m] Target directory [[0;33m /home/pibuilder/m2-armbian/output/debs/ [0m] [[0;32m o.k. [0m] Building deb [[0;33m linux-u-boot-next-bananapim2_5.05_armhf.deb [0m] dpkg-deb: error: control directory has bad permissions 2755 (must be >=0755 and <=0775) wc: /home/pibuilder/m2-armbian/output/debs/linux-u-boot-next-bananapim2_5.05_armhf.deb: No such file or directory rm: cannot remove '/home/pibuilder/m2-armbian/output/debs/linux-u-boot-next-bananapim2_5.05_armhf.deb': No such file or directory [[0;31m error [0m] ERROR in function compile_uboot [[0;33m common.sh:146 [0m] [[0;31m error [0m] Building u-boot failed, check configuration [[0;32m o.k. [0m] Process terminated The error is the same as here. http://forum.armbian.com/index.php/topic/693-sunxi-a31s-banana-pi-m2-syntax-error-in-configurationsh/#entry5070
Schwemmlandebene Posted March 12, 2016 Author Posted March 12, 2016 Tomorrow I will add a new user to Ubuntu and start from scratch, see http://forum.armbian.com/index.php/topic/693-sunxi-a31s-banana-pi-m2-syntax-error-in-configurationsh/#entry5168
Nick Posted March 13, 2016 Posted March 13, 2016 For me, modifying configuration.sh to point at the correct defconfig file in uboot did the trick. orangepih3)#enabled #description H3 quad core (Orange Pi PC/One/2/Lite) #build 3wip LINUXFAMILY="sun8i" BOOTCONFIG="orangepi_pc_defconfig" MODULES="8189es #gpio_sunxi #w1-sunxi #w1-gpio #w1-therm #gc2035" MODULES_NEXT="" CPUMIN="480000" CPUMAX="1296000" GOVERNOR="interactive" Sadly I don't think this will solve Schwemmlandebene's problem :-(
Schwemmlandebene Posted March 13, 2016 Author Posted March 13, 2016 As expected everything works with a new user in Ubuntu. I can't say what causes the change of the file permission. Sooner or later I will switch to an early Ubuntu snapshot of the VM, @zador thanks for your help, too.
Recommended Posts