Re: [U-Boot] [PATCH] add new board pm9g45

2010-03-18 Thread Maxim Podbereznyi
Russian company MENTOREL released at91sam9G45 based SODIMM module a couple
of months ago. Module is named GEM45 and I guess it is more integrated as it
has the following features:

   - 128M DDR2 main memory
   - 64M DDR2 second memory for frame buffer or smt else
   - 128/256M NAND
   - 64/128M NOR (option)
   - 4/8M Dataflash (option)
   - Ethernet 10/100 Mbps
   - Globally unique MAC-address compliant with EUI-48™ and EUI-64™
   - many usual I/F: USB, LCD, SPI, I2C, AC97 etc




2010/3/16 Asen Dimov di...@ronetix.at

 Hello everyone,

 here is the new board PM9G45 from Ronetix GmbH,
 based on at91sam9g45 MCU. It has 128MB DDR2 SDRAM, 256MB NAND,
 could be with or without DataFlash.
 The board is made as SODIMM200 module.
 For more info www.ronatix.at or i...@ronetix.at.

 Regards,
 Asen

 Signed-off-by: Asen Dimov di...@ronetix.at
 ---
  MAKEALL|1 +
  Makefile   |4 +
  board/ronetix/pm9g45/Makefile  |   54 +++
  .../at91sam9m10g45ek = ronetix/pm9g45}/config.mk  |0
  board/ronetix/pm9g45/pm9g45.c  |  365
 
  include/configs/pm9g45.h   |  246 +
  6 files changed, 670 insertions(+), 0 deletions(-)
  create mode 100644 board/ronetix/pm9g45/Makefile
  copy board/{atmel/at91sam9m10g45ek = ronetix/pm9g45}/config.mk (100%)
  create mode 100644 board/ronetix/pm9g45/pm9g45.c
  create mode 100644 include/configs/pm9g45.h

 diff --git a/MAKEALL b/MAKEALL
 index beacb5f..ad591d5 100755
 --- a/MAKEALL
 +++ b/MAKEALL
 @@ -673,6 +673,7 @@ LIST_at91= \
otc570  \
pm9261  \
pm9263  \
 +   pm9g45  \
SBC35_A9G20 \
TNY_A9260   \
TNY_A9G20   \
 diff --git a/Makefile b/Makefile
 index d801e25..438580a 100644
 --- a/Makefile
 +++ b/Makefile
 @@ -2882,6 +2882,10 @@ otc570_config:   unconfig
  pm9263_config  :   unconfig
