-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation: teaching: Review ARM lab #287
base: master
Are you sure you want to change the base?
Conversation
Review and improve contents. Do minor coding updates to skeleton. Signed-off-by: Razvan Deaconescu <[email protected]>
-append "root=/dev/mmcblk0 rw console=ttymxc0 loglevel=8 earlycon printk" -sd tools/labs/core-image-minimal-qemuarm.ext4 | ||
|
||
.. note:: LCDIF and ASRC devices are not well supported with ``Qemu``. Remove them from compilation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add explanation on how to do this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Explanation is two lines below.
0209c000-0209ffff : 209c000.gpio gpio@209c000 | ||
021a0000-021a3fff : 21a0000.i2c i2c@21a0000 | ||
80000000-9fffffff : System RAM | ||
$ cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's not the file that we run cat on. It's /proc/iomem
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. @razvand can you fix this. Other than that it looks good to me.
└── var | ||
|
||
As for ``x86`` we will make use of Yocto rootfs images. In order to download an ``ext4`` rootfs image for ``arm32`` one needs to run: | ||
root@so2$ tree -d -L 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a lot of whitespace code changes, are these intentional?
$ make -j8 | ||
$ ./build/qemu-system-arm | ||
$ git clone https://gitlab.com/qemu-project/qemu.git | ||
$ ./configure --target-list=arm-softmmu --disable-docs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe make it clear that this must be done from the qemu directory after cloning.
|
||
4. Hello World | ||
-------------- | ||
|
||
Use the ``4-hello/`` folder in the lab skeleton folder. | ||
|
||
Implement a simple kernel module that prints a message at load/unload time. Compile it and load it on ``i.MX6UL`` emulated platform. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The module is already implemented. This might cause confusion.
Review and improve contents. Do minor coding updates to skeleton.