dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: Firmware port

Re: Firmware port

From: Daniel Stenberg <>
Date: Wed, 5 Mar 2003 09:40:47 +0100 (CET)

On Tue, 4 Mar 2003, Josh Nisly wrote:

> I'm trying to port Rockbox to another very similar player, the NEO Jukebox.

Very cool indeed!

> It looks like the firmware is responsible for copying itself from the flash
> memory (at 0x020000) to the DRAM (at 0x09000000), which I think is done by
> the boot code in the Archos. How should I do this?

With Rockbox, we don't care about the flash or how it does to copy the
firmware from flash to ram as we only put a file on disk and let the factory
software load it from disk directly into ram.

> I modified the first example program Bjorn wrote for the player, and that
> ran fine when I set the vectors to start at 0x20000, but when I tried this
> with Rockbox 1.0, it called main() correctly, but it looks like that when a
> function returns, it returns to the wrong place. What am I doing wrong?
> I'm rather clueless about gcc, so I could use all the help I can get.

You need to edit the .lds file to use the correct addresses that your system

If you use the most recent code off CVS, there's only one single .lds file
named firmware/ that controls details such as this.

 Daniel Stenberg -- --
Received on 2003-03-05

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy