From owner-freebsd-arm@freebsd.org Fri Apr 9 18:33:51 2021 Return-Path: Delivered-To: freebsd-arm@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 102555C01D5 for ; Fri, 9 Apr 2021 18:33:51 +0000 (UTC) (envelope-from pcc@gmx.net) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FH6GP4XKqz3FWX for ; Fri, 9 Apr 2021 18:33:49 +0000 (UTC) (envelope-from pcc@gmx.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1617993216; bh=SHRDLTnT/z2bfHfCpA87L9h/mlMOYCyL2wUt4+xwenA=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=U9KzqfC81W8S+inS3l5hSFP1TH7lMo4EoNMYeKtOg0GV6M1bq8z/Iv+oPC4eF5qUr e/dAxm+TdRPeyJeUS0DKCAU0TDzVX6LbkZ0o2QgjNWu12q8+RbV61uy8vkT/pS6MXP AbptFvC08X2nohNWiG6jA14HFkcx0FSwAWdYYnwY= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [77.180.123.35] ([77.180.123.35]) by web-mail.gmx.net (3c-app-gmx-bs30.server.lan [172.19.170.82]) (via HTTP); Fri, 9 Apr 2021 20:33:36 +0200 MIME-Version: 1.0 Message-ID: From: Peter Cornelius To: freebsd-arm@freebsd.org Subject: Re: JMicron jms561 umass on arm64? Content-Type: text/plain; charset=UTF-8 Date: Fri, 9 Apr 2021 20:33:36 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <5099D78C-6656-4E4A-9F20-23F31A4397FE@yahoo.com> References: <20210407153732.GA50562@www.zefox.net> <20210407211513.GA53438@www.zefox.net> <20210408150934.GA99223@www.zefox.net> <694B7C84-E627-4E17-9148-4C4BB54FAD17@yahoo.com> <5099D78C-6656-4E4A-9F20-23F31A4397FE@yahoo.com> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:C6gMXfzVPiVs1axZfiIAgODwMzYlbu7mEobRA9ql2dIENJvWADednIzyZn4B3gYVEN6kC buG9ah71/ZmWlRmpkEej9XnB54LgGdN8+Kt502FQdRIWJ2pMlbPFSlMK4laz+l9iyiHPX3Xzmfak dYVGjt9YaUU5hwXrEyCG53+cz0BDt71UI6fZRHSbnURPplO3rMjN6ImYmB37okyqqEd0CwrkJGHT hdnOkUnBhkIw0mPDJ6A1M5w5Ev7SvQbQFVETTzJ6ZJ0QTt9LPA74Y7rwYTZgJfXC73DmVi9f5+2j /8= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:xnc7FgvGlTw=:9o6Vea3cuf28V9FrR1cGcs XHJFUokxZtjQQ3KanobldS41Z5y6hTzdEw9wkpn8Y2RF0ip2vCU9Dlqhrs3sf+023coRFYkRy EGjyJcnKa4plEUsODy1bQi4JPjlaldnjHvOBNDjK0RB2+duc3pXgC7Q0A7JV0U787ZwXitCMi 4QompeqSOXD4RN5qq71d+PpalcooywJNlveS825lejeyGWaalywENdLEZ6YzxacYImqZdao85 01n2q6n6wzLDeqkIigUKsY6Ahe1WuyMMHgv8BFNZzevro6Z6YoSx73PUjjcPPTu0v/hJhssmO 0U/YO3R1emsslHuQJt/3mGB2HgQBDVVi6rsxxSWoRB4HJurikf8k/NBjcuZXXcPL8XxxVvAmn dyGCAEbwJWvfykv5ccF+4jue49FGj/tjGGxChd8v1UopVPRdj759lBwM65KbFbp7KTxnZwMgw PY0gzKQyVbp9tR2KRLqSz9UWuTooiWPgmmXhUDcWX1snFGXIM6IKILBg0yK1owiQLludT/BBU iaUvd8ojMjfdsE/B2hQoljQRDrc24iO0YTw4xTQLiSnjP+1xVSnnqEZ8pJ0beZK0qbHmlSHlG CHlcyJWZ/i0HirrDDO8VhcPU4UyYFR7WWPMEgIF4R1BXOwkm8h2sRSOKqTHuTKsuhOi5GZWXM IBumNrtYLMn74tQ6cLS5MVnsV5rlg6DzO/XYkiela6Vcz/wPxKIOE6DkxfnFRKaUVKJkjRBfy ghm6TeAEUkO0ym+9lutMjx9UyBRfw5FVi1NhIJP9SzHqSuJn/XwpWxmI5Omj5lOn+hMYv0i5Y 2Z2z07smAeYc+LJX1/HJJXyixQcUBx8/eO+fZ243yW9LzlVTbmW8tDEmW0TxdR5dkWH1+c2D7 6LVsWRYJQzOrKOZDpTqGD3C9UqZsSyoLOCzADeoPt6IE7GN9XjtT8nuemB6z/L Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4FH6GP4XKqz3FWX X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmx.net header.s=badeba3b8450 header.b=U9KzqfC8; dmarc=pass (policy=none) header.from=gmx.net; spf=pass (mx1.freebsd.org: domain of pcc@gmx.net designates 212.227.17.21 as permitted sender) smtp.mailfrom=pcc@gmx.net X-Spamd-Result: default: False [-1.60 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmx.net]; R_SPF_ALLOW(-0.20)[+ip4:212.227.17.0/27]; DKIM_TRACE(0.00)[gmx.net:+]; DMARC_POLICY_ALLOW(-0.50)[gmx.net,none]; HAS_X_PRIO_THREE(0.00)[3]; RCVD_IN_DNSWL_LOW(-0.10)[212.227.17.21:from]; RCVD_TLS_LAST(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmx.net]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[212.227.17.21:from]; R_DKIM_ALLOW(-0.20)[gmx.net:s=badeba3b8450]; RECEIVED_SPAMHAUS_PBL(0.00)[77.180.123.35:received]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_SHORT(1.00)[1.000]; SPAMHAUS_ZRD(0.00)[212.227.17.21:from:127.0.2.255]; DWL_DNSWL_LOW(-1.00)[gmx.net:dkim]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[212.227.17.21:from]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_COUNT_TWO(0.00)[2]; FREEMAIL_CC(0.00)[www.zefox.net,yahoo.com]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Apr 2021 18:33:51 -0000 Thank you, Mark, > The RPi* situation was confusing enough, with multiple > problems in multiple sets of firmware/kernels and > combinations. I'm trying to not leave a fuzzy > identification of what releases were at issue > and what modern combinations are known to generally > work. Folks have already spent enough time on bad > combinations of materials in recent months. I apologize for not having been precise in my elaborations. I now understa= nd that Power-on of the RPI loads EEPROM loads Firmware rpi-firmware-1.20210303.g20210303 loads U-Boot u-boot-rpi4-2020.10 (config.txt says kernel=3D= u-boot.bin) loads "FreeBSD" [3] And each of them may or may not be able to properly provide access to USB.= In any case, FreeBSD [3] does start, and does detect USB devices, so I'm = happy this far. Returning to my initial issue, what puzzles me is that I do not seem to be= able to see the hat [2] at all while (a) Raspbian did see it (and the disks, so I understand that the hat is in= order), (b) There are reports that the JMS561 [1] should be detected also by FreeB= SD, and (c) FreeBSD does detect any other USB device I I can find and hook up to e= ither one of the USB3 ports (indicating that the RPI is fine). In short, my expectation (hope?) was that I hook up the board and proceed = with the disks, or at least be able to re-set the bus so that it finds at = least a ugen device to build upon, but as-is, no trace of any device... I'= m a bit lost and would appreciate any pointers. Thanks again, and All the best, Peter. =2D-- [1] I believe, https://www.jmicron.com/file/download/1026/JMS561_Product+B= rief.pdf [2] https://wiki.radxa.com/Dual_Quad_SATA_HAT [3] Note: Later builds so far have not booted despite of current Firmware/= Das U-Boot (March 2021) FreeBSD rpi4 14.0-CURRENT FreeBSD 14.0-CURRENT #1: Tue Feb 23 02:30:31= UTC 2021 root@rpi4:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64 [4] https://jamesachambers.com/raspberry-pi-4-bootloader-firmware-updating= -recovery-guide/ [5] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D252971