Difference between revisions of "Image Builder"

From Maemo Leste Wiki
Jump to navigationJump to search
(document image building procedure)
 
m (git is required for cloning repositories)
(7 intermediate revisions by 3 users not shown)
Line 3: Line 3:
== Maemo 7 Leste ==
== Maemo 7 Leste ==


# Install the following packages: <pre>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</pre>
'''[https://github.com/maemo-leste/image-builder Github]'''
# In your terminal, run the following commands:  
 
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 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
<pre>
# 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/beowulf
</pre>
 
 
2.) In your terminal, run the following commands:  
  $ 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
$ ./init.sh  # (only needed on first run)
  $ zsh -f
  $ zsh -f
  $ source sdk
  $ source sdk
  $ load devuan DEVICE_NAME maemo
  $ load devuan DEVICE_NAME maemo
  $ build_image_dist
  $ build_arm_dist


Note: replace <code>DEVICE_NAME</code> with your board name:
Note: replace <code>DEVICE_NAME</code> with your board name:
Line 25: Line 34:
* raspi2
* raspi2
* raspi3
* raspi3
* raspi4
* rock64
* rock64
* pinephone-dontbeevil
* pinephone-dontbeevil
* pinephone
* pinetab
* sunxi
* sunxi
* turbox-twister
* turbox-twister

Revision as of 21:45, 16 February 2021

How to build your own images

Maemo 7 Leste

Github

1.) Install the following packages:

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) 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

# 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/beowulf


2.) In your terminal, run the following commands:

$ 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:

  • n900
  • n950
  • n9
  • droid4
  • odroidxu
  • odroidxu4
  • ouya
  • raspi1
  • raspi2
  • raspi3
  • raspi4
  • rock64
  • pinephone-dontbeevil
  • pinephone
  • pinetab
  • sunxi
  • turbox-twister