problems compiling latest git update
Hi I uopgraded the source tree to latest creating a new kernel version for my device (latest), but i found two things, one is the following error:arch/arm/plat-omap/devices.c: In function 'omap_init_mmc':arch/arm/plat-omap/devices.c:348: error: 'OMAP2_CTRL_BASE' undeclared (first use in this function)arch/arm/plat-omap/devices.c:348: error: (Each undeclared identifier is reported only oncearch/arm/plat-omap/devices.c:348: error: for each function it appears in.)
other is, where are the DSP config options ?
Signature · 9 lines
------------------------------------------------------------------------------ Thanks && Regards Msc. Bsc. Luís Vitório Cargnini IEEE Member Electrical Engineer Faculty @ PUCRS Ipiranga Avenue, 6681 – Building 30 P.O. Box: 90619-900 – Porto Alegre/RS Phone: +55 51 3320 3500 extension: 7696 ---------------------------------------------------------------------------------
Hi Luís,
What is your board? What defconfig you are using?
Cheers,
Quoted 27 lines · Luís Cargnini
Hi I uopgraded the source tree to latest creating a new kernel version for my device (latest), but i found two things, one is the following error:
arch/arm/plat-omap/devices.c: In function 'omap_init_mmc':arch/arm/plat-omap/devices.c:348: error: 'OMAP2_CTRL_BASE' undeclared (first use in this function)arch/arm/plat-omap/devices.c:348: error: (Each undeclared identifier is reported only oncearch/arm/plat-omap/devices.c:348: error: for each function it appears in.)other is, where are the DSP config options ?
--
------------------------------------------------------------------------------
Thanks && Regards
Msc. Bsc. Luís Vitório Cargnini
IEEE Member
Electrical Engineer Faculty @ PUCRS
Ipiranga Avenue, 6681 – Building 30
P.O. Box: 90619-900 – Porto Alegre/RS
Phone: +55 51 3320 3500 extension: 7696
---------------------------------------------------------------------------------
_______________________________________________
Linux-omap-open-source mailing list
[email protected]
http://linux.omap.com/mailman/listinfo/linux-omap-open-source
Signature · 1 line
Eduardo Bezerra Valentin
Quoted 10 lines · Luís Cargnini
Hi I uopgraded the source tree to latest creating a new kernel version for my device (latest), but i found two things, one is the following error:
arch/arm/plat-omap/devices.c: In function 'omap_init_mmc':arch/arm/plat-omap/devices.c:348: error: 'OMAP2_CTRL_BASE' undeclared (first use in this function)arch/arm/plat-omap/devices.c:348: error: (Each undeclared identifier is reported only oncearch/arm/plat-omap/devices.c:348: error: for each function it appears in.)other is, where are the DSP config options ?
System Type --->TI OMAP Implementations --->
<*> OMAP DSP driver (DSP Gateway)
[ ] Mailbox Command Verbose LOG (NEW)
[ ] Framebuffer export to DSP (NEW)
CONFIG_OMAP_DSP, CONFIG_OMAP_DSP_MBCMD_VERBOSE, CONFIG_OMAP_DSP_FBEXPORT
Probably you may want to enable also CONFIG_OMAP_MMU_FWK and CONFIG_OMAP_MBOX_FWK, which are automatically enable by selecting CONFIG_OMAP_DSP from the menuconfig.
Quoted 17 lines
--
------------------------------------------------------------------------------
Thanks && Regards
Msc. Bsc. Luís Vitório Cargnini
IEEE Member
Electrical Engineer Faculty @ PUCRS
Ipiranga Avenue, 6681 – Building 30
P.O. Box: 90619-900 – Porto Alegre/RS
Phone: +55 51 3320 3500 extension: 7696
---------------------------------------------------------------------------------
_______________________________________________
Linux-omap-open-source mailing list
[email protected]
http://linux.omap.com/mailman/listinfo/linux-omap-open-source
Signature · 1 line
Eduardo Bezerra Valentin
Hi,
Quoted 8 lines · Luís Cargnini
Hi I uopgraded the source tree to latest creating a new kernel version for my device (latest), but i found two things, one is the following error:
arch/arm/plat-omap/devices.c: In function 'omap_init_mmc':arch/arm/plat-omap/devices.c:348: error: 'OMAP2_CTRL_BASE' undeclared (first use in this function)arch/arm/plat-omap/devices.c:348: error: (Each undeclared identifier is reported only oncearch/arm/plat-omap/devices.c:348: error: for each function it appears in.)
Are you really using most recent linux-omap tree??
I'm building with omap_h4_2420_defconfig and it's fine.
My current HEAD is:41283eed64c3279f62fede457ed56aced5ac2f89
Quoted 19 lines
other is, where are the DSP config options ?
--
------------------------------------------------------------------------------
Thanks && Regards
Msc. Bsc. Luís Vitório Cargnini
IEEE Member
Electrical Engineer Faculty @ PUCRS
Ipiranga Avenue, 6681 – Building 30
P.O. Box: 90619-900 – Porto Alegre/RS
Phone: +55 51 3320 3500 extension: 7696
---------------------------------------------------------------------------------
_______________________________________________
Linux-omap-open-source mailing list
[email protected]
http://linux.omap.com/mailman/listinfo/linux-omap-open-source
Signature · 4 lines
Best Regards, Felipe Balbi [email protected]
my board is an OSK 5912
Quoted 46 lines · Eduardo Valentin
Hi Luís,
What is your board? What defconfig you are using?
Cheers,
Quoted 1 line · Luís Cargnini
Hi I uopgraded the source tree to latest creating a new kernel version
for
Quoted 3 lines
my device (latest), but i found two things, one is the following error:
arch/arm/plat-omap/devices.c: In function 'omap_init_mmc':arch/arm/plat-omap/devices.c:348: error: 'OMAP2_CTRL_BASE' undeclared(first
Quoted 4 lines
use in this function)
arch/arm/plat-omap/devices.c:348: error: (Each undeclared identifier is reported only oncearch/arm/plat-omap/devices.c:348: error: for each function it appearsin.)
Quoted 6 lines
other is, where are the DSP config options ?
--
------------------------------------------------------------------------------
Quoted 8 lines
Thanks && Regards
Msc. Bsc. Luís Vitório Cargnini IEEE Member
Electrical Engineer Faculty @ PUCRS Ipiranga Avenue, 6681 – Building 30 P.O. Box: 90619-900 – Porto Alegre/RS
Phone: +55 51 3320 3500 extension: 7696---------------------------------------------------------------------------------
Quoted 5 lines
_______________________________________________
Linux-omap-open-source mailing list [email protected]
http://linux.omap.com/mailman/listinfo/linux-omap-open-source--
Eduardo Bezerra Valentin
Signature · 9 lines
------------------------------------------------------------------------------ Thanks && Regards Msc. Bsc. Luís Vitório Cargnini IEEE Member Electrical Engineer Faculty @ PUCRS Ipiranga Avenue, 6681 – Building 30 P.O. Box: 90619-900 – Porto Alegre/RS Phone: +55 51 3320 3500 extension: 7696 ---------------------------------------------------------------------------------
excuse me I'm using make omap_osk_5912_defconfig
Quoted 46 lines · Eduardo Valentin
Hi Luís,
What is your board? What defconfig you are using?
Cheers,
Quoted 1 line · Luís Cargnini
Hi I uopgraded the source tree to latest creating a new kernel version
for
Quoted 3 lines
my device (latest), but i found two things, one is the following error:
arch/arm/plat-omap/devices.c: In function 'omap_init_mmc':arch/arm/plat-omap/devices.c:348: error: 'OMAP2_CTRL_BASE' undeclared(first
Quoted 4 lines
use in this function)
arch/arm/plat-omap/devices.c:348: error: (Each undeclared identifier is reported only oncearch/arm/plat-omap/devices.c:348: error: for each function it appearsin.)
Quoted 6 lines
other is, where are the DSP config options ?
--
------------------------------------------------------------------------------
Quoted 8 lines
Thanks && Regards
Msc. Bsc. Luís Vitório Cargnini IEEE Member
Electrical Engineer Faculty @ PUCRS Ipiranga Avenue, 6681 – Building 30 P.O. Box: 90619-900 – Porto Alegre/RS
Phone: +55 51 3320 3500 extension: 7696---------------------------------------------------------------------------------
Quoted 5 lines
_______________________________________________
Linux-omap-open-source mailing list [email protected]
http://linux.omap.com/mailman/listinfo/linux-omap-open-source--
Eduardo Bezerra Valentin
Signature · 9 lines
------------------------------------------------------------------------------ Thanks && Regards Msc. Bsc. Luís Vitório Cargnini IEEE Member Electrical Engineer Faculty @ PUCRS Ipiranga Avenue, 6681 – Building 30 P.O. Box: 90619-900 – Porto Alegre/RS Phone: +55 51 3320 3500 extension: 7696 ---------------------------------------------------------------------------------
I'm using the same HEAD, yes I'm with 100% sure that I'm using the latest tree
Quoted 52 lines · Felipe Balbi
Hi,
Quoted 1 line · Luís Cargnini
Hi I uopgraded the source tree to latest creating a new kernel version
for
Quoted 3 lines
my device (latest), but i found two things, one is the following error:
arch/arm/plat-omap/devices.c: In function 'omap_init_mmc':arch/arm/plat-omap/devices.c:348: error: 'OMAP2_CTRL_BASE' undeclared(first
Quoted 4 lines
use in this function)
arch/arm/plat-omap/devices.c:348: error: (Each undeclared identifier is reported only oncearch/arm/plat-omap/devices.c:348: error: for each function it appearsin.)
Are you really using most recent linux-omap tree??
I'm building with
omap_h4_2420_defconfigand it's fine.My current HEAD is:
41283eed64c3279f62fede457ed56aced5ac2f89Quoted 6 lines
other is, where are the DSP config options ?
--
------------------------------------------------------------------------------
Quoted 8 lines
Thanks && Regards
Msc. Bsc. Luís Vitório Cargnini IEEE Member
Electrical Engineer Faculty @ PUCRS Ipiranga Avenue, 6681 – Building 30 P.O. Box: 90619-900 – Porto Alegre/RS
Phone: +55 51 3320 3500 extension: 7696---------------------------------------------------------------------------------
Quoted 5 lines
_______________________________________________
Linux-omap-open-source mailing list [email protected]
http://linux.omap.com/mailman/listinfo/linux-omap-open-source--
Best Regards,Felipe Balbi
[email protected]
Signature · 9 lines
------------------------------------------------------------------------------ Thanks && Regards Msc. Bsc. Luís Vitório Cargnini IEEE Member Electrical Engineer Faculty @ PUCRS Ipiranga Avenue, 6681 – Building 30 P.O. Box: 90619-900 – Porto Alegre/RS Phone: +55 51 3320 3500 extension: 7696 ---------------------------------------------------------------------------------
I'm doing and mrproper doing from the beginning all the process I cloned the git to make my modifications and test over the latest tree, and redoing everything again to see what happen
Quoted 14 lines · Eduardo Valentin
System Type --->TI OMAP Implementations --->
<*> OMAP DSP driver (DSP Gateway)
[ ] Mailbox Command Verbose LOG (NEW)
[ ] Framebuffer export to DSP (NEW)
CONFIG_OMAP_DSP,CONFIG_OMAP_DSP_MBCMD_VERBOSE,CONFIG_OMAP_DSP_FBEXPORTProbably you may want to enable also
CONFIG_OMAP_MMU_FWKandCONFIG_OMAP_MBOX_FWK, which are automatically enable by selectingCONFIG_OMAP_DSPfrom the menuconfig.
Signature · 9 lines
------------------------------------------------------------------------------ Thanks && Regards Msc. Bsc. Luís Vitório Cargnini IEEE Member Electrical Engineer Faculty @ PUCRS Ipiranga Avenue, 6681 – Building 30 P.O. Box: 90619-900 – Porto Alegre/RS Phone: +55 51 3320 3500 extension: 7696 ---------------------------------------------------------------------------------
OK , after make a super clean (mrproper) the configs back to normal, but the errors back, I added MMC/SD support in the kenel before compilate it any IDEA ?
is this normal ?
CALL scripts/checksyscalls.sh
<stdin>:1097:2: warning: #warning syscall fadvise64 not implemented <stdin>:1265:2: warning: #warning syscall migrate_pages not implemented <stdin>:1321:2: warning: #warning syscall pselect6 not implemented <stdin>:1325:2: warning: #warning syscall ppoll not implemented <stdin>:1365:2: warning: #warning syscall epoll_pwait not implemented <stdin>:1385:2: warning: #warning syscall fallocate not implemented
CC scripts/mod/empty.o
well the error comes back:
LD arch/arm/nwfpe/built-in.o
CC arch/arm/plat-omap/common.o CC arch/arm/plat-omap/sram.o AS arch/arm/plat-omap/sram-fn.o CC arch/arm/plat-omap/clock.o CC arch/arm/plat-omap/devices.o
arch/arm/plat-omap/devices.c: In function 'omap_init_mmc':arch/arm/plat-omap/devices.c:348: error: 'OMAP2_CTRL_BASE' undeclared (first use in this function)arch/arm/plat-omap/devices.c:348: error: (Each undeclared identifier is reported only oncearch/arm/plat-omap/devices.c:348: error: for each function it appears in.) make[1]: *** [arch/arm/plat-omap/devices.o] Error 1
make: *** [arch/arm/plat-omap] Error 2
any idea ?
Quoted 8 lines · Luís Cargnini
I'm doing and mrproper doing from the beginning all the process I cloned the git to make my modifications and test over the latest tree, and redoing everything again to see what happen
----------------------------------------------------------
Signature · 9 lines
------------------------------------------------------------------------------ Thanks && Regards Msc. Bsc. Luís Vitório Cargnini IEEE Member Electrical Engineer Faculty @ PUCRS Ipiranga Avenue, 6681 – Building 30 P.O. Box: 90619-900 – Porto Alegre/RS Phone: +55 51 3320 3500 extension: 7696 ---------------------------------------------------------------------------------
Quoted 1 line · Luís Cargnini
OK , after make a super clean (mrproper) the configs back to normal, but the
Clean omap_osk_5912_defconfig compiles and boots fine with recent git (41283eed64c3279f62f...).
Quoted 13 lines
errors back, I added MMC/SD support in the kenel before compilate it any IDEA ?
CC
arch/arm/plat-omap/devices.oarch/arm/plat-omap/devices.c: In function 'omap_init_mmc':arch/arm/plat-omap/devices.c:348: error: 'OMAP2_CTRL_BASE' undeclared (first use in this function)arch/arm/plat-omap/devices.c:348: error: (Each undeclared identifier is reported only oncearch/arm/plat-omap/devices.c:348: error: for each function it appears in.) make[1]: *** [arch/arm/plat-omap/devices.o] Error 1
make: *** [arch/arm/plat-omap] Error 2
Quoted 1 line
any idea ?
Maybe anything with
http://linux.omap.com/pipermail/linux-omap-open-source/2007-August/011159.html
?
Dirk
without MMC/SD it works, but with MMC/SD it not compile
and my source have the applied patch that you suggested, but it is for OMAP2420
Quoted 15 lines · Dirk Behme
Clean
omap_osk_5912_defconfigcompiles and boots fine with recent git (41283eed64c3279f62f...).Maybe anything with
http://linux.omap.com/pipermail/linux-omap-open-source/2007-August/011159.html
?
Dirk
Signature · 9 lines
------------------------------------------------------------------------------ Thanks && Regards Msc. Bsc. Luís Vitório Cargnini IEEE Member Electrical Engineer Faculty @ PUCRS Ipiranga Avenue, 6681 – Building 30 P.O. Box: 90619-900 – Porto Alegre/RS Phone: +55 51 3320 3500 extension: 7696 ---------------------------------------------------------------------------------
the problem is I have to add the following file include/asm-arm/arch-omap/omap24xx.h
but, the system appears to be testing everytime this clause:
(mmc->enabled) {
if (cpu_is_omap24xx()) {
omap_cfg_reg(H18_24XX_MMC_CMD);
omap_cfg_reg(H15_24XX_MMC_CLKI);
omap_cfg_reg(G19_24XX_MMC_CLKO);
omap_cfg_reg(F20_24XX_MMC_DAT0);
omap_cfg_reg(F19_24XX_MMC_DAT_DIR0);
omap_cfg_reg(G18_24XX_MMC_CMD_DIR);
} else {
omap_cfg_reg(MMC_CMD);
omap_cfg_reg(MMC_CLK);
omap_cfg_reg(MMC_DAT0);
if (cpu_is_omap1710()) {
omap_cfg_reg(M15_1710_MMC_CLKI);
omap_cfg_reg(P19_1710_MMC_CMDDIR);
omap_cfg_reg(P20_1710_MMC_DATDIR0);
}why not and ifndef besides if cpu_is ..... because I have to add the 2420.h or add the ifndef
I'm correct ?
Quoted 37 lines · Luís Cargnini
without MMC/SD it works, but with MMC/SD it not compile
and my source have the applied patch that you suggested, but it is for OMAP2420Quoted 6 lines · Dirk Behme
Clean
omap_osk_5912_defconfigcompiles and boots fine with recent git (41283eed64c3279f62f...).Quoted 9 lines
Maybe anything with
http://linux.omap.com/pipermail/linux-omap-open-source/2007-August/011159.html
?
Dirk
--
------------------------------------------------------------------------------Thanks && Regards
Msc. Bsc. Luís Vitório Cargnini
IEEE Member
Electrical Engineer Faculty @ PUCRS
Ipiranga Avenue, 6681 – Building 30
P.O. Box: 90619-900 – Porto Alegre/RS
Phone: +55 51 3320 3500 extension: 7696
---------------------------------------------------------------------------------
Signature · 9 lines
------------------------------------------------------------------------------ Thanks && Regards Msc. Bsc. Luís Vitório Cargnini IEEE Member Electrical Engineer Faculty @ PUCRS Ipiranga Avenue, 6681 – Building 30 P.O. Box: 90619-900 – Porto Alegre/RS Phone: +55 51 3320 3500 extension: 7696 ---------------------------------------------------------------------------------
ok Vitorio's producing a patch for devices.c, give me half hour to post it here.
Quoted 23 lines · Luís Cargnini
the problem is I have to add the following file
include/asm-arm/arch-omap/omap24xx.h
but, the system appears to be testing everytime this clause:(mmc->enabled) { if (cpu_is_omap24xx()) { omap_cfg_reg(H18_24XX_MMC_CMD); omap_cfg_reg(H15_24XX_MMC_CLKI); omap_cfg_reg(G19_24XX_MMC_CLKO); omap_cfg_reg(F20_24XX_MMC_DAT0); omap_cfg_reg(F19_24XX_MMC_DAT_DIR0); omap_cfg_reg(G18_24XX_MMC_CMD_DIR); } else { omap_cfg_reg(MMC_CMD); omap_cfg_reg(MMC_CLK); omap_cfg_reg(MMC_DAT0); if (cpu_is_omap1710()) { omap_cfg_reg(M15_1710_MMC_CLKI); omap_cfg_reg(P19_1710_MMC_CMDDIR); omap_cfg_reg(P20_1710_MMC_DATDIR0); }
Signature · 9 lines
------------------------------------------------------------------------------ Thanks && Regards Msc. Bsc. Luís Vitório Cargnini IEEE Member Electrical Engineer Faculty @ PUCRS Ipiranga Avenue, 6681 – Building 30 P.O. Box: 90619-900 – Porto Alegre/RS Phone: +55 51 3320 3500 extension: 7696 ---------------------------------------------------------------------------------
Quoted 2 lines · Luís Cargnini
ok Vitorio's producing a patch for
devices.c, give me half hour to post it here.
Do you like to test
http://linux.omap.com/pipermail/linux-omap-open-source/2007-September/011393.html
for this?
Cheers
Dirk
no problems doing the coding refactoring right now
Quoted 18 lines · Dirk Behme
Quoted 1 line · Luís Cargnini
ok Vitorio's producing a patch for
devices.c, give me half hour to postit
Quoted 1 line
here.
Do you like to test
http://linux.omap.com/pipermail/linux-omap-open-source/2007-September/011393.html
for this?
Cheers
Dirk
Signature · 9 lines
------------------------------------------------------------------------------ Thanks && Regards Msc. Bsc. Luís Vitório Cargnini IEEE Member Electrical Engineer Faculty @ PUCRS Ipiranga Avenue, 6681 – Building 30 P.O. Box: 90619-900 – Porto Alegre/RS Phone: +55 51 3320 3500 extension: 7696 ---------------------------------------------------------------------------------