Sandeep Paulraj | 49ea9a0 | 2009-11-21 13:13:59 -0500 | [diff] [blame] | 1 | Summary |
| 2 | ======= |
| 3 | |
Bartosz Golaszewski | 8856cb2 | 2019-04-30 09:39:25 +0200 | [diff] [blame] | 4 | Note: this document used to be about the entire family of DaVinci SOCs but the |
| 5 | support for the DM* family and DA830 has since been dropped. |
Sandeep Paulraj | 49ea9a0 | 2009-11-21 13:13:59 -0500 | [diff] [blame] | 6 | |
Bartosz Golaszewski | 8856cb2 | 2019-04-30 09:39:25 +0200 | [diff] [blame] | 7 | This README is about U-Boot support for TI's DA850 SoC. This SOC has an OMAP |
| 8 | part number but is very similar to the DaVinci series. |
Sandeep Paulraj | 49ea9a0 | 2009-11-21 13:13:59 -0500 | [diff] [blame] | 9 | |
Bartosz Golaszewski | 8856cb2 | 2019-04-30 09:39:25 +0200 | [diff] [blame] | 10 | Currently the following boards are supported: |
Sandeep Paulraj | 49ea9a0 | 2009-11-21 13:13:59 -0500 | [diff] [blame] | 11 | |
Sekhar Nori | ab74645 | 2010-11-19 11:39:46 -0500 | [diff] [blame] | 12 | * TI DA850 EVM |
| 13 | |
Bartosz Golaszewski | 8856cb2 | 2019-04-30 09:39:25 +0200 | [diff] [blame] | 14 | * TI OMAP-L138 LCDK |
Sandeep Paulraj | 49ea9a0 | 2009-11-21 13:13:59 -0500 | [diff] [blame] | 15 | |
Bartosz Golaszewski | 8856cb2 | 2019-04-30 09:39:25 +0200 | [diff] [blame] | 16 | * Lego EV3 |
Sandeep Paulraj | 49ea9a0 | 2009-11-21 13:13:59 -0500 | [diff] [blame] | 17 | |
| 18 | Build |
| 19 | ===== |
| 20 | |
Sekhar Nori | ab74645 | 2010-11-19 11:39:46 -0500 | [diff] [blame] | 21 | * TI DA850 EVM: |
| 22 | |
| 23 | make da850evm_config |
| 24 | make |
| 25 | |
Bartosz Golaszewski | 8856cb2 | 2019-04-30 09:39:25 +0200 | [diff] [blame] | 26 | * TI OMAP-L138 LCDK |
Sandeep Paulraj | 49ea9a0 | 2009-11-21 13:13:59 -0500 | [diff] [blame] | 27 | |
Bartosz Golaszewski | 8856cb2 | 2019-04-30 09:39:25 +0200 | [diff] [blame] | 28 | make omapl138_lcdk_defconfig |
Sandeep Paulraj | 49ea9a0 | 2009-11-21 13:13:59 -0500 | [diff] [blame] | 29 | make |
| 30 | |
Bartosz Golaszewski | 8856cb2 | 2019-04-30 09:39:25 +0200 | [diff] [blame] | 31 | * Lego EV3 |
Sandeep Paulraj | 49ea9a0 | 2009-11-21 13:13:59 -0500 | [diff] [blame] | 32 | |
Bartosz Golaszewski | 8856cb2 | 2019-04-30 09:39:25 +0200 | [diff] [blame] | 33 | make legoev3_defconfig |
Sandeep Paulraj | 49ea9a0 | 2009-11-21 13:13:59 -0500 | [diff] [blame] | 34 | make |
| 35 | |
| 36 | Bootloaders |
| 37 | =============== |
| 38 | |
Bartosz Golaszewski | 8856cb2 | 2019-04-30 09:39:25 +0200 | [diff] [blame] | 39 | For DA850 an SPL (secondary program loader, see doc/README.SPL) is provided |
Adam Ford | 8ddb617 | 2020-06-29 18:32:02 -0500 | [diff] [blame] | 40 | to load U-Boot from SPI flash, MMC or NAND. The SPL takes care of the low level |
Bartosz Golaszewski | 8856cb2 | 2019-04-30 09:39:25 +0200 | [diff] [blame] | 41 | initialization. |
Sandeep Paulraj | 49ea9a0 | 2009-11-21 13:13:59 -0500 | [diff] [blame] | 42 | |
Adam Ford | 8ddb617 | 2020-06-29 18:32:02 -0500 | [diff] [blame] | 43 | The SPL is built as u-boot.ais for all DA850 defconfigs except those booting |
| 44 | from NOR flash. The resulting image file can be programmed to the SPI flash |
| 45 | of the DA850 EVM/LCDK. |
| 46 | |
| 47 | Devices that support booting from NOR utilize execute in place (XIP) and do |
| 48 | not require SPL to perform low level initialization. |
Christian Riesch | 63e341b | 2011-12-09 09:47:37 +0000 | [diff] [blame] | 49 | |
Sekhar Nori | 6e11220 | 2010-11-19 11:39:48 -0500 | [diff] [blame] | 50 | Environment Variables |
| 51 | ===================== |
| 52 | |
| 53 | The DA850 EVM allows the user to specify the maximum cpu clock allowed by the |
| 54 | silicon, in Hz, via an environment variable "maxcpuclk". |
| 55 | |
| 56 | The maximum clock rate allowed depends on the silicon populated on the EVM. |
| 57 | Please make sure you understand the restrictions placed on this clock in the |
| 58 | device specific datasheet before setting up this variable. This information is |
| 59 | passed to the Linux kernel using the ATAG_REVISION atag. |
| 60 | |
| 61 | If "maxcpuclk" is not defined, the configuration CONFIG_DA850_EVM_MAX_CPU_CLK |
| 62 | is used to obtain this information. |
| 63 | |
Sandeep Paulraj | 49ea9a0 | 2009-11-21 13:13:59 -0500 | [diff] [blame] | 64 | Links |
| 65 | ===== |
| 66 | |
Bartosz Golaszewski | 8856cb2 | 2019-04-30 09:39:25 +0200 | [diff] [blame] | 67 | 1) TI DA850 EVM |
Sekhar Nori | ab74645 | 2010-11-19 11:39:46 -0500 | [diff] [blame] | 68 | http://focus.ti.com/docs/prod/folders/print/omap-l138.html |
| 69 | http://www.logicpd.com/products/development-kits/zoom-omap-l138-evm-development-kit |
Heiko Schocher | f49e944 | 2011-09-14 19:59:37 +0000 | [diff] [blame] | 70 | |
Bartosz Golaszewski | 8856cb2 | 2019-04-30 09:39:25 +0200 | [diff] [blame] | 71 | 2) TI OMAP-L138 LCDK |
| 72 | http://focus.ti.com/docs/prod/folders/print/omap-l138.html |
| 73 | http://www.ti.com/tool/TMDXLCDK138 |
| 74 | |
Heiko Schocher | f49e944 | 2011-09-14 19:59:37 +0000 | [diff] [blame] | 75 | Davinci special defines |
| 76 | ======================= |
| 77 | |
Tom Rini | 6a5dccc | 2022-11-16 13:10:41 -0500 | [diff] [blame] | 78 | CFG_SYS_DV_NOR_BOOT_CFG: AM18xx based boards, booting in NOR Boot mode |
Heiko Schocher | f49e944 | 2011-09-14 19:59:37 +0000 | [diff] [blame] | 79 | need a "NOR Boot Configuration Word" stored |
| 80 | in the NOR Flash. This define adds this. |
| 81 | More Info about this, see: |
| 82 | spraba5a.pdf chapter 3.1 |