linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* rpx8260_defconfig problems
@ 2004-08-04 19:17 Jeff Angielski
  2004-08-04 19:56 ` Dan Malek
  2004-08-06 17:06 ` Jeff Angielski
  0 siblings, 2 replies; 4+ messages in thread
From: Jeff Angielski @ 2004-08-04 19:17 UTC (permalink / raw)
  To: LinuxPPC Embedded


Doing a bk pull on the latest linuxppc-2.4 says that as of July 2004,
support for the Embedded Planet EP8260 was working.  However, using the
default rpx8260_defconfig will not work on my board.

I get no output on my serial console.  When I look at the log_buf using
the BDI, the last message I see is "Warning: real time clock seems
stuck".

If I trace through the instructions using the BDI, I see the kernel in
the time related functions - timer_interrupt(), do_timer(),
update_process_times(), etc.  Not sure what that means yet but it's more
to chew on.

Incidentally, I went back and tried booting Linux with the PlanetCore
bootloader that came with the board.  It had the same problem so I am
hesitant to blame the problem on my version of u-boot.

So my questions are:

1) Does anybody else have the EP8260 working with their linux?

2) If so, which kernel are you using?  linuxppc-2.4?  Denx
linuxppc_2_4_devel?  kernel.org?

Thanks,
Jeff Angielski


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: rpx8260_defconfig problems
  2004-08-04 19:17 rpx8260_defconfig problems Jeff Angielski
@ 2004-08-04 19:56 ` Dan Malek
  2004-08-06 17:06 ` Jeff Angielski
  1 sibling, 0 replies; 4+ messages in thread
From: Dan Malek @ 2004-08-04 19:56 UTC (permalink / raw)
  To: Jeff Angielski; +Cc: LinuxPPC Embedded


On Aug 4, 2004, at 3:17 PM, Jeff Angielski wrote:

> I get no output on my serial console.  When I look at the log_buf using
> the BDI, the last message I see is "Warning: real time clock seems
> stuck".

Your boot rom isn't enabling the timebase in the HID0 register.
I think we used to do that in zImage bootloader, but then boot
roms got fixed and we removed it.

> 1) Does anybody else have the EP8260 working with their linux?

Yes.

> 2) If so, which kernel are you using?  linuxppc-2.4?

Yes.


	-- Dan


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: rpx8260_defconfig problems
  2004-08-04 19:17 rpx8260_defconfig problems Jeff Angielski
  2004-08-04 19:56 ` Dan Malek
@ 2004-08-06 17:06 ` Jeff Angielski
  2004-08-06 18:53   ` Dan Malek
  1 sibling, 1 reply; 4+ messages in thread
From: Jeff Angielski @ 2004-08-06 17:06 UTC (permalink / raw)
  To: LinuxPPC Embedded


On Wed, 2004-08-04 at 15:17, Jeff Angielski wrote:
> Doing a bk pull on the latest linuxppc-2.4 says that as of July 2004,
> support for the Embedded Planet EP8260 was working.  However, using the
> default rpx8260_defconfig will not work on my board.

I finally managed to get a booting linuxppc-2.4 kernel and some console
output.  Now onto getting a working rootfs...

For reference in case anybody tries this at home, the problems were:

1) arch/ppc/platforms/rpx8260.h defined it's own bd_info structure which
was not consistent with u-boot.  This caused the time settings to be
wrong, which in turn caused the decrementer to be set to zero... "That's
it man, game over man, game over, man!"

2) drivers/char/tty_io.c has a typo on the CPM2 support in
console_init() that prevents it from working with anything but 8xx
architectures

- #if defined(CONFIG_8xx) || defined(CONFIG_CONFIG_CPM2_UART)
+ #if defined(CONFIG_8xx) || defined(CONFIG_CPM2_UART)


Cheers,

Jeff Angielski
The PTR Group


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: rpx8260_defconfig problems
  2004-08-06 17:06 ` Jeff Angielski
@ 2004-08-06 18:53   ` Dan Malek
  0 siblings, 0 replies; 4+ messages in thread
From: Dan Malek @ 2004-08-06 18:53 UTC (permalink / raw)
  To: Jeff Angielski; +Cc: LinuxPPC Embedded


On Aug 6, 2004, at 1:06 PM, Jeff Angielski wrote:

> 1) arch/ppc/platforms/rpx8260.h defined it's own bd_info structure
> which
> was not consistent with u-boot.

Just realize the default configuration for this board uses the EP boot
rom.  Don't mess this up for the default build selection of zImage.

Thanks.


	-- Dan


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2004-08-06 18:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-04 19:17 rpx8260_defconfig problems Jeff Angielski
2004-08-04 19:56 ` Dan Malek
2004-08-06 17:06 ` Jeff Angielski
2004-08-06 18:53   ` Dan Malek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).