Flash start error with Sandpoint 8245

bridged with qdn.public.qnxrtp.powerpc
Post Reply
Alex Ivchenko

Flash start error with Sandpoint 8245

Post by Alex Ivchenko » Fri Mar 01, 2002 12:43 am

Dear All,

I tried to get QNX execute from PMC Flash on Sandpoint X3 with Unity X4 MPC8245.

I wrote a small build script (thanks, Mike) and built OS image.
When OS image is built for RAM, then with "go 1f1c48" it starts correctly,
finds IDE, NIC, etc.

When I built it for Flash, and program Sandpoint, it starts but hangs after
the first "Rolling" (on devc-ser8250 ...)

So far I have no clue why this can happen...

Flash code is compiled for FFF00000
I do:
dl -k -o 200000 (FFF00000+200000=100000)
fu -l 100000 ff000000 100000

Then I switch SW2[1] to boot from local Flash.


Regards,
Alex


###########################################################################
#
# Neutrino on the Sandpoint Motorola SPS evaluation platform
#
###########################################################################
#
# Interrupt Assignments
# ---------------------
# PMC 107/EPIC interrupts
#
# vector: 0
# trigger: level
# device: PMC2 interrupt (slot 3 INTA, cascade from winbond)
#
# vector: 1
# trigger: level
# device: PMC3
#
# vector: 2
# trigger: level
# device: PMC0
#
# vector: 3
# trigger: level
# device: PMC1
#
#
# 8259 PIB interrupts
#
# vector: 100
# trigger: rising edge
# device: 8254 timer 1 counter 0
#
# vector: 101
# trigger: rising edge
# device: PS/2 Keyboard
#
# vector: 102
# trigger: rising edge
# device: Cascade from 8259 controller 2
#
# vector: 103
# trigger: rising edge
# device: Serial port 2
#
# vector: 104
# trigger: rising edge
# device: Serial port 1
#
# vector: 105
# trigger: high level
# device:
#
# vector: 106
# trigger: rising edge
# device: Floppy disk controller
#
# vector: 107
# trigger: rising edge
# device: Parallel port
#
# vector: 108
# trigger: falling edge
# device: N/U
#
# vector: 109
# trigger: high level
# device: N/U
#
# vector: 110
# trigger: low level
# device: N/U
#
# vector: 111
# trigger: rising edge
# device: N/U
#
# vector: 112
# trigger: rising edge
# device: PS/2 Mouse
#
# vector: 113
# trigger: rising edge
# device: unused
#
# vector: 114
# trigger: low level
# device: EIDE primary
#
# vector: 115
# trigger: low level
# device: EIDE secondary
#
#
# Timer interrupt
#
# vector: 0x80000000 (PPC800_INTR_DECREMENTER)
# trigger: N/A
# device: PPC decrementer interrupt (system timer)
#
###########################################################################
#
# On-board devices
# ----------------
#
# device: MPC107
# pci: pci-sandpoint
#
###########################################################################
# startup from flash
[image=0x10000]
[virtual=ppcbe,binary +compress] .bootstrap = {
startup-sandpoint -vvv -D8250
PATH=/proc/boot procnto-600 -vv
}

# startup from memory
#[image=0x1f0000]
#[virtual=ppcbe/srec] .bootstrap = {
#[virtual=ppcbe,binary] .bootstrap = {
# startup-sandpoint -vvv -D8250..57600
#PATH=/proc/boot procnto-600
#}

[+script] .script = {
display_msg Rolling
devc-ser8250 -e -c1846200 -b56700 0xfe0003f8,104 0xfe0002f8,103 &
reopen
display_msg Neutrino/Sandpoint with CompactFlash

# These env variables inherited by all the programs which follow
SYSNAME=nto
TERM=qansi
PATH=/proc/boot

# start the pipe manager
pipe &
waitfor /dev/pipe

# open the serial ports
reopen /dev/ser2
[+session pri=30] PATH=/bin:/proc/boot esh &
reopen /dev/ser1
[+session] PATH=/bin:/proc/boot esh &

# start the pci bus
pci-sandpoint &
waitfor /dev/pci


# Start the Enet Drivers
#
#start the ethernet card driver for the natsemi
#io-net -dns83815 -pttcpip if=en0:192.168.0.38
#waitfor /dev/socket
#

# Start the hard drive drivers
#
# start the primary IDE controller
devb-eide eide ioport=0xfe0001f0,irq=114 blk automount=/dev/hd0t6:/hd &
waitfor /hd 15

# Run my script to set up DD environment
#rundd
}

[type=link] /dev/console=/dev/ser1
[type=link] /usr/lib/ldqnx.so.2=/proc/boot/libc.so
[type=link] /tmp=/dev/shmem
[type=link] /bin/sh=/proc/boot/ksh
#[type=link] /bin/rundna=/alexx/pdna/rundna

# Shared Object Includes
# General Includes
# include the following shared objects
# c library
libc.so
libsocket.so

# Ethernet
# include the tiny tcpip stack
#npm-ttcpip.so

# shard object for the network card
#devn-ns83815.so


# HardDrive
libcam.so
# block io support (automount cmd in the devb-eide)
io-blk.so
# Common Access Method for hard disks
cam-disk.so

# include the dos fs
#fs-dos.so
# include the qnx fs
fs-qnx4.so
#

# include the following runnable commands
[data=c]
devc-ser8250
devb-eide
#io-net
pci-sandpoint
pci
esh
less
ls
mount
ping
pidin
grep
pipe
fdisk
dinit
dcheck
dd
#rundd

Post Reply

Return to “qdn.public.qnxrtp.powerpc”