]> git.kernelconcepts.de Git - karo-tx-redboot.git/blobdiff - packages/redboot/v2_0/cdl/redboot.cdl
unified MX27, MX25, MX37 trees
[karo-tx-redboot.git] / packages / redboot / v2_0 / cdl / redboot.cdl
index 0cc8e428009660a243d6993725de92e773427946..879da34307ad366f9c2e9dedf30ff0ffff7f0bba 100644 (file)
@@ -245,6 +245,18 @@ cdl_package CYGPKG_REDBOOT {
             compile -library=libextras.a xyzModem.c
         }
 
+        cdl_option CYGBLD_REDBOOT_LOAD_INTO_FLASH {
+            display       "Allow the load-command write into Flash."
+            default_value 0
+            active_if     CYGPKG_REDBOOT_FLASH
+           requires      CYGSEM_REDBOOT_VALIDATE_USER_RAM_LOADS
+            compile       flash_load.c
+            description "
+                Write images direct to Flash via the load command.
+                We assume anything which is invalid RAM is flash, hence
+                the requires statement"
+        }
+
         cdl_option CYGBLD_BUILD_REDBOOT_WITH_WINCE_SUPPORT {
             display       "Include MS Windows CE support"
             doc           ref/wince.html
@@ -262,6 +274,13 @@ cdl_package CYGPKG_REDBOOT {
             compile -library=libextras.a mxc_usb.c
         }
 
+        cdl_option CYGBLD_BUILD_REDBOOT_WITH_IMXOTG {
+            display       "Include support for i.MX USB OTG downloads"
+            no_define
+            default_value 0
+            compile -library=libextras.a imx_usb.c
+        }
+
         cdl_option CYGBLD_BUILD_REDBOOT_WITH_CKSUM {
             display       "Include POSIX checksum command"
             doc           ref/cksum-command.html
@@ -526,7 +545,7 @@ cdl_package CYGPKG_REDBOOT {
                       This option sets the IP of the default DNS. The IP can be
                       changed at runtime as well."
                 }
-    
+
                 cdl_option CYGNUM_REDBOOT_NETWORKING_DNS_TIMEOUT {
                     display         "Timeout in DNS lookup"
                     flavor          data
@@ -536,12 +555,61 @@ cdl_package CYGPKG_REDBOOT {
                       address via the DNS. Default is 10 seconds."
                 }
     
+                cdl_component CYGPKG_REDBOOT_NETWORKING_DNS_WITH_DOMAIN {
+                    display         "Support the use of a domain name"
+                    flavor          bool
+                    default_value   0
+                    description     "
+                       This option controls if Redboot supports domain
+                       names when performing DNS lookups"
+                       
+                    cdl_option    CYGPKG_REDBOOT_NETWORKING_DNS_DEFAULT_DOMAIN {
+                        display         "Default DNS domain"
+                        flavor          booldata
+                        default_value   0
+                        description "
+                            This option sets the default DNS domain name.
+                            This value will be overwritten by the value in
+                            flash or a domain returned by DHCP"
+                    }
+
+                    cdl_option    CYGPKG_REDBOOT_NETWORKING_DNS_FCONFIG_DOMAIN {
+                        display         "Get DNS domain from Flash"
+                        flavor          bool
+                        active_if       CYGSEM_REDBOOT_FLASH_CONFIG
+                        default_value   0
+                        description "
+                            This option enables getting the domain name 
+                            from the flash configuration. This can later be 
+                            overwritten by a value learnt from DHCP"
+                    }
+
+                    cdl_option    CYGPKG_REDBOOT_NETWORKING_DNS_DHCP_DOMAIN {
+                        display         "Use DNS domain from DHCP"
+                        flavor          bool
+                        default_value   0
+                        description "
+                            This option enables the use of the domain name
+                            returned by DHCP."
+                    }
+
+                    cdl_option CYGNUM_REDBOOT_NETWORK_DNS_DOMAIN_BUFSIZE {
+                        display         "BOOTP/DHCP DNS domain buffer size"
+                        flavor          data
+                        default_value   32
+                        description "
+                           This options sets the size of the static
+                           buffer used by BOOTP/DHCP to store the DNS
+                           domain name. The domain name will not be
+                           set if the buffer is too small to hold it."
+                    }
+                }
             }
 
            cdl_option CYGDAT_REDBOOT_DEFAULT_NETWORK_DEVICE {
                 display         "Default network device driver"
                 flavor          data
-                active_if       { CYGSEM_REDBOOT_FLASH_CONFIG && CYGHWR_NET_DRIVERS > 1 }
+                active_if       { CYGHWR_NET_DRIVERS > 1 }
                 default_value   { "\"\"" }
                 description     "
                     This is the name of the default network device to use."
@@ -572,7 +640,7 @@ cdl_package CYGPKG_REDBOOT {
         }
     
         cdl_option CYGSEM_REDBOOT_VARIABLE_BAUD_RATE {
-            display       "Let RedBoot adjust the baud off the serial console."
+            display       "Let RedBoot adjust the baud rate of the serial console."
             flavor        bool
             default_value 1
             active_if     CYGINT_HAL_VIRTUAL_VECTOR_COMM_BAUD_SUPPORT
@@ -708,6 +776,32 @@ cdl_package CYGPKG_REDBOOT {
                       means the last but one block."
                 }
     
+                cdl_component CYGOPT_REDBOOT_REDUNDANT_FIS {
+                    display         "Redundant Flash Image System Directory Support"
+                    default_value   0
+                    requires { 0 == CYGSEM_REDBOOT_FLASH_COMBINED_FIS_AND_CONFIG }
+                    description "
+                              This option enables the use of a redundant FIS
+                              directory within RedBoot.  If enabled a flash block
+                              will be reserved for a second copy of the fis
+                              directory. Doing this allow for power failure safe
+                              updates of the directory by the application."
+      
+                    cdl_option CYGNUM_REDBOOT_FIS_REDUNDANT_DIRECTORY_BLOCK {
+                        display         "Flash block containing the backup Directory"
+                        flavor          data
+                        default_value   (-3)
+                        requires { CYGNUM_REDBOOT_FIS_REDUNDANT_DIRECTORY_BLOCK !=
+                                   CYGNUM_REDBOOT_FIS_DIRECTORY_BLOCK }
+                        description "
+                                 Which block of flash should hold the redundant
+                                 directory information. Positive numbers are
+                                 absolute block numbers. Negative block numbers
+                                 count backwards from the last block. eg 2 means
+                                 block 2, -2 means the last but one block."
+                    }
+                }
+    
                 cdl_option CYGOPT_REDBOOT_FIS_RESERVED_BASE {
                     display         "Pseudo-file to describe reserved area"
                     active_if       { 0 != CYGNUM_REDBOOT_FLASH_RESERVED_BASE }
@@ -1055,7 +1149,8 @@ cdl_package CYGPKG_REDBOOT {
                 flavor        bool
                 default_value 1
                 description "
-                  When this option is enabled, RedBoot will support IDE disks."
+                  When this option is enabled, RedBoot will support EXT2 
+                  filesystems."
                 compile -library=libextras.a fs/e2fs.c
             }