From owner-freebsd-arm@FreeBSD.ORG Thu Oct 31 03:02:38 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9220E22F for ; Thu, 31 Oct 2013 03:02:38 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: from mail-ie0-x232.google.com (mail-ie0-x232.google.com [IPv6:2607:f8b0:4001:c03::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 65F45293D for ; Thu, 31 Oct 2013 03:02:38 +0000 (UTC) Received: by mail-ie0-f178.google.com with SMTP id x13so3834400ief.23 for ; Wed, 30 Oct 2013 20:02:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=NjZjIBMqbRm1CAGdx0DcND63Fm+urVkyqOA7JWXy0oc=; b=nET56DdF/HCRhmiRf18TTPWMx8ysjg99PrCt5nk33XICXMpbanDQD92P8vibBsJQhA P8YE7TeHEqj+ViAKiUlV3SI8zdTwUHVQadeDnCl/S1lTKxXlhu9ml+LSUHHfOCsnO70J bbAFwC/UTWQpiavn9X2+9orHMvl+dfo886s5Bj4m3MjRfmzpp18xFw7fpcJQU5g1yLKk Hd8+b0rO+LXyEd0bWuD/gfLwGHrpCfbwiNyLCDQpRvx8+rJeNTZCMkO0Ii9Hzv7Orp1V SoI/7ZHFZCTOsnqfnCC/zAQkuq/DH+lufgeRTGMjQxdDi9S3VIGX7M33gCZQtMyIp1+h J3HQ== MIME-Version: 1.0 X-Received: by 10.50.103.6 with SMTP id fs6mr4886145igb.16.1383188556590; Wed, 30 Oct 2013 20:02:36 -0700 (PDT) Received: by 10.64.18.14 with HTTP; Wed, 30 Oct 2013 20:02:36 -0700 (PDT) Date: Thu, 31 Oct 2013 11:02:36 +0800 Message-ID: Subject: Emac network driver for Allwinner A10/A20 From: Ganbold Tsagaankhuu To: "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Oct 2013 03:02:38 -0000 Just small update for those who may be interested. I tried to write EMAC driver for Cubieboard1,2 and it is working now. I think it should work on other A10/A20 boards too. You can find the patch and necessary src files at: https://github.com/tsgan/allwinner_a10/blob/master/emac.patch https://github.com/tsgan/allwinner_a10/blob/master/if_emac.c https://github.com/tsgan/allwinner_a10/blob/master/if_emacreg.h https://github.com/tsgan/allwinner_a10/blob/master/a10_sramc.c https://github.com/tsgan/allwinner_a10/blob/master/a10_sramc.h https://github.com/tsgan/allwinner_a10/blob/master/a10_gpio.h Please let me know if there are any issues. thanks a lot, Ganbold