All of lore.kernel.org
 help / color / mirror / Atom feed
* OMAP3530 bring-up (and installation of Angstrom)
@ 2009-06-25 17:50 Sergey Lapin
  2009-06-25 18:28 ` Denys Dmytriyenko
  2009-06-25 20:29 ` Eric BENARD
  0 siblings, 2 replies; 5+ messages in thread
From: Sergey Lapin @ 2009-06-25 17:50 UTC (permalink / raw)
  To: openembedded-devel,
	Discussion of the angstrom distribution development

Hi, all!

I have a new OMAP3530-based board which is totally empty.
omapzoom tools recognize ASIC ID on serial port, so I think it should
be possible
to bring it up this way. Do anybody have some minimal testing program
to flip some GPIO,
or character on serial?
I can't get any output from x-loader on either UART1 or UART3.. How
should I build binary for
it to be recognized by boot loader over serial?
No JTAG is here for this processor, and I have some troubles with
understanding of
Windows tools.

All the best,
S.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: OMAP3530 bring-up (and installation of Angstrom)
  2009-06-25 17:50 OMAP3530 bring-up (and installation of Angstrom) Sergey Lapin
@ 2009-06-25 18:28 ` Denys Dmytriyenko
  2009-06-25 19:41   ` [Angstrom-devel] " Sergey Lapin
  2009-06-25 20:29 ` Eric BENARD
  1 sibling, 1 reply; 5+ messages in thread
From: Denys Dmytriyenko @ 2009-06-25 18:28 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Discussion of the angstrom distribution development

[-- Attachment #1: Type: text/plain, Size: 1416 bytes --]

On Thu, Jun 25, 2009 at 09:50:41PM +0400, Sergey Lapin wrote:
> Hi, all!
> 
> I have a new OMAP3530-based board which is totally empty.
> omapzoom tools recognize ASIC ID on serial port, so I think it should
> be possible
> to bring it up this way. Do anybody have some minimal testing program
> to flip some GPIO,
> or character on serial?
> I can't get any output from x-loader on either UART1 or UART3.. How
> should I build binary for
> it to be recognized by boot loader over serial?
> No JTAG is here for this processor, and I have some troubles with
> understanding of
> Windows tools.

Does your board have any buttons or DIP-switches to select boot order? You may 
need to select the serial boot in order for the BootROM to send a handshake 
sequence on the UART3. The handshake on the therminal looks like several 
characters of garbage, starting with '40T'. The boot order is selected by a 
DIP-switch on OMAP3EVM and by a "User" button on BeagleBoard.

Then you need to use one of the available peripheral loaders to load a small 
version of U-boot over UART or USB into OMAP's SRAM and from there you can 
flash a final versions of x-load and U-boot into NAND. There are HOWTO's 
available, for example, here is one for BeagleBoard:
http://elinux.org/BeagleBoardRecovery

There should be a similar one for OMAP3EVM, but I currently cannot seem to 
find it...

-- 
Denys

[-- Attachment #2: Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Angstrom-devel] OMAP3530 bring-up (and installation of Angstrom)
  2009-06-25 18:28 ` Denys Dmytriyenko
@ 2009-06-25 19:41   ` Sergey Lapin
  2009-06-25 20:04     ` Denys Dmytriyenko
  0 siblings, 1 reply; 5+ messages in thread
From: Sergey Lapin @ 2009-06-25 19:41 UTC (permalink / raw)
  To: Discussion of the angstrom distribution development; +Cc: openembedded-devel

On Thu, Jun 25, 2009 at 10:28 PM, Denys Dmytriyenko<denis@denix.org> wrote:
> On Thu, Jun 25, 2009 at 09:50:41PM +0400, Sergey Lapin wrote:
>> Hi, all!
>>
>> I have a new OMAP3530-based board which is totally empty.
>> omapzoom tools recognize ASIC ID on serial port, so I think it should
>> be possible
>> to bring it up this way. Do anybody have some minimal testing program
>> to flip some GPIO,
>> or character on serial?
>> I can't get any output from x-loader on either UART1 or UART3.. How
>> should I build binary for
>> it to be recognized by boot loader over serial?
>> No JTAG is here for this processor, and I have some troubles with
>> understanding of
>> Windows tools.
>
> Does your board have any buttons or DIP-switches to select boot order? You may
> need to select the serial boot in order for the BootROM to send a handshake
> sequence on the UART3. The handshake on the therminal looks like several
> characters of garbage, starting with '40T'. The boot order is selected by a
> DIP-switch on OMAP3EVM and by a "User" button on BeagleBoard.
I probably skipped some details on last email, sorry. I see ASIC ID
pattern (some garbage containing 40T).
I use pserial from omapzoom and try to upload self-built x-loader
binary, it reports success,
but I see no output on either of serial ports. No error messages,
nothing at all. That's why I'm interested in
minimal test program to use oscilloscope on some pins. I see that GPIO
configuration on OMAP3 is a lot
more complex than on AT91 and PXA, so I look for samples to check what
debugging could be inserted into
x-loader to look what happens. Also, a question remains - is it needed
for binary to be signed
befor uploading to serial, or not?

Thanks a lot,
S.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Angstrom-devel] OMAP3530 bring-up (and installation of Angstrom)
  2009-06-25 19:41   ` [Angstrom-devel] " Sergey Lapin
@ 2009-06-25 20:04     ` Denys Dmytriyenko
  0 siblings, 0 replies; 5+ messages in thread
From: Denys Dmytriyenko @ 2009-06-25 20:04 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Discussion of the angstrom distribution development

[-- Attachment #1: Type: text/plain, Size: 2201 bytes --]

On Thu, Jun 25, 2009 at 11:41:03PM +0400, Sergey Lapin wrote:
> On Thu, Jun 25, 2009 at 10:28 PM, Denys Dmytriyenko<denis@denix.org> wrote:
> > On Thu, Jun 25, 2009 at 09:50:41PM +0400, Sergey Lapin wrote:
> >> Hi, all!
> >>
> >> I have a new OMAP3530-based board which is totally empty.
> >> omapzoom tools recognize ASIC ID on serial port, so I think it should
> >> be possible
> >> to bring it up this way. Do anybody have some minimal testing program
> >> to flip some GPIO,
> >> or character on serial?
> >> I can't get any output from x-loader on either UART1 or UART3.. How
> >> should I build binary for
> >> it to be recognized by boot loader over serial?
> >> No JTAG is here for this processor, and I have some troubles with
> >> understanding of
> >> Windows tools.
> >
> > Does your board have any buttons or DIP-switches to select boot order? You may
> > need to select the serial boot in order for the BootROM to send a handshake
> > sequence on the UART3. The handshake on the therminal looks like several
> > characters of garbage, starting with '40T'. The boot order is selected by a
> > DIP-switch on OMAP3EVM and by a "User" button on BeagleBoard.
> I probably skipped some details on last email, sorry. I see ASIC ID
> pattern (some garbage containing 40T).
> I use pserial from omapzoom and try to upload self-built x-loader
> binary, it reports success,
> but I see no output on either of serial ports. No error messages,
> nothing at all. That's why I'm interested in
> minimal test program to use oscilloscope on some pins. I see that GPIO
> configuration on OMAP3 is a lot
> more complex than on AT91 and PXA, so I look for samples to check what
> debugging could be inserted into
> x-loader to look what happens. Also, a question remains - is it needed
> for binary to be signed
> befor uploading to serial, or not?

Yes, x-load/MLO need to be "signed". OMAP35x "signing" is just adding a 
header, see signGP tool:
http://beagleboard.googlecode.com/files/signGP.c

It's not that simple for OMAP34x, though...

Check the x-load build/sign procedures here:
http://code.google.com/p/beagleboard/wiki/BeagleSoftCompile

-- 
Denys

[-- Attachment #2: Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: OMAP3530 bring-up (and installation of Angstrom)
  2009-06-25 17:50 OMAP3530 bring-up (and installation of Angstrom) Sergey Lapin
  2009-06-25 18:28 ` Denys Dmytriyenko
@ 2009-06-25 20:29 ` Eric BENARD
  1 sibling, 0 replies; 5+ messages in thread
From: Eric BENARD @ 2009-06-25 20:29 UTC (permalink / raw)
  To: openembedded-devel, slapinid

Hi Sergey,

Sergey Lapin a écrit :
> I have a new OMAP3530-based board which is totally empty.
> omapzoom tools recognize ASIC ID on serial port, so I think it should
> be possible
> to bring it up this way. Do anybody have some minimal testing program
> to flip some GPIO,
> or character on serial?

if you have a SDCard connector and can select it as a boot device using 
the BOOTx signals of the OMAP3530, just try to boot it this way.
I recently bring up a OMAP3530 board using the SDCard and beagleboard's 
x-load/u-boot & kernel as a basis with a few changes (8 bits NAND width 
in my case for example).
You can try directly with the BeagleBoard's binaries, it should give you 
some log :
http://elinux.org/BeagleBoard#MMC.2FSD_boot

Eric



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-06-25 20:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-25 17:50 OMAP3530 bring-up (and installation of Angstrom) Sergey Lapin
2009-06-25 18:28 ` Denys Dmytriyenko
2009-06-25 19:41   ` [Angstrom-devel] " Sergey Lapin
2009-06-25 20:04     ` Denys Dmytriyenko
2009-06-25 20:29 ` Eric BENARD

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.