Raspberry Pi 3
Broadcom BCM2837 1.2GHz, ARMv8 Cortex-A53, 1GB RAM, ...
Power Supply (Micro-USB)
The Raspberry Pi 3 has higher power requirements than the Raspberry Pi 2. A power supply rated at 2.5A is the official recommendation. Using an insufficient power supply will result in random, inexplicable errors and filesystem corruption...
Minimum MicroSDHC Card
Ubuntu Server: 2GB
Raspbian, Lubuntu, Xubuntu: 4GB
NOOBS, Ubuntu MATE: 8GB
We highly recommend that you use a Class 6 or Class 10 microSDHC card.
Username: pi
Password: raspberry
$ startx
sudo apt-get update
sudo apt-get upgrade
sudo UPDATE_SELF=0 rpi-update
What's Included In NOOBS
Raspbian: Debian - Xfce, LXDE
Pidora: Fedora
LibreELEC: (Libre Embedded Linux Entertainment Center) - A Complete Media Center Software Suite For Embedded Systems And Computers, Kodi...
OSMC: (Open Source Media Center) - Debian
RISC OS: An OS Originally Designed By Acorn Computers Ltd To Run On The ARM Chipset...
Arch Linux
Third Party Operating System Images
- Ubuntu Mate
- Snappy Ubuntu Core
- Windows 10 IOT Core
- PINET
- Weather Station
How to setup Raspberry Pi (ARM1176) Emulation with QEMU on Windows7 (64bit)
qemu-w64-setup-20160714.exe
Create a working directory
Install (Extract) QEMU on Windows
Some versions won't work...
Linux Mint
apt-get install qemu-system-arm
Get a Linux Kernel compiled for ARM and the latest Raspbian
- 2016-05-27-raspbian-jessie.img.Img
- kernel-qemu-4.4.12-jessie
https://github.com/dhruvvyas90/qemu-rpi-kernel
gcc-arm-linux-gnueabihf: The GNU C compiler for armhf architecture...
Copy Prerequisites into working directory
Extract QEMU and the Raspbian Image with 7-Zip
WxHexEditor (Options> FileMode> DirectWrite)
0CC07044: 2F 23
0CC07088: 2F 23
0CC2D000: 2F 23
/usr/lib/arm-linux-gnueabihf/libarmmem.so
/dev/mmcblk0p1
/dev/mmcblk0p2
Resize the Raspbian image to have more space
Add 10 Gigabytes to the image...
qemu-img.exe resize 2015-02-16-raspbian-wheezy.img +10G
Create a startup batch file
2016-05-27-raspbian-jessie.bat
qemu-system-arm.exe -kernel kernel-qemu -cpu arm1176 -m 256 -M versatilepb -no-reboot -serial stdio -append "root=/dev/sda2 panic=1 rootfstype=ext4 rw init=/bin/bash" -hda 2015-02-16-raspbian-wheezy.img
OR!!!
qemu-system-arm.exe -net nic -net user, hostfwd=tcp::2222-:22 -M versatilepb -cpu arm1176 -kernel kernel-qemu-4.4.12-jessie -m 256 -no-reboot -serial stdio -append "root = / dev / sda2 panic = 1 rootfstype = ext4 rw" -hda 2016-05-27-raspbian-jessie.img
Note: tcp:2222:22 allows you to connect to Raspbian using SSH via port 2222
Configure the Raspberry Pi emulation for QEMU (Fix endless boot loop...)
nano /etc/ld.so.preload
Add a hashtag "#" at the beginning of the single line...
pi@raspberrypi: ~$ cat /etc/ld.so.preload
# usr / lib / arm-linux -gnueabihf / libarmmem.so
pi@raspberrypi: ~$ cat /etc/fstab
proc / proc proc defaults 0 0
# dev / mmcblk0p1 / boot vfat defaults 0 2
# dev / mmcblk0p2 / ext4 defaults, noatime 0 1
# A swapfile is not a swap partition , no line here
# Use dphys-swapfile swap [on | off] for that
Symlink the kernels disks so they match the name used on the Pi
nano /etc/udev/rules.d/90-qemu.rules
KERNEL=="sda", SYMLINK+="mmcblk0"
KERNEL=="sda?", SYMLINK+="mmcblk0p%n"
KERNEL=="sda2", SYMLINK+="root"
Make sure everything is written to disk
sync
Close the emulator...
exit
Raspberry Pi emulation: The first run
Delete the init=/bin/bash option Inside the batch file created earlier...
username: pi
password: raspberry
Fixes inside the emulation
sudo nano /etc/X11/xorg.conf
Section "Screen"
Identifier "Default Screen"
SubSection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubSection
EndSection
بسیار خسته است!!! با خود بورد کار کنی خیلی خیلی بهتره!!!