Mele: Ubuntu 12.10 armhf base with nand install (v1)
Ubuntu 12.10 armhf image (kernel 3.0.42+, Xorg) for the Mele A2000 / Allwinner A10, with easy NAND install and the PmM configurator.
I’m posting here a running (base) version of ubuntu 12.10 armhf (V1), kernel 3.0.42+.
Quick, Working and not so Dirty EDITION.
Easy to install on the NAND and ready to be tuned.
I added an easy configurator in it (explain at the end of the post).
Xorg stuff integrated.
The kernel is the one i use (wemac tuned, sata ok but compiled with all the modules for GFX stuff).
UPDATE
After boot failure report from v1.3 mele owner, please try this one (for all mele version):
ubuntu_12.10_armhf_v1_mele_t0.img.gz
It’s a patched 3.0.42+ around a clock problem and seems to solve the issue !
This pre-release also includes latest DRI2 driver 😉
/UPDATE
To proceed:
- Download the file: ubuntu_12.10_armhf_v1_mele.img.gz (MD5: 32e181589ac4232fdaac3e9f86546e87)
- Unzip the file.
Linux:gunzip ubuntu_12.10_armhf_v1_mele.img.gz - DD it to your MMC. You will need a mmc >= 1Go.
- From linux (put your SDCard and type ‘dmesg’, you will see something about mmcblk0 or sdX appear at the end of dmesg print. Use the device you see to replace <MMC_DEVICE>)
dd if=<path_to_mele_ubuntu_12.10_armhf_v1.img> of=/dev/<MMC_DEVICE> bs=1M - From windows, you can use any “dd” for windows or choose one of these:
- From linux (put your SDCard and type ‘dmesg’, you will see something about mmcblk0 or sdX appear at the end of dmesg print. Use the device you see to replace <MMC_DEVICE>)
- If you want to use SSH, plug an RJ45 ethernet cable in the Mele (connected to a network with DHCP)
- Put the MMC in the slot… cross fingers and power the mele
- After 15 seconds, you should see a fast led flash Red/Blue. It means the mele has boot properly. If you have no VGA but RJ45 cable, you will see the mele on your network (ping scan via nmap or watch on your router/dhcp server for the mele). The default mac is 000A.2000.1000
- You can use a VGA screen or SSH to it. User: root, Password: root
Video and Other
By default, it’s booting in VGA mode.
If you want HDMI and have no VGA, just ‘ssh root@
Also, i have add a funny program to it to easy some tasks:
Configure Video Output/Mode, Change mac address, Install to nand, etc..
Pimp my Mele (screenshot and details).
Log as root and type PIMP_MY_MELE
Xorg
As root, add some programs for X:
apt-get install xterm ...
You can launch Xorg with ‘startx’ or add ‘gdm’ or ‘slim’ or anything.
Highly recommanded:
# ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key # ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key
# passwd
# passwd user
OR
# deluser user
# echo “<MY_HOSTNAME>” > /etc/hostname
And more:
- edit /etc/ssh/sshd_config
Change: UsePAM no
Change: PasswordAuthentication no (and use authorized_keys to connect)
Change: PermitRootLogin no (and create your own user with password or authorized_keys) - Firewall the mele with iptables.
- etc…
For wifi:
To scan AP around:
ifconfig wlan0 up iwlist wlan0 scan
For sata:
modprobe sw_ahci_platform
Run this for permanent sata:
echo "sw_ahci_platform" >> /etc/modules
PS: If it’s working for you, let me know 😉
PS2: If it’s not working:
- Check your SDCard
- Unzipped img, DD img
- If the network connector (connected) have light, try to ssh to it to change video mode as explained
- Check the led: Uboot/Kernel = Red-Blue, Userland init = Blue, End = Fast Red-Blue switch and finally blue