Difference between revisions of "BeagleBoardFedora"

From eLinux.org
Jump to: navigation, search
m (rpm)
(fix typo (?). link to article that goes into more detail.)
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
[[Category: Linux]]
 
[[Category: Linux]]
 
[[Category: OMAP]]
 
[[Category: OMAP]]
Random hacking notes for getting Fedora 10 to kinda work with the [[BeagleBoard]]. ;)
 
  
http://fedoraproject.org/wiki/Architectures/ARM
+
== Fedora 23 ==
  
and use one of my CC* images.. http://www.rcn-ee.com/deb/kernel/
+
Random hacking notes for getting Fedora 23 to kinda work with the [[BeagleBoard]]. ;)
  
Patches: http://rcn-ee.homeip.net:83/fedora-patches/
+
http://fedoraproject.org/wiki/Architectures/ARM
 
 
= Patch fedora 10 root file system =
 
Note: patch isn't installed, so patch these before your boot.
 
 
 
== 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 ==
 
 
 
Note; this can be improved by patching rpm directly and rebuilding, however just to get things running this is fine.
 
 
 
--- ../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-a
 
 
 
  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
 
 
 
= Recommended Tools to have Downloaded before First boot=
 
  
dhclient = http://ftp.linux.org.uk/pub/linux/arm/fedora/pub/fedora/linux/releases/10/Everything/arm/os/Packages/dhclient-4.0.0-30.fc10.armv5tel.rpm
+
== Fedora 22 ==
 
wget = http://ftp.linux.org.uk/pub/linux/arm/fedora/pub/fedora/linux/releases/10/Everything/arm/os/Packages/wget-1.11.4-1.fc10.armv5tel.rpm
 
 
nano = http://rcn-ee.homeip.net:81/dl/fedora/fc10.0/RPMS/armv7l/nano-2.0.6-4.fc10.armv7l.rpm
 
  
= Building packages =
+
https://fedoraproject.org/wiki/Architectures/ARM/F22/Installation
  
in most cases build your packages for armv5... (not everything works when built as armv7l)
+
== Fedora 20 ==
rpmbuild -ba --target armv5tel dejagnu.spec
 
  
 +
[http://www.roussos.cc/2014/06/23/fedora-beaglebone-black/ "Setup a home server with Fedora and BeagleBone Black"]
 +
(This process works just as well for later versions, right?)
  
= armv7l =
+
= Fedora 19 =
  
Note; this is just my first pass at rebuilding all rpm's, so things are bound to break, and they will, and they have.  So only dive in head first if you don't mind.
+
An image for the BeagleBoneBlack can be found here:
  
Add to fedora.repo
+
http://parasense.fedorapeople.org/
  
[fedora-armv7l]
+
Note that an 8GB sdcard is required for this image.
name=Fedora armv7l
 
baseurl=http://rcn-ee.homeip.net:81/dl/fedora/fc10.0/RPMS/
 
enabled=1
 
gpgcheck=0
 
  
gpgkey: http://rcn-ee.homeip.net:81/dl/fedora/fc10.0/RPM-GPG-KEY-rcn-ee.com
+
== Setting Up A User ==
 +
At first boot you need to use a monitor and use the graphical initial-setup.
 +
If you don't have a monitor - mount the sdcard and edit '/etc/passwd' and remove the 'x'
 +
from the the line beginning with 'root'

Latest revision as of 10:47, 29 November 2015


Fedora 23

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

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

Fedora 22

https://fedoraproject.org/wiki/Architectures/ARM/F22/Installation

Fedora 20

"Setup a home server with Fedora and BeagleBone Black" (This process works just as well for later versions, right?)

Fedora 19

An image for the BeagleBoneBlack can be found here:

http://parasense.fedorapeople.org/

Note that an 8GB sdcard is required for this image.

Setting Up A User

At first boot you need to use a monitor and use the graphical initial-setup. If you don't have a monitor - mount the sdcard and edit '/etc/passwd' and remove the 'x' from the the line beginning with 'root'