Giter Site home page Giter Site logo

rockchip-build's Introduction

Good Good Study Day Day Up!

Life is a fuking movie.

nerver give up your life !!!

rockchip-build

this is build for rockchip soc.

Now it can build for rk3568.

you can build for embedfire-lubancat2

now you just can build ubuntu22.04 server and other is prepare to finish

Plan

v1.0.1 ---- use conf to control build that we can easy to build your img

v1.0.2 ---- try to add ubuntu22.04 desktop img

v1.0.3 ---- add different package that make 3568 have good function use.such as npu ffmpeg

build image

now you can do this to build image

cd rockchip-build
./build.sh --board=lubancat2

or to config your board

./build.sh --help

the img dir in rockchip-build/images


build u-boot

Now it can use mainline uboot to start your board.

./scripts/build-uboot.sh

what can you do when you got the result

To write an image that boots from a SD card (assumed to be /dev/sda):

sudo dd if=u-boot-rockchip.bin of=/dev/sda seek=64
sync

or you can do like this

UBOOT_FIT_IMAGE=/dev/sda
dd if=idbloader.img of="${UBOOT_FIT_IMAGE}" seek=64 conv=fsync,notrunc
dd if=u-boot.itb of="${UBOOT_FIT_IMAGE}" seek=16384 conv=fsync,notrunc
sync

u-boot-evb-rk3568_2023.04_arm64.deb is a deb that you can ota your uboot.

build kernel

Now it can use mainline uboot to start your board.

you can get two deb linux-headers-*_arm64.deb and linux-image-*_arm64.deb

it can update your kernel when you are use it in your board

transfer this debs to your board and do this

# install kernel
dpkg -i linux-{headers,image}*.deb

# reboot to make it work
reboot 

build rootfs

build/log :you can find your build log that can make you easy to debug

rockchip-build's People

Contributors

kalous12 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

rockchip-build's Issues

支持Linux内核6.1

你好。debian 12的内核版本是6.1,而本项目用的是5.10。
我看到nanopi6已经在6.1上开发了,有计划升级到6.1吗?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.