FreeBSD 10.0 on Raspberry PI B+ no network devices

Andreas Schwarz Andreas.Schwarz at schwarzes.net
Wed Aug 27 00:14:11 UTC 2014


On Tue, 26 Aug 2014 19:20:38 -0400
George Rosamond <george at ceetonetechnology.com> wrote:
> Erich Dollansky wrote:
> > On Mon, 25 Aug 2014 16:35:36 +0200 (CEST)
> > Andreas Schwarz <Andreas.Schwarz at schwarzes.net> wrote:
> >
> >> I've got also two B+ Models two weeks ago and I'm able to use the
> >> image (r269955) from my B Models without any problems. The only
> >> thing, what I had to do, was to upgrade the bootloader to a recent
> >> version.
> >>
> >> Have a look at :
> >>
> >>   https://github.com/raspberrypi/firmware/tree/master/boot
> >>
> > I used now the image from
> > 
> > http://freebsd-current.os-hackers.jp/pub/FreeBSD/snapshots/20140725/raspberry-pi/
> > 
> > and the machine boots. I do not know more at the moment.
> 
> I assume the entire RPi firmware from Github directory gets dumped into
> /boot/msdos?

Yes, but we don't need the kernel.img, at this point we are loading the 
uboot.img (keep uboot.img and ubldr from your existing boot partition).

See the structure of my boot partition below.

root at pizelot:~ # mount_msdosfs /dev/mmcsd0s1 /mnt/

root at pizelot:~ # ll /mnt/
total 7140
-rwxr-xr-x  1 root  wheel    17840 Aug 13 04:16 bootcode.bin
-rwxr-xr-x  1 root  wheel      101 Aug 13 04:17 config.txt
-rwxr-xr-x  1 root  wheel     6061 Aug 13 04:16 fixup.dat
-rwxr-xr-x  1 root  wheel     2276 Aug 13 04:16 fixup_cd.dat
-rwxr-xr-x  1 root  wheel     9107 Aug 13 04:16 fixup_x.dat
-rwxr-xr-x  1 root  wheel    16041 Jul  2 09:30 rpi.dtb
-rwxr-xr-x  1 root  wheel  2595320 Aug 13 04:16 start.elf
-rwxr-xr-x  1 root  wheel   528632 Aug 13 04:16 start_cd.elf
-rwxr-xr-x  1 root  wheel  3550632 Aug 13 04:16 start_x.elf
-rwxr-xr-x  1 root  wheel   250129 Jul  2 09:30 ubldr
-rwxr-xr-x  1 root  wheel   306016 Jul  2 09:30 uboot.img
-rwxr-xr-x  1 root  wheel       89 Jul  2 09:30 uenv.txt

root at pizelot:~ # cat /mnt/config.txt
disable_commandline_tags=1
gpu_mem=16
device_tree=rpi.dtb
device_tree_address=0x100
kernel=uboot.img

root at pizelot:~ # cat /mnt/uenv.txt
loadbootscript=fatload mmc 0 0x2000000 ubldr
bootscript=fdt addr 0x100;bootelf 0x2000000

-- 
best regards
Andreas


More information about the freebsd-arm mailing list