Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/.markdownlint.yaml
Comment thread
quaresmajose marked this conversation as resolved.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# markdownlint configuration
# https://github.com/DavidAnson/markdownlint

# MD013 - Line length
MD013: false

# MD024 - Multiple headings with the same content
MD024:
siblings_only: true

# MD033 - Inline HTML
MD033: false

# MD041 - First line in a file should be a top-level heading
MD041: true
25 changes: 25 additions & 0 deletions .github/workflows/markdownlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Markdown Lint

on:
push:
branches: [ master ]
paths:
- '**/*.md'
- '.github/.markdownlint.yaml'
pull_request:
paths:
- '**/*.md'
- '.github/.markdownlint.yaml'

jobs:
markdownlint:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v6

- name: Run markdownlint
uses: DavidAnson/markdownlint-cli2-action@05f32210e84442804257b2a6f20b273450ec8265 # v19
with:
config: '.github/.markdownlint.yaml'
globs: '**/*.md'
5 changes: 2 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ name: Build on PR
on:
pull_request:
paths-ignore:
- 'README.md'
- 'README'
- 'SECURITY.md'
- '**/*.md'
- '.github/.markdownlint.yaml'

permissions:
checks: write
Expand Down
54 changes: 27 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Qualcomm platforms.

This layer depends on:

```
```text
URI: https://github.com/openembedded/openembedded-core.git
layers: meta
branch: master
Expand All @@ -21,7 +21,7 @@ revision: HEAD

This layer has an optional dependency on meta-oe layer:

```
```text
URI: https://github.com/openembedded/meta-openembedded.git
layers: meta-oe
branch: master
Expand All @@ -37,7 +37,7 @@ for the implementation details.

- **master:** Primary development branch, with focus on upstream support and
compatibility with the most recent Yocto Project release.
- **all stable branch up until styhead:** Legacy branches maintained by Linaro,
- **all stable branches up until styhead:** Legacy branches maintained by Linaro,
prior to the migration to [Qualcomm-linux](https://github.com/qualcomm-linux).

## Machine Support
Expand All @@ -48,7 +48,7 @@ See `conf/machine` for the complete list of supported devices.

All contemporary boards are supported by a single qcom-armv8a machine. It can be
used instead of using the per-board configuration file. In order to enable
support for the particular device extend the qcom-armv8a.conf file .
support for the particular device extend the qcom-armv8a.conf file.

## Quick build

Expand All @@ -61,19 +61,19 @@ an easy way to setup bitbake based projects. For more details, visit the

1. Install kas tool

```
```bash
sudo pip3 install kas
```

2. Clone meta-qcom layer

```
```bash
git clone https://github.com/qualcomm-linux/meta-qcom.git -b master
```

3. Build using the KAS configuration for one of the supported boards

```
```bash
kas build meta-qcom/ci/rb3gen2-core-kit.yml
```

Expand All @@ -83,31 +83,31 @@ For a manual build without KAS, refer to the [Yocto Project Quick Build](https:/

### Build QDL tool

QDL tool communicates with USB devices of PID:VID `05c6:9008` and uploads a
QDL tool communicates with USB devices of VID:PID `05c6:9008` and uploads a
flash loader, which is then used for flashing images. Follow the steps below
to download and compile QDL for your platform:

1. Clone the QDL repository:

```
```bash
git clone https://github.com/linux-msm/qdl
```

2. Read the README and install build dependencies (`libxml2-dev` and
`libusb-1.0-0-dev`). On Debian-based distribution run:

```
```bash
sudo apt install libxml2-dev libusb-1.0-0-dev
```

3. Build the QDL tool using make:

```
```bash
cd qdl
make
```

As QDL tool requires raw USB access, so to able to run it from non-root user
As QDL tool requires raw USB access, to be able to run it as a non-root user
create an appropriate `udev` rule by following steps described in
[Update udev rules](https://docs.qualcomm.com/bundle/publicresource/topics/80-70014-254/flash_images_unregistered.html#update-udev-rules)

Expand All @@ -130,31 +130,31 @@ Make sure that ModemManager is not running, disable it if necessary.
1. Connect the micro USB debug cable to the host. Baud rate should be `115200`.
Check in `dmesg` how UART shows up (e.g. `/dev/ttyUSB0`):

```
```console
$ sudo dmesg | grep tty
[217664.921039] usb 3-1.1.4: FTDI Serial Device converter attached to ttyUSB0
```

2. Use your favorite serial comminication program to access the console, such
2. Use your favorite serial communication program to access the console, such
as minicom, picocom, putty etc. Baud rate should be 115200:

```
```bash
picocom -b 115200 /dev/ttyUSB0
```

3. Plug in the USB-C cable from the host.

4. Use the QDL tool (built in the previous section) to flash the images:

```
```bash
cd build/tmp/deploy/images/rb3gen2-core-kit/core-image-base-rb3gen2-core-kit.rootfs.qcomflash
qdl --debug prog_firehose_ddr.elf rawprogram*.xml patch*.xml
```

If you have multiple boards connected the host, provide the serial
number of the board to flash through `--serial` param:

```
```bash
qdl --serial=0AA94EFD --debug prog_firehose_ddr.elf rawprogram*.xml patch*.xml
```

Expand All @@ -164,7 +164,7 @@ Make sure that ModemManager is not running, disable it if necessary.
(please refer to Quick Start Guide for your board). The process of
flashing should start automatically:

```
```text
USB: using out-chunk-size of 1048576
HELLO version: 0x2 compatible: 0x1 max_len: 1024 mode: 0
READ64 image: 13 offset: 0x0 length: 0x40
Expand All @@ -181,8 +181,8 @@ For some useful guidelines when submitting patches, please refer to:

Pull requests will be discussed within the GitHub pull-request infrastructure.

Branch **kirkstone** is not open for direct contributions, please raise an issue
with the suggested change instead.
Branch **kirkstone** is not open for direct contributions, please raise an
issue with the suggested change instead.

### Qualcomm Internal

Expand All @@ -195,13 +195,13 @@ Please make sure to visit go/GitHubBasicsDoc and go/OSSBestPractices before prop

## Maintainer(s)

* Anuj Mittal <anuj.mittal@oss.qualcomm.com>
* Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
* Koen Kooi <koen.kooi@oss.qualcomm.com>
* Nicolas Dechesne <nicolas.dechesne@oss.qualcomm.com>
* Ricardo Salveti <ricardo.salveti@oss.qualcomm.com>
* Sourabh Banerjee <sbanerje@qti.qualcomm.com>
* Viswanath Kraleti <viswanath.kraleti@oss.qualcomm.com>
- Anuj Mittal <anuj.mittal@oss.qualcomm.com>
- Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
- Koen Kooi <koen.kooi@oss.qualcomm.com>
- Nicolas Dechesne <nicolas.dechesne@oss.qualcomm.com>
- Ricardo Salveti <ricardo.salveti@oss.qualcomm.com>
- Sourabh Banerjee <sbanerje@qti.qualcomm.com>
- Viswanath Kraleti <viswanath.kraleti@oss.qualcomm.com>

## License

Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ affected, the recipe and its version, and any example code, if available.
Branches maintained with security fixes
---------------------------------------

See https://wiki.yoctoproject.org/wiki/Releases for the list of current
See <https://wiki.yoctoproject.org/wiki/Releases> for the list of current
releases. We only accept patches for the LTS releases and the master branch.
Loading