This article details how physical devices are handled by the Linux kernel in the context of the [[Bora_Embedded_Linux_Kit_(BELK)|BELK]] and [[BoraX_Embedded_Linux_Kit_(BXELK)|BXELK]] kits.
NOR and NAND flashes are managed as [[Memory_Tecnology_Device_(MTD)|MTD devices]].
Generally speaking, NAND flash memory is partitons partitions are defined using the kernel command line:<pre>Bora> pri mtdpartsmtdparts=mtdparts=pl35x-nand:256K(spl),768K(uboot),256K(env1),256K(env2),6M(fpga),512K(fdt),8M(kernel),-(nand-ubi)Bora></pre>adding <code>addmisc</code> to the <code>bootargs</code> parameters list. The kernel ''dmesg'' will configure the NAND partitions in the devitetreefollowing way:
In case <code>canutils</code> package is missing, user can install it directly from DAVE's [[TODO|http://yocto.dave.eu/belk-latest/ BORA package server]] using <code>smart update && smart install canutils</code> commands:
[..snip..]
</pre>
See [[Advanced_use_of_Yocto_build_system_(BELK/BXELK)]] for more information about using Yocto packages and <code>smart</code>
==UART0==
|}
== Temperature sensor sensors ==
Bora SOM has a [http://www.ti.com/lit/ds/symlink/tmp422.pdf TMP421AIDCN] temperature sensor onboard.
the returned value has to be divided by 1000 for a °C temperature
Moreover, the SOC has an internal temperature sensor device which can be read using the followgin following shell script: