Summary: | FreeBSD 11.3-RELEASE boot failed on RaspberryPI 1 | ||
---|---|---|---|
Product: | Base System | Reporter: | Oleksii Samorukov <samm> |
Component: | arm | Assignee: | freebsd-arm (Nobody) <freebsd-arm> |
Status: | Closed Overcome By Events | ||
Severity: | Affects Some People | CC: | dteske, fbsdbugs4, imp, linimon, matiasgutierrezreto, rgrimes |
Priority: | --- | Keywords: | regression |
Version: | 11.3-RELEASE | ||
Hardware: | arm | ||
OS: | Any |
Description
Oleksii Samorukov
![]() ![]() I found that problem is with loader and dtb file. Ubldr now seems to ignore uboot.fdtfile=bcm2835-rpi-b-rev2.dtb enry. If i am doing in loader: "load -t dtb bcm2835-rpi-b-rev2.dtb" and then boot - it loads as expected. I can see var in the "ubenv show" output, so it makes me thinking that loader simply ignores it. As temporary workaround i am using now fat partition from the 11.2-RELEASE Some additional data: new firmware of rpi, which is installed in the loader, automatically loads bcm2708-rpi-b.dtb file. This file seems to be taken from and is not playing well with a FreeBSD. ubldr detects that this dtb is loaded by u-boot and is not loading one from FreeBSD /boot directory. Also if i am enforcing RPi loader to use file from /boot - u-boot hangs and i have a black screen on load I been able to load FreeBSD with a loader from FreeBSD 11.3 using such hack: --- /boot/loader.4th.orig 2019-07-14 20:12:47.780973000 +0000 +++ /boot/loader.4th 2019-07-14 20:21:05.650486000 +0000 @@ -151,6 +151,8 @@ s" loader_delay" getenv -1 = if load_xen_throw load_kernel + s" ubenv import fdtfile" evaluate + s" load -t dtb ${uboot.fdtfile}" evaluate load_modules else drop This needs to be fixed on upstream, not sure about correct way to handle that. Hi Oleksii, Would you please confirm if only updating boot/loader.4th with your patch is all what is required to boot 11.3 version? Now I'm running 11.2 but I'd like to upgrade. I tried with 12.x with no luck. Thanks! |