From owner-soc-status@FreeBSD.ORG Tue Jun 16 15:54:18 2015 Return-Path: Delivered-To: soc-status@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C8859105 for ; Tue, 16 Jun 2015 15:54:18 +0000 (UTC) (envelope-from ps06756@gmail.com) Received: from mail-la0-x231.google.com (mail-la0-x231.google.com [IPv6:2a00:1450:4010:c03::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 50E5B226 for ; Tue, 16 Jun 2015 15:54:18 +0000 (UTC) (envelope-from ps06756@gmail.com) Received: by labko7 with SMTP id ko7so14475026lab.2 for ; Tue, 16 Jun 2015 08:54:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=Y+E35DGPV2Vm2wP+TS43qYIZP0FwqfBay4C7ypL1NV0=; b=VTqSSoL6GZx3WZli+MfEIhk/DG8AQ89kY4K5gJB0loQh3eAcFP3qzdaX62ZghicEPB f7JMYWn1fc3qHwELj4I1VIX+i4Bdf5z9gT+WQCRtGA9kP2SGvH+jOZavJJ1ww+4lWyb2 /b5WB5g0CG6uoc/0jbdUyZIBuygb847bd87YJNuCtMM2l99ZZmuRi81lslK9HOQkRl7d rP1ECkgLvriS9ia+4QQt/sYrEZu2y699TWbRYvmfh4QbveZj2Zcvos/TpZ53GPwCCSJ5 K13Ndjz3bD8A/eRAAuDdPhmsU2lAhUrnzuOyqxnx9b5VSfjJF2kNUNLv1owU2JYEYPhT 077Q== X-Received: by 10.112.170.167 with SMTP id an7mr1864299lbc.103.1434470056345; Tue, 16 Jun 2015 08:54:16 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.61.199 with HTTP; Tue, 16 Jun 2015 08:53:56 -0700 (PDT) From: Pratik Singhal Date: Tue, 16 Jun 2015 21:23:56 +0530 Message-ID: Subject: Status report for the project Improve support for Cubieboard To: soc-status@freebsd.org, Luiz Otavio O Souza Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2015 15:54:19 -0000 Target for this week :- The target for this week was to get the code working which was written at the end of last week after understanding the working of DMA for MMC. Current Status :- The code written is currently working and I am able to receive DMA transfer interrupts. Both pio and DMA transfers are working. Although, I am encountering a kernel panic related to spin mutexes at the end of the DMA transfer. Strangely, No such panic is encountered when using pio to transfer data and when using DMA to transfer data during the kernel boot process. Target for next week :- The target for this week again is to get the written code working and removing this panic as soon as possible. Problems faced :- The main problem I faced this week, was not receiving interrupts even though I had correctly programmed the MMC controller. The culprit being a wrong macro value in a10_mmc.h file ! . Almost half of the week was over by the time I figured this out after browsing through linux-sunxi source. With mid term evaluations coming near, I think our project is in sync with the schedule provided and the code should be ready for testing by community by the end of this week. -- Regards, Pratik Singhal