Versions Compared

Key

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

The goal of the document is to illustrate how to build and install SP7021 (Plus 1) image to run Raspbian on SD card. Raspbian is a famous and popular Linux distribution. It is based Debian and for running on Raspberry Pi boards. Raspbian is released in form of SD card image. Raspbian image file of SD card can be downloaded from web of Raspbian foundation. Users can then write the image file into an SD card. The SD card image consists of two partitions. One is boot partition which is formatted to DOS/Windows FAT32 file-system and the other is rootfs partition which is formatted to Linux Ext4 file-system. boot partition contains files, including boot-loader, Linux kernel image, and etc, for booting from Raspberry Pi boards. rootfs partition contains files of whole root file-system of Linux. You need to copy SP7021 boot-loader and Linux kernel image, and etc files to boot partition. Also, you need to copy some module files of Linux kernel to rootfs partition. Since SP7021 files have different file name, original files of Raspbian will not be overwritten. The new-made SD card can be boot either from Raspberry Pi boards or SP7021 boards. Please follow the following steps to build and install Plus 1 image to run Raspbian.

...

After U-Boot completes internal initialization, it runs uenvcmd command defined in script file uEnv.txt in boot partition. Refer to snapshot of original uEnv.txt file, Line 26 16 defines the uenvcmd command.

...

Code Block
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.

#i2c-dev

Note: You may skip this step if your source does not have the line “i2c-dev”.

14. Use software random number device

...