Compilation of Davinci kernel image uImage 1. copy the directory of the kernel to/root, this prevents other configurations from being damaged. cp/opt/mv_pro_4.0/montavista/pro/devkit/lsp/ti-davinci/root/-rf 2. enter the copied Directory: cd/root/ti-davinci (// or a level-1 Directory, which should contain arch and so on) 3. make menuconfig (A Kernel configuration image interface is displayed. open the newly generated configs file arch/arm/configs/davin
Ruby executables To Ypur PATH---install installationOpen git Bash to see the ruby version:$ ruby-VThe version information appears stating that the installation was successful.Ruby wants to work with the Devkit.Extract to G:\devkit---Extract extractAssociating Ruby with DevkitIn folder G:\devkit with a dk.rb file and config.yml, open git BashInitialization$ Ruby DK.RB InitPost prompt message: Found Rubyins
-in Python2.6.
Python cannot directly operate on the hardware. directly operating on the hardware can only be implemented using C, and then calling C through the Python Extensions function. The following is a Demo of Python Extensions, which is copied from a Python tutorial:
1 #include
Cross-Compilation:
arm-arago-linux-gnueabi-gcc hello.c -g -I/home/jugg/CodeSourcery/cgt_a8/arago/linux-devkit/arm-arago-linux-gnueabi/usr/include/python2.6 -shared -L
(typically add user-level environment variables to this file)(Note: Linux is. BASHRC and Mac is. Bash_profile)This file will not be read until the bash shell is executed in login mode. The file is only executed once! By default, he sets some environment variablesI am here: Set the terminal color,I am here: set command aliases alias Ll= ' Ls-la 'I am here: Set environment variables: Export Path=/opt/local/bin:/opt/local/sbin: $PATHMAC Modify Host File---------------------------------------------
(typically add user-level environment variables to this file)(Note: Linux is. BASHRC and Mac is. Bash_profile)This file will not be read until the bash shell is executed in login mode. The file is only executed once! By default, he sets some environment variablesI am here: Set the terminal color,I am here: set command aliases alias Ll= ' Ls-la 'I am here: Set environment variables: Export Path=/opt/local/bin:/opt/local/sbin: $PATHMAC Modify Host File---------------------------------------------
to the Mysqlstart, MySQL, and mysqladmin commands to ensure that each user can use these 3 commands.3.~/.bash_profile (typically add user-level environment variables to this file)(Note: Linux is. BASHRC and Mac is. Bash_profile)This file will not be read until the bash shell is executed in login mode. The file is only executed once! By default, he sets some environment variablesI am here: Set the terminal color,I am here: set command aliases alias Ll= ' Ls-la 'I am here: Set environment variabl
. Python can not directly manipulate the hardware, the direct operation of the hardware can only be implemented in C, and then through the Python extensions function call C. Below is a demo of Python's extensions feature, copied from a Python tutorial:1#include 2 StaticPyobject *helloworld (Pyobject *Self )3 {4 returnPy_buildvalue ("s","Hello, Python extensions!!");5 }6 Static CharHelloworld_docs[] ="HelloWorld (): Any message, want to put hele!7 ";8 StaticPymethoddef helloworld_funcs[] = {9{"
you can use the Exit command if you exit to the previous layer of bash. When you get back to the top level, you will be logged out.[[Email protected] ~]$ Bash[[email protected]~]$ Pstreeinit-+-networkmanager-+-dhclient| `-{NetworkManager}|-ABRTD|-Acpid|-ATD|-AUDITD---{AUDITD}|-automount---4*[{automount}]|-bonobo-activati---{bonobo-Activat}|-Certmonger|-clock-applets|-console-kit-dae--- the*[{console-kit-da}] |-Crond|-CUPSD|-2*[dbus-daemon---{dbus-Daemon}] |-2*[dbus-Launch]|-
-linux-am335x-evm-01.00.00.00"# Find git binary within the host native bin Directorysdk_git_bin="$install _dir/linux-devkit/sysroots/i*/usr/bin/git"Sdk_git_bin=`which$sdk _git_bin 'if["$SDK _git_bin"="" ] Then Echo Echo "couldn ' t find the git command within Linux-devkit" Echo "unable to automatically unshallow git repository" Echo "If you have Git installed and a version higher than 1.8.0.3 (g
the Mysqlstart, MySQL, and mysqladmin commands to ensure that each user can use these 3 commands.3.~/.bash_profile (typically add user-level environment variables to this file)(Note: Linux is. BASHRC and Mac is. Bash_profile)This file will not be read until the bash shell is executed in login mode. The file is only executed once! By default, he sets some environment variablesI am here: Set the terminal color,I am here: set command aliases alias Ll= ' Ls-la 'I am here: Set environment variables:
display version number in CMD indicates normal
3 Installation Devkit-mingw64-32-4.7.2-20130224-1151-sfx1 Extract to a directory (for example: D:\server\Ruby200Install\ruby-kit)2 run cmd execute ruby dk.rb init and Ruby dk.rb install command in the Ruby-kit directoryVerify: Rails-v display version number in CMD indicates normal
4 Replace the Rubygem library address (very important, because the domestic access to the extranet has a line problem, not
method:
# Vim/etc/profile
At the end of the document, add:
Export path= "directory: $PATH"
Save, exit, and then run:
#source/etc/profile
No error is successful.
Add PATH environment variable, available:
[Root@localhost U-boot-sh4] #export path=/opt/stm/stlinux-2.3/devkit/sh4/bin: $PATH
View again:
[Root@localhost u-boot-sh4]# Echo $PATH/opt/stm/stlinux-2.3/devkit/sh4/bin:/usr/kerberos/sbin:/usr/k
Operational Commands 2.3.1 operating system judgment
The first thing to know is what kind of SHELL you use for Mac OS x, using the command echo $SHELLIf the output is: CSH or TCSH, then you are using C Shell.If the output is: bash,sh,zsh, then your use may be a variant of the Bourne shell. Before Mac OS X 10.2, the default is CShell. The default is Bourne Shell after Mac OS X 10.3.
If it is a Bourne Shell.Then you can add the environment variables you want to add to your home direc
Purpose: Compile the executable ntpdate tool under Arm-linuxTarget not completed: Unable to generate NTPD Server tool because the entire source package is not fully compiledThe procedure is as follows:(0) Compile client ntpdate only, do not compile server-side NTPD(1)./configure--host=arm-none-linux-gnueabi--with-yielding-select=yes(2) CD ntp-dev-4.3.23/sntp/liboptsMake//Generate Ntpdate dependent target file libopts.la(3) Copy of missing header file directoryCP-RF Linux-
machine ID error has at least a name value Ah, my why is empty?2) is the machine ID not registered? Guess. This step ensures that the system supports an ID containing devkit8000!Make Xconfig found that there is no devkit option under the System Type menu, certainly where the configuration file has not been added, analyzed, found the/kernel/arch/arm/mach-omap2/kconfig file, devkit8000 support was added at the end of the configuration.Config Mach_omap3
On the board of NODEMCU, there is the other LEDs what can be tested.
1. First LED
Through the PCB file of NODEMCU (see Figure-1 or Https://github.com/nodemcu/nodemcu-devkit-v1.0/blob/master/NODEMCU_DEV Kit_v1.0.pdf), we can find the first led which connected by GPIO16 and vdd3v3. The index of PIN is 0. (see another article of mine: "The operation and Map of Nodemcu"). By executing the Code Block-1 can light it. 2, Second LED
By reading the circuit de
1. PrefaceGDB is a popular and common Linux Environment Debugging tool, mastering it is necessary for the embedded development work, can improve work efficiency, quickly find and solve problems. Recently interested in studying the use of the next GDB, the special summary is as follows for later review.2. Download the latest GDB: http://ftp.gnu.org/gnu/gdb/, choose the latest version of the current download. I chose the gdb-7.7.tar.gz version.3. Compiling gdb and Gdbserver(1) Extract to your work
It took a lot of effort to cross-compile the project files and run them on arm. First encountered the error is X uses VFP register arguments, B does not Baidu a bit, found to be hard floating point and soft floating point problem, the original idea is to change the encoding of X, to accommodate in Y, then how to do not, change the way of thinking, Use the Armv7-linux compiler to reload several libraries. 1.libosscore.a Download Oss-master.zip This library is compiled with CMake, mkdir build ens
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.