Skip to contentSkip to conversation

news: omap mailbox implementation

dspbridge Omar Ramirez Luna 2 participants 6 messages Mar 23, 2010

lore
Share & tools
lore
#0 lore raw

Hi All,

When updating the custom dspbridge mailbox functions with the ones avaliable through omap mailbox (by pulling latest dspbridge), PLEASE remember to enable omap mailbox through menuconfig:

make menuconfig

System Type --->
TI OMAP Implementations --->
<*> Mailbox framework support

otherwise, compilation will break like:

Building modules, stage 2.
MODPOST 7 modules
ERROR: "omap_mbox_msg_send" [drivers/dsp/bridge/bridgedriver.ko] undefined!
ERROR: "omap_mbox_put" [drivers/dsp/bridge/bridgedriver.ko] undefined!
ERROR: "omap_mbox_get" [drivers/dsp/bridge/bridgedriver.ko] undefined! make[2]: *** [__modpost] Error 1
make[1]: *** [modules] Error 2
make: *** [modules] Error 2

Regards,

Omar

#1 lore raw

Hi Omar,

Quoted 14 lines · ext Omar Ramirez Luna

Hi All,

When updating the custom dspbridge mailbox functions with the ones avaliable through omap mailbox (by pulling latest dspbridge), PLEASE remember to enable omap mailbox through menuconfig:

make menuconfig

System Type --->
TI OMAP Implementations --->
<*> Mailbox framework support

otherwise, compilation will break like:

Quoted 8 lines

Building modules, stage 2.
MODPOST 7 modules
ERROR: "omap_mbox_msg_send" [drivers/dsp/bridge/bridgedriver.ko] undefined!
ERROR: "omap_mbox_put" [drivers/dsp/bridge/bridgedriver.ko] undefined!
ERROR: "omap_mbox_get" [drivers/dsp/bridge/bridgedriver.ko] undefined! make[2]: *** [__modpost] Error 1
make[1]: *** [modules] Error 2
make: *** [modules] Error 2

Can't we make DSP Bridge driver depend on mailbox then?

Cheers,
Ameya.

#2 lore raw
Quoted 26 lines · Ameya Palande

Hi Omar,

Quoted 14 lines · ext Omar Ramirez Luna

Hi All,

When updating the custom dspbridge mailbox functions with the ones avaliable through omap mailbox (by pulling latest dspbridge), PLEASE remember to enable omap mailbox through menuconfig:

make menuconfig

System Type --->
TI OMAP Implementations --->
<*> Mailbox framework support

otherwise, compilation will break like:

Quoted 8 lines

Building modules, stage 2.
MODPOST 7 modules
ERROR: "omap_mbox_msg_send" [drivers/dsp/bridge/bridgedriver.ko] undefined!
ERROR: "omap_mbox_put" [drivers/dsp/bridge/bridgedriver.ko] undefined!
ERROR: "omap_mbox_get" [drivers/dsp/bridge/bridgedriver.ko] undefined! make[2]: *** [__modpost] Error 1
make[1]: *** [modules] Error 2
make: *** [modules] Error 2

Quoted 2 lines

Can't we make DSP Bridge driver depend on mailbox then?

Yes we can, but I thought that new-to-bridge people who want to compile a kernel and are impatient enough to read a wiki (updating as we speak), would freak out if DSP Bridge is not shown in menuconfig because it is dependent on mailbox ;). Also thought that a note in Bridge defconfig option might be enough "This driver depends on OMAP Mailbox (OMAP_MBOX_FWK).", rather than a hard dependency.

The other option was to update the defconfig.

I'm fine with any of those or if anyone has a better suggestion.

Regards,

Omar

#3 lore raw
Quoted 37 lines · Omar Ramirez Luna
Quoted 26 lines · Ameya Palande

Hi Omar,

Quoted 14 lines · ext Omar Ramirez Luna

Hi All,

When updating the custom dspbridge mailbox functions with the ones avaliable through omap mailbox (by pulling latest dspbridge), PLEASE remember to enable omap mailbox through menuconfig:

make menuconfig

System Type --->
TI OMAP Implementations --->
<*> Mailbox framework support

otherwise, compilation will break like:

Quoted 8 lines

Building modules, stage 2.
MODPOST 7 modules
ERROR: "omap_mbox_msg_send" [drivers/dsp/bridge/bridgedriver.ko] undefined!
ERROR: "omap_mbox_put" [drivers/dsp/bridge/bridgedriver.ko] undefined!
ERROR: "omap_mbox_get" [drivers/dsp/bridge/bridgedriver.ko] undefined! make[2]: *** [__modpost] Error 1
make[1]: *** [modules] Error 2
make: *** [modules] Error 2

