The following bare metal program is based on gt2440 and the compiler is a arm-linux-gcc-4.4.3.
Program structure: This program only has one SPI. s file.
Program process: first, the power-on Reset enters the reset exception. In the reset exception, call the subroutine to close the watchdog, initialize the system clock, initialize the serial port, and finally call
Raspberry PI Series--bare metal illuminated LED lightsBackgroundRecently just bought Raspberry PI B +, configured to run the official Raspbian system, tossing a week Linux system, feel no meaning, so try to understand the bottom of the start process, through a few days of research, It is found that the boot of the lowest part is performed by the official Bootcore
The first part is to play bare metal in pcduino3. This process allows us to better understand embedded systems and be familiar with the platform we use.
First, we will introduce the development environment:
Virtual Machine: VMware? Workstation 10.0.2 build-1744117
System: Linux slackware 3.2.29-smp #2 SMP
Cross-compiler: arm-
localhost:2331 3 # Set JTAG speed to kHz 4 monitor endian little 5 Monitor Speed 6 # Reset the target 7 monitor reset 8 monitor Sleep 9 # Setup GDB for faster downloads #set Remot E memory-write-packet-size 1024x768 monitor speed auto break main loadAfter the above settings, you can start debuggingFive, start debuggingNote: When debugging with Eclipse, you must ensure that Jlinkgdbserver is running at the same timeOtherwise, an error similar to the following will appear:Make sure the jlinkgdbse
The first part is to play PCDUINO3 under the bare metal, this process allows us to better understand the embedded system, familiar with the platform we use.
First introduce the following development environment:
Virtual machine: Vmware®workstation 10.0.2 build-1744117
System: Linux Slackware 3.2.29-SMP #2 SMP
Cross compiler: arm-
Configure bare devices for Linux UDEV and MySQL InnoDB shared tablespaces (1) UDEV basic udev can manage files stored in the/dev directory. Files are generated only after the device is connected. automatic deletion also allows you to add rules to modify the default name and permissions in/dev, and save the rules in/etc/udev/rules. d/directory (2) bind MySQL to bare
/OPENLDAP and its child versions or TRAC repositories
License: GPL
: riseup.net
4. backuppc--High performance C/S toolBACKUPPC can be used to back up Linux and Windows to the primary server disk. It comes with an ingenious minimized disk storage plan pool, disk I/O, and network I/O.
Operating systems: Linux/unix and Windows
Backup leve
: Support (SSH), encrypted remote backup via duplicity
Database support: MYSQL/POSTGRESQL/OPENLDAP and its child versions or TRAC repositories
License: GPL
: riseup.net
4. backuppc--High performance C/S tool BACKUPPC can be used to back up Linux and Windows to the primary server disk. It comes with an ingenious minimized disk storage plan pool, disk I/O, and network I/O.
Oper
= device BS = 64 K"
# Tar-CVF-| SSH remote_host "dd If = device BS = 10 K"
# Cpio-oacvb | SSH remote_host "dd If = device BS = 5 K"
Linux bare metal recovery method:
1. Back up important metadata # fdisk-L>/etc/fdisk-l.txt
2. Use a local tool to back up the system # cd/; tar CF-. | gzip-C>/backup/xxx.tar.gz
3. The sys
applications on various servers (including Linux servers), this capability has exploded over the past two years. Although a virtualized system can use any backup system (including shell scripts) for backup, there are many software that is most suitable for virtualization backup.
For example, Symantec Veritas NetBacku
. With the emergence of virtualized applications on various servers (including Linux servers), this capability has exploded over the past two years. Although a virtualized system can use any backup system (including shell scripts) for backup, there are many software that is most suitable for virtualization backup.
For
virtual machines. With the emergence of virtualized applications on various servers (including Linux servers), this capability has exploded over the past two years. Although a virtualized system can use any backup system (including shell scripts) for backup, there are many software that is most suitable for virtualization ba
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.