Unable to boot Linux 2.4.24 on a custom board similar to 8260ADS
Stan Partridge
SPartridge at CTDI.COM
Wed Apr 21 02:58:23 EST 2004
I have worked for sometime now with Motorola processors and other RTOS
however I am a newbie to Linux as an embedded OS. I am attempting to port
ELDK 3.0 (Linux 2.4.24) to our board that somewhat resembles the 8260ADS. I
found u-boot to easy to use and understand.
To get u-boot to work with my board I defined the pin outs in file:
board/mpc8260/mpc8260ads.c
and I setup the physical memory base addresses in the file:
include/configs/MPC8260ADS.h
My board's memory map is different from the standard 8260ADS board. For
u-boot to work on my board I redefined the following found in the header
include/configs/MPC8260ADS.h:
#define CFG_FLASH_BASE 0xFC000000
#define CFG_DEFAULT_IMMR 0xFA200000
#define CFG_IMMR 0xFA200000
#define CFG_BCSR 0xFA100000
#define CFG_SDRAM_BASE 0x00000000
#define CFG_LSDRAM_BASE 0xFB000000
#define CFG_BR0_PRELIM CFG_FLASH_BASE | 0x00000801 /* ID DiskOnChip
*/
#define CFG_OR0_PRELIM 0xFF800836
#define CFG_BR1_PRELIM CFG_BCSR | 0x00000801 /* ID DiskOnChip
*/
#define CFG_OR1_PRELIM 0xFF800836
My question is how do I make the above corresponding changes above to Linux?
When I attempt to boot linux it appears to hang in the function
__delay in entry.S
The contents of the LOG_BUF are as follows:
=> md 1c0094
<6>Memory BAT mapping: BAT2=128Mb, BAT3=0Mb, residual: 0Mb.
<4>Linux version 2.4.24-pre2 (stan at Imas1Linux) (gcc version 3.2.2 20030217
(Yel low Dog Linux 3.0 3.2.2-2a_1)) #1 Mon Apr 19 15:10:51 EDT 2004.
<4>Attempting to use unrecognized host bridge ID 0x54545454..
<4>On node 0 totalpages: 32768.
<4>zone(0): 32768 pages..
<4>zone(1): 0 pages..
In addition, I have attached my kernel .config file.
Any suggestions on how I should proceed?
Thanks in advance,
-Stan Partridge
Some details
------------------------
-Boot 1.0.2 (Apr 13 2004 - 13:50:02)
MPC8260 Reset Status: External Soft, External Hard
MPC8260 Clock Configuration
- Bus-to-Core Mult 2x, VCO Div 2, 60x Bus Freq 50-150, Core Freq 100-300
- dfbrg 1, corecnf 0x04, busdf 3, cpmdf 1, plldf 0, pllmf 1
- vco_out 264000000, scc_clk 66000000, brg_clk 16500000
- cpu_clk 132000000, cpm_clk 132000000, bus_clk 66000000
CPU: MPC8260 (HiP3 Rev 01, Mask B.3 3K23A) at 132 MHz
Board: Motorola MPC8260ADS
I2C: ready
DRAM: 128 MB
DOC: DiskOnChip Millennium @ 0xFC000000, 32 MB
Net: FCC3 ETHERNET
<<ads8260.config>>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ads8260.config
Type: application/octet-stream
Size: 14016 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20040420/3934eb5f/attachment.obj
More information about the Linuxppc-embedded
mailing list