From owner-freebsd-arm@FreeBSD.ORG Tue Jul 30 20:01:42 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 460C13B8; Tue, 30 Jul 2013 20:01:42 +0000 (UTC) (envelope-from weiss@uni-mainz.de) Received: from mailgate-01.zdv.uni-mainz.de (mailgate-01.zdv.Uni-Mainz.DE [IPv6:2001:4c80:40:62d:203:ffff:fe5d:b2f1]) by mx1.freebsd.org (Postfix) with ESMTP id 7B37C283E; Tue, 30 Jul 2013 20:01:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uni-mainz.de; i=@uni-mainz.de; q=dns/txt; s=ironport; t=1375214502; x=1406750502; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=zvFDK3pSyale21eoQ+dOPzi6LXjHaCIabPj3Lf0U52o=; b=Vljj7m7k3mNamvDO0bKJrZMukn6jABKzakpbPdmInSDA5EWjv52sM0vz TMqWi8Y7oS5uacW5LpUbfX1hlKiNIGD29HmjcKgAcDzLCyFr9QUabwdC/ qOF8qSpfQYWvRaMbYBsI8KHzmsf9QneYisUCXQeTC2LGQ9ip2kZf+HWW+ U=; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiEFAFMb+FEKXgZQ/2dsb2JhbABbgwY1UL4ZgR8WdIIkAQEBBHkMBAIBBQMRBAEBAQodBzIUCQgCBA4FCIgIDLhXj00xBwaDEnEDiHKgOYMUPIFu X-IPAS-Result: AiEFAFMb+FEKXgZQ/2dsb2JhbABbgwY1UL4ZgR8WdIIkAQEBBHkMBAIBBQMRBAEBAQodBzIUCQgCBA4FCIgIDLhXj00xBwaDEnEDiHKgOYMUPIFu Received: from e14hub-01.zdv.uni-mainz.de ([10.94.6.80]) by mailgate-01.zdv.uni-mainz.de with ESMTP; 30 Jul 2013 22:01:39 +0200 Received: from E14MDB-02.zdv.Uni-Mainz.DE ([fe80::1b:21ff:fe65:4560]) by e14hub-01.zdv.Uni-Mainz.DE ([fe80::21d:d8ff:feb7:1c5f%10]) with mapi id 14.03.0146.000; Tue, 30 Jul 2013 22:01:38 +0200 From: =?iso-8859-1?B?V2Vp3ywgSvxyZ2Vu?= To: 'Ian Lepore' Subject: RE: Wandboard support? Thread-Topic: Wandboard support? Thread-Index: AQHOjNET9PGUM7pwt063n/XsPm3o55l9lvSQ Date: Tue, 30 Jul 2013 20:01:38 +0000 Message-ID: References: <1375153279.45247.61.camel@revolution.hippie.lan> In-Reply-To: <1375153279.45247.61.camel@revolution.hippie.lan> Accept-Language: de-DE, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [134.93.178.81] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "'freebsd-arm@freebsd.org'" 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: Tue, 30 Jul 2013 20:01:42 -0000 Hello Ian, I don't think the patches are ready for committing them. They contain some changes to common code for debugging purposes and some changes are probably not really necessary at all, but have not been undone. But because I think I will not have enough time to clean them up properly, I put them there for reference. The diff is against yesterday's FreeBSD current: http://www.staff.uni-mainz.de/weiss/freebsd.wandboard.20130730 /etc/src.conf is WITHOUT_CLANG_IS_CC=3D1 WITHOUT_ARM_EABI=3D1 that is I used gcc and old abi. Have not tested with other settings. As I started a while ago, ddb=20 backtrace did not work with CLANG at that time. I used a version of u-boot which initializes the USB host port on the wandboard. An explicit "usb start" command may be needed. To enable USB for u-boot the following additional config in=20 ./include/configs/wandboard.h may be needed: /* USB Configs */ #define CONFIG_CMD_USB #define CONFIG_CMD_FAT #define CONFIG_USB_EHCI #define CONFIG_USB_EHCI_MX6 #define CONFIG_USB_STORAGE #define CONFIG_MXC_USB_PORT 1 #define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW) #define CONFIG_MXC_USB_FLAGS 0 A copy of the wandboard dual u-boot is under=20 http://www.staff.uni-mainz.de/weiss/u-boot.imx It defaults to loading a kernel over the builtin ethernet interface. A copy of the FreeBSD kernel is under http://www.staff.uni-mainz.de/weiss/uImage Root device is sd0 (no mbr, no disklabel). Regards=20 Juergen=20 Juergen Weiss |Universitaet Mainz, Zentrum fuer Datenverarbeitung, weiss@uni-mainz.de |55099 Mainz, Tel: +49(6131)39-26361, FAX: +49(6131)39-2= 6407 -----Original Message----- From: Ian Lepore [mailto:ian@FreeBSD.org]=20 Sent: Tuesday, July 30, 2013 5:01 AM To: Wei=DF, J=FCrgen Cc: 'freebsd-arm@freebsd.org' Subject: Re: Wandboard support? On Mon, 2013-07-29 at 22:07 +0000, Wei=DF, J=FCrgen wrote: > Hallo, >=20 > I have been playing with a Wandboard Dual for some time. > Serial and USB host ports work. Non SMP kernel boots single > user to memory disk and as of tonight multiuser to USB flash.=20 >=20 > Regards >=20 > Juergen >=20 > Juergen Weiss |Universitaet Mainz, Zentrum fuer Datenverarbeitung, > weiss@uni-mainz.de |55099 Mainz, Tel: +49(6131)39-26361, FAX: +49(6131)39= -26407 >=20 If you'd like to share patches for that I'd be happy to commit them. Once we have even a minimally bootable system, it becomes easier for others to contribute more functionality. I've been playing with my Wandboard Solo for a couple days, but I can't seem to get through ehci_init() without hanging right now. -- Ian