[U-Boot-Users] 834x +serial +network

I'm porting U-boot to a mpc 8347 board, based on the mpc8349sys board.
Up until now, I haven't managed to get the serial communication up and running :-/.
As with the 8349EMDS board, we've kept IMMR_BAR to 0xe0000000. WM32 0xff400000 0xe0000000 ;MBAR to 0xe0000000
From the tests we've made, the BDI config seems to be fine (after some tweaking of the RCW and timings for Spansion GL128N flash). RCW 0x24600000 0x08230000
Since both the serial is not working; and neither is the networking for the time being; I assume I'm missing something obvious (both are offsets to IMMR_BAR).
The board seems to get pretty far in the bootloader (main_loop); but without serial, querying the values is difficult since ppc_82xx-gdb/bdi/config does not show the correct values (display/print) though stepping through the code seems correct.
If anyone has pointers what to look for, config registers, I'd appreciate them... I guess I must be looking over the problem.

From the tests we've made, the BDI config seems to be fine (after some tweaking of the RCW and timings for Spansion GL128N flash).
At least writing to the 0xe0004500 toggles the scope, so writing directly seems to work.
We had another look at some of the configuration of the mpc8349emds and adjusted them for our configuration; but even though we've removed some apparent problems and integrated flash support for Spanshion, still nothing.
As with my previous board, I've kept TEXT_BASE to 0xFFF00000 and the boot location at 0xfff00100.
Whe placing TEXT_BASE at 0xFF000000 (flash start, 16 MB); the bootloader starts but when placing it at 0xFFF00000, the bootloader hangs at initialing flash (mapping) in the assembler code.
I found a discussion about masking when merging the ADS and EMDS port and masking of the boot location; so I'll look in that direction: at first glance, judging by Kumar's mail; there seems to be a way to mask the boot address 0xFFF00100 to 0xFE000100; whithout the need of external BCSR; which is not on our board.
participants (1)
-
Marc Leeman