Git Product home page Git Product logo

Comments (6)

htruong avatar htruong commented on May 29, 2024

It's not that difficult technically. However, then we're depending on the host OS to start the webcam. This is very hairy since we will have to write a separate application for each target OS we want to support to deliver the OS payload to the Pi Zero. Combined with the amount of architectures we have to support (and potential quirks of each system), you can see how quickly this can become a nightmare. We have at least 3 different OSes, each OS has at least two architectures (x86 and ARM). That means we have to have at least 6 apps to distribute that is very flaky.

So I would recommend us to have just the worst SD card you can find to boot the Pi and it will work regardless of the host OS.

You (or anyone else reading this) are welcome to create an app to do that, but I don't think that anyone in the team is going to undertake this effort.

from showmewebcam.

Janghou avatar Janghou commented on May 29, 2024

My idea is of course to use the existing usbboot/rpiboot application.
rpiboot works by booting a Pi in device mode from directories containing the booting firmware etc.

And starting the Pi by the OS offers the possibility to easily adjust settings in the camera.txt before boot, no need for mounting and editing.

But it's a different use-case, so I have forked the project.
https://github.com/Janghou/showmewebcam-usbboot

As I'm totally new to buildroot, I'm not sure where to start.

I think the first thing to try is to integrate the rootfs in the kernel image if that's possible. Idea and help is welcome.

from showmewebcam.

dgsiegel avatar dgsiegel commented on May 29, 2024

And starting the Pi by the OS offers the possibility to easily adjust settings in the camera.txt before boot, no need for mounting and editing.

You can connect through the serial console and use camera-ctl. Or help us find better ways to allow adjusting the settings.

from showmewebcam.

htruong avatar htruong commented on May 29, 2024

As I'm totally new to buildroot, I'm not sure where to start.

There is the all in one manual at https://buildroot.org/downloads/manual/manual.html that I still refer to from time to time.

I have started some documentation effort here but not much has been done.

We document most interesting things we see online here: https://github.com/showmewebcam/showmewebcam/wiki/Further-Documentation

from showmewebcam.

Janghou avatar Janghou commented on May 29, 2024

@dgsiegel, I will when I find one.

@htruong, most examples of buildroot work with creating an SD card image with two partitions. I don't need that. Major challenge is to provide a rootfs without having the second partition on the SD card (there is none), therefore I'm trying to find a way to embed the rootfs in the kernel.

Or use NFS boot. Something like described here, booting a RPI Zero with Raspbian without SD card. That is slow though.

from showmewebcam.

Janghou avatar Janghou commented on May 29, 2024

FYI I have a working fork booting without SD-card:
https://github.com/Janghou/showmewebcam-usbboot

from showmewebcam.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.