From owner-freebsd-hackers@freebsd.org Fri Jan 10 17:00:39 2020 Return-Path: Delivered-To: freebsd-hackers@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 65A051EC699 for ; Fri, 10 Jan 2020 17:00:39 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: from puchar.net (puchar.net [194.1.144.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 47vTkt0p3Kz3KZ4; Fri, 10 Jan 2020 17:00:37 +0000 (UTC) (envelope-from wojtek@puchar.net) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by puchar.net (8.15.2/8.15.2) with ESMTPS id 00AH0UVM019101 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 10 Jan 2020 18:00:31 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=puchar.net; s=default; t=1578675633; bh=6dOfjChX3IczL0/j+vyKZUb0Kl/RzxBI817f2UrBJ8E=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=cBRXMI2UFqainGLRPf8jcqdqwKDNpXQTwvlitWVgVv+Ow0cfLz+7DzGV7eUJhFNcT 9sZGIGa/KSDdSQrXS1T4HlOg7Yd3vg8cfeB5qIZD6rp6uFajTSoKG48LFGoFc4y/UZ aUqOhQ3AS1mQG+EJ6wWKNnWIDNcyv8rbRzWv8fXM= Received: from localhost (puchar-wojtek@localhost) by puchar.net (8.15.2/8.15.2/Submit) with ESMTP id 00AH0USM019098; Fri, 10 Jan 2020 18:00:30 +0100 (CET) (envelope-from puchar-wojtek@puchar.net) Date: Fri, 10 Jan 2020 18:00:30 +0100 (CET) From: Wojciech Puchar To: Hans Petter Selasky cc: Wojciech Puchar , freebsd-hackers@freebsd.org, =?ISO-8859-2?Q?Edward_Tomasz_Napiera=B3a?= Subject: Re: Raspberry PI zero USB - problem In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Rspamd-Queue-Id: 47vTkt0p3Kz3KZ4 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=fail (rsa verify failed) header.d=puchar.net header.s=default header.b=cBRXMI2U; dmarc=none; spf=pass (mx1.freebsd.org: domain of wojtek@puchar.net designates 194.1.144.90 as permitted sender) smtp.mailfrom=wojtek@puchar.net X-Spamd-Result: default: False [-4.25 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_REJECT(1.00)[puchar.net:s=default]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[puchar.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[puchar.net:-]; RCVD_IN_DNSWL_NONE(0.00)[90.144.1.194.list.dnswl.org : 127.0.10.0]; IP_SCORE(-2.95)[ip: (-7.81), ipnet: 194.1.144.0/24(-3.90), asn: 43476(-3.12), country: PL(0.07)]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:43476, ipnet:194.1.144.0/24, country:PL]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jan 2020 17:00:39 -0000 On Fri, 10 Jan 2020, Hans Petter Selasky wrote: > On 2020-01-10 15:04, Wojciech Puchar wrote: >> i have raspberry Pi ZERO - power over USB and USB on the go, serial console >> everything works except USB. When i attach pendrive to it over USB nothing >> happens. While at boot usb is detected, even uhub so everything should >> work. >> >> In the same time pendrive is detected when i try to boot with it inserted. >> >> >> what am i doing wrong. RPi Zero is descriped clearly here: >> >> https://wiki.freebsd.org/arm/Raspberry%20Pi >> >> and USB works both device and host. >> >> is there something that must be set to make it work under FreeBSD? >> > > This question is for Edward. Maybe a FDT descriptor regression? There were > some patches recently in the DWC OTG driver. Are you using the latest kernel? > > --HPS installed 12.1 image. and modified it slightly after - smaller partition (needed large FAT partition for exchange) etc.