├── .gitignore ├── README.md ├── doc ├── AMBA_AXI_v2_0_protocol_spec.pdf ├── DDI0224_rtc_pl031.pdf ├── DUI0447J_v2m_p1_trm.pdf ├── DUI0448I_v2p_ca9_trm.pdf ├── Power_ePAPR_APPROVED_v1.1.pdf ├── vexpress-v2m.dtsi └── vexpress-v2p-ca9.dts ├── hello_module ├── Makefile └── hello.c ├── lddd3 ├── mych06 │ ├── .globalmem.ko.cmd │ ├── .globalmem.mod.o.cmd │ ├── .globalmem.o.cmd │ ├── .tmp_versions │ │ └── globalmem.mod │ ├── Kconfig │ ├── Makefile │ ├── Module.symvers │ ├── globalmem.c │ ├── globalmem.ko │ ├── globalmem.mod.c │ ├── globalmem.mod.o │ ├── globalmem.o │ └── modules.order ├── mych07 │ └── globalfifo.c └── ref.d │ ├── ch6 │ ├── Makefile │ ├── globalmem.c │ └── multi_globalmem.c │ ├── ch7 │ ├── .globalmem.ko.cmd │ ├── .globalmem.mod.o.cmd │ ├── .globalmem.o.cmd │ ├── .tmp_versions │ │ └── globalmem.mod │ ├── Makefile │ ├── Module.symvers │ ├── globalmem.c │ ├── globalmem.ko │ ├── globalmem.mod.c │ ├── globalmem.mod.o │ ├── globalmem.o │ └── modules.order │ └── globalfifo │ ├── ch12 │ ├── Makefile │ ├── globalfifo-dev.c │ └── globalfifo.c │ ├── ch8 │ ├── Makefile │ ├── globalfifo.c │ ├── globalfifo_epoll.c │ └── globalfifo_poll.c │ └── ch9 │ ├── Makefile │ ├── aior.c │ ├── globalfifo.c │ └── globalfifo_test.c ├── qemu.d ├── .config ├── kill_qemu ├── mount.sh ├── run-gdbserver.sh ├── run-lcd.sh ├── run-nolcd.sh ├── run_linux.sh ├── run_linux_with_network.sh ├── tap30.sh ├── test.sh ├── u-boot.sh ├── update_buildroot.sh └── vexpress.img ├── test └── u-boot.sh └── tools └── etc.tar.gz /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/README.md -------------------------------------------------------------------------------- /doc/AMBA_AXI_v2_0_protocol_spec.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/doc/AMBA_AXI_v2_0_protocol_spec.pdf -------------------------------------------------------------------------------- /doc/DDI0224_rtc_pl031.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/doc/DDI0224_rtc_pl031.pdf -------------------------------------------------------------------------------- /doc/DUI0447J_v2m_p1_trm.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/doc/DUI0447J_v2m_p1_trm.pdf -------------------------------------------------------------------------------- /doc/DUI0448I_v2p_ca9_trm.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/doc/DUI0448I_v2p_ca9_trm.pdf -------------------------------------------------------------------------------- /doc/Power_ePAPR_APPROVED_v1.1.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/doc/Power_ePAPR_APPROVED_v1.1.pdf -------------------------------------------------------------------------------- /doc/vexpress-v2m.dtsi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/doc/vexpress-v2m.dtsi -------------------------------------------------------------------------------- /doc/vexpress-v2p-ca9.dts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/doc/vexpress-v2p-ca9.dts -------------------------------------------------------------------------------- /hello_module/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/hello_module/Makefile -------------------------------------------------------------------------------- /hello_module/hello.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/hello_module/hello.c -------------------------------------------------------------------------------- /lddd3/mych06/.globalmem.ko.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/lddd3/mych06/.globalmem.ko.cmd -------------------------------------------------------------------------------- /lddd3/mych06/.globalmem.mod.o.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/lddd3/mych06/.globalmem.mod.o.cmd -------------------------------------------------------------------------------- /lddd3/mych06/.globalmem.o.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/lddd3/mych06/.globalmem.o.cmd -------------------------------------------------------------------------------- /lddd3/mych06/.tmp_versions/globalmem.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/lddd3/mych06/.tmp_versions/globalmem.mod -------------------------------------------------------------------------------- /lddd3/mych06/Kconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/lddd3/mych06/Kconfig -------------------------------------------------------------------------------- /lddd3/mych06/Makefile: -------------------------------------------------------------------------------- 1 | obj-$(CONFIG_GLOBALMEM) += globalmem.o 2 | -------------------------------------------------------------------------------- /lddd3/mych06/Module.symvers: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lddd3/mych06/globalmem.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/lddd3/mych06/globalmem.c -------------------------------------------------------------------------------- /lddd3/mych06/globalmem.ko: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/lddd3/mych06/globalmem.ko -------------------------------------------------------------------------------- /lddd3/mych06/globalmem.mod.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/lddd3/mych06/globalmem.mod.c -------------------------------------------------------------------------------- /lddd3/mych06/globalmem.mod.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/lddd3/mych06/globalmem.mod.o -------------------------------------------------------------------------------- /lddd3/mych06/globalmem.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/lddd3/mych06/globalmem.o -------------------------------------------------------------------------------- /lddd3/mych06/modules.order: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/lddd3/mych06/modules.order -------------------------------------------------------------------------------- /lddd3/mych07/globalfifo.c: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lddd3/ref.d/ch6/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/lddd3/ref.d/ch6/Makefile -------------------------------------------------------------------------------- /lddd3/ref.d/ch6/globalmem.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/lddd3/ref.d/ch6/globalmem.c -------------------------------------------------------------------------------- /lddd3/ref.d/ch6/multi_globalmem.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/lddd3/ref.d/ch6/multi_globalmem.c -------------------------------------------------------------------------------- /lddd3/ref.d/ch7/.globalmem.ko.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/lddd3/ref.d/ch7/.globalmem.ko.cmd -------------------------------------------------------------------------------- /lddd3/ref.d/ch7/.globalmem.mod.o.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/lddd3/ref.d/ch7/.globalmem.mod.o.cmd -------------------------------------------------------------------------------- /lddd3/ref.d/ch7/.globalmem.o.cmd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/lddd3/ref.d/ch7/.globalmem.o.cmd -------------------------------------------------------------------------------- /lddd3/ref.d/ch7/.tmp_versions/globalmem.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/lddd3/ref.d/ch7/.tmp_versions/globalmem.mod -------------------------------------------------------------------------------- /lddd3/ref.d/ch7/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/lddd3/ref.d/ch7/Makefile -------------------------------------------------------------------------------- /lddd3/ref.d/ch7/Module.symvers: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /lddd3/ref.d/ch7/globalmem.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/lddd3/ref.d/ch7/globalmem.c -------------------------------------------------------------------------------- /lddd3/ref.d/ch7/globalmem.ko: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/lddd3/ref.d/ch7/globalmem.ko -------------------------------------------------------------------------------- /lddd3/ref.d/ch7/globalmem.mod.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/lddd3/ref.d/ch7/globalmem.mod.c -------------------------------------------------------------------------------- /lddd3/ref.d/ch7/globalmem.mod.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/lddd3/ref.d/ch7/globalmem.mod.o -------------------------------------------------------------------------------- /lddd3/ref.d/ch7/globalmem.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/lddd3/ref.d/ch7/globalmem.o -------------------------------------------------------------------------------- /lddd3/ref.d/ch7/modules.order: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/lddd3/ref.d/ch7/modules.order -------------------------------------------------------------------------------- /lddd3/ref.d/globalfifo/ch12/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/lddd3/ref.d/globalfifo/ch12/Makefile -------------------------------------------------------------------------------- /lddd3/ref.d/globalfifo/ch12/globalfifo-dev.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/lddd3/ref.d/globalfifo/ch12/globalfifo-dev.c -------------------------------------------------------------------------------- /lddd3/ref.d/globalfifo/ch12/globalfifo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/lddd3/ref.d/globalfifo/ch12/globalfifo.c -------------------------------------------------------------------------------- /lddd3/ref.d/globalfifo/ch8/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/lddd3/ref.d/globalfifo/ch8/Makefile -------------------------------------------------------------------------------- /lddd3/ref.d/globalfifo/ch8/globalfifo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/lddd3/ref.d/globalfifo/ch8/globalfifo.c -------------------------------------------------------------------------------- /lddd3/ref.d/globalfifo/ch8/globalfifo_epoll.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/lddd3/ref.d/globalfifo/ch8/globalfifo_epoll.c -------------------------------------------------------------------------------- /lddd3/ref.d/globalfifo/ch8/globalfifo_poll.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/lddd3/ref.d/globalfifo/ch8/globalfifo_poll.c -------------------------------------------------------------------------------- /lddd3/ref.d/globalfifo/ch9/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/lddd3/ref.d/globalfifo/ch9/Makefile -------------------------------------------------------------------------------- /lddd3/ref.d/globalfifo/ch9/aior.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/lddd3/ref.d/globalfifo/ch9/aior.c -------------------------------------------------------------------------------- /lddd3/ref.d/globalfifo/ch9/globalfifo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/lddd3/ref.d/globalfifo/ch9/globalfifo.c -------------------------------------------------------------------------------- /lddd3/ref.d/globalfifo/ch9/globalfifo_test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/lddd3/ref.d/globalfifo/ch9/globalfifo_test.c -------------------------------------------------------------------------------- /qemu.d/.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/qemu.d/.config -------------------------------------------------------------------------------- /qemu.d/kill_qemu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/qemu.d/kill_qemu -------------------------------------------------------------------------------- /qemu.d/mount.sh: -------------------------------------------------------------------------------- 1 | sudo mount -o loop,offset=$((2048*512)) $1 ./img 2 | -------------------------------------------------------------------------------- /qemu.d/run-gdbserver.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/qemu.d/run-gdbserver.sh -------------------------------------------------------------------------------- /qemu.d/run-lcd.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/qemu.d/run-lcd.sh -------------------------------------------------------------------------------- /qemu.d/run-nolcd.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/qemu.d/run-nolcd.sh -------------------------------------------------------------------------------- /qemu.d/run_linux.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/qemu.d/run_linux.sh -------------------------------------------------------------------------------- /qemu.d/run_linux_with_network.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/qemu.d/run_linux_with_network.sh -------------------------------------------------------------------------------- /qemu.d/tap30.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/qemu.d/tap30.sh -------------------------------------------------------------------------------- /qemu.d/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/qemu.d/test.sh -------------------------------------------------------------------------------- /qemu.d/u-boot.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/qemu.d/u-boot.sh -------------------------------------------------------------------------------- /qemu.d/update_buildroot.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/qemu.d/update_buildroot.sh -------------------------------------------------------------------------------- /qemu.d/vexpress.img: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/qemu.d/vexpress.img -------------------------------------------------------------------------------- /test/u-boot.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/test/u-boot.sh -------------------------------------------------------------------------------- /tools/etc.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aggresss/LKDemo/HEAD/tools/etc.tar.gz --------------------------------------------------------------------------------