From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Thu, 25 Jul 2019 11:35:39 +0200 From: cinap_lenrek@felloff.net To: 9fans@9fans.net In-Reply-To: cd636a3c97ed194b29aea601e9bdce8f@hamnavoe.com MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Raspberry Pi 4 Topicbox-Message-UUID: 0248a726-eada-11e9-9d60-3106f5b1d025 > Thanks, I'll take a look at this. Have you seen any pi4 h/w docs > or have you been working just from linux drivers? no, i wish. only reading linux source and deciphering device tree mazes. :( > I've been stalled on getting ether4330 to initialise. Putting > some coherence() calls into emmc.c helped (I don't like > out-of-order cpus) but I keep getting spurious interrupt 1023 > followed by watchdog reboot. i dont know anything about the 4330. i think theres a bug with the dma code tho. you actually need to invalidate caches *AFTER* the hw completed because the core can speculatively prefetch memory and bring it into the cache before the hardware is done writing memory. iirc the code just cleans/invalidates BEFORE issuing the dma operation. > Do you have the sdcard working? According to a pi engineer, > the new emmc controller is sdhci compliant so it shouldn't > be hard. i have not tried sdcard yet. -- cinap