This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
products:sbc:common:development:edges-rockchip-linux-sdk [2024/12/31 02:02] nick |
products:sbc:common:development:edges-rockchip-linux-sdk [2025/02/27 20:08] (current) gray [Get SDK] Add update repo |
||
---|---|---|---|
Line 33: | Line 33: | ||
</ | </ | ||
+ | <WRAP tip > | ||
+ | You can also download the [[dl> | ||
+ | |||
+ | ```shell | ||
+ | $ md5sum -c md5sum/* | ||
+ | khadas_edges_yocto_sdk_base.tar.gz00: | ||
+ | khadas_edges_yocto_sdk_base.tar.gz01: | ||
+ | khadas_edges_yocto_sdk_base.tar.gz02: | ||
+ | khadas_edges_yocto_sdk_base.tar.gz03: | ||
+ | khadas_edges_yocto_sdk_base.tar.gz04: | ||
+ | ``` | ||
+ | </ | ||
2. Create and enter the working directory: | 2. Create and enter the working directory: | ||
Line 40: | Line 52: | ||
3. Decompress base SDK: | 3. Decompress base SDK: | ||
+ | |||
```shell | ```shell | ||
$ cat path/ | $ cat path/ | ||
Line 57: | Line 70: | ||
```shell | ```shell | ||
+ | $ cd .repo/repo | ||
+ | $ git pull | ||
+ | $ cd - | ||
$ .repo/ | $ .repo/ | ||
$ .repo/ | $ .repo/ | ||
+ | $ ls | ||
+ | Copyright_Statement.md | ||
+ | ``` | ||
+ | |||
+ | 6. Sync large files: | ||
+ | |||
+ | ```shell | ||
+ | $ .repo/ | ||
+ | ``` | ||
+ | |||
+ | 7. If you need to build Yocto, please disable the auto-detaching feature of git gc: | ||
+ | ```shell | ||
+ | $ git config --global gc.autoDetach false | ||
``` | ``` | ||
- | 6. Create a work branch for each repository: | + | 8. Create a work branch for each repository: |
```shell | ```shell | ||
$ .repo/ | $ .repo/ | ||
Line 226: | Line 255: | ||
khadas_rk3588s_edge2_debian_defconfig | khadas_rk3588s_edge2_debian_defconfig | ||
khadas_rk3588s_edge2_yocto_defconfig | khadas_rk3588s_edge2_yocto_defconfig | ||
- | rockchip_defconfig | ||
- | rockchip_rk3588_evb1_lp4_v10_defconfig | ||
- | rockchip_rk3588_evb7_v11_defconfig | ||
- | rockchip_rk3588s_evb1_lp4x_v10_defconfig | ||
| | ||
| | ||
Line 329: | Line 354: | ||
```shell | ```shell | ||
- | $ cd ~/ | ||
$ docker pull wesion/ | $ docker pull wesion/ | ||
``` | ``` | ||
Line 336: | Line 360: | ||
```shell | ```shell | ||
+ | $ cd ~/ | ||
$ docker run --rm -it --privileged --device=/ | $ docker run --rm -it --privileged --device=/ | ||
| | ||
Line 348: | Line 373: | ||
===== Install OS ===== | ===== Install OS ===== | ||
- | |||
==== Preparation ==== | ==== Preparation ==== | ||
- | |||
1. Copy upgrade tool to your local path | 1. Copy upgrade tool to your local path | ||
Line 361: | Line 384: | ||
2. Put your Edge2 into upgrade mode. Ref: | 2. Put your Edge2 into upgrade mode. Ref: | ||
- | ==== Install OS into eMMc ==== | + | ==== Install OS into eMMC ==== |
+ | Please check [[products: | ||
- | ```shell | ||
- | $ upgrade_tool uf < | ||
- | ``` | ||
==== Partition Upgrade ==== | ==== Partition Upgrade ==== | ||
Line 380: | Line 401: | ||
$ sudo upgrade_tool di -uboot < | $ sudo upgrade_tool di -uboot < | ||
``` | ``` | ||
- | ==== Upgrade | + | ==== Upgrade |
Line 387: | Line 408: | ||
``` | ``` | ||
- | ==== Upgrade | + | ==== Upgrade |