- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I had generated the preloader image by following the steps given in http://rocketboards.org/foswiki/view/documentation/gsrd131preloader I had programmed the preloader file using hps.exe software. and after power-on reset the Preloader is working fine. That is I could able to receive the serail communication comments through UART. My query is .., I have run an user code to blink the LED. I had written the code and compiled using ARMDs-5 IDE. How to load the user written code after the preloader and start executing it ????? Could you please give me suggestion or tips to execute the usercode from the preloader.Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is common way right? You may bring the path and application name to the kernel as a boot parameter for init, then kernel will only start the init process itself
try look at this(see: http://en.wikipedia.org/wiki/linux_startup_process). Traditionally this application then handles starting daemons, geTTYs, etc. Most boot loaders allow you to specify a path for the init app as part of the configuration for where to find the kernel. as example:- /boot/vmlinuz-n.n.n init=/path/to/theapp- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
there are quite number of example for this, bare metal is part of the example... that located in the Altera installation folder it self for reference.
![](/skins/images/45C6C2D737ED71F4C51F0145C8CB1E9C/responsive_peak/images/icon_anonymous_message.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