Giter Club home page Giter Club logo

rootfs's Introduction

DOPI Rootfs

DOPI使用的rootfs文件系统

编译

如果根路径下不存在dev,sys,proc文件夹,则创建(git不记录空文件夹)

mkdir -p ./rootfs_uclibc/dev
mkdir -p ./rootfs_uclibc/sys
mkdir -p ./rootfs_uclibc/proc

根据flash类型进行选择编译,flash为nand时,以开发板使用的flash为例,参数如下:

./mkyaffs2image100 ./rootfs_uclibc yaffs2-rootfs.img 1 2

参数说明:

mkyaffs2 {dir} {image} {pagesize} {ecctype}

image the output file to hold the image
pagesize the page size to be converted
0 | 512 512 Bytes pagesize
1 | 2k 2K Bytes pagesize
2 | 4K 4K Bytes pagesize
3 | 8K 8K Bytes pagesize
4 | 16K 16K Bytes pagesize
ecctype ECC type
0 | none no ecc
1 | 1bit used 1bit/512 ecc
2 | 4bit used 4bit/512 ecc
3 | 8bit used 8bit/512 ecc
4 | 24bit used 24bit/1k ecc
5 | 40bit used 40bit/1k ecc
6 | 64bit used 64bit/1k ecc

flash为nor时,64MB示例:

./mkfs.jffs2 -d ./rootfs_uclibc -l -e 0x10000 -o rootfs.jffs2

DOPI开源交流群:735884031

rootfs's People

Contributors

cijliu avatar

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.