The PSP has been compiled. Of course, it cannot be tested yet.
Devkit8000 also has some work.
CD x-load-1.41
Make distclean
Make omap3devkit8000_config
Make
Signgp x-load.bin
MV x-load.bin.ift x-load.bin.ift_for_NAND
The signgp tool is not found. No matter what it means, Google will see the following code:
# Include <stdio. h>
# Include <stdlib. h>
# Include <fcntl. h>
# Include <sys/STAT. h>
# Include <string. h>
# Include <malloc. h>
Main (INT argc, char * argv [])
{
Int I;
Char ifname [filename_max], ofname [filename_max], ch;
File * ifile, * ofile;
Unsigned long loadaddr, Len;
Struct stat SINFO;
// Default to x-load.bin and 0x40200800.
Strcpy (ifname, "x-load.bin ");
Loadaddr = 0x40200800;
If (argc = 2) | (argc = 3 ))
Strcpy (ifname, argv [1]);
If (argc = 3)
Loadaddr = strtol (argv [2], null, 16 );
// Form the output file name.
Strcpy (ofname, ifname );
Strcat (ofname, ". IFT ");
// Open the input file.
Ifile = fopen (ifname, "rb ");
If (ifile = NULL ){
Printf ("cannot open % s/n", ifname );
Exit (0 );
}
// Get file length.
Stat (ifname, & SINFO );
Len = SINFO. st_size;
// Open the output file and write it.
Ofile = fopen (ofname, "WB ");
If (ofile = NULL ){
Printf ("cannot open % s/n", ofname );
Fclose (ifile );
Exit (0 );
}
// Pad 1 sector of zeroes.
// CH = 0x00;
// For (I = 0; I <0x200; I ++)
// Fwrite (& Ch, 1, 1, ofile );
Fwrite (& Len, 1, 4, ofile );
Fwrite (& loadaddr, 1, 4, ofile );
For (I = 0; I <Len; I ++ ){
Fread (& Ch, 1, 1, ifile );
Fwrite (& Ch, 1, 1, ofile );
}
Fclose (ifile );
Fclose (ofile );
}
GCC compiled and available.
However, I found devkit in the tools directory to provide this tool, which is depressing.
Then, the following make uimage is returned, and an error is reported in the kernel, indicating that there is no mkimage tool. Then, Google will check that the mkimage tool compiled in uboot is copied to the same position of the Cross tool chain GCC. Solution.