From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4641 invoked by alias); 25 Dec 2012 11:34:34 -0000 Received: (qmail 4598 invoked by uid 22791); 25 Dec 2012 11:34:33 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 25 Dec 2012 11:33:54 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id D39F04680015 for ; Tue, 25 Dec 2012 11:33:52 +0000 (GMT) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mu+AI8iFxnrN; Tue, 25 Dec 2012 11:33:47 +0000 (GMT) From: bugzilla-daemon@bugs.ecos.sourceware.org To: ecos-patches@ecos.sourceware.org Subject: [Bug 1001219] Ethernet driver for STM32 connectivity line with port on MMstm32f107 board. X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: Patches and contributions X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: ilijak@siva.com.mk X-Bugzilla-Status: ASSIGNED X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: ilijak@siva.com.mk X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: References: X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Date: Tue, 25 Dec 2012 11:34:00 -0000 Message-Id: <20121225113347.257534680002@mail.ecoscentric.com> Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org X-SW-Source: 2012-12/txt/msg00029.txt.bz2 Please do not reply to this email. Use the web interface provided at: http://bugs.ecos.sourceware.org/show_bug.cgi?id=3D1001219 --- Comment #43 from Ilija Kocho 2012-12-25 11:33:45 G= MT --- (In reply to comment #42) > Created an attachment (id=3D2007) --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=3D2007) [details] > Eth driver for STM32 family. >=20 > Hello Ilija, >=20 > (In reply to comment #41) > > (In reply to comment #39) > > > Created an attachment (id=3D1997) --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=3D1997) [details] [details] [details] > > > Eth driver for STM32 family.=20 > > > After long time I've gone back to eth driver and now it's works as we= ll on > > > STM32F4 controller.=20 > > > Patch consists only from driver, few extra definitions in=20 > > > packages/hal/cortexm/stm32/var/current/include/var_io_eth and entry i= n ecos.db > > > Disclaimer: > > > Driver was tested only on Olimex board STM32-E407 what means different > > > connections > > > between PHY and MAC (RMII mode and clock 50 MHz from external generat= or) than > > > on STM3240G-EVAL. > > >=20 > >=20 > > Jerzy, it would be of great help for testing if you provide some HAL pa= tch for > > STM3240G-EVAL > I hope that I didn=E2=80=99t miss anything. At now I couldn't find no mor= e that type of > MII interface requested by ETH driver - rest stuff like pins configuratio= n, > clocks enabling and so on is done by driver. > Regarding CYGNUM_DEVS_ETH_CORTEXM_STM32_REMAP_PINS option is valid only f= or F1 > family while AFAIK it isn't any stm32_f1 board with Ethernet support in e= Cos > repo. Thus I left it in driver's cdl without implementing inside the driv= er. If > you think that the driver should configure it not board dependent part I = will > add it. Thank you for the update. I am able to run httpd_sequential on STM3240G-EVAL after I have: 1. Added CYGPKG_DEVS_ETH_CORTEXM_STM32 and CYGPKG_DEVS_ETH_PHY to target stm3240g_eval (ecos.db) 2. Changed CYGHWR_DEVS_ETH_PHY_DP83847 to CYGHWR_DEVS_ETH_PHY_DP8384X (hal_cortexm_stm32_stm32x0g_eval.cdl) 3. Changed J5 to select external clock. Note: Selecting the MCO option produces conflict - needs fix. The good thing is that I did not have to touch the driver, but the MCO conf= lict implies that some fix may be needed. On the formal side - pay attention to trailing spaces. When posting the updated code please split the driver, HAL and ecos.db in separate patches. Ilija --=20 Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=3Demail ------- You are receiving this mail because: ------- You are on the CC list for the bug.