freebsd / crochet

Build FreeBSD images for RaspberryPi, BeagleBone, PandaBoard, and others.
BSD 2-Clause "Simplified" License
609 stars 187 forks source link

cubieboard2 11.1-RELEASE build fails to boot with "No valid device tree blob found!" #200

Open paulzhol opened 6 years ago

paulzhol commented 6 years ago

drops into loader> prompt. Looks exactly like #186. I think it's caused by the new u-boot-sunxi-with-spl.bin 2017.01 u-boot.

I've ended up with this in my /boot/loader.rc.local:

load /boot/kernel/kernel
load -t dtb /boot/dtb/cubieboard2.dtb

Should this file be added to the cubieboard2 (and probably the rest of the allwinner boards) overlay?

kientzle commented 6 years ago

You should ask on the freebsd-arm mailing list and see what those folks recommend.

More likely, recent changes to the U-Boot port have changed the expected DTB file name. I know Warner and other FreeBSD folks have been trying to make the various U-Boot ports more consistent and some of the file names have been changing around in the process.

zilti commented 6 years ago

Same with my Orange Pi Plus 2, just that I have to do load -t dtb /boot/dtb/orangepi-plus-2e.dtb instead.

paulzhol commented 6 years ago

I've looked at the official image (FreeBSD-11.1-RELEASE-arm-armv6-CUBIEBOARD2.img.xz). Attached the console log. It is loading /boot/dtb/sun7i-a20-cubieboard2.dtb and proceeding correctly.

I've removed my /boot/loader.rc.local and hard-linked /boot/dtb/sun7i-a20-cubieboard2.dtb to /boot/dtb/cubieboard2.dtb. It's booting correctly!

Debian wiki has a list of supported boards and their respective dtbs here.