MPC8540 BSP: can not start QNX

I’m starting an evaluation of PowerPC MPC8540 and experimenting
problems in starting QNX.

Here is my setup:

  • Metrowerks evaluation board PCI-8501 (with MPC8540 processor)
  • QNX 6.3.0
  • mpc85xads binary BSP

Here is the problem:
The metrowerks comes with the U-boot boot loader, which is claimed to
be able to boot QNX.
I generated an OS image in Momentics.
I can download this image into RAM via TFTP.
Whenever I try to start QNX the system reboots or
freezes.

For tftp download make sure that the image is raw and not srec.
You should be downloading the image to addr 0x100000, also provide this
address with the go command.

Regards,

Joe

bilouteQNX <armand.ciejak@studer-dot-ch.no-spam.invalid> wrote in message
news:ctthkl$7rj$1@inn.qnx.com

I’m starting an evaluation of PowerPC MPC8540 and experimenting
problems in starting QNX.

Here is my setup:

  • Metrowerks evaluation board PCI-8501 (with MPC8540 processor)
  • QNX 6.3.0
  • mpc85xads binary BSP

Here is the problem:
The metrowerks comes with the U-boot boot loader, which is claimed to
be able to boot QNX.
I generated an OS image in Momentics.
I can download this image into RAM via TFTP.
Whenever I try to start QNX the system reboots or
freezes.

Here is the console ouptut from startup to freeze!

Motorola PowerPC
ProcessorID=00000000 Rev.
Board: Motorola MPC8540ADS Board
CPU: 660 MHz
CCB: 264 MHz
DDR: 132 MHz
LBC: 66 MHz
L1 D-cache 32KB, L1 I-cache 32KB enabled.
I2C: ready
DRAM: DDR module detected, total size:256
256 MB
FLASH: 8 MB
L2 cache enabled: 256KB
In: serial
Out: serial
Err: serial
Net: MOTO ETHERNET
Hit any key to stop autoboot: 0
Metrowerks=> tftpboot 0x100000
Enet starting in Full Duplex
Enet starting in 1000BT
TFTP from server 192.168.1.1; our IP addre
Filename ‘85x0ads.8540.ifs’.
Load address: 0x100000
Loading: packetHandler changed.
##########################################
#################################
#################################
#################################
#################################
###############################
done

done
Bytes transferred = 1820160 (1bc600 hex)
Metrowerks=> go 0x100000

Starting application at 0x00100000 …



Everything seems to be ok until I try to start QNX. I’m currently
looking at the serial port configuration in the boot script file:
[color=blue:0f1e880618]#######################################################################

SERIAL driver

For pre-1.1.2 U-BOOT ROM Monitors, change 0xe0004500 to

0xfdf04500.

330000000 corresponds to the CCB clock frequency, which may change

depending upon board dip switch settings.

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

devc-ser8250 -e -c330000000 -b115200 0xe0004500,26

devc-ser8250 -e -c264000000 -b115200 0xfdf04500,26
waitfor /dev/ser1
reopen /dev/ser1
[/color:0f1e880618][/size:0f1e880618]

Joe Mammonewrote:
For tftp download make sure that the image is raw and not srec.
You should be downloading the image to addr 0x100000, also provide
this
address with the go command.

Regards,

Joe
:frowning: > > :frowning: > > :frowning:

What version of the BSP are you using?

Is the CCSRBAR in the correct location (try specifying the “-c” option
to startup)? (This changed from 0xFDF00000 to 0xE00000000 in the newest
release of the BSP given the change in the default memory map for U-BOOT).


Robert Craig.

bilouteQNX wrote:

Here is the console ouptut from startup to freeze!

Motorola PowerPC
ProcessorID=00000000 Rev.
Board: Motorola MPC8540ADS Board
CPU: 660 MHz
CCB: 264 MHz
DDR: 132 MHz
LBC: 66 MHz
L1 D-cache 32KB, L1 I-cache 32KB enabled.
I2C: ready
DRAM: DDR module detected, total size:256
256 MB
FLASH: 8 MB
L2 cache enabled: 256KB
In: serial
Out: serial
Err: serial
Net: MOTO ETHERNET
Hit any key to stop autoboot: 0
Metrowerks=> tftpboot 0x100000
Enet starting in Full Duplex
Enet starting in 1000BT
TFTP from server 192.168.1.1; our IP addre
Filename ‘85x0ads.8540.ifs’.
Load address: 0x100000
Loading: packetHandler changed.
##########################################
#################################
#################################
#################################
#################################
###############################
done

done
Bytes transferred = 1820160 (1bc600 hex)
Metrowerks=> go 0x100000

Starting application at 0x00100000 …



Everything seems to be ok until I try to start QNX. I’m currently
looking at the serial port configuration in the boot script file:
[color=blue:0f1e880618]#######################################################################

SERIAL driver

For pre-1.1.2 U-BOOT ROM Monitors, change 0xe0004500 to

0xfdf04500.

330000000 corresponds to the CCB clock frequency, which may change

depending upon board dip switch settings.

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

devc-ser8250 -e -c330000000 -b115200 0xe0004500,26

devc-ser8250 -e -c264000000 -b115200 0xfdf04500,26
waitfor /dev/ser1
reopen /dev/ser1
[/color:0f1e880618][/size:0f1e880618]


Joe Mammonewrote:

For tftp download make sure that the image is raw and not srec.

You should be downloading the image to addr 0x100000, also provide

this

address with the go command.

Regards,

Joe
:frowning: > > :frowning: > > :frowning: