Raspberry Pi (Raspberry Pi) builds a Linux system (PiLFS) from scratch (I), raspberrypilfs
I. Preparations
1. Raspberry Pi motherboard with Linux host system installed, refer to Raspberry Pi (Raspberry Pi) to install Raspbian (no router, no Monitor)
2. Reference URL: Linux From Scratch on the Raspberry Pi
3. Reference URL: Linux From Scratch Version Development
Ii. Target architecture of PiLFS
PiLFS mainly supports the target architecture of ARM (64-
Solution to respbian image problemsHttp://www.raspbian.org/RaspbianMirrors directly from here to find the source can be, than the default jump is much easier to use
pi@raspberrypi:~ $ sudo apt install zip
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
zip
0 upgraded, 1 newly installed, 0 to remove and 73 not upgraded.
Need to get 326 kB of archives.
After this operation, 513 kB of additio
Installation systemhttp://sourceforge.net/projects/win32diskimager/#下载win32diskimagerhttps://www.raspberrypi.org/downloads/#下载RaspbianSwipe the system image into SD card, insert pie, start, xshell using SSH connectionTo open the root User:$ sudo passwd--unlock root$ sudo passwd root$ su ConfigurationYumSource$ mv/etc/apt/sources.list/etc/apt/sources.list.bak$ VI/etc/apt/sources.listDebhttp://mirrors.aliyun.com/raspbian/
/
BitTorrent Server :/http/blog.snapdragon.cc/raspberry-pi-as-bittorrent-server/
Web Cam Server :http://www. raspberrypi.org/archive S/tag/webcam
Weather Station :http//blog.retep.org/2012/07/30/ installing-a-usb-weather-station-on-a-raspberry-pi-part-1/
BitCoin Wallet:https://bitcointalk.org/index.php?topic=93724.0
quadcopter:/httphackaday.com/2012/12/01/raspberry-pi-quadcopter/
VoIP PBX:http://www. raspberry-asterisk.org/
XMBC Multimedia Center :http//HACKADAY.COM/2012/11/
1 Raspberry Pie apt domestic source modification
The system takes the source download too slowly, uses the Aliyun source or the Tsinghua University source
to give the address:
Deb Http://mirrors.aliyun.com/raspbian/raspbian/jessie main Non-free contrib
deb-src http://mirrors.aliyun.com/ Raspbian/raspbian/jessie Main
The text of this text connection is: http://blog.csdn.net/freewebsys/article/details/48980993 not allowed to reprint without the Bo master.Bo main address is: Http://blog.csdn.net/freewebsys 1, about Raspberry Pi
https://www.raspberrypi.orgRaspberry Pi is an arm development board, only the cigarette box size, the latest version of the Raspberry Pi 2. 4 cup 900mhz,1g memory size, 4 USB ports.https://www.raspberrypi.org/products/model-b-plus/The SD card is purchased by itself. 32G SanDisk.2, downl
With a network cable directly connected to the computer, not through the router. The biggest feature of this method is playing Raspberry Pi with the fewest tools.
Ready to work, burn Raspbian system to SD card. Just looked at the website under the new system download, http://www.raspberrypi.org/downloads/, the next 2014-01-07 that 1.3.4 version of the. Then format the SD card in fat format. I use the win7 system, choose the Win32diskimager Burn. If th
The text of this text connection is: http://blog.csdn.net/freewebsys/article/details/48980993 not allowed to reprint without the Bo master.Bo main address is: Http://blog.csdn.net/freewebsys1, about Raspberry Pihttps://www.raspberrypi.orgRaspberry Pi is an arm development board, only the cigarette box size, the latest version of the Raspberry Pi 2. 4 cup 900mhz,1g memory size, 4 USB ports.https://www.raspberrypi.org/products/model-b-plus/The SD card is purchased by itself. 32G SanDisk.2, downloa
SD Formatter, select the your SD card and format it.
DRAG and DROP NOOBS FILES
Once your SD card have been formatted, drag all the files in the extracted NOOBS folder and drop them onto the SD card Driv E.
The necessary files would then is transferred to your SD card.
When this process had finished, safely remove the SD card and insert it into your Raspberry Pi.
First BOOT
Plug in your keyboard, mouse and monitor cables.
Now plug on the USB power cable to
After the successful start of the system, first to upgrade the system! I downloaded the latest version of the raspbian,14 year of September 9, but I feel that some software is not up-to-date, with a new than old Haucha idea, to raise it a bit.$ sudo apt-get update apt-get upgradeVim is not installed by default in this system, VI is.There is a very handy text editor nano in Raspbian. But I'm still used to v
Day1, day
Previously, the live version was installed without a desktop version. I wanted to watch a movie via hdmi, so I found a tutorial to install omxplayer.
omxplayer -r -o hdmi file.mp4
The command through hdmi play the specific installation process of the film is posted in the bar: http://tieba.baidu.com/p/4766986525? See_lz = 1
However, subtitles still cannot be mounted ....
But reinstall the rasbian system today:
When formatting the system is not selected, convert the TF card into the NTF
Campus Network is a NAT, no monitor, I put the router's DHCP service off, such as how to ssh to the Raspberry Pi?Connect the Raspberry Pi to the router (DHCP is turned off), the phone is installed fingHttps://play.google.com/store/apps/details?id=com.overlook.android.finghl=zhThe phone also connects to the router and opens the FingFind the host name for Raspberry Pi related is the, then SSH login.About the source, using Zhong Ke (because it is an education network, the school can install softwar
Ubuntu 14.04 (trusty ARMHF)
sudo sh-c ' echo ' Deb Http://packages.ros.org/ros/ubuntu trusty main ">/etc/apt/sources.list.d/ros-latest.list '
Set up your keys
sudo apt-key adv--keyserver hkp://ha.pool.sks-keyservers.net--recv-key 0xb01fa116
installation
First, make sure your the Debian package index is up-to-date:
sudo apt-get update
There is many different libraries and tools in ros-not all compile fully on ARM. You can also install ROS packages individually.
ros-base: (Bare Bones) R
The progress bar that is brought in WPF is this way de.
The progress bar looks very ugly in 2003.
In WPF, you can make progress bars of any style yourself. The following figure:
Usercontrol.xaml
User Control
horizontalalignment= "center" verticalalignment= "Center" gt; scalex= "1.0" scaley= "1.0"/gt; horizontalalignment= "Center" verticalalignment= "Center" width= "height=" gt; canvas.left= "20.1696" canvas.top= "9.76358" stretch
1. Download the latest ROM on the Raspberry Pi website firsthttps://www.raspberrypi.org/downloads/raspbian/Here's the choice: RASPBIAN JESSIE with DESKTOPDate is 2017.7.5Get files after download: 2017-07-05-raspbian-jessie.zipAfter decompression: 2017-07-05-raspbian-jessie2. Prepare the software Win32 Disk ImagerSelect
Want to in win on their own little tools to write, GUI nature is unavoidable, so decided to learn WPF, direct drag control is very convenient AH. Control is dragged out and later found to change the window size at run time the control does not redraw, and a search has found a workaround: Use the Viewbox control.The function of the Viewbox control is "defines a content decorator that can stretch and a-a single child to fill the available space", which
* 0.5f, viewSize. height * 0.5f); 13 14 // load image 15 UIImage * image = [UIImage imageNamed: @ "button"]; 16 // set the background image 17 [button setBackgroundImage: image forState: UIControlStateNormal]; 18 19 // Add button 20 [self. view addSubview: button]; 21}
Run:
We can see that the effect is very poor. The reason is very simple, because the source image size is 24x60, the whole image is now fully stretched to 150x50, the more serious is the four corners of the image.
Some people ma
background image
[Button setBackgroundImage: image forState: UIControlStateNormal];
// Add button
[Self. view addSubview: button];
Run:
We can see that the effect is very poor. The reason is very simple, because the source image size is 24x60, the whole image is now fully stretched to 150x50, the more serious is the four corners of the image.
Some people may come up with a solution immediately. Isn't it okay if you ask the artist to make the picture bigger? How to
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.