Hi, This can be done in two steps: - prepare rootfs with all packages required for building first rpms set. - chroot in prepared rootfs and build list of src.rpms (near 80). These rpms will be used as pre-builts.
For this bootstrap procedure we did some helpers scripts: - it takes sources from Tizen repo and crosscompile them for initial buildroot - then it builds list of rpms from source rpms - we used it to prepare mipsel pre-builts but it can be used for any other arch after some improvement. If such tool is interesting for Tizen maintainers we can put it in Tizen public repo. Regarding toolchain(binutils, libc, gcc): we dont build separated gcc, libc, binutils. We split separated cross-toolchain in several rpms: - qemu-accel - to emulate target compilation with host crosscompiler - libc - runtime libraries and binaries - libc-devel - devel files - headers and libraries - gсс, binutils, etc - fake rpms to emulate target compilation with host crosscompiler More details we are going to document for Tizen wiki. On Thu, Oct 9, 2014 at 2:04 PM, N S S R Murthy <[email protected] > wrote: > I found the toolchain repos in "ssh review.tizen.org gerrit ls-projects | > grep toolchains 2>&1 | tee toolchain.lst" . > I have attached the list. What are steps to create RPMs for MIPS arch? > > Regards, > Murthy NSSR. > > ------------------------------ > *From: *"N S S R Murthy" <[email protected]> > *To: *"Andrii Boichuk" <[email protected]> > *Cc: *[email protected] > *Sent: *Thursday, October 9, 2014 4:18:16 PM > *Subject: *Re: [Dev] [Tizen Product-dev] Tizen on MIPS arch > > Hi, I have tried to pack the Mentrographics(CodeSourcery) MIPS tool chain > to RPMs and place in pre-built/toolchain-mips folder. > But there are lot of packages which are not there in Mentor tool chain. > > How to get the tool chain for MIPS. Are there any tool chain sources > repos, from which I can build cross platform toolchain for MIPS? > If yes, how to build them? > > Regards, > Murthy NSSR. > > ------------------------------ > *From: *"Andrii Boichuk" <[email protected]> > *To: *"JF Ding" <[email protected]> > *Cc: *[email protected] > *Sent: *Wednesday, October 8, 2014 1:09:52 PM > *Subject: *Re: [Dev] [Tizen Product-dev] Tizen on MIPS arch > > Great! > Feel fre to notify me if any changes needed in them. > > Whould be great if you can answer this also: > *Also, take a look into patch for qemu at the end of the page > here http://patchwork.ozlabs.org/patch/250161/ > <http://patchwork.ozlabs.org/patch/250161/> . It hould be aplied if you > want qemu to work properly for mipsel.* > > *One more question about qemu, we have fixed mask for > qemu-reg(/usr/lib/build/qemu-reg from build package) for mipsel platform > and don't know where to submit it. Whould be great if anyone can help us > with that.* > > Don't we need any changes to scm/meta/build-config/build.conf file like > "Optflags" for architecture specific compiler options? > > Not shure, we have a lot of things changed because of platform specifics, > but can't find anything mips related > > And I see there are many "%ifarch %{arm}" in spec files of various > packages? Do we need to do something here to be MIPS specific? > > Most of our changes in .specs where specific to our platform. But you > would need to look into patch *http://patchwork.ozlabs.org/patch/250161/ > <http://patchwork.ozlabs.org/patch/250161/>* and fix qemu-reg(we will > contribute fix as soon as we know where to contribute) > > On Wed, Oct 8, 2014 at 10:29 AM, JF Ding <[email protected]> wrote: > >> Sorry for noticing these patches of building tools so late, because we >> were rotating the maintainers those days. We are going to verify and >> integrate them ASAP for the convenience of MIPS porting. >> >> thanks >> - jf.ding >> >> On Monday, October 6, 2014 at 4:18 PM, Andrii Boichuk wrote: >> >> Hi all! >> It looks like we already tried to push our changes in Jul? but they >> wasn't reviewed. Whould be great if they we'll be reviewed sooner this time. >> https://review.tizen.org/gerrit/#/c/24983/ >> https://review.tizen.org/gerrit/#/c/24984/ >> https://review.tizen.org/gerrit/#/c/24867/ >> https://review.tizen.org/gerrit/#/c/24866/ >> >> On Mon, Oct 6, 2014 at 9:48 AM, Philippe Coval < >> [email protected]> wrote: >> >> On Mon, Oct 6, 2014 at 8:21 AM, N S S R Murthy >> <[email protected]> wrote: >> > Hi Philippe, >> > >> > This is a priority question. We are more focused on Tizen wear. >> >> ok then I guess you want to build this profile : >> >> https://build.tizen.org/project/show?project=Tizen%3A2.3%3AWearable >> >> Make sure you have every sources because IICR there are binary blobs >> (ARMv7l) >> in this profile >> >> >> > If we go ahead with Tizen 3.0 common and 3.14 Kernel, we can get the >> base >> > work required for bringing up Tizen wear. >> > But there seems to be no Tizen wear profile on Tizen 3.0 till now. >> >> None I know at least >> >> >> > Any time lines for it? By when we can see Tizen wearable profile on >> Tizen >> > 3.0. >> >> Sorry I don't know any, may others in this list give you better hints >> I can only help you to have MIPS support for Tizen:Common >> in hope it will be available for downstream profiles (ie: IVI at the >> moment) >> >> Good luck >> -- >> mailto:[email protected] -- gpg:0x467094BC >> xmpp:[email protected] >> https://dockr.eurogiciel.fr/blogs/embedded/author/pcl/ >> . >> _______________________________________________ >> Dev mailing list >> [email protected] >> https://lists.tizen.org/listinfo/dev >> >> >> >> >> -- >> Andrii Boichuk | Software developer >> GlobalLogic >> M +38.063.427.1605 S liberus.ua >> www.globallogic.com.ua >> <http://www.globallogic.com/> >> http://www.globallogic.com/email_disclaimer.txt >> _______________________________________________ >> Dev mailing list >> [email protected] >> https://lists.tizen.org/listinfo/dev >> >> >> > > > -- > Andrii Boichuk | Software developer > GlobalLogic > M +38.063.427.1605 S liberus.ua > www.globallogic.com.ua > <http://www.globallogic.com/> > http://www.globallogic.com/email_disclaimer.txt > > _______________________________________________ > Dev mailing list > [email protected] > https://lists.tizen.org/listinfo/dev > > > _______________________________________________ > Dev mailing list > [email protected] > https://lists.tizen.org/listinfo/dev > > > _______________________________________________ > Dev mailing list > [email protected] > https://lists.tizen.org/listinfo/dev > > -- Andriy Prystupa | SW Engineer GlobalLogic P +x.xxx.xxx.xxxx M +38.097.330.9412 S prandriy www.globallogic.com <http://www.globallogic.com/> http://www.globallogic.com/email_disclaimer.txt
_______________________________________________ Dev mailing list [email protected] https://lists.tizen.org/listinfo/dev
