RTEMS Tier Allocations.
Chris Johns
chrisj at rtems.org
Fri Oct 27 05:13:01 UTC 2017
On 26/10/2017 18:50, Sebastian Huber wrote:
>
> with the change to the INI format files, the
>
> target_pretest_command
> target_exe_filter_command
>
> disappeared.
Oh I changed some names as part of a clean up.
> I am not sure how I can invoke the tester for a board using U-Boot
> connected via TTY or telnet. Do you have an example command line?
Of course, with the removal of my local set up there is nothing left in the BSP configurations as examples.
A command line is:
$ sudo rtems-test --rtems-tools=/opt/work/rtems/4.12 \
--rtems-bsp=xilinx_zynq_zedboard \
--timeout=60 --log=t.txt \
--user-config=$HOME/.rtemstesterrc \
--mail .
Notes:
1. The tester will walk the file system, find all the *.exe files and filter the executable file names.
2. I need to provide my local file on the command because the sudo changes me to root to access the TFTP port.
My local configuration file is:
#
# RTEMS Tester configuration
#
#
# Zedboard with U-Boot on an SD card.
#
[xilinx_zynq_zedboard]
bsp_tty_dev = tuke:30005
target_pretest_command = rtems-zynq-mkimg @EXE@
target_exe_filter = /\.exe/.exe.img/
target_on_command = wemo-reset CSEng1 0 && sleep 4 && wemo-reset CSEng1 -1
target_off_command = wemo-reset CSEng1 0
target_reset_command = wemo-reset CSEng1 3
#
# Xilinx ZC706 connected via JTAG to OpenOCD
#
[xilinx_zynq_zc706]
bsp_tty_dev = tuke:30006
bsp_gdb_script = target remote kaka:3333
mon load_image /opt/src/rtems/zynq/xilinx_zynq_zc706_fsbl.elf 0 elf
on resume 0
mon sleep 4000
mon halt
load
b bsp_reset
continue
#
# PC
#
[pc]
target_on_command = wemo-reset CSEng2 0 && sleep 3 && wemo-reset CSEng2 -1
target_off_command = wemo-reset CSEng2 0
target_reset_command = wemo-reset CSEng2 1
bsp_tty_dev = tuke:30010
#
# MCF5235
#
[mcf5235]
bsp_tty_dev = tuke:30011
gdb_script = bsp_gdb_script
bsp_gdb_script = target remote | m68k-bdm-gdbserver pipe 003-005
thb *0xffe254c0
continue
load
b bsp_reset
continue
#
# The BeagleBone Black.
#
[beagleboneblack]
bsp_tty_dev = tuke:30007
target_on_command = wemo-reset CSEng3 0 && sleep 3 && wemo-reset CSEng3 -1
target_off_command = wemo-reset CSEng3 0
target_reset_command = wemo-reset CSEng3 5
#
# The BeagleBoard.
#
[beagleboardxm]
bsp_tty_dev = tuke:30013
gdb_script = bsp_gdb_script
bsp_gdb_script = target remote kaka:3333
mon beagleboard_xm_mlo /home/chris/development/rtems/bb/uboot/u-boot/MLO
load
b _Terminate_CPU_Fatal_halt
continue
Chris
More information about the devel
mailing list