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 userrootPassword: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/localtimeEnvironment 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 vimSoundroot@raspberry:~#Videopacman -S alsa-firmware alsa-utilsroot@raspberry:~#modprobe snd-bcm2835root@raspberry:~#cat /etc/modules-load.d/snd-bcm2835.confroot@raspberry:~#alsamixerroot@raspberry:~#pacman -S pulseaudio vlc
root@raspberry:~#pacman -S xorg-server xorg-xinit xorg-utils xorg-server-utilsroot@raspberry:~#pacman -S xf86-video-fbdevroot@raspberry:~#pacman -S openbox obconf obmenu lxappearanceroot@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.imgBase development package (Compile C programs)root@raspberry:~#Binutilspacman -Syuroot@raspberry:~#pacman -S base-devel
root@raspberry:~#Install packages from the AUR with packerpacman -Syuroot@raspberry:~#pacman -S binutils
root@raspberry:~#WiringPi library for GPIO accesspacman -Syuroot@raspberry:~#mkdir buildsroot@raspberry:~#cd buildsroot@raspberry:~/builds#wget https://aur.archlinux.org/packages/pa/packer/packer.tar.gzroot@raspberry:~/builds#tar xvzf packer.tar.gzroot@raspberry:~/builds#cd packerroot@raspberry:~/builds/packer#makepkg -s --asrootroot@raspberry:~/builds/packer#cp pkg/packer/usr/bin/packer /usr/bin/packerroot@raspberry:~/builds/packer#cp pkg/packer/usr/share/man/man8/packer.8.gz /usr/share/man/man8/packer.8.gzroot@raspberry:~/builds/packer#cdroot@raspberry:~#rm -rf buildsroot@raspberry:~#packer -S comgt
root@raspberry:~#pacman -Syuroot@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