Rockbox mail archiveSubject: 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 126.96.36.199)
Load IRQ controller base (0x60004000)
Write 0xFFFFFFFF to the following
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
Received on 2008-02-14