|
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, he announced “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/ ... 10-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,然后好好研究!
|
|