Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Questions about the building process (Olimex lime2)



On Thu, Jul 11, 2019 at 11:06:02AM +0200, tlaronde%polynum.com@localhost wrote:
> Yes ;-) u-boot is compiled in pkgsrc and added after. But I mean the 
> files present in the FAT partition of the image?
> 
> Is u-boot compiled to directly load NetBSD or chainload a NetBSD second
> stage bootloader dedicated to load the NetBSD kernel and does not use 
> any of the scripts in the FAT partition? Or are these scripts used to
> decide what and where to load?

U-boot comes with a default environment and scripts in that, we do not
modify that part (for the boards I know about).

It typically finds the efi boot loader and that loads NetBSD from the FFS
partition.

> And, secondly, are the dtb files in the FAT partition used by u-boot and
> NetBSD, or only by u-boot (NetBSD taking them somewhere else) or even 
> not used by u-boot (here as a Linux artefact)?

U-boot comes with its own DTB build in. The dtb files in the FAT partition
are passed to the NetBSD kernel (if one matching your board is found, otherwise
the u-boot build in one is used).

Martin


Home | Main Index | Thread Index | Old Index