Skip to content

zhangst/document

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

                            The Gotoos Open Source Project Document

1.Preparation:

$ sudo apt-get install git-core gnupg flex bison gperf build-essential zip curl
$ sudo apt-get install git-cola
$ sudo apt-get install gitk
$ sudo apt-get install libpci-dev
$ sudo apt-get install libsdl1.2-dev
$ sudo apt-get install dh-autoreconf
$ sudo apt-get install uboot-mkimage

2.Get sources:

(1).Download and config repo:

  a.Create a directory:
    $ mkdir ~/bin
  b.Config environment variable:
    $ vim ~/.bashrc, add PATH=~/bin:$PATH to the end of ~/.bashrc
  c.Download repo script, this maybe not up-to-date file, you can update to url:
    $ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
  d.Add executable authority:
    $ chmod a+x ~/bin/repo

(2).Sync sources and make image:

  a.Create a directory:
    $ mkdir ~/gotoos
  b.Repo init:
    $ repo init -u https://github.com/gotoos/manifest.git -b master
  c.Repo sync:
    $ repo sync -j4
  d.Compiler sources
    $ . build/envsetup.sh
    $ lunch        # choose target device(default is qemu)
    $ make

3.Install qemu and run gotoos:

(1).Download and install qemu sources:
  $ git clone https://github.com/qemu/qemu.git
  $ cd qemu
  $ ./configure --target-list=arm-softmmu --audio-drv-list=alsa
  $ make
  $ sudo make install

(2).run gotoos:
  $ cd gotoos/out/target/product/qemu/
  $ emulator kernel ramdisk.img

4.Send patch to us:

(1).Modify some files.

(2).Make patch:
    $ git add file1, file2
    $ git commit -s
Input some message as following:
Line 1:Commit Message Sample
Line 2:
Line 3:N/A
Line 4:
Line 5:This is a sample of gotoos commit message. Please follow this.
Line 6:Signed-off-by: liminghao <vgotoos@gmail.com>
    $ git format-patch gotoos/seed -o out_patch/

(3).Use a email box by yourself and attach the patch and send to us:

mail list as following:
A. <vgotoos@gmail.com>
B. <shuntongzhang@gmail.com>

About

This is document of gotoos.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published