How I can add driver to imx7dsabre ,

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How I can add driver to imx7dsabre ,

933 Views
atakanakbulut
Contributor II

Hello i triying to add new features/drivers to my linux kernel/distro , i should add new drivers to my kernel, i created release via yocto, but i need add to Realtek 8211 driver i download imx kernel and its has imx_4.1.15_2.0.0_ga realtek drivers. my current version imx_4.1.15_2.0.0 too i enable some parameters , i should be add in config file but i cant find config file (i mean yocto default imx7sabresd)

CONFIG_PHYLIB=y

CONFIG_REALTEK_PHY=y

im using sd card fat and ext partitions(yocto default)

My Questions

  1.  I compiled new kernel but where should i copy this kernel in sd card? /boot/zImage  or fat partition change zImage ıts has zImage file both of partition i copy but does not work or i miss forgot kernel parameters.
  2.  How i can get default imx7dsabresd kernel config file? 
  3.  Should I just copy zImage or create initramfs or something (how i can do this?) how i can upgrade my kernel
  4. how i can check my new drivers working? (its physical but not added now )
  5. Can i create this module its just enable in menuconfig?

Thank you for answers its really important for me  

Labels (3)
0 Kudos
1 Reply

614 Views
igorpadykov
NXP Employee
NXP Employee

Hi Atakan

one can check Chapter 2 Porting Kernel attached Porting Guide and below links

BSP porting guide: from a I.mx6q reference Board to a Custom board (in Yocto project) 

Task #10 - How to create a custom layer 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos