nvdla / sw

NVDLA SW
Other
489 stars 193 forks source link

KMD build error using Petalinux #139

Open minhoha opened 5 years ago

minhoha commented 5 years ago

Hi. I'm trying to build KMD using Petalinux now.

I modified "nvdla_drm_probe" function in "nvdla_gem.c" file like https://github.com/nvdla/sw/issues/95.

Also, I add reserved-memory node in device tree.

And then, I modified "nvdla.bb" like this. image

And then, I did "petalinux-build -c rootfs" commend. And got these errors. image

I do not know how to fix it. I need advice.

Thanks.

LpengPC commented 5 years ago

check system-usr.dtsi,maybe there are some syntax error in your modification.

LpengPC commented 5 years ago

decompile the system.dtb to .dts,then theck all nodes and their relationships in dts, especially the content in system-usr.dtsi.

gitosu67 commented 5 years ago

@minhoha were you able to fix it? If so how? I'm getting the same error.