Linux MIPS Architecture development
 help / color / mirror / Atom feed
* SMP8634 Linux boot
@ 2009-01-04 14:53 Andi
  2009-01-05  3:35 ` Mark Edson
  0 siblings, 1 reply; 3+ messages in thread
From: Andi @ 2009-01-04 14:53 UTC (permalink / raw)
  To: linux-mips

Hi List,

First of all, sorry for asking a slightly off topic question on that
list but it has something to do with MIPS and Linux though.
As I don't have a working zboot image, I am trying to load zboot or
yamon via JTAG to a SMP8634 board in order to boot Linux afterwards. I
followed the instructions described in smp8634-documentation and was
able to build a yamon and reboot image which successfully loads on a
plain smp8634. Unfortunately, this is not the case when building yamon
with XENV support or when trying to load a zboot image instead. On the
other hand I can't load Linux on a yamon without XENV support, yet.
After loading xboot which fails to load zboot now, do I have to
initialize the memory mapping or other registers prior loading any other
code like yamon or zboot? If so, which one?

Any help to load Linux is very appreciated.

Best regards,
	Andi

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

* RE:  SMP8634 Linux boot
  2009-01-04 14:53 SMP8634 Linux boot Andi
@ 2009-01-05  3:35 ` Mark Edson
  2009-01-05  3:35   ` Mark Edson
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Edson @ 2009-01-05  3:35 UTC (permalink / raw)
  To: Andi, linux-mips

We use MAJIC-LT boot loader.  Our steps on the MAJIC-LT host are:
	$ cd /opt/edtm/targets/sigma_vantage
	$ /opt/edtm/bin/monice -v4kec -d majic-lt:e -l    (monice should
report connected)
	MON> ew 0xa003fffc =3
	MON> ew 0xa003fffc =2
	MON> ew 0xa0030000 =0xE34111BA
	MON> ew 0xa003fffc =0xa4444
	MON> ew 0xa003fffc =0
	MON> ew 0xa006f000 = 0x60000
	MON> l yamon.elf
	MON> l reset.elf
	Mon> g 

And that gives us a YAMON> prompt on the serial console of the 8634.

From _that_ YAMON> prompt, we load the real xenv/zboot/yamon like this:

YAMON> load uu 0xb0100000   (send zboot2.bin.uu)
	<watch for returned load size>
YAMON> load uu 0xb0200000    (send zbimage-yamon.uu)
	<watch for returned load size>
YAMON> pflash write 0 0xb0100000 <size of zboot2.bin>
YAMON> pflash write 0x40000 0xb0200000 200704 <size of zbimage-yamon>

Then when you reboot w/o JTAG, it should give you a YAMON prompt on the
console.

Good luck...

Mark

-----Original Message-----
From: linux-mips-bounce@linux-mips.org
[mailto:linux-mips-bounce@linux-mips.org] On Behalf Of Andi
Sent: Sunday, January 04, 2009 6:54 AM
To: linux-mips@linux-mips.org
Subject: SMP8634 Linux boot

Hi List,

First of all, sorry for asking a slightly off topic question on that
list but it has something to do with MIPS and Linux though.
As I don't have a working zboot image, I am trying to load zboot or
yamon via JTAG to a SMP8634 board in order to boot Linux afterwards. I
followed the instructions described in smp8634-documentation and was
able to build a yamon and reboot image which successfully loads on a
plain smp8634. Unfortunately, this is not the case when building yamon
with XENV support or when trying to load a zboot image instead. On the
other hand I can't load Linux on a yamon without XENV support, yet.
After loading xboot which fails to load zboot now, do I have to
initialize the memory mapping or other registers prior loading any other
code like yamon or zboot? If so, which one?

Any help to load Linux is very appreciated.

Best regards,
	Andi

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

* RE:  SMP8634 Linux boot
  2009-01-05  3:35 ` Mark Edson
@ 2009-01-05  3:35   ` Mark Edson
  0 siblings, 0 replies; 3+ messages in thread
From: Mark Edson @ 2009-01-05  3:35 UTC (permalink / raw)
  To: Andi, linux-mips

We use MAJIC-LT boot loader.  Our steps on the MAJIC-LT host are:
	$ cd /opt/edtm/targets/sigma_vantage
	$ /opt/edtm/bin/monice -v4kec -d majic-lt:e -l    (monice should
report connected)
	MON> ew 0xa003fffc =3
	MON> ew 0xa003fffc =2
	MON> ew 0xa0030000 =0xE34111BA
	MON> ew 0xa003fffc =0xa4444
	MON> ew 0xa003fffc =0
	MON> ew 0xa006f000 = 0x60000
	MON> l yamon.elf
	MON> l reset.elf
	Mon> g 

And that gives us a YAMON> prompt on the serial console of the 8634.

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

end of thread, other threads:[~2009-01-05  3:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-04 14:53 SMP8634 Linux boot Andi
2009-01-05  3:35 ` Mark Edson
2009-01-05  3:35   ` Mark Edson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox