📄 readme
字号:
NOTE: tmsim- based test only; for starting, type make TCS=.. This is a demo of a complete flash based system, tying togethermost of the examples in the sibling directories. In order to be ableto test this without having access to a real flash based system,flash memory is simulated in allocated memory by making use of the FlashSpecificSim driver in the sibling flash_demo directory.This flash simulator lets flash contents survive in a file Flash.image.This demo consists of the following consecutive steps: 1) It creates an empty file system (using example ../mkfs). 2) It compiles the psos demo 1 into a dynamic .app executable. This .app must be started using a .dynboot application shell, and will dynamically load psos.dll and some other dlls of the ANSI library before it actually starts executing. All these dlls must be moved to /flash/dlls to make them accessible in the 'standalone' system before this dynamic loader based example is able to run. 3) In order to do this, all these dlls, plus the psos demo 1 app are copied into a subdirectory 'flash', which is subsequently copied to flash using simply file copy operations (using example ../write_files). NOTE: when file copying is not possible, see the following tool for packing a directory structure in a self- unpacking executable: $TCS/examples/compression/zlib/utilities/tmSEA 4) The example in ../flash_demo is compiled into a memory image and installed as a flash boot image after having read it from file (using example ../write_boot). Note that this boot image will be loaded in he middle of SDRAM, to give our L1 boot simulator in step 5 the lower half, but in a real system we want to be somewhat more economical. Both executables need at least 8M of heap to keep the simulated flash image. NOTE: when file reading is not possible, see the following tool for packing a boot image in a self- unpacking executable: $TCS/examples/compression/zlib/utilities/tmWRB NOTE: boot images can be compressed to self-unpacking booters, saving approximately 50%, by: $TCS/examples/compression/zlib/utilities/tmSEI NOTE: A real booter can be found in sibling directory 'autoboot' 5) The system is subsequently 'booted' by our L1_boot emulator. This will run an intensive file- and directory creation test. 6) Using the appshell, the psos_demo1 app is started, loading dlls from flash. 7) The system is 'booted' again by our L1_boot emulator. This will run an intensive file- and directory creation test.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -