| |

VerySource

 Forgot password?
 Register
Search
Author: hotcool666

S3C2410 driver programming problems, urgent?

[Copy link]

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

 Author| Post time: 2020-4-6 12:45:01
| Show all posts
Still unable to move on, continue to consult
Reply

Use magic Report

0

Threads

6

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-8-22 12:15:01
| Show all posts
One of my netizens said: Remove -o and try, the modules that can be loaded should be unlinked files after compilation. Generated executable files cannot be loaded as modules
Reply

Use magic Report

0

Threads

6

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-8-22 12:30:01
| Show all posts
Has the problem been solved? I have the same problem as you. . . . .
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-30 13:00:02
| Show all posts
Remove  -C  and see, it may be a parameter problem
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-30 14:15:02
| Show all posts
Your error is often due to the inconsistency between the current driver module and the kernel version, that is to say, the source code you used to compile this module is not the kernel version, so it does not match.
Try to use the kernel source code of your compiled module, recompile a kernel, re-burn to the board, and try insmod again, it should be fine.
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-30 15:15:01
| Show all posts
Write a makefile, compile with the make command
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list