Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende ÜberarbeitungNächste ÜberarbeitungBeide Seiten der Revision | ||
software:linux:yocto:cb20 [2023-07-07 13:50] – Urs Graf | software:linux:yocto:cb20 [2023-07-21 09:49] – Urs Graf | ||
---|---|---|---|
Zeile 17: | Zeile 17: | ||
==== EIM Driver and Device Tree ==== | ==== EIM Driver and Device Tree ==== | ||
- | The cb20 board incorporates an FPGA which is connected through the EIM bus instead of two SRAM modules. We use [[https:// | + | The cb20 board incorporates an FPGA which is connected through the EIM bus instead of two SRAM modules. We use [[https:// |
- | + | ||
- | < | + | |
- | &weim { | + | |
- | status = " | + | |
- | fsl,weim-cs-gpr = <& | + | |
- | /* weim memory map: 32MB on CS0, CS1, CS2 and CS3 */ | + | |
- | ranges = <0 0 0x08000000 0x02000000 | + | |
- | 1 0 0x0a000000 0x02000000 | + | |
- | 2 0 0x0c000000 0x02000000 | + | |
- | 3 0 0x0e000000 0x02000000>; | + | |
- | + | ||
- | sram@0,0 { | + | |
- | status = " | + | |
- | }; | + | |
- | + | ||
- | /* FPGA on CS0 */ | + | |
- | fpga@0,0 { | + | |
- | compatible = " | + | |
- | reg = <0 0 0x00080000>; | + | |
- | #address-cells = < | + | |
- | #size-cells = < | + | |
- | bank-width = < | + | |
- | fsl,weim-cs-timing = < | + | |
- | }; | + | |
- | }; | + | |
- | + | ||
- | </ | + | |
The //ranges// property determines the memory areas for 3 chip selects. The size of each region is 32 MB. CS0 starts at 0x08000000 and is used for the FPGA. Only 512 KB are used for the FPGA because the address width is 16 bit. The kernel module maps the amount of memory which is in the //reg// property of the //fpga// node. | The //ranges// property determines the memory areas for 3 chip selects. The size of each region is 32 MB. CS0 starts at 0x08000000 and is used for the FPGA. Only 512 KB are used for the FPGA because the address width is 16 bit. The kernel module maps the amount of memory which is in the //reg// property of the //fpga// node. | ||
Zeile 52: | Zeile 25: | ||
The // | The // | ||
- | Our device tree has the following changes: | + | Another change in our device tree is on '' |
- | * flexcan: CAN driver included | + | |
- | * weim: EIM driver for FPGA | + | |
- | * iomux: some gpios removed due to conflicts with flexcan and eim | + | |
- | The current device tree for the iMX6 on the CB20 board can be found on [[https:// | ||
- | ===== Installing | + | ===== Getting |
- | Use the [[..:toradex:toradex-easy-installer | + | Prebuilt images can be obtained from our [[software:linux:images: |
- | ===== Updating the Bootloader / Recovery Mode ===== | + | ===== Installing Images |
+ | Use the [[..: | ||
+ | |||
+ | Updating the bootloader / recovery mode | ||
* https:// | * https:// | ||
* https:// | * https:// | ||
Zeile 69: | Zeile 41: | ||
===== Accessing the Board ===== | ===== Accessing the Board ===== | ||
- | To be done | + | The login shell can be accessed through UART-A. |
+ | * On the Colibri Evaluation board: use a null modem cable. The communication settings are: 115200 8N1. | ||
+ | * On our [[embedded_systems: | ||
+ | |||
+ | To be done !!! | ||
+ | | IP | ? | | ||
+ | | user | ost | | ||
+ | | pw | ost | | ||
+ | |||
+ | The '' | ||
+ | |||
+ | ==== Using WLAN ==== | ||
+ | See [[software: | ||