Question of Running RTEMS on Altera SOCkit
yanjx at jlab.org
Thu May 26 20:50:08 UTC 2016
Thanks for your help.
I have tried to load the RTEMS kernel and run the Hello application.
Instead of showing:
*** HELLO WORLD TEST ***
## Starting application at 0x00300040 ...
Does anyone know what causes this problem? Baud rate on the terminal?
On 05/25/2016 11:36 AM, Adit Sahasrabudhe wrote:
> Hi Jay,
> Yes we have run RTEMS on this kit. If you want a quick and dirty way of booting into your RTEMS application from the SDCARD, do the following:
> 1. Convert executable image format to binary
> a. arm-rtems4.11-objcopy -O binary hello.exe hello.bin
> 2. Create a text file called hello.txt containing the following commands
> a. fatload mmc 0:1 0x00300000 hello.bin;
> b. go 0x00300040
> 3. Convert the text file into a U-boot script
> a. mkimage -A arm -T script –d hello.txt hello.scr
> 4. Copy hello.scr and hello.bin to the FAT partition of the SDCARD
> 5. Boot into u-boot and set scriptfile environment variable to hello.scr
> a. setenv scriptfile loadmyapp.scr
> b. saveenv
> When you power on, uboot should automatically load and run your code.
> Hope this helps,
> On 5/25/16, 8:11 AM, "users on behalf of Jianxium Yan" <users-bounces at rtems.org on behalf of yanjx at jlab.org> wrote:
>> Has anyone ran RTEMS on Altera Cyclone V SoCkit yet? Now, I built the RTMES program (hello example) and try to run on the SoCkit board with a SD card. But, not sure how to run it. Can anyone tell me step by step how to load the image file?
>> users mailing list
>> users at rtems.org
More information about the users