Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Questions regarding new platform port (was Re: Porting NetBSD to the Zipit Z2 XScale handheld)



2015-02-05 18:35 GMT+09:00 Held Bier <lausgans%gmail.com@localhost>:

> pxadmac0 at pxaip0 addr 0x40000000-0x400002ff intr 25: DMA Controller
> qemu: hardware error: pxa2xx_dma_write: Bad offset 00000000000000f0
>
> CPU #0:
> R00=00000000 R01=c2c7b000 R02=000000f0 R03=00000000
> R04=c1129000 R05=c0789ce4 R06=00000040 R07=c1129040
> R08=00000000 R09=00000000 R10=c05b2ba8 R11=c0789c8c
> R12=c022ae24 R13=c0789c20 R14=c0411f10 R15=c022ae24
> PSR=60000153 -ZC- A svc32
> FPSCR: 00000000

DMAC offset 0xf0 is DINT register.
"Read-only register DINT" is written at PXA270 datasheet.
Please comment-out the following lines.

----- sys/arch/arm/xscale/pxa2x0_dmac.c
324:    dmac_reg_write(sc, DMAC_DINT,
325:         dmac_reg_read(sc, DMAC_DINT) & DMAC_DINT_MASK);
-----

----- sys/arch/arm/xscale/pxa2x0_dmac.c
1215:    dmac_reg_write(sc, DMAC_DINT, (1u << channel));
-----

Regards,
-- 
NONAKA Kimihiro


Home | Main Index | Thread Index | Old Index