Does the u-boot of your board do tftp? If yes, the answer is yes.
best,
js
Vahid Gharaee <vgharaee@xxxxxxxxx> schrieb am Mo., 30. Sep. 2019, 11:21:
Dear Stephane, Community,does the netboot works for imx6 ?kind regardsvahid_______________________________________________On Sat, Aug 3, 2019 at 12:32 PM Vahid Gharaee <vgharaee@xxxxxxxxx> wrote:Thank you very much for your prompt reply.i'm gonna try netbootvahidOn Sat, Aug 3, 2019 at 12:18 PM Stephane Desneux <stephane.desneux@xxxxxxx> wrote:Hi Vahid,
No, you can't use NFS because extended attributes are not handled at filesystem
level but they are required to use SMACK.
That's why we added support for netboot through NBD (network block device at
kernel level, filesystem agnostic).
The goal is to have the rootfs mounted on a device named /dev/nbd0. On server
side, a daemon is responsible for pushing the required blocks.
The chain is something like this:
[--------- target ----------] [----- server ------]
ext4 FS -> block device (nbd0) -> nbd-client --(tcp)--> nbd-server -> ext4 image
To enable the NBD feature, you'll have to add the 'agl-netboot' feature at
aglsetup time.
Check this README:
https://git.automotivelinux.org/AGL/meta-agl/tree/meta-netboot/README
You can also find an example script to be run on server side (it's suited for
the AGL docker container which is a debian):
https://git.automotivelinux.org/AGL/docker-worker-generator/tree/INSTALL/tools/scripts_netboot/run_xnbd_server
Hope this helps.
---
Stephane Desneux - CTO - IoT.bzh
stephane.desneux@xxxxxxx - www.iot.bzh
On 03/08/2019 09:16, Vahid Gharaee wrote:
> Dear all,
>
> Could anyone tell me if it's possible to run AGL over NFS?
> I mean, because SMACK is used, I could not use NFS.
> I need NFS to debug more easily.
>
> Thank you in advanced.
> Vahid
>
> _______________________________________________
> automotive-discussions mailing list
> automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
> https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions
>
automotive-discussions mailing list
automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions
_______________________________________________ automotive-discussions mailing list automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions