View Single Post
Old 08-18-2015, 08:15 PM   #58
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by newman View Post
- - -
I am on Fedora 22. Supports ARM but arm7+ only.
- - -
Can I start from configs/freescale_imx31_3stack_defconfig?
- - -
Second (easy) one first -
I have no idea, but that one sounds like a good starting point by its name.

- - - -

I was speaking of running in a chroot under qemu, native Debian toolchain, system libs, etc.
So the level of ARM support in Fedora makes no difference.

But to get there the Fedora pieces are:
1) Can you run one of these (F-17) under F-22?
http://rpm.pbone.net/index.php3/stat...emu-arm-static
Even if not, that page should demonstrate the Fedora naming convention for the qemu-static emulator you need.

2) Then you will need binfmt_misc support installed on F-22.
Your looking for something like these:
http://rpmfind.net/linux/rpm2html/se...fmt_misc.ko%29

Those are the only things Fedora that you need to run Debian/ARMel in a chroot.
Ahh...
Along the lines of this:
https://wiki.debian.org/EmDebian/Cro...p.2Fmultistrap

(debootstrap is a bash script - even Fedora should be able to run that. )

As I recall, it is a two stage process -
The first you run under Fedora/Bash -
The second stage you have to chroot into the just populate chroot environment and "tell" debootstrap to run stage two (which must run native - in this case ARMv5 IIRC).


I am pretty sure Potato is the flavor you will need (and I think twobob and I where using Woody for the K-3 through K-5).
https://www.debian.org/releases/pota...ts-new.en.html

Here is the home of Debian 2.2 (Potato):
http://archive.debian.org/debian/dists/Debian-2.2/

And it will be pulling binaries from here:
http://archive.debian.org/debian/dis...in/binary-arm/

And Debian 3.0 (woody):
http://archive.debian.org/debian/dists/Debian-3.0/

There are directions here (MR) about creating and using this armel chroot under qemu-static.
There are even 'starter' images posted (twobob, brianmaine)

If you go that route, you'll have to do an rpm search for the Fedora build of debootstrap - - at least they used to stock one.

- - - -

There, see how far that gets you - report back on any problems you find because I think everything posted here is for Woody.

Last edited by knc1; 08-18-2015 at 09:23 PM.
knc1 is offline   Reply With Quote