ARM development - building an embedded development environment

Publisher:bin0990Latest update time:2021-11-02 Source: eefocus Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Download ckermit serial port tool

sudo apt-get install ckermit


If we have a new serial port connected, we can view the connection data by viewing /dev

Configuration of ckermit configuration file .kermrc


set line /dev/ttyUSB0    

set speed 115200    

set carrier-watch off    

set handshake none    

set flow-control none    

robust    

set file type bin    

set file name lit    

set rec pack 1000    

set send pack 1000    

set window 5    


sudo kermrc to enter the serial port and modify the external device and the host to be in the same network segment


ifconfig eth0 172.16.3.100


Installation and configuration of cross-compilation environment

A cross-compilation tool arm-linux-gcc-4.5.1 is needed here

After unzipping it, a folder will appear with a default path.


/opt/FriendlyARM/toolchain/4.5.1/bin


We can see that it has many functions and can realize many functions

insert image description here

At the same time, we need to be compatible with our platform. We are a 64-bit platform, and we need to be compatible with 32-bit platforms


sudo apt-get install lib32z


At this time we need to use this program in different places, so we need to configure the environment variables, which have two places.

One is in /etc/profile. If you modify it here, all users will be modified.

So we choose to modify the ./bashrc file in the home directory. The modification here is only useful for the current user. We add


export PATH=/opt/FriendlyARM/toolschain/4.5.1/bin:$PATH


Communication between host and ARM board

First we install the nfs communication server


sudo apt-get install nfs-kernel-server


Create a folder and specify a specific directory


vi /etc/exports


/home/user/share *(rw,sync,no_root_squash)//* is the IP address, rw read-write, sync synchronization, no_root does not do root verification

/home/user/rootfs *(rw,sync,no_root_squash)


service nfs-kernel-server restart //Server restart


sudo mount -t nfs 172.16.3.100:/home/user/share /mnt -o nolock //Mount the Linux system on the arm board


In this way, the operation of the arm board is realized through the network server



Reference address:ARM development - building an embedded development environment

Previous article:ARM development - modification and burning of uboot
Next article:Exception handling in Arm64

Recommended posts

【Follow me Season 2 Episode 1】 Creative Task (Creative Wearable Decorations)
#【FollowmeSeason2Episode1】CreativeTask(CreativeWearableDecorations)Helloeveryone,thisisiex123.ThistimeIwilltryCreativeTask1andmakeacreativewearabledecoration.IchosetouseamicrophonesensorandonboardLEDtomakea
iexplore123 DigiKey Technology Zone
How to put two or more board frames in one PCB file
Howtoputtwoormoreboardframes (mainboard+adapterboard+keyboard+sensorboard+displayboard,etc.)inonePCBfile?Exceptforthemainboard,otherboardsmayhaveonlyafewmaterial pads.Can'tonePCBfileholdtwoboardfra
QWE4562009 Discrete Device
Sensorless FOC Video
https://v.youku.com/v_show/id_XNDY3ODYyMzk2MA==.html https://v.youku.com/v_show/id_XNDYzMDEwOTk2MA==.html http://https://v.youku.com/v_show/id_XNDY3NjE2NjM1Ng==.html https://v.youku.com/v_show/id_XNDcxMTEwODA3Ng==.html Verygoodoriginalsha
jie888jie89 Motor Drive Control(Motor Control)
5. [Domestic FPGA Anlu high-integration low-power SF1 series FPSoC new product evaluation] 128*32 OLED dot matrix screen display
BecauseseveralFPCcablesoftheOLEDscreenwerebroken,thefinalworkcouldnotcontinue.AtotaloffourFPCcableswerebroken. IwasalittleconfusedwhenIsawthisscene,becauseIconfirmedthatthescreenwasusableafterrecei
1nnocent Domestic Chip Exchange
"Python Programming Quick Start" Part 1: Understand Python Basics
1.Description Firstofall,Iamveryhonoredtobeselectedforthelistof"PythonProgrammingQuickStart"andthanktheofficialfororganizingthisevaluationactivity. Secondly,inthisactivity,thePythonprogramdesignedwasnotru
xiaolinen Integrated technical exchanges
Recommend several inverter PWM signal amplifier chips
ThePWMamplifierchipoftheinverter,theDSPoutputsignalpoweristooweak,andneedstobeamplifiedtodirectlydrivetheoptocoupleroramplifierofthesubsequentdrivecircuit.Howmanycommonlyusedonesarethere?PWMchipwithlowpoten
乱世煮酒论天下 Motor Drive Control(Motor Control)
Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号