FreeBSD 12 r312227 dont boots on Beaglebone black

Otacílio otacilio.neto at bsd.com.br
Fri Jan 27 01:01:05 UTC 2017


Em 25/01/2017 19:13, Oleksandr Tymoshenko escreveu:
> Otacílio (otacilio.neto at bsd.com.br) wrote:
>> Dears
>>
>> I'm trying boot a FreeBSD12-armv6-r312227
>> (u-boot-beaglebone-2017.01.00.1) on a beaglebone black. The snapshot
>> FreeBSD-12.0-CURRENT-arm-armv6-BEAGLEBONE-20170105-r311461.img that I
>> downloaded from
>> ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/arm/armv6/ISO-IMAGES/12.0/
>> works fine, but when I try boot the image that I build on my machine
>> using crouchet I get:
>>
>> U-Boot SPL 2017.01-rc3 (Jan 22 2017 - 23:17:18)
>> Trying to boot from MMC1MMC partition switch failed
>> *** Warning - MMC partition switch failed, using default environment
>>
>> reading u-boot.img
>> reading u-boot.img
>>
>> And boot stops. Someone can confirm that the revision 312227 is working
>> fine?
> I did some digging at the breakage is caused by this commit in U-Boot:
> https://www.mail-archive.com/u-boot@lists.denx.de/msg234317.html
>
> Crochet is using FAT12 for Beaglebone Black. Switching to FAT16 fixes
> the problem. Try applying this patch to crochet and re-build image:
>
> https://people.freebsd.org/~gonzo/patches/crochet-bbb-fat16.diff
>
I have applied the patch and now I'm getting this error. Some hints?


[]'s

-Otacílio


U-Boot SPL 2017.01-rc3 (Jan 22 2017 - 23:17:18)
Trying to boot from MMC1MMC partition switch failed
*** Warning - MMC partition switch failed, using default environment

reading u-boot.img
reading u-boot.img


U-Boot 2017.01-rc3 (Jan 22 2017 - 23:17:18 -0300)

CPU  : AM335X-GP rev 2.0
I2C:   ready
DRAM:  512 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - bad CRC, using default environment

<ethaddr> not set. Validating first E-fuse MAC
Net:   cpsw, usb_ether
Press SPACE to abort autoboot in 2 seconds
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
reading boot.scr
** Unable to read file boot.scr **
reading uEnv.txt
0 bytes read in 4 ms (0 Bytes/s)
Loaded env from uEnv.txt
Importing environment from mmc0 ...
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found FreeBSD U-Boot Loader (bin)
reading ubldr.bin
230992 bytes read in 22 ms (10 MiB/s)
## Starting application at 0x82000000 ...
Consoles: U-Boot console
Compatible U-Boot API signature found @0x9df30c58

FreeBSD/armv6 U-Boot loader, Revision 1.2
(Thu Jan 26 16:55:20 BRT 2017 ota at squitch)

DRAM: 512MB
Number of U-Boot devices: 3
U-Boot env: loaderdev not set, will probe all devices.
Found U-Boot device: disk
   Probing all disk devices...
   Checking unit=0 slice=<auto> partition=<auto>... good.
Booting from disk0s2a:
/boot/kernel/kernel data=0x609624+0x1a29dc syms=[0x4+0x89070+0x4+0x9d363]
/boot/kernel/geom_label.ko text=0x4de8 data=0x870+0x4 
syms=[0x4+0x12c0+0x4+0x1061]

Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...
No valid device tree blob found!

Type '?' for a list of commands, 'help' for more detailed help.
loader>



More information about the freebsd-arm mailing list