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

Please add usage in README.md #2

Open
skrueger8 opened this issue Nov 27, 2019 · 0 comments
Open

Please add usage in README.md #2

skrueger8 opened this issue Nov 27, 2019 · 0 comments

Comments

@skrueger8
Copy link

skrueger8 commented Nov 27, 2019

Please add a README.md how to use this.

For example:

Requirements: Debian Buster amd64

Steps:

sudo apt install curl debootstrap qemu-user-static qemu-utils u-boot-tools parted
git clone https://github.com/mxOBS/imagebuilder.git
cd imagebuilder
# modify configs/sr-imx8-debian-buster.inc if you want to change anything
sudo ./mktarball.sh configs/sr-imx8-debian-buster.inc
sudo ./mkimage.sh sr-imx8-debian-buster.tar 1024M

# see https://developer.solid-run.com/knowledge-base/i-mx8m-atf-u-boot-and-linux-kernel/ how to create a flash.bin (XXX do we need this step?)
LOOPDEV="$(losetup -f)"
sudo losetup -P -v $LOOPDEV sr-imx8-debian-buster.img
sudo dd if=flash.bin of=/dev/loop0 bs=1024 seek=33
sudo losetup -d $LOOPDEV

See https://developer.solid-run.com/knowledge-base/flashing-an-sd-card/ how to flash the image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant