This shows you the differences between two versions of the page.
lkd:laboratoare:01 [2024/07/08 14:49] daniel.baluta |
lkd:laboratoare:01 [2024/07/08 15:18] (current) daniel.baluta |
||
---|---|---|---|
Line 15: | Line 15: | ||
==== Presentation ==== | ==== Presentation ==== | ||
- | * follow slides at [[session 1]] | + | * follow slides at {{:lkd:laboratoare:lkd_01.pdf| Session 1}} |
==== Practical lab ==== | ==== Practical lab ==== | ||
Line 193: | Line 192: | ||
After booting the board and getting the prompt explore the hardware board capabilities. | After booting the board and getting the prompt explore the hardware board capabilities. | ||
+ | |||
+ | Check the current Linux kernel version: | ||
+ | <code bash> | ||
+ | $ cat /proc/version | ||
+ | </code> | ||
+ | |||
+ | Check the command line arguments used to start the Linux kernel: | ||
+ | <code bash> | ||
+ | |||
+ | $ cat /proc/cmdline | ||
+ | |||
+ | </code> | ||
List all the cpus in the system: | List all the cpus in the system: | ||
Line 206: | Line 217: | ||
</code> | </code> | ||
+ | |||
+ | List the physical memory map for the system: | ||
+ | |||
+ | <code bash> | ||
+ | |||
+ | $ cat /proc/iomem | ||
+ | </code> | ||
+ | |||
+ | Notice the address range for ''System RAM'' and for the rest of devices. | ||
+ | |||
+ | Check the current list of filesystems supported by the kernel: | ||
+ | |||
+ | <code bash> | ||
+ | |||
+ | $ cat /proc/filesystems | ||
+ | |||
+ | </code> | ||
+ | |||
+ | Check the current list of modules loaded in the system: | ||
+ | |||
+ | <code bash> | ||
+ | |||
+ | $ cat /proc/modules | ||
+ | |||
+ | </code> | ||
+ | |||
+ | Finally check the kernel log: | ||
+ | |||
+ | <code bash> | ||
+ | |||
+ | $ dmesg | ||
+ | |||
+ | </code> | ||
+ | |||
+ | |||
+ |