On 30/06/2019 17:59, Vijay Kumar Banerjee wrote: > Hello everyone, > > I'm happy to state that with the following patchset, I now have > the Framebuffer device (/dev/fb0) created in Beaglebone Black > and I have tested it in the Hardware with BBB RevC. > > From here, the next steps would definitely be to find a way to > write and read from the framebuffer device. In FreeBSD, the fbd > read/write are empty: > > ``` > static int > fb_read(struct cdev *dev, struct uio *uio, int ioflag) > { > return (0); /* XXX nothing to read, yet */ > } > static int > fb_write(struct cdev *dev, struct uio *uio, int ioflag) > { > return (0); /* XXX nothing written */ > } > ``` > > The read/write happens through the fb_mmap so there are > two possible ways : > > 1. Add mmap support > 2. Add the read/write functions. > > If no one objects, I would like to move forward with the first option > to add the mmap support. I will start by looking at the other file > systems that implement mmap in RTEMS and gradually move to > adding the mmap in cdevsw structure in libbsd. > > Thanks, > Vijay
Hello Vijay, sounds OK to me. It will be great if the frame buffer device not only appears but if you can actually do something with it ;-) Best regards Christian Mauderer _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel