rpx8260_defconfig problems

4 messages, 2 authors, 2004-08-06 · open the first message on its own page

rpx8260_defconfig problems

From: Jeff Angielski <hidden>
Date: 2004-08-04 19:17:06

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/

Re: rpx8260_defconfig problems

From: Dan Malek <hidden>
Date: 2004-08-04 19:56:03

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/

Re: rpx8260_defconfig problems

From: Jeff Angielski <hidden>
Date: 2004-08-06 17:06:21

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/

Re: rpx8260_defconfig problems

From: Dan Malek <hidden>
Date: 2004-08-06 18:53:19

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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help