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

next in thread | previous in thread | raw e-mail | index | archive | help
On 01/19/2018 12:24, Klaus P. Ohrhallinger wrote:
> Hello,
>
> Booting FreeBSD over network on RPI3 (with U-Boot on SD card) works fine
> for me with the following modifications and settings:
>
> FreeBSD 12.0-CURRENT r327673
>
> U-Boot 2018.01-rc3:
> http://kweb.7he.at/tmp/rpi/u-boot-02.diff
>
> armstub8.bin / RPi3 PSCI monitor:
> http://kweb.7he.at/tmp/rpi/armstub-01.diff
>
> ----
> env set ipaddr 172.16.88.20
> env set serverip 172.16.88.10
> env set bootargs boot.nfsroot.server=${serverip}
> boot.nfsroot.path=/srv/nfsroot/
> tftpboot ${kernel_addr_r} loader.efi
> bootefi ${kernel_addr_r} ${fdt_addr_r}
> ----
>
> # cat config.txt
> arm_control=0x200
> dtparam=i2c_arm=on
> dtoverlay=pi3-disable-bt
> device_tree_address=0x4000
> kernel=u-boot.bin
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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9e4dcfc9-e290-359d-44b1-c205456243e9>