There is no bug.

The distrib directory requires building inside a "full snapshot build" sequence.

Workaround shortcuts can done to make it work, but I will not be adding
workarounds inside the tree to encourage shorcuts, because they will encourage
other fragile breakage.  libstubs has dependencies upon fresh build and 
relatioship
to /usr/obj that you aren't seeing.

Peter J. Philipp <p...@delphinusdns.org> wrote:

> kn@:  I will take a look at my earlier bug report with the RISCV disk 
> encryption
>       bug in the installer.
> 
> Right now I have installed OpenBSD/riscv64 on my Mango Pi.  Thank you very
> much OpenBSD!  This is a great effort making this mango pi work!
> 
> I found that I needed a new kernel to detect the sd/mmc tf cards.  So I
> went about making a new ramdisk with /usr/src/distrib/riscv64/ramdisk/
> 
> I noticed that there is a problem with libstubs in this process from a
> "vanilla" riscv64 build box.  It will error out.  The work around is to
> go into /usr/src/distrib/special/libstubs and manually make it there, where
> it gets ranlib'ed.   Then go back to the former path and continue making the
> ramdisk.
> 
> Wanted to let you know this.  Dmesg follows:
> 
> 
> OpenBSD 7.4-current (MANGOPI) #0: Fri Feb 16 16:32:50 CET 2024
>     p...@stern.delphinusdns.org:/sys/arch/riscv64/compile/MANGOPI
> real mem  = 1073741824 (1024MB)
> avail mem = 1008390144 (961MB)
> SBI: OpenSBI v1.3, SBI Specification Version 1.0
> random: good seed from bootblocks
> mainbus0 at root: MangoPi MQ Pro
> cpu0 at mainbus0: T-Head arch 0 imp 0 rv64imafdc
> intc0 at cpu0
> cpu0: 32KB 64b/line 128-way L1 I-cache, 32KB 64b/line 256-way L1 D-cache
> "fit-images" at mainbus0 not configured
> "dcxo-clk" at mainbus0 not configured
> simplebus0 at mainbus0: "soc"
> sxipio0 at simplebus0: 88 pins
> sxiccmu0 at simplebus0
> plic0 at simplebus0
> sxitimer0 at simplebus0: 24000 kHz
> sxidog0 at simplebus0
> com0 at simplebus0: dw16550
> com0: console
> com1 at simplebus0: dw16550
> "syscon" at simplebus0 not configured
> "dma-controller" at simplebus0 not configured
> "efuse" at simplebus0 not configured
> "crypto" at simplebus0 not configured
> "dram-controller" at simplebus0 not configured
> sximmc0 at simplebus0
> sdmmc0 at sximmc0: 4-bit, sd high-speed, mmc high-speed, dma
> sximmc1 at simplebus0
> sdmmc1 at sximmc1: 4-bit, sd high-speed, mmc high-speed, dma
> "usb" at simplebus0 not configured
> "phy" at simplebus0 not configured
> ehci0 at simplebus0
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 configuration 1 interface 0 "Generic EHCI root hub" rev 
> 2.00/1.00 addr 1
> ohci0 at simplebus0: version 1.0
> "clock-controller" at simplebus0 not configured
> "mixer" at simplebus0 not configured
> "mixer" at simplebus0 not configured
> "phy" at simplebus0 not configured
> "tcon-top" at simplebus0 not configured
> "lcd-controller" at simplebus0 not configured
> "lcd-controller" at simplebus0 not configured
> "power-controller" at simplebus0 not configured
> "clock-controller" at simplebus0 not configured
> sxirtc0 at simplebus0
> sxidog1 at simplebus0
> sxidog2 at simplebus0
> gpio0 at sxipio0: 32 pins
> gpio1 at sxipio0: 32 pins
> gpio2 at sxipio0: 32 pins
> gpio3 at sxipio0: 32 pins
> gpio4 at sxipio0: 32 pins
> gpio5 at sxipio0: 32 pins
> gpio6 at sxipio0: 32 pins
> usb1 at ohci0: USB revision 1.0
> uhub1 at usb1 configuration 1 interface 0 "Generic OHCI root hub" rev 
> 1.00/1.00 addr 1
> "opp-table-cpu" at mainbus0 not configured
> "pmu" at mainbus0 not configured
> "vcc" at mainbus0 not configured
> "vcc-3v3" at mainbus0 not configured
> "leds" at mainbus0 not configured
> "avdd2v8" at mainbus0 not configured
> "dvdd" at mainbus0 not configured
> "vdd-cpu" at mainbus0 not configured
> "wifi-pwrseq" at mainbus0 not configured
> "binman" at mainbus0 not configured
> scsibus0 at sdmmc0: 2 targets, initiator 0
> sd0 at scsibus0 targ 1 lun 0: <Sandisk, SD32G, 0085> removable
> sd0: 30436MB, 512 bytes/sector, 62333952 sectors
> manufacturer 0x024c, product 0xd723 at sdmmc1 function 1 not configured
> uhub2 at uhub0 port 1 configuration 1 interface 0 "vendor 0x1a40 USB 2.0 Hub" 
> rev 2.00/1.11 addr 2
> ure0 at uhub2 port 4 configuration 1 interface 0 "Realtek USB 10/100 LAN" rev 
> 2.10/20.00 addr 3
> ure0: RTL8152 (0x4c10), address 00:e0:4c:36:00:e9
> rlphy0 at ure0 phy 0: RTL8201E 10/100 PHY, rev. 2
> vscsi0 at root
> scsibus1 at vscsi0: 256 targets
> softraid0 at root
> scsibus2 at softraid0: 256 targets
> root on sd0a (ff09abc802626de6.a) swap on sd0b dump on sd0b
> sxiccmu_d1_set_frequency: 0x00000084
> cpu0: clock not implemented
> 
> 
> Thanks and best regards!
> -pjp
> 
> -
> Note: My signature has changed.
> 

Reply via email to