Skip to content

agaylard/SP7021

 
 

Repository files navigation

How to compile

Before you compile, please install some packages for compiling.

sudo apt-get install openssl libssl-dev bison flex git make u-boot-tools

Get source code and make config

git clone https://github.com/sunplus-plus1/SP7021.git
cd SP7021
git submodule update --init --recursive
git submodule foreach git checkout master
make config

then show

Select boards:
[1] SP7021 Ev Board               [11] I143 Ev Board
[2] LTPP3G2 Board                 [12] I143 Zebu (zmem)
[3] SP7021 Demo Board (V1/V2)
[4] SP7021 Demo Board (V3)
[5] BPi-F2S Board
[6] BPi-F2P Board

if you select [1] or [11], please select chip.

Select chip.
[1] Chip C
[2] Chip P
Select configs (C chip).
[1] eMMC
[2] SD Card

if you want to add or change some kernel configuration then run:

make kconfig
NOTE: please don't enter linux/kernel folder to run "make menuconfig"

after make config is completed. then,

make or make all

About how to enable gedget, please refer to here

finally, please get image file from out folder

if you choose

  • eMMC:
    • Copy out/ISPBOOOT.BIN in out folder to USB stick (FAT32)
    • Update USB stick to eMMC -> (Power off, set SW1 to ON, SW2 to OFF, power on)
    • Boot kernel -> (Power off, set SW1 to OFF, SW2 to OFF, power on)
  • SD Card:
    • get out/boot2linux_SDcard/ISP_SD_BOOOT.img
    • copy to sdcard -> (sudo dd if=ISP_SD_BOOOT.img of=/dev/sdx bs=1M, /dev/sdx is your sdcard address)
    • put your sdcard to board and boot -> (Power off, set SW1 to ON, SW2 to ON, power on)

For more infomation, please visit here

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Shell 96.3%
  • Makefile 3.7%