| Summary: | BEAGLEBONE-20180802-r337160 fails to boot on BBG | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Ed Maste <emaste> |
| Component: | arm | Assignee: | freebsd-arm (Nobody) <freebsd-arm> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | CC: | manu |
| Priority: | --- | ||
| Version: | CURRENT | ||
| Hardware: | Any | ||
| OS: | Any | ||
| Bug Depends on: | |||
| Bug Blocks: | 228911 | ||
|
Description
Ed Maste
2018-08-03 15:27:00 UTC
Is this the BBG wireless ? It seems to use a different DTB that we don't copy. U-Boot env variable board_name should be 'BBG1' for the classic BeagleBone Green and 'BBGW' for the wireless version. board_name=BBG1 So the problem is that as TI use one u-boot for all Beaglebone variant they don't embed the DTB. I'll see how to fix that. Tried 'load -t dtb ..' on manu@'s suggestion and it works: OK load -t dtb /boot/dtb/beaglebone-black.dtb /boot/dtb/beaglebone-black.dtb size=0xc8fc OK boot Booting... Using DTB from loaded file '/boot/dtb/beaglebone-black.dtb'. Kernel entry at 0x95000180... Kernel args: (null) modulep: 0xc0cd5000 relocation_offset 0 ARM Debug Architecture not supported KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2018 The FreeBSD Project. ... Or: OK load -t dtb /boot/dtb/am335x-bonegreen.dtb Copying /boot/dtb/am335x-bonegreen.dtb to /boot/mdsos/dtb did not work. Misunderstood the earlier suggestion; this worked: root@generic:~ # mkdir /boot/msdos/dtb root@generic:~ # cp /boot/dtb/am335x-bonegreen.dtb /boot/msdos/dtb/ Follow up on IRC discussion: EFI requires to have a dtb, its either embeded in u-boot (address in $fdtcontroladdr) or u-boot will try to load from thoses location : efi_dtb_prefixes=/ /dtb/ /dtb/current/ So for the BBB family we need to install the DTB on the fat partition I've started a release build with a patch and will open a review once I've confirmed that everything is working. Fixed by 337383 |