Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jan 2018 18:36:36 +0100
From:      "Klaus P. Ohrhallinger" <k@7he.at>
To:        Greg V <greg@unrelenting.technology>, freebsd-arm@freebsd.org
Subject:   Re: Raspberry Pi 3 Network Boot
Message-ID:  <a0a6619b-bae4-bedc-f2ce-3ef933400e55@7he.at>
In-Reply-To: <9e4dcfc9-e290-359d-44b1-c205456243e9@unrelenting.technology>
References:  <49ff966d-7fd9-b568-1cef-d74787de913b@7he.at> <9e4dcfc9-e290-359d-44b1-c205456243e9@unrelenting.technology>

next in thread | previous in thread | raw e-mail | index | archive | help
On 20.01.2018 16:46, Greg V wrote:

Hello,

> Thanks a lot! Patching the PSCI monitor with the 0x200 thing and loading
> FDT at 0x4000 works!
> 
> It works without the timer ticks stuff in U-boot, but downloading the
> kernel is extremely slow. Are these patches for performance?

Most of the U-Boot patch is dead debugging code, all you need is:

efi_net_receive_filters():
return EFI_EXIT(EFI_SUCCESS);

efi_console_register():
r = efi_set_timer(console_timer_event, EFI_TIMER_PERIODIC, 100*1000*10)

Default is 50, which polls the console (uart) so fast that there is not
much time left for networking.
With this change downloading the kernel speeds up from about 15 minutes
to seconds ...

Regards,
Klaus



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a0a6619b-bae4-bedc-f2ce-3ef933400e55>