JMicron jms561 umass on arm64?

2021-04-07 Thread Peter Cornelius
G'day, folks,
 
Is there, by chance, anyone out there who has a JMicron jms561-based USB3 
'umass' kind of device up & running who can share experience or quirks, please?
 
I'm trying to get mine [2] to work under FreeBSD [3] but it does not even show 
up with usbconfig list. While, with Raspbian, I was able to make it work easily.
 
Thanks,
 
Peter.
 
---
 
[1] I believe, 
https://www.jmicron.com/file/download/1026/JMS561_Product+Brief.pdf
[2] 
https://wiki.radxa.com/Dual_Quad_SATA_HAT[https://wiki.radxa.com/Dual_Quad_SATA_HAT]
[3] Note: Later builds so far have not booted despite of current 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
 
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Rasberry Pi 4 has no USB

2021-02-28 Thread Peter Cornelius
[Retransmssion, stupid HTML mails]

G'day, Carl,
 
On 2/28/21 11:26 AM, Carl Johnson wrote:
> I have an 8GB RPi 4B that I am trying out, but it has no USB response at
> all.  [...]
 
I second the suggestion to do a brief trial with Raspbian or so.  I currently 
run mine under -current as below, but can confirm that I have been able to run 
it since 13 with USB keyboard and mouse. I currenly am logged in via the net, 
so without further USB devices, at least the hubs should be present:
 
[root@rpi4 ~]# usbconfig  
ugen0.1: <0x1106 XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) 
pwr=SAVE (0mA)
ugen0.2:  at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) 
pwr=SAVE (100mA)
 
[root@rpi4 ~]# uname -a
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
 
