Raspberrypi 2 v1.1 with rtems 5

Hi everyone,
This is my first time posting question on this forum.
I am currently having Raspberry pi 2 v1.1 and I am trying to flash my RTEMS 5.3 application. i am using this procedure given on RTEMS official website → https://docs.rtems.org/docs/5.3/user.html#raspberrypi:~:text=7.2.11.2.-,Kernel%20image,-The%20following%20steps
I tried three different kind of applications.

  1. hello.exe → prints hello world. I got to know that hello world will be printed through UART0 tx, rx. But no response
  2. gpio_toggle.exe → I did GPIO 2 pin as high and checked the voltage across it. No change.
  3. ticker.exe → this is an example provided for raspberrypi2 bsp. No change.

My way of flashing.

  1. First boot the sdcard with Rpi imager with Raspberry pi OS Lite. This creates the bootfs, rootfs partiion.
  2. Then replacing the kernel.img with my kernel.img which i converted using " arm-rtems5-objcopy -Obinary hello.exe kernel.img "
  3. added these lines in the config.txt
enable_uart=1 
kernel_address=0x200000 
kernel=kernel.img

I even referred to this → https://alanstechnotes.blogspot.com/2013/03/running-your-first-rtems-program-on.html
Please help me i am really stuck here !

Thanks,
Manas

I would expect those instructions to still work against that branch, but since you appear to be coming at this fresh I’d recommend that you move up to current code and refer to the instructions in the user manual. From your description, it sounds like the RTEMS kernel is not being loaded properly. You should get hello.exe working before attempting other test binaries.