[opensuse-arm] armv5 kiwi support for oem images
Hi, would it be possible to add armv5 kiwi support for oem images, please? With a quick look at the source code on : https://github.com/openSUSE/kiwi I guess we must create a system/boot/armv5tel/* (or armv5el?) using armv7l/* as template? Not sure if it is enough. I can do it if a kiwi guru (marcus?) give me some hints. Guillaume -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Am Donnerstag, 18. Oktober 2012, 10:45:25 schrieb Guillaume Gardet:
Hi,
would it be possible to add armv5 kiwi support for oem images, please?
With a quick look at the source code on : https://github.com/openSUSE/kiwi I guess we must create a system/boot/armv5tel/* (or armv5el?) using armv7l/* as template? Not sure if it is enough.
I can do it if a kiwi guru (marcus?) give me some hints.
I am playing with that atm in openSUSE:Factory:ARM (some first experimental boot files are there). However, we need to fix the qemu cpu emulation for armv5 first or kiwi won't pick anything else then the armv7 one ... -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Le 18/10/2012 10:47, Adrian Schröter a écrit :
Am Donnerstag, 18. Oktober 2012, 10:45:25 schrieb Guillaume Gardet:
Hi,
would it be possible to add armv5 kiwi support for oem images, please?
With a quick look at the source code on : https://github.com/openSUSE/kiwi I guess we must create a system/boot/armv5tel/* (or armv5el?) using armv7l/* as template? Not sure if it is enough.
I can do it if a kiwi guru (marcus?) give me some hints. I am playing with that atm in openSUSE:Factory:ARM (some first experimental boot files are there).
However, we need to fix the qemu cpu emulation for armv5 first or kiwi won't pick anything else then the armv7 one ...
What is the problem with qemu for armv5? Guillaume -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Am Donnerstag, 18. Oktober 2012, 10:51:29 schrieb Guillaume Gardet:
Le 18/10/2012 10:47, Adrian Schröter a écrit :
Am Donnerstag, 18. Oktober 2012, 10:45:25 schrieb Guillaume Gardet:
Hi,
would it be possible to add armv5 kiwi support for oem images, please?
With a quick look at the source code on : https://github.com/openSUSE/kiwi I guess we must create a system/boot/armv5tel/* (or armv5el?) using armv7l/* as template? Not sure if it is enough.
I can do it if a kiwi guru (marcus?) give me some hints. I am playing with that atm in openSUSE:Factory:ARM (some first experimental boot files are there).
However, we need to fix the qemu cpu emulation for armv5 first or kiwi won't pick anything else then the armv7 one ...
What is the problem with qemu for armv5?
according to uname it is armv7l cpu ... -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On 18.10.2012, at 10:58, Adrian Schröter
Am Donnerstag, 18. Oktober 2012, 10:51:29 schrieb Guillaume Gardet:
Le 18/10/2012 10:47, Adrian Schröter a écrit :
Am Donnerstag, 18. Oktober 2012, 10:45:25 schrieb Guillaume Gardet:
Hi,
would it be possible to add armv5 kiwi support for oem images, please?
With a quick look at the source code on : https://github.com/openSUSE/kiwi I guess we must create a system/boot/armv5tel/* (or armv5el?) using armv7l/* as template? Not sure if it is enough.
I can do it if a kiwi guru (marcus?) give me some hints. I am playing with that atm in openSUSE:Factory:ARM (some first experimental boot files are there).
However, we need to fix the qemu cpu emulation for armv5 first or kiwi won't pick anything else then the armv7 one ...
What is the problem with qemu for armv5?
according to uname it is armv7l cpu ...
Yeah, we need a separate binfmt wrapper in qemu-accel-armv5 that sets QEMU_CPU to an armv5 cpu and then exec()s the real binfmt wrapper. Alex
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Le 18/10/2012 11:01, Alexander Graf a écrit :
On 18.10.2012, at 10:58, Adrian Schröter
wrote: Am Donnerstag, 18. Oktober 2012, 10:51:29 schrieb Guillaume Gardet:
Le 18/10/2012 10:47, Adrian Schröter a écrit :
Am Donnerstag, 18. Oktober 2012, 10:45:25 schrieb Guillaume Gardet:
Hi,
would it be possible to add armv5 kiwi support for oem images, please?
With a quick look at the source code on : https://github.com/openSUSE/kiwi I guess we must create a system/boot/armv5tel/* (or armv5el?) using armv7l/* as template? Not sure if it is enough.
I can do it if a kiwi guru (marcus?) give me some hints. I am playing with that atm in openSUSE:Factory:ARM (some first experimental boot files are there).
However, we need to fix the qemu cpu emulation for armv5 first or kiwi won't pick anything else then the armv7 one ...
What is the problem with qemu for armv5? according to uname it is armv7l cpu ... Yeah, we need a separate binfmt wrapper in qemu-accel-armv5 that sets QEMU_CPU to an armv5 cpu and then exec()s the real binfmt wrapper.
Is there anyone who could fix that, please? Because I am not sure what to do where! ;) But, I can prepare a kiwi patch to add support for oem images. Which arch will report qemu once fixed? armv5el, arm5tel or something else? Guillaume
Alex
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On 10/18/2012 11:41 AM, Guillaume Gardet wrote:
Le 18/10/2012 11:01, Alexander Graf a écrit :
On 18.10.2012, at 10:58, Adrian Schröter
wrote: Am Donnerstag, 18. Oktober 2012, 10:51:29 schrieb Guillaume Gardet:
Le 18/10/2012 10:47, Adrian Schröter a écrit :
Am Donnerstag, 18. Oktober 2012, 10:45:25 schrieb Guillaume Gardet:
Hi,
would it be possible to add armv5 kiwi support for oem images, please?
With a quick look at the source code on : https://github.com/openSUSE/kiwi I guess we must create a system/boot/armv5tel/* (or armv5el?) using armv7l/* as template? Not sure if it is enough.
I can do it if a kiwi guru (marcus?) give me some hints. I am playing with that atm in openSUSE:Factory:ARM (some first experimental boot files are there).
However, we need to fix the qemu cpu emulation for armv5 first or kiwi won't pick anything else then the armv7 one ...
What is the problem with qemu for armv5? according to uname it is armv7l cpu ... Yeah, we need a separate binfmt wrapper in qemu-accel-armv5 that sets QEMU_CPU to an armv5 cpu and then exec()s the real binfmt wrapper.
Is there anyone who could fix that, please? Because I am not sure what to do where! ;) But, I can prepare a kiwi patch to add support for oem images. Which arch will report qemu once fixed? armv5el, arm5tel or something else?
Yeah, I'll hack something up. Whatever real hardware would report :). Alex -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On 10/18/2012 11:43 AM, Alexander Graf wrote:
On 10/18/2012 11:41 AM, Guillaume Gardet wrote:
Le 18/10/2012 11:01, Alexander Graf a écrit :
On 18.10.2012, at 10:58, Adrian Schröter
wrote: Am Donnerstag, 18. Oktober 2012, 10:51:29 schrieb Guillaume Gardet:
Le 18/10/2012 10:47, Adrian Schröter a écrit :
Am Donnerstag, 18. Oktober 2012, 10:45:25 schrieb Guillaume Gardet: > Hi, > > would it be possible to add armv5 kiwi support for oem images, > please? > > With a quick look at the source code on : > https://github.com/openSUSE/kiwi > I guess we must create a system/boot/armv5tel/* (or armv5el?) > using armv7l/* as template? Not sure if it is enough. > > I can do it if a kiwi guru (marcus?) give me some hints. I am playing with that atm in openSUSE:Factory:ARM (some first experimental boot files are there).
However, we need to fix the qemu cpu emulation for armv5 first or kiwi won't pick anything else then the armv7 one ...
What is the problem with qemu for armv5? according to uname it is armv7l cpu ... Yeah, we need a separate binfmt wrapper in qemu-accel-armv5 that sets QEMU_CPU to an armv5 cpu and then exec()s the real binfmt wrapper.
Is there anyone who could fix that, please? Because I am not sure what to do where! ;) But, I can prepare a kiwi patch to add support for oem images. Which arch will report qemu once fixed? armv5el, arm5tel or something else?
Yeah, I'll hack something up.
Whatever real hardware would report :).
armv5tel Alex -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
On 10/18/2012 11:50 AM, Alexander Graf wrote:
On 10/18/2012 11:43 AM, Alexander Graf wrote:
On 10/18/2012 11:41 AM, Guillaume Gardet wrote:
Le 18/10/2012 11:01, Alexander Graf a écrit :
On 18.10.2012, at 10:58, Adrian Schröter
wrote: Am Donnerstag, 18. Oktober 2012, 10:51:29 schrieb Guillaume Gardet:
Le 18/10/2012 10:47, Adrian Schröter a écrit : > Am Donnerstag, 18. Oktober 2012, 10:45:25 schrieb Guillaume Gardet: >> Hi, >> >> would it be possible to add armv5 kiwi support for oem images, >> please? >> >> With a quick look at the source code on : >> https://github.com/openSUSE/kiwi >> I guess we must create a system/boot/armv5tel/* (or armv5el?) >> using armv7l/* as template? Not sure if it is enough. >> >> I can do it if a kiwi guru (marcus?) give me some hints. > I am playing with that atm in openSUSE:Factory:ARM (some first > experimental boot files are there). > > However, we need to fix the qemu cpu emulation for armv5 first > or kiwi > won't pick anything else then the armv7 one ... > What is the problem with qemu for armv5? according to uname it is armv7l cpu ... Yeah, we need a separate binfmt wrapper in qemu-accel-armv5 that sets QEMU_CPU to an armv5 cpu and then exec()s the real binfmt wrapper.
Is there anyone who could fix that, please? Because I am not sure what to do where! ;) But, I can prepare a kiwi patch to add support for oem images. Which arch will report qemu once fixed? armv5el, arm5tel or something else?
Yeah, I'll hack something up.
Ok, done. Please verify it actually works and the new qemu-accel properly overwrites the binfmt wrapper with the new binary. Alex -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Le 18/10/2012 12:18, Alexander Graf a écrit :
On 10/18/2012 11:50 AM, Alexander Graf wrote:
On 10/18/2012 11:43 AM, Alexander Graf wrote:
On 10/18/2012 11:41 AM, Guillaume Gardet wrote:
Le 18/10/2012 11:01, Alexander Graf a écrit :
On 18.10.2012, at 10:58, Adrian Schröter
wrote: Am Donnerstag, 18. Oktober 2012, 10:51:29 schrieb Guillaume Gardet: > Le 18/10/2012 10:47, Adrian Schröter a écrit : >> Am Donnerstag, 18. Oktober 2012, 10:45:25 schrieb Guillaume Gardet: >>> Hi, >>> >>> would it be possible to add armv5 kiwi support for oem images, please? >>> >>> With a quick look at the source code on : https://github.com/openSUSE/kiwi >>> I guess we must create a system/boot/armv5tel/* (or armv5el?) using armv7l/* as template? Not sure if it is enough. >>> >>> I can do it if a kiwi guru (marcus?) give me some hints. >> I am playing with that atm in openSUSE:Factory:ARM (some first experimental boot files are there). >> >> However, we need to fix the qemu cpu emulation for armv5 first or kiwi >> won't pick anything else then the armv7 one ... >> > What is the problem with qemu for armv5? according to uname it is armv7l cpu ... Yeah, we need a separate binfmt wrapper in qemu-accel-armv5 that sets QEMU_CPU to an armv5 cpu and then exec()s the real binfmt wrapper.
Is there anyone who could fix that, please? Because I am not sure what to do where! ;) But, I can prepare a kiwi patch to add support for oem images. Which arch will report qemu once fixed? armv5el, arm5tel or something else?
Yeah, I'll hack something up.
Ok, done. Please verify it actually works and the new qemu-accel properly overwrites the binfmt wrapper with the new binary.
How to check? Using "uname -a"? If, so, I tried to do it from a package in my home project and I get: uname -a [ 102s] Linux build02 3.4.6-2.10-xen #1 SMP Thu Jul 26 09:36:26 UTC 2012 (641c197) armv7l armv7l armv7l GNU/Linux Guillaume
Alex
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Hi,
would it be possible to add armv5 kiwi support for oem images, please?
With a quick look at the source code on : https://github.com/openSUSE/kiwi I guess we must create a system/boot/armv5tel/* (or armv5el?) using armv7l/* as template? Not sure if it is enough.
I can do it if a kiwi guru (marcus?) give me some hints.
Adding a new architecture to kiwi would mean a bit more work. Basically the following steps needs to be done: 1) add system/boot/armv5el/... according to what uname reports as arch name for this architecture. 2) decide which image types we want to support e.g oem and copy the current armv7l boot code over to armv5el with the hope that no code adaptions are required :-) cp -a system/boot/armv7l/oemboot system/boot/armv5el/ 3) provide one JeOS template for one armv5 based box as an example in: template/armv5el/suse-12.2-JeOS 4) adapt spec file to build armv5el kiwi packages correctly It is a bit of work to do it in a clean way atm I don't have a time slot left to do it and probably most blocking I don't have any armv5 box to test nor to build. I think the qemu/binfmt based building site needs to be read first Your help is very much appreciated thanks for your effort Regards, Marcus -- Public Key available gpg --keyserver pgp.mit.edu --recv-keys 0xCCE3C6A2 ------------------------------------------------------- Marcus Schäfer (Res. & Dev.) SUSE LINUX Products GmbH Tel: 0911-740 53 0 Maxfeldstrasse 5 FAX: 0911-740 53 479 D-90409 Nürnberg GF: Jeff Hawn,Jennifer Guild, Felix Imendörffer HRB: 21284 (AG Nürnberg) Germany http://www.suse.de ------------------------------------------------------- -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
participants (4)
-
Adrian Schröter
-
Alexander Graf
-
Guillaume Gardet
-
Marcus Schäfer