Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

SoC: All

Specification

This guide describes how to make Debian rootfs to work on RZ/G2L serial products.

...

Host PC Environment: Ubuntu20.04

Debian Filesystem Building

Install QEMU

Run below command on Host Ubuntu PC

sudo apt-get install qemu qemu-user-static

Download Required Files

sudo apt-get install binfmt-support debootstrap

...

If this step is successful, you can see below messages

Rootfs configuration

Initialize rootfs 
# cp /usr/bin/qemu-arm-static ./root/usr/bin

# DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true LC_ALL=C LANGUAGE=C LANG=C chroot root debootstrap/debootstrap --second-stage

...