Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Feb 2021 23:09:30 -0500
From:      Kenneth Freidank <kenneth.freidank@gmail.com>
To:        freebsd-arm@freebsd.org
Subject:   Raspberry Pi 3 Building arm.armv7 12.2 w/Crochet
Message-ID:  <CAG9tf_3-mRyiCXTMZkgsfj3%2B_S0-LjMhqxRAFE4Zh799PJ28tQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
I'm attempting to build a 32 bit 12.2 release for the raspberry pi3 with
crochet.

Any help would be appreciated.

Motivation:  build a 32 bit couchdb3 (works on raspbian - debian 10.4
Buster), the pkg install of couchdb3 on aarch64 does not stay up...guessing
it is running out of memory on a 64 bit system with only the 1G pi3.

My development host is a 32 bit 12.2 release intel.
- pkg rpi-firmware version:  1.20210201.g20210201_1
- pkg u-boot-rpi3-32 version:  2020.10
- board_setup RaspberryPi3
- board/RaspberryPi3/setup.sh
  - TARGET=arm
  - TARGET_ARCH=armv7
  - KERNCONF=GENERIC
  - RPI3_UBOOT_PORT="u-boot-rpi3-32"
  - RPI3_UBOOT_BIN="u-boot.bin"
  - RPI_FIRMWARE_PORT="rpi-firmware"
- config.txt
  - init_uart_clock=3000000
  - enable_uart=1
  - kernel=u-boot.bin
  - kernel7=u-boot.bin
  - dtoverlay=mmc
  - dtoverlay=pi3-disable-bt


When the PI3 boots, I get past the rainbow screen, but the result is:

FreeBSD EFI Boot block
Loader path:  /boot/loader.efi
Initializing modules:  ZFS UFS
Load Path: /efi\boot\bootarm.efi
Load Device: /VenHw(e61d73b9-
Probing 3 block devices...not supported
not supported
not supported
done
ZFS found no pools
UFS found no partitions
Failed to load '/boot/loader.efi'
panic: No bootable partitions found!
## Application failed, r = 1
EFI LOAD FAILED: continuing...
MMC Device 1 not found
no mmc device at slot 1

U-Boot> version
U-Boot 2020.10 (Feb 06 2021 - 10:34:18 +0000)
arm-none-eabi-gcc (FreeBSD Ports Collection for armnoneeabi) 8.4.0
GNU 1d (GNU Binutils) 2.33.1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG9tf_3-mRyiCXTMZkgsfj3%2B_S0-LjMhqxRAFE4Zh799PJ28tQ>