Tool/software: Linux
Hi
I am working on a board closely based on a BeagleBoneBlack (with some functionality removed e.g. there is no hardware ethernet port)
I am at the stage in the project where I need to move from booting from SD card to running from an onboard SPI Nor Flash ROM (freeing the SD card for user data)
- as an interim step I would like to run with the rootfs on my host PC
- this should avoid the slow erase and reflash cycles required while I implement support for the SD card as a data store.
Therefore I am wondering if there is anyway to mount the root file system over USB ethernet?
Thus far I can both:
- use the ethact as usb_ether in u-boot nicely to TFTP data to the board
- use the g_ether driver (when booting from SD card) to mount remote folders for access to my application for testing and update
What I am unable to work out is how I might handover from one to the other (the g_ether driver is a module in the filesystem so there's a chicken-v-egg scenario)
Any advice or suggestions would be gratefully received.
Best regards,
- Richard