@$(MKCONFIG) $(@:_config=) arm arm926ejs pm9263 ronetix at91

 +pm9g45_config  :   unconfig
 +   @mkdir -p $(obj)include
 +   @$(MKCONFIG) -a pm9g45 arm arm926ejs pm9g45 ronetix at91
 +
  SBC35_A9G20_NANDFLASH_config \
  SBC35_A9G20_EEPROM_config \
  SBC35_A9G20_config :   unconfig
 diff --git a/board/ronetix/pm9g45/Makefile b/board/ronetix/pm9g45/Makefile
 new file mode 100644
 index 000..dd5b02e
 --- /dev/null
 +++ b/board/ronetix/pm9g45/Makefile
 @@ -0,0 +1,54 @@
 +#
 +# (C) Copyright 2003-2008
 +# Wolfgang Denk, DENX Software Engineering, w...@denx.de.
 +#
 +# (C) Copyright 2008
 +# Stelian Pop stelian@leadtechdesign.com
 +# Lead Tech Design www.leadtechdesign.com
 +#
 +# See file CREDITS for list of people who contributed to this
 +# project.
 +#
 +# This program is free software; you can redistribute it and/or
 +# modify it under the terms of the GNU General Public License as
 +# published by the Free Software Foundation; either version 2 of
 +# the License, or (at your option) any later version.
 +#
 +# This program is distributed in the hope that it will be useful,
 +# but WITHOUT ANY WARRANTY; without even the implied warranty of
 +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 +# GNU General Public License for more details.
 +#
 +# You should have received a copy of the GNU General Public License
 +# along with this program; if not, write to the Free Software
 +# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 +# MA 02111-1307 USA
 +#
 +
 +include $(TOPDIR)/config.mk
 +
 +LIB= $(obj)lib$(BOARD).a
 +
 +COBJS-y += pm9g45.o
 +
 +SRCS   := $(SOBJS:.o=.S) $(COBJS-y:.o=.c)
 +OBJS   := $(addprefix $(obj),$(COBJS-y))
 +SOBJS  := $(addprefix $(obj),$(SOBJS))
 +
 +$(LIB):$(obj).depend $(OBJS) $(SOBJS)
 +   $(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
 +
 +clean:
 +   rm -f $(SOBJS) $(OBJS)
 +
 +distclean: clean
 +   rm -f $(LIB) core *.bak $(obj).depend
 +
 +#
 +
 +# defines $(obj).depend target
 +include $(SRCTREE)/rules.mk
 +
 +sinclude $(obj).depend
 +
 +#
 diff --git a/board/atmel/at91sam9m10g45ek/config.mkb/board/ronetix/pm9g45/
 config.mk
 similarity index 100%
 copy from board/atmel/at91sam9m10g45ek/config.mk
 copy to board/ronetix/pm9g45/config.mk
 diff --git a/board/ronetix/pm9g45/pm9g45.c b/board/ronetix/pm9g45/pm9g45.c
 new file mode 100644
 index 000..d11f40f
 --- /dev/null
 +++ b/board/ronetix/pm9g45/pm9g45.c
 @@ -0,0 +1,365 @@
 +/*
 + * (C) Copyright 2005-2010
 + * Ilko Iliev il...@ronetix.at
 + * Asen Dimov di...@ronetix.at
 + * Ronetix GmbH www.ronetix.at
 + *
 + * (C) Copyright 2007-2008
 + * Stelian Pop stelian@leadtechdesign.com
 + * Lead Tech Design www.leadtechdesign.com
 + *
 + * See file CREDITS 

Re: [U-Boot] AT91RM9200 boots from NOR Flash or not

2010-02-19 Thread Maxim Podbereznyi
Did you pull BMS pin to GND? Do you mean DBGU pins by debug port?

2010/2/19 Nikumbh, Raj (IE10) raj.niku...@honeywell.com



 I want to use the u-boot-1.3.4 with the patch from AT91 for my custom
 board based on AT91RM9200 with 32MB SDRAM (MT48LC8M16A2) and 8MB flash
 (AT49BV6416-70TI). I am directly flashing the image to flash location at
 0x1000 (beginning of the flash). But I am not able to see anything
 on my debug port.



 I  want to know if I am doing something wrong.


 ___
 U-Boot mailing list
 U-Boot@lists.denx.de
 http://lists.denx.de/mailman/listinfo/u-boot


___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] AT91RM9200 boots from NOR Flash or not

2010-02-19 Thread Maxim Podbereznyi
OK, then can you explain what software do you flash? Does rm9200 u-boot
setup PLL? Because if it is not then you will never see anything at DBGU
pins. Another problem can be with your RC filters for PLL. Did you use the
same quartz as in the Atmel design? If not then you must calculate RC
filters and change them on your board.

BTW, if your SDRAM does not work then u-boot will never start :)

2010/2/19 Nikumbh, Raj (IE10) raj.niku...@honeywell.com

  Yeah I did pull it down at the startup. And I meant the same DBGU pins.



 *Regards*

 *Raj Nikumbh   *


   --

 *From:* Maxim Podbereznyi [mailto:lisar...@gmail.com]
 *Sent:* Friday, February 19, 2010 7:41 PM
 *To:* Nikumbh, Raj (IE10)
 *Cc:* u-boot@lists.denx.de
 *Subject:* Re: [U-Boot] AT91RM9200 boots from NOR Flash or not



 Did you pull BMS pin to GND? Do you mean DBGU pins by debug port?

 2010/2/19 Nikumbh, Raj (IE10) raj.niku...@honeywell.com



 I want to use the u-boot-1.3.4 with the patch from AT91 for my custom
 board based on AT91RM9200 with 32MB SDRAM (MT48LC8M16A2) and 8MB flash
 (AT49BV6416-70TI). I am directly flashing the image to flash location at
 0x1000 (beginning of the flash). But I am not able to see anything
 on my debug port.



 I  want to know if I am doing something wrong.


 ___
 U-Boot mailing list
 U-Boot@lists.denx.de
 http://lists.denx.de/mailman/listinfo/u-boot



___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] what's the uboot way to pass eth*addr to linux ?

2010-02-19 Thread Maxim Podbereznyi
Hi Philippe!

May be it is a little bit tricky but you can just read the u-boot
environment from you Linux driver and use the ethaddr variable. I did the
same for osk5912

2010/2/19 Philippe De Muyter p...@macqel.be

 Hello

 I have a problem : my (coldfire) linux kernel does not reuse the mac
 addresses known by u-boot as ethaddr and eth1addr.

 I have read doc/README.enetaddr, that states :

struct bd_info [...]
are temporary copies of the MAC address only for the
purpose of passing this information to an OS kernel we are about
to boot.

 but I see no field in bd_info that could be set before booting linux.

 I thought that the address of the environment zone could be given
 to linux, but I do not see where either.

 So what's the recommended/supported way to inform the kernel of the mac
 addresses of all the ethernet interfaces ?

 Philippe
 ___
 U-Boot mailing list
 U-Boot@lists.denx.de
 http://lists.denx.de/mailman/listinfo/u-boot

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] SMSC LAN8720 support

2010-02-09 Thread Maxim Podbereznyi
Hi Ben!

I've made LAN8720 work with AT91SAM9G45 MPU. The problem was in a wrong
address assigning during the PHY reset. The PHY has internal pull-down on
the PHYAD0 line but the init code for AT91 turns off processor's pull-up
during PHY reset only for a few lines and they are not PHYAD0. So I disabled
also the processor's pull-up to the right line and the PHY got alive. I've
tested tftp - works perfect!

Thank you for the help!

2010/2/8 Ben Warren biggerbadder...@gmail.com

 Hi Maxim,

 On 2/7/2010 1:32 PM, Maxim Podbereznyi wrote:

 Hi all!

 I need enable the support of the new SMSC Ethernet PHY LAN8720 in
 AT91SAM based system. Can anybody give me a piece of advice how I can
 do it?



  I don't have any direct experience with either this PHY or AT91SAM, but a
 cursory glance of the PHY datasheet makes it seem that there's nothing
 special here, so it might just work without modification.  Do you have a
 working reference board that has a different PHY that this can be compared
 to?

 Any help is appreciated!

 Regards,
 Max
 _


 regards,
 Ben

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] SMSC LAN8720 support

2010-02-07 Thread Maxim Podbereznyi
Hi all!

I need enable the support of the new SMSC Ethernet PHY LAN8720 in
AT91SAM based system. Can anybody give me a piece of advice how I can
do it?

Any help is appreciated!

Regards,
Max
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot