General NAS-Central Forums

Welcome to the NAS community
It is currently Mon Oct 16, 2017 9:46 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Running your own code
PostPosted: Thu Sep 11, 2008 12:07 pm 
Offline

Joined: Tue Sep 09, 2008 9:56 am
Posts: 39
http://debugmo.de/?p=24

Note: for iboot 1.00a042 the rn_nops load address is 0×878326d8


Top
 Profile  
 
PostPosted: Tue Sep 16, 2008 11:52 pm 
Offline

Joined: Tue Sep 09, 2008 9:56 am
Posts: 39
If the code ends by jumping to 0x40000000 then the bootloader restarts.

_start:
call main
nop

sethi %hi(0x40000000), %g1
jmp %g1
nop


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group