Re: CVS commit: src/sys/arch/arm/omap

2016-10-17 Thread Joerg Sonnenberger
On Sat, Oct 15, 2016 at 03:11:56PM +, KIYOHARA Takashi wrote:
> Module Name:  src
> Committed By: kiyohara
> Date: Sat Oct 15 15:11:56 UTC 2016
> 
> Modified Files:
>   src/sys/arch/arm/omap: files.omap2 omap2_gpio.c
> 
> Log Message:
> Support TI_AM335X gpio to omap2_gpio.c.

From
https://releng.netbsd.org/builds/HEAD-llvm/201610161110Z/evbarm-earm.build.failed

/home/source/ab/HEAD-llvm/src/sys/arch/arm/omap/omap2_gpio.c:67:33:
error: unused variable 'gpio_module' [-Werror,-Wunused-const-variable]

Joerg


Re: CVS commit: src/sys/arch/arm/omap

2016-10-16 Thread coypu
Hi,

On Sat, Oct 15, 2016 at 03:09:00PM +, KIYOHARA Takashi wrote:
> + fifo = OMAP2_I2C_FIFOBYTES(fifodepth);

>From 
>http://releng.netbsd.org/builds/HEAD/201610160020Z/evbarm-earmv7hf.build.failed


--- kern-BEAGLEBONE ---
/home/source/ab/HEAD/src/sys/arch/arm/omap/ti_iic.c: In function 
'ti_iic_attach':
/home/source/ab/HEAD/src/sys/arch/arm/omap/ti_iic.c:281:9: error: implicit 
declaration of function 'OMAP2_I2C_FIFOBYTES' 
[-Werror=implicit-function-declaration]
  fifo = OMAP2_I2C_FIFOBYTES(fifodepth);
 ^


Re: CVS commit: src/sys/arch/arm/omap

2016-08-05 Thread KIYOHARA Takashi
Hi!


From: "Jonathan A. Kollasch" 
Date: Thu, 4 Aug 2016 22:02:54 -0500

> On Fri, Aug 05, 2016 at 11:27:13AM +0900, KIYOHARA Takashi wrote:
>> Hi!
>> 
>> 
>> From: "Jonathan A. Kollasch" 
>> Date: Thu, 4 Aug 2016 20:07:18 +
>> 
>> > Module Name:   src
>> > Committed By:  jakllsch
>> > Date:  Thu Aug  4 20:07:18 UTC 2016
>> > 
>> > Modified Files:
>> >src/sys/arch/arm/omap: omap3_sdhc.c
>> > 
>> > Log Message:
>> > TI_DM37xx does not currently have a working omapscm(4), which provides
>> > omap_devid().  Avoid using omap_devid() until correctly fixed.
>> 
>> Why not attach omapscm?
>> My Overo EarthSTORM(AM3703) is working with omapscm.  The OVERO supports
>> OMAP 3503, 3530, DM3730 and AM3703.


> BEAGLEBOARDXM w/
> omapscm0at obio0 addr 0x48002000 size 0x1000 :
> 
> src/sys/arch/arm/omap/omap3_scm.c: In function 'omap3_scm_match':
> src/sys/arch/arm/omap/omap3_scm.c:138:25:
> error: 'SCM_BASE' undeclared (first use in this function)
>   if (obio->obio_addr == SCM_BASE)
> 

Please try after 'cvs update'.

Thanks,
--
kiyohara


Re: CVS commit: src/sys/arch/arm/omap

2016-08-04 Thread Jonathan A. Kollasch
On Fri, Aug 05, 2016 at 11:27:13AM +0900, KIYOHARA Takashi wrote:
> Hi!
> 
> 
> From: "Jonathan A. Kollasch" 
> Date: Thu, 4 Aug 2016 20:07:18 +
> 
> > Module Name:src
> > Committed By:   jakllsch
> > Date:   Thu Aug  4 20:07:18 UTC 2016
> > 
> > Modified Files:
> > src/sys/arch/arm/omap: omap3_sdhc.c
> > 
> > Log Message:
> > TI_DM37xx does not currently have a working omapscm(4), which provides
> > omap_devid().  Avoid using omap_devid() until correctly fixed.
> 
> Why not attach omapscm?
> My Overo EarthSTORM(AM3703) is working with omapscm.  The OVERO supports
> OMAP 3503, 3530, DM3730 and AM3703.
> 
> Thanks,
> --
> kiyohara

