Skip to content

cststudio/linux

Repository files navigation

Linux kernel
============

start of Late Lee  

## vexpress a9

cp config.vexpress-a9 .config  
make CROSS_COMPILE=arm-unknown-linux-gnueabihf- ARCH=arm  
result:  
arch/arm/boot/zImage & arch/arm/boot/dts/vexpress-v2p-ca9.dtb  

u-boot way:  
sudo apt-get install u-boot-tools  
cp config.vexpress-a9 .config  
make uImage LOADADDR=0x60003000 CROSS_COMPILE=arm-unknown-linux-gnueabihf- ARCH=arm  
make dtbs CROSS_COMPILE=arm-unknown-linux-gnueabihf- ARCH=arm  
result:  
arch/arm/boot/uImage & arch/arm/boot/dts/vexpress-v2p-ca9.dtb  

## imx6q & imx6ul
cp config.imx6 .config  
make zImage CROSS_COMPILE=arm-unknown-linux-gnueabihf- ARCH=arm 
make dtbs CROSS_COMPILE=arm-unknown-linux-gnueabihf- ARCH=arm 
or:   
make zImage && make dtbs

run: 
```
qemu-system-arm -M sabrelite -nographic -m 512M \
-kernel ./zImage \
-dtb ./dts/imx6q-sabrelite.dtb \
-append "earlyprintk=vga log_buf_len=25M console=ttymxc0,115200 rootfstype=ext3 root=/dev/mmcblk1 rw rootwait init=/sbin/init" \
-drive file=rootfs.img,format=raw,id=mycard -device sd-card,drive=mycard \
-net nic,macaddr=6c:61:74:65:6c:65 -net tap,ifname=tap0
```

imx6ul:  
```
qemu-system-arm -M mcimx6ul-evk -nographic -m 512M \
-kernel ./zImage \
-dtb ./dts/imx6ull-14x14-evk.dtb \
-append "earlyprintk=vga log_buf_len=25M console=ttymxc0,115200 rootfstype=ext3 root=/dev/mmcblk1 rw rootwait init=/sbin/init" \
-drive file=rootfs.img,format=raw,id=mycard -device sd-card,drive=mycard \
-net nic,macaddr=6c:61:74:65:6c:65 -net tap,ifname=tap0
```

end of Late Lee  


This file was moved to Documentation/admin-guide/README.rst

Please notice that there are several guides for kernel developers and users.
These guides can be rendered in a number of formats, like HTML and PDF.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.

About

linux kernel source 4.15

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published