[opensuse-factory] Error with cross compiling in OBS [u-boot]
Hi, I am having some problems with OBS when i try to compile a u-boot architecture from x86_64 to aarch64. The error i have is that: [ 7s] /usr/bin/qemu-kvm -nodefaults -no-reboot -nographic -vga none -cpu host -object rng-random,filename=/dev/random,id=rng0 -device virtio-rng-pci,rng=rng0 -runas qemu -net none -kernel /var/cache/obs/worker/root_3/.mount/boot/kernel -initrd /var/cache/obs/worker/root_3/.mount/boot/initrd -append root=/dev/disk/by-id/virtio-0 rootfstype=ext4 rootflags=noatime ext4.allow_unsupported=1 mitigations=off panic=1 quiet no-kvmclock elevator=noop nmi_watchdog=0 rw rd.driver.pre=binfmt_misc console=ttyS0 init=/.build/build -m 25600 -drive file=/var/cache/obs/worker/root_3/root,format=raw,if=none,id=disk,cache=unsafe -device virtio-blk-pci,drive=disk,serial=0 -drive file=/var/cache/obs/worker/root_3/swap,format=raw,if=none,id=swap,cache=unsafe -device virtio-blk-pci,drive=swap,serial=1 -serial stdio -chardev socket,id=monitor,server,nowait,path=/var/cache/obs/worker/root_3/root.qemu/monitor -mon chardev=monitor,mode=readline -smp 16 [ 7s] qemu: linux kernel too old to load a ram disk I am using particle "HostArch: x86_64" in Project Config. The code that i am using is in path "home:alefnode:branches:devel:ARM:Factory:Contrib:PinePhone/u-boot" Has something similar ever happened to you? Greetings, Adrian -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hi,
-----Original Message----- From: Adrian Campos <adriancampos@teachelp.com> Sent: 05 November 2020 16:52 To: opensuse-factory@opensuse.org Subject: [opensuse-factory] Error with cross compiling in OBS [u-boot]
Hi,
I am having some problems with OBS when i try to compile a u-boot architecture from x86_64 to aarch64.
Why do you try to cross-compile and not just compile natively? OBS uses aarch64 machines to build for aarch64 target, so no need to cross-compile from another architecture. Cheers, Guillaume
The error i have is that:
[ 7s] /usr/bin/qemu-kvm -nodefaults -no-reboot -nographic -vga none -cpu host -object rng-random,filename=/dev/random,id=rng0 -device virtio-rng-pci,rng=rng0 -runas qemu -net none -kernel /var/cache/obs/worker/root_3/.mount/boot/kernel -initrd /var/cache/obs/worker/root_3/.mount/boot/initrd -append root=/dev/disk/by-id/virtio-0 rootfstype=ext4 rootflags=noatime ext4.allow_unsupported=1 mitigations=off panic=1 quiet no-kvmclock elevator=noop nmi_watchdog=0 rw rd.driver.pre=binfmt_misc console=ttyS0 init=/.build/build -m 25600 -drive file=/var/cache/obs/worker/root_3/root,format=raw,if=none,id=disk,cache=uns afe -device virtio-blk-pci,drive=disk,serial=0 -drive file=/var/cache/obs/worker/root_3/swap,format=raw,if=none,id=swap,cache=u nsafe -device virtio-blk-pci,drive=swap,serial=1 -serial stdio -chardev socket,id=monitor,server,nowait,path=/var/cache/obs/worker/root_3/root.qem u/monitor -mon chardev=monitor,mode=readline -smp 16 [ 7s] qemu: linux kernel too old to load a ram disk
I am using particle "HostArch: x86_64" in Project Config.
The code that i am using is in path "home:alefnode:branches:devel:ARM:Factory:Contrib:PinePhone/u-boot"
Has something similar ever happened to you?
Greetings,
Adrian -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Hello, This u-boot needs crust (https://github.com/crust-firmware/meta) to be able to manage the power of the modem in the pinephone and in this way get more than 5 hours of battery in standby state. In order to compile it I need to use an OpenRISC 1000 (or1k) cross compiler and I have not found a way to make it work in aarch64 For this reason and since I have managed to make it work in x86_64 I would like to generate a package to be able to use it in aarch64 architecture. Another option would be to pass the binaries generated in OBS by the x86_64 architecture to aarch64 although I have not managed to do it either, even using the "BuildArch: noarch" parameter On 6/11/20 9:31, Guillaume Gardet wrote:
Hi,
-----Original Message----- From: Adrian Campos <adriancampos@teachelp.com> Sent: 05 November 2020 16:52 To: opensuse-factory@opensuse.org Subject: [opensuse-factory] Error with cross compiling in OBS [u-boot]
Hi,
I am having some problems with OBS when i try to compile a u-boot architecture from x86_64 to aarch64. Why do you try to cross-compile and not just compile natively?
OBS uses aarch64 machines to build for aarch64 target, so no need to cross-compile from another architecture.
Cheers, Guillaume
The error i have is that:
[ 7s] /usr/bin/qemu-kvm -nodefaults -no-reboot -nographic -vga none -cpu host -object rng-random,filename=/dev/random,id=rng0 -device virtio-rng-pci,rng=rng0 -runas qemu -net none -kernel /var/cache/obs/worker/root_3/.mount/boot/kernel -initrd /var/cache/obs/worker/root_3/.mount/boot/initrd -append root=/dev/disk/by-id/virtio-0 rootfstype=ext4 rootflags=noatime ext4.allow_unsupported=1 mitigations=off panic=1 quiet no-kvmclock elevator=noop nmi_watchdog=0 rw rd.driver.pre=binfmt_misc console=ttyS0 init=/.build/build -m 25600 -drive file=/var/cache/obs/worker/root_3/root,format=raw,if=none,id=disk,cache=uns afe -device virtio-blk-pci,drive=disk,serial=0 -drive file=/var/cache/obs/worker/root_3/swap,format=raw,if=none,id=swap,cache=u nsafe -device virtio-blk-pci,drive=swap,serial=1 -serial stdio -chardev socket,id=monitor,server,nowait,path=/var/cache/obs/worker/root_3/root.qem u/monitor -mon chardev=monitor,mode=readline -smp 16 [ 7s] qemu: linux kernel too old to load a ram disk
I am using particle "HostArch: x86_64" in Project Config.
The code that i am using is in path "home:alefnode:branches:devel:ARM:Factory:Contrib:PinePhone/u-boot"
Has something similar ever happened to you?
Greetings,
Adrian -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Nov 06 2020, Adrian Campos wrote:
In order to compile it I need to use an OpenRISC 1000 (or1k) cross compiler and I have not found a way to make it work in aarch64
It can easily be added to the gcc package. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Can you explain how to add to gcc package? On 9/11/20 11:34, Andreas Schwab wrote:
On Nov 06 2020, Adrian Campos wrote:
In order to compile it I need to use an OpenRISC 1000 (or1k) cross compiler and I have not found a way to make it work in aarch64 It can easily be added to the gcc package.
Andreas.
participants (3)
-
Adrian Campos
-
Andreas Schwab
-
Guillaume Gardet