On Sat, Jun 06, 2020 at 03:13:38PM +0200, Sebastian Benoit wrote:
> Hi,

Hi,

> 
> i'm trying to reactivate my old sabre lite board. It has u-boot on an
> internal flash.
> 
> I can update it to the u-boot supplied by boundary devices (U-Boot 2018.07).
> With that i can boot their Debian 10 image.

Last february, I flashed u-boot 2020.1 from ports to the internal nor
flash to be able to load the OpenBSD  EFI boot loader.
The 2016 version I was using previously stopped working sometimes in
late 2019.

I'm also a bit lost, I'm not sure which fdt is loaded (if any). I
basically stopped when the machine started to boot again.

This is how it looks like:

U-Boot 2020.01 (Feb 18 2020 - 16:36:25 -0700)

CPU:   Freescale i.MX6Q rev1.2 at 792 MHz
Reset cause: WDOG
Model: Boundary Devices i.MX6 Quad Nitrogen6x Board
Board: SABRE Lite
I2C:   ready
DRAM:  1 GiB
MMC:   FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from SPI Flash... SF: Detected sst25vf016b with page size 
256 Bytes, erase size 4 KiB, total 2 MiB
*** Warning - bad CRC, using default environment

No panel detected: default to HDMI
Display: HDMI (1024x768)
In:    serial
Out:   serial
Err:   serial
Net:   using phy at 6
FEC [PRIME], usb_ether
Error: usb_ether address not set.

Hit any key to stop autoboot:  0 
MMC: no card present
MMC: no card present
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: ncq stag pm led clo only pmp pio slum part 
SATA Device Info:
S/N: S1D5NSBDB24432N
Product model number: Samsung SSD 840 EVO 120GB
Firmware version: EXT0BB0Q
Capacity: 234441648 sectors

Device 0: Model: Samsung SSD 840 EVO 120GB Firm: EXT0BB0Q Ser#: S1D5NSBDB24432N
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 114473.4 MB = 111.7 GB (234441648 x 512)
... is now current device
Unknown command 'part' - try 'help'
Scanning sata 0:1...
** Unable to read file / **
Found EFI removable media binary efi/boot/bootarm.efi
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
MMC: no card present
Scanning disk us...@2198000.blk...
Disk us...@2198000.blk not ready
MMC: no card present
Scanning disk us...@219c000.blk...
Disk us...@219c000.blk not ready
Scanning disk s...@2200000.blk...
** Unrecognized filesystem type **
Found 3 disks
BootOrder not defined
EFI boot manager: Cannot load any image
105028 bytes read in 10 ms (10 MiB/s)
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
disks: sd0*
>> OpenBSD/armv7 BOOTARM 1.11
boot> 
booting sd0a:/bsd: 4693300+688344+252240+564404
[254120+120+324848+288747]=0x0

