[haiku-commits] Re: haiku: hrev49100 - src/system/boot/platform/u-boot build/jam/board/rpi2 build/jam/board/beagle

  • From: François Revol <revol@xxxxxxx>
  • To: Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>
  • Date: Fri, 24 Apr 2015 15:05:43 +0200

On 24/04/2015 14:55, Adrien Destugues wrote:

How does this fix it? The Raspberry Pi and beagle use the linux u-boot
image.

They are loaded differently: For the NetBSD image, the FDT is built
inside the single uImage. In Linux case, you need to load it
separately from u-boot then give its location to the kernel.

The code above only fixes the inclusion in the NetBSD image, but
François also added a missing MakeLocate which makes the CompileDTS
code work again in either case (so there is no need to repeat it in
the board specific files).

Yes, so now you can reference it directly with
$(HAIKU_BOARD_FDT_NAME).dtb in the BoardConfig without specifying its
full path.

François.

Other related posts: