Date: Tue, 30 Jul 2013 20:01:38 +0000 From: =?iso-8859-1?B?V2Vp3ywgSvxyZ2Vu?= <weiss@uni-mainz.de> To: 'Ian Lepore' <ian@FreeBSD.org> Cc: "'freebsd-arm@freebsd.org'" <freebsd-arm@FreeBSD.org> Subject: RE: Wandboard support? Message-ID: <D6240E9DA4CE444399B1D9D8A57CBDD988FA7612@E14MDB-02.zdv.Uni-Mainz.DE> In-Reply-To: <1375153279.45247.61.camel@revolution.hippie.lan> References: <D6240E9DA4CE444399B1D9D8A57CBDD988FA6A8E@E14MDB-02.zdv.Uni-Mainz.DE> <1375153279.45247.61.camel@revolution.hippie.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D6240E9DA4CE444399B1D9D8A57CBDD988FA7612>