From 4c0888eae308fbb560f58c05ac8d1011fde959f7 Mon Sep 17 00:00:00 2001 From: Hao Zhang Date: Thu, 5 May 2011 12:25:33 -0400 Subject: [PATCH] Added RBL EMAC boot example --- boot_loader/boot_loader.zip | Bin 0 -> 54980 bytes .../examples/emac/Ethernet_boot/README | 18 + .../examples/emac/Ethernet_boot/pcsendpkt.c | 177 +++++ .../examples/emac/Ethernet_boot/pcsendpkt.exe | Bin 0 -> 111616 bytes .../examples/emac/Ethernet_boot/simple.eth | 87 +++ boot_loader/examples/emac/Utilities/b2ccs.c | 164 +++++ boot_loader/examples/emac/Utilities/b2ccs.exe | Bin 0 -> 32768 bytes boot_loader/examples/emac/Utilities/b2i2c.c | 226 ++++++ boot_loader/examples/emac/Utilities/b2i2c.exe | Bin 0 -> 32768 bytes .../examples/emac/Utilities/bconvert64x.c | 668 ++++++++++++++++++ .../examples/emac/Utilities/bconvert64x.exe | Bin 0 -> 36864 bytes .../examples/emac/Utilities/bootpacket.c | 478 +++++++++++++ .../examples/emac/Utilities/bootpacket.exe | Bin 0 -> 40960 bytes .../examples/emac/Utilities/bootpacket.h | 77 ++ .../examples/emac/Utilities/build-msvc.bat | 12 + .../examples/emac/Utilities/mergebtbl.c | 127 ++++ .../examples/emac/Utilities/mergebtbl.exe | Bin 0 -> 32768 bytes .../examples/emac/Utilities/myparser.c | 157 ++++ .../examples/emac/Utilities/myparser.exe | Bin 0 -> 36864 bytes boot_loader/examples/emac/simple/makefile | 45 ++ boot_loader/examples/emac/simple/simple.btbl | 10 + boot_loader/examples/emac/simple/simple.cmd | 41 ++ .../examples/emac/simple/simple.le.btbl | 8 + boot_loader/examples/emac/simple/simple.map | 95 +++ boot_loader/examples/emac/simple/simple.obj | Bin 0 -> 1460 bytes boot_loader/examples/emac/simple/simple.out | Bin 0 -> 1820 bytes boot_loader/examples/emac/simple/simple.rmd | 15 + boot_loader/examples/emac/simple/simple.s | 64 ++ boot_loader/examples/i2c/emac/docs/README.txt | 29 +- post/src/post.c | 110 +-- 30 files changed, 2543 insertions(+), 65 deletions(-) create mode 100644 boot_loader/boot_loader.zip create mode 100644 boot_loader/examples/emac/Ethernet_boot/README create mode 100644 boot_loader/examples/emac/Ethernet_boot/pcsendpkt.c create mode 100644 boot_loader/examples/emac/Ethernet_boot/pcsendpkt.exe create mode 100644 boot_loader/examples/emac/Ethernet_boot/simple.eth create mode 100644 boot_loader/examples/emac/Utilities/b2ccs.c create mode 100644 boot_loader/examples/emac/Utilities/b2ccs.exe create mode 100644 boot_loader/examples/emac/Utilities/b2i2c.c create mode 100644 boot_loader/examples/emac/Utilities/b2i2c.exe create mode 100644 boot_loader/examples/emac/Utilities/bconvert64x.c create mode 100644 boot_loader/examples/emac/Utilities/bconvert64x.exe create mode 100644 boot_loader/examples/emac/Utilities/bootpacket.c create mode 100644 boot_loader/examples/emac/Utilities/bootpacket.exe create mode 100644 boot_loader/examples/emac/Utilities/bootpacket.h create mode 100644 boot_loader/examples/emac/Utilities/build-msvc.bat create mode 100644 boot_loader/examples/emac/Utilities/mergebtbl.c create mode 100644 boot_loader/examples/emac/Utilities/mergebtbl.exe create mode 100644 boot_loader/examples/emac/Utilities/myparser.c create mode 100644 boot_loader/examples/emac/Utilities/myparser.exe create mode 100644 boot_loader/examples/emac/simple/makefile create mode 100644 boot_loader/examples/emac/simple/simple.btbl create mode 100644 boot_loader/examples/emac/simple/simple.cmd create mode 100644 boot_loader/examples/emac/simple/simple.le.btbl create mode 100644 boot_loader/examples/emac/simple/simple.map create mode 100644 boot_loader/examples/emac/simple/simple.obj create mode 100644 boot_loader/examples/emac/simple/simple.out create mode 100644 boot_loader/examples/emac/simple/simple.rmd create mode 100644 boot_loader/examples/emac/simple/simple.s diff --git a/boot_loader/boot_loader.zip b/boot_loader/boot_loader.zip new file mode 100644 index 0000000000000000000000000000000000000000..d6f3ec1ff322e6265ee2e42d79bc0ba2e7fab188 GIT binary patch literal 54980 zcmYJZ1CS=)4=y}2@7T6&?AW$#+qP|c$J()N+p}Zaw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