wget http://archlinuxarm.org/os/sun4i/Mele-bootloader.tar.gz
wget http://archlinuxarm.org/os/ArchLinuxARM-sun4i-latest.tar.gz
tar xzf Mele-bootloader.tar.gz
./mkA10card.sh /dev/sdX
mkdir /tmp/boot
mkdir /tmp/arch
mount /dev/sdb1 /tmp/boot
mount /dev/sdb2 /tmp/arch
cp /tmp/arch/boot/uImage /tmp/boot/uImage
cp script.bin /tmp/boot/script.bin
cp uEnv.txt /tmp/boot/uEnv.txt
sync
mkdir hwpack
cd hwpack
wget http://dl.linux-sunxi.org/amery/sunxi-3.0/latest/cubieboard_hwpack.tar.xz (or http://dl.linux-sunxi.org/amery/sunxi-3.0/latest/cubieboard_512_hwpack.tar.xz if you have 512Mb Ram)
tar xzf cubieboard_hwpack.tar.xz
cd kernel
cp * /media/andrea/boot
cd ..
cd bootloader
cp * /media/andrea/boot
cd rootfs
cp -R * /media/andrea/ALAMR
cd ..
boot_mmc=fatload mmc 0 0x43000000 ${fexfile}; fatload mmc 0 0x48000000 ${kernel}; bootm 0x48000000
extraargs=rootwait disp.screen0_output_type=3 disp.screen0_output_mode=1280x1024p60
fexfile=script.bin
pacman -Syu
pacman -S sunxi-tools
pacman -S xorg-server xorg-xinit xorg-server-utils
pacman -S xf86-video-fbdev (driver video)
pacman -S lxde (desktop environment see the alternative https://wiki.archlinux.org/index.php/Desktop_Environment but i suggest lxde because for me cubiboard it's very fast with it)
pacman -S lxdm (login manager see the alternative https://wiki.archlinux.org/index.php/Display_Manager but for me it's the only one that worked)
pacman -S alsa-utils (for audio https://wiki.archlinux.org/index.php/Alsa)
systemctl enable lxdm.service (to start the login manager at boot)
pacman -S mplayer2 (media player)
pacman -S atool unzip unrar (file archiver)
pacman -S luakit (browser)
pacman -S gedit (editor di testo)
pacman -S gamin (file and directory monitoring)
pacman -S gnash-gtk (flash player)
Open a terminal
nano /etc/locale.gen
add your language for me it was it_IT.UTF-8 UTF-8
locale.gen
now you see if the language that you add it's on the list and will generete the file
echo LANG=it_IT.UTF-8 > /etc/locale.conf
export LANG=it_IT.UTF-8
loadkeys YOURLANGUAGE for load the keyboard configuration, for me it
setfont YOURFONT you must serch the correct font, for me Lat2-Terminus16
nano /etc/vconsole.conf and change the KEYMAP=YOURLANGUAGE and the FONT=YOURFONT for me: KEYMAP=it and the FONT=Lat2-Terminus16
pcm.!default {
type hw
card 1
device 0
}
wget http://archlinuxarm.org/os/sun4i/Mele-bootloader.tar.gz
wget http://archlinuxarm.org/os/ArchLinuxARM-sun4i-latest.tar.gz
tar xzf Mele-bootloader.tar.gz
./mkA10card.sh /dev/sdb
mkdir /tmp/boot
mkdir /tmp/arch
tar -zxf ArchLinuxARM-sun4i-latest.tar.gz -C /tmp/arch
mount /dev/sdb1 /tmp/boot
mount /dev/sdb2 /tmp/arch
cp /tmp/arch/boot/uImage /tmp/boot/uImage
cp script.bin /tmp/boot/script.bin
cp uEnv.txt /tmp/boot/uEnv.txt
sync
mkdir hwpack
cd hwpack
wget http://dl.linux-sunxi.org/amery/sunxi-3.0/latest/cubieboard_hwpack.tar.xz (or http://dl.linux-sunxi.org/amery/sunxi-3.0/latest/cubieboard_512_hwpack.tar.xz if you have cubieboard with 512Mb Ram)
tar xz cubieboard_hwpack.tar.xz
cd kernel
cp * /media/andrea/boot
cd ..
cd bootloader
cp * /media/andrea/boot
cd ..
cd rootfs
cd lib
cp -Rv * /media/andrea/ALARM/lib/
cd ..
cd etc
cp -Rv * /media/andrea/ALARM/etc/
cd ..
boot_mmc=fatload mmc 0 0x43000000 ${fexfile}; fatload mmc 0 0x48000000 ${kernel}; bootm 0x48000000
extraargs=rootwait disp.screen0_output_type=3 disp.screen0_output_mode=1280x1024p60
fexfile=script.bin
pacman -Syu
pacman -S sunxi-tools
pacman -S xorg-server xorg-xinit xorg-server-utils
pacman -S xf86-video-fbdev (driver video)
pacman -S lxde (desktop environment see the alternative https://wiki.archlinux.org/index.php/Desktop_Environment but i suggest lxde because for me cubiboard it's very fast with it)
pacman -S lxdm (login manager see the alternative https://wiki.archlinux.org/index.php/Display_Manager but for me it's the only one that worked)
pacman -S alsa-utils (for audio https://wiki.archlinux.org/index.php/Alsa)
systemctl enable lxdm.service (to start the login manager at boot)
pacman -S mplayer2 (command line media player)
pacman -S atool unzip unrar (file archiver)
pacman -S luakit (ultra fast and light browser) or midori (fast and light browser that support to play flash video)
pacman -S gedit (text editor same of ubuntu)
pacman -S gnash-gtk (flash player for arm)
pacman -S icedtea-web-java7
Open a terminal
nano /etc/locale.
gen
add your language since i'm italian for me it was it_IT.UTF-8 UTF-8
locale.gen
now you see if the language that you add it
's on the list and will generete the file
echo LANG=it_IT.UTF-8 > /etc/locale.conf
export LANG=it_IT.UTF-8
loadkeys YOURLANGUAGE for load the keyboard configuration, use only the first 2 letter like it or us
setfont YOURFONT you must serch the correct font, for me Lat2-Terminus16
nano /etc/vconsole.conf and change the KEYMAP=YOURLANGUAGE and the FONT=YOURFONT for me: KEYMAP=it and the FONT=Lat2-Terminus16
from terminal digit aplay -l now you can see the audio hardware of cubieboard, remember the card and device
number of the hdmi
digit aplay -D plughw:1,0 /usr/share/sounds/alsa/Front_Center.wav to test if you can hears the sound from hdmi,
if not change the plughw in base of the table found with aplay -l
if it correct digit nano ~/.asoundrc and add with the correct number of the card and device:
pcm.!default {
type hw
card 1
device 0
}
i use a usb pen like a bridge
dd if=/dev/sdb (the micro sd) of=/dev/sdc (the usb pen)
sudo apt-get install gparted
use gparted to create two partition of the sd card (if you find a key near the partition on terminal digit sudo umount /dev/sdb* or the dev location of your micro sd)
the first of 50mb called boot
the second of the remain space called ALARM
on terminal sudo eject /dev/sdb
reinsert the micro sd and on terminal
cp -Rv /media/andrea/boot/* (the first partition of usb pen) /media/andrea/boot1 (my pc called boot1 the partition boot of the micro sd)
cp -Rv /media/andrea/ALARM/* (the second partition of usb pen) /media/andrea/ALARM1
Hi,
thanks for the instruction i will post the image in the next few days.
on the login screen press ctrl + alt +F2
the username and password are root
digit this command in that order:
systemctl disable lxdm.service
pacman -Rs lxdm lxde xorg-server xorg-xinit xorg-server-utils xf86-video-fbdev alsa-utils
reboot
on login screen press ctrl + alt + F2
username and password are root
digit systemctl disable lxdm.service
pacman -Rs lxdm if you would to remove lxdm
download a new login and enable with this command:
systemctl enable xxx.service
reboot
on the login screen press ctrl + alt +F2
username and password are root
digit pacman -Rs lxde
download new desktop environment
reboot
No internet connection with Ethernet cable
on terminal:
ls /sys/class/net to show Network Interface Names result for me: eth0 lo tun10
ip link set eth0 up
ip link show dev eht0
dhcpcd eth0
for testing if you are now connected:
ping -c 3 www.google.com
No boot
put your micro sd into the computer and open a terminal
cd /media/andrea/ALARM/etc
mv modules modules-load.d/cubieboard.conf
cd ..
cd lib/modules/
mv * /media/andrea/usr/lib/modules
cd ..
rmdir modules
mv framebuffer/ usr/lib/
mv x11 usr/lib/
mv libvecore.so usr/lib/
mv libMali.so usr/lib/
mv libUMP.so usr/lib/
personal note: i thinks that google group is a bad place for a cubieboard forum
If you want to change the login:
personal note: i thinks that google group is a bad place for a cubieboard forum
On Mon, Feb 4, 2013 at 4:52 PM, Maro <andma...@gmail.com> wrote:personal note: i thinks that google group is a bad place for a cubieboard forum
Google groups is a mailinglist with a forum-alike interface.
Several people are posting replies without quoting the message they are replying to.
On Wed, Feb 6, 2013 at 12:13 PM, Floris Bos <b...@je-eigen-domein.nl> wrote:
Several people are posting replies without quoting the message they are replying to.
Sadly, we can't disable the forumlike view...
-- Yours sincerely, Floris Bos
pacman -S jre7-openjdk if you want only to run
pacman -S jdk7-openjdk if you want to developen tools
once istalled:
cd /usr/lib
ln -s libffi.so.6.0.0 libffi.so.5
to test digit java
--
Trying to follow anything here is a nightmare!
--
--
Cool, this would be awesome on the wiki, please use http://linux-sunxi.org/ArchLinux as the link as this doc works for all A10 devices ;)