Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[reCamera] How to build a system with preinstalled packages or add a package manually to a working system #14

Open
s-nazim opened this issue Dec 16, 2024 · 5 comments
Assignees
Labels
reCamera-OS Label for reCamera-OS UAY Unassigned yet

Comments

@s-nazim
Copy link

s-nazim commented Dec 16, 2024

Is there any instruction on how to do this?

I found that the system has opkg package manager, but it doesn't work, any chance to install without success, event opkg list print is empty

I found that the system is using Buildroot, the only way that I found is using a
make menuconfig but the issue that make is isn't installed )))

@LynnL4
Copy link
Member

LynnL4 commented Dec 16, 2024

Sorry, Buildroot does not fully support opkg. The current opkg is only used for packaging applications from https://github.com/Seeed-Studio/sscma-example-sg200x.

@s-nazim
Copy link
Author

s-nazim commented Dec 16, 2024

Thank you for your response

I have several questions

  1. The mentioned instruction should be run on a host machine, correct ? The final .deb file should be uploaded to reCamera, correct (I mean step Sync sg2002_recamera_sd with sg2002_recamera_emmc #5) ?
  2. Is any other instructions to build/install a package directly on reCamera device, by using Buildroot ?

@LynnL4
Copy link
Member

LynnL4 commented Dec 18, 2024

Hi
Here’s a basic guide: SSCMA Example SG200X, if you want to compile your own application to run on the device. After running cpack, you will get a .deb package, which can be uploaded to the device using tools like SFTP for installation. However, please note that if there are third-party dependencies such as libmosquitto, you need to add those dependencies when compiling reCameraOS. This way, you can generate the SDK. The SDK download link is here.

@s-nazim
Copy link
Author

s-nazim commented Dec 18, 2024

I've already tested a sample apps, thanks, it works :) on the custom build of reCameraOS

However, please note that if there are third-party dependencies such as libmosquitto,

Do you have a guide how to add such dependency ?

Can I do this via make menuconfig ?

@mingzhangqun
Copy link
Member

You can try the following manual: Compile the rootfs from buildroot.

@Lesords Lesords added UAY Unassigned yet reCamera-OS Label for reCamera-OS labels Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
reCamera-OS Label for reCamera-OS UAY Unassigned yet
Projects
Status: No status
Development

No branches or pull requests

4 participants