"Bamvor Jian Zhang" <bjzhang@suse.com> 2013-4-12 上午 0:45 >>> thanks your reply.
Dirk Müller 2013-4-11 下午 22:20 >>> 2013/4/11 Bamvor Jian Zhang :
Hi,
i am trying to build a kiwi image for Allwinner A10. i have already run opensuse 12.3 successful on kernel 3.0. the kernel and uboot is build on obs: home:bjzhang:devel:ARM:12.3:Contrib:sun4i/kernel-sun4i home:bjzhang:devel:ARM:12.3:Contrib:sun4i/uboot-sun4i
Awesome! Note that I'm just trying to get a similar thing done in devel:ARM:12.3:Contrib:sunxi
i reference "openSUSE for ARM on your device" slide and modify Image.kiwi.in then generate kiwi through "sh pre_checkin.sh". but i got lots of problems. i do not use kiwi before this, sorry for the noise:
1, when will uboot-setup.tgz used?
it will be unpacked after all rpms are installed and before the image is being tar'ed/assembled up.
it seems that it only used when kernel update on opensuse arm? So, i could just ignore it when build image at the beginning?
Yes.
2, Jeos-cubieboard build successful, but xz image seems empty and tar.bz2 is generated. i could only see xz package on http://download.opensuse.org/ports/armv7hl/distribution/12.3/images/ except XFCE-rootfs. do i miss something important in Jeos-cubieboard.kiwi?
I'll have a look. the main difference is the type=oemboot. sorry, i do not got the point, i compare JeOS-panda.kiwi and JeOS-cubieboard.kiwi <type image="oem" filesystem="ext3" boot="oemboot/suse-12.2" bootloader="uboot" kernelcmdline="console=ttyS0,115200n8" editbootconfig="uboot-image-setup" editbootinstall="uboot-image-install">
I found that i missing "conv=notrunc" in uboot-image-install, maybe it will truncate the raw image, so my raw image is very small. i fixed it and rebuild it.
3, build image on server is very slow, i want to build locally, but i failed on both x86_64 and arm. 1), if i build on x64_64 on opensuse 12.3: XFCE-cubieboard> osc build XFCE-cubieboard.kiwi images armv7l --clean Building armv7l for XFCE-cubieboard.kiwi/images Unknown build type: ''. Build description should end in .spec, .dsc or .kiwi.
the order is "build description last", e.g. osc build images armv7l XFCE-cubieboard.kiwi
we don't have qemu wrapping setup up for images/ build yet, so you need to do that on real armv7l hardware. I can try looking into a qemu wrapper setup instead.
2), when i try it on arm opensuse 12.2, osc reports that lots of package not found in opensuse 12.3 repo, what should i do?
5, some name of my packages is not correct, but i do not know how to rename it, e.g. it had better rename uboot-sun4i to u-boot-sun4i and rename Jeos-cubieboard to JeOS-cubieboard.
there is no rename/move implemented in OBS, instead it is osc copypac and delete afterwards.
beside, i could not find firefox on my opensuse arm 12.3, do i missing something?
No, we have not built firefox in time. I hope that it will be provided via a maintenance update later.
Greetings, Dirk
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org