Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 May 2019 19:42:18 +0000
From:      James Shuriff <james@opentech.cc>
To:        bob prohaska <fbsd@www.zefox.net>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   RE: Compiling u-boot-rpi3 on an rpi3
Message-ID:  <BN7PR06MB5187306D1FBAA7F493F553FDAA300@BN7PR06MB5187.namprd06.prod.outlook.com>
In-Reply-To: <20190506192919.GA44506@www.zefox.net>
References:  <20190506020115.GA40421@www.zefox.net> <CAJwjRmS4jFxjocLWxTFmP7z1_ovT-E-ktiettV3dmn5XdB9XcQ@mail.gmail.com> <20190506151908.GA43714@www.zefox.net> <CAJwjRmRmaYbvQCh7Cy8TBKsExZ2zAHj=YAGWixzfSO0M4Ez=TA@mail.gmail.com> <20190506180501.GB44000@www.zefox.net> <BN7PR06MB5187B86ABD88FD179C931316AA300@BN7PR06MB5187.namprd06.prod.outlook.com> <20190506192919.GA44506@www.zefox.net>

next in thread | previous in thread | raw e-mail | index | archive | help
/boot/msdos is an arbitrary location. It's not even required to mount it. I=
 mount my FAT partition elsewhere. Some boards don't even have u-boot in th=
e filesystem they dd it directly onto the disk. Also consider you don't hav=
e to build the port on the Raspberry Pi, so there would be no way to instal=
l u-boot from the host system without knowing where the SD card is mounted.

The rpi-firmware port also puts stuff in /usr/local/share. That's the port =
that has most of the files needed for the Raspberry Pi's FAT partition. Her=
e is a list of the files in the FAT partition and where you can get them fr=
om:

/LICENSE.broadcom: rpi-firmware port
/armstub8.bin: rpi-firmware port
/bcm2710-rpi-3-b.dtb: rpi-firmware port
/bootcode.bin: rpi-firmware port
/config.txt: rpi-firmware (config_rpi3.txt)
/dtb/*: FreeBSD Build Output (/usr/obj/usr/src/arm64.aarch64/sys/$KERNCONF/=
modules/usr/src/sys/modules/dtb or /boot/dtb on the Raspberry Pi)
/fixup*.dat: rpi-firmware port
/overlays/*: rpi-firmware port
/start*.elf: rpi-firmware port
/u-boot.bin: u-boot-rpi3 port

- James Shuriff

-----Original Message-----
From: bob prohaska <fbsd@www.zefox.net>
Sent: Monday, May 6, 2019 3:29 PM
To: James Shuriff <james@opentech.cc>
Cc: bob prohaska <fbsd@www.zefox.net>
Subject: Re: Compiling u-boot-rpi3 on an rpi3

On Mon, May 06, 2019 at 06:18:35PM +0000, James Shuriff wrote:
> Copy /usr/local/share/u-boot/u-boot-rpi3/u-boot.bin to /boot/msdos.
>

Ok, that did the trick.  Is there some particular reason make install didn'=
t perform the copy?

Thank you very much!

bob prohaska


> - James Shuriff
>
> -----Original Message-----
> From: owner-freebsd-arm@freebsd.org <owner-freebsd-arm@freebsd.org> On
> Behalf Of bob prohaska
> Sent: Monday, May 6, 2019 2:05 PM
> To: Mika??l Urankar <mikael.urankar@gmail.com>
> Cc: freebsd-arm@freebsd.org; freebsd-ports@freebsd.org
> Subject: Re: Compiling u-boot-rpi3 on an rpi3
>
> On Mon, May 06, 2019 at 06:20:45PM +0200, Mika??l Urankar wrote:
> > Le lun. 6 mai 2019 ?? 17:19, bob prohaska <fbsd@www.zefox.net> a ??crit=
 :
> > >
> > > On Mon, May 06, 2019 at 03:22:31PM +0200, Mika??l Urankar wrote:
> > > >
> > > > It builds fine here on aarch64, do you have security/openssl* insta=
lled?
> > > >
> > >
> > > Yes, security/openssl is installed. I didn't use it by default
> > > because of earlier reports of trouble. The system reminds me that
> >
> > Delete it and rebuild u-boot-rpi3
> >
>
> That certainly helped, make now runs successfully.
>
> But, make install didn't update anything in /boot/msdos.
> There seem to be three copies of u-boot-bin floating around, with identic=
al size. Should I copy one manually to /boot/msdos, and does it matter whic=
h one?
>
> Thanks for reading and your help!
>
> 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"
> ________________________________
>  DISCLAIMER: This message and any attachments are intended solely for the=
 use of the recipient and may contain confidential information. If you have=
 received this message in error please delete it and promptly notify the se=
nder, James Shuriff (james@opentech.cc<mailto:james@opentech.cc>).
>
________________________________
 DISCLAIMER: This message and any attachments are intended solely for the u=
se of the recipient and may contain confidential information. If you have r=
eceived this message in error please delete it and promptly notify the send=
er, James Shuriff (james@opentech.cc<mailto:james@opentech.cc>).



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