Skip to content
Permalink
Browse files

Removed micro, read, and test kernels.

  • Loading branch information...
LegacyNsfw committed Nov 26, 2019
1 parent d7e8f24 commit 2dd540e12413c091e741d848af53591c3755adab
@@ -53,7 +53,7 @@ public async Task<Response<Stream>> ReadContents(PcmInfo info, CancellationToken
await this.vehicle.SendToolPresentNotification();

// execute read kernel
Response<byte[]> response = await vehicle.LoadKernelFromFile("read-kernel.bin");
Response<byte[]> response = await vehicle.LoadKernelFromFile("kernel.bin");
if (response.Status != ResponseStatus.Success)
{
logger.AddUserMessage("Failed to load kernel from file.");
@@ -65,7 +65,7 @@ public CKernelWriter(Vehicle vehicle, Protocol protocol, ILogger logger)
return false;
}

Response<byte[]> response = await this.vehicle.LoadKernelFromFile("write-kernel.bin");
Response<byte[]> response = await this.vehicle.LoadKernelFromFile("kernel.bin");
if (response.Status != ResponseStatus.Success)
{
logger.AddUserMessage("Failed to load kernel from file.");

This file was deleted.

@@ -9,27 +9,12 @@ if -%KernelBuild%- == -- call fixpath.bat

call clean.bat

c:\SysGCC\m68k-elf\bin\m68k-elf-gcc.exe -c -fomit-frame-pointer -std=gnu99 -mcpu=68332 main.c micro-kernel.c
c:\SysGCC\m68k-elf\bin\m68k-elf-ld.exe -T micro-kernel.ld main.o micro-kernel.o -o micro-kernel.elf
c:\SysGCC\m68k-elf\bin\m68k-elf-objcopy.exe -O binary --only-section=.kernel_code --only-section=.rodata micro-kernel.elf micro-kernel.bin
C:\SysGCC\m68k-elf\bin\m68k-elf-objdump.exe -d -S micro-kernel.elf > micro-kernel.disassembly

c:\SysGCC\m68k-elf\bin\m68k-elf-gcc.exe -c -fomit-frame-pointer -std=gnu99 -mcpu=68332 -O0 main.c test-kernel.c common.c
c:\SysGCC\m68k-elf\bin\m68k-elf-ld.exe -T test-kernel.ld main.o test-kernel.o common.o -o test-kernel.elf
c:\SysGCC\m68k-elf\bin\m68k-elf-objcopy.exe -O binary --only-section=.kernel_code --only-section=.rodata test-kernel.elf test-kernel.bin
C:\SysGCC\m68k-elf\bin\m68k-elf-objdump.exe -d -S test-kernel.elf > test-kernel.disassembly

c:\SysGCC\m68k-elf\bin\m68k-elf-gcc.exe -c -fomit-frame-pointer -std=gnu99 -mcpu=68332 -O0 main.c read-kernel.c common.c common-readwrite.c
c:\SysGCC\m68k-elf\bin\m68k-elf-ld.exe -T read-kernel.ld main.o read-kernel.o common.o common-readwrite.o -o read-kernel.elf
c:\SysGCC\m68k-elf\bin\m68k-elf-objcopy.exe -O binary --only-section=.kernel_code --only-section=.rodata read-kernel.elf read-kernel.bin
C:\SysGCC\m68k-elf\bin\m68k-elf-objdump.exe -d -S read-kernel.elf > read-kernel.disassembly

c:\SysGCC\m68k-elf\bin\m68k-elf-gcc.exe -c -fomit-frame-pointer -std=gnu99 -mcpu=68332 -O0 main.c write-kernel.c crc.c common.c common-readwrite.c flash.c flash-intel.c flash-amd.c
c:\SysGCC\m68k-elf\bin\m68k-elf-ld.exe -T write-kernel.ld main.o write-kernel.o crc.o common.o common-readwrite.o -o write-kernel.elf flash.o flash-intel.o flash-amd.o
c:\SysGCC\m68k-elf\bin\m68k-elf-objcopy.exe -O binary --only-section=.kernel_code --only-section=.rodata write-kernel.elf write-kernel.bin
C:\SysGCC\m68k-elf\bin\m68k-elf-objdump.exe -d -S write-kernel.elf > write-kernel.disassembly
c:\SysGCC\m68k-elf\bin\m68k-elf-ld.exe -T kernel.ld main.o write-kernel.o crc.o common.o common-readwrite.o -o kernel.elf flash.o flash-intel.o flash-amd.o
c:\SysGCC\m68k-elf\bin\m68k-elf-objcopy.exe -O binary --only-section=.kernel_code --only-section=.rodata kernel.elf kernel.bin
C:\SysGCC\m68k-elf\bin\m68k-elf-objdump.exe -d -S kernel.elf > kernel.disassembly

c:\mingw\bin\g++ -o test.exe test.cpp crc.c

copy *-kernel.bin ..\Apps\PcmHammer\bin\debug
copy kernel.bin ..\Apps\PcmHammer\bin\debug\kernel.bin
dir *.bin
File renamed without changes.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 2dd540e

Please sign in to comment.
You can’t perform that action at this time.