Difference between revisions of "Image Builder"
From Maemo Leste Wiki
Jump to navigationJump to searchm (add zsh to dependencies list) |
|||
(6 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
== Maemo 7 Leste == | == Maemo 7 Leste == | ||
'''[https://github.com/maemo-leste/image-builder Github]''' | '''[https://github.com/maemo-leste/image-builder Image Builder on Github]''' | ||
1.) Install the following packages: <pre>debootstrap curl git wget qemu-user-static build-essential rsync gcc-arm-none-eabi gcc-multilib lib32z1 u-boot-tools device-tree-compiler lzop dosfstools vboot-utils vboot-kernel-utils libftdi-dev libfdt-dev swig libpython-dev bc bison flex libssl-dev zsh</pre> | 1.) Install the following packages (for libpython-dev you could choose libpython3-dev and create a symlink from python3 to python): | ||
<pre>debootstrap curl git wget qemu-user-static build-essential rsync gcc-arm-none-eabi gcc-multilib lib32z1 u-boot-tools device-tree-compiler lzop dosfstools vboot-utils vboot-kernel-utils libftdi-dev libfdt-dev swig libpython-dev bc bison flex libssl-dev zsh git</pre> | |||
1.1) If you're using a distribution that is not Devuan, you will have to add a beowulf target to its scripts until the patch is merged upstream | |||
1.1) For '''[https://github.com/maemo-leste/arm-sdk arm-sdk]''' you need these packages and sudo permissions are required for the user that is running the build. | |||
<pre> | |||
zsh sudo cgpt parted xz-utils | |||
</pre> | |||
1.2) If you're using a distribution that is not Devuan, you will have to add a beowulf/chimaera[default]/deadalus target to its scripts until the patch is merged upstream | |||
<pre> | <pre> | ||
# wget -O /usr/share/debootstrap/scripts/ceres https://salsa.debian.org/installer-team/debootstrap/-/raw/e835c655006881af69de5476455ac0e7c824bcc4/scripts/ceres | # wget -O /usr/share/debootstrap/scripts/ceres https://salsa.debian.org/installer-team/debootstrap/-/raw/e835c655006881af69de5476455ac0e7c824bcc4/scripts/ceres | ||
# ln -s /usr/share/debootstrap/scripts/ceres /usr/share/debootstrap/scripts/ | # ln -s /usr/share/debootstrap/scripts/ceres /usr/share/debootstrap/scripts/chimaera | ||
</pre> | </pre> | ||
2.) In your terminal, run the following commands: | 2.) In your terminal, run the following commands (where maemo is a symlink and could point to these blends beowulf, chimaera[default] or daedalus): | ||
$ git clone --recurse-submodules https://github.com/maemo-leste/image-builder.git | $ git clone --recurse-submodules https://github.com/maemo-leste/image-builder.git | ||
$ cd image-builder/arm-sdk | $ cd image-builder/arm-sdk | ||
Line 24: | Line 32: | ||
Note: replace <code>DEVICE_NAME</code> with your board name: | Note: replace <code>DEVICE_NAME</code> with your board name: | ||
* arm64-generic | |||
* <strike>beagleboneblack</strike> | |||
* bionic | |||
* <strike>chromeacer</strike> | |||
* <strike>chromeveyron</strike> | |||
* mz617 | |||
* n900 | * n900 | ||
* n950 | * n950 | ||
* n9 | * n9 | ||
* droid3 | |||
* droid4 | * droid4 | ||
* odroidxu | * <strike>odroidxu</strike> | ||
* odroidxu4 | * <strike>odroidxu4</strike> | ||
* ouya | * <strike>ouya</strike> | ||
* raspi1 | * raspi1 | ||
* raspi2 | * raspi2 | ||
* raspi3 | * raspi3 | ||
* raspi4 | * raspi4 | ||
* rock64 | * <strike>rock64</strike> | ||
* pinephone-dontbeevil | * pinephone-dontbeevil | ||
* pinephone | * pinephone | ||
* pinetab | * pinetab | ||
* pocophone-f1 | |||
* sunxi | * sunxi | ||
* turbox-twister | * turbox-twister | ||
* xt910 | |||
* xt912 |
Latest revision as of 12:52, 13 January 2025
How to build your own images
Maemo 7 Leste
1.) Install the following packages (for libpython-dev you could choose libpython3-dev and create a symlink from python3 to python):
debootstrap curl git wget qemu-user-static build-essential rsync gcc-arm-none-eabi gcc-multilib lib32z1 u-boot-tools device-tree-compiler lzop dosfstools vboot-utils vboot-kernel-utils libftdi-dev libfdt-dev swig libpython-dev bc bison flex libssl-dev zsh git
1.1) For arm-sdk you need these packages and sudo permissions are required for the user that is running the build.
zsh sudo cgpt parted xz-utils
1.2) If you're using a distribution that is not Devuan, you will have to add a beowulf/chimaera[default]/deadalus target to its scripts until the patch is merged upstream
# wget -O /usr/share/debootstrap/scripts/ceres https://salsa.debian.org/installer-team/debootstrap/-/raw/e835c655006881af69de5476455ac0e7c824bcc4/scripts/ceres # ln -s /usr/share/debootstrap/scripts/ceres /usr/share/debootstrap/scripts/chimaera
2.) In your terminal, run the following commands (where maemo is a symlink and could point to these blends beowulf, chimaera[default] or daedalus):
$ git clone --recurse-submodules https://github.com/maemo-leste/image-builder.git $ cd image-builder/arm-sdk $ zsh -f $ source sdk $ load devuan DEVICE_NAME maemo $ build_arm_dist
Note: replace DEVICE_NAME
with your board name:
- arm64-generic
beagleboneblack- bionic
chromeacerchromeveyron- mz617
- n900
- n950
- n9
- droid3
- droid4
odroidxuodroidxu4ouya- raspi1
- raspi2
- raspi3
- raspi4
rock64- pinephone-dontbeevil
- pinephone
- pinetab
- pocophone-f1
- sunxi
- turbox-twister
- xt910
- xt912