Running your own code

The Netgear NAS forum
Post Reply
hno
Posts: 39
Joined: Tue Sep 09, 2008 9:56 am
Contact:

Running your own code

Post by hno » Thu Sep 11, 2008 12:07 pm

http://debugmo.de/?p=24

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

hno
Posts: 39
Joined: Tue Sep 09, 2008 9:56 am
Contact:

Re: Running your own code

Post by hno » Tue Sep 16, 2008 11:52 pm

If the code ends by jumping to 0x40000000 then the bootloader restarts.

_start:
call main
nop

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

Post Reply