mx53loco build fails with CONFIG_VIDEO disabled
Hello,
mx53loco build fails when CONFIG_VIDEO and its friends disabled. I can send a patch fixing this.
I _really_ don't like ifdef -ing a lot of stuff. Instead I'd feel to have a separate file in the directory which does this LCD init and FB init call, and let the makefile handle the conditional compilation.
@Fabio:
As you've pushed this stuff, I'd like to have your opinions on splitting this into a separate file.
Regards,
Vikram
Quoted 5 lines · Vikram Narayanan
Hello,
mx53loco build fails when
CONFIG_VIDEOand its friends disabled. I can send a patch fixing this.
Quoted 7 lines
I _really_ don't like ifdef -ing a lot of stuff. Instead I'd feel to have a separate file in the directory which does this LCD init and FB init call, and let the makefile handle the conditional compilation.
@Fabio:
As you've pushed this stuff, I'd like to have your opinions on splitting this into a separate file.
I don't have a strong opinion on this: either ifdef or a new file is fine with me.
Thanks,
Fabio Estevam
Quoted 5 lines · Vikram Narayanan
Hello,
mx53loco build fails when
CONFIG_VIDEOand its friends disabled. I can send a patch fixing this.
But CONFIG_VIDEO is *not* set in mx53loco.h mainline. Do you mean you are testing Fabio's patches ?
Fabio, can you give me an overview about your IPU patches ? I have seen several patches during my vacation, but it is not clear to me the status. In patchwork, most of them (but not all) are assigned to Anatolji. Can you help me to sync myself with the current status ?
Quoted 1 line
I _really_ don't like ifdef -ing a lot of stuff.
Nobody likes it ;-)
Quoted 3 lines
Instead I'd feel to
have a separate file in the directory which does this LCD init and FB init call, and let the makefile handle the conditional compilation.
A way we use in the past to have different compilation of the same board with different features is to use a separate entry into boards.cfg, for example see imx31_phycore, or also magnesium and imx27lite, or...
Anyway, when patches for IPU flow into mainline, is there a good reason to not enable CONFIG_VIDEO for mx53loco ?
Best regards,
Stefano
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================
Quoted 9 lines · Stefano Babic
Quoted 5 lines · Vikram Narayanan
Hello,
mx53loco build fails when
CONFIG_VIDEOand its friends disabled. I can send a patch fixing this.But
CONFIG_VIDEOis *not* set inmx53loco.hmainline. Do you mean you are testing Fabio's patches ?
With this (fedab338f3459315cb69627fcf46032ec8df1753) it is already in the master.
Quoted 13 lines
Fabio, can you give me an overview about your IPU patches ? I have seen several patches during my vacation, but it is not clear to me the status. In patchwork, most of them (but not all) are assigned to Anatolji. Can you help me to sync myself with the current status ?
Quoted 1 line
I _really_ don't like ifdef -ing a lot of stuff.
Nobody likes it ;-)
Quoted 3 lines
Instead I'd feel to
have a separate file in the directory which does this LCD init and FB init call, and let the makefile handle the conditional compilation.
Quoted 6 lines
A way we use in the past to have different compilation of the same board with different features is to use a separate entry into boards.cfg, for example see
imx31_phycore, or also magnesium and imx27lite, or...Anyway, when patches for IPU flow into mainline, is there a good reason to not enable
CONFIG_VIDEOfor mx53loco ?
Though this would be helpful for headless boards, I'm not the right guy. Fabio can give a better picture here.
Regards,
Vikram
Quoted 3 lines
Best regards,
Stefano
Quoted 7 lines · Stefano Babic
Quoted 5 lines · Vikram Narayanan
Hello,
mx53loco build fails when
CONFIG_VIDEOand its friends disabled. I can send a patch fixing this.
Quoted 7 lines
But
CONFIG_VIDEOis *not* set inmx53loco.hmainline. Do you mean you are testing Fabio's patches ?Fabio, can you give me an overview about your IPU patches ? I have seen several patches during my vacation, but it is not clear to me the status. In patchwork, most of them (but not all) are assigned to Anatolji. Can you help me to sync myself with the current status ?
Sure, mx51evk and mx53loco patches were already accepted by Anatolij and are in mainline.
I have also submitted a patch series for adding framebuffer for mx6qsabrelite. These were not applied yet and I need to rework at least the last one of the series.
Regards,
Fabio Estevam
Quoted 6 lines · Vikram Narayanan
Quoted 2 lines
Anyway, when patches for IPU flow into mainline, is there a good reason to not enable
CONFIG_VIDEOfor mx53loco ?Though this would be helpful for headless boards, I'm not the right guy. Fabio can give a better picture here.
I like the idea of keeping CONFIG_VIDEO enabled by default for mx53loco as it is currently.
Other boards like vision2, mx51evk do the same thing.
It is also a good idea to be able to deselect CONFIG_VIDEO and not break the build and Vikram intends to submit a patch for fixing this.
Regards,
Fabio Estevam