Update source-code.md

Updated guidance on building the latest firmware and a few helpful images
pull/406/head
cdg123 2024-09-05 18:04:36 +01:00 committed by GitHub
parent 61835b2076
commit 8e678f8f39
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 5 deletions

View File

@ -163,7 +163,7 @@ Remember! The user and password will be reset to default in most cases (the defa
OpenIPC firmware v2 utilizes [Buildroot][1] to build its firmware binaries. So OpenIPC firmware v2 utilizes [Buildroot][1] to build its firmware binaries. So
you should make yourself familiar with the [Buildroot documentation][2] if you you should make yourself familiar with the [Buildroot documentation][2] if you
want not only to compile provided source code but make your own modifications want not only to compile the source code but make your own modifications
to the firmware. to the firmware.
You can add drivers or software not included in the our official releases, you You can add drivers or software not included in the our official releases, you
@ -174,13 +174,16 @@ Just don't forget to contribute your changes back to the upstream repo so that
everyone can benefit from it. everyone can benefit from it.
Please note that OpenIPC uses a slightly outdated version of Buildroot. As of Please note that OpenIPC uses a slightly outdated version of Buildroot. As of
today, it is Buildroot [2021.02.12][3], so you might need to check out the today, it is Buildroot 2024.02.1 so you might need to check out the
documentation for that particular version, as later versions may have documentation for that particular version, as later versions may have
incompatible changes. incompatible changes.
OpenIPC firmware sources are organized in directories by IP camera SoC vendors OpenIPC firmware sources are organized in directories by IP camera SoC vendors
as Buildroot external trees, namely `br-ext-chip-<vendor name>`. Each of such as Buildroot external trees, namely `br-ext-chip-<vendor name>`.
directories has a number of subdirectories: `board/`, `configs/`, `linux/` and
![image](https://github.com/user-attachments/assets/bd060676-7008-41ae-9ec6-f0ed18f6f48e)
Each of directories has a number of subdirectories: `board/`, `configs/`, `linux/` and
`packages/`, and a few config files, all related to different boards bearing `packages/`, and a few config files, all related to different boards bearing
chips from that particular vendor. chips from that particular vendor.
@ -208,7 +211,6 @@ provided packages.
`external.desc` is a file with the description of the external tree. `external.desc` is a file with the description of the external tree.
### Making Changes and Adding Packages ### Making Changes and Adding Packages
You can modify existing packages or add new ones to meet your project's needs. This section provides guidelines on how to make these changes effectively. You can modify existing packages or add new ones to meet your project's needs. This section provides guidelines on how to make these changes effectively.