Hi! > >> > Well no longer needed as puc0 has found and allocated the > >> > device(s) which would of shown up had you done this before > >> > you fixed puc0 to find them. > >> The problem is that the found 4 uarts are not 8 uarts, and they do not > >> seem to work (tested using kermit), either 8-( > >> Any hints on how to debug this ? > > You need to look to get the register width right. > Hit send too quick... I was going to say you needed to make sure that the > register width and strides were right, but they look to be because NetBSD > has [...] > for this card. so there's 4 UARTs per bar, like you are seeing. You have > DEFAULT_RCLK * 8. COM_FREQ in NetBSD is defined: > sys/dev/ic/comreg.h:#define COM_FREQ 1843200 /* 16-bit baud rate divisor */ Ok, I modified it and rebooted. The behaviour is still the same. I'll retest more thoroghly in the next 48 hours. Any idea why uart(4) finds 4 without the puc modification and why it detects 8 uarts with 16750 with the modification ? -- pi_at_opsec.eu +49 171 3101372 One year to go !Received on Mon Jan 21 2019 - 06:59:15 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:20 UTC