matson 发表于 2013-3-26 12:29:42

Fedora18支持Cubieboard了

A few months ago,, currently working at Red Hat and a Fedora contributor, started to show up on linux-sunxi mailing list, and sent a lot of kernel patches for linux-sunxi kernel. Last week-end, heannounced “Fedora 18 Final for Allwinner A10 and A13 based devices” on linux-sunxi community mailing list.
几个月前, Red Hat工程师(另外一个身份是Fedora contributor)Hans de Goede,开始活跃在linux-sunxi邮件列表中,他给linux-sunxi提了大量的补丁。前不久,他在邮件列表中宣布“Fedora 18 Final for Allwinner A10 and A13 based devices”。也就是说Cubieboard可以运行最新的fedora 18了,这对与Cubieboard者是个非常不错的消息!

To install it, first download the image:
要安装fedora 18,首先下载镜像包

$wget http://scotland.proximity.on.ca/contrib-images/hansg/Fedora-18-a10-armhfp-r1.img.xz
(注:网速有点慢)

And write it to an SD card (all data will be wiped out):
然后把它写到SD卡(注意:所有数据被毁擦除)


$xzcat Fedora-18-a10-armhfp-r1.img.xz > /dev/mmcblk0

You may have to replace “/dev/mmcblk0″ by your own SD card device, e.g. “/dev/sdc”.
AllWinner based devices can share the same kernel, but u-boot is board/products specific, so you’ll have to install u-boot for your board. First remove the SD card, re-insert it in order to automatically mount the FAT partition, and run:
您需要把/dev/mmcblk0替换成你自己的SD卡设备,比如/dev/sdc。把镜像文件写入到卡以后,接下来需要把启动引导程序也写入到卡里面。首先把卡拔出,然后重新插入进去,此时系统会帮您自动挂载卡里面的FAT文件系统。


$sh <uboot-part-mount>/select-board.sh

This will show the list of supported boards and products. Then run the command again for your device. For example:
sudo sh <uboot-part-mount>/select-board.sh cubieboard

FAT文件系统挂载起来后,运行卡中根目录下的select-board.sh脚本,比如
$sudo sh <uboot-part-mount>/select-board.sh cubieboard

finally umount the uboot and rootfs partitions. Your Fedora 18 distribution is now ready.Insert the SD card in your device, connect your device to an HDMI monitor (except for tablets/netbooks), and power it up. It will reboot once as it will automatically resize the rootfs partition to fully utilize your SD card), and it will enter a first boot menu where you’ll be able to create users, and setup Wi-Fi.
Fedora 18 for AllWinner A1X supports most peripherals, but there’s currently no support for Mali 400 GPU, the VPU, and G2D 2D engine.

完成后,把卡卸载,此时fedora18系统的卡就已经制作好了。把卡插入cubieboard,接上HDMI,然后上电。Enjoy yourself!!


This version of Fedora 18 is optimized for AllWinner A1x SoCs. So even though you could always install the stock Fedora 18 armhf on your device, this version should perform better, as it does not run all services started in the stock version, and there’s no plymouth, nor initrd.
You can also rebuild the image yourself by using sunxi-fedora-scripts.

如果想定制开发,可以folk作者的git仓库,https://github.com/jwrdegoede/sunxi-fedora-scripts,然后好好研究!


Read more: http://www.cnx-software.com/tag/cubieboard/#ixzz2OcGpcMID






3322444666 发表于 2013-3-26 12:51:58

CENTOS要是支持就好了

matson 发表于 2013-3-26 23:50:57

try了下。2个小说明:
1、在ubuntu 12.04下操作时,下面的命令
sudo sh <uboot-part-mount>/select-board.sh cubieboard
我改成了
sudo bash <uboot-part-mount>/select-board.sh cubieboard

2、默认root密码是:fedora

3、建议把cpufreq的策略改为performance。(通过sysfs改)

matson 发表于 2013-3-27 11:02:54

调整cpufreq策略方法:
#cd /sys/devices/system/cpu/cpu0/cpufreq
#cat scaling_available_governors
获取系统支持的cpu调频测率
#echo performance > scaling_governor
选择performance模式


matson 发表于 2013-3-27 11:16:11

用了tplink的一款wifi,可以用,速度也不错。应该默认支持8188CU/8192CU芯片的wifi。在淘宝上搜索8192CU,可以找到一堆可用的wifi

matson 发表于 2013-3-27 11:23:27

镜像文件建议从下面网址下载,速度好一些
http://dl.cubieboard.org/software/fedora/Fedora-18-a10-armhfp-r1.img.xz
页: [1]
查看完整版本: Fedora18支持Cubieboard了