Pascal Posted July 10, 2016 Posted July 10, 2016 Hello All in blue ...it's ok but in red ....not ok i started by git clone --depth 1 https://github.com/igorpecovnik/lib Clonage dans 'lib'... remote: Counting objects: 1075, done. remote: Compressing objects: 100% (935/935), done. remote: Total 1075 (delta 155), reused 806 (delta 70), pack-reused 0 Réception d'objets: 100% (1075/1075), 50.19 MiB | 1.06 MiB/s, fait. Résolution des deltas: 100% (155/155), fait. Vérification de la connectivité... fait. OK ! After i copy compile.sh in my directory and GO! ./compile.sh I choose "full os image to generate a sdcard ... board LIME ....Next lastest stable @kernel.org....jessie debian8 .......image with console interface" I résume Compiling U-BOOT OK ( no error nowhere ) Compiling Kernel OK ( no error nowhere ) Creating kernel package OK [ o.k. ] Creating board support package [ lime next ] [ o.k. ] Fingerprinting [ Armbian 5.17 Lime Debian jessie next ] [ o.k. ] Building package [ linux-jessie-root-next-lime ] [ o.k. ] Starting build process for [ lime jessie ] [ o.k. ] Creating new rootfs for [ jessie ] [ o.k. ] Installing base system [ Stage 1/2 ] But here Debootstrap (stage 1/2)... I: Retrieving InRelease I: Failed to retrieve InRelease I: Retrieving Release E: Failed getting release file http://localhost:3142/httpredir.debian.org/debian/dists/jessie/Release After cp: impossible de créer le fichier standard '/home/pascal/helixee/newversion/output/cache/sdcard/usr/bin/': Aucun fichier ou dossier de ce type [ o.k. ] Installing base system [ Stage 2/2 ] translation : cp: can't create the file 'home/pascal/helixee/newversion/output/cache/sdcard/usr/bin/' No file or no directory Debootstrap (stage 2/2)... chroot: failed to run command ‘/bin/bash’: No such file or directory and finally ........... [ error ] ERROR in function create_rootfs_cache [ debootstrap-ng.sh:166 ] [ error ] Debootstrap base system second stage failed [ o.k. ] Process terminated [ error ] ERROR in function unmount_on_exit [ debootstrap-ng.sh:553 ] [ error ] debootstrap-ng was interrupted [ o.k. ] Process terminated What's wrong ? I suppose that's in 1st stage of debootstrap ( debootstrap.sh) but what and where ? For information few day ago i done this with u-boot 2016-05 an kernel V4.6.2 ( for the same board ) and all was good Thank you for your help
Pascal Posted July 11, 2016 Author Posted July 11, 2016 Hello everybody .... The never ending story And today new U-BOOT ... V2016-07 New problem When compiling U-boot , It stop here All in blue ...it's ok but in red ....not ok Compiling u-boot... │ │ CC arch/arm/cpu/armv7/cache_v7.o │ │ CC arch/arm/lib/bootm-fdt.o │ │ AS arch/arm/cpu/armv7/cache_v7_asm.o │ │ CC arch/arm/lib/bootm.o │ │ CC arch/arm/cpu/armv7/cpu.o │ │ CC arch/arm/cpu/armv7/cp15.o │ │ CC arch/arm/mach-sunxi/clock.o │ │ CC arch/arm/lib/sections.o │ │ CC arch/arm/cpu/armv7/syslib.o │ │ CC arch/arm/mach-sunxi/cpu_info.o │ │ CC arch/arm/lib/stack.o │ │ CC arch/arm/mach-sunxi/dram_helpers.o │ │ AS arch/arm/cpu/armv7/lowlevel_init.o │ │ AS arch/arm/cpu/armv7/nonsec_virt.o │ │ CC arch/arm/cpu/armv7/virt-v7.o │ │ CC arch/arm/lib/interrupts.o │ │ CC arch/arm/cpu/armv7/virt-dt.o │ │ CC arch/arm/mach-sunxi/pinmux.o │ │ AS arch/arm/cpu/armv7/psci.o │ │ CC arch/arm/mach-sunxi/usb_phy.o │ │ CC arch/arm/cpu/armv7/sunxi/timer.o │ │ CC arch/arm/lib/reset.o │ │ CC arch/arm/cpu/armv7/sunxi/psci.o │ │ CC arch/arm/lib/cache.o │ │ CC arch/arm/mach-sunxi/clock_sun4i.o │ │ CC arch/arm/mach-sunxi/pmic_bus.o │ │ CC arch/arm/lib/cache-cp15.o │ │ AS arch/arm/lib/ashldi3.o │ │ AS arch/arm/lib/ashrdi3.o │ │ LD arch/arm/mach-sunxi/built-in.o │ │ CC arch/arm/lib/div0.o │ │ CC board/sunxi/board.o │ │ AS arch/arm/lib/div64.o │ │ AS arch/arm/lib/lib1funcs.o │ │ AS arch/arm/lib/lshrdi3.o │ │ AS arch/arm/lib/muldi3.o │ │ scripts/Makefile.build:425 : la recette pour la cible « arch/arm/cpu/armv7/sunxi » a échouée ( the recipe for the target « arch/arm/cpu/armv7/sunxi » fail ) │ │ Makefile:1210 : la recette pour la cible « arch/arm/cpu/armv7 » a échouée ( the recipe for the target « arch/arm/cpu/armv7 » fail ) │ │ CC arch/arm/lib/eabi_compat.o │ │ CC board/sunxi/ahci.o │ │ CC board/sunxi/dram_sun5i_auto.o │ │ LD arch/arm/lib/built-in.o │ │ AR arch/arm/lib/lib.a │ │ LD board/sunxi/built-in.o │ *** [arch/arm/cpu/armv7] Erreur 2psci.o] Erreur make: *** Attente des tâches non terminées....v7/sunxi] Erreur 2rge {reglist}^ -- `pop {r0,r1,r2,r3,r4,r9,ip,pc}^' [ error ] ERROR in function compile_uboot [ common.sh:94 ] [ error ] U-boot file not found [ u-boot-sunxi-with-spl.bin ] [ o.k. ] Process terminated If someone can help me i will be sympatic Thank you I have one question .... Is it possible to force armbian script working with one kernel version and one u-boot version , downloading all needed on Hard disk and working only with this parameters without trying download anythings else ( Where i'll go for holydays there is no wifi, no network access ) Thank you
zador.blood.stained Posted July 11, 2016 Posted July 11, 2016 And today new U-BOOT ... V2016-07 New problem When compiling U-boot , It stop here New u-boot issue will be fixed (or u-boot version will be reverted to v2016.05). Meanwhile you can try setting BOOTBRANCH="v2016.05" in userpatches/lib.config I have one question .... Is it possible to force armbian script working with one kernel version and one u-boot version , downloading all needed on Hard disk and working only with this parameters without trying download anythings else ( Where i'll go for holydays there is no wifi, no network access ) It can be done manually by disabling update procedures and building of additional applications and drivers. 1
Pascal Posted July 12, 2016 Author Posted July 12, 2016 Thanks a lot ZADOR ! I modify to have only uboot v2016-05 And now for u-boot it's ok .... But I already have my 1st problem ......I work on ununtu 16LTS 8GO ram Two core intel Uboot and kernel compile ok but when armbian want to download debootstrap file i have an error ... I dont know if it's my computer or anything else ....an update of my computer ? server down ? 1
zador.blood.stained Posted July 12, 2016 Posted July 12, 2016 Can you provide output of systemctl status -l apt-cacher-ng And please building after adding NO_APT_CACHER=yes to compile.sh And now for u-boot it's ok .... But I already have my 1st problem ......I work on ununtu 16LTS 8GO ram Two core intel Desktop or Server? Native or in the VM (Virtualbox, VMWare, ...)?
Pascal Posted July 13, 2016 Author Posted July 13, 2016 Hello My computer is a desktop , ubuntu version too native ( no virtualbox ..... ) .... If i remember , Ubuntu ask me to do some security updates 2/3 week ago ... But i don't know which pakage ... Terminal output for "systemctl status -l apt-cacher-ng" pascal@NTDEV:~$ systemctl status -l apt-cacher-ng â— apt-cacher-ng.service - Apt-Cacher NG software download proxy Loaded: loaded (/lib/systemd/system/apt-cacher-ng.service; enabled; vendor pr Active: inactive (dead) (Result: exit-code) since mer. 2016-07-13 19:08:40 CE Process: 1459 ExecStart=/usr/sbin/apt-cacher-ng SocketPath=/run/apt-cacher-ng/ Main PID: 1459 (code=exited, status=1/FAILURE) juil. 13 19:08:40 NTDEV systemd[1]: apt-cacher-ng.service: Main process exited, juil. 13 19:08:40 NTDEV systemd[1]: Failed to start Apt-Cacher NG software downl juil. 13 19:08:40 NTDEV systemd[1]: apt-cacher-ng.service: Unit entered failed s juil. 13 19:08:40 NTDEV systemd[1]: apt-cacher-ng.service: Failed with result 'e juil. 13 19:08:40 NTDEV systemd[1]: apt-cacher-ng.service: Service hold-off time juil. 13 19:08:40 NTDEV systemd[1]: Stopped Apt-Cacher NG software download prox juil. 13 19:08:40 NTDEV systemd[1]: apt-cacher-ng.service: Start request repeate juil. 13 19:08:40 NTDEV systemd[1]: Failed to start Apt-Cacher NG software downl lines 1-14/14 (END) Thanks again for your help !!! you're cool !!!
Pascal Posted July 13, 2016 Author Posted July 13, 2016 I try NO_APT_CACHER=yes and i do a "./compile.sh" to test It's better ! It's still good but just before the "end" of process i have .... Get:217 http://httpredir.debian.org/debian/jessie/main lirc armhf 0.9.0~pre1-1.2 [348 kB] │ │ Get:218 http://httpredir.debian.org/debian/jessie/main sysbench armhf 0.4.12-1.1 [57.1 kB] │ │ Get:219 http://httpredir.debian.org/debian/jessie/main sysfsutils armhf 2.1.0+repack-4 [23.5 kB] │ │ Get:220 http://httpredir.debian.org/debian/jessie/main wireless-tools armhf 30~pre9-8 [130 kB] │ │ Get:221 http://httpredir.debian.org/debian/jessie/main hddtemp armhf 0.3-beta15-52 [60.1 kB] │ │ Get:222 http://httpredir.debian.org/debian/jessie/main stress armhf 1.0.1-1+deb8u1 [18.5 kB] │ │ Fetched 106 MB in 1min 3s (1667 kB/s) │ led to fetch http://httpredir.debian.org/debian/pool/main/u/u-boot/u-boot-tools_2014.10+dfsg1-5_armhf.deb Error reading from server. Remote end closed connection [iP: 128.31.0.66 80]──────────┘ E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? Free space: tmpfs 1,5G 453M 1,1G 31% /home/pascal/helixee2/version1/output/cache/sdcard [ o.k. ] Ending debootstrap process and preparing cache [ jessie ] jessie-ng-armhf.d11...b44.tgz: 250MiO [38,5MiB/s] [============================================================================================================================================] 108% [ o.k. ] Applying distribution specific tweaks for [ jessie ] sed: impossible de lire /home/pascal/helixee2/version1/output/cache/sdcard/etc/ssh/sshd_config: Aucun fichier ou dossier de ce type [ o.k. ] Applying common tweaks sed: impossible de lire /home/pascal/helixee2/version1/output/cache/sdcard/etc/default/console-setup: Aucun fichier ou dossier de ce type [ o.k. ] Installing kernel [ linux-image-next-sunxi ] [ o.k. ] Installing u-boot [ linux-u-boot-next-lime ] [ o.k. ] Installing headers [ linux-headers-next-sunxi ] [ o.k. ] Installing DTB [ linux-dtb-next-sunxi ] [ o.k. ] Installing board support package [ lime ] sed: impossible de lire /home/pascal/helixee2/version1/output/cache/sdcard/etc/lirc/hardware.conf: Aucun fichier ou dossier de ce type sed: impossible de lire /home/pascal/helixee2/version1/output/cache/sdcard/etc/lirc/hardware.conf: Aucun fichier ou dossier de ce type sed: impossible de lire /home/pascal/helixee2/version1/output/cache/sdcard/etc/lirc/hardware.conf: Aucun fichier ou dossier de ce type sed: impossible de lire /home/pascal/helixee2/version1/output/cache/sdcard/etc/lirc/hardware.conf: Aucun fichier ou dossier de ce type sed: impossible de lire /home/pascal/helixee2/version1/output/cache/sdcard/etc/lirc/hardware.conf: Aucun fichier ou dossier de ce type cp: impossible de créer le fichier standard '/home/pascal/helixee2/version1/output/cache/sdcard/etc/lirc/lircd.conf': Aucun fichier ou dossier de ce type [ o.k. ] Installing extra applications and drivers [ o.k. ] Merging and packaging linux firmware [ @host ] [ o.k. ] Installing linux firmware [ 5.17 ] [ o.k. ] Building deb [ hostapd ] [ o.k. ] Downloading sources [ hostapd ] [ o.k. ] Compiling hostapd [ v2.5 ] [ error ] ERROR in function compiling [ hostapd.sh:72 ] [ error ] Error building [ hostapd ] [ o.k. ] Process terminated [ error ] ERROR in function unmount_on_exit [ debootstrap-ng.sh:555 ] [ error ] debootstrap-ng was interrupted [ o.k. ] Process terminated translation "impossible de lire " = "can't read " "Aucun fichier ou dossier de ce type" = " No files or directory with this name " To help you the content of Output.log Displaying message: Preparing host info Displaying message: Build host OS release xenial info ## BUILD CONFIGURATION Config: linux-sunxi-next Kernel source: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git Branch: v4.6.4 linuxsource: linux-vanilla Offset: 1 bootsize: 0 bootloader: git://git.denx.de/u-boot.git bootsource: u-boot bootbranch: v2016.05 CPU 480000 / 960000 with ondemand 13.07.2016 19:19:43 Armbian 5.17 Lime Debian jessie next Displaying message: Starting Armbian build script @host info Displaying message: Building Armbian 5.17 Lime Debian jessie next info Displaying message: Syncing clock host info Displaying message: source downloading @host info Displaying message: ... you have latest sources u-boot v2016.05 info Displaying message: ... you have latest sources linux-vanilla v4.6.4 info Displaying message: ... you have latest sources sunxi-tools info Displaying message: ... you have latest sources sunxi-display-changer info Displaying message: Compiling sunxi tools @host & target info Displaying message: Cleaning u-boot/v2016.05 info Displaying message: Cleaning linux-vanilla/v4.6.4 info Displaying message: Cleaning /home/pascal/helixee2/version1/output/debs for lime next info Displaying message: Started patching process for u-boot u-boot-next 2016.05 info Displaying message: Looking for user patches in userpatches/u-boot/u-boot-next info Displaying message: ... add-awsom-uboot.patch succeeded info Displaying message: ... add-cubieboard4.patch succeeded info Displaying message: ... u-boot-02-support-cheap-mmc.patch succeeded info Displaying message: Compiling uboot 2016.05 info Displaying message: Compiler version arm-linux-gnueabihf-gcc 5.3.1 info Displaying message: Target directory /home/pascal/helixee2/version1/output/debs/ info Displaying message: Building deb linux-u-boot-next-lime_5.17_armhf.deb info Displaying message: Started patching process for kernel sunxi-next 4.6.4 info Displaying message: Looking for user patches in userpatches/kernel/sunxi-next info Displaying message: ... 01-wens-banana-m1plus.patch succeeded info Displaying message: ... axp20x-sysfs-interface.patch succeeded info Displaying message: ... b53_switch.kernel_4.5+.patch succeeded info Displaying message: ... bananapipro-wifi-codec-led-fix.patch succeeded info Displaying message: ... bash_to_afterinstall.patch succeeded info Displaying message: ... cubieboard_enable_mmc0_trigger_to_green_LED.patch succeeded info Displaying message: ... cubietruck-enable-uart2.patch succeeded info Displaying message: ... cubietruck_enable_mmc0_trigger_to_green_LED.patch succeeded info Displaying message: ... linux-vanilla_v4.5.1_sun7i-a20-bananapro_dts.patch succeeded info Displaying message: ... packaging-4.x-NEXT-with-postinstall-scripts.patch succeeded info Displaying message: ... spi_allow_transfer_larger.patch succeeded info Displaying message: ... support_for_second_mmc_cubieboard2.patch succeeded info Displaying message: Compiling next kernel 4.6.4 info Displaying message: Compiler version arm-linux-gnueabihf-gcc 5.3.1 info Displaying message: Using kernel config file lib/config/kernel/linux-sunxi-next.config info Displaying message: Creating board support package lime next info Displaying message: Fingerprinting Armbian 5.17 Lime Debian jessie next info Displaying message: Building package linux-jessie-root-next-lime info Displaying message: Starting build process for lime jessie info Displaying message: Creating new rootfs for jessie info Displaying message: Installing base system Stage 1/2 info Displaying message: Installing base system Stage 2/2 info Displaying message: ERROR in function create_rootfs_cache debootstrap-ng.sh:168 err Displaying message: Debootstrap base system second stage failed err Displaying message: Process terminated info Displaying message: ERROR in function unmount_on_exit debootstrap-ng.sh:555 err Displaying message: debootstrap-ng was interrupted err Displaying message: Process terminated info Do you have a " magic" variable or command to résolve this problem ? Thanks
zador.blood.stained Posted July 13, 2016 Posted July 13, 2016 led to fetch http://httpredir.debian.org/debian/pool/main/u/u-boot/u-boot-tools_2014.10+dfsg1-5_armhf.deb Error reading from server. Remote end closed connection [iP: 128.31.0.66 80]──────────┘ E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? This is either a network problem or autoselected mirror problem, and this is when apt-cacher is useful, but for some reason it doesn't start properly on your system. First, you need to delete cache files from output/cache/rootfs After that, try reinstalling apt-cacher-ng sudo apt-get purge apt-cacher-ng; sudo apt-get install apt-cacher-ng sudo systemctl start apt-cacher-ng And building without NO_APT_CACHER=yes If there are errors still, you will need to find Debian mirror that will work for you and put it in userpatches/lib.config like this: DEBIAN_MIRROR='ftp2.fr.debian.org/debian' or DEBIAN_MIRROR='ftp.fr.debian.org/debian' and use this setting with NO_APT_CACHER=yes
Pascal Posted July 14, 2016 Author Posted July 14, 2016 Hello I try to uninstall apt-cacher-ng and install it again ... and remove NO_APT_CACHER=yes No change I try to find "userpatches/lib.config" somewhere .....but i didn't find it But after looking error message a long time , i tell me that apt-cacher-ng wasn't the problem ( perhaps ) Too much error when compiling extra application ( hostapd , lirc etc ). I set in compile.sh the parameter EXTERNAL="no" instead of "yes" , save it, and run compile.sh A miracle append !!! All compilation process finished ... I try after rebooting my computer , with and without lot of running applications( chromium , thunderbird , geany, xfe, etc ...) It work well all the time ....I can obtain my image.raw exepting external applications .... It's a solution , not the most beautiful but it's one Perhaps there is something to adjust in the compiling "external application" script ....or not ....i don't know but for me it's good I must tell to the Armbian community something . Igor, you ( Zador ) and all the team inside this forum are wonderful peoples , your work is amazing . And if you haven't the solution your can give some way to investigate .... Thanks you for all and to be patient with newbies like me ...and with my bad english too 2
wildcat_paris Posted July 14, 2016 Posted July 14, 2016 Bonjour Pascal, Don't worry because Igor, Zador.blood.stain, TK have already to deal with the French wildcat_paris. Have fun with Armbian = Amuse toi bien et pense à Virtualbox Cordialement, Guillaume 1
Pascal Posted July 15, 2016 Author Posted July 15, 2016 I dont like virtualbox ....but if i must use it ...i ll use it .....but compilation time will explose !!
wildcat_paris Posted July 15, 2016 Posted July 15, 2016 I dont like virtualbox ....but if i must use it ...i ll use it .....but compilation time will explose !! @Pascal As zador.blood.stain does, you can use a spare low-end laptop to install a fresh Ubuntu 14.04 or 16.04 and dedicate the laptop for this. Zador.blood.stain has spent a lot of time to optimize the processes (like ccache to reduce compilation time) so Armbian tool is affordable for many users around the world. Zador.blood.stain -- yes cheers up
Recommended Posts