Skip to content

chyyuu/ucore-driver

 
 

Repository files navigation

uCore_plus

##Current Progress Working on Linux Driver Support PLEASE SEE README.i386 first.

##Quick Try

  1. download or clone ucore plus source code
  2. cd ucore
  3. make ARCH=i386 defconfig
  4. make
  5. make sfsimg
  6. uCore_run -d obj

##Makefile Cross Compile

set the environment variables:

export ARCH = ?

you can use archs: i386, arm, amd64, mips, or32, um, nios2

export CROSS_COMPILE = ?

(see Makefile in ./ucore)

Kconfig

The top level Kconfig is ./ucore/arch/xxx/Kconfig. You can include other Kconfig

(see ./ucore/arch/arm/Kconfig)

All config option is prefixed with UCONFIG_

Makefile

Supported variables: obj-y, dirs-y

(See ./ucore/kern-ucore/Makefile.build and Makefile.subdir)

Add a new ARCH

In arch/xxx, add Makefile.image and include.mk

***include.mk: define ARCH_INCLUDES and ARCH_CFLAGD, etc.

***Makefile.image: how to generate the executable for your platform.

***Kconfig: your top level Kconfig

***Makefile: recursively add Makefile in your arch directory.

More Document

See ucore/doc

About

fork from ucore_plus

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 93.4%
  • C++ 3.5%
  • Assembly 1.0%
  • Bison 0.8%
  • Makefile 0.5%
  • Roff 0.4%
  • Other 0.4%