Hardware specification (Model B)
- SOC: Broadcom BCM2835 (CPU, GPU, DSP, SDRAM, and single USB port)
- CPU: 700 MHz ARM1176JZF-S core
- GPU: Broadcom VideoCore IV,OpenGL ES 2.0,OpenVG 1080p30 H.264 high-profile encode/decode
- SDRAM: 512 MiB
- USB 2.0: 2 (via integrated USB hub)
- Video outputs: Composite video | Composite RCA, HDMI (not at the same time)
- Audio outputs: TRS connector | 3.5 mm jack, HDMI
- Onboard Storage: SD / MMC / SDIO card slot
- Onboard network: 10/100 Ethernet (RJ45) via USB hub
- Low-level peripherals: 8 × GPIO, UART, I2C bus, SPI bus
- Power ratings: 700 mA (3.5 W)
- Power source: 5 volt via MicroUSB or GPIO header
- Size: 85.60 mm × 53.98 mm
- Weight: 45 g
Download and checking
#Installation and partition resizewget http://files.velocix.com/c1410/images/archlinuxarm/archlinux-hf-2012-09-18/archlinux-hf-2012-09-18.zip
#sha1sum archlinux-hf-2012-09-18.zip
#Booting and loginunzip archlinux-hf-2012-09-18.zip
#dd bs=1M if=archlinux-hf-2012-09-18.img of=/dev/mmcblk0
#sfdisk -l /dev/mmcblk0
#sfdisk /dev/mmcblk0 << EOF
>32,3008,c,*
>3040,,L
>EOF
#e2fsck -f /dev/mmcblk0p2
#resize2fs /dev/mmcblk0p2
alarmpi login:Password and new userroot
Password:root
[root@alarmpi ~]#Update and upgradepasswd
[root@alarmpi ~]#useradd -m -G users,wheel -s /bin/bash toni
[root@alarmpi ~]#passwd toni
[root@alarmpi ~]#Localepacman -Syu
[root@alarmpi ~]#pacman -S haveged
[root@alarmpi ~]#haveged -w 1024
[root@alarmpi ~]#pacman-key --init
[root@alarmpi ~]#pkill haveged
[root@alarmpi ~]#pacman -Rs haveged
[root@alarmpi ~]#Timezonecat /etc/vconsole.conf
[root@alarmpi ~]#grep -v \# /etc/locale.gen
[root@alarmpi ~]#locale-gen
[root@alarmpi ~]#echo -e "\nexport LANG=es_ES.UTF-8" >> /etc/profile
[root@alarmpi ~]# cp /usr/share/zoneinfo/Europe/Madrid /etc/localtime
Environment customization[root@alarmpi ~]# tail -n5 /etc/bash.bashrc
Hostname[root@alarmpi ~]# cat /etc/hostname
Network[root@alarmpi ~]#Text editorcat /etc/hosts
[root@alarmpi ~]#cat /etc/resolv.conf
[root@alarmpi ~]#cat /etc/conf.d/dhcpcd
[root@alarmpi ~]#cat /etc/conf.d/network
[root@alarmpi ~]#pacman -S ppp
[root@alarmpi ~]#pacman -S usb_modeswitch
[root@alarmpi ~]#wget "http://www.sakis3g.org/versions/latest/armv4t/sakis3g.gz"
[root@alarmpi ~]#echo "6c88a9961ba8861f2f668c178c02403f sakis3g.gz" | md5sum -c
[root@alarmpi ~]#gunzip -v sakis3g.gz
[root@alarmpi ~]#chmod +x sakis3g
[root@alarmpi ~]#mv sakis3g /usr/local/sbin/.
[root@alarmpi ~]#cat /etc/sakis3g.conf
[root@alarmpi ~]#cat /etc/systemd/system/network.service
[root@alarmpi ~]#systemctl disable dhcpcd@eth0.service
[root@alarmpi ~]#systemctl enable network
[root@alarmpi ~]#reboot
root@raspberry:~# pacman -S vim
Soundroot@raspberry:~#Videopacman -S alsa-firmware alsa-utils
root@raspberry:~#modprobe snd-bcm2835
root@raspberry:~#cat /etc/modules-load.d/snd-bcm2835.conf
root@raspberry:~#alsamixer
root@raspberry:~#pacman -S pulseaudio vlc
root@raspberry:~#pacman -S xorg-server xorg-xinit xorg-utils xorg-server-utils
root@raspberry:~#pacman -S xf86-video-fbdev
root@raspberry:~#pacman -S openbox obconf obmenu lxappearance
root@raspberry:~#pacman -S xterm
[toni@raspberry ~]$Backupmkdir -p /home/toni/.config/openbox/
[toni@raspberry ~]$cp /etc/xdg/openbox/menu.xml /home/toni/.config/openbox/.
[toni@raspberry ~]$cp /etc/xdg/openbox/rc.xml /home/toni/.config/openbox/.
[toni@raspberry ~]$cat .xinitrc
[toni@raspberry ~]$starx
# dd bs=1M if=/dev/mmcblk0 of=archberry.backup.img
Base development package (Compile C programs)root@raspberry:~#Binutilspacman -Syu
root@raspberry:~#pacman -S base-devel
root@raspberry:~#Install packages from the AUR with packerpacman -Syu
root@raspberry:~#pacman -S binutils
root@raspberry:~#WiringPi library for GPIO accesspacman -Syu
root@raspberry:~#mkdir builds
root@raspberry:~#cd builds
root@raspberry:~/builds#wget https://aur.archlinux.org/packages/pa/packer/packer.tar.gz
root@raspberry:~/builds#tar xvzf packer.tar.gz
root@raspberry:~/builds#cd packer
root@raspberry:~/builds/packer#makepkg -s --asroot
root@raspberry:~/builds/packer#cp pkg/packer/usr/bin/packer /usr/bin/packer
root@raspberry:~/builds/packer#cp pkg/packer/usr/share/man/man8/packer.8.gz /usr/share/man/man8/packer.8.gz
root@raspberry:~/builds/packer#cd
root@raspberry:~#rm -rf builds
root@raspberry:~#packer -S comgt
root@raspberry:~#pacman -Syu
root@raspberry:~#pacman -S wiringpi
[toni@raspberry ~]$curl http://wiringpi.com/pins
[toni@raspberry ~]$curl http://wiringpi.com/examples/blink
[toni@raspberry ~]$gpio mode 0 out
[toni@raspberry ~]$while [ true ]; do gpio write 0 1; sleep 2; gpio write 0 0; sleep 2; done
No comments:
Post a Comment