On Tue, Oct 17, 2017 at 04:48:19PM -0700, Carlos Cardenas wrote:
> Howdy.
> 
> I found a working USB (Sandisk Cruzer Fit 8GB) to install 6.2 on a RPI3.
> 
> Install went fine and so was first boot, then I noticed that relinking
> the kernel failed.
> 
> Below is my dmesg and error log.
> 
> I thought it might have been due to the clock being way skewed by I
> sync'ed it manually and still run into the same error.
> 
> Any pointers on how to proceed?

The version of lld (4.0.0) in 6.2 could not handle the linker script
required for that.  Snapshots have llvm/lld 5.0.0 and relinking should
work there.

> 
> +--+
> Carlos
> OpenBSD 6.2 (GENERIC) #34: Tue Oct  3 23:53:05 MDT 2017
>     dera...@arm64.openbsd.org:/usr/src/sys/arch/arm64/compile/GENERIC
> real mem  = 964972544 (920MB)
> avail mem = 909017088 (866MB)
> mainbus0 at root: Raspberry Pi 3 Model B Rev 1.2
> cpu0 at mainbus0: ARM Cortex-A53 r0p4
> simplefb0 at mainbus0: 656x416
> wsdisplay0 at simplefb0 mux 1
> wsdisplay0: screen 0 added (std, vt100 emulation)
> simplebus0 at mainbus0: "soc"
> bcmintc0 at simplebus0
> bcmdog0 at simplebus0
> pluart0 at simplebus0
> bcmaux0 at simplebus0
> com0 at simplebus0: ns16550, no working fifo
> com0: console
> dwctwo0 at simplebus0
> agtimer0 at simplebus0: tick rate 19200 KHz
> syscon0 at simplebus0
> simplebus1 at mainbus0: "clocks"
> usb0 at dwctwo0: USB revision 2.0
> uhub0 at usb0 configuration 1 interface 0 "Broadcom DWC2 root hub" rev 
> 2.00/1.00 addr 1
> uhub1 at uhub0 port 1 configuration 1 interface 0 "Standard Microsystems 
> product 0x9514" rev 2.00/2.00 addr 2
> smsc0 at uhub1 port 1 configuration 1 interface 0 "Standard Microsystems 
> SMSC9512/14" rev 2.00/2.00 addr 3
> smsc0: address b8:27:eb:1c:06:b7
> ukphy0 at smsc0 phy 1: Generic IEEE 802.3u media interface, rev. 3: OUI 
> 0x0001f0, model 0x000c
> umass0 at uhub1 port 5 configuration 1 interface 0 "SanDisk Cruzer Fit" rev 
> 2.10/1.00 addr 4
> umass0: using SCSI over Bulk-Only
> scsibus0 at umass0: 2 targets, initiator 0
> sd0 at scsibus0 targ 1 lun 0: <SanDisk, Cruzer Fit, 1.00> SCSI4 0/direct 
> removable serial.07815571040905110075
> sd0: 7632MB, 512 bytes/sector, 15630336 sectors
> vscsi0 at root
> scsibus1 at vscsi0: 256 targets
> softraid0 at root
> scsibus2 at softraid0: 256 targets
> bootfile: sd0a:/bsd
> boot device: sd0
> root on sd0a (b045dd5058980495.a) swap on sd0b dump on sd0b
> WARNING: CHECK AND RESET THE DATE!
> 
> 
> # cat /usr/share/compile/GENERIC/relink.log
> (SHA256) /bsd: OK
> LD="ld" sh makegap.sh 0xd4d4d4d4 gapdummy.o
> ld: error: gap.link:11: unknown command ;
> ld: error: gap.link:11:                 LONG(0xd4d4d4d4);
> ld: error: gap.link:11:                   ^
> ld: error: cannot open gapdummy.o: No such file or directory
> ld: error: target emulation unknown: -m or at least one .o file required
> *** Error 1 in /usr/share/compile/GENERIC (Makefile:529 'newbsd')
> 

Reply via email to