Date: Thu, 11 Apr 2019 14:45:20 +0200 From: peter.blok@bsd4all.org To: ticso@cicely.de Cc: Ian Lepore <ian@freebsd.org>, freebsd-arm <freebsd-arm@freebsd.org> Subject: Re: about netbooting on armv6 Message-ID: <40A1D23F-AF9D-483E-9AAB-FA756B023864@bsd4all.org> In-Reply-To: <20190301034056.GG23492@cicely7.cicely.de> References: <5432b449f37a481bc7099fbab25fbd2e@bakulin.de> <CABx9NuQKTFWUoTr2ufXANDo6C2AwLiYC7wd_5wSUg9J7M1Rofg@mail.gmail.com> <CABx9NuRTao6YhdzKPONwKgzfeAN80UmQ060QTf%2Buv18gkHogtg@mail.gmail.com> <CABx9NuSaWNX3qEwmGdpez-qf8GEjH4%2Bvd3y9tuR1ogZBDzsAng@mail.gmail.com> <a4a95b7a9617eea06212c50ec23bf5cc@bakulin.de> <CABx9NuQLbWjK8DfBLPDcRX9Bb1MY5Bk=TRDW_Fx63uP9orT2Og@mail.gmail.com> <1458751414.1091.47.camel@freebsd.org> <20190301031213.GE23492@cicely7.cicely.de> <1797d7376b308236366305ad5ae18661b1d2a80c.camel@freebsd.org> <20190301032326.GF23492@cicely7.cicely.de> <20190301034056.GG23492@cicely7.cicely.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Bernd, Don=E2=80=99t 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=3D=E2=80=9Cnolockd=E2=80=9D to loader.conf Peter=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40A1D23F-AF9D-483E-9AAB-FA756B023864>