Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Nano 1G registers?

Nano 1G registers?

From: Andrew Wyer <davandron_at_gmail.com>
Date: Wed, 13 Feb 2008 22:15:17 -0600

Guys can you help me understand?

I've read the 1G nano uses the PP5022 and the wiki says the registers are
"compatible" with the PP5020. Now I've just started my disassembly of the 1G
firmware, but the IRQ init(?) subroutine is doing things a little
differently than the 5020 register set:

(in pseudocode; starting at code line 0x15C8 of 17.5.3.1)

Load IRQ controller base (0x60004000)
Write 0xFFFFFFFF to the following
Base+0x138
Base+0x128
Base+0x11C
Base+0x38 <-- ????
Base+0x28 <-- ????
Base+0x1C <-- ????
( MOV R0, #0 ) <-- is this loading the literal thats at 0x00; the
power-on jump opcode?
Write R0 to Base+0x14C <-- ????
Write R0 to Base+0x144 <-- ????

Most of those registers are not defined in the wiki's PP5020 page... does
anyone know what they correspond to?

I know its a mouth-full of questions, but I'm hoping that since linux is
running on the 1G someone already did the work to understand these registers

Thanks!
-Andrew
Received on 2008-02-14


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa