Bootstrap a minimal debian rootfs for sunxi boards https://github.com/bleuchtang/sunxi-debian

Émile Morel f7836871f5 edit README.md il y a 10 ans
olinux f7a852ed52 add debootstrap script il y a 10 ans
.gitignore b4110b852a add gitignore il y a 10 ans
Dockerfile 372fac5402 add Dockerfile il y a 10 ans
README.md f7836871f5 edit README.md il y a 10 ans

README.md

olinux-lime2

Bootstrap a minimal debian for olinuxino-a20-lime2

Thanks to lukas2511 for quick bootstrap.

Build minimal U-boot

sudo docker pull debian:stable
git clone https://github.com/bleuchtang/olinux-lime2
cd olinux-lime2 && sudo docker build -t debian/olinux .

Build minimal arm debootstrap

We cannot perform a debootstrap in dockerfile bacause dockerfile doesn't accept privileged mode. For more details see docker issue

sudo docker run --privileged -i -t -v $(pwd)/olinux/:/olinux/ debian/olinux sh ./olinux/create_arm_debootstrap.sh

You shoud have both debootstrap and u-boot-sunxi directories in olinux/

Boot

TODO

Install on a sdcard

TODO

Some links:

You probably want to Build your own docker image;

  • Because it's quick and easy; tutorial here
  • Because you shoudn't trust regitry images; demonstration here

External links