I can share a 14.0 image I used to initially boot if you have somewhere to push 
it (FreeBSD-aarch64-14.0-GENERIC-a63eae65ff8-RaspberryPi4.img, seven and a half 
gig, roughly; an xz. I'd expect at around two).
 
I did, though, have to do a couple of tries with Raspbian initially to put a 
recent firmware onto my RPI4B8GB.
 
HOWEVER.
 
I also have an odd observation which is that there is NO OTHER USB device BUT 
the above and my mouse/keyboard. This is quite odd since I do have more devices 
connected (most notably a umass JMicron-JMS561-based device [1]) and naively 
hoped that also on arm, USB devices would at least show up as ugen-something. 
Well, at least keyboard and mouse did work, did they not?
 
I did boot with rasbian, all comes to life instantly and beautifully. I even 
was able to update some firmware on the JMS-thingo, see the disks, all 
blinkenlights there. Back to FreeBSD -- again, silence. I now really am 
scratching my head and also have run out of ideas... though kind of luxury, 
compared to you, I guess.
 
Any help appreciated, and Carl, as written, if you want my image, where should 
I put it?
 
Cheers,
 
Peter.
 
[1] https://www.jmicron.com/file/download/1033/JMS561_Product+Brief.pdf
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: Rasberry Pi 4 has no USB

2021-02-28 Thread Peter Cornelius


___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: stable/13 buildworld fail

2021-02-20 Thread Peter Cornelius


___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


stable/13 buildworld fail

2021-02-20 Thread Peter Cornelius
G'day, folks,

Is anyone else seeing something like below? (Because if not, I messed up 
something and need to continue to search for what it may have been...)

Last change, I believe was commit ced29ea4fb42a70301ba0770ec23e350155289f1 
(HEAD -> stable/13, origin/stable/13), last successful build some three weeks 
ago, stable/13-c256239-gb06fd805cc8.

Thanks,

Peter.

--- 

FreeBSD walkabout 13.0-ALPHA3 FreeBSD 13.0-ALPHA3 #0 
stable/13-c256239-gb06fd805cc8: Mon Feb  1 13:51:31 CET 2021 
root@walkabout:/usr/obj/usr/Src-stable-13/amd64.amd64/sys/GENERIC  amd64

---

c++  -O2 -pipe -fno-common 
-I/usr/obj/usr/Src-stable-13/amd64.amd64/tmp/obj-tools/lib/clang/libllvm 
-I/usr/Src-stable-13/lib/clang/include -I/usr/Src-stab
le-13/contrib/llvm-project/llvm/include -D__STDC_CONSTANT_MACROS 
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DHAVE_VCS_VERSION_INC -DNDEBUG 
-DLLVM_DEFAU
LT_TARGET_TRIPLE=\"x86_64-unknown-freebsd13.0\" 
-DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd13.0\" 
-DDEFAULT_SYSROOT=\"/usr/obj/usr/Src-stable-13/amd64.amd
64/tmp\" -DLLVM_TARGET_ENABLE_X86 
-DLLVM_NATIVE_ASMPARSER=LLVMInitializeX86AsmParser 
-DLLVM_NATIVE_ASMPRINTER=LLVMInitializeX86AsmPrinter -DLLVM_NATIVE_DI
SASSEMBLER=LLVMInitializeX86Disassembler 
-DLLVM_NATIVE_TARGET=LLVMInitializeX86Target 
-DLLVM_NATIVE_TARGETINFO=LLVMInitializeX86TargetInfo -DLLVM_NATIVE_T
ARGETMC=LLVMInitializeX86TargetMC -ffunction-sections -fdata-sections 
-gline-tables-only -MD -MF.depend.FixedLenDecoderEmitter.o 
-MTFixedLenDecoderEmitter
.o -Wno-format-zero-length -Wno-empty-body -Wno-string-plus-int 
-Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value 
-Wno-parentheses-eq
uality -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef 
-Wno-address-of-packed-member -Wno-switch -Wno-switch-enum -Wno-knr-promoted-pa
rameter -Wno-parentheses -Qunused-arguments 
-I/usr/obj/usr/Src-stable-13/amd64.amd64/tmp/legacy/usr/include  
-fno-exceptions -fno-rtti -std=c++14-stdl
ib=libc++ -Wno-c++11-extensions   -c 
/usr/Src-stable-13/contrib/llvm-project/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp
 -o FixedLenDecoderEmitter.o
c++  -O2 -pipe -fno-common 
-I/usr/obj/usr/Src-stable-13/amd64.amd64/tmp/obj-tools/lib/clang/libllvm 
-I/usr/Src-stable-13/lib/clang/include -I/usr/Src-stab
le-13/contrib/llvm-project/llvm/include -D__STDC_CONSTANT_MACROS 
-D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DHAVE_VCS_VERSION_INC -DNDEBUG 
-DLLVM_DEFAU
LT_TARGET_TRIPLE=\"x86_64-unknown-freebsd13.0\" 
-DLLVM_HOST_TRIPLE=\"x86_64-unknown-freebsd13.0\" 
-DDEFAULT_SYSROOT=\"/usr/obj/usr/Src-stable-13/amd64.amd
64/tmp\" -DLLVM_TARGET_ENABLE_X86 
-DLLVM_NATIVE_ASMPARSER=LLVMInitializeX86AsmParser 
-DLLVM_NATIVE_ASMPRINTER=LLVMInitializeX86AsmPrinter -DLLVM_NATIVE_DI
SASSEMBLER=LLVMInitializeX86Disassembler 
-DLLVM_NATIVE_TARGET=LLVMInitializeX86Target 
-DLLVM_NATIVE_TARGETINFO=LLVMInitializeX86TargetInfo -DLLVM_NATIVE_T
ARGETMC=LLVMInitializeX86TargetMC -ffunction-sections -fdata-sections 
-gline-tables-only -MD -MF.depend.GICombinerEmitter.o -MTGICombinerEmitter.o 
-Wno-fo
rmat-zero-length -Wno-empty-body -Wno-string-plus-int 
-Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value 
-Wno-parentheses-equality -Wn
o-unused-function -Wno-enum-conversion -Wno-unused-local-typedef 
-Wno-address-of-packed-member -Wno-switch -Wno-switch-enum 
-Wno-knr-promoted-parameter -W
no-parentheses -Qunused-arguments 
-I/usr/obj/usr/Src-stable-13/amd64.amd64/tmp/legacy/usr/include  
-fno-exceptions -fno-rtti -std=c++14-stdlib=libc++
-Wno-c++11-extensions   -c 
/usr/Src-stable-13/contrib/llvm-project/llvm/utils/TableGen/GICombinerEmitter.cpp
 -o GICombinerEmitter.o
In file included from 
/usr/Src-stable-13/contrib/llvm-project/llvm/utils/TableGen/GICombinerEmitter.cpp:26:
/usr/Src-stable-13/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/GIMatchDag.h:13:10:
 fatal error: 'GIMatchDagInstr.h' file not found
#include "GIMatchDagInstr.h"
^~~
1 error generated.
*** Error code 1

Stop.
make[3]: stopped in /usr/Src-stable-13/usr.bin/clang/llvm-tblgen
*** Error code 1

Stop.
make[2]: stopped in /usr/Src-stable-13
*** Error code 1

Stop.
make[1]: stopped in /usr/Src-stable-13
*** Error code 1

Stop.
make: stopped in /usr/Src-stable-13
 
 
 
 
 
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"