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

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 0x10000000 (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.

Dear "Nikumbh, Raj (IE10)",
In message 047570340A9B314187387ACC723459ACAE018E@IE10EV811.global.ds.honeywell.com you wrote:
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 0x10000000 (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.
We don't know your hardware or the changes you might have made to the code to adapt it for your hardware.
Also, U-Boot 1.3.4 is very old.
Please update to a current version (top of tree recommended) and try again.
Best regards,
Wolfgang Denk

On Fri, Feb 19, 2010 at 11:30 AM, Nikumbh, Raj (IE10) < Raj.Nikumbh@honeywell.com> wrote:
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 0x10000000 (beginning of the flash). But I am not able to see anything on my debug port.
Which debug port?

I am using JTAG port with SAM-ICE.
Regards
Raj Nikumbh
________________________________
From: Drasko DRASKOVIC [mailto:drasko.draskovic@gmail.com] Sent: Friday, February 19, 2010 5:41 PM To: Nikumbh, Raj (IE10) Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] AT91RM9200 boots from NOR Flash or not
On Fri, Feb 19, 2010 at 11:30 AM, Nikumbh, Raj (IE10) Raj.Nikumbh@honeywell.com wrote:
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 0x10000000 (beginning of the flash). But I am not able to see anything on my debug port.
Which debug port?

On Fri, Feb 19, 2010 at 1:16 PM, Nikumbh, Raj (IE10) < Raj.Nikumbh@honeywell.com> wrote:
I am using JTAG port with SAM-ICE.
Can't you stop your uC at reset addr and step to see if you go to _start or hit some exception? I guess you connect GDB to JTAG via monitor and disassemble what you have burned at 0x0 , then compare to startup.S of U-Boot? Also, check if your flashing went well by fumping flash image.

Did you pull BMS pin to GND? Do you mean DBGU pins by "debug port"?
2010/2/19 Nikumbh, Raj (IE10) Raj.Nikumbh@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 0x10000000 (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

Yeah I did pull it down at the startup. And I meant the same DBGU pins.
Regards
Raj Nikumbh
________________________________
From: Maxim Podbereznyi [mailto:lisarden@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.Nikumbh@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 0x10000000 (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

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.Nikumbh@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:lisarden@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.Nikumbh@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 0x10000000 (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

Hi,
Le 20/02/2010 08:25, Maxim Podbereznyi a écrit :
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.Nikumbh@honeywell.com
Yeah I did pull it down at the startup. And I meant the same DBGU pins.
the board support in board/eukrea/cpuat91 was working fine last time I tested it and this board is close to your configuration (AT91RM9200 + NOR Flash 16bits width) so maybe you can try it (you may just need to update SDRAM geometry and timings and SMC timings for your NOR flash).
Eric

Hi,
I have compiled u-boot-latest with ELDK 4.1 for AT91RM9200EK board (as I have kept the memory configurations and crystals similar to the board).I am getting something on the hyper terminal now. My hyperterminal configuration 115200-8-N-1 Given below is the snapshot as it comes.
U B-oo t02900. 8F(be2 20201- 1 :1041:)5
I2C: ready DRAM: !!BM
Please let me know if somebody faced a similar situation or any pointers to get out of this problem.
Regards Raj Nikumbh
-----Original Message----- From: Eric Bénard [mailto:eric@eukrea.com] Sent: Saturday, February 20, 2010 6:52 PM To: Nikumbh, Raj (IE10) Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] AT91RM9200 boots from NOR Flash or not
Hi,
Le 20/02/2010 08:25, Maxim Podbereznyi a écrit :
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.Nikumbh@honeywell.com
Yeah I did pull it down at the startup. And I meant the same DBGU pins.
the board support in board/eukrea/cpuat91 was working fine last time I tested it and this board is close to your configuration (AT91RM9200 + NOR Flash 16bits width) so maybe you can try it (you may just need to update SDRAM geometry and timings and SMC timings for your NOR flash).
Eric
participants (5)
-
Drasko DRASKOVIC
-
Eric Bénard
-
Maxim Podbereznyi
-
Nikumbh, Raj (IE10)
-
Wolfgang Denk