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.
- hello.exe → prints hello world. I got to know that hello world will be printed through UART0 tx, rx. But no response
- gpio_toggle.exe → I did GPIO 2 pin as high and checked the voltage across it. No change.
- ticker.exe → this is an example provided for raspberrypi2 bsp. No change.
My way of flashing.
- First boot the sdcard with Rpi imager with Raspberry pi OS Lite. This creates the bootfs, rootfs partiion.
- Then replacing the kernel.img with my kernel.img which i converted using " arm-rtems5-objcopy -Obinary hello.exe kernel.img "
- 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