OpenBSD/armv7 booting ...
arg0 0xc09be664 arg1 0x0 arg2 0x17ef4000
Allocating page tables
IRQ stack: p0x109ed000 v0xc09ed000
ABT stack: p0x109ee000 v0xc09ee000
UND stack: p0x109ef000 v0xc09ef000
SVC stack: p0x109f0000 v0xc09f0000
Creating L1 page table at 0x109c0000
Mapping kernel
Constructing L2 page tables
undefined page type 0x2 pa 0x10000000 va 0x10000000 pages 0x2000 attr
0x8
type 0x7 pa 0x12000000 va 0x12000000 pages 0x5ef4 attr 0x8
type 0x4 pa 0x17ef4000 va 0x17ef4000 pages 0x18 attr 0x8
type 0x7 pa 0x17f0c000 va 0x17f0c000 pages 0x35eab attr 0x8
type 0x2 pa 0x4ddb7000 va 0x4ddb7000 pages 0x673 attr 0x8
type 0x4 pa 0x4e42a000 va 0x4e42a000 pages 0x1 attr 0x8
type 0x2 pa 0x4e42b000 va 0x4e42b000 pages 0x3 attr 0x8
type 0x7 pa 0x4e42e000 va 0x4e42e000 pages 0x1 attr 0x8
type 0x2 pa 0x4e42f000 va 0x4e42f000 pages 0x100 attr 0x8
type 0x1 pa 0x4e52f000 va 0x4e52f000 pages 0x1a attr 0x8
type 0x0 pa 0x4e549000 va 0x4e549000 pages 0x5 attr 0x8
type 0x4 pa 0x4e54e000 va 0x4e54e000 pages 0x1 attr 0x8
type 0x6 pa 0x4e54f000 va 0x4e54f000 pages 0x1 attr 0x8000000000000008
type 0x4 pa 0x4e550000 va 0x4e550000 pages 0x2 attr 0x8
type 0x0 pa 0x4e552000 va 0x4e552000 pages 0x4 attr 0x8
type 0x4 pa 0x4e556000 va 0x4e556000 pages 0x2 attr 0x8
type 0x0 pa 0x4e558000 va 0x4e558000 pages 0x2 attr 0x8
type 0x6 pa 0x4e55a000 va 0x4e55a000 pages 0x1 attr 0x8000000000000008
type 0x0 pa 0x4e55b000 va 0x4e55b000 pages 0x1 attr 0x8
type 0x2 pa 0x4e55c000 va 0x4e55c000 pages 0x1a0c attr 0x8
type 0x5 pa 0x4ff68000 va 0x4ff68000 pages 0x1 attr 0x8000000000000008
type 0x2 pa 0x4ff69000 va 0x4ff69000 pages 0x97 attr 0x8
pmap [ using 868448 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2020 OpenBSD. All rights reserved. https://www.OpenBSD.org

OpenBSD 6.7-current (GENERIC) #137: Sat Jun  6 17:26:42 CEST 2020
    matth...@sabre.herrb.net:/usr/obj/GENERIC
real mem  = 1037692928 (989MB)
avail mem = 1007177728 (960MB)
random: boothowto does not indicate good seed
mainbus0 at root: Boundary Devices i.MX6 Quad Nitrogen6x Board
cpu0 at mainbus0 mpidr 0: ARM Cortex-A9 r2p10
cpu0: 32KB 32b/line 4-way L1 VIPT I-cache, 32KB 32b/line 4-way L1 D-cache
cortex0 at mainbus0
amptimer0 at cortex0: tick rate 396000 KHz
armliicc0 at cortex0: rtl 7 waymask: 0x0000000f
imxtemp0 at mainbus0simplebus0 at mainbus0: "soc"
ampintc0 at simplebus0 nirq 160, ncpu 4: "interrupt-controller"
"dma-apbh" at simplebus0 not configured
"gpu" at simplebus0 not configured
"gpu" at simplebus0 not configured
"timer" at simplebus0 not configured
"l2-cache" at simplebus0 not configured
"pcie" at simplebus0 not configured
simplebus1 at simplebus0: "aips-bus"
imxccm0 at simplebus1
imxanatop0 at simplebus1
syscon0 at simplebus1: "snvs"
imxrtc0 at syscon0
"snvs-lpgpr" at syscon0 not configured
imxsrc0 at simplebus1
syscon1 at simplebus1: "iomuxc-gpr"
"mux-controller" at syscon1 not configured
"ipu1_csi0_mux" at syscon1 not configured
"ipu2_csi1_mux" at syscon1 not configured
imxiomuxc0 at simplebus1
simplebus2 at simplebus1: "spba-bus"
imxspi0 at simplebus2
imxuart0 at simplebus2
"asrc" at simplebus2 not configured
"vpu" at simplebus1 not configured
"pwm" at simplebus1 not configured
"pwm" at simplebus1 not configured
"pwm" at simplebus1 not configured
"gpt" at simplebus1 not configured
imxgpio0 at simplebus1
imxgpio1 at simplebus1
imxgpio2 at simplebus1
imxgpio3 at simplebus1
imxgpio4 at simplebus1
imxgpio5 at simplebus1
imxgpio6 at simplebus1
imxdog0 at simplebus1
"usbphy" at simplebus1 not configured
"usbphy" at simplebus1 not configured
imxgpc0 at simplebus1
"sdma" at simplebus1 not configured
simplebus3 at simplebus0: "aips-bus"
syscon2 at simplebus3: "ocotp"
"caam" at simplebus3 not configured
imxehci0 at simplebus3
usb0 at imxehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "i.MX EHCI root hub" rev 2.00/1.00 
addr 1
imxehci1 at simplebus3
usb1 at imxehci1: USB revision 2.0
uhub1 at usb1 configuration 1 interface 0 "i.MX EHCI root hub" rev 2.00/1.00 
addr 1
"usbmisc" at simplebus3 not configured
fec0 at simplebus3
fec0: address 00:19:b8:01:31:1c
ukphy0 at fec0 phy 6: Generic IEEE 802.3u media interface, rev. 1: OUI 
0x000885, model 0x0021
imxesdhc0 at simplebus3
imxesdhc0: 198 MHz base clock
sdmmc0 at imxesdhc0: 4-bit, sd high-speed, mmc high-speed, dma
imxesdhc1 at simplebus3
imxesdhc1: 198 MHz base clock
sdmmc1 at imxesdhc1: 4-bit, sd high-speed, mmc high-speed, dma
imxiic0 at simplebus3
iic0 at imxiic0
imxiic1 at simplebus3
iic1 at imxiic1
"fsl,imx6-hdmi-i2c" at iic1 addr 0x50 not configured
imxiic2 at simplebus3
iic2 at imxiic2
"mmdc" at simplebus3 not configured
"vdoa" at simplebus3 not configured
imxuart1 at simplebus3: console
imxuart2 at simplebus3
"ipu" at simplebus0 not configured
"sram" at simplebus0 not configured
imxahci0 at simplebus0: AHCI 1.3
imxahci0: port 0: 3.0Gb/s
scsibus0 at imxahci0: 32 targets
sd0 at scsibus0 targ 0 lun 0: <ATA, Samsung SSD 840, EXT0> naa.50025388a00f2042
sd0: 114473MB, 512 bytes/sector, 234441648 sectors, thin
"gpu" at simplebus0 not configured
"ipu" at simplebus0 not configured
uhub2 at uhub1 port 1 configuration 1 interface 0 "Standard Microsystems Hub" 
rev 2.00/b.b3 addr 2
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 (39faca38ffbd8b59.a) swap on sd0b dump on sd0b
imxccm_enable: 0x00000070

-- 
Matthieu Herrb

Reply via email to