BEAGLEBOARDXM w/o omapscm0:
src/sys/arch/arm/omap/omap3_sdhc.c:236: undefined reference to `omap_devid'

BEAGLEBOARDXM w/
omapscm0at obio0 addr 0x48002000 size 0x1000 :

src/sys/arch/arm/omap/omap3_scm.c: In function 'omap3_scm_match':
src/sys/arch/arm/omap/omap3_scm.c:138:25:
error: 'SCM_BASE' undeclared (first use in this function)
  if (obio->obio_addr == SCM_BASE)


Jonathan Kollasch


Re: CVS commit: src/sys/arch/arm/omap

2016-08-04 Thread KIYOHARA Takashi
Hi!


From: "Jonathan A. Kollasch" 
Date: Thu, 4 Aug 2016 20:07:18 +

> Module Name:  src
> Committed By: jakllsch
> Date: Thu Aug  4 20:07:18 UTC 2016
> 
> Modified Files:
>   src/sys/arch/arm/omap: omap3_sdhc.c
> 
> Log Message:
> TI_DM37xx does not currently have a working omapscm(4), which provides
> omap_devid().  Avoid using omap_devid() until correctly fixed.

Why not attach omapscm?
My Overo EarthSTORM(AM3703) is working with omapscm.  The OVERO supports
OMAP 3503, 3530, DM3730 and AM3703.

Thanks,
--
kiyohara


Re: CVS commit: src/sys/arch/arm/omap

2010-09-05 Thread KIYOHARA Takashi
Hi! Adam,


From: Adam Hoka ah...@netbsd.org
Date: Sat, 4 Sep 2010 16:23:48 +

 Module Name:  src
 Committed By: ahoka
 Date: Sat Sep  4 16:23:48 UTC 2010
 
 Modified Files:
   src/sys/arch/arm/omap: omap2_gpmc.c omap2_gpmcvar.h
 
 Log Message:
 Add gpmc_register_read and gpmc_register_write to access registers
 mapped by the gpmc driver (eg.: GPMC_CONFIG, GPMC_STATUS).
 
 The driver should save the parent (gpmc) device's sc pointer
 to be able to use these functions.

I think that I should be able to access it with this function doesn't
have softc.
For instance, u-boot of my Overo doesn't set ethernet.  Therefore, I
operate GPMC_CONFIG7_4 in gxio.c for ethernet.

Thanks,
--
kiyohara


Re: CVS commit: src/sys/arch/arm/omap

2010-09-05 Thread Adam Hoka
On Sun, 05 Sep 2010 15:31:45 +0900 (JST)
KIYOHARA Takashi kiyoh...@kk.iij4u.or.jp wrote:

 Hi! Adam,
 
 
 From: Adam Hoka ah...@netbsd.org
 Date: Sat, 4 Sep 2010 16:23:48 +
 
  Module Name:src
  Committed By:   ahoka
  Date:   Sat Sep  4 16:23:48 UTC 2010
  
  Modified Files:
  src/sys/arch/arm/omap: omap2_gpmc.c omap2_gpmcvar.h
  
  Log Message:
  Add gpmc_register_read and gpmc_register_write to access registers
  mapped by the gpmc driver (eg.: GPMC_CONFIG, GPMC_STATUS).
  
  The driver should save the parent (gpmc) device's sc pointer
  to be able to use these functions.
 
 I think that I should be able to access it with this function doesn't
 have softc.
 For instance, u-boot of my Overo doesn't set ethernet.  Therefore, I
 operate GPMC_CONFIG7_4 in gxio.c for ethernet.

Why not in the ethernet driver?

-- 
NetBSD - Simplicity is prerequisite for reliability


Re: CVS commit: src/sys/arch/arm/omap

2010-09-01 Thread Adam Hoka
On Tue, 31 Aug 2010 19:03:55 +
Michael Lorenz macal...@netbsd.org wrote:

 Module Name:  src
 Committed By: macallan
 Date: Tue Aug 31 19:03:55 UTC 2010
 
 Added Files:
   src/sys/arch/arm/omap: omapfb.c omapfbreg.h
 
 Log Message:
 a simple console driver for the OMAP 3xxx on-chip video
 no acceleration so far and it will recycle whatever video mode the firmware
 set up

does it work with the s-video out?

-- 
NetBSD - Simplicity is prerequisite for reliability