I failed to mention, with the dtb at /rockchip I do get confirmation from serial output that the file is being read as expected.
In addition, usb ports seem to work (mentioning because of the caveats section at https://github.com/jasperla/openbsd-rockpro64) . I haven't done any speed testing or whatnot, but a usb "A" key can be formatted and read/written to (haven't tested the usb "C" port). And it occurred to me that I have a PCIe video card laying around, so I tested with that. Unfortunately it's an nvidia card, so I think there were some power issues (had to reset the board a few times due to negotiation on dwge0 appearing to hang?) but once it booted properly I didn't see any dmesg changes. I tried lsusb and lspci, and got the following: # lspci -v lspci: obsd_init: /dev/pci open failed (Device not configured) I guess that's expected at this point? Anyhow, lsusb: umass0 at uhub3 port 1 configuration 1 interface 0 "Kingston DataTraveler 3.0" rev 2.10/0.01 addr 2 umass0: using SCSI over Bulk-Only scsibus3 at umass0: 2 targets, initiator 0 sd1 at scsibus3 targ 1 lun 0: <Kingston, DataTraveler 3.0, > SCSI4 0/direct removable serial.09511666F261C703FE9A sd1: 14755MB, 512 bytes/sector, 30218842 sectors # lsusb -v Bus 000 Device 001: ID 0000:0000 Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 1 Single TT bMaxPacketSize0 64 idVendor 0x0000 idProduct 0x0000 bcdDevice 1.00 iManufacturer 1 Generic iProduct 2 EHCI root hub iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 25 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xc0 Self Powered MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 Unused bInterfaceProtocol 0 Full speed (or root) hub iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0008 1x 8 bytes bInterval 12 Hub Descriptor: bLength 10 bDescriptorType 41 nNbrPorts 1 wHubCharacteristic 0x0001 Per-port power switching Ganged overcurrent protection TT think time 8 FS bits bPwrOn2PwrGood 200 * 2 milli seconds bHubContrCurrent 0 milli Ampere DeviceRemovable 0x00 PortPwrCtrlMask 0x00 Hub Port Status: Port 1: 0000.0500 highspeed power Device Status: 0x0001 Self Powered Bus 001 Device 001: ID 0000:0000 Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 1 Single TT bMaxPacketSize0 64 ior 0x0000 idProduct 0x0000 bcdDevice iManufacturer 1 Generic iProduct 2 Eal 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorT wTotalLength 25 bNumInterfaces 1 e 1 iConfiguration 0 bmAttributes owered MaxPower 0mA Interface Descriptoh 9 bDescriptorType 4 bInt0 bAlternateSetting 0 bNumEndpoints ceClass 9 Hub bInterfaceSubClass 0 Unused l 0 Full speed (or root) hub iInterface Endpoint Descriptor: bLength 7 5 bEndpointAddress 0x81 EP 1 IN bm Transfer Type Interrupt Synch None Usage Type Data wMaxP8 bytes bInterval 12 Hub Descriptor: b 10 bDescriptorType 41 nNbrPorts 1 wHu01 Per-port power switching Ganged overcurrent protectnk time 8 FS bits bPwrOn2PwrGood 200 * 2 milli seconds urrent 0 milli Ampere DeviceRemovable 0x00 PortPwr Hub Port Status: Port 1: 0000.0500 highspeed power Devic1 Self Powered Bus 002 Device 001: ID 0000:0000 Device r: bLength 18 bDescriptorType 1 3.00 bDeviceClass 9 Hub bDeviceSubClass DeviceProtocol 1 Single TT 0x0000 ketSize0 9 idProduct 0x0000 bcdDevice iManufacturer 1 Generic iProduct 2 xial 0 bNumConfigurations 1 Configura bLength 9 bDescriptorType 2 w 25 bNumInterfaces 1 bConfigurationValonfiguration 0 bmAttributes 0xc0 SxPower 0mA Interface Descriptor: bLen 9 bDescriptorType 4 bInterfaceNumber Setting 0 bNumEndpoints 1 bInterfaub bInterfaceSubClass 0 Unused bInterfaceProtspeed (or root) hub iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0002 1x 2 bytes bInterval 255 Hub Descriptor: bLength 11 bDescriptorType 42 nNbrPorts 2 wHubCharacteristic 0x0000 Ganwer switching Ganged overcurrent protection TT think trOn2PwrGood 10 * 2 milli seconds bHubContrCurrent viceRemovable 0x00 PortPwrCtrlMask 0x00 Hub Port Stat02a0 5Gbps power Rx.Detect Port 2: 0000.02a0 5Gbps power Rx.us: 0x0001 Self Powered Bus 003 Device 001: ID 0000:00tor: bLength 18 bDescriptorType 1 3.00 bDeviceClass 9 Hub bDeviceSubClass eProtocol 1 Single TT bMaxPacketSize0 9 id idProduct 0x0000 bcdDevice 1.00 i 1 Generic iProduct 2 xHCI root hub iSer 0 bNumConfigurations 1 Configuration Descriptor: 9 bDescriptorType 2 wTotalLength faces 1 bConfigurationValue 1 iConfigurat bmAttributes 0xc0 Self Powered MaxPower nterface Descriptor: bLength 9 bDe 4 bInterfaceNumber 0 bAlternateSetting points 1 bInterfaceClass 9 Hub b 0 Unused bInterfaceProtocol 0 Full speed (or root)ce 0 Endpoint Descriptor: bLength bDescriptorType 5 bEndpointAddress 0x81 bmAttributes 3 Transfer Type ISynch Type None Usage Type xPacketSize 0x0002 1x 2 bytes bInterval r: bLength 11 bDescriptorType 42 nNbr wHubCharacteristic 0x0000 Ganged power switching Grotection TT think time 8 FS bits bPwrOn2PwrGood 1 bHubContrCurrent 0 milli Ampere DeviceRemovable 0x0 Hub Port Status: Port 1: 0000.0503 Unknown Speed Recoverort 2: 0000.02a0 5Gbps power Rx.Detect Device Status: 0x000 Bus 003 Device 002: ID 0951:1666 Kingston Technology Device D 18 bDescriptorType 1 bcdUSB iceClass 0 (Defined at Interface level) bDeviceSubbDeviceProtocol 0 bMaxPacketSize0 64 idVenKingston Technology idProduct 0x1666 bcdDevice Manufacturer 1 Kingston iProduct 2 DSerial 3 08606E6D40B6F261C703FE9A bNumConfiguiguration Descriptor: bLength 9 bDescr wTotalLength 32 bNumInterfaces 1 1 iConfiguration 0 bmAttributes owered) MaxPower 300mA Interface Descript 9 bDescriptorType 4 bInterf bAlternateSetting 0 bNumEndpoints 2 8 Mass Storage bInterfaceSubClass 6 SCSI col 80 Bulk-Only iInterface 0 En bLength 7 bDescriptorType ntAddress 0x81 EP 1 IN bmAttributes 2 Type Bulk Synch Type None Data wMaxPacketSize 0x0200 1x 512 byte 255 Endpoint Descriptor: bLength bDescriptorType 5 bEndpointAddress 0x02 Ettributes 2 e Noneype Bulk Usage Type Data ize 0x0200 1x 512 bytes Descriptor:erval 255 bLength 5 bDescriptorType th 22 bNumDeviceCaps 2 USB 2.0 Extensio: bLength 7 ype 2iptorType 16 bmAttributes 0x00000006 Link Power Manated SuperSpeed USB Device Capability: bLength iptorType 16 bDevCapabilityType 3 bmAttrib wSpeedsSupported 0x000e Device can operate at Full Svice can operate at High Speed (480Mbps) Device can operabps) bFunctionalitySupport 2 Lowest fully-functionHigh Speed (480Mbps) bU1DevExitLat 10 micro second 2047 micro seconds Device Status: 0x0000 (Bus Powece 001: ID 0000:0000 Device Descriptor: bLength torType 1 bcdUSB 1.00 bDeviceClass viceSubClass 0 Unused bDeviceProtocol 0 Full bMaxPacketSize0 64 idVendor 0x0000 id bcdDevice 1.00 iManufacturer 1 Gener 2 OHCI root hub iSerial 0 bNumC Configuration Descriptor: bLength 9 2 wTotalLength 25 bNumInterfaces 1 iConfiguration 0 bmAttributes 0xc Descriptor: bLength 9 bDescriptorbInterfaceNumber 0 bAlternateSetting 0 1 bInterfaceClass 9 Hub bInterfaceSub bInterfaceProtocol 0 Full speed (or root) hub 0 Endpoint Descriptor: bLength riptorType 5 bEndpointAddress 0x81 EP 1 INes 3 Transfer Type Interrupt None Usage Type Data 0x0008 1x 8 bytes bInterval 255 Hub Des 10 bDescriptorType 41 nNbrPorts tic 0x0002 No power switching (usb 1.0) Ganged overcurbPwrOn2PwrGood 2 * 2 milli seconds bHubContrCurrent DeviceRemovable 0x00 PortPwrCtrlMask 0x00 Hub Port S0.0100 power Device Status: 0x0001 Self Powered Bus 0000:0000 Device Descriptor: bLength 18 b 1 bcdUSB 1.00 bDeviceClass 9 Hub bDeviceSubClass 0 Unused bDeviceProtocol 0 Full speed (or root) hub bMaxPacketSize0 64 idVendor 0x0000 idProduct 0x0000 bcdDevice 1.00 iManufacturer 1 Generic iProd 2 OHCI root hub iSerial 0 bN 1 Configuration Descriptor: bLength 9e 2 wTotalLength 25 bNumInterfaces rationValue 1 iConfiguration 0 bmAttribu Self Powered MaxPower 0mA Interfac 9 bDescriptorType 4 bInte bAlternateSetting 0 bNumEndpoints lass 9 Hub bInterfaceSubClass 0 Unused 0 Full speed (or root) hub riptor:Interface 0 bLength 7 bDescriptorT bEndpointAddress 0x81 EP 1 IN bmAttributes Transfer Type Interrupt Synch Type Usage Type Data wMaxPacketSize 0x0 bInterval 255 Hub Descriptor: bLength ptorType 41 nNbrPorts 1 wHubCharacteristier switching (usb 1.0) Ganged overcurrent protection bPwli seconds bHubContrCurrent 0 milli Ampere DeviceRemowrCtrlMask 0x00 Hub Port Status: Port 1: 0000.0100 powe 0x0001 Self Powered On Sat, Aug 17, 2019 at 6:49 PM J Sisson <sisso...@gmail.com> wrote: > > Hey Mark, > > Thanks! > > I set up the sd card per > https://marc.info/?l=openbsd-arm&m=156114869709200&w=2 then copied > the newly supplied dtb at /rockchip. > > With the dtb at /rockchip it hung at root on rd0a etc.. So I tried > booting it with the new dtb at /dtb/rockchip, which gets to the > installer. Let me know if that's an invalid test. > > I can get you dmesgs at any point along the way if you'd like, but for > now, I figured the dmesg for boot after a normal install (with dtb > copied to /rockchip this time) would be the most helpful (feel free to > correct): > > https://dmesgd.nycbug.org/index.cgi?do=view&id=5091 > > Previous dmesg (using miniroot66.fs with dtb > from:https://github.com/jasperla/openbsd-rockpro64) at: > > https://dmesgd.nycbug.org/index.cgi?do=view&id=5089 > > I do not have a PCIe card installed for any of these dmesgs. If > needed, I can get one and test again. > > Thanks, > Jonathon > > On Sat, Aug 17, 2019 at 3:16 PM Mark Kettenis <mark.kette...@xs4all.nl> wrote: > > > > > From: J Sisson <sisso...@gmail.com> > > > Date: Fri, 16 Aug 2019 05:42:50 -0500 > > > > > > On Fri, Aug 16, 2019 at 5:00 AM Mark Kettenis <mark.kette...@xs4all.nl> > > > wrote: > > > > > > > > > From: J Sisson <sisso...@gmail.com> > > > > > Date: Fri, 16 Aug 2019 04:15:52 -0500 > > > > > > > > > > Remember kiddies, always checksum downloaded files. Sigh. > > > > > > > > That said, you're probably better off using the firmware I built more > > > > recently: > > > > > > > > https://marc.info/?l=openbsd-arm&m=156114869709200&w=2 > > > > > > I did try this prior to discovering the PNY sd card issue. I'll give it > > > another try now that I have a decent sd card. > > > > > > > You're probably better off using this without the .dtb file for now, > > > > but I have one that adds PCIe support that I'll have to dig out. I'll > > > > try to put the file in the same location as the other firmware > > > > binaries. > > > > > > > > Hopefully we can streamline all this when U-Boot 2019.10 is released > > > > somewhere in October. > > > > > > Sounds great. Thanks for working on this! > > > > The promised device tree can be found at: > > > > https://sibelius.home.xs4all.nl/firmware/rk3399-rockpro64/rk3399-rockpro64.dtb > > > > it should be copied a directory called "rockchip" on the MS-DOS > > partition of your boot/root disk: > > > > # mount /dev/sdXi /mnt > > # mkdir /mnt/rockchip > > # cp rk3399-rockpro64.dtb /mnt/rockchip > > # umount /mnt > > > > Cheers, > > > > Mark > > > > -- > "In the real world, Scully would almost always be right and Mulder > would almost always be wrong." -Carpetsmoker > > "the biggest proof of intelligent life out there is... they've not > contacted us." > -EvilBagel > > "The doctors in a mental institution were thinking of releasing a > certain schizophrenic patient. They decided to give him a test under a > lie detector. One of the questions they asked him was, "Are you > Napoleon?" He replied, "No." The machine showed that he was lying." -- "In the real world, Scully would almost always be right and Mulder would almost always be wrong." -Carpetsmoker "the biggest proof of intelligent life out there is... they've not contacted us." -EvilBagel "The doctors in a mental institution were thinking of releasing a certain schizophrenic patient. They decided to give him a test under a lie detector. One of the questions they asked him was, "Are you Napoleon?" He replied, "No." The machine showed that he was lying."