55 lines
2.2 KiB
Diff
55 lines
2.2 KiB
Diff
--- a/hdsploader/multiface_firmware_rev11.dat
|
|
+++ b/hdsploader/multiface_firmware_rev11.dat
|
|
@@ -1,5 +1,5 @@
|
|
/* stored in little-endian */
|
|
-static u_int32_t multiface_firmware_rev11[24413] = {
|
|
+static uint32_t multiface_firmware_rev11[24413] = {
|
|
0xffffffff, 0x66aa9955, 0x8001000c, 0xe0000000, 0x8006800c, 0xb0000000,
|
|
0x8004800c, 0xb4fc0100, 0x8003000c, 0x00000000, 0x8001000c, 0x90000000,
|
|
0x8004000c, 0x00000000, 0x8001000c, 0x80000000, 0x0002000c, 0x581a000a,
|
|
--- a/hdsploader/digiface_firmware_rev11.dat
|
|
+++ b/hdsploader/digiface_firmware_rev11.dat
|
|
@@ -1,5 +1,5 @@
|
|
/* stored in little-endian */
|
|
-static u_int32_t digiface_firmware_rev11[24413] = {
|
|
+static uint32_t digiface_firmware_rev11[24413] = {
|
|
0xffffffff, 0x66aa9955, 0x8001000c, 0xe0000000, 0x8006800c, 0xb0000000,
|
|
0x8004800c, 0xb4fc0100, 0x8003000c, 0x00000000, 0x8001000c, 0x90000000,
|
|
0x8004000c, 0x00000000, 0x8001000c, 0x80000000, 0x0002000c, 0x581a000a,
|
|
--- a/hdsploader/digiface_firmware.dat
|
|
+++ b/hdsploader/digiface_firmware.dat
|
|
@@ -1,5 +1,5 @@
|
|
/* stored in little-endian */
|
|
-static u_int32_t digiface_firmware[24413] = {
|
|
+static uint32_t digiface_firmware[24413] = {
|
|
0xffffffff, 0x66aa9955, 0x8001000c, 0xe0000000, 0x8006800c, 0xb0000000,
|
|
0x8004800c, 0xb4fc0100, 0x8003000c, 0x00000000, 0x8001000c, 0x90000000,
|
|
0x8004000c, 0x00000000, 0x8001000c, 0x80000000, 0x0002000c, 0x581a000a,
|
|
--- a/hdsploader/tobin.c
|
|
+++ b/hdsploader/tobin.c
|
|
@@ -1,5 +1,6 @@
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
+#include <stdint.h>
|
|
#include <unistd.h>
|
|
#include <endian.h>
|
|
|
|
@@ -8,7 +9,7 @@
|
|
#include "multiface_firmware.dat"
|
|
#include "multiface_firmware_rev11.dat"
|
|
|
|
-int write_bin_file(u_int32_t *array, const char *filename)
|
|
+int write_bin_file(uint32_t *array, const char *filename)
|
|
{
|
|
FILE *out;
|
|
|
|
--- a/hdsploader/multiface_firmware.dat
|
|
+++ b/hdsploader/multiface_firmware.dat
|
|
@@ -1,5 +1,5 @@
|
|
/* stored in little-endian */
|
|
-static u_int32_t multiface_firmware[24413] = {
|
|
+static uint32_t multiface_firmware[24413] = {
|
|
0xffffffff, 0x66aa9955, 0x8001000c, 0xe0000000, 0x8006800c, 0xb0000000,
|
|
0x8004800c, 0xb4fc0100, 0x8003000c, 0x00000000, 0x8001000c, 0x90000000,
|
|
0x8004000c, 0x00000000, 0x8001000c, 0x80000000, 0x0002000c, 0x581a000a,
|