List of articles

    • Live room information
  • One 、 Study Linux Environmental installation
    • 1. ubuntu Download address
    • 2. vmware Download address
  • Two 、 How to learn Embedded 、Linux drive ?
  • 3、 ... and 、 Internet of things major
    • 1. Professional courses related to the Internet of things
    • 2. Direction of employment
    • learn c circuit Which one ?
  • Four 、 Single chip microcomputer turns Linux?
    • 1. The future of SCM
    • 2. How to turn
  • 5、 ... and 、 Operation and maintenance
  • 6、 ... and 、 Assembly level performance optimization
  • 7、 ... and 、 Embedded prospects
  • Nine 、 kernel api Too much , How to look at kernel files ?
    • 1 I'll look at the kernel directory
    • 2 Look up the code
  • 8、 ... and 、 C What about language learning difficulties ?
  • 8、 ... and 、 Freshmen, sophomores, winter and summer vacation ?
  • Nine 、 Why do universities teach c Language is all skin ?
  • Ten 、 What is outsourcing 、 coordination with foreign countries or with other units ?
    • Outsourcing company :
  • 11、 ... and 、ODM、OEM
  • Twelve 、 Blocking 、 Non blocking
  • Twelve 、 certificate
  • 13、 ... and 、 How to do kernel programming ?poll How to write ?
  • FPGA
    • Employment field
    • Maybe you don't have the energy to learn ARM linux
    • What should I do ?
  • What embedded projects are better for undergraduates ?
  • Junior college students What to do ?
  • C++ What direction is good Ben three
  • Just graduated, Xiaobai wants to do embedded
  • python There is no way out
  • Is there a way out for operation and maintenance ?
  • Learn algorithms 、python
  • Linux It's fun
  • Reading is better than watching video
  • English is very important !!!!!
  • Sophomore soft worker Graduate school or employment ?
  • Yaxin
  • friend
  • whereis? reboot?
  • Two copies java
  • qt
  • plan
  • Technology live broadcast
  • The promotion of eloquence
  • SDK
  • Zero basis , How long does it take to get started
  • Operation and maintenance
  • One's deceased father grind
  • The best time to learn technology
  • IT I like young people
  • One 、 Why does the exception vector table need to modify the base address ?
  • Two 、 How the application layer calls kernel functions ?
  • 3、 ... and 、 Use of bag grabbing tools


Live room information

name : One port network Linux studio
ID :22719960

http://live.bilibili.com/22719960

One 、 Study Linux Environmental installation

1. ubuntu Download address

http://mirrors.aliyun.com/ubuntu-releases/16.04/ubuntu-16.04.7-desktop-amd64.iso

2. vmware Download address

https://www.vmware.com/go/getworkstation-win

Two 、 How to learn Embedded 、Linux drive ?

Refer to the following embedded learning route
https://blog.csdn.net/daocaokafei/article/details/108513929

Suggest : Learn the first stage first , hold C Lay a solid foundation of language , Then learn linux System programming ,
Finally, if you want to continue to drive deeply , Suggest buying one arm Board learning , Try to choose a board with complete information and videos , Don't just focus on board prices .

Which books to refer to ?

Song Baohua 《 Song Baohua is based on the latest Linux4.0 kernel 》
Official account : A bite of Linux
The background to reply : Miss Song

I wrote a tutorial about driving :
https://mp.csdn.net/console/columnManage/10323327

3、 ... and 、 Internet of things major

1. Professional courses related to the Internet of things

The Internet of things is not a new industry , There's no new technology , It's just a collection of traditional technologies , A new concept formed .

  • Hardware (stm32)、 Electronics , Circuit design

  • Wireless communication protocol : Perception layer
    The electronic modules can be networked through these wireless protocols low power consumption 、 Fast 、 Bandwidth is not high.
    bluetooth BLE 、 zigbee 、NBIOT、lwm2m、lora

  • gateway : Send the collected data to the server
    Embedded products (arm + linux) Home wireless router , wireless AP、 Small base station

  • Network support : 3 Big operators
    web 、 Wide area network 、internet

       ** Move **- Mobile        ** telecom **- The data business is better -   Telephone -cdma   ** Unicom **- It's not good ,

pc :epon Fiber into the home
mobile phone :wlan + 3G 4G 5G

  • The server ( backstage ) : java + database
  • front end : web server
    h5,android、ios

2. Direction of employment

If it's not a monopoly industry , The chosen industry must be close to the Internet

All things connected

Traditional industries that have been shuffled by the Internet :

 logistics 、 Finance 、 education ( Air English 、 Learning and thinking 、 New Oriental 、 art )、

The surviving industries

 oil 、 Tobacco 、 Medical care 、

The best Internet of things Center : wuxi

Many colleges and universities , Apply for Internet of things , Nanyou College of Internet of things . But in fact, the teachers did not keep up with .

learn c circuit Which one ?

  1. Circuit direction :
    Circuit design Chip integration ,

Technical content : Not high ,
Position : Demand is not much
employment : Many companies are reluctant to recruit new graduates , Many companies prefer to hire an experienced ,
income : Single chip microcomputer 15 , drive 25+
The color is so gorgeous , After a long time , Eyes can't stand it

The older, the more popular : A little bit

  1. C Direction

Software direction ,

Technical content : Single chip microcomputer - The outlook is not so good , linux drive : arm+linux - higher
Position : A little more , There is less demand at the bottom than at the top ,
employment : Many companies are reluctant to recruit new graduates ,

The older, the more popular : Single chip microcomputer - 2 year , linux drive : arm+linux - higher
income :

Four 、 Single chip microcomputer turns Linux?

Substitutability

1. The future of SCM

2 year , I'm almost done , It's a bottleneck , Leaders will feel 10 Years of experience and 1-3 Years of experience makes no difference ,

keil iar

2. How to turn

Linux + drive

  1. Basic operation

  2. System programming file IO Process threads The Internet socket

  3. System migration uboot Kernel compilation Drive migration File system production

  4. Driver Architecture Character device Block device Network devices

arm The board

First of all, the information is incomplete


Let's go, singer On site version Free and easy Bold and unconstrained Wandering

5、 ... and 、 Operation and maintenance

centos
Operation and maintenance

Development , Know a language python shell

As long as the work is done ,8 It's more than two o'clock before we get off work !

  1. I can't finish the work 11 after
  2. 8 More than one o'clock It's normal off hours
  3. Just :8 I'm off work at six o'clock He felt very happy

Willing to go to Africa Wages are pocket money malaria lonely + To be lonely

The Wolf sexual culture ,

Why should I leave ? You should get a divorce !

6、 ... and 、 Assembly level performance optimization

The compiler has done it for us
https://blog.csdn.net/daocaokafei/article/details/111054121

7、 ... and 、 Embedded prospects

Compared with the Internet

advantage :
No heap code , Demand will also change ( It's often the hardware that changes the requirements ),
The older, the more popular ,
Substitutability

shortcoming :
boring
The threshold is very high
There's too much to learn , 2 Introduction to 5 I'm a little bit of a maverick , Master 10

income
It wasn't high at first , The stamina is OK

Nine 、 kernel api Too much , How to look at kernel files ?

1 I'll look at the kernel directory

https://www.bilibili.com/video/BV19v411h7g9/

such as : Want to learn i2c

i2c Driver independent code ,core

 \linux-3.14-fs4412\drivers\i2c

2 Look up the code

source insight

8、 ... and 、 C What about language learning difficulties ?

8、 ... and 、 Freshmen, sophomores, winter and summer vacation ?

C The language is solid

【 Electronic documents 】

Nine 、 Why do universities teach c Language is all skin ?

How are university courses set up ?

  1. Time 、 The class hours are doomed , Only the experiment can be adjusted relatively
  2. teacher , Graduate student + 、 Doctor ,
    Educational background and ability to teach well Not directly related ,
    What do college teachers care about ? money The title Position ==== article 、 Apply for a project
  3. How do teachers teach ? Read the courseware
  4. How is the programming level of the teacher ? Very general , It has to be honed through projects .
  5. Can the students give their opinions ?

Feynman

Ten 、 What is outsourcing 、 coordination with foreign countries or with other units ?

Enter Huawei's project team , It's all about outsourcing companies

Outsourcing company :

 China soft International 、 Soft communication 、 Kechuang in da 、 Neusoft International 、 Wensi Haihui 、 Chengmai 、 Runhe 

  • Human resource expatriates
    Sign a contract with Zhongke Chuangda , People go to work at Huawei

  • Project outsourcing
    Sign a contract with Zhongke Chuangda , Working in Zhongke , It's a Huawei project

advantage :
The income is OK , Generally higher than the market price ,
Big outsourcing companies are relatively stable
Low education requirements
It's rising very fast
shortcoming :
interview , Fixed post
Human resource expatriates : Lack of a sense of belonging

OD Deco

11、 ... and 、ODM、OEM

OEM

OEM
10 Thousands of pieces of 5000 Last list

ODM
Make mobile phone , Xiao dragon 888

The essence of a hundred

Twelve 、 Blocking 、 Non blocking

The kernel waits for the queue reference 《 teach-by-doing Linux drive 9- Waiting in line waitq》

Blocking function

scanf

gets

read()
write()
recvfrom()

select()

In a blocked state , The process goes to sleep , Until something else wakes him up , And there's a signal interruption ctrl+c SIGINT
 Insert picture description here

 Insert picture description here

Twelve 、 certificate

Soft exam 3 level Examination
The title review
PM

inline volatile
extern

13、 ... and 、 How to do kernel programming ?poll How to write ?

  1. How to compile kernel modules
  2. Character device architecture .open .read .write .poll
  3. Waiting in line wait queue

https://blog.csdn.net/daocaokafei/article/details/108071589
https://blog.csdn.net/daocaokafei/article/details/108171965
https://blog.csdn.net/daocaokafei/article/details/108172338
https://blog.csdn.net/daocaokafei/article/details/108219511
https://blog.csdn.net/daocaokafei/article/details/108846894
https://blog.csdn.net/daocaokafei/article/details/108846952

FPGA

Sarinx ,xilinx Design a chip , sampling ,verilog

IP nucleus : Protocol stack 、dma、
PCIE xdma
Very efficient

It's very rich in gold ,

Employment field

military 、 signal communication

 The demand is not high 

ZTE Huawei

 Big factory    Party B 、 Party C , Ding Fang 

Maybe you don't have the energy to learn ARM linux

What should I do ?

self-taught ,

B standing : Online University

  • Look at it systematically , Look at it several times.

c Language

official account A bite of Linux reply 【 Electronic documents 】

yikoupeng

What embedded projects are better for undergraduates ?

level : Own level

linux,c Language , Hardware

Do a simple Internet of things project 《 Internet of things data acquisition system 》

  1. Upper computer + Lower machine
  2. Acquisition sensors data , You can control the peripherals
  3. Store in database
  4. The board :stm32 、

database
embedded database sqlite3 Article, understand

Advanced

  1. socket
  2. web The server , Data can be accessed through a browser

Junior college students What to do ?

Half a year C JAVA

C

JAVA
《 Book management 》 stand-alone ,

  The chat room
   C/S
   socket
    Threads , Multi process 

learn linux Don't look at it 《 Bird's private dishes 》
When it comes to reference books .

Use to search ,

We need to solve problems ,

C++ What direction is good Ben three

  1. QT prospects
    military ,
    Handheld terminal Instruments and Apparatuses

  2. .net

  3. ios
    object-c

Just graduated, Xiaobai wants to do embedded

As far as possible , Undergraduate ,( instruction by correspondence 、 college examination for the self-taught 、 evening university )

《 The embedded learning route summarized by the teaching director of an embedded training institution 》
C Language Linux operation

Linxu System programming : process Threads 、 Synchronous mutual exclusion , Interprocess communication
The Internet : Common agreements 、 networking 、 Socket ,
ARM mips :
OS : linux 、

python There is no way out

Is there a way out for operation and maintenance ?

Network Engineer + test + pre-sale + after-sales

There is a certain foundation ,

  1. Reference book 《 Bird's private dishes 》
  2. 《shell》
  3. The Internet ,《tcp/ip》, Caught tools ,—>5G
  4. database
  5. It is suggested to go in the direction of programming ----->python Write the script

Learn algorithms 、python

hadoop

Linux It's fun

By writing code to achieve common commands

Reading is better than watching video

You are instructed to read You are instructed to read .
What kind of video ,

English is very important !!!!!

Recruitment Education 、 Native place 、 English

Sun power

Android + jini

pmon

Sophomore soft worker Graduate school or employment ?

Anhui Normal University wuhu

Encourage postgraduate entrance examination ----》 Make sure you get into ----》 major -----》 a copy 211 985 ------》 The city problem

Specialty

  1. From college to college Upgraded version Two copies Three copies

Yaxin

friend

junior college 、
From college to college
GCT
Three schools : Lab teacher ----> lecturer --------> Intermediate title
I'm a doctor , I graduated last year ,

whereis? reboot?

Two copies java

Xuzhou Institute of Engineering Little Tsinghua University in Northern Jiangsu Province

Improve your education ,
Textual research 、 Soft exam 、 The title 、

xuzhou

qt

military 、 automobile Handheld terminal
Godson
prospects

plan

After the Spring Festival : Basic stage —linux Basic operation -----C Language ---- shell------- data structure ------linux System programming —

article + video + live broadcast

Technology live broadcast

  1. boring

  2. High threshold
    It's very demanding of the anchor ,
    Solid technical knowledge , Wide range of knowledge ,
    The memory of knowledge ,
    Software knowledge ,

    Just because you can use it doesn't mean you can understand it ,

    eloquence ,

    The characteristics of the program ?

    The promotion of eloquence

      It's only after training that we start to improve ,
      drive , The embedded   
     ** Make notes , No matter how much knowledge you see, you can't remember , It's better to read less books , You can tell him **

    《 Things of the Ming dynasty 》

    The computer is interesting ?

    The embedded Linux

    1. The mouth can't say , I like to be more real ,
      The program is the simplest in the world ,
      Girls are more emotional , The logic of thinking is different from that of boys .
      You can't fool people . Make people laugh == Cheat != fraud It represents the emotion at that time ,
      chauvenist ,
      Science and Engineering , mathematics 、 Physics 、 chemical 、dsp、 signalling system 、 Electromagnetic fields, electromagnetic waves 、 linear algebra 、 Discrete Mathematics , College Physics ,
      Communication principle 、 Engineering Mathematics 、 linear algebra

      Logic It is necessary and sufficient

    2. Emotional intelligence is low , Clear the code , I can't figure out why my girlfriend is angry ? I don't know how to coax my girlfriend .

    3. be careless about one 's dress

 Insert picture description here

static Variable

 1 #include <stdio.h>
  2 
  3 
  4 int global = 10;
  5 
  6 static int sglobal ;
  7 
  8 void func(void)
  9 {
 10     static int peng = 0;
 11                                                                                                                                      
 12     printf("peng = %d \n",peng++);
 13 
 14 }
 15 
 16 int main(int argc, char **argv)
 17 {
 18 
 19     func();
 20 
 21     func();
 22 
 23 
 24     return 0;
 25 }

In thread static Variable

  1. What is thread ?

company Training institutions

Boss
The Marketing Department — Responsible for docking customers
Technology Department — attend class;class begins

Three roles It's like Threads

Together , It's like a process

Between company and company It's like between processes

Alibaba Evergrande

  1. API
    NAME
    pthread_create - create a new thread

SYNOPSIS
#include <pthread.h>

   int pthread_create(pthread_t *thread, const pthread_attr_t *attr,
                      void *(*start_routine) (void *), void *arg);
   Compile and link with -pthread.

void *(*start_routine) (void *)

  1. Threads share some resources in the process

Global variables , Open file descriptor ,
Code segment ,data

  1. Not shared
    local variable Not shared
  1 #include <stdio.h>
  2 #include <pthread.h>
  3 
  4 void *func (void *arg)
  5 {
  6     static int a = 10;
  7 
  8     while(1)
  9     {
 10         sleep(1);
 11         printf("this is thread %d\n",a++);
 12     }
 13 }
 14 int main(int argc, char **argv)
 15 {
 16     pthread_t th;
 17     pthread_t th1;
 18 
 19     pthread_create(&th, NULL,  func, NULL);
 20     pthread_create(&th1, NULL,  func, NULL);
 21 
 22     while(1)
 23     {
 24         sleep(1);
 25     //  printf("this is main \n");
 26     }
 27     return 0;                                                                                                                        
 28 }

SDK

Software industry chain

    the outer surface
   The screen
       Software 

Design (EDA)----》 chip --------->( Solution manufacturer )---------> System integrator
TSMC Chip manufacturer
Godson

sdk, pmon kenel longix/rootfs

Zero basis , How long does it take to get started

  1. Education
    Ben 1

  2. major
    Soft engineering

  3. java python front end big data ai vi ( Big factory )

Comview —> Security
Dahua ---->
Depending Yu ---->

linux vxworks fpga

Operation and maintenance

A wide range of knowledge 、 Script 、python shell

One's deceased father grind

I agree with ,
General research : Master of science A professional

on-the-job postgraduate student , GCT Documents 、 MBA Double evidence

Conditions permit , Go to the exam

benefits :
Education has a certain amount of gold
Research institute, 、
Find a partner ,
The circle of the future ,

Disadvantage :
Comparative water
Two students 、 Professional courses don't ,
3 Year time ,

The best time to learn technology

18-25

IT I like young people

Can work overtime 、

Cost performance

IT
front 5 year , 5-15 Make more connections

One 、 Why does the exception vector table need to modify the base address ?

Two 、 How the application layer calls kernel functions ?

  1. system call
  1. Character device architecture
  1. file
DRIVER_ATTR()
Help us create a state Add a macro to the file ,(/sys/) find Command to find this file
adopt echo 1 > state

3、 ... and 、 Use of bag grabbing tools

Refer to the following article :

《 A packet you learn to capture network data packet 》

  1. Use of software
  1. Learn to analyze packets
  1. ping
  1. ftp
  1. QQ Data packets
4000 4001 8000 8001