Skip to contentSkip to conversation

Booting MPC8266ads kernel

U-Boot-Users Currie Reid 1 participant 1 message Jun 30, 2003 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Hello,

I am trying to find anyone who has had success in using u-boot to boot an MPC8266ads kernel to give me a pointer or 2 in the right direction. I have rsync'd the latest 2.4 development kernel from penguinppc.org as it contains the appropriate drivers etc. for the board and have u-boot running on the board now. However, when I tftp the kernel to the board and try to bootm, I get:

Uncompressing Kernel Image ... OK

and then no progress from there. Looking through the users list and the README file, I noticed that the the bd_info has to be the same between u-boot.h and the kernel's appropriate header file; there is also some recommendations with regards to the "clocks_in_mhz" option and the synchronization of IMAP_ADDR and CFG_IMMR. I have also built the kernel by hand using the system detailed in the u-boot README file, with the objcopy;gzip -9; mkimage, all to no avail. If anyone has any insight in this regard, I would very much appreciate it.

Thanks in advance,

Currie Reid

.........................................................................

U-Boot 0.3.0 (Jun 15 2003 - 18:36:34)

MPC8260 Reset Status: Check Stop, External Soft, External Hard

MPC8260 Clock Configuration
- Bus-to-Core Mult 3x, VCO Div 2, 60x Bus Freq 33-100, Core Freq 100-300
- dfbrg 0, corecnf 0x08, busdf 3, cpmdf 1, plldf 0, pllmf 1

 - vco_out  266666664, scc_clk   66666666, brg_clk   66666666
 - cpu_clk  199999998, cpm_clk  133333332, bus_clk   66666666

CPU: MPC8260 (Rev 14, Mask unknown [immr=0x0062,k=0x002d]) at 199.999
MHz

Board: Motorola MPC8266ADS
I2C:   ready
DRAM:  SDRAM configuration read from SPD

Size per side = 16MB
Organization: 1 sides, 2 banks, 9 Columns, 11 Rows, Data width =
64 bits
Refresh rate = 16, CAS latency = 3
Total size: 16 MB

FLASH:  8 MB
In:    serial
Out:   serial
Err:   serial
Net:   FCC2 ETHERNET

=> tftp
ARP broadcast 1
TFTP from server 47.129.82.27; our IP address is 47.129.82.129 Filename '/tftpboot/uImage.MPC8266'.
Load address: 0x100000
Loading: #################################################################

         ################################################

done
Bytes transferred = 575660 (8c8ac hex)
=> printenv
bootdelay=5
serial#=MCP8266ADS-PCI 0210
ethaddr=4A:DC:16:9D:37:D8
baudrate=57600
hostname=pcary3h5
bootfile=/tftpboot/uImage.MPC8266 rootpath=/export/47.129.82.129
filesize=8c8b0
gatewayip=47.129.82.1
netmask=255.255.255.0
ipaddr=47.129.82.129
serverip=47.129.82.27
bootargs=root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off stdin=serial
stdout=serial
stderr=serial
clocks_in_mhz=1
=> bootm
## Booting image at 00100000 ...

   Image Name:   Linux 2.4.21 - MPC8266ads
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    575596 Bytes = 562.1 kB

Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK