- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Friends,
I have build the sample "hello world" Code using 30- days evaluation license. (please see attached print-screen of build report)
1. now how do i port (run) this on ARM Processor (Development board Altera Cyclone V SoC )...? alternatively using scp command on linux ubuntu i copy the generated test.o file to arm board and then trying to run this but won't get succeeded. please see attached print-screen of my process
2. Can it be possible to build the Code on Linux (Ubuntu) platform using ARM Cross Compiler and then run the Code on ARM Processor (Cortes-A9). (As i have 30-Days Evaluation license) ,
kaushal
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- Database error The database has encountered a problem. --- Quote End --- -- if I try to see "Attached Thumbnails". RTFM! 1. Yes, sample "hello world" may run on board as described in "Altera SoC Embedded Design Suite. User Guide" (ug_soc_eds.pdf, see "Getting Started Guides", "Getting Started with Bare Metal Debugging"). Only filename Altera-SoCFPGA-HelloWorld-Linux-GNU.tar.gz is bad -- need import Altera-SoCFPGA-HelloWorld-Baremetal-ARMCC.tar.gz or Altera-SoCFPGA-HelloWorld-Baremetal-GNU.tar.gz. File test.o (or my main.o, hello.o) is intermediate, object format to next linking with system codes, application to run from IDE DS-5 named Altera-SoCFPGA-HelloWorld-Baremetal-ARMCC.axf or hello.axf -- in ELF format. Binary formats to fill in flash get more complicated. 2. The same ug_soc_eds.pdf not divide different Linux-versions, only separate Windows and Linux. If SoC EDS and DS-5 Altera Edition is installed on Ubuntu, then may work. P.S. Pictures not visible so far... And if you want to run non-Baremetal application from embedded Linux (located on SD card), you need read and perform "Getting Started with Linux Application Debugging" from ug_soc_eds.pdf, only use for import archive Altera-SoCFPGA-HelloWorld-Linux-GNU.tar.gz instead Altera-SoCFPGA-HelloWorld-Baremetal-GNU.tar.gz -- more errors present in documentation. Output file is hello.o, DS-5 long connect to board and may debug it execution. P.P.S. Pictures also visible, similar to last Linux-variant, and output of armcc compiler at left, .axf is result to run/debug ! ARMCC may compile and link non-Baremetal application ? In example HelloWorld-Linux-GNU used arm-linux-gnueabihf-*. In other Baremetal examples used armcc or arm-none-eabi-*, in Linux -- only arm-linux-gnueabihf-*.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
These version of .pdf more old (2013.11.08) and inaccurate, next may be through month with release of 14thQ.
We help Altera debug documentation in practice :) Do you all pages 5-21..5-30 from "Getting Started with Linux Application Debugging" accurate ? Name of configuration must be only DebugLinux_DevKit ! :) Is interestingly see tab "Connection" for selected local JTAG or remote SSH. Including "Baremetal" to conf-name say from error -- local config for example armcc or BM-GNU, not compatible with Linux run. Repower board, rerun DS-5, delete imported project and retry all from begin. Filename must be Altera-SoCFPGA-HelloWorld-Linux-GNU.tar.gz! I very old and stupid, not love Linux and work always in more friendly OS Windows, but now try this example -- all connected through SSH, folders from SD visible, only debug failed (miserably this forum not download .png):
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page