Took me a while to find this, and I saw a few questions on misc@ as well
and sense the same frustration I had.
The thread was this one:

http://marc.info/?l=openbsd-misc&m=144562030714263&w=2

I am sure more will have the same frustration then me on this as just
compiling the kernel it does take a LOMG while...

Anyway, on a working system you do need to copy the new kernel to the
fat partition of the USB dive and that was the frustrating part.

The solution is actually real simple after you have done it once...

Like Miod said: "the only filesystem #$%^@# u-boot can read"

Then just do this:

mount_msdos /dev/sd0i /mnt

cp -rp /bsd /mnt/bsd

umount /mnt

reboot and your done.

If you want to see your new file. NOT much space there, so can't keep
multiple kernel there.

# ls -al /mnt
total 22676
drwxr-xr-x   1 root  wheel    16384 Dec 31  1979 .
drwxr-xr-x  13 root  wheel      512 Nov 13 22:38 ..
-rwxr-xr-x   1 root  wheel  4029297 Nov 13 22:38 bsd
-rwxr-xr-x   1 root  wheel  7559405 Oct 13 04:58 bsd.rd

at reboot you have the new kernel.

Hopefully this will save time to others too.

I haven't find it anywhere, so now it is!


# dmesg
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2015 OpenBSD. All rights reserved.
http://www.OpenBSD.org

OpenBSD 5.8-current (GENERIC) #0: Fri Nov 13 22:35:14 EST 2015
    r...@gateway.ouellet.us:/usr/src/sys/arch/octeon/compile/GENERIC
real mem = 247463936 (236MB)
avail mem = 245170176 (233MB)
warning: no entropy supplied by boot loader
mainbus0 at root
cpu0 at mainbus0: Cavium OCTEON CPU rev 0.1 500 MHz, Software FP emulation
cpu0: cache L1-I 32KB 4 way D 8KB 64 way, L2 128KB 8 way
clock0 at mainbus0: int 5
iobus0 at mainbus0
dwctwo0 at iobus0 base 0x1180068000000 irq 56
usb0 at dwctwo0: USB revision 2.0
uhub0 at usb0 "Octeon DWC2 root hub" rev 2.00/1.00 addr 1
octrng0 at iobus0 base 0x1400000000000 irq 0
cn30xxgmx0 at iobus0 base 0x1180008000000 irq 48
cnmac0 at cn30xxgmx0: RGMII, address 44:d9:e7:40:ac:f8
atphy0 at cnmac0 phy 7: F1 10/100/1000 PHY, rev. 2
cnmac1 at cn30xxgmx0: RGMII, address 44:d9:e7:40:ac:f9
atphy1 at cnmac1 phy 6: F1 10/100/1000 PHY, rev. 2
cnmac2 at cn30xxgmx0: RGMII, address 44:d9:e7:40:ac:fa
atphy2 at cnmac2 phy 5: F1 10/100/1000 PHY, rev. 2
uartbus0 at mainbus0
com0 at uartbus0 base 0x1180000000800 irq 34: ns16550, no working fifo
com0: console
com1 at uartbus0 base 0x1180000000c00 irq 35: ns16550, no working fifo
/dev/ksyms: Symbol table not valid.
umass0 at uhub0 port 1 configuration 1 interface 0 "SanDisk Cruzer Fit"
rev 2.00/1.27 addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, initiator 0
sd0 at scsibus0 targ 1 lun 0: <SanDisk, Cruzer Fit, 1.27> SCSI4 0/direct
removable serial.07815571360927117103
sd0: 15267MB, 512 bytes/sector, 31266816 sectorsmisc
vscsi0 at root
scsibus1 at vscsi0: 256 targets
softraid0 at root
scsibus2 at softraid0: 256 targets
boot device: sd0
root on sd0a (55072c2137c3a4e7.a) swap on sd0b dump on sd0b
WARNING: No TOD clock, believing file system.
WARNING: CHECK AND RESET THE DATE!

Reply via email to