Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
View: 4496|Reply: 9

FC22 alpha 3

[Copy link]

11

Threads

59

Posts

326

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
326
Post time 2015-3-31 03:53:47 | Show all posts |Read mode
Hi,

I just installed the FC22 alpha 3 Xfce image from:
http://download.fedoraproject.or ... _Alpha-3-sda.raw.xz
I did not test the other images to be found under the ARM section of http://spins.fedoraproject.org/en/prerelease but I expect no issues for these either.
I used the script below to write the image to an SD card (minimal 4 GB).
invocation:
install_image /dev/sdX Fedora-Xfce-armhfp-22_Alpha-3-sda.raw.xz
where /dev/sdX is the name of the SD card.
The script will also set the root password to root
If there are issues feel free to drop a note in this thread.
Also if you have no problems, I appreciate a short message that things work for you.

Enjoy! Frans

#!/bin/bash
if [ $# -ne 2 ]
then
  echo "Usage: $0 /dev/sdX imagename"
  echo " replace your device letter with X (so e.g. /dev/sdd)"
  echo " make sure this sd card is empty and not mounted!"
  exit 1
fi

echo "About to write to $1"
echo "All data on this device will be lost!!!!"
echo "type \"yes\" (without the quotes) on the next line to continue"
echo "everything else will abort"
echo -n "Do you want to continue and loose all information on $1? "
read answer
if [ "$answer" != "yes" ]
then
  echo "Aborting...."
  exit 1
fi

echo "Writing the image. This will take some time"
xzcat $2 | dd of=$1 bs=4M

echo "Downloading done; finishing up"
mkdir tmp$$
partprobe $1
#fdisk $1 << EOF
#d
#3
#n
#p
#3
#
#7600000
#w
#q
#EOF
#partprobe $1
#e2fsck -f ${1}3
#resize2fs ${1}3
#partprobe $1
#sleep 10
#umount {1}1 2>/dev/null
#umount {1}3 2>/dev/null
mount ${1}3 tmp$$
dd if=tmp$$/usr/share/uboot/Bananapi/u-boot-sunxi-with-spl.bin of=${1} bs=1024 seek=8 conv=fsync,notrunc
sed -i "s/enforcing/disabled/" tmp$$/etc/selinux/config
sed -i "s/::/6$QJIBRZlj$K5msWRb0sqAdIDlnKgkyfpoSDgEblFb95vyTcFgCbBHqxQb9UDdVEPjaG69bAarff0nKAT2Rn3wDuNVkyPEmU0:/" tmp$$/etc/shadow
umount ${1}3
exit 0
You can also reach me on freenode irc, channel #orangepi username eFfeM

8

Threads

45

Posts

243

Credits

Intermediate member

Rank: 3Rank: 3

Credits
243
Post time 2015-4-5 01:37:06 | Show all posts
Sorry for asking. I dont have a Orange Pi yet. Why did u use this Script for flashing on sd-card? Isnt it possible with "dd" command?
I am building a german forum on at http://forum-orangepi.de
Visi

11

Threads

59

Posts

326

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
326
 Author| Post time 2015-4-8 17:40:51 | Show all posts
You can use dd tp write to the SD card but after that you also need to dd the u-boot image.
The FC image is platform independent and can be used on orange pi but also e.g. on pandaboard.
This uses the same kernel but requires a different way to boot.

To support these different platforms the right u-boot needs to be taken from the image and written to the sd card as well.
In the script this is done in the line:
dd if=tmp$$/usr/share/uboot/Bananapi/u-boot-sunxi-with-spl.bin of=${1} bs=1024 seek=8 conv=fsync,notrunc

And the standard FC image is for a 4GB card if I recall correctly.
There is also code in the script to make maximum use of the capacity of the SD card but that part (the fdisk section) is commented out

Generally I try to make things as simple as possible for the user
You can also reach me on freenode irc, channel #orangepi username eFfeM

0

Threads

10

Posts

78

Credits

Registered member

Rank: 2

Credits
78
Post time 2015-10-12 03:16:59 | Show all posts
@FransM : It looks like you're the only one who cared about Fedora on the Orange PI. I try to make the latest FC22 image boot on my Orange PI PC with no luck so far. I've followed the installation guide and used your script but no dice. Would you mind look into it?

10

Threads

448

Posts

3891

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
3891
Post time 2015-10-13 06:47:55 | Show all posts
I have Fedora 22 installation running without problem on OrangePI H3 boards. I'll post the images soon.

0

Threads

10

Posts

78

Credits

Registered member

Rank: 2

Credits
78
Post time 2015-10-13 16:30:18 | Show all posts
loboris replied at 2015-10-13 06:47
I have Fedora 22 installation running without problem on OrangePI H3 boards. I'll post the images so ...

@loboris: You own this place, seriously. I really appreciate your efforts in the OPI community. You should consider writing a few guides/tutorials to share your know-how with those who care.

10

Threads

448

Posts

3891

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
3891
Post time 2015-10-14 04:24:42 | Show all posts
Fedora 22 images upladed to Mega, more info here.

0

Threads

10

Posts

78

Credits

Registered member

Rank: 2

Credits
78
Post time 2015-10-14 16:07:34 | Show all posts
Thanks man! I'm already running it on my OPI-PC.

P.S.: Maybe you should create a thread int the Fedora forum, pointing to your other thread with the images and infos.

2

Threads

34

Posts

225

Credits

Intermediate member

Rank: 3Rank: 3

Credits
225
Post time 2015-10-15 00:54:29 | Show all posts
I tried it but the Ethernet did not work.

4

Threads

52

Posts

284

Credits

Intermediate member

Rank: 3Rank: 3

Credits
284
Post time 2015-10-15 04:41:35 | Show all posts
On what board? I just tried it on my OPI+ and guess what? It worked like a charm!
You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2019-12-12 01:28 GMT+8 , Processed in 0.035060 second(s), 22 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list