Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Apr 2016 16:29:26 -0600
From:      Ian Lepore <ian@freebsd.org>
To:        bob prohaska <fbsd@www.zefox.net>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: No usable event timer found on RPI2
Message-ID:  <1460240966.1091.340.camel@freebsd.org>
In-Reply-To: <20160409181716.GH71221@www.zefox.net>
References:  <20160409020229.GF71221@www.zefox.net> <CAFHCsPWMqtnOtMRZ9CiL%2B2_1Ox_d_Mh=LdoGMGRHBjZVd12HfA@mail.gmail.com> <20160409164903.GG71221@www.zefox.net> <1460220814.1091.338.camel@freebsd.org> <20160409181716.GH71221@www.zefox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 2016-04-09 at 11:17 -0700, bob prohaska wrote:
> On Sat, Apr 09, 2016 at 10:53:34AM -0600, Ian Lepore wrote:
> > 
> > The rpi.dtb file lives on the FAT partition where u-boot is, but
> > it's
> > created by the freebsd build process and installing the kernel puts
> > the
> > new dtb into /boot/dtb on the freebsd rootfs.  Something else
> > (crochet
> > or some similar script, or you by hand) have to copy from there to
> > the
> > FAT partition on the sdcard.
> > 
> > Note that right now all of this is unique to rpi.  For other arm
> > boards, u-boot isn't involved in the dtb file loading at all and
> > the
> > file is normally read by ubldr from the freebsd filesystem.
> > 
> > There may come a day when all arm boards have to work more like rpi
> > does now (due to the way the u-boot world is evolving).
> > 
> > 
>  
> What inhibits making the copy to FAT part of  kernel install?
> 

The freebsd build process doesn't know anything about filesystems, it
just installs things to DESTDIR (which is / by default).

If you're doing the kernel build and install native on the rpi, you
could get the effect you want by doing:

 mount -t msdosfs /dev/mmcsd0s1 /boot/dtb
 make installkernel
 umount /boot/dtb

At least, I think that should work.

-- Ian

> The file has been moved. When the present build/install cycle
> completes I'll discover the next of my mistakes 8-).
> 
> With my thanks,
> 
> bob prohaska
> 
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org
> "



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1460240966.1091.340.camel>