Final Release of Fedora 18 for AllWinner A10 & A13 Powered Devices

Fedora_18_AllWinner_A1XA few months ago, Hans de Goede, 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.

To install it, first download the image:


And write it to an SD card (all data will be wiped out):


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:


This will show the list of supported boards and products. Then run the command again for your device. For example:


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.

Fedora 18 should work with the following boards and products:

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.

More details are available in the README.

Support CNX Software - Donate via PayPal or become a Patron on Patreon

17
Leave a Reply

avatar
17 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
10 Comment authors
gabEdmundäxlj1nxGraeme Russ Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
trackback

[…] Via: cnx-software […]

anon
Guest
anon

Too bad can not get my only Allwinner A10-based tablet (Ampe A10 Deluxe) boot off the microSD card with that image, assumed the “Whitelabel A10 tablet sold under various names” would be the closest choice for the uboot… both internal LCD and the HDMI stays off and nothing seems to happen.

Maybe that tablet needs some sort of booting method that differs from rest of the A10-based systems?

S
Guest
S

I am wondering what it takes to get this to run on a GK802. Theorically, all pieces are there; it just needs to be put together…

Ajith Kumar
Guest

Will it work on A10S based boards ?

Dmitriy Beykun
Guest
Graeme Russ
Guest
Graeme Russ

I’ve installed this on a Mele A2000 and it works great, thank you.

Only trouble is, I don’t appear to have created an admin user or set a root password – Any ideas on how to fix this?

There doesn’t appear to be any way to drop into ‘rescue mode’. I have a RS-232 console port on my device (a handy little hack) so I might be able to get to a U-Boot prompt, but what next from there?

I should be able to insert the SD card into another computer (Fedora 17) and mount the file systems if that helps.

Graeme Russ
Guest
Graeme Russ

@cnxsoft
sudo did not work as the created user was not a member of the ‘wheel’ group

I managed to recover by dropping into a U-Boot prompt and performing the following actions:
#setenv extraargs init=/bin/sh
#run setargs
#run boot_mmc

That drops you into a root prompt on the serial console port. You can then use passwd and usermod to set the root password or add the default user to the wheel group.

But here is where things get tricky – any modifications to /etc/passwd, /etc/shadow, /etc/gshadow or /etc/groups will trash the SELinux contexts. So setting the root password or changing a user to be a member of the ‘wheel’ group will cause problems. (D-Bus will not be able to resolve the ‘root’ user and boot-up will fail spectacularly).

You will need to edit /etc/selinux/config and disable SELinux before you reboot. After reboot, you will need to use chcon to reapply the security contexts on and file modified while in single user mode (including /etc/selinux/config), re-enable SELinux and reboot. Reboot will take a while as it rebuilds the security contexts of the file system.

There is probably a better way of doing all this, but that’s basically what I did. Very happy to get it all working.

Next task is to clear out the on-board NAND and move the root filesystem – I’m running of a 4GB SD card and the board has 4GB of NAND Flash, so I should be good. Any ideas on how to best go about doing this?

j1nx
Guest

@Graeme Russ

Google for “Pimp my mele”.

Graeme Russ
Guest
Graeme Russ

I think I’ll have to leave it on SD as after installing a few packages, I’m coming close to the 4GB ceiling.

I’d really like to get accelerated graphics working, but this kernel does not appear to have any Mali modules at all, and the only instructions I’ve seen to load the binary blob seems to need it. Any ideas?

äxl
Guest
äxl

The password is “fedora” as stated here: http://fedoraproject.org/wiki/Cubie_Board

äxl
Guest
äxl

@äxl
I then also had no problem adding the group “sudo”, adding the user to group sudo and include everything with visudo. I didn’t have to change SELinux or such poppycock.

Edmund
Guest
Edmund

I’ve installed on my Coby Kyros 7032. I was able to boot using a13_mid. Touchscreen is not working. Any ideas how to install TS driver?

gab
Guest

any body can post a derict DOWNLOAD link of fedora..thanks in advance…