parent
184e394a3f
commit
4e47c7a695
|
@ -21,7 +21,7 @@ In order to add a Driver you would follow this procedure, where you add the the
|
||||||
```
|
```
|
||||||
> vi kernel/kernel-4.9/arch/arm64/boot/dts/Makefile
|
> vi kernel/kernel-4.9/arch/arm64/boot/dts/Makefile
|
||||||
|
|
||||||
Add the following content before `DTB_LIST += $(dtb-y)`:
|
[Add the following content before `DTB_LIST += $(dtb-y)`:]
|
||||||
|
|
||||||
######### Include RidgeRun #########
|
######### Include RidgeRun #########
|
||||||
LI_MT9M021_PATH=$(tegra-rel-dtstree)/../../source/drivers/li-mt9m021/hardware/nvidia-spiri
|
LI_MT9M021_PATH=$(tegra-rel-dtstree)/../../source/drivers/li-mt9m021/hardware/nvidia-spiri
|
||||||
|
@ -58,9 +58,10 @@ DTB_NEW_RULE_LIST += $(dtb-y)
|
||||||
DTBO_LIST += $(dtbo-y)
|
DTBO_LIST += $(dtbo-y)
|
||||||
DTBO_NEW_RULE_LIST += $(dtbo-y)
|
DTBO_NEW_RULE_LIST += $(dtbo-y)
|
||||||
|
|
||||||
|
|
||||||
> vi kernel/kernel-4.9/Makefile
|
> vi kernel/kernel-4.9/Makefile
|
||||||
|
|
||||||
|
[At the top of the Makefile append this content to the Kernel Overlays]
|
||||||
|
|
||||||
LI_MT9M021_KERNEL_PATH=./li-mt9m021/kernel/nvidia-spiri
|
LI_MT9M021_KERNEL_PATH=./li-mt9m021/kernel/nvidia-spiri
|
||||||
KERNEL_OVERLAYS += $(CURDIR)/../../../drivers/$(LI_MT9M021_KERNEL_PATH)
|
KERNEL_OVERLAYS += $(CURDIR)/../../../drivers/$(LI_MT9M021_KERNEL_PATH)
|
||||||
LI_EG25G_KERNEL_PATH=./eg25-g/kernel/kernel-4.9-spiri
|
LI_EG25G_KERNEL_PATH=./eg25-g/kernel/kernel-4.9-spiri
|
||||||
|
|
Loading…
Reference in New Issue