Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Apr 2019 15:08:23 +0200
From:      peter.blok@bsd4all.org
To:        ticso@cicely.de
Cc:        freebsd-arm <freebsd-arm@freebsd.org>, Ian Lepore <ian@freebsd.org>
Subject:   Re: about netbooting on armv6
Message-ID:  <9A060D59-780F-415B-8E81-06C029560500@bsd4all.org>
In-Reply-To: <40A1D23F-AF9D-483E-9AAB-FA756B023864@bsd4all.org>
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> <40A1D23F-AF9D-483E-9AAB-FA756B023864@bsd4all.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Forgot to add the content of config.txt

arm_control=3D0x200
dtparam=3Daudio=3Don,i2c_arm=3Don,spi=3Don
dtoverlay=3Dmmc
dtoverlay=3Dpwm
dtoverlay=3Dpi3-disable-bt
device_tree_address=3D0x4000
kernel=3Du-boot.bin


> On 11 Apr 2019, at 14:45, peter.blok@bsd4all.org wrote:
>=20
> Bernd,
>=20
> Don=E2=80=99t know if the following is going to help. I am netbooting =
an rpi-3 using loader.efi
>=20
> What I did was the following.
>=20
> 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";
> }
>=20
> 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
>=20
> /tftpboot/armbsd/dtb:
> allwinner	overlays
>=20
> /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
>=20
> /tftpboot/armbsd/dtb/overlays:
> sun50i-a64-sid.dtbo	sun50i-a64-ths.dtbo	sun50i-a64-timer.dtbo
>=20
> /tftpboot/armbsd/overlays:
> mmc.dtbo		pi3-disable-bt.dtbo	pwm.dtbo
>=20
> /tftpboot/armbsd/pxelinux.cfg:
> 01-b8-27-eb-2b-37-e1
>=20
> 8. Changed fstab on the NFS share and added =
boot.nfsroot.options=3D=E2=80=9Cnolockd=E2=80=9D to loader.conf
>=20
> Peter
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9A060D59-780F-415B-8E81-06C029560500>