Boot sector
This commit is contained in:
BIN
boot/bin/bootinfo
Normal file
BIN
boot/bin/bootinfo
Normal file
Binary file not shown.
BIN
boot/bin/devb-sdmmc-omap5evm
Normal file
BIN
boot/bin/devb-sdmmc-omap5evm
Normal file
Binary file not shown.
BIN
boot/bin/devc-seromap
Normal file
BIN
boot/bin/devc-seromap
Normal file
Binary file not shown.
BIN
boot/bin/dumper
Normal file
BIN
boot/bin/dumper
Normal file
Binary file not shown.
BIN
boot/bin/gs
Normal file
BIN
boot/bin/gs
Normal file
Binary file not shown.
BIN
boot/bin/if-bolo
Normal file
BIN
boot/bin/if-bolo
Normal file
Binary file not shown.
BIN
boot/bin/ksh
Normal file
BIN
boot/bin/ksh
Normal file
Binary file not shown.
BIN
boot/bin/ktb_alloc
Normal file
BIN
boot/bin/ktb_alloc
Normal file
Binary file not shown.
BIN
boot/bin/memcpy_utility.out
Normal file
BIN
boot/bin/memcpy_utility.out
Normal file
Binary file not shown.
BIN
boot/bin/out32
Normal file
BIN
boot/bin/out32
Normal file
Binary file not shown.
BIN
boot/bin/slogger
Normal file
BIN
boot/bin/slogger
Normal file
Binary file not shown.
BIN
boot/bin/sloginterceptor
Normal file
BIN
boot/bin/sloginterceptor
Normal file
Binary file not shown.
BIN
boot/bin/sysinit
Normal file
BIN
boot/bin/sysinit
Normal file
Binary file not shown.
BIN
boot/bin/tracelogger
Normal file
BIN
boot/bin/tracelogger
Normal file
Binary file not shown.
BIN
boot/bin/v850commander
Normal file
BIN
boot/bin/v850commander
Normal file
Binary file not shown.
80
boot/bin/v850commander.sh
Normal file
80
boot/bin/v850commander.sh
Normal file
@ -0,0 +1,80 @@
|
||||
#!/bin/sh
|
||||
|
||||
ONOFF_IPC_CHANNEL=/dev/ipc/ipc2
|
||||
|
||||
log_msg()
|
||||
{
|
||||
echo "$0: $1"
|
||||
echo "$0: $1" > /dev/console
|
||||
}
|
||||
|
||||
if [[ $HOSTNAME == "hu-omap" ]]; then
|
||||
OMAP=1
|
||||
JACINTO_NODE=hu-jacinto
|
||||
elif [[ $HOSTNAME == "rse-omap" ]]; then
|
||||
OMAP=1
|
||||
JACINTO_NODE=rse-jacinto
|
||||
else
|
||||
OMAP=0
|
||||
fi
|
||||
|
||||
if [[ $OMAP -eq 1 ]]; then
|
||||
ONOFF_IPC_CHANNEL=/net/${JACINTO_NODE}$ONOFF_IPC_CHANNEL
|
||||
fi
|
||||
|
||||
# Make sure that OnOff IPC channel is open...
|
||||
if [[ ! -e $ONOFF_IPC_CHANNEL ]]; then
|
||||
|
||||
log_msg "OnOff IPC channel $ONOFF_IPC_CHANNEL not available!"
|
||||
log_msg "Starting OnOff IPC channel first..."
|
||||
|
||||
# Start appropriate resource manager. Concrete choice depends on IPC Protocol Version used by V850.
|
||||
whence ipc-version-check > /dev/null
|
||||
if [[ $? -ne 0 ]]; then
|
||||
log_msg "Failed to locate ipc-version-check!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
ipc-version-check
|
||||
IPC_VERSION=$?
|
||||
|
||||
case "$IPC_VERSION" in
|
||||
0) # Initial IPC
|
||||
START_ONOFF_IPC_CHANNEL="dev-spi-dra6xx -v -c /etc/spi3.cfg"
|
||||
;;
|
||||
1) # IPC V1 - Block IPC on Jacinto
|
||||
START_ONOFF_IPC_CHANNEL="io-ipc -c /etc/io-ipc-j5.cfg"
|
||||
;;
|
||||
2) # IPC V2 - Block IPC on Jacinto and OMAP
|
||||
START_ONOFF_IPC_CHANNEL="io-ipc -c /etc/io-ipc-v2-j5.cfg"
|
||||
;;
|
||||
*) log_msg "Unknown IPC Version $IPC_VERSION - unable to start OnOff IPC channel!"
|
||||
exit 2
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ $OMAP -eq 1 ]]; then
|
||||
log_msg "Starting IPC resource manager on $JACINTO_NODE ..."
|
||||
log_msg "$START_ONOFF_IPC_CHANNEL"
|
||||
on -f /net/$JACINTO_NODE $START_ONOFF_IPC_CHANNEL
|
||||
else
|
||||
log_msg "Starting IPC resource manager ..."
|
||||
log_msg "$START_ONOFF_IPC_CHANNEL"
|
||||
$START_ONOFF_IPC_CHANNEL
|
||||
fi
|
||||
|
||||
waitfor $ONOFF_IPC_CHANNEL 10
|
||||
if [[ ! -e $ONOFF_IPC_CHANNEL ]]; then
|
||||
log_msg "Failed to start IPC resource manager!"
|
||||
exit 3
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
# ... then execute v850commander (may run on any node)
|
||||
log_msg "Executing v850commander $* ..."
|
||||
exec v850commander $*
|
||||
|
||||
log_msg "Failed to execute v850commander!"
|
||||
|
||||
exit 4
|
1
boot/etc/nbt_version.txt
Normal file
1
boot/etc/nbt_version.txt
Normal file
@ -0,0 +1 @@
|
||||
NBTevo_N18092I
|
BIN
boot/lib/cam-disk.so
Normal file
BIN
boot/lib/cam-disk.so
Normal file
Binary file not shown.
BIN
boot/lib/charset.so
Normal file
BIN
boot/lib/charset.so
Normal file
Binary file not shown.
BIN
boot/lib/fs-dos.so
Normal file
BIN
boot/lib/fs-dos.so
Normal file
Binary file not shown.
BIN
boot/lib/fs-qnx6.so
Normal file
BIN
boot/lib/fs-qnx6.so
Normal file
Binary file not shown.
BIN
boot/lib/io-blk.so
Normal file
BIN
boot/lib/io-blk.so
Normal file
Binary file not shown.
BIN
boot/lib/libc.so.3
Normal file
BIN
boot/lib/libc.so.3
Normal file
Binary file not shown.
BIN
boot/lib/libcam.so.2
Normal file
BIN
boot/lib/libcam.so.2
Normal file
Binary file not shown.
BIN
boot/lib/libnbt_starter_plugin-omap.so
Normal file
BIN
boot/lib/libnbt_starter_plugin-omap.so
Normal file
Binary file not shown.
Reference in New Issue
Block a user