about netbooting on armv6

peter.blok at bsd4all.org peter.blok at bsd4all.org
Thu Apr 11 13:08:38 UTC 2019


Forgot to add the content of config.txt

arm_control=0x200
dtparam=audio=on,i2c_arm=on,spi=on
dtoverlay=mmc
dtoverlay=pwm
dtoverlay=pi3-disable-bt
device_tree_address=0x4000
kernel=u-boot.bin


> On 11 Apr 2019, at 14:45, peter.blok at bsd4all.org wrote:
> 
> Bernd,
> 
> Don’t know if the following is going to help. I am netbooting an rpi-3 using loader.efi
> 
> What I did was the following.
> 
> 1. I booted of an 12-RELEASE SD-Image.
> 2. Mounted a NFS file-system that became my root file-system
> 3. Copied everything from / over to that file-system
> 4. Added to dhcp.conf
> host raspberrypi {
>  hardware ethernet b8:27:eb:2b:37:e1;
>  fixed-address 192.168.1.87;
>  option host-name "raspberrypi";
>  next-server 192.168.1.1;
>  option tftp-server-name "192.168.1.1";
>  option root-path "192.168.1.1:/zdata/rpiboot/armbsd";
>  filename "armbsd/loader.efi";
> }
> 
> 5. Under tftpbooot I copied bootcode.bin
> 6. With tcpdump I traced which directories it was going to open files on.
> In my case it was bd2b37e1 (which is derived from mac)
> 7. Created /tftpboot/armbsd and a symbolic link from armbsd to bd2b37e1
> The contents of /tftpboot/armbsd is (from the SD card) Not everything is used and the pxelinux.cfg is not needed
> ls -R /tftpboot/armbsd/
> armstub8.bin		dtb			fixup_db.dat		overlays		start_cd.elf		u-boot.bin
> bcm2710-rpi-3-b.dtb	fixup.dat		fixup_x.dat		pxelinux.cfg		start_db.elf
> config.txt		fixup_cd.dat		loader.efi		start.elf		start_x.elf
> 
> /tftpboot/armbsd/dtb:
> allwinner	overlays
> 
> /tftpboot/armbsd/dtb/allwinner:
> sun50i-a64-nanopi-a64.dtb	sun50i-a64-pine64-plus.dtb	sun50i-a64-sopine-baseboard.dtb
> sun50i-a64-olinuxino.dtb	sun50i-a64-pine64.dtb		sun50i-h5-orangepi-pc2.dtb
> 
> /tftpboot/armbsd/dtb/overlays:
> sun50i-a64-sid.dtbo	sun50i-a64-ths.dtbo	sun50i-a64-timer.dtbo
> 
> /tftpboot/armbsd/overlays:
> mmc.dtbo		pi3-disable-bt.dtbo	pwm.dtbo
> 
> /tftpboot/armbsd/pxelinux.cfg:
> 01-b8-27-eb-2b-37-e1
> 
> 8. Changed fstab on the NFS share and added boot.nfsroot.options=“nolockd” to loader.conf
> 
> Peter
> _______________________________________________
> freebsd-arm at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"



More information about the freebsd-arm mailing list