BeagleBoardFedora

From eLinux.org
Revision as of 14:59, 6 March 2009 by RobertCNelson (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Random hacking notes for getting Fedora 10 to kinda work with the BeagleBoard. ;)

http://fedoraproject.org/wiki/Architectures/ARM

and use one of my CC* images.. http://www.rcn-ee.com/deb/kernel/

Patches: http://rcn-ee.homeip.net:83/fedora-patches/

Fix things

yum

--- ../fedora-10-orig/usr/lib/python2.5/site-packages/rpmUtils/arch.py	2008-10-29 09:30:20.000000000 -0500
+++ ./usr/lib/python2.5/site-packages/rpmUtils/arch.py	2009-02-21 11:45:09.000000000 -0600
@@ -57,7 +57,8 @@
     "alpha":      "noarch",
 
     # arm
-    "armv61": "armv5tejl",
+    "armv7l": "armv6l",
+    "armv6l": "armv5tejl",
     "armv5tejl": "armv5tel",
     "armv5tel": "noarch",

rpm

--- ../fedora-10-orig/usr/lib/rpm/rpmrc	2009-01-05 13:40:36.000000000 -0600
+++ ./usr/lib/rpm/rpmrc	2009-03-06 15:26:39.000000000 -0600
@@ -65,6 +65,7 @@
 optflags: armv5tel -O2 -g -march=armv5te
 optflags: armv5tejl -O2 -g -march=armv5te
 optflags: armv6l -O2 -g -march=armv6
+optflags: armv7l -O2 -g -march=armv7
 
 optflags: atarist -O2 -g -fomit-frame-pointer
 optflags: atariste -O2 -g -fomit-frame-pointer
@@ -138,6 +139,7 @@
 arch_canon:     armv5tel: armv5tel 	12
 arch_canon:     armv5tejl: armv5tejl 	12
 arch_canon:     armv6l: armv6l 	12
+arch_canon:     armv7l: armv7l  12
 
 arch_canon:	m68kmint: m68kmint	13
 arch_canon:	atarist: m68kmint	13
@@ -245,6 +247,7 @@
 buildarchtranslate: armv5tel: armv5tel
 buildarchtranslate: armv5tejl: armv5tejl
 buildarchtranslate: armv6l: armv6l
+buildarchtranslate: armv7l: armv7l
 
 buildarchtranslate: atarist: m68kmint
 buildarchtranslate: atariste: m68kmint
@@ -326,6 +329,7 @@
 arch_compat: parisc: noarch
 
 arch_compat: armv4b: noarch
+arch_compat: armv7l: armv6l
 arch_compat: armv6l: armv5tejl
 arch_compat: armv5tejl: armv5tel
 arch_compat: armv5tel: armv4tl
@@ -429,6 +433,7 @@
 buildarch_compat: mipsel: noarch
 
 buildarch_compat: armv4b: noarch
+buildarch_compat: armv7l: armv6l
 buildarch_compat: armv6l: armv5tejl
 buildarch_compat: armv5tejl: armv5tel
 buildarch_compat: armv5tel: armv4tl