-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7c4d33a
commit 6a57e69
Showing
9 changed files
with
60 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Rock64 | ||
|
||
|
||
## Building | ||
|
||
Create container: | ||
``` | ||
podman run -it --rm \ | ||
--network=host \ | ||
--userns="keep-id:uid=1000,gid=1000" \ | ||
-v ${PWD}/project:${PWD}/project:rw \ | ||
--workdir ${PWD}/project/yocto \ | ||
--security-opt label=disable \ | ||
localhost/extra2000/xilinx-toolkit:latest \ | ||
bash | ||
source layers/poky/oe-init-build-env build | ||
``` | ||
|
||
To check dependencies: | ||
``` | ||
bitbake -p mc:rock64:ros-core | ||
``` | ||
|
||
To build: | ||
``` | ||
bitbake mc:rock64:ros-image-core | ||
``` | ||
|
||
|
||
## Flashing to SD Card | ||
|
||
Execute the following command: | ||
``` | ||
sudo dd bs=4M iflag=fullblock oflag=direct status=progress if=project/yocto/build/tmp/deploy/images/rock64/ros-image-core-humble-rock64-*.rootfs.wic of=/dev/sdX; sudo sync | ||
``` | ||
|
||
|
||
## Testing | ||
|
||
Insert SD card and power on Raspberry Pi Zero W. Access serial console and login with `root` user. Then, follow [Testing](../common/testing.md) instructions. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
MACHINE = "rock64" | ||
|
||
SERIAL_CONSOLES = "115200;ttyS2" |
Submodule meta-arm
added at
81aca8
Submodule meta-rockchip
added at
026d6a