rpx8260_defconfig problems
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/
Quoted 3 lines · Jeff Angielski
I get no output on my serial console. When I look at the
log_bufusing 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.
Quoted 1 line
1) Does anybody else have the EP8260 working with their linux?
Yes.
Quoted 1 line
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/
Quoted 3 lines · Jeff Angielski
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_defconfigwill 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/
Quoted 3 lines · Jeff Angielski
1)
arch/ppc/platforms/rpx8260.hdefined it's ownbd_infostructure 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/