Tinalinux SDK Development Guide Table of Contents Overview
Total Page:16
File Type:pdf, Size:1020Kb
nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni Tinalinux SDK Development Guide Table of Contents Overview..............................................................................................................................4 Purpose........................................................................................................................ 4 Applicable scope..........................................................................................................4 Related personnel.........................................................................................................4 Tina System Data.................................................................................................................5 nulllindeni nulllindeniOverview......nulllindeni.........................nulllindeni........................nulllindeni.........................nulllindeni.........................nulllindeni.............5 nulllindeni Document list...............................................................................................................5 Hardware documents........................................................................................... 5 Support list...........................................................................................................5 Tool documents................................................................................................... 5 IC documents.......................................................................................................6 System development guide..................................................................................6 BSP document list................................................................................................7 Tina System Overview........................................................................................................ 7 Overview......................................................................................................................7 nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni System chart.................................................................................................................8 Development Procedures.............................................................................................9 Tina Development Environment........................................................................................10 Overview....................................................................................................................10 Building of compiling environment...........................................................................10 Development host configuration........................................................................10 Software package configuration........................................................................ 10 1 nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeniFirmware burnulllindenining and buildinulllindening.....................nulllindeni.........................nulllindeni........................nulllindeni........... 11 nulllindeni Tina System Acquisition....................................................................................................11 Overview....................................................................................................................11 SDK acquisition.........................................................................................................11 SDK structure............................................................................................................ 11 Build directory................................................................................................... 11 Config directory.................................................................................................12 Docs directory....................................................................................................12 Lichee directory................................................................................................. 12 Package directory...............................................................................................12 nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni Prebuilt directory............................................................................................... 12 Scripts directory.................................................................................................12 Target directory................................................................................................. 12 Toolchain directory............................................................................................12 Tools directory...................................................................................................12 Out directory......................................................................................................12 SDK update................................................................................................................13 Problem feedback...................................................................................................... 13 Tina Compiling and Packaging......................................................................................... 13 nulllindeni nulllindeniOverview......nulllindeni.........................nulllindeni........................nulllindeni.........................nulllindeni.........................nulllindeni...........13 nulllindeni System compilation................................................................................................... 13 Boot compilation....................................................................................................... 13 Compile the kernel.....................................................................................................14 Application recompilation......................................................................................... 14 Method I.............................................................................................................14 Method II........................................................................................................... 14 Other commands........................................................................................................14 2 nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni Tinnulllindenia System Burninulllindening....................nulllindeni.........................nulllindeni.........................nulllindeni........................nulllindeni........... 15 nulllindeni Overview....................................................................................................................15 Tina uboot Custom Development......................................................................................15 Overview....................................................................................................................15 Code path................................................................................................................... 16 uboot function............................................................................................................16 uboot configuration....................................................................................................16 defconfig mode.................................................................................................. 16 defconfig configuration steps.................................................................... 16 Introduction to defconfig configuration macro..........................................17 nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni nulllindeni menuconfig mode.............................................................................................. 17 uboot compilation...................................................................................................... 18 Method I.............................................................................................................18 Method II........................................................................................................... 18 uboot configuration....................................................................................................18 sys_config configuration................................................................................... 18 Introduction to sys_config.fex structure.................................................... 18 Example of sys_config.fex configuration..................................................19 sys_config.fex parsing process.................................................................. 19 nulllindeni nulllindeni Environmnulllindenient variable conulllindeninfiguration......nulllindeni.........................nulllindeni........................nulllindeni........... 19 nulllindeni Function of environment variable..............................................................20 Introduction to environment variable configuration example................... 20 sys_partition.fex partition configuration........................................................... 21 Introduction to sys_partition.fex partition configuration...........................21