Quoted 2 lines

Can't we make DSP Bridge driver depend on mailbox then?

Yes we can, but I thought that new-to-bridge people who want to compile a kernel and are impatient enough to read a wiki (updating as we speak), would freak out if DSP Bridge is not shown in menuconfig because it is dependent on mailbox ;). Also thought that a note in Bridge defconfig option might be enough "This driver depends on OMAP Mailbox (OMAP_MBOX_FWK).", rather than a hard dependency.

Quoted 4 lines

The other option was to update the defconfig.

I'm fine with any of those or if anyone has a better suggestion.

By the way a third one would be to auto select mailbox when selecting bridgedriver, but if module is selected this means that a second module hast to be installed prior to bridgedriver.

- omar

#4 lore raw
In reply to Omar Ramirez Luna
Quoted 30 lines · ext Omar Ramirez Luna
Quoted 26 lines · Ameya Palande

Hi Omar,

Quoted 14 lines · ext Omar Ramirez Luna

Hi All,

When updating the custom dspbridge mailbox functions with the ones avaliable through omap mailbox (by pulling latest dspbridge), PLEASE remember to enable omap mailbox through menuconfig:

make menuconfig

System Type --->
TI OMAP Implementations --->
<*> Mailbox framework support

otherwise, compilation will break like:

Quoted 8 lines

Building modules, stage 2.
MODPOST 7 modules
ERROR: "omap_mbox_msg_send" [drivers/dsp/bridge/bridgedriver.ko] undefined!
ERROR: "omap_mbox_put" [drivers/dsp/bridge/bridgedriver.ko] undefined!
ERROR: "omap_mbox_get" [drivers/dsp/bridge/bridgedriver.ko] undefined! make[2]: *** [__modpost] Error 1
make[1]: *** [modules] Error 2
make: *** [modules] Error 2

Quoted 2 lines

Can't we make DSP Bridge driver depend on mailbox then?

Quoted 6 lines

Yes we can, but I thought that new-to-bridge people who want to compile a kernel and are impatient enough to read a wiki (updating as we speak), would freak out if DSP Bridge is not shown in menuconfig because it is dependent on mailbox ;). Also thought that a note in Bridge defconfig option might be enough "This driver depends on OMAP Mailbox (OMAP_MBOX_FWK).", rather than a hard dependency.

I would go for hard dependency since otherwise we can't compile dspbridge module :(

IMO selecting dspbridge module should automatically select mailbox module as well and same should apply for modprobe also :)

Cheers,
Ameya.

#5 lore raw
Quoted 38 lines · Ameya Palande
Quoted 30 lines · ext Omar Ramirez Luna
Quoted 26 lines · Ameya Palande

Hi Omar,

Quoted 14 lines · ext Omar Ramirez Luna

Hi All,

When updating the custom dspbridge mailbox functions with the ones avaliable through omap mailbox (by pulling latest dspbridge), PLEASE remember to enable omap mailbox through menuconfig:

make menuconfig

System Type --->
TI OMAP Implementations --->
<*> Mailbox framework support

otherwise, compilation will break like:

Quoted 8 lines

Building modules, stage 2.
MODPOST 7 modules
ERROR: "omap_mbox_msg_send" [drivers/dsp/bridge/bridgedriver.ko] undefined!
ERROR: "omap_mbox_put" [drivers/dsp/bridge/bridgedriver.ko] undefined!
ERROR: "omap_mbox_get" [drivers/dsp/bridge/bridgedriver.ko] undefined! make[2]: *** [__modpost] Error 1
make[1]: *** [modules] Error 2
make: *** [modules] Error 2

Quoted 2 lines

Can't we make DSP Bridge driver depend on mailbox then?

Quoted 6 lines

Yes we can, but I thought that new-to-bridge people who want to compile a kernel and are impatient enough to read a wiki (updating as we speak), would freak out if DSP Bridge is not shown in menuconfig because it is dependent on mailbox ;). Also thought that a note in Bridge defconfig option might be enough "This driver depends on OMAP Mailbox (OMAP_MBOX_FWK).", rather than a hard dependency.

Quoted 5 lines

I would go for hard dependency since otherwise we can't compile dspbridge module :(

IMO selecting dspbridge module should automatically select mailbox module as well and same should apply for modprobe also :)

Agree to auto select then, will send a patch to modify Kconfig.

- omar