Changes between Version 3 and Version 4 of Docs/825gen2/Dev/UpdatingLegacyApps


Ignore:
Timestamp:
02/08/24 09:17:45 (9 months ago)
Author:
Don Wilson
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Docs/825gen2/Dev/UpdatingLegacyApps

    v3 v4  
    11= Updating Legacy 825 Apps to run on 825gen2 =
     2
     31. In new 825 development VM import Eclipse IDE import the legacy project, or checkout the project from an SVN repository.
     42. Right-click on the project in Eclipse and select "Build Configurations", "Manage..."
     53. Click "New..." and type for the "Name:" input "Debug-ARM825". Selected "Copy settings from "Existing configuration - Debug". Click "OK".
     64. There is now a duplicated build configuration. We will change this configuration to compile for the new 825.
     75. Right-click on the project and select "Properties...", Select "Settings" and "Tool Settings".
     86. Select "GCC C++ Compiler". The "Command:" will show "m68k-uclinux-g++". Change this to "aarch64-none-linux-gnu-g++". This changes the compiler to compile for the ARM64 architecture.
     97. Select "GCC C++ Linker". The "Command:" will show "m68k-uclinux-g++". Change this to "aarch64-none-linux-gnu-g++". This changes the linker to link the project for the ARM64 architecture. Linking is the process of combining the already compiled code modules and libraries to create the executable.
     108. In some cases the project may also have a "GCC C Compiler". If so change the command to "aarch64-none-linux-gnu-gcc".
     119. In some cases the project may also have a "GCC Assembler". If so change the command to "aarch64-none-linux-gnu-as".
     1210. Click the "Build Artifact" tab. Change the output prefix to "/srv/nfs/arm825_nand/apps/"
     1311. Click "Apply".
     1412. Go back to "Tool Settings" and under "GCC C++ Compiler" select "Include paths". Click the green plus icon to add a path. Add the path "/opt/arm64include". If there is a "GCC C Compiler" section also add this path to the includes there.
     1513. Under the "GCC C++ Linker" select "Libraries". Add the libraries "rt", "${UI_LIBS}" and "pthread".
     1614. Under "Library search path" click the green plus icon and add the path "/opt/arm64lib"
     1715. Click "Apply and Close".
     18
     19
     20