But I could use loader commandfopen (addr len mode -- fd)
to check if the usbdevice is plugged in....lsdev [-v]
There is a function readFile in config.lua ?, but how do the devices names look like and how to mount its UFS partition to access a file in that boot phase? I'd guess there is no mounting.ok, I guess I have to learn lua.
At this moment I don't know how to open a file in lua or how to use
But I could use loader command
to check if the usbdevice is plugged in....maybe
But use loader commands from within lua?